Cosmin Stejerean a écrit :
On Wed, May 20, 2009 at 7:04 PM, George Jahad
andr...@blackbirdsystems.net mailto:andr...@blackbirdsystems.net
wrote:
(def s1 (Symbol/create (.intern (first (.split user/n1 /)
will fix your problem.
That makes a lot of sense and I guess I should
On 21.05.2009, at 01:42, Raoul Duke wrote:
Seems like Haskell's laziness has an aura of it will bite you
performance-wise sooner or later. What is different (I'm asking
didactically, not snarkily) about Clojure's laziness? Does it manage
to avoid some aspects of the uh ohs in Haskell?
The
On May 18, 7:36 am, Rich Hickey richhic...@gmail.com wrote:
I'll be doing two sessions involving Clojure at JavaOne this June. One
is a traditional talk (TS-4164), the other is as a participant in the
Script Bowl 2009: A Scripting Languages Shootout (PAN-5348).
The 'script' bowl is a
On Thu, May 21, 2009 at 9:15 AM, Christophe Grand christo...@cgrand.net wrote:
Cosmin Stejerean a écrit :
On Wed, May 20, 2009 at 7:04 PM, George Jahad
andr...@blackbirdsystems.net mailto:andr...@blackbirdsystems.net
wrote:
(def s1 (Symbol/create (.intern (first (.split user/n1 /)
As they say on sports radio, long time listener, first time caller...
I am giving a talk at JavaOne on alternative language performance on
the JVM. I have written a couple of algorithms in Java, and then
mostly equivalent ones in Groovy, Ruby, Python, Scala, and Fan. I
would like to include
Thanks this also worked for me on my Aquamacs Clojure slime setup. I
added your code to the customization.el file in ~/Library/
Preferences/...
-Alen
On May 18, 7:14 pm, Paul Stadig p...@stadig.name wrote:
I just happened to be setting up emacs an a new Ubuntu install today. I
think it might
On May 21, 3:39 am, mikel mev...@mac.com wrote:
On May 18, 7:36 am, Rich Hickey richhic...@gmail.com wrote:
I'll be doing two sessions involving Clojure at JavaOne this June. One
is a traditional talk (TS-4164), the other is as a participant in the
Script Bowl 2009: A Scripting
On Thu, May 21, 2009 at 4:59 AM, michaelg mike...@gmail.com wrote:
So if anyone would like to help, I would be very appreciative. All I
can offer is recognition in my JavaOne talk. All I ask from the
implementations is that they try to stay true to how the Java version
worked, while also
On Thu, May 21, 2009 at 3:35 AM, Michael Wood esiot...@gmail.com wrote:
On Thu, May 21, 2009 at 9:15 AM, Christophe Grand christo...@cgrand.net
wrote:
Cosmin Stejerean a écrit :
On Wed, May 20, 2009 at 7:04 PM, George Jahad
andr...@blackbirdsystems.net
I have just tried my setup on both OSX and Ubuntu .. (with Paul's
modifications) .. and there is something seriously wrong with my way
of using clojure-mode to bootstrap the whole installation.
I am looking at the same error-messages as described in my original
post, on additional two different
I'm guessing glitz and visual impact is what's going to wow the crowd,
especially in that environment, where it's likely that most people are
steeped in business applications.
Perhaps using one of the clojure-processing wrappers to do some
outrageously-slick data visualization, and then
The duck streams library should give some examples the Java crowd will
be ready to appreciate. That, or maybe use the with-open macro.
My $.02
On May 21, 7:42 am, Rich Hickey richhic...@gmail.com wrote:
On May 21, 3:39 am, mikel mev...@mac.com wrote:
On May 18, 7:36 am, Rich Hickey
klang karstenl...@gmail.com writes:
There is still something obvious that I am missing, to get origin/
master working, but at least I am missing it consistently on three
operating systems, yay me! :-)
I think swank-clojure will have to be updated to support the latest
origin/master; there
On May 21, 10:38 am, Chas Emerick cemer...@snowtide.com wrote:
I'm guessing glitz and visual impact is what's going to wow the crowd,
especially in that environment, where it's likely that most people are
steeped in business applications.
Perhaps using one of the clojure-processing
Modifying the running Java application is definitely a big plus and
attraction.
Also, showing off the features in the mainstream IDEs tells the Java
developer that it is very easily approachable and participate in the
whole classpath and tight integration with Java. Telling them how Java
and
I'd like to echo Laurent's words - getting rid of boiler plate code is
tops.
Quite an old example which I think demonstrates this well:
http://clojure.googlegroups.com/web/2c-calculator.clj
Most people are familiar with the code explosion that buttons and
action listeners usually involve.
[it
On 21.05.2009, at 15:38, aperotte wrote:
Though I can't say I've thoroughly tested this, the intended
functionality is that you provide a nested structure and you specify
the shape of the units with the first argument.
Ah, I see. I didn't try that at all.
2) Shapes and indices are all int,
http://fupeg.blogspot.com/2009/05/javaone-talk-word-sort.htmlhttp://fupeg.blogspot.com/2009/05/javaone-talk-ruby-word-sort.html
(sort-by #(.toLowerCase %) (.split (slurp words.txt) )
implementations:http://fupeg.blogspot.com/2009/05/javaone-talk-prime-sieve.html
CG had a very nice
I'd like to do something modest but distinguishing. I have a vague
notion of showing some Clojure data originating in some XML off the
web, being passed to some filtering/walking code, getting displayed,
stored in a DB, all without specific DOM/model/recordset APIs, a
couple of lines for
Here's the magic incantation for using wget to pull a useful copy (no
postprocessing required!):
wget -krmnp -E -X/page,/message --no-check-certificate -P target
https://clojure.org
replace target with the directory where you want the output and you're
off to the races.
Thanks to Kresimir
This only works (for now) when using an alternative fork of clojure-
mode
git clone git://github.com/technomancy/clojure-mode.git
.. that's why I got the same error messages consistently on both XP,
OSX and Ubuntu ..
/klang
On May 18, 8:40 pm, klang karstenl...@gmail.com wrote:
Using my
klang karstenl...@gmail.com writes:
This only works (for now) when using an alternative fork of clojure-
mode
git clone git://github.com/technomancy/clojure-mode.git
.. that's why I got the same error messages consistently on both XP,
OSX and Ubuntu ..
I was able to contact jochu (the
Hi guys,
I have some evil thoughts of using Clojure as a java library so that i
can use both the STM and the persistent data structures in projects
that my team of java developers can work with.
As much as I'd like to get the team coding in Clojure properly, I have
enough trouble selling the
Try here:
http://code.google.com/p/clojure/source/browse/
Brett Morgan wrote:
Hi guys,
I have some evil thoughts of using Clojure as a java library so that i
can use both the STM and the persistent data structures in projects
that my team of java developers can work with.
As much as I'd
Hi,
I noticed that one part of my code was being obscenely slow, so I set
*warn-on-reflection* to true.
(let [b (byte 30)]
( b 30))
gives Reflection warning, NO_SOURCE_PATH:498 - call to gt can't be
resolved.
But:
(let [b (int 30)]
( b 30))
Is there a reason for having a byte-overloaded
On May 21, 6:42 am, Rich Hickey richhic...@gmail.com wrote:
On May 21, 3:39 am, mikel mev...@mac.com wrote:
On May 18, 7:36 am, Rich Hickey richhic...@gmail.com wrote:
I'll be doing two sessions involving Clojure at JavaOne this June. One
is a traditional talk (TS-4164), the
Speaking of walking/filtering code, what about walking _actual_ code?
The only thing off the top of my mind would be an example of, say, a Hello
World function, but with the code represented as a JTree. Say, in the
function (pr (.toLowerCase Hello World)), you'd see .toLowerCase as a
node.
You would think with Clojure's ability to make use of mutli cpu
hardware it would be a good choice for high-end game development.
Does anyone know if big game studios like Electronic Arts are using or
looking into Clojure for this purpose?
--~--~-~--~~~---~--~~
Hi everyone,
I'm just wondering where the equivalent of the operator is for
Clojure. I need it to do a divide-by-power-of-2 on unsigned bytes.
-Patrick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Clojure
Can't be done using the standard Java library. You'll have to write
some JNI code or find a JNI library.
On May 20, 4:32 am, prhlava prhl...@googlemail.com wrote:
Hello,
Apologies for off topic post.
I would like to send and receive raw ethernet frames from Clojure.
So far, I found:
Game developement?
Definitely possible. I was even thinking of finding a way to bridge Clojure
with the Android platform
Electronic Arts?
Most likely not.
On Thu, May 21, 2009 at 2:35 PM, tcg tomgu...@gmail.com wrote:
You would think with Clojure's ability to make use of mutli cpu
hardware
Show how you can run a demo with a bug in it, trigger the bug, to
cause a break, fix the bug while in the break, and resume the demo
with the corrected code.
You can do that? What do Fix the bug while in the break mean? I know you
could do that in Common Lisp. I'd love to know how that
Check out clojure.org - focus on java interop, compilation and class
generation. Mark Volkmann's
http://java.ociweb.com/mark/clojure/article.html has a good general
clojure overview and nice examples. Gen-class and proxy are the main
tools you'll need for exposing your clojure libraries as java
Quite an old example which I think demonstrates this well:
http://clojure.googlegroups.com/web/2c-calculator.clj
the fourth line can be combined with the third line for even more
conciseness, no?
--~--~-~--~~~---~--~~
You received this message because you are
Game developement?
Some work has been done on using clojure with jogl (the java opengl
library) Search this forum with jogl for details.
with the Android platform
I'm pretty sure there is also an android implementation of clojure.
Again, search this forum for android.
Rgds, Adrian.
On Fri,
... impact part can be merged with the business application mindset by
generating a report that includes the data visualization (I think PDF
generation is built into processing).
I've been doing some work with enlive and XHtmlRenderer - it's a
pretty awesome way of generating (business, media,
Here is a more direct translation with type hints:
(with-open [r (new java.io.BufferedReader (new java.io.FileReader
words.txt))]
(sort-by #(.toLowerCase #^String %)
(mapcat #(.split #^String % ) (line-seq r
With the obvious advantage of not reading the file as a string.
37 matches
Mail list logo