New Functional Programming Job Opportunities

2013-07-14 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: Clojure and Clojurians at Factual Needed at Factual http://functionaljobs.com/jobs/8482-clojure-and-clojurians-at-factual-needed-at-factual Cheers, Sean Murphy FunctionalJobs.com -- -- You received this

Re: [ANN] Vertigo: fast, idiomatic C-style structs

2013-07-14 Thread kovas boguta
This is pretty neat. Anyone try using this in conjunction with mmap? It would be nice to have some way to deal with strings & other variable-length data. I'm also curious if its possible to make the analog of this for fressian, basically to avoid unpacking objects that are not necessary for the

error (init-db)

2013-07-14 Thread jayvandal
error , but don't know how to solve error it goes as follows CompilerException java.lang.RuntimeException: Unable to resolve symbol: init-db in this context, compiling:(NO_SOURCE_PATH:1) This is the db.clg file === (ns jimsweb.models.db (:require [clojure.ja

Re: [ANN] CHP Web Framework Documentation Update

2013-07-14 Thread Kelker Ryan
 Here's an updated documentation list  CHTML, Routing, and Sessions CHTML & RoutesSession handling, Cookies, and Compojure Ring Ring and port configurationAuto-loading middleware Code Generation, Modules, and JSON API Generating views from a tableView bindingsView bindings ExampleEnable admin accou

Re: [ANN] CHP Web Framework Documentation Update

2013-07-14 Thread Kelker Ryan
The Luminus framework, in my opinion, is mostly just a collection of libraries. That doesn't mean Luminus isn't a great framework, but I wanted to create something that felt more like a single solution, and not just a collection of libraries. The Noir framework is now called lib-noir for a reason a

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Sean Corfield
https://github.com/rkneufeld/lein-try/issues/3 Let me know if I can help with testing or provide any additional information. Sean On Sun, Jul 14, 2013 at 7:42 AM, Ryan Neufeld wrote: > Can you pop that in an issue on the project. In the mean time I'll see if I > reproduce that problem. > > On J

Re: direction of an arrow in core.async

2013-07-14 Thread bernardH
On Monday, July 15, 2013 1:39:00 AM UTC+2, Brandon Bloom wrote: > > > When I read code like (- 1 2), I tranform it into (1 - 2) in my head > […] > In the absence of a mental infix transform, ( from a file in your shell. > Thx for the mnemonic ! It didn't make sense for me (either way) but th

Re: direction of an arrow in core.async

2013-07-14 Thread Brandon Bloom
> When I read code like (- 1 2), I tranform it into (1 - 2) in my head I used to do this when I was first learning a lisp, but now I read "+" as "sum" instead of "plus" and "-" as "subtract" instead of "minus". Similarly, if you see (< x y), you can say "x less than y", but what about (<= x y z

Re: [ANN] CHP Web Framework Documentation Update

2013-07-14 Thread Bastien
Hi Kelker, thanks for your work on CHP. I've not tested it yet, because I'm right now into learning Luminus. Could you explicit the differences between the two frameworks? Thanks in advance, -- Bastien -- -- You received this message because you are subscribed to the Google Groups "Clojur

Re: --> macro proposal

2013-07-14 Thread Jeremy Heiler
On Sat, Jul 13, 2013 at 10:49 PM, Daniel Dinnyes wrote: > (->>> "test-string-with-lots-of-dashes" > x (s/split x #"-") > y (interleave y (range)) > z (s/join #"_" z) > z (s/join " * " ["I am serious" z "Not Kidding!!" z])) Why not use as-> or a let in this situatio

Re: --> macro proposal

2013-07-14 Thread Jeremy Heiler
On Sat, Jul 13, 2013 at 9:08 PM, Daniel Dinnyes wrote: > Just made a quick search on `main arguments` on both Google and Wikipedia. > Do you mean the arguments in `public static void main (String[] args)`? If > not please provide some definition what do you mean by main arguments. Else > the point

[ANN] - 17th tutorial - Enlive by REPLing - of the modern-cljs series

2013-07-14 Thread Mimmo Cosenza
Hi all, I just published the 17th tutorial of the modern-cljs series. https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-17.md It shows how to integrate input validators in a form. To be respectful of the progressive enhancement strategy, in this tutorial I started implementing t

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Softaddicts
Nice ... try :) Luc > I figured there was a joke somewhere in there, but I just couldn't tease a > good one out ;) > On Jul 14, 2013 9:54 AM, "Softaddicts" wrote: > > > After reading this thread, I think we need another plug in to try the try > > plugin > > which in turn may fail which would t

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Ryan Neufeld
I figured there was a joke somewhere in there, but I just couldn't tease a good one out ;) On Jul 14, 2013 9:54 AM, "Softaddicts" wrote: > After reading this thread, I think we need another plug in to try the try > plugin > which in turn may fail which would trigger the need for another try plugi

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Softaddicts
After reading this thread, I think we need another plug in to try the try plugin which in turn may fail which would trigger the need for another try plugin which Isn't this recursive a bit ? : Luc > Can you pop that in an issue on the project. In the mean time I'll see if I > reproduc

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Ryan Neufeld
Can you pop that in an issue on the project. In the mean time I'll see if I reproduce that problem. On Jul 13, 2013 11:30 PM, "Sean Corfield" wrote: > It doesn't work when I spell it correctly either (and I had done > several tests - but of course the results of misspelling it look the > same as

Re: direction of an arrow in core.async

2013-07-14 Thread James Reeves
On 14 July 2013 15:21, Alice wrote: > Wouldn't ! for a take more natural than the current one? > When I read code like (- 1 2), I tranform it into (1 - 2) in my head, > likewise when I see (>! c "hi"), I read it as (c >! "hi"), which doesn't > look right. > I find the current syntax more natural

direction of an arrow in core.async

2013-07-14 Thread Alice
Wouldn't ! for a take more natural than the current one? When I read code like (- 1 2), I tranform it into (1 - 2) in my head, likewise when I see (>! c "hi"), I read it as (c >! "hi"), which doesn't look right. -- -- You received this message because you are subscribed to the Google Groups "C

Re: [ANN] CHP Web Framework Documentation Update

2013-07-14 Thread Kelker Ryan
Thanks. It's very very Alpha at the moment and the framework will definitely be trimmed and polished before Beta1. Right now the api is for quick read-only JSON results of the database defined by models in /resources/api/. The packages and modules are to facilitate some generic website structures t

Re: lazy-seq with meta

2013-07-14 Thread Tassilo Horn
Karsten Schmidt writes: > Sinc the prefix map is built iteratively as part of the parsing I was > hoping to attach it as meta data to the returned lazy-seq, since I > can't see any other way of returning this map apart from attaching to > every single triple in the seq (which seems like overkill)

Re: [ANN] CHP Web Framework Documentation Update

2013-07-14 Thread Paulo Suzart
I definitely liked it. Until now clojure has nothing compared to Grails, Revel (golang) or playframework. CHP can be a good starting point. I don't advocate for things like such frameworks, but sometimes you just want something like them for a quick/prototyping project. Although extensively docu

Performance Patterns

2013-07-14 Thread Marc Dzaebel
I'm often in need of performance comparisons/recommendations about different ways to code the same usecases. E.g. (time(let [x 2 y [0 1 2 3 4]] (dotimes [_ 1000] (remove *#{x}*y ;~950 ms (time(let [x 2 y [0 1 2 3 4]] (dotimes [_ 1000] (remove *#(= % x)*y ;~150 ms (time(let