FAQ

Search Discussions

182 discussions - 1,082 posts

  • 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 SpectorLee 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 ButcherPaul 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 HallowayStuart 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 WestPeter 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 EngelbergMark 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 ShawAlan 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 SinghSukh 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 ...
    UlsaUlsa
    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 MillareBrent 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 GrigorovichAlex 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 WashingtonTimothy 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 ...
    DmillerDmiller
    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 ...
    VemvVemv
    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 McKitrickJonathon 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 HusainMurtaza 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 DrogalisMichael 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 ChalmersSean 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 ...
    MondMond
    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 McKitrickJonathon 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 GoossensThomas 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 ŠrankMarek Š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 MatveevVladimir 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#] ...
    JarppeJarppe
    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 KumarShantanu 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 EngelbergMark 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 TsichevskiVladimir 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 ...
    JonCJonC
    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.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 GabrieleJohn 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 SiderisStathis 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 DinnyesDaniel 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 liBruce 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 SperandioChristian 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 GoossensThomas 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 CareAndrew 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 SierraStuart 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 ...
    LincolnLincoln
    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 TravisLarry 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 MillareBrent 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ökLá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 ...
    MikeraMikera
    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 ...
    HankHank
    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 SparksMalcolm 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 ObuaSteven 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 WashingtonTimothy 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 ...
    MarkMark
    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 MunizagaMarco 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 SiderisStathis 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 ...
    CGATCGAT
    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 AllixPierre Allix
    Dec 12, 2012 at 2:12 pm
    Dec 14, 2012 at 10:23 am
Group Navigation
period‹ prev | Dec 2012 | next ›
Group Overview
groupclojure @
categoriesclojure
discussions182
posts1,082
users276
websiteclojure.org
irc#clojure

276 users for December 2012

David Nolen: 32 posts Andy Fingerhut: 30 posts Marko Topolnik: 28 posts Lee Spector: 20 posts Jim - FooBar();: 19 posts Mark Engelberg: 19 posts Alex Baranosky: 17 posts Christian Sperandio: 17 posts Vladimir Tsichevski: 17 posts Jonathon McKitrick: 16 posts Wm. Josiah Erikson: 16 posts Softaddicts: 15 posts Alan Shaw: 14 posts Brent Millare: 14 posts Chas Emerick: 14 posts Shantanu Kumar: 14 posts Herwig Hochleitner: 13 posts Marshall Bockrath-Vandegrift: 13 posts Ambrose Bonnaire-Sergeant: 12 posts Ben Wolfson: 12 posts
show more