Re: Bug in clojure.contrib.lazy-xml: apostrophe not escaped correctly

2009-02-19 Thread Isak Hansen
On Thu, Feb 19, 2009 at 12:20 AM, Stephan Mühlstrasser wrote: > > Hi, > > I believe the following is a bug in clojure.contrib.lazy-xm: > > user=> (use 'clojure.contrib.lazy-xml) > nil > user=> (emit { :tag :a, :attrs { :b "bloody apostrophe's :-)" }}) > > > nil > > The XML is broken, because th

Re: The Path to 1.0

2009-04-18 Thread Isak Hansen
On Thu, Apr 16, 2009 at 6:53 PM, Rich Hickey wrote: > > Feedback welcome, > 1. I'd like to see a road map of sorts; plans for where Clojure will be going with the next couple of releases. 2. Clojure-contrib -cleanup - Move the clojure test suite to clojure itself - Move 'worthy' libraries fro

Re: Confusion on Clojure 1.0, compatible clojure-contrib, git-hub, svn, ...

2009-07-29 Thread Isak Hansen
On Mon, Jul 6, 2009 at 9:59 PM, Laurent PETIT wrote: > > Hi, > > 2009/7/6 Stephen C. Gilardi : >> >> On Jul 6, 2009, at 3:13 PM, Tom Emerson wrote: >> >> Thanks Paul, for the quick response. >> >> On Mon, Jul 6, 2009 at 12:56 PM, Phil Hagelberg wrote: >> >> That's right. Side note to folks with co

Re: Clojure performance tests and clojure a little slower than Java

2009-08-12 Thread Isak Hansen
On Wed, Aug 12, 2009 at 7:00 AM, John Harrop wrote: > A very straightforward version, and 875.36796ms/1 = 8.7536796ns. > This is on a 2.5GHz machine, so that's only about 22 native instructions per > iteration. The theoretical minimum is over 1/2 of that: > Four fmuls > Three fadds and an

Re: Make a loop in a loop

2010-07-07 Thread Isak Hansen
On Wed, Jul 7, 2010 at 5:00 PM, Lars Nilsson wrote: > > Maybe > > (doseq [year (range 1999 2010 1)] >  (doseq [month (range 1 53 1)] >    (print-data year range))) > You could also do this with dotimes instead of doseq. Doesn't matter for Ns this small, but creating a range just so you have somet

Re: java gui is flashing

2010-07-25 Thread Isak Hansen
On Sat, Jul 24, 2010 at 3:11 PM, Mate Toth wrote: > Hi, > > my problem is that during execution my presentation java applet is > flashing. There are many components which paint to a JPanel using it's > Graphics (.getGraphics). I think maybe the problem is that I don't > have any "paint everything