[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: >

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
r constructors that take exactly one String argument. To do this for real, you would need to build the [String] array dynamically by introspecting the args list. Marc On Sat, Oct 19, 2019 at 3:02 PM wrote: > Macros also allow you to create a dsl to make your code easier to use or > understa

Re: Building a formatter like gofmt for Clojure

2018-12-19 Thread Marc O'Morain
Hi Daniel, I think that this is a great idea. I'm a big fan of gofmt, because it has no options - it prevents any discussion of indentation and instead allows code-reviews to be focused on the code itself. Marc On Tue, 18 Dec 2018 at 20:42, Daniel Compton wrote: > Hi folks > > I

Re: Announcing The REPL podcast

2018-11-28 Thread Marc O'Morain
Hi Daniel, Well done on the podcast. I listen every week, it's great! Marc On Wed, 28 Nov 2018 at 20:07, Daniel Compton wrote: > Hi folks > > I've started a podcast "The REPL" about Clojure and ClojureScript to > accompany the weekly newsletter. I&#

Re: [ANN] Clojure 1.10.0-RC1 (please test!)

2018-10-11 Thread Marc O'Morain
Yeah, nice work on getting to a RC Alex &co. On Thu, 11 Oct 2018 at 16:32, Alex Miller wrote: > > Thanks, good to hear. > > On Thursday, October 11, 2018 at 10:29:22 AM UTC-5, Rick Moynihan wrote: >> >> Hi Alex, >> >> I've tried updating 4 of our projects to 1.10.0-RC1 and running their test >>

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

2018-06-07 Thread Marc Limotte
look forward to trying it out. marc On Wed, Jun 6, 2018 at 3:48 PM, Alex Miller wrote: > Datomic Ions let you develop applications for the cloud by deploying your > code to a running Datomic cluster. You can *focus on your application > logic*, writing ordinary Clojure functions

Re: clojure.spec: behaviour of ? macro

2017-01-28 Thread Marc Wilhelm Küster
Hi Leon, thanks a lot for your explanation that a "regex-op outside of a regex-op always specs a collection". Then the behaviour is indeed clear Best regards Marc Am Sonntag, 29. Januar 2017 00:32:14 UTC+1 schrieb Leon Grapenthin: > > Hi Marc, > > note that the retu

clojure.spec: behaviour of ? macro

2017-01-28 Thread Marc Wilhelm Küster
when composing larger records with optional elements. However, I might be misreading the documentation and would be grateful for any clarification Best regards, Marc -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, sen

Re: [ANN] Nightlight, an embedded editor for Clojure

2016-10-19 Thread marc
Although, I am using boot and not lein, I added this dependency to my project: [org.flatland/useful "0.11.5"]. After this, nightlight works as it should. On Sunday, October 9, 2016 at 2:33:31 PM UTC-4, Zach Oakes wrote: > > I'll look into it. It looks like it's probably a dependency conflict.

Re: Feedback on idiomatic API design

2016-03-12 Thread Marc Limotte
with-open macro is doing. Your implementation can be simpler because you only have one explicit binding. Essentially you'll create a let as a backquoted form and then splice in the explicit symbol from the user: `(let [~sym ...server-instance-or-uri...] ... ) marc On Sat, Mar 12, 2016

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
route-map (http/get uri "/x")) or, with a pre-defined server (def fake-server ...) (with-fake-routes! route-map (http/get (:uri fake-server) "/x")) marc On Wed, Mar 9, 2016 at 1:00 AM, Johan Haleby wrote: > > > On Wed, Mar 9, 2016 at 6:20 AM, Joha

Re: Feedback on idiomatic API design

2016-03-08 Thread Marc Limotte
rg, the route-- in your code test with (fn?). This gives you a single api, no macros, optional auto-server start/stop or explicit server management. marc On Tue, Mar 8, 2016 at 3:10 AM, Johan Haleby wrote: > Hi, > > I've just committed an embryo of an open source project > <ht

Re: Scripting with Clojure / "slow" boot time

2016-02-10 Thread Marc O'Morain
On 10 February 2016 at 16:36, Alex Miller wrote: > Parallel loading is something I've looked at a little bit. Unfortunately > theory is easier in theory than in practice. :) While in many cases, it > probably works fine, it's possible for there to be problematic ambiguity > with which namespace is

Re: Scripting with Clojure / "slow" boot time

2016-02-10 Thread Marc O'Morain
profiling you would like me to run on the code-base, please let me know. Marc On 10 February 2016 at 08:22, Mikera wrote: > Good initiative, I've filled in a response to the survey. > > One thing that strikes me is that the main issue with loading time is the > time requir

Re: Get value from JSON

2016-01-21 Thread Marc O'Morain
The `get-in` function will help you: user=> (def result {:results [{:series [{:name "solr.numPedidos5", :columns ["time" "last"], :values [["1970-01-01T00:00:00Z" 0]]}]}]}) #'user/result user=> (get-in result [:results 0 :series 0 :values 0 1]) 0 On 21 January 2016 at 15:29, Alex Latorre wrot

Re: [ANN] New clojure.org!

2016-01-14 Thread Marc O'Morain
Very nice! Good job all. On 14 January 2016 at 15:45, Alex Miller wrote: > The new http://clojure.org is alive! > > Most of the content on the site is the same content as before (but in a > new shinier package). However, the site is now sourced from the public repo > at https://github.com/clojur

Can direct linking allow compile-time artiy checks?

2015-12-03 Thread Marc O'Morain
compiler since it would turn potential run-time errors into compile-time errors. Is something like this possible now? Thanks, Marc -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup

Re: Largest Clojure codebases?

2015-11-15 Thread Marc O'Morain
We have a large app at CircleCI - as of September: "The repo for our main app contains 93,983 lines of Clojure code. The src  directory of our main app contains 369 namespaces." http://blog.circleci.com/why-were-no-longer-using-core-typed/ On Sun, Nov 15, 2015 at 7:22 PM, null wrote: >

Re: [ANN] Clojure 1.8.0-beta1

2015-10-14 Thread Marc O'Morain
info, not to throw. > > So I'm going to call that a good regression. :) > > On Wednesday, October 14, 2015 at 3:35:09 PM UTC-5, Marc O'Morain wrote: >> >> FYI - Trying to upgrade CircleCI I get a syntax error in clj-ssh (passing >> too many argument to throw): &

Re: [ANN] Clojure 1.8.0-beta1

2015-10-14 Thread Marc O'Morain
I don't have a good way to measure runtime like that I'm afraid. On 14 October 2015 at 22:39, Ghadi Shayban wrote: > Marc, > Any changes up or down in run-time performance (post-startup)? > > On Wednesday, October 14, 2015 at 5:11:20 PM UTC-4, Marc O'Morain wrote: &g

Re: [ANN] Clojure 1.8.0-beta1

2015-10-14 Thread Marc O'Morain
.622s user 1m32.535s sys 0m4.182s real 1m33.238s user 1m36.139s sys 0m4.381s Clojure 1.8 beta 1: real 1m31.001s user 1m41.139s sys 0m4.432s real 1m34.107s user 1m42.723s sys 0m4.742s Marc On 14 October 2015 at 20:56, Mike Rodriguez wrote: > Just a heads up, I tried upliftign to Clojure 1.8

Re: [ANN] Clojure 1.8.0-beta1

2015-10-14 Thread Marc O'Morain
FYI - Trying to upgrade CircleCI I get a syntax error in clj-ssh (passing too many argument to throw): https://github.com/hugoduncan/clj-ssh/issues/39 I've logged the issue with them. On 13 October 2015 at 15:01, Alex Miller wrote: > Clojure 1.8.0-beta1 is now available. > > Try it via > >

Re: How does one print the stacktrace from slingshot?

2015-10-09 Thread Marc O'Morain
If you pass (:throwable &throw-context) as an arg before the string it will print the stack trace: (timbre/log :trace (:throwable &throw-context)  "the true stack trace: ") On Fri, Oct 9, 2015 at 11:00 AM, Lawrence Krubner wrote: > I'm trying to use Slingshot. I would like to print the stac

Re: [ClojureScript] new thi.ng website and additions

2015-10-08 Thread Marc Fawzi
hidden deep: https://github.com/thi-ng/tweeny :) On Thu, Oct 8, 2015 at 12:08 PM, Marc Fawzi wrote: > as always, super cool and inspiring. > > It raises the standard for others way too high! :) > > Nice and thank you for sharing!!! > > On Thu, Oct 8, 2015 at 11:14 AM, K

Re: [ClojureScript] new thi.ng website and additions

2015-10-08 Thread Marc Fawzi
as always, super cool and inspiring. It raises the standard for others way too high! :) Nice and thank you for sharing!!! On Thu, Oct 8, 2015 at 11:14 AM, Karsten Schmidt wrote: > Just a quick heads up that I've been re-working the website for my > collection of 20+ libraries, now with a bit m

Re: palingdrome problem (4 clojure)

2015-10-08 Thread Marc O'Morain
> So you convert the coll first to a sequence and compared it to the reverse. > Does the reversed coll not to be converted to a sequence then? `reverse` will call `seq` on the coll that is passed in, so you don't need to. I used `doc` and `source` to find this out: user=> (doc reverse) -

Re: palingdrome problem (4 clojure)

2015-10-08 Thread Marc O'Morain
This should do it: (defn palindrome? [coll] (= (seq coll) (reverse coll))) user=> (palindrome? "tattarrattat") true user=> (palindrome? [1 5 10 10 5 1]) true user=> (palindrome? "marc") false user=> (palindrome? [1 2 3]) false On 8 October 2015 at 12:48, r/

Re: The middleware pattern

2015-10-02 Thread Marc O'Morain
Could you use Russian Dolls as an analogy? To build a Russian doll (or to build middleware) you start out with the smallest doll, and put it inside the second smallest, which in turn goes inside the third smallest. When opening the doll (calling the function) you start with the largest doll, and

Re: rand-nth on empty collections

2015-09-30 Thread Marc O'Morain
tead. > So that might be a valid ticket. I'm not sure what, if any, negative > consequences would arise out of existing uses of nth that rely on this > behavior though. Given the number of things built on nth, it may be > impossible to change this even if it made sense to. >

Re: rand-nth on empty collections

2015-09-30 Thread Marc O'Morain
I also think it makes perfect sense for rand-nth to throw an error on an empty collection.  That's because the first step is it needs to generate a random number between 0 and the length of the collection (0), which is impossible.  So it should throw an error.  Note that it is the *random genera

rand-nth on empty collections

2015-09-30 Thread Marc O'Morain
empty collection? Thanks, Marc -- 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 unsubs

Re: Accept patch for Compiler.java formatting and clean-up?

2015-09-14 Thread Marc O'Morain
No worries, thanks. On 14 September 2015 at 20:36, Alex Miller wrote: > No, thanks. > > On Monday, September 14, 2015 at 10:51:37 AM UTC-5, Marc O'Morain wrote: >> >> Thanks for the reply, Alex. >> >> Would there be any interest in a patch to remove the un

Re: Accept patch for Compiler.java formatting and clean-up?

2015-09-14 Thread Marc O'Morain
Thanks for the reply, Alex. Would there be any interest in a patch to remove the unused variables, and other redundant code, such as the `if (true)` constructs? Or even just to remove the commented out code? Marc On 13 September 2015 at 20:02, Alex Miller wrote: > Rich may change

Accept patch for Compiler.java formatting and clean-up?

2015-09-13 Thread Marc O'Morain
ould be happy to fix up those patches myself.  Thanks, Marc -- 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 pat

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Marc Mailhot
As a moderate level clojure programmer trying to dive into the deeper features this seems interesting. On Monday, 24 August 2015 02:46:06 UTC-4, Akhil Wali wrote: > > If anyone is interested in being a reviewer for a new book "*Mastering > Clojure*" by Packt Publishing, please let me know. > Rev

Re: How can find something inside heavily nested data structure ?

2015-08-19 Thread Marc O'Morain
Hi Hussein, A combination of filter and tree-seq might do what you need. Marc On 19 August 2015 at 15:18, Hussein B. wrote: > Hi, > > I have transformed JSON response into the equivalent data structure using > Cheshire library. > > The result is a huge nested data structur

Re: [ClojureScript] ClojureScript Self-hosting Demo

2015-08-02 Thread Marc Fawzi
Some basic and potentially naive questions: I realize you need a bunch of things loaded in the browser to convert CLJS code to JS and eval it. I'm wondering about the below: 1. Does this means that i can run CLJS in the browser without the Google Closure library or is the compiler dependent on

Re: range no longer returns a LazySeq; how to check whether realized?

2015-07-31 Thread Marc O'Morain
This caught us out at Circle when preparing the code-base for Clojure 1.7 – which reminds me of http://dev.clojure.org/jira/browse/CLJ-1752 It would be very nice if `reliased?` returned true for values that are not instances of IPending On 31 July 2015 at 03:51, Mars0i wrote: > OK, thanks. >

Re: How to make a static variable dynamic at runtime?

2015-07-22 Thread Marc O'Morain
to set the var to be dynamic. It explains the behaviour that you are seeing though. Marc On 22 July 2015 at 13:13, Yuri Govorushchenko wrote: > > Thank you for a reply, I totally agree with you on dependency injection. > Though I'm exercising in writing a mocking framework and thou

Re: [ClojureScript] [ANN] thi,ng/geom 0.0.856 (new dataviz module)

2015-06-14 Thread Marc Fawzi
o But in ay case what is really missing from the D3 [hacked together] reactive approach is a canvas differ so we don't have to trade necessary optimization for raw performance of canvas. On Sun, Jun 14, 2015 at 6:59 AM, Marc Fawzi wrote: > I totally trust your judgement. It could be flawed

Re: [ClojureScript] [ANN] thi,ng/geom 0.0.856 (new dataviz module)

2015-06-14 Thread Marc Fawzi
:49 AM, Karsten Schmidt wrote: > > Hi Marc, > > thanks - but re: transitions - actually, not really. This module is > intended to only do the actual mapping/visualization step in a longer > pipeline. That is, you're responsible to provide a visualization spec > with all el

Re: [ClojureScript] [ANN] thi,ng/geom 0.0.856 (new dataviz module)

2015-06-13 Thread Marc Fawzi
Does the viz module aspire to catch up with d3 on the transitions front? Awesome stuff and will definitely try out the API and make some requests! Sent from my iPhone > On Jun 13, 2015, at 5:01 PM, Karsten Schmidt wrote: > > Hi all, > > a new release of thi.ng/geom has just been pushed - now

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

2015-05-18 Thread Marc Limotte
rnatives, e.g. https://github.com/Raynes/conch marc On Mon, May 18, 2015 at 2:55 PM, Max Gonzih wrote: > Hello, > > I just found about this nice improvement over default java.shell provided > by clojure stdlib. > What is current status of this project? Is it still useful or maybe

Re: [ClojureScript] [ANN] [Book] ClojureScript Unraveled

2015-05-04 Thread Marc Fawzi
such an awesome effort! thank you Andrey & Alejandro! +starred +watched +favorited +retweeted :) On Mon, May 4, 2015 at 11:20 AM, Andrey Antukh wrote: > Hi! > > We (my friend Alejandro and I) are happy to announce the first public > version of a ClojureScript book that we are writing. > > The

Re: [ClojureScript] Re: [reagent] Re: [ANN] SF Reagent Meetup TODAY 6:30pm @Loyal3 @Meerkat

2015-04-29 Thread Marc Fawzi
April 2015 16:25:34 UTC+1, Jamie Orchard-Hays wrote: >> Excellent. I tried to watch on periscope, but it never showed up. >> >> Jamie >>> On Apr 17, 2015, at 10:20 AM, Marc Fawzi wrote: >>> >>> yes, will post link here sometime next week >>&g

Re: How do I create streaming XML response?

2015-04-20 Thread Marc Schneider
Thank you for your answer, Nelson. I was near to your solution. Thank you for reminding me to flush the writer. Now I detected the real problem in my application: I did not use the jetty adapter but the http-kit server. http-kit buffers whole response body from InputSt

How do I create streaming XML response?

2015-04-20 Thread Marc Schneider
with ring.util.io/piped-input-stream connected to the :body of a Ring response but had no success. Can anyone please give me a hint? Thanks a lot in advance, Marc -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send e

Re: [ClojureScript] Re: [reagent] Re: [ANN] SF Reagent Meetup TODAY 6:30pm @Loyal3 @Meerkat

2015-04-17 Thread Marc Fawzi
/onair.html On Fri, Apr 17, 2015 at 8:25 AM, Jamie Orchard-Hays wrote: > Excellent. I tried to watch on periscope, but it never showed up. > > Jamie > On Apr 17, 2015, at 10:20 AM, Marc Fawzi wrote: > > > yes, will post link here sometime next week > > > > all 3 p

Re: [reagent] Re: [ANN] SF Reagent Meetup TODAY 6:30pm @Loyal3 @Meerkat

2015-04-17 Thread Marc Fawzi
Missed the live stream unfortunately. Living in France > doesn't help ... > > >> On Thursday, April 16, 2015 at 4:35:38 PM UTC+2, marc fawzi wrote: >> Thursday, April 16, 2015 >> 6:30 PM >> >> >> Loyal3 >> 150 California St Ste 400, San Francis

Back to Periscope (What The Hey!) Re: [ANN] SF Reagent Meetup TODAY 6:30pm @Loyal3 @Meerkat

2015-04-17 Thread Marc Fawzi
ve a fun meetup ahead. Hope to see you. :) On Thu, Apr 16, 2015 at 7:34 AM, Marc Fawzi wrote: > >- Thursday, April 16, 2015 > >6:30 PM >- >Loyal3 > > <http://maps.google.com/maps?f=q&hl=en&q=150+California+St+Ste+400%2C+San+Francisco%2C+CA%2C+U

[ANN] SF Reagent Meetup TODAY 6:30pm @Loyal3 @Meerkat

2015-04-17 Thread Marc Fawzi
agent Components with App-State Driven CSS Transitions (watch: http://imgur.com/04OaRw3) -- by Marc Fawzi -- this live demo will include Learning Outcomes for smooth animations, component styling, and sharing the components via internal maven repo Artifactory and our TeamCity deploy

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
us fn into an explicit function defined with defn. marc On Sat, Feb 28, 2015 at 10:43 AM, Chris Freeman wrote: > You can pass your functions around directly; you don't need to wrap them > in #(). That will get rid of most of the rest of the duplication you've >

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

2015-02-25 Thread Marc Limotte
ustomer]] (add-customer customer)) (defn export-query [db pdf-generator] ...) ; Convenience function that pulls system from an atom (defn export-query [] (export-query (@system :db) (@system :pdf-generator))) (defmethod handle-command :export-query [[_]] (export-query)) marc On Wed, Feb 2

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

2014-11-20 Thread Marc Limotte
about this, so I don't experience this problem. But I do sympathize with the request, and tags would also be helpful when trying to debug or better understand how the particular version we are using works. marc On Thu, Nov 20, 2014 at 3:32 PM, Greg Mitchell wrote: > Thanks for creating th

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-09 Thread marc
de-query "Takes a query map. Returns a string of query pairs encoded and joined." [query] (->> query (apply into sorted-map) ; ensure consistent ordering to improve cache-ability of URLs... (map (fn [[k v]] (str (encode k) "=" (encode v (str/join "&

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
nt. The seq from a Map is a sequence of vectors ([k v], ...). The default sorting for the vectors will be the natural sort of the first element, then the second element, and so on. You can also do (-> my-map sort reverse) if you want a DESC sort. marc On Tue, Jul 22, 2014 at 12:24 PM, w

Call for participation: International Lisp Conference in Montreal 15-17 August 2014

2014-06-25 Thread Marc Feeley
ion is now open. See http://ilc2014.iro.umontreal.ca/registration.php * Invited speakers announced. Christian Queinnec, Ambrose Bonnaire-Sergeant, Stefan Monnier, Marc Battyani. Scope: Lisp is one of the greatest ideas from computer science and a major influence for almost all programming

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
ptions that might be re-used) which can be copied and then edited - A standard way for an app to say (document) what config values it needs - Simple transactions, so multiple config changes can be made or promoted at once marc On Wed, May 21, 2014 at 5:57 AM, Manuel Paccagnella &l

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 component<https://github.com/stuartsierra/component>system would work for you. marc On Sun, Apr 27, 2014 at 10:30 AM, Peter B. West wrote: &g

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=> (

Re: "true" lightweight threads on clojurescript?

2014-04-10 Thread Marc Boschma
Maybe I am missing a point but wouldn't it be better to restructure to use web workers and have a UI layer that all apps (different workers) could utilise for interactions with the user ? Marc > On 10 Apr 2014, at 12:12 am, t x wrote: > > Regarding yield: > > Un

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

2014-04-07 Thread Marc Limotte
eseq. But since lineseq was a local, it is no longer in scope. What you actually wanted was to def "cards" to the value of lineseq (which is what the unquote ~ does). marc On Mon, Apr 7, 2014 at 7:08 AM, Peter West wrote: > (eval `(def ~(symbol varname) lineseq)) > &g

Re: Clojure + BDD + TDD + Pairing...

2014-03-26 Thread Marc Bluemner
hip wrote: > Hi guys, > I'm glad the idea of pairing to learn is interesting to you! Any suggestions > on how we proceed? > Sent from my iPhone >> On Mar 26, 2014, at 5:23 AM, Marc Bluemner >> wrote: >> >> Hahahah you saved your ass there Jason :) BDD is TDD

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

Re: Clojure + BDD + TDD + Pairing...

2014-03-26 Thread Marc Bluemner
'm also starting with Clojure and would like to find someone to pair and >> to study Clojure together. >> >> Best regards, >> Gilberto >> >> >> >> On 03/25/2014 09:50 AM, Marc Bluemner wrote: >> >> Hey Marcus, >> >> Im M

Re: Clojure + BDD + TDD + Pairing...

2014-03-26 Thread Marc Bluemner
e are a dozen conflicting notions of BDD.) > > > On Tue, Mar 25, 2014 at 9:43 AM, Gilberto Garcia > > > wrote: > >> Hi Marcus, >> >> I'm also starting with Clojure and would like to find someone to pair and >> to study Clojure together. >> >

Re: Clojure + BDD + TDD + Pairing...

2014-03-25 Thread Marc Bluemner
Hey Marcus, Im Marc from Germany! Im actualy learning Clojure and am trying to get good at BDD, we are trying to implement it at work so practice would be great. I must say Ive never done pair programming but Im realy eager to try. SO if you like Im absolutly open for everything. Greetings

[ANN] ILC 2014 call for papers reminder

2014-02-27 Thread Marc Feeley
ords, see: http://www.acm.org/sigs/publications/proceedings-templates and http://www.acm.org/about/class/1998. Submissions should be uploaded to Easy Chair, at the following address: https://www.easychair.org/conferences/?conf=ilc14 Organizing Committee: General Chair: Marc Feeley (Université de Mon

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

Re: Overwrite equals in defrecord

2013-10-25 Thread Marc Dzaebel
r to reimplement records with deftype. Is there something available? Thanks, Marc -- -- 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 - p

Re: Overwrite equals in defrecord

2013-10-22 Thread Marc Dzaebel
http://cmayes.wikispaces.com/PracticalClojure13: ... > defrecord does not support Java class inheritance, so it cannot override > methods of Java classes, even abstract classes. However, it does permit you > to override methods of java.lang.Object such as hashCode, equals, and > toString. Simpl

Overwrite equals in defrecord

2013-10-22 Thread Marc Dzaebel
(defrecord R [x y]) automatically defines a reasonable *equals* method using x & y. However, is it possible to overwrite the method as it should use X only? My tries resulted in *"Duplicate method name&signature in class ...". Do I have to use extend-type?* -- -- You received this message bec

Re: Counterclockwise

2013-09-06 Thread Marc Dzaebel
great, to hear, that this important window to the Clojure world is so actively developed! -- -- 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

Counterclockwise

2013-09-05 Thread Marc Dzaebel
Hi, I love this Eclipse-plugin, however, there are issue<http://code.google.com/p/counterclockwise/issues/detail?id=572>s that are not even categorized since April 2013. It might be deliberate but does anyone know the status of this project? Thanks, Marc -- -- You received this m

Re: RPC over channels

2013-08-02 Thread Marc Hämmerle
So I'd say on RPC: clearly depends on your needs and is not automatically bad. Marc On 2 August 2013 15:46, Timothy Baldridge wrote: > RPC ties a local process (and all the memory its currently using) to a > remote process. It glosses over the fact that that the link between thes

Re: Performance Patterns

2013-07-17 Thread Marc Dzaebel
in the clojure wiki. Marc -- -- 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 unsubs

Re: Performance Patterns

2013-07-17 Thread Marc Dzaebel
- really helpful links - accepting performance as more relevant, would IMHO strengthen Clojure So your wishes would be: - Systematically organized samples - Comments on causation - Using libraries to increase quality Thanks for your help, Marc -- -- You received this message because you are

Performance Patterns

2013-07-14 Thread Marc Dzaebel
place such information (Wiki?)<http://en.wikibooks.org/wiki/Clojure_Programming> - whether this information is of use - whether you have more recommendations regarding performance or the form, advices are presented *Thanks, Marc* -- -- You received this message because you are subscrib

Domain modelling question

2013-07-05 Thread Marc Schneider
it's not too much to find any help here. Maybe there are some example applications out there where I can find some ideas? All I found yet are only small snippets but no "working in the field with business meat" :-) Thanks a lot in advance for your help. If anything is unclear to you pl

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: A* Graphe implementation

2013-06-16 Thread Marc Haemmerle
There's also: http://nakkaya.com/2010/06/01/path-finding-using-astar-in-clojure/ Sent from my iPhone On 17.06.2013, at 00:59, Mark Engelberg wrote: > http://clj-me.cgrand.net/2010/09/04/a-in-clojure/ > -- > -- > You received this message because you are subscribed to the Google > Groups "Cloj

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

Re: creating maps out of sql

2013-05-24 Thread Marc Limotte
project_id from PROJECT where timestamp > ? and timestamp < ?" "2012-03-02" "2012-03-07" dh-sub-query)) Of course, I haven't tested any of this, so plenty of opportunity for mistakes. Marc On Fri, May 24, 2013 at 10:55 AM, Mond Ray wrote: > I am starting out t

Re: seancorfield /clj-soap

2013-05-18 Thread Marc Boschma
Well understood Sean! If I work out away to up lift the code I'll contribute that back. I was just checking to see if anyone else had tried. If, like you, I need to find another way is Axis 1.x an easier platform than 2.x ?The Java SOAP landscape seems overly complex. Marc I really wis

seancorfield /clj-soap

2013-05-17 Thread marc
Hoping someone has already explored this. Has anyone ever used clj-soap as a client and managed to pass in Basic authentication credentials? I tried putting them into the URL to the WSDL but that did seem to work… Off to read up on Axis 2… -- -- You received this message because you are sub

Re: Clojure performance measuring

2013-05-12 Thread Marc Hämmerle
Not really - at least not for what you presumably want to do. If you want to stick with NewRelic you could have a look at their custom instrumentation: https://newrelic.com/docs/java/custom-instrumentation-with-the-java-agent); otherwise I'd use something like metrics, ostrich and instrument the ca

Re: Clojure performance measuring

2013-05-12 Thread Marc Hämmerle
Even though New Relic works best when used with a supported server/container, you'll still get some basic JVM stats like memory out of it. Other than that you could also take a look metrics ( https://github.com/codahale/metrics) as it has JVM instrumentation in place and push the data to Graphite,

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) arg

Re: how do I find an IO exception triggering retries in clj-http?

2013-03-04 Thread Marc Boschma
Might be a silly suggestion but are the first 3 connections leading to redirects (30x's) ??? On 05/03/2013, at 10:18 AM, larry google groups wrote: > > So, thanks to Michael Klishin, Aaron Cohen, Frank Siebenlist and Craig > Brozefsky I am now able to correctly ping the Omniture API. But I am

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

2013-01-24 Thread Marc Limotte
eates a physical plan for Spark. Thanks for the error report with clj-spark. That error looks familiar, but I thought it was fixed. I'll look into reproducing it next week. Marc On Wed, Jan 23, 2013 at 11:24 AM, Mark Hamstra wrote: > I certainly understand the exploration and learni

  1   2   >