FAQ

Search Discussions

199 discussions - 1,063 posts

  • hi, i'm half done with my asteroids clone. i stumbled over a few problems and wanted to know how others already solved them :) i am used to "less concrete programming". i ask my tools to do the ...
    Dennis HauptDennis Haupt
    Nov 5, 2011 at 12:16 pm
    Nov 9, 2011 at 11:00 pm
  • Today we are releasing Avout, which brings Clojure's in-memory model of state to distributed application development by providing a distributed implementation of Clojure's Multiversion Concurrency ...
    LiebkeLiebke
    Nov 29, 2011 at 5:38 pm
    Dec 5, 2011 at 3:43 am
  • Hi! When running ant command in cygwin on content cloned from http://github.com/clojure/clojure.git I get 2 errors: [java] Testing clojure.test-clojure.java.io [java] [java] ERROR in ...
    Michael JaakaMichael Jaaka
    Nov 21, 2011 at 12:14 pm
    Nov 23, 2011 at 8:49 am
  • Would Clojure have anything to gain by having something like PyPy's JIT-generator create a custom JIT for it, a'la http://morepypy.blogspot.com/2011/04/tutorial-part-2-adding-jit.html? Or does the ...
    Dax FohlDax Fohl
    Nov 16, 2011 at 10:55 pm
    Aug 27, 2012 at 12:38 pm
  • It seems to me that a Clojure in Common Lisp might be the easiest non-JVM port. It would be a DSL within Common Lisp. A CL implementation would even allow rewriting the normal COND syntax. Is there ...
    DalyDaly
    Nov 15, 2011 at 12:19 am
    Nov 16, 2011 at 10:55 pm
  • For those who do Literate Programming in Emacs, what do you use? I was looking at org-babel-clojure<http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html which says: But when I ...
    AndrewAndrew
    Nov 22, 2011 at 10:28 pm
    Jan 13, 2012 at 6:55 pm
  • I am going to make a game framework using jMonkeyEngine.site :: jmonkeyengine.com I want to include live modification / any kind of end user modification of the game through writing script. At first ...
    IamcreasyIamcreasy
    Nov 3, 2011 at 2:21 pm
    Nov 29, 2011 at 8:07 am
  • Many of you asked me to show an example of a literate program and demonstrate the use of the tangle function. I usually use Latex for literate work but I've done this example using HTML and <pre ...
    DalyDaly
    Nov 18, 2011 at 12:17 pm
    Nov 21, 2011 at 8:07 am
  • Hi. I'm new to Clojure, and enjoy using it very much. It's been years since I learned Scheme back in college, and it's a pleasure going back to lisp. I do, however, have a question regarding ...
    PronPron
    Nov 7, 2011 at 12:19 am
    Nov 9, 2011 at 12:50 am
  • I'd like to incorporate a relational database as a source of facts into the core.logic fact system. Several years ago, I worked with a Java backwards reasoning system called Mandarax ...
    MarkMark
    Nov 23, 2011 at 10:52 pm
    Nov 30, 2011 at 10:01 pm
  • hi, I just stumbled upon a paper on en enhanced immutable data structure [0] that could be useful for Clojure implementation. Could it enable batter parallel programming semantics as discussed by Guy ...
    bernardHbernardH
    Nov 13, 2011 at 2:18 am
    Jul 19, 2012 at 7:32 pm
  • Can we please get bored of saying "idiomatic" and "in particular" please ? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send ...
    ThenwithexpandedwingshesteershisflightThenwithexpandedwingshesteershisflight
    Nov 16, 2011 at 1:26 am
    Nov 17, 2011 at 8:08 pm
  • Hey Folks, I'm officially releasing Korma 0.2.0 today with a wonderful new project site: http://sqlkorma.com ;) HackerNews thread here: http://news.ycombinator.com/item?id=3188609 Cheers, Chris. -- ...
    Chris GrangerChris Granger
    Nov 2, 2011 at 7:49 pm
    Nov 4, 2011 at 5:19 pm
  • hi there, i stumbled over two odd things 1) - and - have the same source code. why is that? 2) why can't i use "(- "hi" #(println %))" directly? why do i have to put my function into a symbol first? ...
    Dennis HauptDennis Haupt
    Nov 2, 2011 at 9:37 am
    Nov 4, 2011 at 10:44 am
  • I want to propose that Clojure libraries should be fully "type-hinted" -- that is, they should be compiled with the "*warn-on-reflection*" option turned on and type hints place wherever possible. I ...
    RalphRalph
    Nov 21, 2011 at 2:51 pm
    Nov 22, 2011 at 6:52 pm
  • Hi, I would like to use logic programing to describe permissions. The definition is We have set of triples which looks like: Set of roles; set of operations; set of states Triples are defined in ...
    Michael JaakaMichael Jaaka
    Nov 5, 2011 at 4:52 pm
    Nov 8, 2011 at 8:40 pm
  • Any Baltimore guys around? I'm interested in starting a FP meetup where we can give talks and learn together and such. -- You received this message because you are subscribed to the Google Groups ...
    Gary TrakhmanGary Trakhman
    Nov 28, 2011 at 11:39 pm
    Dec 14, 2011 at 3:15 pm
  • I've been working with core.match some this week and finding it pretty nice. However, I have a common case (for me) that is not well handled right now via core.match: matching symbols. Say that I ...
    Alex MillerAlex Miller
    Nov 30, 2011 at 7:49 pm
    Dec 1, 2011 at 1:13 am
  • Hi..I've a little problem using recur for recursive calling...I'm trying do the clojure koans and the recursive reverse function [1 2 3 4] - '(4 3 2 1) first I try this code: (defn recursive-reverse ...
    CocoCoco
    Nov 23, 2011 at 4:49 am
    Nov 30, 2011 at 11:06 pm
  • Drift is a Rails like migration library for Clojure. I've recently released version 1.4.0 of Drift which includes: A new Java interface. You can now run Drift migrations, find out the database ...
    MattMatt
    Nov 24, 2011 at 10:39 pm
    Nov 30, 2011 at 5:32 pm
  • Is it possible to "require" or "use" a namespace as metadata inside the function definition? Something like (defn f {:use '[clojure.set]} [] ... ) If yes, can anybody point me where can I find an ...
    Igor TNIgor TN
    Nov 22, 2011 at 10:58 pm
    Nov 24, 2011 at 6:10 am
  • Hi everyone, inspired by the bher compiler for the probabilistic scheme dialect MIT Church, I have implemented a version of the probability monad which uses Metropolis Hastings to draw samples from ...
    Nils BertschingerNils Bertschinger
    Nov 17, 2011 at 5:57 pm
    Nov 21, 2011 at 11:20 am
  • Hello, I'm using log4j and have some a simple wrappers in clojure that work well so far. Actually, I do (def *logger* (Logger/getRootLogger)) Then I set loglevel, appenders, layout and so on. I have ...
    FinbeuFinbeu
    Nov 11, 2011 at 1:16 pm
    Nov 11, 2011 at 3:38 pm
  • As some of you may know, I've recently taken over maintenance of the clojure-refactoring package for doing simple refactorings in Emacs/ SLIME with clojure-mode. This package consists of a bunch of ...
    JoostJoost
    Nov 3, 2011 at 9:33 pm
    Nov 7, 2011 at 11:16 am
  • Having trouble setting up Clojure/Emacs on Windows again. Earlier Mark Rathwell helped me<https://groups.google.com/d/topic/leiningen/JpkUXTLqnrE/discussion by pointing out a recipe for Windows ...
    AndrewAndrew
    Nov 16, 2011 at 9:15 pm
    Dec 12, 2012 at 12:44 pm
  • Came across this code in clojure.tools.logging (defn cl-factory "Returns a Commons Logging-based implementation of the LoggerFactory protocol, or nil if not available." [] (try (Class/forName ...
    VitalyperVitalyper
    Nov 18, 2011 at 3:39 pm
    Nov 22, 2011 at 11:01 pm
  • I'm interfacing with a java library. I'm getting logging info messages. Where do I put the logging.properties file in a lein project? -- You received this message because you are subscribed to the ...
    Labwork07Labwork07
    Nov 14, 2011 at 5:14 pm
    Nov 15, 2011 at 4:45 pm
  • Something interesting I've noticed: I've recently realized I could simplify some application code of mine by using interleave. I immediately noticed that in the spot I was using it I would never be ...
    Alex BaranoskyAlex Baranosky
    Nov 3, 2011 at 1:28 am
    Nov 3, 2011 at 4:40 pm
  • I'm having trouble seeing how I should create a lazy sequence of all Mondays and Thursdays. Currenty I just generate two sequences, one of Mondays and one of Wednesdays, but this leaves me with a seq ...
    Alex BaranoskyAlex Baranosky
    Nov 2, 2011 at 5:16 am
    Nov 2, 2011 at 3:51 pm
  • I have Clojure code which makes HTTP requests to a server. Depending on the context, I want to swap out the underlying HTTP library code. For example, I use an instrumented library in a testing ...
    AndyKAndyK
    Nov 30, 2011 at 11:53 pm
    Dec 4, 2011 at 2:20 am
  • @lloyda2 posted on Twitter: (reduce 'and '(false true)) = true ...Huh? I must admit, it looked odd to me... but I realized (after some REPL experimentation) this seems to be equivalent to ...
    Sean CorfieldSean Corfield
    Nov 24, 2011 at 5:32 am
    Nov 28, 2011 at 1:17 am
  • Hi I'm wondering the best way to express: (position #\a "abba" :from-end t) Should I use interop? (.lastIndexOf "abba" (int \a)) Thanks! -- You received this message because you are subscribed to the ...
    Jongwon.choiJongwon.choi
    Nov 11, 2011 at 10:46 pm
    Nov 14, 2011 at 12:57 am
  • Is there a more elegant/idomatic way to achieve the following result: user= a1 ["a" "b" "c" "d"] user= (map-indexed (fn [n x] (vec (take (inc n) x))) (take (count a1) (repeat a1))) (["a"] ["a" "b"] ...
    Shoeb BhinderwalaShoeb Bhinderwala
    Nov 9, 2011 at 10:47 pm
    Nov 11, 2011 at 10:46 pm
  • This is under clojure 1.2.0, 1.2.1, 1.3.0, though the error messages differ. Consider a trivial project that `uses` midje: (ns midje-aot.core (:use midje.sweet)) If it's aot-compiled, everything ...
    Brian MarickBrian Marick
    Nov 8, 2011 at 11:52 pm
    Nov 9, 2011 at 11:47 pm
  • Hi, appengine-magic (https://github.com/gcv/appengine-magic) uses ring- handlers to turn into servlets that are accepted by GAE. Does anybody know how to use servlets directly with appengine-magic? ...
    Razvan RotaruRazvan Rotaru
    Nov 6, 2011 at 10:08 am
    Nov 7, 2011 at 1:50 pm
  • I am learning Clojure and I use the CLR version. But I can not find a book about Clojure CLR, just for Clojure and java. I want someone give me suggestions about the book or issues of Clojure CLR. ...
    * 巫云**Adam* 巫云**Adam
    Nov 28, 2011 at 1:15 am
    Dec 30, 2011 at 9:24 pm
  • Hello all, I try to get the cdt debugger running and fail. I've build the cdt with leiningen and have this jar file in my classpath. A simple (use 'cdt.break) work. But if I want to use ...
    SvenaliSvenali
    Nov 30, 2011 at 8:57 pm
    Dec 3, 2011 at 6:34 pm
  • Drift DB is a clojure database library focused on migration functions. With Drift DB you can create tables, drop tables, add columns to tables, remove columns from tables, query tables, and, though ...
    MattMatt
    Nov 24, 2011 at 10:58 pm
    Nov 30, 2011 at 3:52 pm
  • Can anybody point out good (idiomatic) examples of using protocols for extending functionality of existing classes? Thanks in advance. Sincerely, Ru -- You received this message because you are ...
    RuRu
    Nov 24, 2011 at 8:35 am
    Nov 29, 2011 at 7:28 pm
  • Hi, I've just installed Clojure 1.3 on a MBP, OSX 10.6.8. After unzipping the download, I'm left with a directory with a few .jar files and two subdirectories. (I'm also a Java newb too) How do I run ...
    Clojure NewBClojure NewB
    Nov 28, 2011 at 1:18 am
    Nov 28, 2011 at 8:11 pm
  • HI I am attempting to manipulate a goog.date.Date object and am a little confused on how to call a method on this object in ClojureScript If I have a date object, how do I , for example, to set the ...
    BaseBase
    Nov 17, 2011 at 8:26 pm
    Nov 17, 2011 at 8:53 pm
  • Hi, I would like to be able to add metadata to arbitrary java objects that have already been instantiated. I know that you can use proxy to add metadata to objects that you create but in my case the ...
    Ben MabeyBen Mabey
    Nov 16, 2011 at 4:28 pm
    Nov 17, 2011 at 5:22 pm
  • I'm working on moving to Clojure 1.3 Some code is using defvar which use to be in clojure.contrib.def http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go mentions that contrib.def ...
    BradBrad
    Nov 15, 2011 at 12:03 am
    Nov 15, 2011 at 4:55 am
  • Hi, To avoid peeking same element of a queue, I think PersistentQueue must be stored in ref not atom. Is this correct? ;;Ref: safe (dosync (let [item (peek @r)] (alter r pop) item)) ;Atom: unsafe ...
    Takahiro HozumiTakahiro Hozumi
    Nov 10, 2011 at 1:46 am
    Nov 10, 2011 at 9:27 am
  • Okay, I'm trying to understand records. I read this article: http://freegeek.in/blog/2010/05/clojure-protocols-datatypes-a-sneak-peek/ (Clojure Protocols & Datatypes - A sneak peek by Baishampayan ...
    StevelewisStevelewis
    Nov 6, 2011 at 3:05 am
    Nov 8, 2011 at 2:54 am
  • Hi, given a namespace sources with [simplified definitions] (defrecord Source [name url]) (def google (source "Google" "google.com")) (def bbc (source "BBC" "bbc.co.uk")) (def nbc ... etc. what would ...
    Colin TaylorColin Taylor
    Nov 5, 2011 at 10:04 am
    Nov 7, 2011 at 7:15 pm
  • I'm trying to load and execute an Oracle Java Stored Procedure... written in Clojure. Has anyone successfully managed to do this? Are you done throwing up? I would appreciate any direction I have a ...
    Ghadi ShaybanGhadi Shayban
    Nov 19, 2011 at 8:14 pm
    Aug 7, 2013 at 7:05 pm
  • clojure.tools.logging defines *logger-factory* and initializes it with first logger implementation on the class path (def ^{:doc "An instance satisfying the impl/LoggerFactory protocol. Used ...
    VitalyperVitalyper
    Nov 18, 2011 at 2:51 am
    Nov 14, 2012 at 1:59 am
  • Try as I might, I can't purge these anachronisms; so here are `car' to `cddddr' in all their glory: http://clojars.org/cadr This implementation uses a Kleene-closure around the alphabet {a, d} to ...
    Peter DanenbergPeter Danenberg
    Nov 30, 2011 at 8:58 pm
    Dec 1, 2011 at 10:03 pm
  • Please upload them !!! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from ...
    ManolisManolis
    Nov 30, 2011 at 5:21 am
    Nov 30, 2011 at 12:14 pm
Group Navigation
period‹ prev | Nov 2011 | next ›
Group Overview
groupclojure @
categoriesclojure
discussions199
posts1,063
users277
websiteclojure.org
irc#clojure

277 users for November 2011

David Nolen: 53 posts Sean Corfield: 52 posts Michael Jaaka: 34 posts Alan Malloy: 25 posts Dennis Haupt: 25 posts Chas Emerick: 22 posts Phil Hagelberg: 22 posts Gary Trakhman: 21 posts TimDaly: 18 posts Meikel Brandmeyer (kotarak): 17 posts AndyK: 16 posts Alex Baranosky: 15 posts Mark Rathwell: 15 posts Chris Perkins: 14 posts Stuart Sierra: 14 posts Baishampayan Ghose: 13 posts Tassilo Horn: 13 posts Bsmith.occs: 12 posts Myriam abramson: 12 posts Timothy Baldridge: 12 posts
show more