Search Discussions
-
Hello, I am cross-posting my Clojure question from StackOverflow. I am trying to get an algorithm in Clojure to match Java speed and managed to get the performance to within one order of magnitude ...
Geo
Feb 19, 2013 at 4:16 am
Mar 7, 2013 at 9:05 pm -
Having studied Lisp decades ago I like the look of Clojure a lot. But as a complete newbie when it comes to modern software development, I'm exasperated by what strikes me as a very difficult and ...
BJG145
Feb 14, 2013 at 6:47 pm
Feb 27, 2013 at 3:33 am -
Hi, For us as Clojure community it is easy to see how Clojure benefits from being a Lisp. Homoiconity, extreme conciseness, esoteric look and feel, etc. However it is hard to see from the inside how ...
Sergey Didenko
Feb 4, 2013 at 8:07 pm
Sep 8, 2013 at 12:34 am -
24
Faster lein
I see that lein2 has factored out the 'interactive' command. Can I use lein1 and expect the various clojure libraries and templates to work? There's been several mentions of jark in relation to ...Buck Golemon
Feb 20, 2013 at 3:57 pm
Mar 5, 2013 at 6:30 am -
Started in October 2012, http://clojure-doc.org is a pretty extensive community documentation effort. It covers Clojure, its ecosystem and tools and has two key goals: * We produce beginner-friendly ...
Michael Klishin
Feb 27, 2013 at 6:07 pm
Mar 12, 2013 at 12:25 pm -
I've got a project.... 1. I can /'lein2 repl'/ in it and navigate to any namespace - no problem 2. I can /'lein2 check'/ it and it compiles everything - no problem 3. I can /'lein2 test'/ or /'lein2 ...
Jim foo.bar
Feb 28, 2013 at 2:23 pm
Feb 28, 2013 at 8:39 pm -
Hello, all, It's official: Google Summer of Code 2013 is on. Last year, Clojure was able to get four students who worked on projects like Typed Clojure, Clojure on Android, Clojure and Lua, and ...
Daniel Solano Gómez
Feb 14, 2013 at 6:04 pm
Mar 18, 2013 at 5:19 pm -
I'm creating something with core.logic that involves multiple "agents"(not the same as a clojure agent!) which each have distinct knowledge. I'd like to know the best way of going about separating ...
JvJ
Feb 27, 2013 at 8:57 pm
Mar 14, 2013 at 11:48 pm -
Hi all, I''d like to have a macro like the following but preferably without the 'eval' inside the assertion form: (defmacro defcomponent [name co] (assert (component? (eval co)) "Not a valid ...
Jim foo.bar
Feb 21, 2013 at 2:08 pm
Feb 21, 2013 at 4:12 pm -
Hi all, the more I learn cli/cljs the more I find myself in looking for libraries running on both sides of a clojurean web app. hiccup/valip, c2, enliven/encofus, just to name few of them. Is there a ...
Mimmo Cosenza
Feb 16, 2013 at 4:29 pm
Mar 8, 2013 at 2:33 am -
Hello all. I'm working through the Project Euler problems in Java, Scala, & Clojure (trying to learn all three?!?). I notice that for one particular problem, I use--more or less--a similar algorithm ...
Alexandros Bantis
Feb 3, 2013 at 2:39 am
Feb 5, 2013 at 1:22 pm -
Hi, I don't understand why this `assert` fails when the namespace is compiled with `compile`. It seems like the datatype A is being compiled twice. (ns mvn-test.core) (deftype A []) (assert (= (class ...
Ambrose Bonnaire-Sergeant
Feb 22, 2013 at 7:26 am
Mar 25, 2013 at 7:29 am -
2013/2/8 vemv <<span class="m_body_email_addr" title="c8265f6e3b35f8f5015cc5b2d3a2ccc4" [email protected]</span Only for debugging and not before it has a proven implementation. For production, we ...
Herwig Hochleitner
Feb 8, 2013 at 6:50 pm
Feb 12, 2013 at 12:11 am -
I just went through the process of converting my map-based program over to records, hoping it would improve speed. Much to my dismay, it actually slowed my program down substantially. With some ...
Mark Engelberg
Feb 3, 2013 at 6:07 am
Feb 6, 2013 at 1:19 pm -
Hi, Function contains? (http://clojuredocs.org/clojure_core/clojure.core/contains_q) returns true if key is present in the given collection, although arguably on some data structures one would expect ...
Irakli Gozalishvili
Feb 28, 2013 at 10:14 pm
Mar 1, 2013 at 8:13 pm -
I am ignorant of the JVM, and of Java, so I am sure this is a dumb question. I need to post to the Omniture API. They offer some sample code here ...
Larry google groups
Feb 22, 2013 at 9:18 pm
Feb 22, 2013 at 11:31 pm -
I tested this in the latest 1.5.0-RC6: = (def k (pr-str (for [x (range 5)] (do (pr x) x)))) #'user/k = k "(012340 1 2 3 4)" This seems wrong to me... I can see what would be needed to fix it in ...
Conrad
Feb 9, 2013 at 6:37 pm
Feb 10, 2013 at 1:48 am -
I know that using a bare :use in the ns macro is generally frowned upon as it provides no hints about what is actually being used... However, I 've got 2 namespaces 'abstractions.clj' and ...
Jim foo.bar
Feb 14, 2013 at 1:26 pm
Mar 10, 2013 at 8:39 pm -
Hi everyone, Happy to release analyze 0.3.0 with new hygienic code transformation capabilities. [analyze "0.3.0"] In a line: analyze.hygienic= (- (ast (let [a 1 a a b a a a] a)) ast-hy emit-hy) ((fn* ...
Ambrose Bonnaire-Sergeant
Feb 11, 2013 at 6:46 am
Feb 16, 2013 at 4:07 am -
This might be a dumb "How does the Internet work" kind of question. I have been asked to pull data from Omniture, using the Omniture API. I thought this would take me an hour, but I've been working ...
Larry google groups
Feb 23, 2013 at 9:18 pm
Feb 24, 2013 at 2:24 am -
If you care about Clojure 1.5 compatibility for your codebase, please test it against RC 16 as soon as possible. You can get the source and build it yourself from [1], or wait for Maven Central [2] ...
Stuart Halloway
Feb 14, 2013 at 3:33 am
Feb 20, 2013 at 7:59 am -
Clojure 1.5 RC 14 (fourteen) will be available soon from Maven Central: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22clojure%22%20AND%20v%3A1.5.0* Please test it! ...
Stuart Halloway
Feb 9, 2013 at 8:13 pm
Feb 10, 2013 at 7:57 pm -
Tawny-OWL is a clojure library which provides a DSL for the construction of OWL Ontologies (http://www.w3.org/2004/OWL/). The practical upshot of this, is that allows a form of logic reasoning over ...
Phillip Lord
Feb 5, 2013 at 4:57 pm
Feb 7, 2013 at 4:16 pm -
Hi all, I'm doing interactive development with emacs+clojure-mode+nrepl and I'm experiencing some seriously annoying problems with protocols and records implementing the protocols: 1) When I redefine ...
Joachim De Beule
Feb 27, 2013 at 3:48 pm
May 16, 2013 at 10:57 am -
I am interested creating an open source CLR version of Clojure which compiles to JavaScript and ultimately the creation of an open source extension for Visual Studio which provides ...
Eric Greene
Feb 19, 2013 at 2:37 pm
Mar 22, 2013 at 9:01 pm -
Hey guys, this is in the top of Hacker News right now, it looks very nice: http://www.chris-granger.com/2013/02/27/light-table-030-experience/ I was thinking a lot after reading the thread "Why is ...
Erlis Vidal
Feb 28, 2013 at 5:01 pm
Mar 4, 2013 at 6:18 pm -
I have a lein project, if using lein2(lein2 deps), it gives me the following errors: james:alitoolkit(git:master)$ lein deps Could not find metadata ...
James Xu
Feb 21, 2013 at 7:44 am
Feb 21, 2013 at 6:57 pm -
I created a web app using Ring, Jetty, Enlive, Compojure. At the end, I bundled everything together by running the command "lein uberjar". The resulting file was 21 megs. I scp the file to the ...
Larry google groups
Feb 6, 2013 at 3:10 pm
Feb 7, 2013 at 8:35 pm -
Hey guys, I'm trying to read a lot of data, sometimes from *in* and sometimes from a file. I extensively use the native .write and .read java methods. According to the clojure doc for reader, it says ...
Kanwei Li
Feb 3, 2013 at 6:51 pm
Feb 7, 2013 at 7:17 am -
Hi, I'd appreciate suggestions on how I can/should secure my clojure/clojurescript "single page web" app that relies heavily on shoreleave-remote. With other frameworks, upon authentication I've ...
Ari
Feb 26, 2013 at 4:24 pm
Apr 1, 2013 at 7:30 pm -
I often find myself asking for identity of something but identity takes a single argument! Why not have it take as many as one likes but only return the identity of the first? I find that very ...
Jim foo.bar
Feb 27, 2013 at 12:02 pm
Mar 6, 2013 at 8:03 am -
Hello, I am trying to figure out how to make the following elegantly in clojure. I have a hash-map which has some key-value pairs and I would like to append to that hash-map a couple more key-value ...
Ryan
Feb 21, 2013 at 2:57 pm
Feb 21, 2013 at 5:44 pm -
The goal is to can write this form: = *(let [a java.lang.RuntimeException] (new a) )* CompilerException java.lang.IllegalArgumentException: Unable to resolve classname: a, ...
AtKaaZ
Feb 14, 2013 at 9:27 pm
Feb 17, 2013 at 6:37 am -
hi clojure-users, as i am thinking about using enfocus (http://ckirkendall.github.com/enfocus-site/) for building up the clientside-logic for a new site, i am interested in reports of people who have ...
Faenvie
Feb 12, 2013 at 12:22 pm
Feb 13, 2013 at 7:18 am -
Hey all, I'm a newbie that is trying to use clojure for my university grade thesis. In our project we have to generate a graph structure invoking some methods on a standard java class. This class is ...
Pablo Nussembaum
Feb 11, 2013 at 9:00 pm
Feb 13, 2014 at 11:32 am -
Following up on the thread "*read-eval* vulnerability", I started writing some documentation for how to read Clojure data safely. That isn't ready yet, but before I get the time to finish that I ...
Andy Fingerhut
Feb 11, 2013 at 6:29 pm
Feb 13, 2013 at 11:19 pm -
Hi all, We recently released a ClojureScript library for FRP called Javelin. Links of interest: * Release announcement ...
Alan Dipert
Feb 20, 2013 at 7:34 am
Apr 22, 2013 at 5:18 pm -
Hi, I'm getting an unexpected exception trying to do unchecked arithmetic: user= (def seed1 25214903917) #'user/seed1 user= (type seed1) java.lang.Long user= (type 25214903917) java.lang.Long user= ...
John Lawrence Aspden
Feb 20, 2013 at 10:25 pm
Feb 22, 2013 at 2:57 pm -
Sometimes I find myself writing code like this: (defn magnify [n] (if (pos? n) (inc n) (dec n))) ...and I want to get rid of all those "n"s. I've looked for a macro like this, but couldn't find it, ...
James MacAulay
Feb 20, 2013 at 5:54 am
Feb 20, 2013 at 5:52 pm -
Hi. This is a really basic question, as I'm new to Clojure and Java. I'm trying to use a jar file for Stanford's NLP software that isn't available on Maven. I successfully ran the commands from this ...
Jarod
Feb 16, 2013 at 11:05 pm
Feb 20, 2013 at 1:50 pm -
is there a way to use nested transactions, yet? I am looking at [1] and [2] [1] https://github.com/thinkaurelius/titan/wiki/Multi-Threaded-Transactions [2] ...
AtKaaZ
Feb 12, 2013 at 5:39 pm
Feb 13, 2013 at 3:54 pm -
Just throwing ideas. Feel free to shoot it down if you folks think its not worth it :). Also, I'm a student, and would actually be participating in GSOC, so this is more of a shoutout for possible ...
Omer Iqbal
Feb 14, 2013 at 9:30 pm
May 2, 2013 at 11:05 am -
Hi everyone, I cannot figure out for the life of me how to pass in an optional doc-string into a 'defsomething' macro and have it to work. If I hard-code it then it works just fine... (defmacro ...
Jim - FooBar();
Feb 24, 2013 at 5:03 pm
Feb 24, 2013 at 8:01 pm -
Suppose I have two namespaces (ns1 and ns2) and the first "uses" the second. When I load ns1 and switch to its namespace in nREPL, everything works as expected. If I then make changes to existing ...
Karl Smeltzer
Feb 19, 2013 at 9:16 pm
Feb 24, 2013 at 2:28 am -
Hi, given a vector of the form [:key1 1 2 3 :key2 4 :key3 5 6 7] I wand to create a map collecting the items behind each keyword as a vector like this: {:key1 [1 2 3] :key2 [4] :key3 [5 6 7]} I have ...
Stefan Kamphausen
Feb 20, 2013 at 11:50 am
Feb 21, 2013 at 9:44 am -
A few months ago I reread Simon Peyton Joneses article on STM in the Beautiful Code book and decided to try and translate it into clojures STM See the paper here ...
Tom Hall
Feb 15, 2013 at 3:13 pm
Feb 19, 2013 at 6:49 pm -
Hi, I've been going through all the instruction on the nrepl-ritz page (https://github.com/pallet/ritz/tree/develop/nrepl) as well as nrepl-ritz threads and I can't seem to get it working due to a ...
Dima B
Feb 18, 2013 at 7:59 pm
Feb 19, 2013 at 12:37 am -
7
Clojure count and get functions much faster on strings than direct interop with .length and .charAt
I am writing an expensive algorithms in Clojure and while trying to optimize the code I discovered something that puzzled me. Clojure count and get functions are much faster on strings than direct ...Geo
Feb 17, 2013 at 2:18 pm
Feb 17, 2013 at 11:00 pm -
Hi all, This one goes to people using heroku for their production Clojure apps. Heroku says that Dynos will be restarted at least once every day - that doesn't seem like a big issue, however this ...
Leonardo Borges
Feb 14, 2013 at 1:29 am
Feb 14, 2013 at 7:30 pm -
Hello, I am trying to figure out how to setup my clojure project in order to be able to serve both normal http requests which will return json and also handle requests over websockets. Is it possible ...
Ryan T.
Feb 11, 2013 at 10:54 pm
Feb 12, 2013 at 10:36 am
Group Overview
group | clojure |
categories | clojure |
discussions | 221 |
posts | 1,330 |
users | 278 |
website | clojure.org |
irc | #clojure |
278 users for February 2013
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)