Re: [ANN] lein-html5-docs 2.0.0

2013-04-22 Thread Tassilo Horn
John Gabriele writes: Hi John, >> > I think the final output would look better if you assumed the >> > docstrings themselves were markdown-formatted and rendered them as >> > html. (That is, only have the items under "Arglists" in a >> > preformatted block --- everything else would be html.) >>

Re: [GSoC 2013] core.matrix development

2013-04-22 Thread Mikera
On Thursday, 18 April 2013 17:26:13 UTC+8, Damian Skrodzki wrote: > Hi, > > I'm Damian Skrodzki and I study at Gdańsk University of Technology. I > don't know Clojure yet - I have academic experiance with Lisp. I sow the > lecture about Clojure at 33rd Degree conference in Warsaw and I really >

Do you know which language the clojure is written by?

2013-04-22 Thread ljcppunix
Hi, Do you know which language the clojure is written by? -- -- 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 new members are moderated - please be patient with your f

Re: Do you know which language the clojure is written by?

2013-04-22 Thread dennis zhuang
Java. But there is some clojure version written in ruby,python,c# and javascript. 2013/4/22 > Hi, > Do you know which language the clojure is written by? > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send ema

Re: Do you know which language the clojure is written by?

2013-04-22 Thread Michael Klishin
2013/4/22 dennis zhuang > But there is some clojure version written in ruby,python,c# and javascript. ClojureScript compiler is not implemented in JavaScript, it emits JavaScript but implemented in Clojure. Hopefully will be self-hosted one day! -- MK http://github.com/michaelklishin http://t

Re: Clojure is in GSoC 2013!

2013-04-22 Thread Maik Schünemann
Hello, On Mon, Apr 8, 2013 at 9:33 PM, Daniel Solano Gómez wrote: > Hello, all, > > I am happy to report that Clojure has been accepted as a mentoring > organization for Google Summer of Code 2013. Now is the time for > sudents to start researching their projects and reaching out to members. > A

spelling mistake in docs?

2013-04-22 Thread Josh Kamau
Sometimes i get this error : "No matching ctor found for class..." Now i know "ctor" means constructor. -- -- 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 new member

Re: [ANN] Javelin, spreadsheet-like FRP for ClojureScript

2013-04-22 Thread Hank
Hi Alan, Only saw your answer now, somehow Google groups didn't notify me. Thanks for clarifying. -- hank -- -- 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 new mem

Re: ANN How To Make Your Open Source Project Awesome (or: Not Suck)

2013-04-22 Thread Phillip Lord
Phil Hagelberg writes: > Michael Klishin writes: > >> It wasn't immediately clear to me, but it makes sense, given how short >> the MIT license is. >> >> What licenses does it make sense to recommend? > > Given that Clojure libraries must be compatible with Clojure's license, > the GPL is rule

Re: Something like cond, but with test-fns

2013-04-22 Thread Ken Scambler
> > How different was what you came up with from this? > > (def else? (constantly true)) > > (defmacro condval [vname & body] > `(cond > ~@(interleave (map (fn [p] `(~p ~vname)) (take-nth 2 body)) >(take-nth 2 (rest body) > > Just out of curiosity. :) > I just naiv

[GSoC 2013]: General information + student application period opens today

2013-04-22 Thread Daniel Solano Gómez
Hello, all, In the next couple of hours, the application period for students will open, and I thought I would take a bit of time to let you know what's going on and how you can participate: For everyone * Please talk about Google Summer of Code program at your local user group me

Re: [ANN] Javelin, spreadsheet-like FRP for ClojureScript

2013-04-22 Thread Alan Dipert
Np! Alan On Mon, Apr 22, 2013 at 7:41 AM, Hank wrote: > Hi Alan, > > Only saw your answer now, somehow Google groups didn't notify me. Thanks > for clarifying. > > -- hank > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to th

Re: Test strategy

2013-04-22 Thread Jonathon McKitrick
I guess the challenge is that the parsing and generating of the structures from JSON descends to several layers of functions, and the database object is created and inserted/updated at the lowest level. I've tried a bulk insert after accumulating records into a higher level function, but somet

Re: Clojure is in GSoC 2013!

2013-04-22 Thread Daniel Solano Gómez
On Mon Apr 22 13:01 2013, Maik Schünemann wrote: > Hello, > > On Mon, Apr 8, 2013 at 9:33 PM, Daniel Solano Gómez > wrote: > > > Hello, all, > > > > I am happy to report that Clojure has been accepted as a mentoring > > organization for Google Summer of Code 2013. Now is the time for > > sudent

Re: [GSoC 2013] CinC

2013-04-22 Thread Daniel Solano Gómez
Hello, Aaron, I apologise for the delay in replying to your message. On Tue Apr 16 10:52 2013, Aaron Cohen wrote: > As a mentor, what should I be doing at this point? Please register as a mentor on Melange [1]. This allows you to comment on and vote on student applications. Continue talking wi

Request / Result Handler Trickery

2013-04-22 Thread Timothy Washington
Hi all, I'm working on a problem that needs an extra set of eyes. I'm getting an error while trying to write an algorithm that: 1. Over 6400 times, makes a request to an external Java library, for results 2. Asynchronously listens for those results and ... 3. Maintains a list of filte

Re: Multiple replacements in string using a map

2013-04-22 Thread Mond Ray
Something very odd going on here - one day it works the next day it fails :( $ lein repl nREPL server started on port 51502 REPL-y 0.1.10 Clojure 1.5.1 Exit: Control+D or (exit) or (quit) Commands: (user/help) Docs: (doc function-name-here) (find-doc "part-of-name-here") Source

Re: Multiple replacements in string using a map

2013-04-22 Thread Andy Fingerhut
You changed the definition of key-pattern. The original had "name" where your most recent version has "keyword". Change it back to "name" and at least I was able to get it to work. Andy On Mon, Apr 22, 2013 at 1:45 PM, Mond Ray wrote: > Something very odd going on here - one day it works the

Re: New CSS library - Garden

2013-04-22 Thread Joel Holdbrooks
As of today, Garden is officially out of alpha and in to beta! The library now sports media queries(via meta data) and parent selector references(ie. "&hover"). With these new feat

Re: New CSS library - Garden

2013-04-22 Thread Joel Holdbrooks
As of today, Garden is officially out of alpha and in to beta! The library now sports media queries (via meta data) and parent selector references (ie. "&hover"). With these new fea

Re: Multiple replacements in string using a map

2013-04-22 Thread Sean Corfield
On Mon, Apr 22, 2013 at 1:45 PM, Mond Ray wrote: > Something very odd going on here - one day it works the next day it fails :( This code is different to what you posted the other day... > #_=> (map #(java.util.regex.Pattern/quote (keyword %))) That won't work - Pattern/quote will not acc

Re: Request / Result Handler Trickery

2013-04-22 Thread Neale Swinnerton
On 22 Apr 2013 20:19, "Timothy Washington" wrote: > > Before getting into the nitty gritty, is there something obvious I can do to fix this code? Is alter a blocking call? You are seeing STM transaction restarts in action It looks like you are assuming that STM will serialise your transactions

Re: Request / Result Handler Trickery

2013-04-22 Thread Timothy Washington
Ah, that makes more sense. Light just went on. Let me fiddle with this a bit longer. Thanks very much. Tim Washington Interruptsoftware.ca No 6: "I'm not a number. I'M A FREE MAN!!!" No 2: "HA HA HA HA HAAA" -- The Prisoner On Mon, Apr 22, 2013 at 6:09 PM, Neale Swinnerton wrote: > > On

Re: Head retention example

2013-04-22 Thread tyaakow
Thank you for the exhaustive explanation, Michal. -- -- 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 new members are moderated - please be patient with your first po

Re: [ANN] ClojureC 0.1

2013-04-22 Thread John Gabriele
On Sunday, April 21, 2013 4:50:57 PM UTC-4, Mark Probst wrote: > > Dear Clojurians, > > I'm happy to announce ClojureC 0.1: > > https://github.com/schani/clojurec > > Wow! Exciting news! I'm curious: what (if any) differences do you see happening between Clojure(Script) and ClojureC? How close

binding funkiness

2013-04-22 Thread Daniel Higginbotham
I've encountered a situation where the binding function doesn't work as I expect it: user> (def ^:dynamic *funkybind* false) ;; expected user> (binding [*funkybind* true] *funkybind*) true ;;expected (binding [*funkybind* true] ((fn [] *funkybind*))) true ;;... huh? (binding [*funkybind* t

Re: binding funkiness

2013-04-22 Thread Travis Vachon
Hi Daniel map is creating a lazy seq, which isn't evaluated until the REPL's forces it to be printed, which is outside the scope of the binding. This: (binding [*funkybind* true] (doall (map (fn [_] *funkybind*) [1 2]))) forces evaluation inside the binding, and does what you want. This is s

Re: binding funkiness

2013-04-22 Thread Carlo Zancanaro
If you want to capture the binding and have laziness together you can also use `bound-fn`. (binding [*funkybind* true] (map (fn [_] *funkybind*) [0 1])) ;=> (false false) (binding [*funkybind* true] (map (bound-fn [_] *funkybind*) [0 1])) ;=> (true true) On Tue, Apr 23, 2013 at 11:52 AM, Travis

Re: binding funkiness

2013-04-22 Thread Timothy Baldridge
To simplify the problem: ((binding [*funkybind* true] (fn [] *funkybind*))) This is the same problem as your lazy-seq example. The issue is that *funky-bind* is not deref'ed when the anonymous fn is created, but when it is executed. In this example, by the time the fn is executed, *funkybind* h

Re: [ANN] ClojureC 0.1

2013-04-22 Thread Mark Probst
On Monday, April 22, 2013 6:18:56 PM UTC-7, John Gabriele wrote: > > I'm curious: what (if any) differences do you see happening between > Clojure(Script) and ClojureC? How close do you expect them to be? > I'd like them to be as close as reasonably possible. Some differences that exist today a

Re: Multiple replacements in string using a map

2013-04-22 Thread Mond Ray
Man - you guys are good and *fast*. I was pootling around with a version that would directly replace "/a/:key/b" {:key "value"} with "/a/value/b" and a failed version sneaked into my code. Incidentally that is my only slight complaint about the code as it stands: I have to use something like

Re: Multiple replacements in string using a map

2013-04-22 Thread rod naph
I scratched my itch with... (defn map-replace [m text] (reduce (fn [acc [k v]] (s/replace acc (str k) (str v))) text m)) Hope it helps. On Tuesday, April 23, 2013 5:55:51 AM UTC+1, Mond Ray wrote: > > Man - you guys are good and *fast*. > > I was pootling around with a version that w

Re: Test strategy

2013-04-22 Thread Brian Marick
On Apr 22, 2013, at 7:55 PM, Jonathon McKitrick wrote: > I guess the challenge is that the parsing and generating of the structures > from JSON descends to several layers of functions, and the database object is > created and inserted/updated at the lowest level. I've tried a bulk insert > a