Topic idea: What is the most elegant way to write a GUI in Clojure?
(Swing? JavaFX?) Any great contrib libraries that make GUI programming
noticeably easier?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojur
On Jan 25, 5:40 pm, "Steven E. Harris" wrote:
> Justin Kramer writes:
> > You may find this ns cheatsheet helpful:
>
> >http://gist.github.com/284277
>
> That is most helpful.
>
> What's not helpful is the weird mix of lists and vectors used by these
> forms. When I finally made it to :rename a
On 26.1.2010, at 21:59, Julien wrote:
> What about colocating this conference with say OOPSLA (or ECOOP). You
> will probably get good attendance.
>
If it'd be part of ECOOP it'd be great since in 2010 it's in Slovenia (and I
live there :D).
B.
--
You received this message because you are s
You can use the sieve of Eratosthenes...
2010/1/26 Nebojsa Stricevic
> Thanks a lot for help. I have much better understanding of laziness
> now! But I guess I'll need to do some more math research, because both
> algorithms provided here (my + removed laziness and the one from
> Meikel) are too
Weekend and Europe
Nuno
On 26 Jan 2010, at 22:53, e wrote:
I didn't know this was a vote for location. If it is, DC would work
for me. I thought it was more about weekend vs week. I'd agree
weekend is better.
On Tue, Jan 26, 2010 at 4:09 PM, Joseph Smith
wrote:
+1 Lincoln/Omaha Neb
+1 for debugging (through swank-clojure, I hope)
besides, rolling your own leiningen plugins
--
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
Hi!
I've created the following sources:
HomePage.clj:
(ns cwicket.HomePage
(:gen-class :extends org.apache.wicket.markup.html.WebPage)
)
WicketApplication.clj:
(ns cwicket.WicketApplication
<-->(:gen-class :extends
org.apache.wicket.protocol.http.WebApplication)
)
(defn -getHomePage [
On Sun, 24 Jan 2010 23:11:50 -0800 (PST)
mac wrote:
>
> On 25 Jan, 06:50, Mark Engelberg wrote:
> > Debugging techniques, including:
> > * How to make sense of Clojure's stack traces.
> > * How to use Java debugging and profiling tools with Clojure.
>
> +1 for this. I haven't had the energy to
Michael,
Thank you for pointing this out to me. After some thinking, I decided
to lump all the defprotocols in one file; having all the APIs in one
place seemed handy. But using (load) made it possible to keep deftype
in its own file... though I did have to resort to (use) since (in-ns)
doesn't su
Raoul Duke writes:
> so, like, this means i /not/ the only one who finds the whole
> (whatever you want to call it) include/import syntax kinda crazy?
I was expecting even more of a backlash from those who already "get
it".
For now, I only understand it as, "There are a lot of options and
which
DC would be awesome!
On Jan 26, 7:20 pm, David Cabana wrote:
> +1 DC
--
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 wit
+1 DC
--
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 unsubscribe from this group, send email to
I didn't know this was a vote for location. If it is, DC would work for me.
I thought it was more about weekend vs week. I'd agree weekend is better.
On Tue, Jan 26, 2010 at 4:09 PM, Joseph Smith wrote:
> +1 Lincoln/Omaha Nebraska. :)
>
> ---
> Joseph Smith
> j...@uwcreations.com
> (402)601-5
+1 Lincoln/Omaha Nebraska. :)
---
Joseph Smith
j...@uwcreations.com
(402)601-5443
On Jan 26, 2010, at 2:29 PM, Michel Vollebregt
wrote:
+1 for Europe
On Jan 26, 12:22 am, mudphone wrote:
+1 Paris
On Jan 22, 11:54 pm, Konrad Hinsen
wrote:> On 22 Jan 2010, at 22:15, Wilson MacGyver
What about colocating this conference with say OOPSLA (or ECOOP). You
will probably get good attendance.
On Jan 26, 1:29 pm, Michel Vollebregt wrote:
> +1 for Europe
>
> On Jan 26, 12:22 am, mudphone wrote:
>
> > +1 Paris
>
> > On Jan 22, 11:54 pm, Konrad Hinsen wrote:> On
> > 22 Jan 2010, at
+1 for Europe
On Jan 26, 12:22 am, mudphone wrote:
> +1 Paris
>
> On Jan 22, 11:54 pm, Konrad Hinsen wrote:> On 22
> Jan 2010, at 22:15, Wilson MacGyver wrote:
>
> > > I vote let's turn this into a clojure vacation, and hold it in an
> > > exotic location.
>
> > > Otherwise, hey, Columbus Ohio
Well, just to encourage you a bit more...
While programmatic generation of JNA callbacks might not be the best
answer to my current problems, one area where I see programmatic
generation of native interfaces and structures to be really, really
useful would be dynamic loading of OSX "BridgeSupport"
DC
Clojure vacation + Friday tutorial
On Jan 22, 2010 12:36pm, dysinger wrote:
We will be organizing a conference in the next month for 2010
(probably in the fall). One question I would like to ask is, given
the conference is probably going to be a 2-day conference, would you
rather ha
Hi Stuart,
When I try using deftype I get the following error:
java.lang.IllegalArgumentException: No method in multimethod 'print-
dup' for dispatch value: class user.Y__5
Do I have to supply my own print-dup for the new type for this to
work?
Here is the code:
(import
'(java.io StringReader
> I've setup slime to remote repl according to
> http://asymmetrical-view.com/2009/08/20/emacs-slime-remote-repl.html
> So far so good (there are some issues, but that other time).
>
> There is a problem with reconnecting to the remote machine after the
> connection is broken (running on wifi). I h
On Jan 26, 11:40 am, jleehurt wrote:
> Thanks Anders. I'm not sure why, but it appears that read does not
> support structmaps.
That is correct, read does not work with structmaps, because it
doesn't know how to resolve the struct definition while reading.
deftype, the replacement for structmaps
Hi guys,
Have not seen this discussed before and thought that it might be of
interest to mention that clojure runs on the latest Nokia tablet/
mobile phone with JRE either from
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/viewproductdetail-start?productref=
Thanks Anders. I'm not sure why, but it appears that read does not
support structmaps. The following works with a hashmap:
(import
'(java.io StringReader PushbackReader))
(def y (hash-map :a "a" :b "b"))
(defn serialize [x]
(binding [*print-dup* true] (pr-str x)))
(defn deserialize [x]
(l
Thanks a lot for help. I have much better understanding of laziness
now! But I guess I'll need to do some more math research, because both
algorithms provided here (my + removed laziness and the one from
Meikel) are too slow for calculating all primes below 200.
On Jan 26, 4:48 pm, Chouser wr
On Tue, Jan 26, 2010 at 9:52 AM, Meikel Brandmeyer wrote:
> Hi Chris,
>
> On Jan 26, 3:33 pm, Chouser wrote:
>
>> Of course with this algorithm you *need* filter to be lazy, or
>> you'd never get past the first iteration of the loop.
>
> I'm sorry. I have to ask.
>
> Why?
Hm, now that you ask, I
Hi
You need :dont-close true in (start-server.
On Tue, Jan 26, 2010 at 3:07 PM, Lukas Lehner wrote:
> Hi All
>
> I've setup slime to remote repl according to
> http://asymmetrical-view.com/2009/08/20/emacs-slime-remote-repl.html
> So far so good (there are some issues, but that other time).
>
>
+1 for debugging
I would add clojure.contrib.logging.
--
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 po
Stuart pretty much nails it. This is the strategy that I have taken in
my own Clojure apps. Having said that it would be nice to see an
extensive, with comprehensive examples, "Domain Modelling with
Clojure" write up.
On Jan 25, 12:30 pm, Stuart Sierra
wrote:
> On Jan 24, 4:29 am, Barry Dahlberg
Hi All
I've setup slime to remote repl according to
http://asymmetrical-view.com/2009/08/20/emacs-slime-remote-repl.html
So far so good (there are some issues, but that other time).
There is a problem with reconnecting to the remote machine after the
connection is broken (running on wifi). I
Hi,
On Jan 26, 3:17 pm, Nebojsa Stricevic
wrote:
> I'm new to Clojure and working my way through Project Euler problems
> for learning. I wrote function for calculating prime number below some
> integer value max. But it doesn't work for large numbers, causing
> StackOverflowError.
>
> (defn pri
> There are a few options, but I suppose you don't want too many hints yet?
Oops..
--
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 b
Hi Chris,
On Jan 26, 3:33 pm, Chouser wrote:
> Of course with this algorithm you *need* filter to be lazy, or
> you'd never get past the first iteration of the loop.
I'm sorry. I have to ask.
Why?
Sincerely
Meikel
--
You received this message because you are subscribed to the Google
Groups
Aha... I understand now. Thanks a lot for help. I will try to find
other solution. And yes, I'm not looking for "too much" help.
On Jan 26, 3:33 pm, Chouser wrote:
> On Tue, Jan 26, 2010 at 9:17 AM, Nebojsa Stricevic
>
>
>
> wrote:
> > Greetings,
>
> > I'm new to Clojure and working my way throu
First I have to focus on bugs and improve the layout algorithms. Then
I want to create an html output pipeline (unless IE suddenly gets SVG
support in the interim) I agree svg and dot would be nice as well.
On Jan 26, 1:24 am, Travis wrote:
> Any plans to add SVG support? Seems it would, if anyth
On Tue, Jan 26, 2010 at 9:17 AM, Nebojsa Stricevic
wrote:
> Greetings,
>
> I'm new to Clojure and working my way through Project Euler problems
> for learning. I wrote function for calculating prime number below some
> integer value max. But it doesn't work for large numbers, causing
> StackOverfl
Greetings,
I'm new to Clojure and working my way through Project Euler problems
for learning. I wrote function for calculating prime number below some
integer value max. But it doesn't work for large numbers, causing
StackOverflowError.
(defn primes-below
"calculates all primes bellow max
Hello
I'm using:
(defstruct db
:file
:data)
(defn write-db [db]
(let [path (str (:file db) ".tmp")]
(binding [*out* (java.io.FileWriter. path)]
(prn (:data db)))
(. (new File path) renameTo (new File (:file db)
(defn read-db [fname]
(try
(let [object (read-string (s
Thanks a lot for the tips. It works great now!
--
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 u
+1 defprotocol, deftype, reify
On 26 Jan 2010, at 00:24, Jeff Rose wrote:
> Thanks a lot for the videos you've done so far. I watch them all.
> Here are some ideas for shows, from more Clojure centric to just
> interesting:
>
> * defprotocol, deftype, reify, ...
> * data-flow programming
> * pa
39 matches
Mail list logo