Re: [ANN] Clojure 1.10.0-beta1

2018-10-10 Thread Josh Tilles
I recently stumbled across this little example by Ghadi Shayban that helped *both* prepl and tap click for me: $ clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.0-beta2"}}}' Clojure 1.10.0-beta2

Re: accessing symbols in local context of a closure

2018-05-25 Thread Josh Tilles
My curiosity got the better of me: (require '[clojure.spec.alpha :as spec] '[clojure.test :refer [is with-test]]) (spec/fdef local-bindings :args (spec/cat :closure fn?) :ret (spec/map-of simple-keyword? any?)) (with-test (defn local-bindings [closure] (into {} (map

Re: Your choice

2018-01-15 Thread Josh Kamau
And you do all this in Clojure ? ;) On Mon, Jan 15, 2018 at 9:11 PM, wrote: > 1. We can guarantee the quality of the product. > > 2. Fast and safe delivery (INTERNATIONAL)- ( E-mail.. dave joine company > @ gmail . com ). > > 3. USA ( call/text (469) 772-0415 or (406) 201 9486 <(406)%20201-

Re: Spec - is there any way to tell which keys are not described by a spec?

2018-01-05 Thread Josh Tilles
I think Stu Halloway’s proof-of-concept is at least close to what you want: https://gist.github.com/stuarthalloway/f4c4297d344651c99827769e1c3d34e9. (Here’s the context for that code, in case you were curious.) btw, you might want t

Re: Can't stop the system component

2017-06-06 Thread Josh Tilles
e stop implementations are returning nil. (The value of a (println ,,,) expression is nil.) I hope that helps, Josh P.S. You should be able to just use component/start; you shouldn’t need to use component/start-system explicitly. On Tuesday, June 6, 2017 at 10:42:22 AM UTC-4, D.Bushenko wrote: >

Re: with-open pattern

2017-05-04 Thread Josh Tilles
I think the “reducible streams” approach described by Paul Stadig here has potential. It might not cover all of the scenarios you’re thinking of, though. On Thursday, May 4, 2017 at 1:35:48 PM UTC-4, Brian Craft wrote: > > The with-open st

"Soft" failures with spec?

2017-02-17 Thread Josh Tilles
e times. 2. Use a single spec, but have rules for what ::s/problems are acceptable. So, what do you think? Has anyone tried anything along these lines? Does this sound fundamentally wrongheaded, trying to make spec do something it’s ill-suited for? Cheers, Josh Tilles 79 Madison Ave, 4th Floo

Re: Version control at the function level - a la Rich

2017-02-17 Thread Josh Tilles
I’m pretty sure you’re looking for codeq: http://blog.datomic.com/2012/10/codeq.html On Friday, February 17, 2017 at 4:39:12 PM UTC-5, Terje Dahl wrote: > > I recall Rich Hickey talking about this a few years back, but can't find > anything about it. > Am I just imaging it? > Or could someone

Re: spec and à la carte conformance of map vals (and maybe a bug)

2017-02-02 Thread Josh Tilles
. -- Josh Tilles [image: Signafire logo] 79 Madison Ave, 4th Floor New York, New York 10016 Tel: (646) 685-8379 <+16466858379> signafire.com <http://www.signafire.com/> -- On Sat, Jan 14, 2017 at 8:03 PM, Sean Corfield wrote: > A

Re: structuring parallel code

2017-01-30 Thread Josh Tilles
If your goal is “to operate on large data structures in parallel” then you’ll probably find Clojure’s reducers library to be helpful. On Monday, January 30, 2017 at 9:38:01 PM UTC-5, Brian Craft wrote: > > ans: this scales badly. > > There must be a way i

Re: clojure.core.match/match: very strange behavior

2017-01-30 Thread Josh Tilles
se you need to teach core.match how to use DateTimes <https://github.com/clojure/core.match/wiki/Pattern-Matching-Java-Objects>. I hope that helps! Josh P.S. In future questions you pose, you should probably state the version of Clojure you’re using, as well as the versions of any libraries

Re: spec and à la carte conformance of map vals (and maybe a bug)

2017-01-13 Thread Josh Tilles
ore, it seems likely that either the first or the third >is true, but I wanted to make sure I wasn’t being misunderstood first. Thank you, Josh > On Dec 19, 2016, at 5:26 PM, Alex Miller <mailto:a...@puredanger.com>> wrote: > > On Monday, December 19, 2016 at 2:42:49 PM UT

Re: what tutorials exist for working at the Repl in Emacs?

2016-12-22 Thread Josh Kamau
http://www.braveclojure.com/basic-emacs/ On Fri, Dec 23, 2016 at 12:34 AM, larry google groups < lawrencecloj...@gmail.com> wrote: > I'm curious if there are good tutorials for a modern setup in Emacs. > Especially any tutorial that mentions stuff like Pomegranate, that helps at > the Repl? > > -

spec and à la carte conformance of map vals (and maybe a bug)

2016-12-19 Thread Josh Tilles
devs are otherwise happy with? Or is it in fact a *deliberate* limitation, in line with the “map specs should be of keysets only” <http://clojure.org/about/spec#_map_specs_should_be_of_keysets_only> design decision? Thank you, Josh P.S. To confirm my understanding that there is not a

Re: Namespace question and request for project with non-trivial use of clojure.spec

2016-12-16 Thread Josh Tilles
Although I can’t recall off the top of my head any example applications that demo non-trivial spec usage, you might be able to find some good projects using CrossClj: https://crossclj.info/ns/org.clojure/clojure/1.9.0-alpha14/project.clj.html#used. (There’s a good chance that any project that’

Re: s/valid? vs. s/explain

2016-11-13 Thread Josh Tilles
Just going on memory at the moment, but I’m pretty sure `s/explain` just writes to `*out*` (and thus always returns `nil`). You probably want `s/explain-data` or `s/explain-str`. -Josh On Sun, Nov 13, 2016 at 10:58 AM James Gatannah wrote: > One of my system boundary data structures

Re: Spec & test.check generators for complex data structures

2016-11-01 Thread Josh Tilles
I don’t have any answers, but you might find the discussion in the first several messages of this thread to be relevant. On Tuesday, November 1, 2016 at 3:14:28 PM UTC-4, Maarten Truyens wrote: > > Completely convinced of Spec,

Re: Java like static typing for Clojure?

2016-10-21 Thread Josh Tilles
Out of curiosity, did you try Typed Clojure? It certainly has its rough edges, but you sound willing to bear the burden of annotating code with types (at the top-level, at least) and I *think* its treatment of Java interop does what you want: unless instructed otherwise, the typechecker assumes

Guidelines/Recommendations for namespaces and qualified keywords

2016-10-15 Thread Josh Tilles
394-L402> and as keys in nested maps <https://github.com/clojure/clojure/blob/clojure-1.9.0-alpha13/src/clj/clojure/spec.clj#L205> . Thank you for your help. I really appreciate it. Best, Josh -- You received this message because you are subscribed to the Google Groups &q

Re: clojure.spec, conform and returned value

2016-10-11 Thread Josh Tilles
I think you’re looking for conformer ; the spec it produces will pass along the converted value instead of the original input. It could be used like: (defn str->double [s] (try (Double/valueOf s)

Re: Idiom question

2016-09-28 Thread Josh Tilles
By the way, the order of arguments of as-> makes more sense when it’s used *within* one of the other threading macros. For example: (-> x foo (bar y) (baz w z) (as-> mid-x (log/debug "The intermediate value:" mid-x) (if (color-requested? mid-x) (assoc mid-x :color "periwinkle

Re: wondering why spec.test/instrument doesn't check :ret

2016-08-06 Thread Josh Tilles
I’m not sure it answers your question *directly*, but a quote from Rich in another thread seems relevant: On Monday, July 11, 2016 at 10:01:05 AM UTC-4, Rich Hickey wrote: > On Sunday, July 10, 2016 at 6:04:39 AM UTC-4, puzzler

Re: Spec of conform of spec

2016-06-18 Thread Josh Tilles
I just realized that in my example, I probably should have used `s/get-spec` instead of `s/spec` when defining the labels. Oh well. On Saturday, June 18, 2016, Josh Tilles wrote: > Have you considered choosing labels that are themselves qualified > keywords with registered specs? That

Re: Spec of conform of spec

2016-06-18 Thread Josh Tilles
Have you considered choosing labels that are themselves qualified keywords with registered specs? That might feel like a workaround, but I think it could get you most of what you’re looking for. For example: ``` (s/def ::even-spec even?) ;= :user/even-spec (s/def ::odd-spec odd?) ;= :user/odd-spe

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-12 Thread Josh Tilles
On Sunday, June 12, 2016 at 10:29:56 PM UTC-4, Alan Thompson wrote: > > I would have expected the namespaces to avoid this kind of conflict. Why > don't they? > Because the conflict was only introduced five days ago, with this commit

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Josh Tilles
Well, it’s worth noting that clojure.core/name does account for strings : (defn name "Returns the name String of a string, symbol or keyword." {:tag String :added "1.0" :static true} [x

Re: Addressing Matthias Felleisen's concerns?

2016-05-09 Thread Josh Tilles
On Monday, May 9, 2016 at 5:36:53 PM UTC-4, Didier wrote: > > At Clojurewest 2016, Matthias Felleisen gave a great keynote about the > pragmatism of soundness for maintening large code bases. He mentioned that > adding type gradually was useful, but only when the border between typed > land and

Re: Running Clojure apps using less memory.

2016-03-28 Thread Josh Tilles
r JVMs running, you might want to use Clojure 1.8’s built-in socket server REPL <http://clojure.org/reference/repl_and_main#_launching_a_socket_server> instead. Cheers, Josh P.S. You mentioned that you’re relatively new to Clojure—welcome! =) On Monday, March 28, 2016 at 8:11:49 AM

Re: Partial question

2016-02-23 Thread Josh Tilles
debug-2 [message] (log "DEBUG" message :idVE "COM")) ;= user/debug-2 (clojure.repl/doc debug-2) ; ----- ; user/debug-2 ; ([message]) ; nil ;= nil Hope that's helpful, Josh P.S. If you *really want to* you can populate the :arglists metadata yourself

How is the emphasis of “data over code” different than the XML advocacy of the early 2000s?

2016-02-01 Thread Josh Tilles
use edn instead of XML sidestep everything that went wrong in the 2000s? Or is it the case that the widespread backlash against XML threw a baby out with the bathwater, forgetting the advantages of data over code? Cheers, Josh -- You received this message because you are subscribed to the Google

Re: Compare between clojure and Java

2016-01-05 Thread Josh Kamau
ure namespace (def numbers [1 2 3 4 54 56 6]) ;;to get the sum (reduce + numbers) You get the idea ;) Josh On Tue, Jan 5, 2016 at 4:19 PM, Thomas Saillard wrote: > Dear, > > In order to good understand the powerful of Clojure, > I have heard that compare to a code in java you need on

Re: How to start with IDE?

2015-12-21 Thread Josh Kamau
since i now use emacs. Josh On Mon, Dec 21, 2015 at 2:09 PM, AndrzejB wrote: > I have downloaded Counterclockwise with integrated Eclipse IDE for Windows. > I start new project: > (ns newclojure.core) > > (defn foo > "I don't do a whole lot." > [x] >

Re: Library suggestions requested for clojure-toolbox.com

2015-10-13 Thread Josh Tilles
Also, you may want to replace MidjeDoc with Hydrox <https://github.com/helpshift/hydrox>. On Tuesday, October 13, 2015 at 6:32:50 PM UTC-4, Josh Tilles wrote: > > James, I've provided a bit more information than you requested because I > figured mailing list readers might fi

Re: Library suggestions requested for clojure-toolbox.com

2015-10-13 Thread Josh Tilles
James, I've provided a bit more information than you requested because I figured mailing list readers might find the extra details useful. - durable-queue - URL: https://github.com/Factual/durable-queue - GitHub description: “a disk-backed queue for clojure” - Categories:

Re: Awesome Clojure Engineer Opportunity

2015-10-12 Thread Josh Kamau
Remote or on site? J On Mon, Oct 12, 2015 at 11:00 PM, Rameen Fattahi wrote: > Hi Everyone, > > My name is Rameen and I'm looking for a passionate Clojure engineer for a > very confidential project at one of the biggest companies in the world > (cannot name it here for privacy reasons). > > Thi

Re: [ANN] Yesql 0.5.1 Released.

2015-10-08 Thread Josh Kamau
Thanks a million! Having come from mybatis world, this really helps. Josh. On Thu, Oct 8, 2015 at 8:56 AM, Andrey Antukh wrote: > Great work! > > Any change for have yesql decoupled from java.jdbc? I really want to use > it, but with other jdbc libraries... > > > Regard

Re: Refactoring namespaces

2015-09-18 Thread josh
; library). In my experience, Cursive <https://cursiveclojure.com/> has been pretty effective for refactoring (e.g., moving a file into a different directory and having all of the ns forms update appropriately). I hope that's helpful, Josh On Friday, September 18, 2015 at 12:54:03 PM UTC-4,

Re: Clojure/Pedestal vs Go

2015-09-16 Thread Josh Kamau
11. Leiningen and painless dependency management. Josh On Wed, Sep 16, 2015 at 7:08 AM, Michael Gardner wrote: > On Sep 15, 2015, at 20:45, Mikera wrote: > > > > 7. The open source library ecosystem on the JVM is awesome. There's > nothing like it for any other la

Re: Using metadata to specify how calls to a macro should be indented

2015-09-15 Thread Josh Tilles
On Sunday, September 13, 2015 at 8:25:42 AM UTC-4, Artur Malabarba wrote: > > > On 13 Sep 2015 12:33 pm, "Matching Socks" > wrote: > > > > Unless clojure.core itself will carry these annotations, could the > keyword be namespaced? > > Or do you mean it should be ::indent? (i.e., carry the names

Re: Stuart Sierra's Component: retries & restarts in production

2015-09-06 Thread josh
Thanks a ton for writing all of this up. I'm actually using Langohr & RabbitMQ as well, so I have the sense that you've solved problems that I might encounter down the road. On Friday, September 4, 2015 at 7:57:21 AM UTC-4, Dave Tenny wrote: > > I'm using components to encapsulate Langohr/Rabbit

Re: Stuart Sierra's Component: retries & restarts in production

2015-09-06 Thread josh
On Thursday, September 3, 2015 at 9:15:54 AM UTC-4, Andy- wrote: > > Only to answer the "retry on error" part of you question: You might like > hara/event: > http://docs.caudate.me/hara/hara-event.html > Thanks for the tip! I've been meaning to check out hara anyway. If I end up using it I'll p

Re: Stuart Sierra's Component: retries & restarts in production

2015-09-04 Thread Josh Tilles
I just found the other resources from the Component wiki —it may be that something linked from there addresses exactly my situation. On Wednesday, September 2, 2015 at 8:44:07 PM UTC-4, jo...@signafire.com wrote: > > TLDR: how do you use

Stuart Sierra's Component: retries & restarts in production

2015-09-02 Thread josh
TLDR: how do you use Component when the application logic involves retrying failed components? Background: I'm writing an app that consumes events from a streaming HTTP connection and writes those events to a message queue (see Code Illustration #1). It seems like that could be captured easily

Re: I am looking for xml parsing lib

2015-08-25 Thread Josh Kamau
;s it, though. >> >> On Mon, Aug 24, 2015 at 10:48 AM, Josh Kamau >> wrote: >> >>> Hello; >>> >>> Which is the recommended xml parsing lib for clojure? >>> >>> clojure.data.xml was last updated 10months ago and is still on v

I am looking for xml parsing lib

2015-08-24 Thread Josh Kamau
Hello; Which is the recommended xml parsing lib for clojure? clojure.data.xml was last updated 10months ago and is still on version 0.0.8 Thanks Josh -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: materials

2015-06-25 Thread Josh Kamau
http://www.braveclojure.com/ On Thu, Jun 25, 2015 at 12:10 PM, Baishampayan Ghose wrote: > http://lmgtfy.com/?q=clojure+tutorial > > Hope this helps. > > ~BG > > On Thu, Jun 25, 2015 at 7:21 AM, Baskar Kalyanasamy > wrote: > > hi everyone, > > can somebody send me materials for

Re: [new] GNU emacs settings for clojure ?

2015-06-15 Thread Josh Kamau
You could also try emacs-live if you are an emacs beginner. https://github.com/overtone/emacs-live On Mon, Jun 15, 2015 at 9:32 AM, Jason Lewis wrote: > M-x package-install cider should give you a better time. > > One is never "stuck" with emacs; one is privileged to enjoy it. > > On Sun, Jun 1

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Josh Kamau
Another challenge is: There are alot of abandoned libraries and few reach 1.0. That makes selecting the libraries to compose abit difficult. On Mon, May 4, 2015 at 9:59 PM, Gregg Reynolds wrote: > > On May 4, 2015 7:16 AM, "Eric MacAdie" wrote: > > > > I think what Clojure needs is a default. I

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Josh Kamau
@Sean, i wanted totally stateless backend. On Mon, May 4, 2015 at 9:02 PM, Sean Corfield wrote: > On May 4, 2015, at 10:53 AM, Josh Kamau wrote: > > Thanks Sean. that makes sense. I didnt want that map to be stored as > one cookie because it could potentially be big... (there is

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Josh Kamau
" and they’re restored on the next request. > > On May 4, 2015, at 8:39 AM, Josh Kamau wrote: > > I am currently trying to "redirect-after-post" with validation errors. > I have already cooked up my way of validating maps. However, i cant find a > straight forward

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Josh Kamau
I am currently trying to "redirect-after-post" with validation errors. I have already cooked up my way of validating maps. However, i cant find a straight forward way for pushing the errors in a 'flash' and then read them in my template (am currently using freemarker.). I have seen the flash mid

Re: simple procedure for updating a value one level down

2015-01-26 Thread Josh Stratton
t either, so other suggestions are welcome. > > On 27 January 2015 at 00:06, Josh Stratton > wrote: > > They're not keyed by id because order in both the category and its items > is > > important. I could maintain the order explicitly, but that just makes > other >

Re: simple procedure for updating a value one level down

2015-01-26 Thread Josh Stratton
2 :somethingElse 29 }) >> [[{:text "foo", :id 1} {:text "bar", :ack 5, :id 2}] [{:age 12, >> :somethingElse 29, :id 3}]] >> >> >> On Monday, January 26, 2015 at 8:54:58 AM UTC-6, Erik Price wrote: >>> >>> Many functions that affect k

simple procedure for updating a value one level down

2015-01-25 Thread Josh Stratton
I'm new to clojure and FP in general. One thing that has always been a little confusing for me is working with immutable trees. I have a vector of categories, each category containing a vector of items--each one a hashmap. In that hashmap I have a bunch of attributes including an item-id. Now,

Re: modifying a single item in a list: is a map the right choice?

2015-01-14 Thread Josh Stratton
That's cool, but I may be reading this from a file like json, applying the change, and writing it back. Changing it to a sorted list would take linear time anyway, right? And I'd just be writing it back out immediately. Still this seems like a very clean solution. I'll have to read up on how up

modifying a single item in a list: is a map the right choice?

2015-01-14 Thread Josh Stratton
Noob clojure question. I have a list of items and I want to append a subitem to one of them. They're currently unkeyed because I care about the order and it seemed more intuitive that way. (def items [{ :id 1 :subitems [] } { :id 2 :subitems [] }]) So let's say I want a new list where the secon

Re: A (foolish) plan to re-invent IO on top of core.async

2015-01-06 Thread Josh Kamau
There is also vertx.io with the clojure module. Josh On Tue, Jan 6, 2015 at 3:43 PM, Max Penet wrote: > Jet is already very usable and used in production by some notable > projects/clients. > I am also working on improving the backpressure story on all fronts at the > moment (m

Re: reading to learn and acquire the skill of writing optinal Clojure code

2014-09-26 Thread Josh Kamau
tually the implementation of the nth function in clojure core. So you can go to clojure.core/nth to see how it is implemented. Josh Josh On Fri, Sep 26, 2014 at 4:28 PM, Leon Grapenthin wrote: > I highly recommend the clojure.core namespace. > > On Friday, September 26, 2014 3:41:31 AM UT

Re: can't connect with Datomic transactor

2014-09-08 Thread Josh Lehman
Wilker, It seems that you haven't actually started the transactor. For developing, I'd recommend using lein-datomic <https://github.com/johnwayner/lein-datomic>. Hope that helps, -Josh On Sunday, September 7, 2014 8:06:55 PM UTC-7, Wilker wrote: > > Hi, > > I was

Re: Is clojars down?

2014-07-29 Thread Josh Kamau
Sorry... the url is clojars.org and its working perfectly. josh On Tue, Jul 29, 2014 at 3:46 PM, Marc Limotte wrote: > 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 >

Re: Is clojars down?

2014-07-29 Thread Josh Kamau
I cannot. " Oops! Google Chrome could not find cljars.org " Josh On Tue, Jul 29, 2014 at 3:44 PM, Di Xu wrote: > I can open cljars.org as normal, and can also download jars from there. > > 2014-07-29 20:42 GMT+08:00 Yves Parès : > > Hi, it seems than clojars is do

[ANN] ring-transit 0.1.1 released

2014-07-27 Thread Josh Lehman
I've just thrown together a ring middleware for transit <https://github.com/cognitect/transit-format> with an api like that of ring-json <https://github.com/ring-clojure/ring-json>. You can check it out here: ring-transit <https://github.com/jalehman/ring-transit>.

Re: Clojure:Lisp :: LSD:Meditation

2014-06-13 Thread Josh Kamau
facts ) 5. Any link to new book, tutorial, training materials. This is just my opinion, I dont know the group policy and may be its all up to me to choose what i want to read and what i dont want to and probably keep my feelings to myself ;) Josh On Fri, Jun 13, 2014 at 12:34 PM, Dave Della Costa

Re: Clojure:Lisp :: LSD:Meditation

2014-06-12 Thread Josh Kamau
I feel "USED" when you use the mailing list to drive traffic to your blog. On Thu, Jun 12, 2014 at 4:44 PM, Divyansh Prakash < divyanshprakas...@gmail.com> wrote: > (and rant about other stuff I don't know a whole lot about) > > -- > You received this message because you are subscribed to the Go

Re: emacs - some output goes to stdout when using cider

2014-05-26 Thread Josh Kamau
Any particular reason why you cant use emacs-live? Its comes configured for clojure among other stuff out of the box. Josh On Mon, May 26, 2014 at 6:32 PM, Don Hill wrote: > > I am making a switch to emacs and trying to get cider setup. I think for > the most part everything i

Re: is there a way I can learn clojure with a lot of exercises

2014-04-16 Thread Josh Kamau
more exercises here http://clojure-euler.wikispaces.com/Problem+001 On Wed, Apr 16, 2014 at 10:53 AM, Roelof Wobben wrote: > > > Thanks, > > Can this site also be good : http://www.braveclojure.com/ > > Roelof > > > Op woensdag 16 april 2014 09:07:36 UTC+2 schreef Bruce Wang: > >> Try 4clojure.

Re: Potential Intro clojure projects - libraries and ideas with wow factor

2014-04-16 Thread Josh Kamau
Can core.logic be used to implement something like http://www.optaplanner.org ? Josh On Wed, Apr 16, 2014 at 9:36 AM, utel wrote: > Thanks Mikera and Andrew for the ideas. Some interesting suggestions > there. I'll discuss these with my fellow devs. Much appreciated. > > &g

Re: Uberjar woes

2014-04-11 Thread Josh Lehman
ency may contain class files > from other projects, and because class files outrank clj source files, you > end up with some pretty bizarre behaviour in such cases. > > - James > > > On 11 April 2014 22:09, Tom Connors >wrote: > >> Hi Josh, >> My solution ended up

Re: Uberjar woes

2014-04-11 Thread Josh Lehman
Tom, Not sure if you every figured this out, but I'm having the same issue. In my case, the error points to the Lifecycle protocol in https://github.com/stuartsierra/component (com/stuartsierra/component/Lifecycle). It's a pretty barebones configuration. https://gist.github.com/jalehman/104

Re: What's the best clojure library to access HBase?

2014-03-06 Thread Josh Kamau
The last time i searched... i couldnt find any that is still being maintained. I ended up using the java api and its very simple. Josh On Thu, Mar 6, 2014 at 1:13 PM, tao wrote: > the same as the title. > > -- > tao > Sent with Sparrow <http://www.sparrowmailapp.com/?

Re: Latest web framework for clojure

2014-02-26 Thread Josh Kamau
If you are writting blog-like application , check out caribou http://caribou.github.io/caribou/docs/outline.html On Wed, Feb 26, 2014 at 9:44 PM, Curtis Gagliardi < gagliardi.cur...@gmail.com> wrote: > If you're interested in the url-generation and data-based routing, there > are some Compojure

Re: How to override the default port on 3000?

2014-02-25 Thread Josh Kamau
you can also change this line on your project.clj :ring {:handler myproject.handler/app :port 8080} Josh On Tue, Feb 25, 2014 at 5:23 PM, Jason Stewart wrote: > The lein-ring plugin accepts a port number as an argument: > > lein ring server 8080 > > Note, that in order to

Re: Hiring Clojure developers for our distributed team at Outpace Systems

2014-02-19 Thread Josh Kamau
Yes... we care to know. I am in Nairobi, Kenya Josh On Wed, Feb 19, 2014 at 6:50 PM, Michael Klishin < michael.s.klis...@gmail.com> wrote: > > 2014-02-19 18:41 GMT+04:00 Paul Stadig : > > If you are interested in working from home on a distributed team writing >> Cloj

Re: [ANN] mod-lang-clojure (for Vert.x) 1.0.0.Beta1 released

2014-01-23 Thread Josh Kamau
Awesome work guys. I noted there is also some activity on the lein-vertx github project. Josh On Tue, Jan 21, 2014 at 7:32 PM, Toby Crawley wrote: > mod-lang-clojure[0] 1.0.0.Beta1 is no available in Maven Central. > > With this release, the API should be complete, and we hope

Re: How to handle configuration in Clojure?

2014-01-13 Thread Josh Glover
I is not precisely config management, the pattern described in the blog seems applicable. Cheers, Josh -- -- 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 mem

Re: How to handle configuration in Clojure?

2014-01-13 Thread Josh Smith
On Monday, January 13, 2014 8:50:54 AM UTC-5, James Trunk wrote: > > I've been investigating how to handle configuration in a Clojure > application/library, and have discovered two main candidates: dynamics vars > and argument passing. > I would suggest you add Environment variables to your list

Re: Enforcing constructor types on defrecord

2013-11-30 Thread Josh Kamau
Thanks Ben. I will try that. Josh On Sat, Nov 30, 2013 at 6:12 PM, Ben Mabey wrote: > On Sat Nov 30 08:03:18 2013, Ben Mabey wrote: > >> On Sat Nov 30 07:41:52 2013, Josh Kamau wrote: >> >>> Hi there ; >>> >>> Is there a way of enforcing constru

Enforcing constructor types on defrecord

2013-11-30 Thread Josh Kamau
Hi there ; Is there a way of enforcing constructor types when using defrecord? Josh -- -- 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

Re: [ANN] projars.com

2013-11-28 Thread Josh Kamau
"as long as it does not "swallow" some of the free software code out there." I have the same fears. Josh On Thu, Nov 28, 2013 at 1:53 PM, Bastien wrote: > Hi Stanislav, > > Stanislav Yurin writes: > > > In short, on top of every open greatness, it i

Re: running command when lein repl starts

2013-11-19 Thread Josh Kamau
Is it intentional that you are using clojure 1.3.0 instead of a newer version like 1.5.1 ? Do "lein deps" to download the dependencies. Then do lein repl Josh On Tue, Nov 19, 2013 at 8:08 PM, Andy Smith wrote: > Hi, > > How can I get a command such as '(use &#x

Re: [ANN] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-18 Thread Josh Kamau
Can i put more than one sql statement in a file? Josh On Mon, Nov 18, 2013 at 2:01 PM, Kris Jenkins wrote: > > > On Monday, 18 November 2013 03:21:12 UTC, Jeremy Heiler wrote: > >> On Mon, Nov 11, 2013 at 6:10 AM, Kris Jenkins wrote: >> >>> https://github.com

Can't get terminal parameters: Inappropriate ioctl for device error on clojure.java.shell

2013-11-16 Thread Josh Kamau
ot;", :err "Can't get terminal parameters: Inappropriate ioctl for device\n"} When i run the command directly on the shell, it works. What is causing the error? any options i could set? Josh. -- -- You received this message because you are subscribed to the Google Groups

Re: a possibly vague question

2013-11-14 Thread Josh Kamau
Try to create a simple app that just demonstrate the issue. Then send the sample to the mailing list. Most likely you won't have to send because you will discover the problem in the process. Josh On 14 Nov 2013 23:08, "Jim - FooBar();" wrote: > Hi people, > > I 'll

Re: Autocomplete for new dependency - counterclockwise

2013-11-12 Thread Josh Kamau
Thanks. I had tried that. I guess i was doing something wrong. Let me try again. Josh On Tue, Nov 12, 2013 at 4:53 PM, Niels van Klaveren < niels.vanklave...@gmail.com> wrote: > You only need to restart the REPL since the new library needs to be on the > classpath. > > >

Autocomplete for new dependency - counterclockwise

2013-11-12 Thread Josh Kamau
Hi there ; I have a counterclockwise project on eclipse. I have just added a new library dependency to project.clj. What do i need to do so that the the namespaces provided by the new library are available during autocomplet.. especially on the repl. Regards. Josh -- -- You received this

Re: Testing with Angular.js, Clojurescript and Purnam - Code and Part 1

2013-11-05 Thread Josh Kamau
zcaudate, You realize you have posted on a clojure mailing list?? On Tue, Nov 5, 2013 at 1:31 PM, zcaudate wrote: > Code: https://github.com/zcaudate/purnam-angular-example > Demo: http://docs.caudate.me/purnam-angular-example/ > Article: http://z.caudate.me/purnam-angular-js-testing-part-1-se

Re: Any interest in Compojure/Ring screencasts?

2013-11-01 Thread Josh Kamau
I am interested. Thanks. Josh On Fri, Nov 1, 2013 at 3:57 AM, Tilak Thapa wrote: > +1, @James, i'm in. > > > On Wednesday, October 30, 2013 4:32:18 AM UTC+5:45, Russell Whitaker wrote: > >> I, for one, would happily pay (my employer's) money for such a thin

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

2013-10-30 Thread Josh Kamau
I can do it with you if we limit the hours to Saturday and sunday. I am a noob though i have 2 apps in production. (You can get alot done without knowing the whole of clojure) I am in GMT +3 Thanks. On Wed, Oct 30, 2013 at 6:43 AM, Marcus Blankenship wrote: > Hi Folks, > > I’m a Clojure n00b

Re: Counterclockwise Eclipse Plugin Documentation

2013-10-24 Thread Josh Kamau
Thank you Laurent. On Thu, Oct 24, 2013 at 8:12 PM, Laurent PETIT wrote: > Hello, > > For Counterclockwise, the Eclipse Plugin for Clojure, I've worked on > the documentation recently. > > tl;dr: > - The documentation is now at http://doc.ccw-ide.org . I hope you'll > find it prettier, easier to

Re: [ANN] JUST CREATED GOOGLE + CLOJURE COMMUNITY FOR TUNISIA

2013-10-20 Thread Josh Kamau
Conglats. I am working on the same for Kenya. On Sat, Oct 19, 2013 at 6:14 PM, Plínio Balduino wrote: > Congratulations > > IMHO, local communities are the best way to make the language more popular > and even to create a job market for Clojure. > > Wish you all the success > > Plínio > On Oct

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-18 Thread Josh Kamau
Install counterclockwise plugin on your eclipse. Then import your project into eclipse. There right click the project and there is something like "Convert to leiningen project" . Hope that helps. Josh. On Fri, Oct 18, 2013 at 5:41 PM, Christopher Bird wrote: > Josh, thanks for

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-18 Thread Josh Kamau
I find it easier to let leiningen handle the dependencies. Eclipse via counterclockwise plugin adds dependencies declared in project.clj to the classpath. Josh On Fri, Oct 18, 2013 at 4:42 PM, Christopher Bird wrote: > I know this is a pretty old thread, but my questions are quite > s

Re: Are there any GUI based Clojure apps out there?

2013-10-17 Thread Josh Kamau
you mean something like this https://github.com/arthuredelstein/clooj On Thu, Oct 17, 2013 at 4:31 PM, Jonathon McKitrick wrote: > I'd be interested in seeing some client-side apps with a GUI, if there are > any. 'Ants' is a good demo, but I'm looking for something a little more. > ;-) > > --

Re: ANN: ClojureScript 0.0-1933

2013-10-11 Thread Josh Kamau
Just curious, why the version number very different from most of other projects that i have seen? Otherwise conglats. Josh On Fri, Oct 11, 2013 at 3:28 PM, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source co

Re: [ANN] mod-lang-clojure for Vert.x 0.2.0 released

2013-10-08 Thread Josh Kamau
s possible. Otherwise i appreciate the work done so far. Josh On Tue, Oct 8, 2013 at 6:37 PM, Hans-J. Schmid < hans-j.sch...@hans-jschmid.com> wrote: > Hi Toby, > > thanks for the info. > > I was actually in contact with Stream Liu and he made an update to the > projec

Re: [ANN] mod-lang-clojure for Vert.x 0.2.0 released

2013-09-18 Thread Josh Kamau
Does this have the ring adapter bundled in ? Thanks On Wed, Sep 18, 2013 at 5:16 AM, Toby Crawley wrote: > mod-lang-clojure[0] 0.2.0 was released earlier today, and is now > available in Maven Central. > > The biggest change in 0.2.0 is the addition of a ClojureScript wrapper > around the clie

Clojure BBM Channel

2013-09-17 Thread Josh Comer
For those using the beta version of BBM Channels, I have created a new channel all about clojure. Below is the barcode with which to join. Cheers, Josh <https://lh6.googleusercontent.com/-H6C_EUGNYeY/UjjUeCqdhKI/BmU/XTIuDfhWqqU/s1600/IMG_0171_edit.png> -- -- You receive

Re: clojure.java.jdbc connection pool example

2013-09-13 Thread Josh Kamau
Thanks. I have used C3P0 for now... I will look at tomcat7 pool though Josh On Fri, Sep 13, 2013 at 3:19 PM, gixxi < christian.meichs...@informatik.tu-chemnitz.de> wrote: > Hi Josh, > > I would opt for using Tomcat 7 Pool API - > http://tomcat.apache.org/tomcat-7.0-doc/jdbc

Re: clojure.java.jdbc connection pool example

2013-09-13 Thread Josh Kamau
Thanks alot. Let me check them out. Josh On Fri, Sep 13, 2013 at 1:41 PM, Shantanu Kumar wrote: > Hi Josh, > > > On Friday, 13 September 2013 15:52:47 UTC+5:30, Josh Kamau wrote: >> >> Hello there ; >> >> I am in desparate need of a clojure.jdbc with a con

clojure.java.jdbc connection pool example

2013-09-13 Thread Josh Kamau
Hello there ; I am in desparate need of a clojure.jdbc with a connection pool example. I have googled and the link to github example is broken. Please help. Thanks. Josh -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

  1   2   >