Ok, those sugggestions work great. Thanks for the help.
--
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 - please be patient with your
first
I'm not involved (much) with Webbit other than using it in prod for my
web socket stuff.
I believe Kushal Pisavadia (cc'd) James Reeves have been talking
about webbit features that Ring could leverage, but I'm not familiar
with the details.
Cheers, Jay
On Sat, Mar 17, 2012 at 7:23 PM, Brian
On Sun, Mar 18, 2012 at 21:04, Jimmy jimmy.co...@gmail.com wrote:
Hi,
I would like to generate a hashmap from a string. The key portions of
the string will have some a prefix such as @ to define that they are
a key. So the following string
@key1 this is a value @another-key and another
Explanation/clarification added to the ticket.
--
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 - please be patient with your
first post.
To
Yes, all talks were recorded and will be released on http://infoq.com
starting in about 3 weeks on a rolling basis.
Alex
On Sunday, March 18, 2012 1:12:41 PM UTC-5, Las wrote:
Hi,
will the videos of the talks be available for those who did not make it to
the conference?
thx
--
Clojure-related posts/presentations from InfoQ should be automatically
propagated to Planet Clojure...
On Mon, Mar 19, 2012 at 3:33 PM, Alex Miller a...@puredanger.com wrote:
Yes, all talks were recorded and will be released on http://infoq.com
starting in about 3 weeks on a rolling basis.
I saw there was a GSoC 2012 unsession at Clojure/West, how'd that go?
Anybody want to summarize?
David
On Fri, Mar 16, 2012 at 10:10 PM, Baishampayan Ghose b.gh...@gmail.comwrote:
Woohoo! Huge win.
Psst, can I be a mentor? May be an assistant mentor? I don't have any
specific project idea
On Sat, Mar 17, 2012 at 5:59 PM, Andru Gheorghiu androi...@gmail.comwrote:
Hello,
I am a third year student majoring in computer science and I am
interested in the Clojure code optimizer project proposed for GSoC
2012. Could you please give more details (or examples) on the types of
I've got my copy of Cormen, Leiserson, and Rivest's book with me now, which is
the 3rd edition, and looking in the index under persistent it does have one
exercise in chapter 13 on that topic, and a mention later in the book that is a
paragraph or two long with a reference to a research paper.
This book:
Purely Functional Data Structures
http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf
is a good read.
Though, It only contains a small reference (half a page) about persistent data
structures.
On Mar 19, 2012, at 7:28 PM, Andy Fingerhut wrote:
I've got my copy of Cormen, Leiserson, and
On Mar 15, 12:21 pm, Phil Dobbin phildob...@gmail.com wrote:
On 14/03/2012 18:24, John Gabriele wrote:
I wrote a [brief beginner's guide to Clojure][1] that might interest
those who are brand new to Clojure.
[snip]
Thanks for this, John.
You're welcome, Phil. Feedback is, of course,
Hi!
I'm a beginner at clojure and enjoying the learning process. While writing
my first nontrivial program, I noticed that I'm transforming only first
elements in the list, so I factored this transformation out by writing next
function:
(defn map-first [f coll]
(map #(cons (f (first %))
I am writing a game in Clojure, and I often need some functions to return
whether they succeeded in doing what they are supposed to do (for example,
moving that unit one field to the left may fail due to... I don't know, a
wall?).
But if there is one thing I really like about LISPs is the idea
I pushed the patch to my fork on github in this commit:
https://github.com/aaronc/clojurescript/commit/3193ed6e27061765782da32d36a63b0f7630f5e9
Should I submit a pull request?
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
On Mar 16, 10:19 pm, John Collins johnben...@gmail.com wrote:
I copied the clojurescript one project and made changes to the html files.
When I do (go) after `lein repl` I get errors in the browser about not
being able to resolve some namespaces. And also the wiki makes no mention
how to
I am in discussion with James, but it's very high-level at the moment and
no work has been done on integration yet.
I don't think it'll get into the next tagged release of Ring (1.1) in time,
as that's likely to be released fairly soon once the current set of issues
are cleared up.
On 19 March
On Mon, Mar 19, 2012 at 1:36 PM, Aaron aaroncrael...@gmail.com wrote:
I pushed the patch to my fork on github in this commit:
https://github.com/aaronc/clojurescript/commit/3193ed6e27061765782da32d36a63b0f7630f5e9
Should I submit a pull request?
Clojure doesn't take pull requests. Have you
On Sunday, March 18, 2012 9:07:54 PM UTC-4, Brent Millare wrote:
this form is still unreadable by default, but with tagged literals, allows
users to define custom reader behavior per class.
#java.class.name [args*]
That syntax is already used for defrecords.
Clojure 1.4.0-beta2
user=
Alex, I never signed the release (my apologies) - but I'm fine with it... any
alt. release I can provide?
Bill
-
On Mar 19, 2012, at 9:33 AM, Alex Miller a...@puredanger.com wrote:
Yes, all talks were recorded and will be released on http://infoq.com
starting in about 3 weeks on a
If the success/failure of the function makes sense to represent in game-world
terms, you could encode the information in the world object, perhaps as a flag
that can be attached to the relevant object. In your example, the unit might be
given a state with the value :blocked, indicating that
I liked approach 2 myself, if the goal is to stick with pure functions when it
isn't too difficult. It avoids the comparison of 1, and gets you back exactly
the info you want to go onwards from there.
You can add a caveat that I haven't written a lot of application code with
Clojure, so
Hi,
Am Montag, 19. März 2012 11:56:28 UTC+1 schrieb Narvius:
1) Compare the old and new value - doesn't seem very efficient.
Just return the very same world state object? You can easily and insanely
fast decide whether it was changed by virtue of identical?. Then you
don't need any special
That syntax is already used for defrecords.
Clojure 1.4.0-beta2
user= (defrecord Foo [a b])
user.Foo
user= (read-string #user.Foo[1 2])
#user.Foo{:a 1, :b 2}
user=
Technically, there is no space with that method. As it is currently
implemented, tags are separated by a space between
On Mon, Mar 19, 2012 at 9:40 AM, Bojan bojandoli...@hotmail.com wrote:
Hi!
I'm a beginner at clojure and enjoying the learning process. While writing
my first nontrivial program, I noticed that I'm transforming only first
elements in the list, so I factored this transformation out by writing
On Mon, Mar 19, 2012 at 3:56 AM, Narvius narv...@gmail.com wrote:
2) Return [new-state success?] instead of just new-state - requires too much
acrobatics from the user of the function (which is still me, but whatever).
Destructuring makes it easy to work with multi-value returns:
(let [[state
I read this and wondered why you care? Isn't it sufficient to return
the new world state? You could use identical? as someone suggested but
why bother? It sounds like the player should be able to keep bumping
into the wall if they keep making the same move.
I am just curious why the problem is
On Mar 16, 2012, at 10:05 AM, Niels van Klaveren wrote:
AFAIK there's not much projects focussing on 3D in Clojure, but you can take
a look at processing (http://processing.org) and one of it's Clojure
wrappers. It's a great little language for 2D/3D visuals, and there's plenty
of
Hi Andru and thank you for expressing interest in this proposal.
Could you please give more details (or examples) on the types of
optimizations the optimizer should be able to do? Also, what is a tree
shaker implementation?
As David wrote, this is dead code elimination and in LISP world
On Mon, Mar 19, 2012 at 3:56 AM, Narvius narv...@gmail.com wrote:
I see several ways to achieve what I want, that is to return both the new
world state and success status.
1) Compare the old and new value - doesn't seem very efficient.
Probably not as inefficient as you think. Identical
On Mar 19, 2012, at 5:31 PM, Michael Gardner wrote:
Or the simplest option: just have your functions return nil to indicate that
the world state should remain unchanged from its previous value.
If your world state is a hash-map, you could also return partial states and
merge them into the
On Mon, Mar 19, 2012 at 7:14 PM, jk john.r.kru...@gmail.com wrote:
I read this and wondered why you care? Isn't it sufficient to return
the new world state? You could use identical? as someone suggested but
why bother? It sounds like the player should be able to keep bumping
into the wall if
If you are going to use processing from Clojure, you'll want to
checkout Quil:
https://github.com/quil/quil
It's a more Clojure friendly take on processing sketches, and it's a
lot less painful to get up and running.
-Jeff
On Mar 19, 4:15 pm, Lee Spector lspec...@hampshire.edu wrote:
On Mar
Hi all,
The first non-snapshot release of ringMon 0.1.1 is now in Clojars.
The demo is at http://noirmon.herokuapp.com/ringmon/monview.html
The source is at https://github.com/zoka/ringMon/
Regards
Zoka
--
You received this message because you are subscribed to the Google
Groups Clojure
Hi all.
The first non-snapshot release of ringMon 0.1.1 is available at
Clojars.
The ringMon is a Ring middleware that can be easily added to an
existing Ring based application.
It injects a monitoring page that displays application data of
interest (JMX and derived values). The page also
34 matches
Mail list logo