I also know that Birkbeck College University of London is going to be
teaching Clojure this year.
On Oct 10, 2014 12:01 AM, "Lee Spector" wrote:
>
> FWIW I'm another person using Clojure mostly for academic research. And
> for computer science education, e.g. I'm currently teaching a Clojure-base
For clarity, can you confirm the relationship between this and ring and
compojure? Am I right in saying the defined routes are ring compatible
(using domkm.silk.serve) and therefore silk is a replacement for compojure
(albeit compojure has some more middleware utilities)?
I understand I can jus
+1.
Or even worse, this is an opportunity to be put on yet another recruiter’s
automated job listing email :).
If this is some initiative for knowledge reaping/sharing in terms of
Clojure best practices/engineering practices then why not use one of the
many transparent mechanism (like this gro
Hi Ben,
That's pretty nifty indeed! Maybe a tad memory intensive as it retains the
head, but if it were a more complex, CPU intensive calculation in :next,
that might be very worthwhile. Good stuff.
Cheers,
-Arnout
P.S. The memory consumption will be a little less when I think of a way to
eff
On Fri, Oct 10, 2014 at 2:06 PM, Daniel Szmulewicz <
daniel.szmulew...@gmail.com> wrote:
> Yes, because locally you are in the repl already. The repl in production
> is brought in explicitly to be able to login/debug remotely into the
> application where it’s hosted.
> Does that make sense?
>
Mak
ClojureScript, the Clojure compiler that emits JavaScript source code.
README and source code: https://github.com/clojure/clojurescript
New release version: 0.0-2371
Leiningen dependency information:
[org.clojure/clojurescript "0.0-2371"]
This release includes minor fixes, faster collectio
Hi David,
thanks once again for the continuous effort to improve the ClojureScript
compiler.
Some warnings are now printed when using a specific `include-macros` syntax. I
wanted to confirm that this syntax was indeed incorrect.
An example is: [secretary.core :as secretary :include-macros true
(:require [secretary.core :as secretary :include-macros true])
; desugars to add=> (:require-macros [secretary.core :as secretary])
(:require [secretary.core :as secretary :refer-macros [defroute])
; desugars to add=> (:require-macros [secretary.core :as secretary :refer
[defroute]])
This chang
0.2.6 (2014-10-10)
1. Fix Bug: rewrite handler does not handle write event correctly with
thread pool mode or coroutine mode (issue #43)
2. Fix Bug: built-in jvm variable #{pno} doesn't work (issue #44)
3. Fix Bug: rewrite_handler_name does not work without content handler
(is
Hi xfeep,
Thanks for the work! Looks awesome. Unfortunately the github website appears to
be broken in FF32 (displays fine in Chrome).
cheers
lvh
On 10 Oct 2014, at 16:03, Xfeep wrote:
>
> 0.2.6 (2014-10-10)
>
> • Fix Bug: rewrite handler does not handle write event correctly with
I am pleased to annouce the 1.2.0 release of Tawny-OWL, now available on
clojars and github (http://github.com/phillord/tawny-owl).
What is Tawny-OWL
=
Tawny-OWL allows construction of OWL ontologies, in a evaluative, functional
and fully programmatic environment. Think of it as
I'm extremely happy to announce the release of Pedestal 0.3.1
In this release you'll find many goodies:
* NIO support
* Immutant added as a platform type
* Transit support
* Improved SSE capabilities
* A new route format
* And more
Please see the official release notes for all of the detail
Hi ivh
Thanks for your notice.
Do you mean http://nginx-clojure.github.io/ appears to be broken in FF32 ?
I can not reproduce it.
Could you please give more information about it by reporting an issue at
https://github.com/nginx-clojure/nginx-clojure.github.io/issues/new ?
Thanks.
Regards.
I’ve been using silk in conduction with compojure. Most middleware aren’t
compojure specific, but I’ve just found it easier to stick with base level
compojure routes and then pass uris to silk for pattern matching. This is
mostly because there is such a wealth of documentation and examples to
What information do you want after this is decoded? Do you want the sum of
byte0 ... byten, as well as the actual payload? Do you also want the
header-length?
On Thursday, October 9, 2014 11:34:59 PM UTC-7, Ken Restivo wrote:
>
> I'm playing around with Gloss, trying to decode a packet, part of
I have an arbitrarily nested EDN value stored in an atom in ClojureScript.
What is the best way to make edits to an arbitrary subtree of this value?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegr
Can you use update-in or assoc-in?
On Friday, October 10, 2014 2:28:26 PM UTC-4, Dustin Getz wrote:
>
> I have an arbitrarily nested EDN value stored in an atom in ClojureScript.
>
> What is the best way to make edits to an arbitrary subtree of this value?
>
--
You received this message because
So I'm reading a bunch of rows from a huge csv file and marshalling those
rows into maps using the first row as keys. I wrote the function two
ways: https://gist.github.com/MichaelBlume/c67d22df0ff9c225d956 and the
version with eval is twice as fast and I'm kind of curious about why.
Presumably
I took a stab at it for 10 minutes, but I'm way too rusty.
Last year I implemented the blockchain wire protocol with gloss that might
be helpful: https://gist.github.com/danneu/7397350
Here's the spec: https://en.bitcoin.it/wiki/Protocol_specification
The var-int-codec is a somewhat complex
ex
Hi Laurens
Are you trying to access http or https? If you use HTTPSEverywhere like me,
the browser will try to load the https version, that really doesn't work
and you'll see only an horizontal strip.
I hope it can help you
Xfeep: thank you very much. I'm moving my web applications to nginx-cloj
Hello,
Can you show the code you use for benchmarking?
Le vendredi 10 octobre 2014, Michael Blume a écrit :
> So I'm reading a bunch of rows from a huge csv file and marshalling those
> rows into maps using the first row as keys. I wrote the function two ways:
> https://gist.github.com/MichaelB
It may be more to do with the difference between `for` and `map`. How do these
versions compare in your benchmark:
(defn read-to-maps-partial [rows]
(let [headers (->>
rows
first
(take-while (complement #{""}))
(map keyword
I believe it's because the `mapper` function is just creating and returning
a map literal. The "mapper" function in the evaled version is something
like this:
user> (def names '[n1 n2 n3 n4])
#'user/names
user> (def headers '[h1 h2 h3 h4])
#'user/headers
user> `(fn [[~@names]] ~(zipmap headers nam
https://github.com/MichaelBlume/eval-speed
eval-speed.core=> (time-fn read-to-maps)
"Elapsed time: 5551.011069 msecs"
nil
eval-speed.core=> (time-fn read-to-maps-fn)
"Elapsed time: 5587.256991 msecs"
nil
eval-speed.core=> (time-fn read-to-maps-partial)
"Elapsed time: 5606.649172 msecs"
nil
eval-sp
Did you run it enough times to fully warm up the JVM?
On Fri, Oct 10, 2014 at 4:21 PM, Michael Blume
wrote:
> https://github.com/MichaelBlume/eval-speed
> eval-speed.core=> (time-fn read-to-maps)
> "Elapsed time: 5551.011069 msecs"
> nil
> eval-speed.core=> (time-fn read-to-maps-fn)
> "Elapsed t
Ah, interesting... I hadn't considered it was running the zipmap at
compile-time so it only runs it once as opposed to running it for each row!
Sean
On Oct 10, 2014, at 1:06 PM, Ben Wolfson wrote:
> I believe it's because the `mapper` function is just creating and returning a
> map literal. Th
it's not quite at compile-time (since it's a dynamic call to eval, after
all, and "names" and "headers" aren't known at compile time), but it is
calling it eval-time, for lack of a better phrase.
On Fri, Oct 10, 2014 at 1:35 PM, Sean Corfield wrote:
> Ah, interesting... I hadn't considered it wa
On Oct 10, 2014, at 1:46 PM, Ben Wolfson wrote:
> it's not quite at compile-time (since it's a dynamic call to eval, after all,
> and "names" and "headers" aren't known at compile time), but it is calling it
> eval-time, for lack of a better phrase.
Yes, I meant when it compiles the code that e
I'd be interested in a site that lists examples of academic projects in
Clojure. (I know of a few Clojure projects in areas of interest to me.)
But only a little bit interested--not enough for me to create such a site.
--
You received this message because you are subscribed to the Google
Grou
I think it *is* a beautiful macro.
On Sep 14, 2014, at 7:45 AM, adrian...@mail.yu.edu wrote:
>
> Friendly advice: when you describe anything you create with adjectives
> like beautiful, it comes off as unnecessarily arrogant to native English
> speakers.
>
> Adrian
>
> On Sunday, September 14,
On Saturday, September 13, 2014 9:01:53 AM UTC-5, Lee wrote:
>
> So now one of my first steps when I'm faced with a confusing bug is to
> stamp out all of the laziness except where I'm really doing things lazily
> on purpose, for a good reason. I've also come to think that the
> pervasiveness
Hi All,
I've been optimising a piece of code lately, and have come to wonder about
the performance of keyword comparison. Specifically, I'm not sure whether
the performance I'm seeing is what is expected. The data structures page on
clojure.org [1] indicates that keywords "provide very fast eq
If this is the unofficial survey post of academics using Clojure then I'd
better add myself to the list :-)
@Bruce do you know what course they're going to be teaching Clojure on at
Birkbeck?
Jony
On Friday, 10 October 2014 08:08:28 UTC+1, Bruce Durling wrote:
>
> I also know that Birkbeck C
On Friday, October 10, 2014 5:20:30 PM UTC-5, Mars0i wrote:
>
> Maybe an ideal world would be one in which there was a global setting to
> turn laziness on and off. When you want it, have it, and know your risks.
> After looking at the source for some of the lazy functions, I've come to
> s
Zipmap doesn't use transients, so calling it at runtime will be
significantly slower than constructing a literal map.
http://dev.clojure.org/jira/browse/CLJ-1005
On Friday, October 10, 2014 11:42:14 AM UTC-7, Michael Blume wrote:
>
> So I'm reading a bunch of rows from a huge csv file and mars
> I've been optimising a piece of code lately, and have come to wonder about
> the performance of keyword comparison. Specifically, I'm not sure whether the
> performance I'm seeing is what is expected. The data structures page on
> clojure.org [1] indicates that keywords "provide very fast eq
Hi Balduino,
Thank you.
This site use CDN http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.0.min.js
for
jquery , so for security the browser won't load these javascript source
when we access it by HTTPS.
Regards.
Xfeep
On Saturday, October 11, 2014 3:11:52 AM UTC+8, Plinio Balduino wrote:
We fixed this problem now.
Both https://nginx-clojure.github.io/ and http://nginx-clojure.github.io/
can work now.
Regards.
Xfeep
On Sat, Oct 11, 2014 at 9:49 AM, Xfeep wrote:
> Hi Balduino,
>
> Thank you.
>
> This site use CDN http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.0.min.
> js for
38 matches
Mail list logo