[JOB] Full time clojurescript full stack developer (Austin, NYC or remote)

2021-07-13 Thread Marc Limotte
perations teams - Responsibility for managing your own tasks and sprints Full job post: https://www.linkedin.com/jobs/view/2632816567/ Apply through that link or email me. Marc Limotte CTO & Co-founder, Skipp -- You received this message because you are subscribed to the Google Groups "Clojure"

Re: [JOB] backend clojure dev in Austin

2021-03-03 Thread Marc Limotte
Thanks, Prikshet. I'll follow up off-list. Marc On Mon, Mar 1, 2021 at 12:39 PM Prikshet Sharma wrote: > Hi Marc > I'm interested in the job and have attached my resume. > Thanks > Prit Sharma > > On Mon, Mar 1, 2021 at 9:11 PM Marc Limotte wrote: > &

[JOB] backend clojure dev in Austin

2021-03-01 Thread Marc Limotte
using Clojure (of course), Clojurescript, Datomic, AWS, and more. If you're interested and to see more information, see: https://angel.co/company/skipp-3/jobs/1213491-clojure-developer Marc Limotte CTO and Co-founder, Skipp Technologies -- You received this message because you are subscribed to the

[JOB] ClojureScript Developer in Austin

2020-12-03 Thread Marc Limotte
to elevated designs for the everyday homeowner. If you're interested, apply here or email me with questions: https://angel.co/company/skipp-3/jobs/1073715-clojurescript-frontend-developer Marc Limotte CTO & Co-founder, Skipp.co -- You received this message because you are subscribed

Re: Cognitect joins Nubank!

2020-07-23 Thread Marc Limotte
Congratulations. That's awesome that Clojure will be getting additional corporate support. "600 Clojure developers"! Mind blowing-- especially when you consider how productive Clojure developers. Very exciting! Marc On Thu, Jul 23, 2020 at 7:04 AM Rich Hickey wrote: > We are excited to ann

Re: Why does this core.logic program never terminate if you ask for too many results?

2019-10-31 Thread Marc Limotte
At first glance, I'd guess that the empty list is causing your problem. You can always come up with one more path (which may not create a unique solution, but a path to explore) that has one more empty list appended. On Tue, Oct 29, 2019 at 6:06 PM Laurens Van Houtven <_...@lvh.io> wrote: > Hi,

Re: Can't use my macro in fuction definition

2019-10-20 Thread Marc Limotte
Hey Ru, I'd also add that `new` is a special form, not a function. It is evaluated at compile-time, which is why the macro doesn't work. You can also try macro-expansion to see what's going on: (defn itest [x] (macroexpand-1 '(instance x))) => #'user/itest (itest java.lang.String) => (new x)

Re: [ANN] Datomic Ions: Your App on Datomic Cloud

2018-06-07 Thread Marc Limotte
Funny. When I read the Subject line I thought this was just another release of Datomic Cloud -- I almost didn't read it. But, it's really a Serverless offering, which makes a lot of sense and is a pretty monumental move. I look forward to tryin

Re: Feedback on idiomatic API design

2016-03-12 Thread Marc Limotte
at 1:57 AM, Johan Haleby wrote: > > > On Wed, Mar 9, 2016 at 7:32 PM, Marc Limotte wrote: > >> With the macro approach, they don't need to escape it. >> > > Do you know of any resources of where I can read up on this? I have the > macro working with an impli

Re: Feedback on idiomatic API design

2016-03-09 Thread Marc Limotte
With the macro approach, they don't need to escape it. On Wed, Mar 9, 2016 at 12:52 PM, Johan Haleby wrote: > Thanks a lot for your support Marc, really appreciated. > > On Wed, Mar 9, 2016 at 5:33 PM, Marc Limotte wrote: > >> Yes, I was assuming the HTTP calls happ

Re: Feedback on idiomatic API design

2016-03-09 Thread Marc Limotte
Yes, I was assuming the HTTP calls happen inside the with-fake-routes! block. I missed the part about the random port. I se 3 options for that: *Assign a port, rather than random* (with-fake-routes! ...) But then, of course, you have to worry about port already in use. *An atom* (def t

Re: Feedback on idiomatic API design

2016-03-08 Thread Marc Limotte
I don't think you need a macro here. In any case, I'd avoid using a macro as late as possible. See how far you get with just functions, and then maybe at the end, add one macro if you absolutely need it to add just a touch of syntactic sugar. routes should clearly be some sort of data-structure,

Re: ANN: clojure.java.shell2 drop in replacement for clojure.java.shell

2015-05-18 Thread Marc Limotte
e an established startup with >> offices in San Francisco and Seattle; and are currently hiring full-time >> Clojure developers, data scientists, product managers and more >> <http://climate.com/careers>. >> >> See the README for more details and many examples in th

Re: How to persist a value while doing do-seq

2015-03-04 Thread Marc Limotte
Probably a reduce is more appropriate. (reduce (fn [x a] (your-compare-expression x a) ; the result of this expr is the result of the fn and will be 'x' for the next iteration ) 0 b) BTW, a let to bind an atom outside your do-seq, while _not recommended_, should work. We would have

Re: Is this the right way to prevent repetitive code

2015-02-28 Thread Marc Limotte
You might wonder how to get 'i' if you remove the dotimes. Here is one way: (doall (map-indexed (fn [i [description f]] ...) search-fields)) doall is to force side-effects, assuming you need to do that. And like Chris said above, you might consider moving the anonymous fn into a

Re: defmethod inside of a (stuart sierra) component?

2015-02-25 Thread Marc Limotte
Hi Colin, Nesting defmethod in the start fn of the Component does have a bad smell. This actually seems counter to the intention of Component, which is to make these dependencies explicit and external. I might do it like this: 1. Create a "pure" implementation using Component as it was intended.

Re: [ANN] Amazonica: Clojure client for the entire AWS api

2014-11-20 Thread Marc Limotte
Good discussion, Greg. I'll add my two cents, point by point: > * The documentation is sparse and the code is not self-documenting. I've occasionally had some trouble in this area, but I actually do find that it's not too hard to map from the Java AWS api directly to clojure. For example, this c

Re: Is clojars down?

2014-07-29 Thread Marc Limotte
lein is working for me, and is downloading jars from clojars. Assuming it's a network issue on your side, and if you don't need any new jars right now (b/c it's just looking for updates), you can try the -o (for offline) option. On Tue, Jul 29, 2014 at 8:42 AM, Yves Parès wrote: > Hi, it seem

Re: create vectors for each key/value pair

2014-07-22 Thread Marc Limotte
I think you just want: user=> (sort my-map) ([1405960895 20] [1405960927 20] [1405960959 21] [1405960991 20] [1405961023 20] [1405961055 18] [1405961087 23] [1405961119 17] [1405961151 23] [1405961183 19] [1405961215 20] [1405961887 20] [1405961919 20]) sort will call seq on it's argument. The s

Re: Given a CSV file, how do I take the values in each row and convert it into a map?

2014-06-12 Thread Marc Limotte
See https://github.com/clojure-cookbook/clojure-cookbook/blob/master/04_local-io/4-20_read-write-csv.asciidoc Which will give you a seq of the values for each row. To get Maps, try this: (def headers ["colA" "colB" ...]) (map (partial zipmap headers) result-of-read-csv) If your headers are the

Re: Community Interest in a Clojure Application Config Library, using Zookeeper?

2014-05-21 Thread Marc Limotte
Not yet, but I hope to be able to do that in the future. On Wed, May 21, 2014 at 4:17 PM, Chris Price wrote: > On Wednesday, May 21, 2014 11:14:28 AM UTC-7, mlimotte wrote: >> >> I wrote a ZooKeeper based config system at Climate Corporation. I also >> found that there is a need to trigger som

Re: Community Interest in a Clojure Application Config Library, using Zookeeper?

2014-05-21 Thread Marc Limotte
I wrote a ZooKeeper based config system at Climate Corporation. I also found that there is a need to trigger some action when a config value changes, and went with a simple callback solution. I do like the idea of tying this to Stuart's Component lifecycle model; although I think you would also n

Re: (eval `(def ~(symbol varname) lineseq)

2014-04-27 Thread Marc Limotte
I don't know the details of your particular use, but for a general solution to the resource management problem, maybe Stuart Sierra's componentsystem would work for you. marc On Sun, Apr 27, 2014 at 10:30 AM, Peter B. West wrote: > > On 27 Apr 2014, at

Re: comparison with 3 arguments. Do I understand it right ?

2014-04-23 Thread Marc Limotte
Roelof, Your abs definition doesn't have an (if), so those statements are just executed in order, and the last one 'x' is the return value for the whole thing. Probably what you want is: (defn abs [x] (if (pos? x) x (- x))) user=> (abs -2) 2 user=> (abs 2) 2 user=> (abs 0) 0 marc On Wed, Apr

Re: (eval `(def ~(symbol varname) lineseq)

2014-04-07 Thread Marc Limotte
To use alternative 1, you need ~lineseq in your eval: (eval `(def ~(symbol varname) ~lineseq)) If you don't unquote lineseq like this, then you are def'ing "cards" to the *symbol* lineseq. When you later access "cards", it is evaluated to returns the symbol lineseq. But since lineseq was a lo

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-26 Thread Marc Limotte
I do like that Gorilla is distributed as a lein plugin, so I can easily start it up in the context of my project alongside my classpath and my code. Would a plugin make sense as an option for Session? marc On Tue, Mar 25, 2014 at 6:07 PM, kovas boguta wrote: > On Tue, Mar 25, 2014 at 3:05 PM,

Re: [ANN] Reaction

2013-11-22 Thread Marc Limotte
Very clever. Thanks for the contribution. On Fri, Nov 22, 2013 at 1:20 AM, Kelker Ryan wrote: > Reaction - https://github.com/runexec/reaction > *A small reactive programming library for Clojure* > > *Usage* > > user> (use '[reaction.core]) > nil > user> (def-reactive! my-int 123) > #'user/my

ANN: clojure.java.shell2 drop in replacement for clojure.java.shell

2013-06-25 Thread Marc Limotte
details and many examples in the unit tests. I know there are other shell libraries for Clojure. My main motivation is that I wanted something closer to the clojure.java.shell api. Marc Limotte -- -- You received this message because you are subscribed to the Google Groups "Clojure&q

Re: query edn

2013-05-30 Thread Marc Limotte
Take a look at the 11 minute diatomic query video: http://www.datomic.com/videos.html#query That may be what you're looking for, I believe it can work with local Clojure data sets (e.g. eval'ed EDN) without any connection to a Datomic database. Marc On Thu, May 30, 2013 at 7:56 AM, Mimmo Cosenza

Re: creating maps out of sql

2013-05-24 Thread Marc Limotte
Hi Ray, First, I'd remove the print(ln)s from the functions. No need for side-effects there. Just have the functions return the result value and then when you call a2p-records-by-date you can wrap it in a println. Then you want to create a Map as the return value of the inner loop in a2p-record

Re: CLI sub-commands in an uberjar?

2013-05-12 Thread Marc Limotte
How about something like this: (defn -main [fstr & args] (let [fsymbol (binding [*read-eval* false] (read-string fstr))] (when-not (#{'println 'str 'list} fsymbol) (throw (Exception. "Invalid function"))) (apply (eval fsymbol) args))) Marc On Sun, May 12, 201

Re: ANN: clj-spark - A Clojure wrapper for the Spark API

2013-01-24 Thread Marc Limotte
7) > at clojure.core$eval.invoke(core.clj:2797) > at clojure.main$eval_opt.invoke(main.clj:297) > at clojure.main$initialize.invoke(main.clj:316) > at clojure.main$null_opt.invoke(main.clj:349) > at clojure.main$main.doInvoke(main.clj:427) > at clojure.lang.RestFn.invoke(RestFn.java:421) > at c

Re: ANN: clj-spark - A Clojure wrapper for the Spark API

2013-01-23 Thread Marc Limotte
complete, it is useable and I do think it is a head start for Clojure developers who are interested in playing around or doing some proof of concept with Spark. Marc On Tue, Jan 22, 2013 at 6:59 AM, Michael Klishin < michael.s.klis...@gmail.com> wrote: > 2013/1/22 Marc Limotte > >&

Re: ANN: clj-spark - A Clojure wrapper for the Spark API

2013-01-23 Thread Marc Limotte
dd)) > > (def result1 (collect mrdd1)) > > (def offset1 4) > > (def mrdd2 (map #(+ offset %) rdd)) > > (def result2 (collect mrdd2)) > > (def mrdd3 (map (let [offset2 5] (+ offset %)) rdd)) > > (def result3 (collect mrdd3)) > > > That will result in result1, re

ANN: clj-spark - A Clojure wrapper for the Spark API

2013-01-22 Thread Marc Limotte
on Spark. Marc Limotte -- 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

Re: [ANN] sublime-lispindent, clojure indenting for sublime text 2

2012-11-12 Thread Marc Limotte
Nice contribution, Johnathan. On a Mac, enter and Cmd+I work as advertised. Marc On Mon, Nov 12, 2012 at 11:25 AM, Jonathan Fischer Friberg < odysso...@gmail.com> wrote: > Dear clojure mailing list, > > As the indenting for clojure (and lisp in general) was very lacking > in sublime, I decided

Re: ANN subpar (paredit for codemirror)

2012-10-13 Thread Marc Limotte
Hi Andrew. Nice project. I'm super excited about being able to use LightTable for actual development (wondering when my kickstarter/lighttable t-shirt will arrive), and this will be a nice addition to that platform. I wanted to let you know that The Climate Corporation is hiring. Climate is bas

Re: [ANN] The Kiln, an Evaulation Strategy for Insanely Complex Functions

2012-05-10 Thread Marc Limotte
Hi Jeff, What do you think about a Map interface for this? I recently implemented something similar in a project of mine, which I called an 'evaluating-map'. It's not a Web project, but the pattern is a general one. In my case, a DSL for specifying a job to run. I want the DSL writer to have a

Re: question about a macro

2012-04-20 Thread Marc Limotte
Thomas, Try this: (defmacro my-macro2 [func & args] `(~func ~@(flatten (eval (vec args) Marc On Wed, Apr 18, 2012 at 4:57 PM, thomas kalbe wrote: > Hi, > > I'd like to write a macro which transforms > > (my-macro SomeClass. a b [x y] c [e f]) > > into > > (SomeClass. a b x y c e f) > > (t

Re: ANN: Hubris 0.1.0 released

2012-01-17 Thread Marc Limotte
Nice contribution, Sanel. The hbase ruby shell was in need of a alternative, and Clojure's DSL capabilities will be of great use. On Tue, Jan 17, 2012 at 10:44 AM, Sanel Zukan wrote: > Hi all, > > I'm pleased to announce initial release of Hubris, HBase alternative > shell[1]. > > The main aim

Re: [ANN] Clojure 1.3 Released

2011-09-24 Thread Marc Limotte
Thanks, Mark. This IS easier to read. On Sat, Sep 24, 2011 at 9:47 AM, Mark Nutter wrote: > Totally awesome, thanks to everyone. > > I don't like the way github presents the changes.txt file, so I forked a > copy and did a teeny bit of markup tweaking so it will display in nice > touchy-feely H

Re: dynamically create cmdspec for clojure.contrib.command-line

2011-06-27 Thread Marc Limotte
Thanks for your tips, Ken and Meikel. Both of them were helpful, and helped me resolve my problem. First I tried: user=> (defmacro my-with-cl [spec] `(with-command-line args "desc" ~spec (prn foo))) This almost works: user=> (macroexpand-1 '(my-with-cl [[foo "something about foo" nil] remainin

dynamically create cmdspec for clojure.contrib.command-line

2011-06-26 Thread Marc Limotte
Hi. I'm trying to understand why the following macro doesn't work. This is a trivial example, but ultimately I want to create a macro that will let me dynamically create the cmdspec for clojure.contrib.command-line/with-command-line. I haven't written many macros, so my general understanding may