Search Discussions
-
I've been running compute intensive (multi-day), highly parallelizable Clojure processes on high-core-count machines and blithely assuming that since I saw near maximal CPU utilization in "top" and ...
Lee Spector
Dec 8, 2012 at 1:25 am
Nov 6, 2013 at 4:19 pm -
All, I have a request which I hope the members of this group are uniquely positioned to help with. I have recently started working on a new book for The Pragmatic Programmers with the working title ...
Paul Butcher
Dec 2, 2012 at 4:16 pm
Dec 15, 2012 at 12:52 am -
I just kicked off the RC1 build for Clojure. With luck, within a few hours it will show up at Maven Central [1] Please test it. It would be fantastic if as many people as possible updated their ...
Stuart Halloway
Dec 22, 2012 at 4:09 pm
Jan 3, 2013 at 6:23 am -
I want to compose and apply a function as follows: A (= (<function to extract \a "abBcdAa" ) "aa") I can filter the argument using filter #(= \a %) <string . If I (def s (filter #(= \a %) "abBcdAa")) ...
Peter West
Dec 15, 2012 at 7:17 am
Dec 17, 2012 at 12:10 pm -
Is there anything analogous to clojure.contrib.ns-utils/immigrate available for recent Clojure versions? I also recall some utility for "cloning" headers from other namespaces, but can't find it in ...
Mark Engelberg
Dec 12, 2012 at 12:16 am
Dec 15, 2012 at 1:23 pm -
user= *ns* #<Namespace user user= (def user-ns *ns*) #'user/user-ns user= user-ns #<Namespace user user= (in-ns user-ns) ClassCastException clojure.lang.Namespace cannot be cast to ...
Alan Shaw
Dec 18, 2012 at 6:50 am
Dec 20, 2012 at 7:31 am -
Hi, I have noticed that this question is randomly appearing in many minds, and it is frequently being asked, though there is no apparent reason on why it is asked :/ or maybe people are unable to pen ...
Sukh Singh
Dec 27, 2012 at 11:33 am
Dec 30, 2012 at 7:12 pm -
In a couple of months, I'll have a whole day of teaching Clojure to ten of my colleagues. They are experienced Java programmers, but otherwise Clojure rookies. Any tips on how to structure such a ...
Ulsa
Dec 15, 2012 at 10:13 pm
Dec 22, 2012 at 6:41 pm -
Using clojurescript 3842d3f9e0d68853077117a9192222e93e169079 Trying to do the simplest case of a clojurescript browser repl: running clojurescript/script/repl, then Taken straight from the ...
Brent Millare
Dec 3, 2012 at 6:37 pm
Dec 5, 2012 at 2:53 pm -
Hi, I was trying to watch Rich's videos on http://clojure.blip.tv and got a 404 Not Found. Searching blip.tv for "clojure" brings up on entry that is "pending deletion". Are these videos available ...
Alex Grigorovich
Dec 13, 2012 at 6:15 am
Apr 2, 2013 at 7:07 pm -
Hey all, I like the promise of nrepl-ritz. But I can't get a working setup. 1) I start from an empty "*~/.emacs.d/*" 2) I then populate init.el from the example in ...
Timothy Washington
Dec 5, 2012 at 5:50 am
Feb 23, 2013 at 4:47 pm -
ClojureCLR is caught up with all changes to ClojureJVM up to 1.5.0-RC1. This includes all relevant bug fixes, the reducers library, reader literal improvements, new threading macros and other ...
Dmiller
Dec 27, 2012 at 5:45 pm
Jan 5, 2013 at 11:24 am -
I was just wondering - given that we have the #() and #{} literals, why not a #[] as well? Queues look like a good fit. -- You received this message because you are subscribed to the Google Groups ...
Vemv
Dec 28, 2012 at 10:15 pm
Jan 4, 2013 at 7:39 pm -
1. Can emacs with swank dynamically update Noir code running locally, or do I need to save the code and then 'lein run' to see the new result? 2. When trying (in-ns ...) and a few other commands from ...
Jonathon McKitrick
Dec 19, 2012 at 2:12 pm
Dec 20, 2012 at 11:07 pm -
Hi, I am trying to setup my authentication using cemerick/friend. I would like to authenticate using openid with gmail. Below is the code that I have - (ns faiz.handler (:use compojure.core) ...
Murtaza Husain
Dec 19, 2012 at 7:59 am
Jan 10, 2013 at 6:06 pm -
Hey folks, After watching The Language of the System and being directed to Joe Armstrong's paper on error handling, I concurred that his approach is fantastic. I really wanted the same thing for more ...
Michael Drogalis
Dec 28, 2012 at 7:14 pm
Dec 30, 2012 at 10:10 am -
Greetings all! I'm just starting out in the so far wonderful world of Clojure and to help me get started I had a crack at one of my favourites, the FizzBuzz program. For anyone that isn't familiar ...
Sean Chalmers
Dec 29, 2012 at 1:38 pm
Dec 31, 2012 at 1:25 pm -
I have defined these types of records for modelling a simple shopping cart: ; An item in the cart (defrecord Item [id name product quantity purchased]) ; The product that relates to the item in the ...
Mond
Dec 15, 2012 at 4:26 pm
Dec 17, 2012 at 1:45 am -
I sort of got clojure interactively running and working with slime. I'd like to interactively run and test in emacs, then push to heroku. Any tutorials or pointers on how to do this? -- You received ...
Jonathon McKitrick
Dec 11, 2012 at 7:14 pm
Dec 15, 2012 at 12:41 am -
One of the issues i had and still have with the if function is that because it has ordered arguments, makes things more complex. For small functions this is no so much of a problem. (if test 1 0) But ...
Thomas Goossens
Dec 8, 2012 at 11:03 pm
Dec 9, 2012 at 5:37 pm -
function list* doesn't return a list, because it uses 'cons' under the hood: (list? (list* 1 2 3 '())) ;= false (class (list* 1 2 3 '())) ;= clojure.lang.Cons ...however, its docstring says: "Creates ...
Marek Šrank
Dec 26, 2012 at 8:35 pm
Jan 4, 2013 at 10:16 pm -
Hello, Consider the following code (gen-interface :name IntStack :methods [[stackPeek [] int] [stackPush [int] void] [stackPop [] int] [stackDepth [] int]]) (deftype IntStackImpl [^{:tag ints ...
Vladimir Matveev
Dec 18, 2012 at 1:41 pm
Dec 18, 2012 at 7:40 pm -
Hi, I have this macro (complete file https://www.refheap.com/paste/7633): *(*defmacro defgreeter [greeter-name] *(*let [greeter *(*make-greeter*)*] `*(*do *(*defn ~greeter-name [user-name#] ...
Jarppe
Dec 16, 2012 at 2:24 pm
Dec 17, 2012 at 6:29 pm -
Hi, I noticed the following ClojureCLR errors using Mono 2.10 on Ubuntu 12.04 (they do not happen on Windows using either .NET or Mono): 1. when running Clojure.Compile.exe: Exception ...
Shantanu Kumar
Dec 16, 2012 at 4:15 am
Dec 30, 2012 at 9:41 am -
Let's say I have a file "hello.clj" that simply contains the line: (println "hello, world") What's the simplest way to run this clojure file? I'm looking for something simpler than setting up a lein ...
Mark Engelberg
Dec 16, 2012 at 1:35 am
Dec 17, 2012 at 8:30 am -
Hi, CCW always outputs compiled classes into the "classes" catalog. AFAIK, this name is compiled into CCW and hence cannot be changed. My two questions are: 1. Why the catalog path is not ...
Vladimir Tsichevski
Dec 1, 2012 at 8:42 pm
Dec 14, 2012 at 3:35 am -
Ok: first of all, Clojure has outstandingly the best core library I've seen. I am awed by how wonderfully the protocol approach makes data structures, and the good taste applied to getting an API ...
JonC
Dec 5, 2012 at 6:55 pm
Dec 6, 2012 at 6:14 pm -
Anybody have some advice for me about the latest JOGL(2.0 rc11) with Clojure on Eclipse? I'm running Eclipse Juno SR1 with Counterclockwise on OS X 10.6.8. The JOGL tutorial sets up by creating a ...
Andrew P. Lentvorski, Jr.
Dec 5, 2012 at 10:41 am
Aug 25, 2013 at 2:05 am -
Sayth, Not sure I follow everything in your post, but here are some tips: 1. You don't need to "install" Clojure itself. Leiningen takes care of that for you. See 2. Make sure you install Emacs 24. I ...
John Gabriele
Dec 30, 2012 at 3:52 am
Jan 2, 2013 at 7:30 am -
Hello, I noticed the following: Which is fair enough I suppose. It seems to have the following side-effect though: 955327 Is that the intended behaviour? I suppose it's OK for two things to hash to ...
Stathis Sideris
Dec 20, 2012 at 6:04 pm
Dec 21, 2012 at 10:23 pm -
Hi, I would like to suggest an enhancement to the clojure.core/group-by function. The idea came from using Enumerable.GroupBy <http://msdn.microsoft.com/en-us/library/bb534304.aspx extension method ...
Daniel Dinnyes
Dec 14, 2012 at 6:02 pm
Dec 21, 2012 at 1:42 am -
Hello, everyone. I'm currently trying to model an automata using multi-method. So in my code, I have something like: (defmethod trans :state [state] ; ....... (trans ......)))) In the last line, the ...
Bruce li
Dec 17, 2012 at 4:32 pm
Dec 20, 2012 at 7:35 am -
Hi, I'm one of those bearded (Lin)Unixians person who love the black screen. I'm closer to back-office than front-office (it's may be my (too) pragmatic mind). But sometimes, for some programs, a GUI ...
Christian Sperandio
Dec 5, 2012 at 11:38 pm
Dec 6, 2012 at 8:34 pm -
If you are from Belgium, Don't get too excited - yet - . I've been wondering about organising a small meetup somewhere next semester. (I peeked at our northern neighbours ...
Thomas Goossens
Dec 16, 2012 at 7:56 am
Feb 6, 2013 at 5:12 pm -
I'm trying to use repeat with a function argument. This works: (reduce + (filter (fn [number] (zero? (some #{0} (map mod (take 2 (repeat 9)) [3 5])))) (range 1 1000))) This doesn't: (reduce + (filter ...
Andrew Care
Dec 24, 2012 at 6:07 am
Dec 26, 2012 at 1:43 am -
tools.namespace (a Clojure contrib library): Tools for managing & reloading namespaces. Changelog & more info: https://github.com/clojure/tools.namespace Leiningen dependency ...
Stuart Sierra
Dec 14, 2012 at 1:52 pm
Dec 22, 2012 at 1:25 am -
I'm learning Clojure, and I learn best by jumping in. I'm interested in using Noir. Noir has a full API reference, so when I'm reading other people's Noir code, I can just look up the exact function ...
Lincoln
Dec 15, 2012 at 6:04 am
Dec 18, 2012 at 9:38 am -
It almost certainly has something to do with my abysmal ignorance about things Java, but I don't understand this difference: (1) user (map Math/sqrt [5 6 16]) Unable to find static field: sqrt in ...
Larry Travis
Dec 16, 2012 at 7:33 pm
Dec 18, 2012 at 12:25 am -
I understand both core.logic and datomic offer a query system. While there are clear interface differences, and the systems are continuing to evolve so the answer will change over time, however, I ...
Brent Millare
Dec 9, 2012 at 6:42 am
Dec 10, 2012 at 10:46 pm -
Hi, As I was trying to wrap my head around the reducers library[1], I thought implementing group-by would be a good exercise to gain some insight. After spending a few hours with it, I'm still pretty ...
László Török
Dec 3, 2012 at 4:04 pm
Dec 7, 2012 at 1:09 pm -
Hi All, I just open sourced a new Clojure library vectorz-clj with support for high performance vector maths in Clojure. It's fairly general purpose, and designed for use in 3D games, simulations and ...
Mikera
Dec 2, 2012 at 12:24 pm
Dec 7, 2012 at 5:02 am -
I'm mapping a function that throws an exception over a collection: = (def mapped (map (fn [_] (throw (Exception.))) [1 2 3])) #'user/mapped 'map' is lazy so we're not expecting to see the exception ...
Hank
Dec 2, 2012 at 1:58 pm
Dec 3, 2012 at 2:48 pm -
Hi, I need to parse Clojure code for purposes of code-insights, web presentation with hyperlinks between symbols, potential re-factoring, dead namespace illumination, visualization and inspection of ...
Malcolm Sparks
Dec 27, 2012 at 8:17 pm
Dec 31, 2012 at 12:39 pm -
I am using Clojure 1.4.0. It seems that reduce-kv does not work together with subvec. For example: (reduce-kv (fn [v index u] (+ v (* index u))) [10 3 5]) results in 13, but (reduce-kv (fn [v index ...
Steven Obua
Dec 27, 2012 at 6:05 pm
Dec 30, 2012 at 11:25 am -
Hi all, I'm trying to put together some nrepl middleware<https://github.com/clojure/tools.nrepl#middleware . To get a basic understanding, I thought I would implement some simple nrepl middleware in ...
Timothy Washington
Dec 26, 2012 at 10:56 pm
Dec 27, 2012 at 3:52 pm -
Hi, I'm trying to make my way through the modern-cljs tutorials and running into a blocker: I'm on tutorial 2 (https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-02.md?.mdown) and when ...
Mark
Dec 23, 2012 at 11:30 pm
Dec 24, 2012 at 11:56 pm -
I'm currently doing something like src/project/passwords.clj and git ignoring that, does anyone have a better solution? maybe a way to place the passwords.clj alongside project.clj in the root ...
Marco Munizaga
Dec 18, 2012 at 5:09 am
Dec 22, 2012 at 7:30 pm -
Hello, With the code below you can query transitive relationships between entities successfully. Is there any way to use core.logic "explain" the relationship? Specifically, is there any way to write ...
Stathis Sideris
Dec 18, 2012 at 2:06 pm
Dec 18, 2012 at 5:19 pm -
I have a frustrating situation and would appreciate any help. The call (instance? A an-A-record) is returning false when an-A-record is in fact an instance of A. This is in a noir/compojure/ring ...
CGAT
Dec 13, 2012 at 11:13 pm
Dec 14, 2012 at 2:08 pm -
Hello, The clojure.string/capitalize function is defined as follow: Converts first character of the string to upper-case, all other characters to lower-case. I think it does not follow principle of ...
Pierre Allix
Dec 12, 2012 at 2:12 pm
Dec 14, 2012 at 10:23 am
Group Overview
group | clojure |
categories | clojure |
discussions | 182 |
posts | 1,082 |
users | 276 |
website | clojure.org |
irc | #clojure |
276 users for December 2012
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)