Search Discussions
-
Clojure 1.8.0-RC1 is now available. *This build is a "release candidate"!* We would appreciate any and all testing you can do on your own libraries or internal projects to find problems. If no ...
Alex Miller
Nov 10, 2015 at 5:30 pm
Nov 16, 2015 at 2:00 am -
When an object is built from a map, aggregating mixins is a trivial operation. But when a mixin needs to be closed, it is better to have a common mechanism to manage a stack of the close functions of ...
William la Forge
Nov 23, 2015 at 8:01 pm
Nov 25, 2015 at 3:19 pm -
Code as data is the mantra. Functions and closures as data. So why not objects as data? What I propose is nothing new, but perhaps a new style. Making objects from map structures is simple enough in ...
William la Forge
Nov 21, 2015 at 2:54 am
Nov 24, 2015 at 3:50 pm -
I have functions f1 and f2 below, and let's say they run in T1 and T2 amount of time when running a single instance/thread. The issue I'm facing is that parallelizing f2 across 18 cores takes ...
David Iba
Nov 17, 2015 at 5:38 am
Nov 20, 2015 at 9:09 am -
Clojure 1.8.0-RC2 is now available. *This build is a "release candidate"!* We would appreciate any and all testing you can do on your own libraries or internal projects to find problems. Try it via - ...
Alex Miller
Nov 16, 2015 at 2:32 pm
Dec 3, 2015 at 8:40 am -
Hi all, Can we, the community agree a consistent way of rendering Clojure EDN when we report it in info or error. For example, given the EDN "2" (i.e. a string containing a single character 2) I have ...
Colin Yates
Nov 13, 2015 at 11:55 am
Nov 14, 2015 at 10:46 am -
The Clojure community is full of talented writers and valuable experience, and together we can create great documentation for the language and the ecosystem. With that in mind, we are happy to ...
Alex Miller
Nov 10, 2015 at 3:14 pm
Nov 12, 2015 at 1:04 pm -
I've read the recent comments on 'the end of dynamic languages' and I'm curious what ways you have found for dealing with one of the issues I've heard mentioned frequently: when libraries (or ...
Jonathon McKitrick
Nov 30, 2015 at 9:49 pm
Dec 2, 2015 at 4:55 pm -
Hi, I am looking for a working environment for using org-mode with Clojure babel. Googleing for the issue I can only find some apparently outdated hints. I am using org-mode version 8.2.10, Clojure ...
Johannes
Nov 3, 2015 at 8:25 am
Nov 10, 2015 at 8:36 am -
The lirs cache in core.cache looks good, but I don't follow the code for setting the limits. I'd like to use this as a node cache for virtual data structures. So I need a large, but configurable, ...
William la Forge
Nov 2, 2015 at 9:47 pm
Nov 3, 2015 at 10:57 am -
I have started to play around with ProbLog2 and find the concept of probabilistic logic programming to be super fun. When googeling miniKanren and probabilistic logic programming the following came ...
Henrik Larsson
Nov 20, 2015 at 1:50 pm
Nov 25, 2015 at 2:52 pm -
I've been having a (friendly) argument with a friend who is an old-school OOP programmer. He insists that you need objects to make large-scale codebases legible and maintainable over the long run ...
Dilettante Coder
Nov 15, 2015 at 7:22 pm
Nov 24, 2015 at 11:15 am -
I'm writing a very small REST application in clojure using compojure and ring. One problem is that I don't have anyone who can review my work or provide feedback. I've written a small function to ...
Brian Forester
Nov 12, 2015 at 4:09 pm
Nov 13, 2015 at 2:10 pm -
I have just installed a new box and cannot make Cider working with Spacemacs nor Prelude. When I open a .clj file I notice this in *Messages*: *Eager macro-expansion failure: (error "Unknown upattern ...
Karel Miarka
Nov 26, 2015 at 12:16 pm
Nov 28, 2015 at 5:16 pm -
Say there's a dependency that I fork and add some features I need for my team's project. I can use my fork locally with lein install no problem, and so can others *if* they clone my fork and do the ...
Bobby Bobble
Nov 17, 2015 at 1:21 pm
Nov 18, 2015 at 9:31 pm -
A colleague and I are debating various things clojure as we were exploring alternative ways to solve a problem. Here's the description of the problem that a particular function is trying to solve, ...
Dave Tenny
Nov 11, 2015 at 9:25 pm
Nov 12, 2015 at 2:48 pm -
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript Leiningen dependency information: [org.clojure/clojurescript ...
David Nolen
Nov 6, 2015 at 12:05 pm
Dec 3, 2015 at 11:07 pm -
Hello friends, I've read several blog posts about channels but must admit I feel there's something basic that I'm not yet getting... We're supposed to be able to avoid callback hell by using ...
Fahptv
Nov 25, 2015 at 7:08 am
Nov 25, 2015 at 5:41 pm -
I have recently started learning lisp and completed some simple exercises that are available to me, unfortunately I have got stuck & after spending hours it seems I don't seem to be getting any ...
Stevegarrid1234
Nov 14, 2015 at 3:13 pm
Nov 14, 2015 at 10:17 pm -
Hi, I am aware of philosophical differences of Scala and Clojure but functional programming should be a pretty common ground :) Thus I need help, I am trying to mimic Scala's for comprehension in ...
Rastko Soskic
Nov 26, 2015 at 11:12 am
Nov 26, 2015 at 8:40 pm -
I have something very strange going on when I try to write a map out to a file and read it back in. It's a perfectly fine hash-map with ????? key/values (so it's pretty big). When I write the map out ...
Dave Kincaid
Nov 26, 2015 at 4:04 am
Nov 26, 2015 at 5:07 am -
Hi all, I was wondering if any work is being planned on tools.logging to add log4j 2 support? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to ...
Didier A.
Nov 19, 2015 at 6:38 pm
Nov 19, 2015 at 10:57 pm -
I get a reflection warning "reference to field printstacktrace can't be resolved" from the following code: (defn foo [] (go-loop [] (<! (timeout 3000)) (try (catch Throwable t (.printstacktrace t))) ...
Alice
Nov 16, 2015 at 11:08 am
Nov 16, 2015 at 12:42 pm -
Morning Currently driving through Clojure country reading Clojure for the brave abs typing examples out of the clojure cookbook. Following Paretos principle 80/20 rule the 20% usually drives the 80% ...
Sayth Renshaw
Nov 10, 2015 at 11:27 pm
Nov 14, 2015 at 9:16 pm -
While answering this question <http://stackoverflow.com/questions/33600132/checking-if-uuid-exists-in-postgresql-table-using-clojure-java-jdbc-db-do-prepar/33605673#33605673 on stackoverflow about ...
Niels van Klaveren
Nov 9, 2015 at 10:45 am
Nov 9, 2015 at 9:16 pm -
Working my way through the quickstart tutorial for om next: https://github.com/omcljs/om/wiki/Quick-Start-%28om.next%29 Got to the point (not very far) where I enter this command: lein run -m ...
William la Forge
Nov 29, 2015 at 3:37 am
Nov 30, 2015 at 1:00 am -
Guys, I've had pieces of this idea wandering around my head for years now and have finally decided that the time might be right for putting them together in the context of Clojure. I'm sure that ...
Jules
Nov 28, 2015 at 6:01 pm
Nov 29, 2015 at 9:33 am -
Here is a compliant JSON parser in 99 LOC, implemented with *pex, a new parsing library*. [1] This is alpha software. Hot off the heels of Colin Fleming's Conj talk on PEGs [2], I'm making public an ...
Ghadi Shayban
Nov 17, 2015 at 6:06 am
Nov 20, 2015 at 1:16 pm -
I'm happy to announce the 0.3.0 release of HugSQL. HugSQL is a Clojure library for embracing SQL in your projects. This is a significant release because of the new documentation site ...
Curtis Summers
Nov 12, 2015 at 12:51 am
Nov 12, 2015 at 2:26 pm -
Hi all, I created a set of tools this weekend to produce procedurally generated animations in Clojure. May be of interest to those who like computer graphics and the more creative usages of Clojure! ...
Mikera
Nov 9, 2015 at 12:22 am
Nov 11, 2015 at 4:49 pm -
Hi, I'm wondering if anyone can help me understand why transient map in my code stops adding entries. Here is my implementation of huffman code generation given a string ...
Ritchie Cai
Nov 10, 2015 at 6:59 pm
Nov 10, 2015 at 7:28 pm -
Hi all, Often I need to make decisions in simple threading macros, for instance consider the following code (- m :vector (filterv #(= (:id %) (:id m))) (reduce #(and %1 %2))) In this case, if the ...
Timur
Nov 3, 2015 at 4:05 pm
Nov 5, 2015 at 8:01 am -
For those interested in data visualization with CLJ/CLJS, my thi.ng libs, reagent & figwheel, I've recently been teaching two 3-day workshops in London and published repos with fully commented source ...
Karsten Schmidt
Nov 19, 2015 at 1:51 pm
Nov 21, 2015 at 5:28 pm -
We have been happily using clojure on windows and linux, today we tried to run on a MacBook Pro and ran into several issues. The current stopper is a CNFE as per the title (stack trace at the end). I ...
Phil Segal
Nov 16, 2015 at 9:05 pm
Nov 17, 2015 at 9:03 am -
user= (def obj (Object.)) #'user/obj user= (defmacro mac1 [& body] `(locking ~obj [email protected])) #'user/mac1 user= (mac1 nil) CompilerException java.lang.RuntimeException: Can't embed object in code, maybe ...
Alice
Nov 16, 2015 at 5:55 am
Nov 16, 2015 at 11:31 am -
I've made a short video series on writing a game with Clojure and ClojureScript. The last episode is out today, so the series is complete. Hope you find some entertainment in it. :-) ...
Magnar Sveen
Nov 15, 2015 at 7:15 pm
Nov 16, 2015 at 3:35 am -
Hi there, I was playing with reducers recently, and was wondering why PersistentSets aren't foldable (i.e. don't take advantage of the Fork/Join stuff? Is there some fundamental reason why it ...
retnuH
Nov 10, 2015 at 4:23 pm
Nov 10, 2015 at 4:54 pm -
This weekend I was thrilled to have two people pick up and start experimenting with Afterglow, the live-coding light show software I’ve been working on this year, and both are new to Clojure as ...
James Elliott
Nov 8, 2015 at 7:10 pm
Nov 9, 2015 at 11:35 am -
All - I'm trying to generate a lazy sequence of primes using Erastosthenes Sieve (from Abelson & Sussman) and am encountering some issues with lazy sequence. Here's what I have: --- (defn divisible? ...
Matthew Ulrich
Nov 4, 2015 at 2:50 pm
Nov 6, 2015 at 1:18 am -
Meetup.com sends me notices every month about "N Clojure programmers are attending the monthly Clojure Meetup at Climate Corp". I've shown up at the last two on the scheduled date and time, and there ...
Ken Restivo
Nov 30, 2015 at 12:28 am
Dec 2, 2015 at 7:18 pm -
I defined my own defn in the namespace mwm. My new code looks like this (mwm/defn foo [x] ...) Everything was fine as long as it was called defn2, but after renaming it to defn and refering to the ...
Mattias w
Nov 13, 2015 at 12:46 pm
Nov 26, 2015 at 4:50 am -
There's a new release of Gorilla REPL available on Clojars. The biggest change - which should make the lives of students of Clojure a tiny bit better - is that exceptions are now displayed with their ...
Jony Hudson
Nov 25, 2015 at 6:39 pm
Nov 25, 2015 at 7:15 pm -
I love composition of traits and abstractions like protocols. But I especially love clojure's extend, which allows me to refactor interfaces without having to change the code for the traits. That's ...
William la Forge
Nov 24, 2015 at 5:46 pm
Nov 24, 2015 at 8:51 pm -
This is not working for me: (ns aatree.record-play) (defprotocol gran (blip [x y z])) (defrecord wackel []) (defn new-wackel [opts] (let [w (- wackel)] (into w opts) (assoc w :blip (fn [this x y z] ...
William la Forge
Nov 24, 2015 at 4:30 pm
Nov 24, 2015 at 6:19 pm -
It's been an uncomfortably long time since I released a new library, so here we go. This plugin solves a problem that has endlessly bothered me (and hopefully a number of other people which is ...
Zach Tellman
Nov 19, 2015 at 6:02 am
Nov 20, 2015 at 9:05 am -
One of the topics I had hoped to see coming out of the Conj is a 2015 update to the State of Clojure survey. Is the survey something that is in the plans for 2015? Thanks! -- You received this ...
Philip Markgraf
Nov 18, 2015 at 2:20 am
Nov 18, 2015 at 4:03 am -
I *frequently* see: (nth (iterate foo bar) n) And: (- (iterate foo bar) (drop n) first) I've also coded this in `avi` after being surprised no such thing exists: (defn n-times [thing n a-fn] (reduce ...
Jason Felice
Nov 16, 2015 at 8:37 pm
Nov 16, 2015 at 9:44 pm -
Home: https://github.com/bilus/pipes If you ever used Un*x pipes ``` $ ls | grep .clj ``` then this library gives you a power to do this in Clojure and a lot more. You can use streams to chain any ...
Marcin Bilski
Nov 13, 2015 at 2:13 pm
Nov 14, 2015 at 12:23 am -
Hi everyone, Is the following the expected behavior after converting an object into a map using bean fn: user (bean "test") {:bytes #object["[B" 0x546fe214 "[[email protected]"], :class java.lang.String, ...
Timur
Nov 2, 2015 at 5:37 pm
Nov 2, 2015 at 7:42 pm -
metrics-clojure is a Clojure interface to the DropWizard Metrics library. Release notes: https://github.com/sjl/metrics-clojure/blob/master/ChangeLog.md#changes-between-250-and-260 -- MK ...
Michael Klishin
Nov 30, 2015 at 6:29 pm
Dec 1, 2015 at 5:08 pm
Group Overview
group | clojure |
categories | clojure |
discussions | 93 |
posts | 487 |
users | 173 |
website | clojure.org |
irc | #clojure |
173 users for November 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)