Search Discussions
-
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 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 ...
Liebke
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 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 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 ...
Daly
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 ...
Andrew
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 ...
Iamcreasy
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 ...
Daly
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 ...
Pron
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 ...
Mark
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 ...
bernardH
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 ...
Thenwithexpandedwingshesteershisflight
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 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 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 ...
Ralph
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 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 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 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 ...
Coco
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 ...
Matt
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 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 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 ...
Finbeu
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 ...
Joost
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 ...
Andrew
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 ...
Vitalyper
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 ...
Labwork07
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 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 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 ...
AndyK
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 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.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 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 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 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
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 ...
Svenali
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 ...
Matt
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 ...
Ru
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 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 ...
Base
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 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 ...
Brad
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 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 ...
Stevelewis
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 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 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 ...
Vitalyper
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 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 ...
Manolis
Nov 30, 2011 at 5:21 am
Nov 30, 2011 at 12:14 pm
Group Overview
group | clojure |
categories | clojure |
discussions | 199 |
posts | 1,063 |
users | 277 |
website | clojure.org |
irc | #clojure |
277 users for November 2011
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)