Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Konrad Hinsen
--On 29 avril 2013 22:54:12 +0200 Jonathan Fischer Friberg wrote: Reading about this, yes, but there is hope: http://morepypy.blogspot.se/2012/08/multicore-programming-in-pypy-and.html Indeed, Pypy may become a good solution for multicore parallelism in Python. However, 1) We are not the

Re: clojure/script web framework?

2013-04-29 Thread Murtaza Husain
webfui is another framework you can look at. I have a sample using it at github.com/murtaza52/mashup pedestal.io is another shiny new framework, which has a solid backing and is very promising. On Tuesday, April 30, 2013 6:02:59 AM UTC+5:30, Erlis Vidal wrote: > > I've been playing with htt

Re: [ANN] Grojure, a Java/C# syntax atop Clojure using Kern

2013-04-29 Thread Armando Blancas
Thanks; glad to know the lib's working well. It'll be interesting to see how Clojure semantics like immutability, closures, and programming with values start to take hold in more languages and tools. On Monday, April 29, 2013 3:57:04 PM UTC-7, Gavin Grover wrote: > > Armando, I intend to keep Gr

Re: login with friend, but username blank, despite keyword-params middleware in place

2013-04-29 Thread Nelson Morris
The part of the middleware stack that looks like: (-> (wrap-params) (wrap-nested-params) (wrap-keyword-params)) is in the wrong order. It needs to be (-> (wrap-keyword-params) (wrap-nested-params) (wrap-params)) The response having :params {"" n

Re: clojure/script web framework?

2013-04-29 Thread Erlis Vidal
I've been playing with http://clojurescriptone.com/ and I like it a lot. here you have a direct link to the wiki page https://github.com/brentonashworth/one/wiki On Mon, Apr 29, 2013 at 6:15 PM, Mimmo Cosenza wrote: > Hi Justin, > perhaps you could find some help in > https://github.com/magomim

Re: testing for nil may not be enough

2013-04-29 Thread John D. Hume
On Apr 29, 2013 1:07 PM, "Jonathan Fischer Friberg" wrote: > > If you don't want to set the initial value to nil, set it to ::unbound or similar. Should be very > hard to accidentally bind the same value. Please take Jonathan's advice if nil is a valid value for a user to bind; use nil as the ini

Re: [ANN] Grojure, a Java/C# syntax atop Clojure using Kern

2013-04-29 Thread Gavin Grover
Armando, I intend to keep Grojure as single-pass, unlike what you did with Eisen, so people can easily see a matchup between the Kern combinators and the Clojure macros when looking at the source. I still need to reduce the (at times) exponential backtracking a lot so Grojure will become a more

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Colin Fleming
I guess you could go for a middle ground where you run a JVM instance per 8 cores or so, which would minimise your intercommunication but still reduce your GC contention. Of course as soon as (> num-jvms 1) you have to write all the communication and deployment code anyway so it might not be a big

Re: a tutorial for working at the repl?

2013-04-29 Thread noahlz
On Monday, April 29, 2013 6:07:34 PM UTC-4, larry google groups wrote: > > > I am no longer a total beginner at Clojure, but I find I still get badly > confused by some issues at the repl (namesspaces, classpath, dependencies, > etc). Can anyone point me to a good tutorial about working at the

Re: Understanding unmatched parenthesis in read-string

2013-04-29 Thread Ben Wolfson
On Mon, Apr 29, 2013 at 3:21 PM, noahlz wrote: > I'm guessing vectors are safer than lists for passing to eval? > They're equally unsafe. -- Ben Wolfson "Human kind has used its intelligence to vary the flavour of drinks, which may be sweet, aromatic, fermented or spirit-based. ... Family and

Re: Understanding unmatched parenthesis in read-string

2013-04-29 Thread noahlz
On Monday, April 29, 2013 6:07:01 PM UTC-4, Cedric Greevey wrote: > > > If you want to exhaust read-string's input argument, getting back a vector > of all of the objects in the input and an error if any of them are > syntactically invalid, just call (read-string (str "[" in-string "]")). > Th

Re: clojure/script web framework?

2013-04-29 Thread Mimmo Cosenza
Hi Justin, perhaps you could find some help in https://github.com/magomimmo/modern-cljs. I still have to complete few more tutorials covering enlive, enfocus, clojusrescript testing and friend, but it already covers a lot, I think, to become productive with clj-cljs. It's not a framework. To m

a tutorial for working at the repl?

2013-04-29 Thread larry google groups
I am no longer a total beginner at Clojure, but I find I still get badly confused by some issues at the repl (namesspaces, classpath, dependencies, etc). Can anyone point me to a good tutorial about working at the repl? -- -- You received this message because you are subscribed to the Goo

Re: Understanding unmatched parenthesis in read-string

2013-04-29 Thread Cedric Greevey
On Mon, Apr 29, 2013 at 5:02 PM, Ben Wolfson wrote: > On Mon, Apr 29, 2013 at 1:57 PM, noahlz wrote: > >> Ok. The parser reads a single complete expression and discards the rest. >> It understands that once it has hit a new character that represents the >> beginning of a new expression, it doesn

clojure/script web framework?

2013-04-29 Thread serialhex
hi all, i've been looking into doing a project i have in mind in clojure & clojurescript, and i'm having trouble finding a decent framework to bootstrap me. i'm fairly new to clojure but i really want to get my feet wet. i looked at pedestal but there aren't any good tutorials (yet). i've heard

[ANN] Alembic, a library for adding dependencies to your REPL classpath

2013-04-29 Thread Hugo Duncan
Alembic [1] is a library for adding dependencies to your REPL classpath. It adds minimal dependencies to your project, while still allowing resolving of dependencies from clojars, etc. It builds on top of lein, pomegranate and classlojure. It records added dependencies, so you can query them fo

Re: login with friend, but username blank, despite keyword-params middleware in place

2013-04-29 Thread Chas Emerick
There's too much here for me to comb through. A couple of things: https://friend-demo.herokuapp.com/interactive-form is a complete demo application that uses Friend's interactive-form workflow. You might have seen this already; if not, it's a good starting point. Second, try adding a verbose

Re: Understanding unmatched parenthesis in read-string

2013-04-29 Thread Ben Wolfson
On Mon, Apr 29, 2013 at 1:57 PM, noahlz wrote: > Ok. The parser reads a single complete expression and discards the rest. > It understands that once it has hit a new character that represents the > beginning of a new expression, it doesn't care. > > I suppose I thought the parser would raise an e

Re: Using a Java game engine in my project

2013-04-29 Thread AtKaaZ
that seems unsafe. I'd rather use a nightly zip or what I am currently using, jme3 engine as project in eclipse and when needed ant build it and have my project always refer to the lib folder in the dist ie. I've these 2 lines in my project: :bootclasspath false;false is needed here for JME3 sp

Re: Understanding unmatched parenthesis in read-string

2013-04-29 Thread noahlz
Ok. The parser reads a single complete expression and discards the rest. It understands that once it has hit a new character that represents the beginning of a new expression, it doesn't care. I suppose I thought the parser would raise an error on detecting an unmatched parenthesis, but that's

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Jonathan Fischer Friberg
Reading about this, yes, but there is hope: http://morepypy.blogspot.se/2012/08/multicore-programming-in-pypy-and.html Jonathan On Mon, Apr 29, 2013 at 10:45 PM, Timothy Baldridge wrote: > But as Konrad pointed out, the python VM (and the pypy vm) offers nothing > that JVMs don't support bette

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Timothy Baldridge
But as Konrad pointed out, the python VM (and the pypy vm) offers nothing that JVMs don't support better. Everything from concurrency to the GC is implemented better in the JVM. Timothy On Mon, Apr 29, 2013 at 2:41 PM, Jonathan Fischer Friberg < odysso...@gmail.com> wrote: > On Mon, Apr 29, 201

Re: Understanding unmatched parenthesis in read-string

2013-04-29 Thread Ben Wolfson
Because "1000N" is a complete expression, as you can verify with your REPL. On Mon, Apr 29, 2013 at 1:43 PM, noahlz wrote: > Understood, but what I was wondering is why the trailing parenthesis is > discarded / not considered part of the "object" expression? > > > On Monday, April 29, 2013 4:32

Re: Understanding unmatched parenthesis in read-string

2013-04-29 Thread noahlz
Understood, but what I was wondering is why the trailing parenthesis is discarded / not considered part of the "object" expression? On Monday, April 29, 2013 4:32:49 PM UTC-4, Weber, Martin S wrote: > > > user=> (doc read-string) > - > clojure.core/read-string > ([s]) >

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Jonathan Fischer Friberg
On Mon, Apr 29, 2013 at 5:25 PM, Konrad Hinsen < googlegro...@khinsen.fastmail.net> wrote: > --On 29 avril 2013 09:09:27 -0400 Lee Spector > wrote: > > On Apr 29, 2013, at 9:01 AM, Jonathan Fischer Friberg wrote: >> >> You could always give >> https://github.com/halgari/**clojure-py

Re: Understanding unmatched parenthesis in read-string

2013-04-29 Thread Weber, Martin S
user=> (doc read-string) - clojure.core/read-string ([s]) Reads *one* object from the string s nil (emphasis on *one* by me) one object from ":a(" = :a; ":a)" = :a; "( … " = fail; ")…" = fail. (remember whitespace in front of a paren doesn't matter) Have fun. From: noa

Understanding unmatched parenthesis in read-string

2013-04-29 Thread noahlz
(Disclaimer: I post this aware that read-string is considered dangerous for untrusted code and having starred tools.reader) I was writing some code using read-string and encountered the following (somewhat odd?) behavior: Clojure 1.5.1 user=> (read-string "1000N(") 1000N user=> (read-string "10

Re: Using a Java game engine in my project

2013-04-29 Thread Jonathan Fischer Friberg
I'm currently making a library for jmonkeyengine. It's not ready yet, however, a while back I decided to put jme in a repository. Url: "http://jmonkeyengine.s3-website-eu-west-1.amazonaws.com/"; Add to deps: [jme "2013-04-01"] The biggest problem with it right now is that it contains all test mod

[ANN] Himilsbach 0.0.1 is released

2013-04-29 Thread Jan Stępień
Dear Clojurians, I'm very happy to announce Himilsbach 0.0.1. Himilsbach is a tiny actor library for intra-process messaging inspired by Erlang. Find it at https://github.com/jstepien/himilsbach Your feedback is very much appreciated! All the best, -- Jan Stępień -- -- You received this me

[GSoC 2013] Learning resource

2013-04-29 Thread Andrew Kondratovich
Hello. It's probably late, but I want to offer to community a GSoC project idea. Recently, I took a part in a short Clojure courses, which were organized on pure enthusiasm by Dmitry Bushenko. There were a lot of people interested in it. Most of them didn't not know where to start but they want

Re: Using a Java game engine in my project

2013-04-29 Thread AtKaaZ
That's awesome! Thanks James! On Mon, Apr 29, 2013 at 10:46 PM, James Reeves wrote: > I've been messing around with jME3 as well, and at some point I might > release a library for it. > > One of the problems with jME3 is that its deployment mechanism hasn't > quite caught up with the current ce

Re: Using a Java game engine in my project

2013-04-29 Thread James Reeves
I've been messing around with jME3 as well, and at some point I might release a library for it. One of the problems with jME3 is that its deployment mechanism hasn't quite caught up with the current century. I'm planning on packaging it up eventually, but in the meantime here's the ugly, dirty, te

ANN Elastisch 1.1.0-rc1 is released

2013-04-29 Thread Michael Klishin
Elastisch [1] is a small, feature complete, well documented Clojure client for ElasticSearch. 1.1 includes a number of new features, most notably: * Native client with the same API as the REST one * Scroll queries support * Bulk operations support Release notes: http://blog.clojurewerkz.org/b

Re: Using a Java game engine in my project

2013-04-29 Thread AtKaaZ
Hi, I've been planning on trying the instructions/code from [1] with regard to jme3 and clojure but I haven't got there yet. Does that help you ? There's also this project [2] which uses jme3 in clojure. The last time I tried it I was able to get a window and a 3D scene. [1] http://aurellem.org/

Re: login with friend, but username blank, despite keyword-params middleware in place

2013-04-29 Thread larry google groups
After the failed login, I am redirected here: http://localhost:30001/login?&login_failed=Y&username= and where I pprint the request, I see this in the terminal: :params {"" nil, "login_failed" "Y", "username" ""}, On Monday, April 29, 2013 3:09:09 PM UTC-4, larry google groups wrote: > >

Using a Java game engine in my project

2013-04-29 Thread Alex Fowler
Hello! I have a problem, I will try to explain.. I want to write a game with Clojure and JMonkeyEngine (http://jmonkeyengine.com/). So I take their latest nightie set of jars (http://jmonkeyengine.com/nightly/) and what? I can't make use of them in my CCW/Leiningen project no matter how har

Re: login with friend, but username blank, despite keyword-params middleware in place

2013-04-29 Thread larry google groups
I will re-phrase the question. Can anyone suggest a reason why the form params would be not register with these middlewares in place? (def app (-> app-routes (friend/authenticate {:workflows [(workflows/interactive-form)] :credential-fn (partial creds/bcrypt-

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Cesar Pinera
There's no Java option for using the Intel Xeon Phi yet. When I wanted to try them with my Clojure code (I work for Intel) I was told I would have to work directly with the native APIs. So no luck there yet. On Sat, Apr 27, 2013 at 7:51 PM, Cedric Greevey wrote: > https://en.wikipedia.org/wiki/

Re: [ANN] Grojure, a Java/C# syntax atop Clojure using Kern

2013-04-29 Thread Baishampayan Ghose
Very nice work! ~BG On Mon, Apr 29, 2013 at 10:11 AM, Gavin Grover wrote: > Grojure is a Java/C#/Groovy-like syntax atop Clojure using the Kern parser > combinator library. It's also of interest as an example grammar for those > using Kern to build their own grammars. > > Available from https://g

Re: testing for nil may not be enough

2013-04-29 Thread Jonathan Fischer Friberg
If you don't want to set the initial value to nil, set it to ::unbound or similar. Should be very hard to accidentally bind the same value. Jonathan On Mon, Apr 29, 2013 at 8:04 PM, AtKaaZ wrote: > the pain with that is that it wouldn't work inside a function where a > would be the function pa

Re: testing for nil may not be enough

2013-04-29 Thread AtKaaZ
the pain with that is that it wouldn't work inside a function where a would be the function parameter, ok it would work in a macro but inside a function... that would be interesting to see On Mon, Apr 29, 2013 at 9:01 PM, Sean Corfield wrote: > Try this: > > user=> (def a) > #'user/a > user=> (b

Re: testing for nil may not be enough

2013-04-29 Thread Sean Corfield
Try this: user=> (def a) #'user/a user=> (bound? (var a)) false user=> (def a nil) #'user/a user=> (bound? (var a)) true Sean On Mon, Apr 29, 2013 at 8:32 AM, AtKaaZ wrote: > How do you guys handle the cases when the var is unbound? I mean > specifically in the cases where you just test if the

Re: [ANN] Grojure, a Java/C# syntax atop Clojure using Kern

2013-04-29 Thread Armando Blancas
Nice work, Gavin. Grojure is a good example why Clojure is an excellent UNCOL for the JVM, so some of us will depend less on the ASM lib. Your parser illustrates how to use grammar actions for writing a very compact one-pass translator; pretty cool. On Sunday, April 28, 2013 9:41:00 PM UTC-7, G

Re: testing for nil may not be enough

2013-04-29 Thread AtKaaZ
thank you, I'll look into protocols On Mon, Apr 29, 2013 at 7:54 PM, Gary Trakhman wrote: > You would only need a macro if you want to pass in 'a' and mean #'a. > Syntactic abstraction. Like I said, I'd make the implementation > polymorphic on that value via a protocol so you're not special-ca

Re: testing for nil may not be enough

2013-04-29 Thread Gary Trakhman
You would only need a macro if you want to pass in 'a' and mean #'a. Syntactic abstraction. Like I said, I'd make the implementation polymorphic on that value via a protocol so you're not special-casing it within the function itself. Protocols are open for extension so someone else could come al

Re: testing for nil may not be enough

2013-04-29 Thread AtKaaZ
oh right, you mean that I should pass the var like (decorate #'a), I didn't get that when I first read it. But suppose I'm just passing the whatever-that-is (value?) like (decorate a) do I need to use a macro inside the decorate function to check if the passed thing is an unbound var? On Mon, Apr

Re: testing for nil may not be enough

2013-04-29 Thread AtKaaZ
I'm thinking of a hacky way of doing it... (def a nil) (def b) => (defn x [in] (when (not (nil? in)) (.v in))) #'clojurewerkz.titanium.graph-test/x => (x b) #'clojurewerkz.titanium.graph-test/b => (x a) nil On Mon, Apr 29, 2013 at 7:31 PM, Gary Trakhman wrote: > If you're passing the va

Re: testing for nil may not be enough

2013-04-29 Thread Jim - FooBar();
funny you should mention that!!! that is exactly what I meant by 'my fault'...I've come to realise that dynamic scope is almost evil, thus I go to great lengths to avoid it completely...in the rare cases where I do use it I always make sure it is bound to a init/default value :) Jim On 29/04

Re: testing for nil may not be enough

2013-04-29 Thread Gary Trakhman
If you're passing the var itself, I don't see why you'd need a macro. If you want to check the namespace for a var matching an unquoted symbol, you could do that in a macro. On Mon, Apr 29, 2013 at 12:29 PM, AtKaaZ wrote: > Seems like a good idea to have the root binding be nil. How would you

Re: testing for nil may not be enough

2013-04-29 Thread AtKaaZ
Seems like a good idea to have the root binding be nil. How would you make it check for bound inside the function? do we need some kind of macro? On Mon, Apr 29, 2013 at 7:23 PM, Gary Trakhman wrote: > Why not make the root binding nil? If your decorate function is supposed > to handle all vars

Re: testing for nil may not be enough

2013-04-29 Thread Gary Trakhman
Why not make the root binding nil? If your decorate function is supposed to handle all vars, then they have to deal with the unbound case as that's part of the contract of vars. If it's a generic thing, then maybe make a multimethod or protocol for it. On Mon, Apr 29, 2013 at 12:17 PM, AtKaaZ

Re: testing for nil may not be enough

2013-04-29 Thread AtKaaZ
I'm thinking something like (def ^:dynamic *a*) where it would make more sense that it's unbound at first On Mon, Apr 29, 2013 at 7:00 PM, Jim - FooBar(); wrote: > I 've found that whenever I get a var-unbound exception it is almost > always my fault and my fault only...why would you do (def a)

Re: testing for nil may not be enough

2013-04-29 Thread Jim - FooBar();
I 've found that whenever I get a var-unbound exception it is almost always my fault and my fault only...why would you do (def a) anyway? Jim On 29/04/13 16:32, AtKaaZ wrote: How do you guys handle the cases when the var is unbound? I mean specifically in the cases where you just test if the

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Lee Spector
On Apr 29, 2013, at 11:25 AM, Konrad Hinsen wrote: >> Is there evidence that code written/run this way will perform >> particularly well? > > No. The Python VM has a global interpreter lock that prevents parallel > execution of Python bytecode. If you want to parallel processing in Python > (m

testing for nil may not be enough

2013-04-29 Thread AtKaaZ
How do you guys handle the cases when the var is unbound? I mean specifically in the cases where you just test if the var is nil. => (def a) #'clojurewerkz.titanium.graph-test/a => a # => (nil? a) false => (bound? a) ClassCastException clojure.lang.Var$Unbound cannot be cast to clojure.lang.Var

Re: Clojure special forms

2013-04-29 Thread David Simmons
Hi Both. Thank you for your prompt replies. Maybe I'm being purist but if one of the special forms is the dot you have all of Java to play with so presumably you could produce any of the other clojure functions. I thought that the special forms enabled you to produce all other elements of the l

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Konrad Hinsen
--On 29 avril 2013 09:09:27 -0400 Lee Spector wrote: On Apr 29, 2013, at 9:01 AM, Jonathan Fischer Friberg wrote: You could always give https://github.com/halgari/clojure-py a spin, might not be so easy to get everything working though. :) It might be worth it, if we could still write in C

Re: Failed to import java.text.Normalizer.Form

2013-04-29 Thread Hoàng Minh Thắng
On Monday, April 29, 2013 6:04:41 PM UTC+7, Meikel Brandmeyer (kotarak) wrote: > > Subclasses are accessed with $. java.text.Normalizer$Form/NFD Should do > the trick. Or (import 'java.text.Normalizer$Form) and Normalizer$Form/NFD. > > Kind regards > Meikel > > Great help. Thanks a lot -- -- Y

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Timothy Baldridge
Switching to python wouldn't really give much of a benefit. IIRC, if you read the thread that Lee posted, you will see that the JVM and Clojure performs just fine with 1 JVM per CPU. This is the same programming model as python with multiprocessing. Timothy On Mon, Apr 29, 2013 at 7:17 AM, Jim

Re: Image analysis library recommendations

2013-04-29 Thread Stathis Sideris
There is a Clojure wrapper for OpenCV: http://nakkaya.com/vision.html On Tuesday, 23 April 2013 19:54:20 UTC+1, Nils Blum-Oeste wrote: > > Hi, > > I would like to do some image analysis with clojure. So I am looking for > good libraries for that. > > Most important would be a good support for ima

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Jim
On 29/04/13 14:09, Lee Spector wrote: It might be worth it, if we could still write in Clojure and get good multicore utilization and good performance overall for our application. You would of course write in Clojure...the question then is to what extend CljureJVM's concurrency constructs you

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Lee Spector
On Apr 29, 2013, at 9:01 AM, Jonathan Fischer Friberg wrote: > You could always give https://github.com/halgari/clojure-py a spin, might not > be so easy to get everything working though. :) It might be worth it, if we could still write in Clojure and get good multicore utilization and good pe

Re: Clojure special forms

2013-04-29 Thread Baishampayan Ghose
Absolutely! Thanks Michael. Sent from phone. Please excuse brevity. On 29 Apr 2013 18:36, "Michael Klishin" wrote: > > 2013/4/29 Baishampayan Ghose > >> For the real special forms you will have to look at the Clojure >> compiler source starting from here - >> >> https://github.com/clojure/cloju

Re: Clojure special forms

2013-04-29 Thread Michael Klishin
2013/4/29 Baishampayan Ghose > For the real special forms you will have to look at the Clojure > compiler source starting from here - > > https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Compiler.java#L39 > or http://clojure-doc.org/articles/language/macros.html#special_forms

Re: Clojure special forms

2013-04-29 Thread Baishampayan Ghose
So reduce here is actually written in Java, hence the call to the .reduce method. It's perfectly possible to write reduce in pure Clojure today but it's probably not done that way because of performance reasons. For the real special forms you will have to look at the Clojure compiler source starti

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Jonathan Fischer Friberg
You could always give https://github.com/halgari/clojure-py a spin, might not be so easy to get everything working though. :) Jonathan On Mon, Apr 29, 2013 at 2:48 PM, Lee Spector wrote: > > On Apr 29, 2013, at 8:15 AM, Michiel Overtoom wrote: > > On Apr 28, 2013, at 05:36, Lee Spector wrote

Clojure special forms

2013-04-29 Thread David Simmons
Hi I am just setting out to learn Clojure (my 2nd attempt) and am starting to feel more comfortable with the language (and very excited about the possibilities). However, I'm reading Clojure Programming (Emerick, Carper and Grand) and read that Special forms are the primitive building blocks o

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Lee Spector
On Apr 29, 2013, at 8:15 AM, Michiel Overtoom wrote: > On Apr 28, 2013, at 05:36, Lee Spector wrote: > >> our experience running Clojure on 48-core machines was pretty depressing, >> with our speedups often being near zero or even negative > > Did you also do a test on that hardware with Python

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Michiel Overtoom
On Apr 28, 2013, at 05:36, Lee Spector wrote: > our experience running Clojure on 48-core machines was pretty depressing, > with our speedups often being near zero or even negative Did you also do a test on that hardware with Python w/ multiprocessing? Greetings, -- Test your knowledge of fl

Re: Connascence (from: Explain, don't document.)

2013-04-29 Thread AtKaaZ
Thank you very much. On Mon, Apr 29, 2013 at 10:42 AM, Rich Morin wrote: > A clean, if short (32 minute) version of Jim Weirich's talk on connascence > is again online at Confreaks (Thanks, Coby!). See: > > The Building Blocks of Modularity, aka > The Grand Unified Theory of Software Deve

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Dmitry Groshev
An Erlang fanboy here. There is very prevalent opinion that Erlang is about multicore and scalability and such. The truth is that it's completely wrong. Erlang wasn't even multithreaded until early 2000s (if I recall correctly); all it's "green threads" and "message passing" and such are design

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Phillip Lord
Cedric Greevey writes: > 50+ cores?! Clojure will leave every other language in the dust on > something like that, thanks to its inherently scaleable concurrency > constructs. Try writing a 50-threaded Java application without getting > deadlocks all over the place, or cheating and using very coar

Re: Failed to import java.text.Normalizer.Form

2013-04-29 Thread Meikel Brandmeyer (kotarak)
Subclasses are accessed with $. java.text.Normalizer$Form/NFD Should do the trick. Or (import 'java.text.Normalizer$Form) and Normalizer$Form/NFD. Kind regards Meikel -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send em

Failed to import java.text.Normalizer.Form

2013-04-29 Thread Hoàng Minh Thắng
I want to work with `java.text.Normalizer/normalize` which require some constansts named NFD, NFC etc. I could import java.text.Normalizer with this: ``` (import java.text.Normalizer) ``` but couldn't figure how to import and use the constansts from http://docs.oracle.com/javase/6/docs/api/java/tex

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Baishampayan Ghose
A dated but relevant discussion between Rich Hickey and Dr. Cliff Click, ex-CTO Azul Systems - http://www.azulsystems.com/blog/cliff/2008-05-27-clojure-stms-vs-locks Sent from phone. Please excuse brevity. On 28 Apr 2013 10:04, "Timothy Baldridge" wrote: > E-mail thread had less to do with issue

Re: Now *there*'s a machine made for Clojure.

2013-04-29 Thread Marko Topolnik
The benefit of Clojure are its built-in data and programming models, which are well-suited for the concise expression of concurrent computations. Since fighting the incidental complexity is, along many others, a very important concern in building concurrent apps, Clojure has an edge there over

Connascence (from: Explain, don't document.)

2013-04-29 Thread Rich Morin
A clean, if short (32 minute) version of Jim Weirich's talk on connascence is again online at Confreaks (Thanks, Coby!). See: The Building Blocks of Modularity, aka The Grand Unified Theory of Software Development http://confreaks.com/videos/77-mwrc2009-the-building-blocks-of-modularity J

Re: memorize-clj

2013-04-29 Thread Chris Ford
Jorge, reinventing the wheel is a very worthwhile pursuit. Maybe you'll come up with something new, and certainly you'll learn something. Thanks for sharing. Chris On 29 April 2013 08:23, Baishampayan Ghose wrote: > One more reason to read Clojure's source code. Trust me, it's surprisingly >