Re: instrument code only in dev, with lein

2017-03-23 Thread Brian Craft
So, this seems to work pretty easily, though I'm relying on 'require' resolving references in the same order as the directories in :source-paths. For :source-paths ["src-dev", "src"], it will find src-dev/foo/instrument.clj,instead of src/foo/instrument.clj, when both exist. I can't find anyth

Re: Clojure resume tips?

2017-03-23 Thread James Gatannah
To get back on-target, I think you should highlight 1 or maybe 2 of your github repos and go flesh them out. I had high hopes for both click-time-fun and cljs-game, but wasn't sure what to try or where to start. Working demos are pretty magical, and, honestly, incredibly rare. https://github.c

Re: Clojure resume tips?

2017-03-23 Thread James Gatannah
On Thursday, March 23, 2017 at 2:00:28 PM UTC-5, puzzler wrote: > > On Thu, Mar 23, 2017 at 11:24 AM, Luke Burton > wrote: > > Insightful post about a lot of things related to hiring, but I have to > take exception with this very last point. Recently, a friend of mine > sought out a data s

Re: livecoding with Quil middleware

2017-03-23 Thread Jay Porcasi
thank you very much Nikita by playing with anonymous functions vs partial applications i got exactly the behaviour i was after! that's awesome :-) Jay On Friday, March 24, 2017 at 7:00:41 AM UTC+7, Nikita Beloglazov wrote: > > Yes, middleware runs exactly once so you can't redefine it. In the exa

Re: off-topic: stackof developer survey

2017-03-23 Thread Mars0i
On Thursday, March 23, 2017 at 7:49:40 PM UTC-5, Mars0i wrote: > > The highest-paid win suggests there's greater demand than supply, so > people who aren't comfortable with FP or lisp may be forced to code in > Clojure, or try to for the sake of a job without doing it right, and are > unhappy

Re: off-topic: stackof developer survey

2017-03-23 Thread Mars0i
The highest-paid win suggests there's greater demand than supply, so people who aren't comfortable with FP or lisp may be forced to code in Clojure, or try to for the sake of a job without doing it right, and are unhappy as a result. -- You received this message because you are subscribed to th

pager for lein repl?

2017-03-23 Thread Joe Python
Is there a equivalent of less/more like pager (found in Linux shells) for Leiningen repl? The lein repl is fast enough for me displaying large data structures making it great for exploratory programming. But it is desperately missing a pager. - Joe -- You received this message because you a

Can you extend a Java class, and add new fields and constructors to it?

2017-03-23 Thread Mars0i
gen-class lets you define multiple constructors: http://stackoverflow.com/questions/18780071/clojure-multiple-constructors-using-gen-class You can't define multiple fields that can be directed accessed from Java, but you can define accessors for data you store in other ways. gen-class gives you

Re: livecoding with Quil middleware

2017-03-23 Thread Nikita Beloglazov
Yes, middleware runs exactly once so you can't redefine it. In the example with fill-background you can redefine fill-backgfound: (def fill-background [draw-fn] (draw-fn)) Which essentially makes it identify. So that's would be my recommendation: put all logic to fill-background and let fill-b

Re: Clojure resume tips?

2017-03-23 Thread Luke Burton
> On Mar 23, 2017, at 11:59 AM, Mark Engelberg wrote: > > On Thu, Mar 23, 2017 at 11:24 AM, Luke Burton > wrote: > > * So … if I was in your position, knowing what I know now, if I couldn't find > companies that had very progressive hiring practices, I would make my

Re: Clojure resume tips?

2017-03-23 Thread Mark Engelberg
On Thu, Mar 23, 2017 at 11:24 AM, Luke Burton wrote: > > * So … if I was in your position, knowing what I know now, if I couldn't > find companies that had very progressive hiring practices, I would make my > resume stand out by leading in with an offer to spend a few hours writing a > small impl

Re: Clojure resume tips?

2017-03-23 Thread Luke Burton
> On Mar 23, 2017, at 10:10 AM, Jason Basanese wrote: > > Attached is a fairly bad resume that I am using. Any tips on how I might > change it to appeal to more places that are looking for functional developers? Couple of general tips … based on a few decades of looking at these things :) Sor

Re: Clojure resume tips?

2017-03-23 Thread Moe Aboulkheir
Jason, If it were my resumé, I would consider including only the technologies I had interest in working with professionally. Getting involved in collaborative open source development (i.e. contributing to established projects) is likely to increase your confidence, as well as that of a prospectiv

[ANN] Lacinia 0.13.0

2017-03-23 Thread Howard Lewis Ship
Lacinia is an open-source implementation of Facebook's GraphQL specification, in Clojure. GraphQL is an outstanding approach to getting diverse clients and servers exchanging data cleanly and efficiently. This is our formal release announcement: https://medium.com/walmartlabs/open-sourcing-lacini

Re: Clojure resume tips?

2017-03-23 Thread Gary Trakhman
I'd put examples of interesting (hard, nontrivial) projects you worked on during your time, not just keywords. The function of the resume is to motivate someone to look deeper instead of throwing it out. The function of the top of the resume is to hook someone to read the rest of it. What's spec

Core-async transducers with atoms

2017-03-23 Thread Elena Canovi
I have a question about transducers in core.async channels. As far as I understand, if I define a channel with a transducer, the latter cannot depend on any other external argument other than what is put on the former. So the transducer works in a purely functional fashion. Here is the quest

How do I spec a nullary function?

2017-03-23 Thread Alex Miller
(s/fdef :args (s/cat) ... -- 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 post. To unsubscribe from this

How do I spec a nullary function?

2017-03-23 Thread Didier
I'm trying to fdef a function of no arguments, how would I go about it? I only want a spec for the return value basically? -- 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 f