Re: atom and lock

2012-07-25 Thread Stefan Ring
> In addition, most systems only support loading memory in cache lines. > IIRC, today most cache lines are 16KB. So when you read a single byte, > the 16KB around that memory location is loaded as well. The cache line size on x86 is 32 bytes on 32 bit systems, not 16KB. On 64 bit systems, it's 64

Re: seesaw's beautiful docstrings

2012-07-25 Thread Mark Derricutt
On 26/07/12 3:40 PM, Frank Siebenlist wrote: We have an smalltalk-like clojure namespace/var/type-browser for docstrings/clojuredocs/source at "https://github.com/franks42/clj-ns-browser"; that may be of use… which happens to be built on top of seesaw. Hey that looks awesome! I saw it mentione

Re: seesaw's beautiful docstrings

2012-07-25 Thread Frank Siebenlist
We have an smalltalk-like clojure namespace/var/type-browser for docstrings/clojuredocs/source at "https://github.com/franks42/clj-ns-browser"; that may be of use… which happens to be built on top of seesaw. -FrankS. On Jul 25, 2012, at 7:25 PM, Mark Derricutt wrote: > On 25/07/12 9:17 PM, L

Re: seesaw's beautiful docstrings

2012-07-25 Thread Mark Derricutt
On 25/07/12 9:17 PM, Laurent PETIT wrote: Third option : use an editor/IDE which allows you to "fold" docs (one by one / fold all / unfold all), and / or to navigate in your source code via "code outlines" I was just musing on wanting a Hopscotch style IDE for clojure: http://theoryinpractise.

Re: seesaw's beautiful docstrings

2012-07-25 Thread Dave Ray
For what it's worth, the docstrings are indeed hand-formatted, but that's pretty easy with vim or any decent editor. The size of the docstrings is a bit of a problem. At one point on Twitter Fogus suggested that Trammel could help off-load documentation elsewhere, but I never was motivated enough t

Re: The 2012 'State of Clojure' survey is open

2012-07-25 Thread Chas Emerick
Just a reminder: the survey closes tomorrow. So, if you have not yet done so, make sure you get your 2¢ in! Cheers, - Chas On Jul 19, 10:21 am, Chas Emerick wrote: > Prior years' "State of Clojure" surveys have been such a success and yielded > such valuable data about the Clojure community t

[ANN] geva-clj 1.2 - Grammatical evolution in clojure

2012-07-25 Thread cameron
Grammatical evolution is a form of genetic programming that allows you to search for a program fragment or form that has a high fitness by evolving and testing multiple models across generations. Grammatical evolution differs from traditional genetic programming in that individuals are created f

Re: seesaw's beautiful docstrings

2012-07-25 Thread Laurent PETIT
2012/7/25 Dimitrios Jim Piliouras > ooo thanks Tassilo...I knew that the docstring is stored as metadata but I > did not know I could mutate it after the binding is set..this is very cool > on its own! > > As far as IDEs go i will have a look around even though i was quite happy > with my minimal

Re: community interest in machine learning (?)

2012-07-25 Thread cameron
I've posted the code for the clojure enhanced GEVA library, there's a getting started guide available at http://cdorrat.github.com/geva-clj/ and the source is available at http://github.com/cdorrat/geva-clj It's currently based on GEVA 1.2 if there's enough interest I'll look at merging the ch

Reader errors with Datomic free

2012-07-25 Thread Timothy Baldridge
I'm using the new Clojars version of datomic-free: (defproject clj-lobapp "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME"; :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :plugins [[lein-localre

Re: seesaw's beautiful docstrings

2012-07-25 Thread Dimitrios Jim Piliouras
ooo thanks Tassilo...I knew that the docstring is stored as metadata but I did not know I could mutate it after the binding is set..this is very cool on its own! As far as IDEs go i will have a look around even though i was quite happy with my minimal setup...I also tend to use clooj when on the r

Re: seesaw's beautiful docstrings

2012-07-25 Thread Laurent PETIT
2012/7/25 Dimitrios Jim Piliouras > Hmmm I see...you're saying that this is all due to my minimalistic repl > enviroment (raw terminal embedded in gedit + leiningen2)...I know eclipse > does folding and stuff but what about when you want to hit to break > a line and then you want to align some o

Re: Pathfinding via core.logic

2012-07-25 Thread Cesare
You could hack the following example: https://groups.google.com/forum/#!msg/clojure/4zrTBUzIxWQ/OYfGom-VY3oJ Il giorno martedì 24 luglio 2012 20:21:53 UTC+2, tbc++ ha scritto: > > I have a problem I'm interested in using core.logic with: > > Let's say I have a set of rooms in a maze, they are

Re: seesaw's beautiful docstrings

2012-07-25 Thread Tassilo Horn
Laurent PETIT writes: >> -Is there a way write the docs in a separate place (different section >> of the document or different document altogether)? Sure. --8<---cut here---start->8--- (defn plus1 [x] (+ x 1)) (alter-meta! #'plus1 assoc :doc "Adds one to x.")

Re: [ANN] Datomic Free Edition

2012-07-25 Thread Pierre-Henry Perret
The datomic free is *correctly* pushed at [com.datomic/datomic "0.8.3335"] Thanks to datomic team. Le mardi 24 juillet 2012 20:16:17 UTC+2, stuart@gmail.com a écrit : > > 0.8.3335 is now on the site, and includes the correct pom.xml. > > http://www.datomic.com/get-datomic.html > > Cheers, >

Re: seesaw's beautiful docstrings

2012-07-25 Thread Meikel Brandmeyer (kotarak)
Hi, you should choose a fixed width font. Then you can line up sentences without problems using spaces. Inconvenient, but doable. Kind regards Meikel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googl

Re: seesaw's beautiful docstrings

2012-07-25 Thread Dimitrios Jim Piliouras
Hmmm I see...you're saying that this is all due to my minimalistic repl enviroment (raw terminal embedded in gedit + leiningen2)...I know eclipse does folding and stuff but what about when you want to hit to break a line and then you want to align some other sentence underneath? will it show on th

Re: seesaw's beautiful docstrings

2012-07-25 Thread Laurent PETIT
2012/7/25 Dimitrios Jim Piliouras > Hi all, > > I've just watched Dave Ray's mini demo of seesaw on infoQ and what amazed > me (apart from the actual library) was the gorgeous documentation that is > attached to all the functions. Dave has done an amazing job - even though > it is essentially a s

seesaw's beautiful docstrings

2012-07-25 Thread Dimitrios Jim Piliouras
Hi all, I've just watched Dave Ray's mini demo of seesaw on infoQ and what amazed me (apart from the actual library) was the gorgeous documentation that is attached to all the functions. Dave has done an amazing job - even though it is essentially a swing wrapper you can get a lot done without kno