Re: I'm trying to make proper urls, but I seem to be failing at it.

2014-03-12 Thread David Toomey
Yes, that certainly did help. Can't believe I didn't see this and it still flew over my head when others pointed it out. Looks a bit hacky, but this is the result I came up with (for future person's reference): (GET "/:profile-page" [profile-page] (if (= (.indexOf profile-page " ") -

Re: Adatx - Test driven development... literally.

2014-03-12 Thread Alex Baranosky
There goes my job... On Wed, Mar 12, 2014 at 8:00 PM, Timothy Washington wrote: > This looks interesting. I was hammocking a solution that could use that. > But on Infoq, I recently > watchedWilliam > Byrd, describing just

Re: Adatx - Test driven development... literally.

2014-03-12 Thread Timothy Washington
This looks interesting. I was hammocking a solution that could use that. But on Infoq, I recently watchedWilliam Byrd, describing just this feature in MiniKanren. As such, I expect to see this feature will be in core.logic. Di

Re: Help a Startup use Clojure!

2014-03-12 Thread Timothy Baldridge
This case study from Roomkey.com is a awesome starting place for a conversation: http://www.colinsteele.org/post/23103789647/against-the-grain-aws-clojure-startup http://www.colinsteele.org/post/27929539434/60-000-growth-in-7-months-using-clojure-and-aws Timothy On Wed, Mar 12, 2014 at 6:47 PM,

Re: expectations 2.0 has been released

2014-03-12 Thread Jay Fields
On Wednesday, March 12, 2014 2:53:09 PM UTC-4, Sean Corfield wrote: > > Since `given` was a relatively simple macro, we added it to > worldsingles.util.test and switched all our test namespaces to refer given > from there instead, and then upgraded to Expectations 2.0.6. Seems to have > gone smo

Re: [ANN] Instaparse 1.3.0

2014-03-12 Thread Scott Thoman
Excellent! I've actually been using instaparse on a small "filter expression" compiler that looks headed for production now. It has worked *very* well and has been a pleasure to use! Thanks for a great tool. /stt On Wed, Mar 12, 2014 at 8:53 PM, Mark Engelberg wrote: > Instaparse is a lightwe

Re: Help a Startup use Clojure!

2014-03-12 Thread Mike Haney
Have you considered node.js? It's fantastic for building web services, very easy to deploy (Heroku), and should scale well enough that most startups won't outgrow it (and if you do, that's a very good problem to have). You can still build your app using Clojurescript, either for the entire thin

[ANN] Instaparse 1.3.0

2014-03-12 Thread Mark Engelberg
Instaparse is a lightweight tool for generating parsers from context-free grammars. *https://github.com/engelberg/instaparse * The 1.3.0 release is compatible with Clojure 1.6 (and backwards-compatible with 1.5.1). Feature-wise, this release is identical

Re: Help a Startup use Clojure!

2014-03-12 Thread t x
I personally recommend ClojureScript + Erlang. As for convincing your boss to use Erlang, ask him about WhatsApp. :-) On Wed, Mar 12, 2014 at 5:06 PM, Jarrod Swart wrote: > Alan, > > Thanks for your input! ClojureScript is something I have wanted to try more > but it seems even more cutting edg

Re: shenandoah

2014-03-12 Thread Jacob Goodson
I use mutation generously inside of functions. I do not consider that impure at all, pragmatic yes, impure no. Has anyone used Azul's jvm and gotten a big bump in performance? On Wednesday, March 12, 2014 7:28:44 PM UTC-4, raould wrote: > > > pure way or the mutate objects in place way? I can

Re: Help a Startup use Clojure!

2014-03-12 Thread Jarrod Swart
Alan, Thanks for your input! ClojureScript is something I have wanted to try more but it seems even more cutting edge than Clojure. It might be too much effort to try and tackle that now. I do agree though that Clojure+Ring is a great back-end setup for connecting to with JavaScript. Best,

Re: Help a Startup use Clojure!

2014-03-12 Thread Alan Moore
My 2 cents worth... 1. PHP is a dying language IMHO. The alternatives are just too compelling unless you have an existing code base in PHP. 2. Javascript is the lingua franca (or assembly lang) of the internet for the time being and probably the foreseeable future. 3. Many webapp

Re: shenandoah

2014-03-12 Thread Raoul Duke
> pure way or the mutate objects in place way? I can get great performance > with clojure, no doubt about it, by violating the shat out of functional > programming. I can not get great performance with the beautiful, pure, > composable, clojure that I desire! (personally i think this is a great

Re: shenandoah

2014-03-12 Thread Jacob Goodson
Let me state that, as long as it is a asteroids clone, it is fine. However, compared to Java, the performance was much worse(when just playing with it and drawing tons of asteroids in opengl). Also, I do not know what you mean when you say that you have tested it... the pure way or the mutat

Re: shenandoah

2014-03-12 Thread Raoul Duke
> bazillion pure functions. I was wondering, would a GC like this one(or > Azul's) make a significant impact so that I, or others, could make games in > a more pure fashion? I WANT MY EFFIN PURITY! i'd rather have linear types or something like that, than some gc solution. :-) i mean, if i'm dre

Re: shenandoah

2014-03-12 Thread James Reeves
I've done a fair bit of experimentation with writing games in Clojure, and I haven't noticed any major performance issues. If you're getting issues on a 2D asteroids clone, I suspect there might be something inefficient in your code. I find Criterium useful for benchmarking parts of my code in isol

shenandoah

2014-03-12 Thread Jacob Goodson
How many people have heard of this GC? http://www.jclarity.com/2014/02/19/shenandoah-a-new-low-pause-garbage-collection-algorithm-for-the-java-hotspot-jvm/ I want to know if this would benefit clojure. I wrote a small asteroids game in clojure and the performance was not good. I stuck to puri

Re: Help a Startup use Clojure!

2014-03-12 Thread Jarrod Swart
David, Awesome thanks for sharing! I hope it works out for you! -- 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 you

Re: jquery/$ in cljs

2014-03-12 Thread t x
@Timothy, James: Everything works now. Thanks! On Wed, Mar 12, 2014 at 10:38 AM, James Reeves wrote: > Take a look at jayq: https://github.com/ibdknox/jayq > > - James > > > On 12 March 2014 17:14, t x wrote: >> >> Hi, >> >> Consider >> https://github.com/extend/bullet/blob/master/examples/clo

Re: traversing amazonica (or other nested data) results

2014-03-12 Thread Michael Cohen
" I get a typical clojure-y set of data fairly deeply nested data structures that I have yet to master with respect to traversing using basic clojure operations" You get an arbitrarily nested Clojure, not Clojure-y, data structure precisely because those maps, lists, and sets suffice in 99% of

Re: expectations 2.0 has been released

2014-03-12 Thread Sean Corfield
Since `given` was a relatively simple macro, we added it to worldsingles.util.test and switched all our test namespaces to refer given from there instead, and then upgraded to Expectations 2.0.6. Seems to have gone smoothly. Love the new DSL features! Sean On Mar 11, 2014, at 8:28 PM, Sean Co

Re: Quil for ClojureScript

2014-03-12 Thread adrian . medina
I wrote a small wrapper over processing.js over the week a few weeks ago, here are some examples with code: http://aamedina.github.io/processing.cljs. It was a lot of fun. =) Good luck with the port! On Tuesday, March 11, 2014 8:26:18 AM UTC-4, Divyansh Prakash wrote: > > Hello! > > I am a Jav

[ANN] EuroClojure 2014 CfP open

2014-03-12 Thread Marco Abis
Dear all, a quick one to announce that the CfP for this year's EuroClojure is now open at http://cfp.euroclojure.com Looking forward to receiving way too many proposals :-) Marco -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to thi

Re: traversing amazonica (or other nested data) results

2014-03-12 Thread Sam Halicke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Dave Tenny wrote: > If I do something like a describe-instances call in amazonica, I get > a typical clojure-y set of data fairly deeply nested data structures > that I have yet to master with respect to traversing using basic > clojure operations

Re: jquery/$ in cljs

2014-03-12 Thread James Reeves
Take a look at jayq: https://github.com/ibdknox/jayq - James On 12 March 2014 17:14, t x wrote: > Hi, > > Consider > https://github.com/extend/bullet/blob/master/examples/clock/src/toppage_handler.erl#L50-L57 > > I want to know how to express "$.bullet" in cljs (when compiled with > optimi

Re: jquery/$ in cljs

2014-03-12 Thread Timothy Baldridge
I think this should work: (.bullet js/$ arg1 arg2) Although this might not work with advanced compilation. In that case you may need to provide extra info to the CLJS compiler to keep .bullet from getting renamed. Timothy On Wed, Mar 12, 2014 at 11:14 AM, t x wrote: > Hi, > > Consider > ht

jquery/$ in cljs

2014-03-12 Thread t x
Hi, Consider https://github.com/extend/bullet/blob/master/examples/clock/src/toppage_handler.erl#L50-L57 I want to know how to express "$.bullet" in cljs (when compiled with optimiztaions: advanced). I know how to use things like (js/console.log ... ) (js/MathJax ... ) However, w

Re: [ANN] Jig

2014-03-12 Thread Malcolm Sparks
Hi Joachim, What you're describing is a dynamic system map, whereas the current pattern as described by Stuart in his classic blog post http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloadeddescribes a static system map which is established at the beginning of a reset cycle and remain

[ANN] Clojure/West, San Francisco, Mar 24-26

2014-03-12 Thread Alex Miller
Clojure/West is coming up very soon! We have a great program lined up, and are pleased that we can now announce that *John Hughes*, co-inventor of Haskell and QuickCheck will be doing the keynote. Tickets for both the conference and the pre-conference training (Clojure, ClojureScript, and Datomic)

Re: Question about importing java classes to Clojure

2014-03-12 Thread Brandon Barret
Thanks everyone! I think I figured it out. Being new to Clojure, I wasn't really considering that I was passing an anonymous function and wasn't thinking about recursion. Coming fom an Object Oriented background, properly forming functions is a bit new to me. Thanks for all the pointers! I

traversing amazonica (or other nested data) results

2014-03-12 Thread Dave Tenny
If I do something like a describe-instances call in amazonica, I get a typical clojure-y set of data fairly deeply nested data structures that I have yet to master with respect to traversing using basic clojure operations. Given a result that basically ends up looking like pages of interleaved

Re: Quil for ClojureScript

2014-03-12 Thread Nikita Beloglazov
Hi Divyansh You're welcome to submit a proposal for Quil in Clojurescript project. But please bear in mind that there are several students who're applying for the project so it may be wise to submit several applications for different projects. Thank you, Nikita On Tuesday, March 11, 2014 12:2

Re: Google Summer of Code 2014 proposal

2014-03-12 Thread Rob Day
I don't have enough experience in this field to comment very sensibly (or offer to mentor), but I wanted to say that I think it would be really nice to have a broader selection of specialised persistent data structures available for Clojure. On 12 March 2014 09:56, Matteo Ceccarello wrote: > The

Re: Google Summer of Code 2014 proposal

2014-03-12 Thread Matteo Ceccarello
The student application opened, so I'm going to submit my proposal. Does anyone have suggestions or requests? Cheers, Matteo Il giorno lunedì 3 marzo 2014 15:36:43 UTC+1, Matteo Ceccarello ha scritto: > > Hello everybody, > > I’m Matteo Ceccarello, a PhD student in Computer Engineering from > un