Le vendredi 11 octobre 2013, Russell Mull a écrit :
>
> - available as a Standalone Product: Download, Unzip, Code!
>>
>
> This is huge! Maybe it seems like a trivial thing, but removing barriers
> to getting started is fantastic.
>
This is the first Time counterclockwise is released with standal
Hello
Anyone knows if I can set read reference in monger? e.g. "nearest". I
didn't see it on their documentation.
Thanks
Gary
--
--
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 tha
I like the blurb:
"This library is a Rosetta stone for all the byte representations Java has
to offer, and gives you the freedom to forget all the APIs you never wanted
to know in the first place."
My feelings, exactly. ;)
Thanks.
On Thursday, October 10, 2013 6:44:32 PM UTC-7, Ben Mabey wrot
On 10/10/13 7:21 PM, Brian Craft wrote:
I'm struggling with how to gzip/gunzip byte arrays from clojure. I
don't really get how clojure.java.io streams supposed to be used.
This appears to gzip a string:
(let [baos (java.io.ByteArrayOutputStream.)
gzos (java.util.zip.GZIPOutputStream. ba
I'm struggling with how to gzip/gunzip byte arrays from clojure. I don't
really get how clojure.java.io streams supposed to be used.
This appears to gzip a string:
(let [baos (java.io.ByteArrayOutputStream.)
gzos (java.util.zip.GZIPOutputStream. baos)]
(.write gzos (.getBytes "foo"))
Thanks for that recommendation! I was thinking about this exactly this
issue.
Mark
On Fri, Oct 11, 2013 at 10:19 AM, Karsten Schmidt wrote:
> On 11 October 2013 00:01, Adam Clements wrote:
> > I find it ridiculously useful not having to go to my browser to look up
> the
> > latest version of
> - available as a Standalone Product: Download, Unzip, Code!
>
This is huge! Maybe it seems like a trivial thing, but removing barriers to
getting started is fantastic.
Thank you Laurent, for your tireless and continuing work.
- Russell
--
--
You received this message because you are s
On 11 October 2013 00:01, Adam Clements wrote:
> I find it ridiculously useful not having to go to my browser to look up the
> latest version of libraries I use all the time.
Adam, you might want to check out this leiningen plugin then...
https://github.com/xsc/lein-ancient
K.
--
--
You recei
Is there any chance we could get a route which simply returns this as plain
text? I have an emacs plugin which looks up the latest version of an
artifact on clojars (currently using some horrible regex)
https://github.com/AdamClements/latest-clojure-libraries which would be
much much nicer if it wa
I remember reading a post with a list of open source projects with excellent
clojure code.
Unfortunately, I can't find it anymore, but I remember Ring was on the list.
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send e
2013/10/10 Mark C :
> Nice update, I like auto-indent.
>
> I ran into one small glitch on OSX, which is that the shortcut for toggling
> between unrestricted and strict/paredit mode wasn't working for me at first.
> Going to Preferences -> General -> Keys : Switch Edit mode, and deleting
> then re-
Nice update, I like auto-indent.
I ran into one small glitch on OSX, which is that the shortcut for toggling
between unrestricted and strict/paredit mode wasn't working for me at first.
Going to Preferences -> General -> Keys : Switch Edit mode, and deleting
then re-applying the Alt-D fixed it.
Dear All,
Is it possible to use Java assertion system in Clojure?
I want to put invariant checks in my code which can be turned on/off at
runtime with java -ea/-da.
http://docs.oracle.com/javase/7/docs/technotes/guides/language/assert.html
The only mention touching this issue in Clojure I could
2013/10/11 Anurag Ramdasan
>
> I am now looking for something intermediate level resources on Clojure.
> Mostly stuffs that
> deal with idiomatic clojures, clojure monads, lazy sequences etc.
>
http://clojure-doc.org can cover some of your needs, although it does not
cover monads.
> Can someon
Hi,
I have a good understanding on Common Lisp and I've worked on it a lot.
I also have worked on Clojure a bit, very little actually, using emacs and
nrepl.
I am now looking for something intermediate level resources on Clojure.
Mostly stuffs that
deal with idiomatic clojures, clojure monads,
(a 1) will return a boxed value and (long (a 1)) will just cast it back to
a primitive. There is currently no way to efficiently deal with the
contents of gvecs. Their inclusion at this point is mostly about saving
memory.
In theory reducers could allow a primitive fn to do efficient work "inside"
(a 1) will return a boxed value and (long (a 1)) will just cast it back to
a primitive. There is currently no way to efficiently deal with the
contents of gvecs. Their inclusion at this point is mostly about saving
memory.
In theory reducers could allow a primitive fn to do efficient work "inside"
So do you just do:
(inc (long (a 1))), i.e., manually converting to long primitive? Is there
much overhead for that call, if it is already a primitive?
To the best of my knowledge, you can't do:
(let [^long x (a 1)] (inc x))
because I think primitive type hints only work in function headers. Is
Hi, a new version of Counterclockwise, the Clojure plugin for the
Eclipse IDE, has just been released.
Hot new features
- auto indentation as you type
- available as a Standalone Product: Download, Unzip, Code!
- many bug fixes including (hopefully) stability improvements
Install
===
That behavior seems like a bug to me. Do you know whether there's some good
(or stated, good or bad) reason for it?
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/7-b147/sun/reflect/UnsafeBooleanFieldAccessorImpl.java
On Oct 9, 2013 4:33 PM, "Pablo Nussembaum" wrote:
> T
Puny is a tiny layer for persisting Clojure maps into Redis hashes, it aims
to reduce boilerplate and to enable end to end life cycle management of
entities from validation to data migration and indexing.
It includes support for:
* Complete generated CRUD API.
* Automatic keys and id management
Hi Mike,
You can use any of the brokers listed here:
http://mqtt.org/wiki/doku.php/brokers
Mosquitto is a free GPL (?) based broker which I have used in the past, I
have used RSMB as well. And they all should work with Machine Head as it
uses the Eclipse Paho Java client so I think it is very
Hi Michael,
This looks great - many thanks for sharing!
Do you have any views / recommendations on an MQTT server/broker usable
from Clojure? Is that on the roadmap for Machine Head?
Mike.
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To p
There's currently no support for matching sets and I have no plans in the
near future. Patch welcome, it could be matched and optimized similarly to
map matching.
On Thursday, October 10, 2013, Phillip Lord wrote:
>
> I've been playing with core.match recently. One thing that I am confused
> abou
Not that I'm aware of.
On Thursday, October 10, 2013, Mark Engelberg wrote:
> (def a (conj (vector-of :long) 1 2 3)
> (inc (a 1))
>
> Is Clojure smart enough to figure out that (a 1) is a primitive long and
> call the fast primitive version of inc?
>
> --
> --
> You received this message because
Indeed. You will find the defserverfn macro definition in
backtype.storm.daemon.common.clj.
- Dave
On Thursday, October 10, 2013 2:27:38 AM UTC-5, Chris Ford wrote:
>
> Hi,
>
> Clojure allows the creation of macros, which means that developers can
> define new things that look like the keywords
I've been playing with core.match recently. One thing that I am confused
about is, I cannot match over a set (based on membership), unless I
convert into a map first.
So, for example
(defn map-set [set]
(into {}
(for [k set]
[k k])))
(let [x (map-set #{:a :b :c})]
(ma
Hey All,
I've been working on a few essays for a while now. But I wanted to release
these two initial ones for public consumption (citations pending). All
criticism and feedback is welcome. I'm eager to keep all of our tools and
skill set at the cutting edge, and hope this can benefit developers
Thanks Andy. I added a comment to
http://dev.clojure.org/jira/browse/CLJ-1277
Am Donnerstag, 10. Oktober 2013 07:12:47 UTC+2 schrieb Andy Fingerhut:
>
> Thanks for checking, Alexander. I have created ticket CLJ-1277 with a
> patch that improves the performance of the case you found, as well as
Agree. I find the examples on clojuredocs really helpful (I find the
official documentation often near-impenetrable), but it's super confusing
how it references a bunch of old things.
On Thursday, 10 October 2013 20:20:58 UTC+13, binita wrote:
>
> Yes , agree with puzzler .
> Also the Search fe
Hi,
Clojure allows the creation of macros, which means that developers can
define new things that look like the keywords from other languages.
For example, even defn is just a macro that builds on top of the underlying
def and fn forms.
I expect that the Twitter storm team have a macro called de
Hi all,
I am a newbie of Clojure and I am reading the source code of Twitter Storm,
which has its major functions implemented by Clojure. I find following code:
(defserverfn service-handler [conf inimbus]
(.prepare inimbus conf (master-inimbus-dir conf))
(log-message "Starting Nimbus with conf
Yes , agree with puzzler .
Also the Search feature at http://clojuredocs.org is awesome. Personally,
as a newbie , I find it very helpful, to be able to search and see the
examples.
I didn't find the same at http://clojure.org/documentation,
http://clojure.github.io/clojure or at http://clojur
33 matches
Mail list logo