Search Discussions
-
I searched and did not see anything recent on gen-class problems in Cursive. I find when I have a reference to a gen-class instance that instance? works in Cursive but .getClass does not. (Everything ...
William la Forge
Aug 22, 2015 at 3:18 pm
Aug 25, 2015 at 7:24 pm -
If anyone is interested in being a reviewer for a new book "*Mastering Clojure*" by Packt Publishing, please let me know. Reviewers will be entitled to a 6 montn subscription of PacktLib ...
Akhil Wali
Aug 24, 2015 at 6:46 am
Aug 27, 2015 at 7:16 am -
My day job is teaching Python, but in a school that teaches much else besides. We're small and I'd say prototypical given how quickly the technology is evolving. The description in the blog post ...
Kirby urner
Aug 1, 2015 at 3:13 am
Aug 7, 2015 at 2:33 pm -
Is there a new release planned for core.async anytime in the near future? The docs show some functionality that's not in the current release [1]. Specifically offer! [2] which looks like it's slated ...
Kyle R. Burton
Aug 7, 2015 at 6:15 pm
Aug 8, 2015 at 11:06 pm -
Hi, I have this structure: (def s [{"n" {"id" "a"} "d" 2 "children" [{"n" {"id" "c"} "d" 4 "children" []}]} {"n" {"id" "b"} "d" 3 "children" []}]) And I wrote a function with zippers to traverse it ...
Hussein B.
Aug 21, 2015 at 3:35 pm
Aug 24, 2015 at 6:47 pm -
Hi everybody! I've written a short post on my interpretation of Clojure. It is meant for people that are curious about the language and want to understand what the language is about ...
Sebastian Bensusan
Aug 12, 2015 at 6:52 pm
Aug 15, 2015 at 3:25 pm -
Hi, I have transformed JSON response into the equivalent data structure using Cheshire library. The result is a huge nested data structure , mostly vectors and maps. It is actually a tree. How to ...
Hussein B.
Aug 19, 2015 at 2:18 pm
Aug 26, 2015 at 2:08 am -
I've been trying to refactor the - and - forms to use a common macro form. Ended up with this. (defmacro threading [a b x forms] (loop [x x forms forms] (if forms (let [form (first forms) f (first ...
Akhil Wali
Aug 28, 2015 at 11:37 am
Aug 28, 2015 at 11:57 pm -
As part of my PhD research on code authorship, we calculated the Truck Factor (TF) of some popular GitHub repositories. As you probably know, the Truck (or Bus) Factor designates the minimal number ...
Guilherme Avelino
Aug 7, 2015 at 4:21 pm
Aug 18, 2015 at 8:34 am -
I've done a lot with AA trees in the past, creating variations that are immutable, durable (replacing b-trees) and versioned of vectors, maps and sets. I would like to migrate these ideas from Java ...
William la Forge
Aug 9, 2015 at 10:31 pm
Sep 4, 2015 at 9:04 pm -
I sure wish Clojure would generate "IllegalArgumentException" in the following sample case: (defn foo [a b & {:keys [c d]}] 1) (foo 1 2 :e 5) ; blithely ignores :e 5 I understand that Clojure's ...
Dave Tenny
Aug 22, 2015 at 11:34 pm
Aug 25, 2015 at 7:09 am -
Clojure 1.8.0-alpha4 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0-alpha4 - Leiningen: [org.clojure/clojure "1.8.0-alpha4"] Below is a list of the ...
Alex Miller
Aug 3, 2015 at 12:32 pm
Aug 5, 2015 at 2:46 pm -
Step 2 in the classical bootstrap process for a language is to rewrite it in itself. Clojure is more than capable of this. But Clojure continues to rely on Java code for its implementation. Is there ...
William la Forge
Aug 24, 2015 at 3:03 pm
Sep 2, 2015 at 11:54 am -
This project was announced three months ago as a ‘Common Clojure Source Metadata Model’. You might also have read about it <http://us4.campaign-archive1.com/?u=a33b5228d1b5bf2e0c68a83f4&id=52f3bba560 ...
Richard Möhn
Aug 19, 2015 at 8:08 am
Aug 30, 2015 at 7:23 am -
I'm refering to a few posts in an old thread: https://groups.google.com/d/msg/clojure/r_ym-h53f1E/RzUdb5oYeX4J What really puzzles me is that it doesn't seem to be generally So, here's the question ...
Kurt Sys
Aug 25, 2015 at 12:14 pm
Aug 27, 2015 at 8:43 am -
All, Can anyone weigh in on whether it is possible to write GPL code with clojure? Seen some recent[1] tweets saying that the EPL on clojure core prevents writing GPL code with clojure. [1] - ...
Kyle Sexton
Aug 18, 2015 at 9:24 pm
Aug 21, 2015 at 6:26 am -
I would be curious to know if there are difference (in terms of performance / elegance ) between those 2 ways of expressing functions E.g *(fn [& x] (- x sort last))* versus *#(last (sort %&))* Both ...
Eric Le Goff
Aug 13, 2015 at 8:08 am
Aug 13, 2015 at 12:07 pm -
I don't know if this is an issue with the compiler in general, with Leiningen more specifically, or something I am doing wrong in trying to use them, but I have wasted many hours over the last couple ...
James Elliott
Aug 2, 2015 at 10:29 pm
Aug 3, 2015 at 3:14 pm -
Hello, With the rise of Om, Reagent or re-frame for that matter, I'm using more a more the single state atom pattern in my clojurescript app. So much so that for my current application, I've been ...
Jeremy Vuillermet
Aug 16, 2015 at 2:59 pm
Aug 17, 2015 at 1:41 pm -
I am new to Clojure which I am evaluating using Clojure for a Java 8 based framework with code in clojure, java and possibly other jvm based languages that all need to interoperate. Clojure has many ...
Morten Christensen
Aug 7, 2015 at 12:12 pm
Aug 13, 2015 at 4:03 am -
I'm always interested in anything Zach Tellman does, though I don't always understand it. I see that he defines a function twice, via (let), of which he says "factored out for greater inlining joy" ...
Lawrence Krubner
Aug 9, 2015 at 5:51 am
Aug 12, 2015 at 8:25 am -
Hi, I have had good 6 months of fun with Clojure and have big appreciation for it's way of doing things. Coming from the Java/Spring world however, I still have this nagging desire to be able to ...
Georgi Danov
Aug 5, 2015 at 11:58 am
Aug 10, 2015 at 2:10 pm -
A future fails when it throws an exception. How to do that with a future? It looks like (fail future exception) does not do the trick: http://dev.clojure.org/display/design/Promises -- You received ...
William la Forge
Aug 7, 2015 at 7:14 pm
Aug 9, 2015 at 7:29 pm -
Rook is a set of middleware and handlers to enable metadata-based routing for Ring web applications. The intention is to expose a Clojure namespace as a web service resource; there’s a default ...
Howard Lewis Ship
Aug 24, 2015 at 3:31 pm
Aug 27, 2015 at 6:57 pm -
Hi Everyone, Here's the problem I am facing, I need to write a generator which takes any number of sequences, interleaves them but maintains the order within each sequence. Assume each sequence has ...
Mayank Jain
Aug 14, 2015 at 1:40 pm
Aug 16, 2015 at 8:32 am -
I came across pi.go <https://golang.org/doc/play/pi.go in the examples for go-lang. I've been trying to replicate it with core.async, and this is what I have till now: (defn term [ch k] This is more ...
Divyansh Prakash
Aug 2, 2015 at 8:06 am
Aug 3, 2015 at 9:25 pm -
Hello, I did solve the boolean chapter of the ilovehorses git repo. My solutions can be found here ...
r/ Wobben
Aug 31, 2015 at 6:29 pm
Sep 2, 2015 at 1:13 pm -
Hi Guys, I contributed an Instant Answer to DuckDuckGo. When you search for "Clojure" with a number of terms, you directly have under the "software" tab all the packages matching your query from ...
Rafik NACCACHE
Aug 25, 2015 at 10:04 pm
Aug 26, 2015 at 4:21 pm -
Hello; Which is the recommended xml parsing lib for clojure? clojure.data.xml was last updated 10months ago and is still on version 0.0.8 Thanks Josh -- You received this message because you are ...
Josh Kamau
Aug 24, 2015 at 5:48 pm
Aug 25, 2015 at 5:55 pm -
Hello, From time to time i am writing article on http://clojure.wladyka.eu/, but the problem is nobody know about this site, because i didn't share it :) Subjectively i am writing there things what ...
Krzysztof Władyka
Aug 24, 2015 at 12:19 pm
Aug 25, 2015 at 6:12 am -
I wanted to write a function like this: (defn fn-name-info "Given a function, try to deduce the function name and clojure namespace by looking at the function's java class name and decoding stuff ...
Dave Tenny
Aug 22, 2015 at 11:07 pm
Aug 23, 2015 at 2:53 pm -
I know this has been asked before, but Google is interpreting "HttpInputOverHTTP" as "Http Input Over HTTP" which renders it useless for finding conversations that are specific to the ...
Lawrence Krubner
Aug 19, 2015 at 7:58 pm
Aug 22, 2015 at 11:58 am -
I've been using Java class ItreratorSequence in package clojure.lang. But then I noticed that this class is not referenced anywhere. Is this dead code or otherwise not supported? I had been planning ...
William la Forge
Aug 21, 2015 at 10:37 am
Aug 21, 2015 at 12:28 pm -
I've found that using core.async in one of my projects results in the entire DOM getting replaced with an empty iframe when I view the site in Firefox. I'm using [org.clojure/clojure "1.7.0"] ...
Daniel Higginbotham
Aug 19, 2015 at 6:32 pm
Aug 20, 2015 at 10:05 am -
Hi, I'm trying to remove an element from nested data structure (nesting in unknown, so I'm trying to come up with a generic solution: (def z [ {"a" {"b" 1 "c" 2} "children" [{"a" {"b" 3 "c" 4} ...
Hussein B.
Aug 27, 2015 at 9:58 am
Aug 27, 2015 at 3:34 pm -
Suppose I have the following macro, which generates a function that does some repetitive generation, let's say: (defmacro a-macro [m] `(fn [f#] ~(for [i# m] `(* (:val f#) ~i# )))) Note how I start ...
Rafik NACCACHE
Aug 26, 2015 at 9:07 pm
Aug 26, 2015 at 9:58 pm -
I'm happy to announce the release today of version 0.8.0 of test.check <https://github.com/clojure/test.check , the QuickCheck-inspired property-based testing library. The release is light on new ...
Gary Fredericks
Aug 15, 2015 at 8:08 pm
Aug 17, 2015 at 8:52 pm -
Hi, I need a way to reduce a compound value, say {:foo "bar"}, into a number (like 693d9a0698aff95c in hex). I don't necessarily need a very large hash space, 7 hex digits is good enough for my ...
Atamert Ölçgen
Aug 10, 2015 at 7:01 am
Aug 13, 2015 at 1:19 pm -
Hi all, I opened this issue on github project prevayler-clj https://github.com/klauswuestefeld/prevayler-clj/issues/1 because 1M short vectors, like this [:a1 1], forming the state of the prevayler, ...
Icamts
Aug 7, 2015 at 10:43 am
Aug 8, 2015 at 8:40 am -
Are there plans for a new release of core.async? The last release was in September last year, and there have been some new features and updates added since, including using the latest version of ...
Daniel Compton
Aug 5, 2015 at 2:35 pm
Aug 7, 2015 at 12:02 pm -
Hello, I've been investigating the basic data structures and their underlying concepts in Clojure, particularly focusing on the definitions of coll, seq, map, vector, set, etc. and their inclusion ...
Keisuke Fukuda
Aug 4, 2015 at 5:12 pm
Aug 4, 2015 at 9:14 pm -
Hey all - I'm very happy to announce yet another OSS project, Glow, which is intended to provide a minimal and simple way to enable you to produce syntax-highlighted strings of Clojure source code ...
W. David Jarvis
Aug 1, 2015 at 8:22 pm
Aug 3, 2015 at 11:04 am -
Would someone care to rationalize the implementation of (rationalize)? (type (rationalize (/ 64 8))) java.lang.Long (type (rationalize (/ 64 7))) clojure.lang.Ratio (type (rationalize (/ 49 7))) ...
Waffletower
Aug 26, 2015 at 10:29 pm
Aug 28, 2015 at 6:42 am -
Hi! Today I fall into: java.lang.RuntimeException: java.lang.ClassFormatError: Invalid method Code length 88118 in class file xxx$eval304 (xxx.clj:274) (xxx.clj:3) problem. The reason is that I tried ...
Olek
Aug 27, 2015 at 9:32 am
Aug 27, 2015 at 2:49 pm -
Hi, For a vector like [A B C D E], how to remove an element to a specific location? For example [A D B C E] ? I thought about converting the vector into array but I would feel bad if I did that. What ...
Hussein B.
Aug 25, 2015 at 5:06 pm
Aug 26, 2015 at 9:16 am -
Dear Clojurians, I'm happy to announce the availability of the first release of Skyscraper, an Enlive-based library for "structural scraping" -- extracting information from whole sites in a ...
Daniel Janus
Aug 11, 2015 at 2:00 pm
Aug 25, 2015 at 1:10 am -
Is there a way to parameterize a bit of code that invokes a constructor without calling the java.lang.reflect.Constructor class? e.g. (defn make-it [class] (new class "abc")) ; won't work (make-it ...
Dave Tenny
Aug 23, 2015 at 8:06 pm
Aug 24, 2015 at 4:08 am -
Hi, I needed a function that partitions (coll a) = (coll (coll a)), starting a new subcoll whenever a given pred is true. Use case: I have a sequence of rows; these rows form groups; I want to group ...
Laurens Van Houtven
Aug 20, 2015 at 12:35 am
Aug 20, 2015 at 6:16 pm -
Hi all, Are there any League of Legends players on this list? Riot has announced the second API challenge, and there is lots of fun and prizes to be had ...
Pepijn de Vos
Aug 16, 2015 at 5:02 am
Aug 17, 2015 at 1:41 pm -
I feel stupid, but I have not been able to track this down. The background is that I have Jenkins running on the server, and when triggered it pulls code from Github, compiles it, and then moves the ...
Lawrence Krubner
Aug 8, 2015 at 9:24 pm
Aug 10, 2015 at 9:27 am
Group Overview
group | clojure |
categories | clojure |
discussions | 132 |
posts | 616 |
users | 202 |
website | clojure.org |
irc | #clojure |
202 users for August 2015
Archives
- June 2016 (304)
- May 2016 (520)
- April 2016 (426)
- March 2016 (421)
- February 2016 (464)
- January 2016 (422)
- December 2015 (359)
- November 2015 (490)
- October 2015 (573)
- September 2015 (476)
- August 2015 (618)
- July 2015 (628)
- June 2015 (700)
- May 2015 (858)
- April 2015 (573)
- March 2015 (751)
- February 2015 (676)
- January 2015 (607)
- December 2014 (677)
- November 2014 (606)
- October 2014 (910)
- September 2014 (733)
- August 2014 (652)
- July 2014 (689)
- June 2014 (66)
- May 2014 (699)
- April 2014 (1,151)
- March 2014 (1,010)
- February 2014 (1,111)
- January 2014 (1,291)
- December 2013 (938)
- November 2013 (1,242)
- October 2013 (874)
- September 2013 (934)
- August 2013 (1,130)
- July 2013 (1,301)
- June 2013 (1,139)
- May 2013 (1,215)
- April 2013 (1,019)
- March 2013 (1,502)
- February 2013 (1,330)
- January 2013 (1,191)
- December 2012 (1,082)
- November 2012 (994)
- October 2012 (1,366)
- September 2012 (946)
- August 2012 (957)
- July 2012 (957)
- June 2012 (1,149)
- May 2012 (1,092)
- April 2012 (1,012)
- March 2012 (1,075)
- February 2012 (859)
- January 2012 (1,077)
- December 2011 (983)
- November 2011 (1,063)
- October 2011 (1,180)
- September 2011 (595)