Re: Can you make Amotoen faster?

2012-07-19 Thread David Nolen
On Wed, Jul 18, 2012 at 10:12 PM, Richard Lyman wrote: > All, > > There's not much code, and (sadly) not much documentation, but what's > there needs some performance love. > > https://github.com/richard-lyman/amotoen > > Notes: > - jvisualvm doesn't like me this week so help there might be enoug

The 2012 'State of Clojure' survey is open

2012-07-19 Thread Chas Emerick
Prior years' "State of Clojure" surveys have been such a success and yielded such valuable data about the Clojure community that I had no choice but to do it all again! The 2012 State of Clojure survey opened this morning, and will remain open until Thursday, July 26th: http://cemerick.com/201

Re: Idea around SCMs and Clojure

2012-07-19 Thread Mark
That's what I was thinking. Is Envy still around? The Google didn't give me much after a quick search. On Wednesday, July 18, 2012 1:19:01 AM UTC-7, Mark Derricutt wrote: > > On 17/07/12 10:27 PM, N8Dawgrr wrote: > > > In a nutshell its about why use files for source in Clojure, can we do

Re: Much longer build time for Clojure on HDD vs. SSD (4 min vs 30s)

2012-07-19 Thread Stefan Ring
> I believe this is related to an oddity of the clojure compiler: it > syncs every time it writes a class file to disk. This appears to be > necessary for reasons that escape me. (One might naively assume that a > simple flush() would be enough; but that was not so when I stumbled > across this mys

[CFP] October Amsterdam Clojure -- Saturday October 27

2012-07-19 Thread skuro
Dear Clojurians, as it already happened the past two years, the Dutch Clojure community will organize the October Amsterdam Clojure 2012, to be held on Saturday, October 27th. We're now opening

Re: Clojurians in Pune

2012-07-19 Thread pastafari
Hi, I'm based in Pune and I'm a Ruby/Rails programmer by day. I'm really interested in learning more about Clojure and functional programming. Would love to attend a meetup in Pune. ~Mohit On Tuesday, July 17, 2012 3:45:39 PM UTC+5:30, Murtaza Husain wrote: > > Hi, > > Anyone interested in or

Re: Expanding the Community Through Online Courses

2012-07-19 Thread Robert Pitts
If anyone else is interested SICP in Clojure there's a port in progress (http://sicpinclojure.com/) though I'm not sure if the project is currently alive... if not I'm sure the author could be persuaded to resurrect it, especially if people were willing to help ;) On Wednesday, July 18, 2012 3:

Re: Clojure Sticker

2012-07-19 Thread Alex Kurilin
+1. A temporary workaround would be getting a .svg that you could turn into stickers yourself, if that's ok with Rich. We did something similar with the vim logo on Reddit. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: Clojurians in Pune

2012-07-19 Thread Siddharth Karandikar
I am a java developer and clojure newbie. I would certainly like to attend any such meetup. - Siddharth On Tue, Jul 17, 2012 at 4:29 PM, Murtaza Husain wrote: > > I am a lone developer working on hobby projects in clojure and I know a > friend who will be interested. Any other clojurians out the

Re: atom and lock

2012-07-19 Thread Martin Dow
I found this presentation pretty enlightening in understanding why non blocking concurrent algorithms can be more efficient than locking ones: http://www.infoq.com/presentations/LMAX-Disruptor-100K-TPS-at-Less-than-1ms-Latency I'd watch it from the start to get the background, but section 6 from

Re: atom and lock

2012-07-19 Thread Timothy Baldridge
> The cost of > retrying a CAS operation a few times is relatively trivial. Not to mention that most of the time locks, thread sleeping, etc. all involve a context switch into the kernel. Where a CAS is done in userspace. Timothy -- You received this message because you are subscribed to the Go

Re: Clojure Sticker

2012-07-19 Thread charlie
Yeah any sort of vector image should work for us On Wed, Jul 18, 2012 at 7:59 PM, Alex Kurilin wrote: > +1. A temporary workaround would be getting a .svg that you could turn > into stickers yourself, if that's ok with Rich. We did something similar > with the vim logo on Reddit. > > -- > You

Re: Latest Bagwell paper for a new implementation of Clojure vectors ?

2012-07-19 Thread Robert Levy
Just curious, what is the status of this? Are there plans to implement this change in Clojure? Also curious if there's an existing lib that can be used now (I didn't come across one for Clojure but there is a Scala lib from the authors of the paper)... Rob On Fri, Nov 18, 2011 at 2:35 PM, logan

slurp on over slow HTTP crashes clojure?

2012-07-19 Thread the80srobot
Hello, I apologize if this isn't the right place to post this. I've seen slurp exhibit some very strange behavior when querying a particular URL at certain times of day - it seems that a call to slurp as such: (slurp "http://support.clean-mx.de/clean-mx/viruses.php?limit=0,150";) will crash

s-expression levels and higher order functions

2012-07-19 Thread Seth Chandler
I'm new both to Clojure and to this group, so please be gentle. I come to Clojure mostly from a Mathematica background, which has a certain Lispyness to it. One of the things one can do in Mathematica is to map a function to an s-expression but not at its top level, but rather at some user spe

Re: Please I urgently need help with my Clojure written App.

2012-07-19 Thread Oo Nwoye
Hi! Thanks for your response. Craig Brozevsky reached out yesterday and sorted out my issue. I am grateful to you all. On Tuesday, 17 July 2012 06:30:31 UTC+1, Murtaza Husain wrote: > > Hi, > > Can you post something so that we can take a look at it. Maybe upload the > code to github ? Or prov

Redefining vars

2012-07-19 Thread Alice
I'm reading Clojure Programming from O'Reilly. (defn a [b] (+ 5 b)) ;= #'user/a (def b (partial a 5)) ;= #'user/b (b) ;= 10 (defn a [b] (+ 10 b)) ;= #'user/a (b) ;= 10 Redefining a has no effect. But, (defn foo [] 1) ;= #'user/foo (defn bar [] (foo)) ;= #'user/bar (bar) ;= 1 (defn foo [] 2) ;= #

Re: Idea around SCMs and Clojure

2012-07-19 Thread Steve Tickle
It would be more interesting to see a version control system based on storing an abstract syntax tree and then using a pretty printer when the files are checked out. In one fell swoop you remove the code-styling wars as everyone can have their own coding style and maintain consistency with everyone

Re: Idea around SCMs and Clojure

2012-07-19 Thread Steve Tickle
It would be more interesting to see a version control system based on storing an abstract syntax tree and then using a pretty printer when the files are checked out. In one fell swoop you remove the code-styling wars as everyone can have their own coding style and maintain consistency with every

Re: Please I urgently need help with my Clojure written App.

2012-07-19 Thread Oo Nwoye
*Thanks to Craig Brozefsky I have been taken care of. You guys are so so awesome! Craig represents the awesomeness of you all.* Thanks! On Monday, 16 July 2012 17:39:35 UTC+1, Oo Nwoye wrote: > > Hi Guys/Girls, > > I need your help. I am a non-programmer (I barely write HTML) with a music > musi

Re: Clojurians in Pune

2012-07-19 Thread pastafari
Hi BG, Murtaza, I'm based in Pune and am interested in learning about Clojure and functional programming. So +1 from me. ~Mohit On Tuesday, July 17, 2012 4:29:25 PM UTC+5:30, Murtaza Husain wrote: > > > I am a lone developer working on hobby projects in clojure and I know a > friend who will b

Re: Light Table on Windows XP

2012-07-19 Thread kinleyd
v0.0.7 (an updated to the first release) was released July 9, 2012. It's a very early release of the LT Playground. Chris Granger mentioned a target of sometime next year for a stable release. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: community interest in machine learning (?)

2012-07-19 Thread Zhemin Lin
Hi Joshua, I've taken Andrew Ng's courses, too. Wonder where have they shared the source code in Clojure? I've done all the exercises in Octave. It would be great to study how to do it in Clojure. Thanks! 2012年7月16日月曜日 22時24分36秒 UTC+8 Joshua Bowles: > > Incanter does look great; look forwar

Re: Light Table Playground got a lot more useful.

2012-07-19 Thread kinleyd
It's looking good. Really look forward to version 1.0. :) On Tuesday, July 10, 2012 7:27:26 AM UTC+6, Chris Granger wrote: > > Hey folks, > > In case you missed it via other channels, the Light Table Playground > can now hook into your own projects! > > http://www.chris-granger.com/2012/07/09/l

Re: community interest in machine learning (?)

2012-07-19 Thread Seth Chandler
I'm extremely interested. I'm new to Clojure, coming mostly from a Mathematica background, but I just finished a major project linking Mathematica to Weka and am interested in doing something similar with Clojure. Weka, by the way, is 99% terrific, and so before people go completely reinvent

Re: seeking namespace-aware xml lib

2012-07-19 Thread Ryan Senior
Solid namespace support is a much needed feature for data.xml. There's a ticket for it here: http://dev.clojure.org/jira/browse/DXML-4 though unfortunately the patch attached to it came from someone who hadn't signed a CA, so I was not able to accept it. I am planning on tackling namespace suppor

Re: talking to machines: Teaching beginners to program with an interactive ClojureScript REPL

2012-07-19 Thread Joshua Ballanco
A couple of quick suggestions (hopefully they can be some help): * It's too easy to click next on each page. I liked the first page better where I had to fill in a blank to get a result * Using Math to introduce grouping of expressions might be confusing later when the student learns that Lisp

ANN: Mongoika, a new Clojure MongoDB library

2012-07-19 Thread Tokusei NOBORIO
Hi everyone, I want to introduce Mongoika. Mongoika is a MongoDB library for Clojure. We have used this library for a few projects, and have found it easy to use and efficient. For this release we have fixed a few bugs from our prototype, and it is now production ready. Mongoika simplifies bui

Re: Clojure Sticker

2012-07-19 Thread George McKinney
+1 On Saturday, June 9, 2012 6:03:46 PM UTC-7, aboy021 wrote: > > Is there anywhere that I can get a Clojure sticker? -- 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 n

Re: slurp on over slow HTTP crashes clojure?

2012-07-19 Thread Colin Jones
Is this using REPLy / a lein2-previewX repl, by chance? I fixed a memory leak in REPLy yesterday that happened in long-running command scenarios, and could have caused this behavior (see https://github.com/technomancy/leiningen/issues/691 for details). - Colin On Wednesday, July 18, 2012 10

Re: slurp on over slow HTTP crashes clojure?

2012-07-19 Thread Devin Walters
I've had this issue when the network I was on was way overloaded. It seems like it might be nice to have it at least fail gracefully. IIRC I switched to using the http lib. It seems like at the very least a graceful failure from slurp would be an improvement. Cheers, '(Devin Walters) On Jul 18

Re: Redefining vars

2012-07-19 Thread Mark Rathwell
partial returns a closure, closing over a at the time b is defined. On Wed, Jul 18, 2012 at 7:18 AM, Alice wrote: > I'm reading Clojure Programming from O'Reilly. > > (defn a [b] (+ 5 b)) > ;= #'user/a > (def b (partial a 5)) > ;= #'user/b > (b) > ;= 10 > (defn a [b] (+ 10 b)) > ;= #'user/a > (b)

Re: Idea around SCMs and Clojure

2012-07-19 Thread Raoul Duke
On Tue, Jul 17, 2012 at 7:04 AM, Steve Tickle wrote: > It would be more interesting to see a version control system based on > storing an abstract syntax tree and then using a pretty printer when the > files are checked out. yes! i've been whining about that for all programming languages over bee

Re: seeking namespace-aware xml lib

2012-07-19 Thread Ben Smith-Mannschott
I am interested and I have a CA with Rich, but I'm currently exploring using XOM from Clojure. My first impression is that the API is very clean (as a Java API) and I appreciate its emphasis on correctness. I could see data.xml benefiting from some of the ideas in XOM, if only indirectly. In any ev

Re: s-expression levels and higher order functions

2012-07-19 Thread kovas boguta
Hey Seth, Welcome to the party. I haven't seen something like this either. What clojure's map does with additional arguments its pretty useful though. (map f a b c) is equivalent to f@@@Transpose[{a,b,c}] Still, it would be nice to have mathematica-style list manipulation functions, that suppo

Re: [ANN] Yet another {{mustache}} for Clojure

2012-07-19 Thread David Santiago
Just wanted to stop by and update this thread with the latest information. I just released Stencil 0.3, at http://github.com/davidsantiago/stencil and it contains many performance improvements. I have pushed the benchmarks I use to test it, including an adaptation of yours, to http://github.com/dav

Re: Can you make Amotoen faster?

2012-07-19 Thread Richard Lyman
On Thu, Jul 19, 2012 at 7:09 AM, David Nolen wrote: > On Wed, Jul 18, 2012 at 10:12 PM, Richard Lyman > wrote: >> All, >> >> There's not much code, and (sadly) not much documentation, but what's >> there needs some performance love. >> >> https://github.com/richard-lyman/amotoen >> >> Notes: >>

Re: [ANN] Yet another {{mustache}} for Clojure

2012-07-19 Thread Shen, Feng
Great! Congratulation. You improved it a lot. This should do good to stencil users, the code runs much faster now. I did not implement the "Set Delimiter" and "lambdas" and "Dotted Names", etc. You implemented the whole SPEC, this should be point out. For a little background why I implemented M

Re: Idea around SCMs and Clojure

2012-07-19 Thread Rostislav Svoboda
> It would be more interesting to see a version control system based on > storing an abstract syntax tree hmm, interesting idea... such a SCM would need to have the code compiled at every commit/checkout, right? How would that work for large projects? And what about let's say "rebase -i master top

Re: Idea around SCMs and Clojure

2012-07-19 Thread Raoul Duke
a cheaper and horrible dirty hack might be to just store it in a canonical indentation format, and then each person can register their own output filter so that when they check out they get their own look and feel. of course diffs would suck. the hack upon the hack for that would be to convert a

Re: s-expression levels and higher order functions

2012-07-19 Thread Alan Malloy
No, but it's pretty easy to write: (defn map-depth [f coll depth] (if (zero? depth) (map f coll) (for [x coll] (map-depth f x (dec depth) On Tuesday, July 17, 2012 7:17:19 PM UTC-7, Seth Chandler wrote: > > I'm new both to Clojure and to this group, so please be gentle. I com

Re: Idea around SCMs and Clojure

2012-07-19 Thread Nahuel Greco
Check this project announced today in the Datomic ml: http://github.com/jonase/scape "Scape is quite ambitious. The idea is is to use the ClojureScript analyzer to emit Datomic transaction data containing useful information about some codebase and putting the data in a datomic database so the pro

Re: Expanding the Community Through Online Courses

2012-07-19 Thread grinnbearit
I'm working through SICP myself here http://grinnbearit.github.com/sicp/ feedback welcome :) Also finished translating The Little Schemer here https://github.com/grinnbearit/the-little-clojurer On Thursday, July 19, 2012 7:18:24 AM UTC+5:30, Robert Pitts wrote: > > If anyone else is interested

Re: Clojurians in Pune

2012-07-19 Thread mmwaikar
A +10 from me. Would definitely attend any such event. Maybe, we can try fixing bugs in any of the open source Clojure libraries. Thanks, Manoj. On Tuesday, July 17, 2012 3:45:39 PM UTC+5:30, Murtaza Husain wrote: > > Hi, > > Anyone interested in organizing a clojure dojo in Pune ? > > Thanks, >

Re: {ANN} ring.velocity: render apache velocity templates for ring in clojure.

2012-07-19 Thread dennis zhuang
I've released ring.velocity 0.1.0 https://github.com/killme2008/ring.velocity Thanks. 2012/7/18 Sun Ning > enlive最大的好处是页面html页面不会掺入任何模板语言**,直接就可以在浏览器里预览页面设计 > 但是用的时候思维确实和传统的模板引擎不太一样 > > > On Wed 18 Jul 2012 12:50:39 PM CST, Shen, Feng wrote: > >> 同感enlive较复杂。前段时间,转向了Mustache。 >> >> 沈锋 >> 美味书签 ht