On 13/04/14 02:21, Stephen Feyrer wrote:
// Get the java file io library
(import '(java.io http://java.io File))
// Get some files
(def f (File. /My/files/))
(def fs (file-seq f))
// Filters for suffixes .mp3
(def get-mp3 (filter #(.endsWith (.getName %) .mp3) fs))
// Get the path of one
Hey there,
I upgraded to JDK8 and wanted to start using the new java.time.* packages.
I started by implementing reader functions to get rid of #inst like:
#time/local-date [2014 4 13]
#time/local-datetime [2014 4 13 14 23]
While that works fine and as expected, one thing I ran into is
I just saw that there's a library called
TrapperKeeper https://github.com/puppetlabs/trapperkeeper from the folks at
Puppet Labs. It looks to be a more opinionated and complete version of
Stuart Sierra's Component
library https://github.com/stuartsierra/component, in that it explicitly
pays
Hi everyone,
I have just released Cadejo, a MIDI management tool for Overtone.
It forms an infrastructure which defines how MIDI devices communicate with
Overtone instruments. The release also includes 4 full-featured
instruments.
1) ALGO, an 8-operator FM synth
2) Alias, a subtractive synth
On Apr 13, 2014, at 8:31 AM, Thomas Heller th.hel...@gmail.com wrote:
[...] confusing error messages.
user= (pr-str #time/local-datetime [2014 4 1 0 0 2 999])
[...]
RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException
(Util.java:221)
Using default #inst
Ah, didn't even think about the REPL causing trouble here.
Thanks.
On Sunday, April 13, 2014 5:30:09 PM UTC+2, squeegee wrote:
On Apr 13, 2014, at 8:31 AM, Thomas Heller th.h...@gmail.comjavascript:
wrote:
[…] confusing error messages.
user= (pr-str #time/local-datetime [2014 4 1 0 0 2
Hi Cecil,
On Apr 12, 2014, at 3:18 PM, Cecil Westerhof cldwester...@gmail.com wrote:
I just started playing with Clojure a few days ago, so I am a tabula rasa. I
attached what I have until now. If it can be improved, I like to know it.
I had a look at your code and it's not clear to me
Hi,
Can I edit some user.clj/config.clj/project.clj file, so that it's as if:
(:require-macros [swiss.arrows :refer (-)])
is auto included in *every* cljs file ?
[I dislike the constant repetition]
Thanks!
--
You received this message because you are subscribed to the Google
Groups
Look at :injections in
https://github.com/technomancy/leiningen/blob/master/sample.project.clj.
Would that help you?
On Sun, Apr 13, 2014 at 7:36 PM, t x txrev...@gmail.com wrote:
Hi,
Can I edit some user.clj/config.clj/project.clj file, so that it's as if:
(:require-macros
A simple repl-targeted library to introspect classes might prove
useful, but is there any reason to use such a short syntax for
everything? I'll surely have problems remembering the symbols.
On Fri, Apr 11, 2014 at 5:57 AM, zcaudate z...@caudate.me wrote:
Please use 0.1.10 update. clojure 1.6
What does
https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L209-L211
mean ?
In particular, I'm confused about:
Forms to prepend to every form that is evaluated inside your project.
I only want to insert it right into the (ns ...) clause.
Thanks!
On Sun, Apr 13, 2014
It's short because i hate typing... And it's meant to be 'intuitive' so that
clojure users would find it relatively straight forward to pick up. The only
unintuitive bit would be the .% and .% for class information and class
hierarchy. The thing is, when combined with the threading macro, all
related
http://puppetlabs.com/blog/new-era-application-services-puppet-labs
On Monday, 14 April 2014 00:24:28 UTC+10, Brendan Younger wrote:
I just saw that there's a library called TrapperKeeper
https://github.com/puppetlabs/trapperkeeper from the folks at Puppet
Labs. It looks to be a
Hi Kris,
Thanks for your comment, and I'm very glad that you found the video helpful.
I started doing screencasts because I realised that I learn a new concept
fastest by watching someone else doing/explaining it - and I figured I
might not be the only one. Saying that, I know screencasts
A handful of developers at the organisation I work at, want to encourage
interest in Clojure with the aim of using it in production amongst the
organisation's wider developer community (hundreds of developers). We
ourselves are Clojure hobbyists.
We wanted to do this through a basic project
Actually, I thought it would be even more helpful if you had the source
code available (for searching/skimming). Is that somewhere online?
-Kris
On Sun, Apr 13, 2014 at 2:47 PM, James Trunk james.tr...@gmail.com wrote:
Hi Kris,
Thanks for your comment, and I'm very glad that you found the
There's a link to a gist of
core.cljhttps://gist.github.com/Misophistful/9892203in the video's
description.
Cheers,
James
On Monday, April 14, 2014 12:08:16 AM UTC+2, Kris Calabio wrote:
Actually, I thought it would be even more helpful if you had the source
code available (for
Oh great! I guess I must have missed that :P
On Sun, Apr 13, 2014 at 3:13 PM, James Trunk james.tr...@gmail.com wrote:
There's a link to a gist of
core.cljhttps://gist.github.com/Misophistful/9892203in the video's
description.
Cheers,
James
On Monday, April 14, 2014 12:08:16 AM
Hi,
https://github.com/rlewczuk/clj-cursor
This is my attempt at (properly) managing application state. It is based
on David Nolen's cursor
concept implemented in the om library. Cursor allows storing whole
application state in a single
structure, yet still be able to swap underlying
Also as I have relatively little experience with Clojure programming, any
suggestions about style, non-idiomatic code etc. are also important for me.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Hi François,
Thank you. I have read through each of the articles you've indicated and
will read in full the braveclojure book.
I am playing the syntax-quotes and will explore the io/resource package.
To be honest I am still not confident in what I'm doing but there are still
avenues to
Hi,
For building robust cljs web apps, I'd like to have a uber
websocket which does the following:
* when disconnected, it auto reconnects
* and re-sends any messages that were not received
Before I hand-roll my own hacks, I was wondering -- is there any
existing cljs library which
Take a look at Sente (core.async over web socket / xhr) - and contribute
anything additional you need to that.
On Apr 13, 2014, at 6:16 PM, t x txrev...@gmail.com wrote:
For building robust cljs web apps, I'd like to have a uber
websocket which does the following:
* when disconnected, it
There are many Java APIs that expect client APIs to annotate fields but
Clojure does not support annotations on fields. Is there any plan to add
support?
And one tangential question: Is there any consideration of adding
gen-class support for multiple fields instead of just one?
jbs
--
You
+1 nice video
On Mon, Apr 14, 2014 at 3:45 AM, Kris Calabio kriscala...@gmail.com wrote:
Oh great! I guess I must have missed that :P
On Sun, Apr 13, 2014 at 3:13 PM, James Trunk james.tr...@gmail.comwrote:
There's a link to a gist of
As a non-clojure user, but a Puppet expert (ahum ;) ) I wrote a blog post
about this announcement that might be interesting for some folks here. I'd
also love to see comments on the post itself if I have drawn any wrong
conclusions:
On Monday, 14 April 2014 05:15:31 UTC+8, utel wrote:
A handful of developers at the organisation I work at, want to encourage
interest in Clojure with the aim of using it in production amongst the
organisation's wider developer community (hundreds of developers). We
ourselves are Clojure
Google Closure implements an auto-reconnecting websocket.
You can read docs on it
herehttp://docs.closure-library.googlecode.com/git/class_goog_net_WebSocket.html
and
see an example of it being imported
28 matches
Mail list logo