Re: Clojure at JavaOne

2009-05-22 Thread David Powell
On Thu 21/05/09 17:43 , Rich Hickey richhic...@gmail.com sent: 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

Re: Clojure at JavaOne

2009-05-22 Thread Rich Hickey
On May 21, 11:38 pm, Adrian Cuthbertson adrian.cuthbert...@gmail.com wrote: ... 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

Re: Clojure at JavaOne

2009-05-22 Thread Rich Hickey
On May 22, 7:16 am, Rich Hickey richhic...@gmail.com wrote: On May 21, 11:38 pm, Adrian Cuthbertson adrian.cuthbert...@gmail.com wrote: ... impact part can be merged with the business application mindset by generating a report that includes the data visualization (I think PDF

Re: Clojure at JavaOne

2009-05-22 Thread Mark Derricutt
I did something similar the other week: http://www.talios.com/connecting_the_clouds__the_internet_in_new_zealand_in_pdf.htm Using clj_web_crawler and XHtmlRenderer to make a PDF of a locally available book (in wiki format) on the history of the New Zealand Internet. On Fri, May 22, 2009 at

Re: Clojure at JavaOne

2009-05-22 Thread Brian Doyle
I have a one pagish program that you pass in your screen resolution and it randomly picks out a new desktop image from ftp.gnome.org, downloads the image and updates your desktop. This assumes your using Gnome.

Re: Clojure at JavaOne

2009-05-22 Thread Christophe Grand
Rich Hickey a écrit : Actually, let me extend that invitation - if anyone's got a small (one-page-ish) Clojure program that does something interesting, and are willing to have it demonstrated at JavaOne, please paste it somewhere and post a note here. I'm dabbling with a quick and dirty

Re: Clojure at JavaOne

2009-05-21 Thread mikel
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

Re: Clojure at JavaOne

2009-05-21 Thread Rich Hickey
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

Re: Clojure at JavaOne

2009-05-21 Thread Chas Emerick
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

Re: Clojure at JavaOne

2009-05-21 Thread Sean Devlin
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 friendly competition, basically

Re: Clojure at JavaOne

2009-05-21 Thread Rich Hickey
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

Re: Clojure at JavaOne

2009-05-21 Thread NarayanS
that it is rarely done in practice, some spring framework frameworks let apart) specific to clojure: a demonstration of the ease of use of concurrent/parallel programming constructs. 2009/5/18 Rich Hickey richhic...@gmail.com: I'll be doing two sessions involving Clojure at JavaOne

Re: Clojure at JavaOne

2009-05-21 Thread Timothy Pratley
: 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 friendly competition, basically a place to show off your

Re: Clojure at JavaOne

2009-05-21 Thread Ian Phillips
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

Re: Clojure at JavaOne

2009-05-21 Thread mikel
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

Re: Clojure at JavaOne

2009-05-21 Thread John Newman
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.

Re: Clojure at JavaOne

2009-05-21 Thread e
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

Re: Clojure at JavaOne

2009-05-21 Thread e
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

Re: Clojure at JavaOne

2009-05-21 Thread Adrian Cuthbertson
... 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,

Re: Clojure at JavaOne

2009-05-19 Thread Konrad Hinsen
On 18.05.2009, at 14:36, Rich Hickey wrote: I'd appreciate some suggestions *and help* preparing demos for the Script Bowl. What (that could be demonstrated in 4 minutes) would make you think - 'Clojure looks cool, I need to look into it'? What community contribution(s) should we showcase?

Re: Clojure at JavaOne

2009-05-19 Thread Michael Harrison (goodmike)
, some spring framework frameworks let apart) specific to clojure: a demonstration of the ease of use of concurrent/parallel programming constructs. 2009/5/18 Rich Hickey richhic...@gmail.com: I'll be doing two sessions involving Clojure at JavaOne this June. One

Re: Clojure at JavaOne

2009-05-19 Thread Shantanu Kumar
On May 18, 7:37 pm, verec jeanfrancois.brouil...@googlemail.com wrote: Whatever you chose, you probably ought to show its source with an IDE (whichever you chose: NetBeans. Eclipse, IntelliJ) but should probably forget about emacs: many (most?) Java developers won't even consider anything

Re: Clojure at JavaOne

2009-05-19 Thread tmountain
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 friendly competition, basically a place to show off your language and seek audience acclaim. Scripting

Re: Clojure at JavaOne

2009-05-19 Thread e
that it is rarely done in practice, some spring framework frameworks let apart) specific to clojure: a demonstration of the ease of use of concurrent/parallel programming constructs. 2009/5/18 Rich Hickey richhic...@gmail.com: I'll be doing two sessions involving Clojure at JavaOne

Clojure at JavaOne

2009-05-18 Thread Rich Hickey
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 friendly competition, basically a place to show off your language

Re: Clojure at JavaOne

2009-05-18 Thread Andrew Wagner
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 friendly competition, basically a place

Re: Clojure at JavaOne

2009-05-18 Thread Mark Volkmann
On Mon, May 18, 2009 at 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

Re: Clojure at JavaOne

2009-05-18 Thread Laurent PETIT
constructs. 2009/5/18 Rich Hickey richhic...@gmail.com: 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 friendly competition

Re: Clojure at JavaOne

2009-05-18 Thread Laurent PETIT
2009/5/18 Mark Volkmann r.mark.volkm...@gmail.com: On Mon, May 18, 2009 at 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

Re: Clojure at JavaOne

2009-05-18 Thread John Newman
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 friendly competition, basically a place to show off your language and seek

Re: Clojure at JavaOne

2009-05-18 Thread verec
Whatever you chose, you probably ought to show its source with an IDE (whichever you chose: NetBeans. Eclipse, IntelliJ) but should probably forget about emacs: many (most?) Java developers won't even consider anything that isn't at least partially integrated within some IDE. Not sure how much

Re: Clojure at JavaOne

2009-05-18 Thread falcon
constructs. 2009/5/18 Rich Hickey richhic...@gmail.com: 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

Re: Clojure at JavaOne

2009-05-18 Thread Ilya Sergey
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 friendly competition, basically a place to show off your

Re: Clojure at JavaOne

2009-05-18 Thread Dan Larkin
On May 18, 2009, at 9:23 AM, Laurent PETIT wrote: 2009/5/18 Mark Volkmann r.mark.volkm...@gmail.com: On Mon, May 18, 2009 at 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

Re: Clojure at JavaOne

2009-05-18 Thread bOR_
:23 AM, Laurent PETIT wrote: 2009/5/18 Mark Volkmann r.mark.volkm...@gmail.com: On Mon, May 18, 2009 at 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

Re: Clojure at JavaOne

2009-05-18 Thread bOR_
Larkin d...@danlarkin.org wrote: On May 18, 2009, at 9:23 AM, Laurent PETIT wrote: 2009/5/18 Mark Volkmann r.mark.volkm...@gmail.com: On Mon, May 18, 2009 at 7:36 AM, Rich Hickey richhic...@gmail.com   wrote: I'll be doing two sessions involving Clojure at JavaOne this June.   One

Re: Clojure at JavaOne

2009-05-18 Thread bOR_
Larkin d...@danlarkin.org wrote: On May 18, 2009, at 9:23 AM, Laurent PETIT wrote: 2009/5/18 Mark Volkmann r.mark.volkm...@gmail.com: On Mon, May 18, 2009 at 7:36 AM, Rich Hickey richhic...@gmail.com   wrote: I'll be doing two sessions involving Clojure at JavaOne this June.   One

Re: Clojure at JavaOne

2009-05-18 Thread Mark Volkmann
 pm, Dan Larkin d...@danlarkin.org wrote: On May 18, 2009, at 9:23 AM, Laurent PETIT wrote: 2009/5/18 Mark Volkmann r.mark.volkm...@gmail.com: On Mon, May 18, 2009 at 7:36 AM, Rich Hickey richhic...@gmail.com wrote: I'll be doing two sessions involving Clojure at JavaOne this June

Re: Clojure at JavaOne

2009-05-18 Thread Michael Wood
On Mon, May 18, 2009 at 8:54 PM, Mark Volkmann r.mark.volkm...@gmail.com wrote: I think time is the issue here. The Ant code may be too involved to describe in the time allotted. I do think it's important though to describe the use of Refs and STM. To me they are a very important feature of

Re: Clojure at JavaOne

2009-05-18 Thread Mark Engelberg
For me, persistent vectors was the killer feature that drew me to Clojure. Don't know how to convey the value of that in 4 minutes, though. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to

Re: Clojure at JavaOne

2009-05-18 Thread Mark Volkmann
On Mon, May 18, 2009 at 2:36 PM, Michael Wood esiot...@gmail.com wrote: On Mon, May 18, 2009 at 8:54 PM, Mark Volkmann r.mark.volkm...@gmail.com wrote: I think time is the issue here. The Ant code may be too involved to describe in the time allotted. I do think it's important though to

Re: Clojure at JavaOne

2009-05-18 Thread e
i think destructuring is awesome, and loop-recur loop-recur is so handy in not having to have the public version of a function (entry point) versus the recursive inner version that often has extra parameters that the user shouldn't have to worry about. other ideas: closures as light-weight

Re: Clojure at JavaOne

2009-05-18 Thread AlamedaMike
+1 for showing the Ant demo and modifying it while it's running. Emphasize how easy it is to get RELIABLE concurrency using agents/STM. As Steve Jobs has long known, eye candy counts, and Ants is an eye candy way of seeing concurrency in action. I would also keep a second REPL open and test out