Happy to announce release of Quil 2.2.2. It is available on clojars:
https://clojars.org/quil
Here is the list of changes:
- Processing.js is shipped in a jar to make it possible to include it
using :preamble option to cljsbuild configuration.
- Support available-fonts, load-pixels and
On Mon, 2014-09-08 at 04:59 +0200, Kevin Lynagh wrote:
and Horrocks' excellent Constructing the User Interface with
Statecharts
(http://www.amazon.com/Constructing-User-Interface-Statecharts-Horrocks/dp/0201342782).
If you end up exploring the space and want to discuss
design/implementation
On 08/09/2014 04:20, Xfeep wrote:
In addition one Java thread will tie up one native OS thread.
A
On Monday, September 8, 2014 10:50:13 AM UTC+8, Yuexiang Zhang wrote:
Not only Wildfly but also most of mainstream pure java webservers
use thread pool to handle http requests.
Not the answer, but might have some useful clues in ... here's a snippet to
make a tagger from the Stanford library:
(ns processor.tagger
(:require [clojure.data.xml :as xml]
[clojure.string :as string])
(:import (edu.stanford.nlp.tagger.maxent TaggerConfig MaxentTagger)))
;;
Hello,
I am using expectations for writing tests in a code base that already
has other tests written using midje. What I observed is that running
`lein midje` also runs tests written using expectations. The functions
defined in the expectations-options namespace (with meta-data
:before-run,
tools.namespace: parse namespace declarations and reload files in
dependency order.
https://github.com/clojure/tools.namespace
Release 0.2.6 contains the following bugfixes:
* `clojure.tools.namespace.parse/read-ns-decl` asserts that its
argument is a PushbackReader, instead of silently
That `lein midje` runs your expectations is just a side effect of
expectations' behavior to run its tests on JVM shutdown. Use
`(expectations/disable-run-on-shutdown)` to disable that feature.
Just need to confirm that the behaviour is intentional and not just by
chance.
I guess it's a
Hello,
I posted a question about volatiles on the github commit:
https://github.com/clojure/clojure/commit/60440977823752f13a3fec3637538e9a1d68c5d4
I don't know if anybody noticed, so... why is volatile created with
function volatile! and not volatile ? Atoms, refs and agents don't have
Hi Nicola,
This is great stuff. Are there plans for a tools.emitter.js?
Thanks,
Michael
--
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 -
Oh, that explains it. Thanks.
- Vineet
On Mon, Sep 8, 2014 at 7:13 PM, Tobias Kortkamp tobias.kortk...@gmail.com
wrote:
That `lein midje` runs your expectations is just a side effect of
expectations' behavior to run its tests on JVM shutdown. Use
`(expectations/disable-run-on-shutdown)` to
(First, I should say that I am not an undergrad, haven't been for almost
two decades! But in terms of my CS knowledge, that's pretty much where I
am.)
I recently started reading Sedgewick's Algorithms book (the red one) and
am at least making an attempt to follow along with his Coursera
Hey Sam. I too had great difficulty with clojure interop until I became
more familiar with Java. I find that it is quite difficult to use clojure
unless one knows Java, which I believe to be a barrier to new comers. So I
suggest that you learn some Java and start trying to hack simple
This worked for me:
http://viewer.gorilla-repl.org/view.html?source=gistid=5baef8ac0f42706e4940filename=parser.clj
I had to download the parser distribution from the Stanford NLP site and
copy the stanford-parser-3.4.1-models.jar file into the root of my
Leiningen project, as I couldn't find
On Sep 8, 2014, at 10:08 AM, Jacob Goodson submissionfight...@gmx.com wrote:
Hey Sam. I too had great difficulty with clojure interop until I became more
familiar with Java.
Yeah, the interop can be painful, especially with the way some Java libraries
are designed - and you can end up with
FYI the ticket about volatile is at
http://dev.clojure.org/jira/browse/CLJ-1512 and the same question was
raised there.
On Mon, Sep 8, 2014 at 4:25 PM, Frantisek Sodomka fsodo...@gmail.com wrote:
Hello,
I posted a question about volatiles on the github commit:
I asked Rich and he said making a volatile is as dangerous as any ! op.
Some people have also asked about vswap! being a macro instead of a method
on Volatile. The issue there is that vswap! takes a variadic number of
update function args. If implemented as a method, you'd need to provide
+1 for the !
No atomic changes here, no coordination whatsoever.
At the mercy of the caller...
I asked Rich and he said making a volatile is as dangerous as any ! op.
Some people have also asked about vswap! being a macro instead of a method
on Volatile. The issue there is that vswap!
Shameless plug (and not really answering the question):
I've created a version of union-find, inspired by the mentioned library,
but using the vocabulary of the course, pure datastructures (and a harmless
volatile to transparently implement path reduction).
I've also tried to document the readme
On Monday, September 8, 2014 11:09:50 AM UTC-7, Sean Corfield wrote:
I find that it is quite difficult to use clojure unless one knows Java,
which I believe to be a barrier to new comers.
I'm surprised every time I hear this. You can write a lot of Clojure
without having to do any
Thanks I'll check it out! Is your sense that there really isn't a book that
fits this target right now?
On Monday, September 8, 2014 12:45:46 PM UTC-7, Laurent PETIT wrote:
Shameless plug (and not really answering the question):
I've created a version of union-find, inspired by the mentioned
There is the classic Purely Functional datastructures by Okasaki. I
haven't read it, the examples are in standard ML if I remember correctly.
CTM, Concepts Techniques and Models of Computer Programming, develops
datastructures and algorithms above a functional core. I haven't read it
front to end
For an enterprising clojure hacker, this is a good opportunity to write
Clojure for non-Java Hackers and put it up on Pragprog.
On Sunday, September 7, 2014 10:50:31 PM UTC-4, Sam Raker wrote:
I'm trying to use the Stanford Parser from Clojure, but I don't know
hardly any Java, and this is
On Mon, Sep 8, 2014, at 10:04 AM, Evan Zamir wrote:
(First, I should say that I am not an undergrad, haven't been
for almost two decades! But in terms of my CS knowledge, that's
pretty much where I am.)
I recently started reading Sedgewick's Algorithms book (the
red one) and am at least making
On 9 September 2014 at 00:33:11, Ivan L (ivan.laza...@gmail.com) wrote:
For an enterprising clojure hacker, this is a good opportunity
to write Clojure for non-Java Hackers and put it up on Pragprog.
Sounds more like Just enough Java for Clojure. Which I think would have
too small an
Thanks, Chris.
I actually have Okasaki's book and thought to mention it in the post as an
example of a book that is too advanced for me. Not to mention, it's in ML.
I'm sure it's a great book, and I could try to slog through it, but it
would be great to have a more introductory level book on
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 using Datomic in memory for a few
Thanks for all the help! I knew I could count on you guys.
I saw that there were a bunch of params in the constructor, but naively
hoped there'd be some kind of default values for them so I didn't have to
muck around with anything too much. Disappointed once again. I'll look into
exactly what
Hey
Sorry for this noob question, but is there any way to start vert.x project
for level of LT?
I have created vert.x project with lein new vertx and it works perfectly
well from the level of command line, light table screams with:
java.io.FileNotFoundException: Could not locate
Although it's not specifically an algorithms book, the book How to
Design Programs covers a number of important classes of algorithms
(sorting, graph searches, etc.), and more importantly, teaches you how to
reason about them and how to come up with them yourself.
Another great resource is
Hi list,
Is there a way to get Clojure warnings to act as errors and abort the
attempted operation? For now, I'm mainly interested in doing this in the
repl, because I will often do something like this:
(defn fn [x] (+ 1 x))
; WARNING: fn already refers to: #'clojure.core/fn ...
Oops!
If anything let's add more bangs to the name. Unlike any of atom/ref/agent,
volatile! is not really part of the familiar state model. Yes it applies
a function to a thing, changing the thing. Like Luc says, not atomically.
The linux hdparm tool has the –yes-i-know-what-i-am-doing and
On Sep 8, 2014, at 4:48 PM, Michael Klishin michael.s.klis...@gmail.com wrote:
Sounds more like Just enough Java for Clojure. Which I think would have
too small an audience to be worth the effort.
I'd buy it for sure. I bet that some of my students would too.
-Lee
--
You received this
On Tue, Sep 9, 2014 at 3:09 AM, Sean Corfield s...@corfield.org wrote:
I find that it is quite difficult to use clojure unless one knows Java,
which I believe to be a barrier to new comers.
I'm surprised every time I hear this. You can write a lot of Clojure
without having to do any interop
On Sep 8, 2014, at 9:09 PM, Alan Busby thebu...@gmail.com wrote:
On Tue, Sep 9, 2014 at 3:09 AM, Sean Corfield s...@corfield.org wrote:
I find that it is quite difficult to use clojure unless one knows Java,
which I believe to be a barrier to new comers.
I'm surprised every time I hear
Cool
On Friday, September 5, 2014 5:50:10 AM UTC+8, Vladimir Bokov wrote:
Hi folks, I got just tired to gazing into big amount of data and scroll
3-4 screens of my 13' laptop to grasp the structure,
so I used pprint's pretty printer, but add colors and changed indentation
*by default*
Hi Josh,
I know that I have the transactor running, creating databases works, just
connecting that doesn't...
I tried your solution, but I'm still getting the same error, I would like
to know at least maybe a better way to debug it, the major issue is that
the error messages doesn't give any
Actually, I just got an answer on the Datomic list, the problem is that I'm
using Clojure 1.7.0-alpha2.
So, just have to wait for a new version now.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Tue, Sep 9, 2014 at 1:12 AM, Wilker wilkerlu...@gmail.com
37 matches
Mail list logo