Search Discussions
-
An old-school C++ dev and I have started an initiative to combine the best of Open Source with a limited commercial license. It's not a new idea - MySQL creator Monty Widenius thought of something ...
Fergal Byrne
Jun 5, 2015 at 10:17 am
Jun 8, 2015 at 5:28 am -
Greetings I imagine most of us here would rather use core.async channels over callbacks in their application code, particularly with more complicated applications. But is it okay/preferable for ...
Christopher Small
Jun 1, 2015 at 7:18 pm
Jun 2, 2015 at 7:58 pm -
Hey everyone, CIDER 0.9 is finally out! You can read more about the release here http://batsov.com/articles/2015/06/16/cider-0-dot-9/ Enjoy (responsibly)! :-) -- You received this message because you ...
Bozhidar Batsov
Jun 16, 2015 at 2:33 pm
Jun 18, 2015 at 3:29 pm -
I think that the following is all correct, but I could be wrong about something. The datatypes page at clojure.org <http://clojure.org/datatypes says: "defrecord provides ... value-based equality and ...
Mars0i
Jun 11, 2015 at 6:36 pm
Jun 13, 2015 at 4:34 pm -
I'm working on a java array of double with 1280000 elements. I need the max and min values of the array. So I initially tried areduce and loop, both gives runs around 20 seconds. But when try (apply ...
Ritchie Cai
Jun 10, 2015 at 8:07 pm
Jun 16, 2015 at 12:38 am -
Hi all, I've just released an early version of 'Yo-yo', a protocol-less, function composition-based alternative to Component. It's still in its early stages, so feedback would be very much ...
James Henderson
Jun 22, 2015 at 10:18 pm
Jul 3, 2015 at 3:36 pm -
I am trying to call into some Scala that has the following overloaded methods : def apply[T](clauses: (Double, Element[T])*)(implicit name: Name[T], collection: ElementCollection) = new ...
Stephen Wakely
Jun 23, 2015 at 2:51 pm
Jun 26, 2015 at 1:00 pm -
Hello everyone. I'm happy to announce the initial release of Yagni, a Leiningen plugin for finding unused code. At a high level, Yagni works by identifying all of the interned vars in the namespaces ...
W. David Jarvis
Jun 23, 2015 at 5:39 pm
Jul 5, 2015 at 5:30 pm -
Hey guys, I am so excited to join Clojure bandwagon, last weeks have been super exciting, pretty much in love with Clojure syntax. As we are currently building an application broken into smaller ...
Mike Grabowski
Jun 23, 2015 at 9:33 am
Jun 29, 2015 at 3:38 pm -
I have a YeSQL query: (get-signs {:em emails}) ;; emails is a vector of email address strings ... which produces this list of maps: ( {:email "<span class="m_body_email_addr" ...
Gvim
Jun 5, 2015 at 4:24 pm
Jun 7, 2015 at 2:49 pm -
I think I have a conflict involving different libraries using different versions of JodaTime. I have no idea how to fix this. I have nearly the same problem as this ...
Gingersafflower
Jun 29, 2015 at 10:10 pm
Jul 6, 2015 at 4:23 pm -
10
let vs. let*
Hi! I cannot figure out, what the difference between let and let* is. Can anyone enlighten me? Johannes -- You received this message because you are subscribed to the Google Groups "Clojure" group ...Johannes
Jun 18, 2015 at 8:29 pm
Jun 26, 2015 at 6:56 am -
For example: (:require [clojure.java.io :as io]) vs (:use [clojure.java.io :as io]) In both cases, we can end up using it with "(io/<function name ... )". Is there a difference at all? Thanks Ritchie ...
Ritchie Cai
Jun 22, 2015 at 8:51 pm
Jun 23, 2015 at 4:20 pm -
Hi all, a new release of thi.ng/geom has just been pushed - now with the beginnings of a new clj & cljs data visualization module, currently supporting: - 7 layout/chart methods (bar, line, area, ...
Karsten Schmidt
Jun 14, 2015 at 12:01 am
Jun 21, 2015 at 1:31 pm -
Let's say that, as part of an xf, I want to filter out everything in a sequence that's also in some other sequence. Here are some ways of doing that: (defn filter-contains1 [edn-file] (remove ...
Sam Raker
Jun 23, 2015 at 10:07 pm
Jun 24, 2015 at 7:59 pm -
First - cljc is (for me) a huge upgrade over cljx, which was a great solution. Not having to run lein clix auto every time I do a clean is far more useful than I realised. The problem I am having is ...
Colin Yates
Jun 19, 2015 at 1:41 pm
Jun 19, 2015 at 5:28 pm -
I've been working on a Ring app that involves storing sessions as cookies, and within the session there are a couple Java objects that implement java.io.Serializable. I was somewhat surprised to find ...
Surgo
Jun 17, 2015 at 1:47 am
Jun 18, 2015 at 12:20 am -
I am pleased to announce a first public release of new* OpenCL 2.0 *Clojure library - ClojureCL Very detailed *documentation* at http://clojurecl.uncomplicate.org and API at ...
Dragan Djuric
Jun 14, 2015 at 4:04 pm
Jun 17, 2015 at 2:59 pm -
I have an application using Java interop, in which I can define a class using either deftype or defrecord. It has one field, containing an atom containing a double, and a few methods. One of the ...
Mars0i
Jun 2, 2015 at 5:08 pm
Jun 4, 2015 at 8:23 pm -
hi guys, Constructing simple clojure project is trival, just make functions. if the project grows large, with more datasources, message queue, and other storages, dependencies problem is on the ...
Xiangtao Zhou
Jun 18, 2015 at 2:15 am
Jun 22, 2015 at 5:16 am -
Hi all, is there a quick way to disable caching for everything or alternatively hash based on the contents of the resource. I am talking specifically about CSS and javascript issues served from the ...
Colin Yates
Jun 19, 2015 at 9:01 am
Jun 20, 2015 at 3:06 pm -
It evaluates true-case only if every local binding evaluates to true values. false-case has no access to local bindings. (defmacro if-let-all "if-let-all evaluates every local binding sequentially ...
Crocket
Jun 9, 2015 at 12:00 pm
Jun 11, 2015 at 1:19 am -
So, I guess I am a bit lost, how does someone actually use component? I have an application all set up with it and it seems to be working as I would expect but Stuart seems to be steering me in a ...
Dru Sellers
Jun 8, 2015 at 9:51 pm
Jun 10, 2015 at 2:59 pm -
Curious if anyone is doing anything on AWS Lambda now that it supports running Lambda functions in Java, https://aws.amazon.com/blogs/aws/aws-lambda-update-run-java-code-in-response-to-events/ ? Kyle ...
Kyle Sexton
Jun 15, 2015 at 8:07 pm
Jul 5, 2015 at 11:33 am -
hi everyone, can somebody send me materials for clojure. i am a beginner and i also want to in which tool or software i should practice in. thanks in advance -- You received this message because you ...
Baskar Kalyanasamy
Jun 25, 2015 at 8:59 am
Jun 25, 2015 at 5:24 pm -
I'm trying to get the smallest uberjar as possible. Currently I have a bunch of dependencies for compiling server resources (clojurescript, garden...) that are required at compile-time, but don't ...
Robin Heggelund Hansen
Jun 30, 2015 at 8:56 am
Jul 2, 2015 at 6:37 am -
Hi folks I wondered if one possible solution for ensuring Clojars long-term viability and maintenance would be to use it to host private repositories for paying users as well? For many people, the ...
Daniel Compton
Jun 30, 2015 at 1:50 am
Jul 1, 2015 at 6:25 pm -
Clojure 1.7.0-RC2 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC2/ - Leiningen: [org.clojure/clojure "1.7.0-RC2"] 1.7.0-RC2 has the following ...
Alex Miller
Jun 17, 2015 at 5:44 pm
Jun 22, 2015 at 3:47 pm -
I'm happy to announce the first release of superstring, a string manipulation library for clojure. Read more about why I wrote superstring here: https://github.com/expez/superstring Or check out the ...
Lars Andersen
Jun 21, 2015 at 12:45 pm
Jun 22, 2015 at 3:17 pm -
How do I remove from a nested datastructure the objects whose (pr obj) representation doesn't comply with the EDN specification? Fx, {:a 1 :b (find-ns 'user)} → {:a 1} Or, easier, how do I just not ...
Richard Möhn
Jun 3, 2015 at 1:19 am
Jun 19, 2015 at 1:31 am -
Hi all, I'm delighted to say 0.3.1 is released and available on Clojars. It's been a long while since we've made any big changes to clj-kafka so I'm very happy to say we've caught up over the past ...
Paul Ingles
Jun 12, 2015 at 3:35 pm
Jun 16, 2015 at 9:30 am -
My understanding is that a rational number is one that can be written as a fraction. For example, 5.1, which can be written as 51/10. But Clojure seems to disagree: ~~~ (rational? 51/10) ;= true ...
John Gabriele
Jun 12, 2015 at 1:35 am
Jun 15, 2015 at 6:15 pm -
This might be blindingly obvious to some, but I can't find any discussion about it. Let's say I have code like the following: (def a (atom 1)) ... (swap! a inc) (swap! a dec) Is there any possibility ...
Michael Gardner
Jun 9, 2015 at 4:30 pm
Jun 9, 2015 at 10:30 pm -
Trying to google what #' means is tricky to say the least. Is there a good name for these that I can google to read up on them? Thank you. -d -- You received this message because you are subscribed ...
Dru Sellers
Jun 5, 2015 at 8:05 pm
Jun 9, 2015 at 3:12 am -
The doc string for clojure.java.io/resource states that it returns a URL. When an invalid file is passed as the only parameter, it returns nil. Shouldn't we expect an Exception? user= ...
Elric Erkose
Jun 3, 2015 at 7:48 pm
Jun 4, 2015 at 1:20 am -
We are pleased to announce the release of Clojure 1.7. - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0/ - Leiningen: [org.clojure/clojure "1.7.0"] The two headline features for ...
Alex Miller
Jun 30, 2015 at 2:35 pm
Jul 1, 2015 at 12:10 pm -
This is an interaction with Clojure via CIDER. repl [1] (type (into-array String ["Awesome"])) [Ljava.lang.String; repl [2] [Ljava.lang.String; RuntimeException EOF while reading, starting at line 1 ...
Joe Corneli
Jun 20, 2015 at 1:12 am
Jun 20, 2015 at 8:00 pm -
Hi, I'm trying boot scripting capabilities so I have the following file: #!/usr/bin/env boot (set-env! :dependencies '[[org.clojure/clojure "1.6.0"]]) (defn -main [] (println "before") (for [s ["one" ...
Haim Ashkenazi
Jun 18, 2015 at 7:51 am
Jun 18, 2015 at 12:36 pm -
I came accross this weird case below with re-matches (in clojure 1.6). For some reason the pattern matches, once just once, only after a parse exception. This pattern repeats with every follow up ...
Jeroen van Dijk
Jun 16, 2015 at 9:19 am
Jun 17, 2015 at 9:24 am -
Hi all, I'm toying around with boot and try to get my leiningen config converted to it. My build.boot contains --8<---------------cut here---------------start------------- 8--- (set-env! ...
Tassilo Horn
Jun 13, 2015 at 12:08 am
Jun 15, 2015 at 10:30 am -
Speed up your development cycle using example. Here's the process: 1. Write your test code inline with your functions. 2. Test the output of your functions in the REPL as you code. 3. Generate unit ...
David Sargeant
Jun 8, 2015 at 2:34 pm
Jun 8, 2015 at 3:18 pm -
How would I get this to work? <project ... <repositories <repository <id snapshots-repo</id <url https://oss.sonatype.org/content/repositories/snapshots</url <releases <enabled false</enabled ...
Jacob Goodson
Jun 3, 2015 at 4:12 pm
Jun 5, 2015 at 7:25 am -
Is it reasonable that ```(slurp nil)``` throws an Exception rather than evaluates to nil? ``` user= (slurp nil) IllegalArgumentException No implementation of method: :make-reader of protocol ...
Elric Erkose
Jun 2, 2015 at 9:13 pm
Jun 3, 2015 at 7:35 pm -
Does anyone know of a simple/minimal Clojure library, or just a chunk of Clojure source code that I could cut/paste, that implements basic statistical tests like t-tests and chi-squared tests? I ...
Lee Spector
Jun 1, 2015 at 8:49 pm
Jun 2, 2015 at 3:22 pm -
I'm trying to get Specter's tests running under ClojureScript. I can run the tests manually in a REPL just fine, but I cannot figure out a straightforward way to run all the tests like you can in ...
Nathan Marz
Jun 30, 2015 at 11:20 pm
Jul 1, 2015 at 7:55 am -
I was wondering something... Would (= {:x 1} {:x 1}) be just as fast as (= 1 1) since maps are immutable? The idea is that since clojure data structures are just values can they be compared much ...
Jacob Goodson
Jun 27, 2015 at 12:01 pm
Jun 27, 2015 at 7:53 pm -
tools.namespace: parse namespace declarations and reload files in dependency order. https://github.com/clojure/tools.namespace Release 0.2.11 contains the following changes: * [TNS-34] Support for ...
Stuart Sierra
Jun 19, 2015 at 7:46 pm
Jun 21, 2015 at 7:30 am -
Hello, I am new to clojure (which I really appreciate). I am stuck with GNU emacs for all the stuff I do and I cannot find something. I am playing with Composure, starting it using lein (ring ...
Xavier
Jun 14, 2015 at 10:01 pm
Jun 15, 2015 at 3:10 pm -
The macro below is called if-let-all. (defmacro if-let-all "if-let-all evaluates every local binding sequentially and evaluates true-case only if every local binding is a truthy value. true-case has ...
Crocket
Jun 5, 2015 at 5:44 am
Jun 9, 2015 at 11:56 am -
Differences from component: 1. No need to explicitly define dependencies for a particular service. Simply order the services in the system map to facilitate dependency needs. 2. Configuration is ...
David Sargeant
Jun 8, 2015 at 2:53 pm
Jun 8, 2015 at 6:00 pm
Group Overview
group | clojure |
categories | clojure |
discussions | 126 |
posts | 700 |
users | 206 |
website | clojure.org |
irc | #clojure |
206 users for June 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)