Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Ken Wesson
On Mon, Jan 3, 2011 at 1:25 AM, Sean Corfield wrote: > On Sun, Jan 2, 2011 at 7:41 PM, Ken Wesson wrote: >> Because from its url it looks like it'll just be the code repository. >> It doesn't *seem* any more promising as the home page link than the >> github.com results you tend to get when you s

Has Clojure Fixed the Social Problem that LISP is Too Powerful?

2011-01-03 Thread Jozef Wagner
Our team works on big EU projects, where there are many technical partners from different countries cooperating. Most of our work is about choosing a good technology and then about customizing and integrating it into our system. Usually SOA, Enterprise Java and semantic web technologies are in

Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Laurent PETIT
Ken, I've followed this thread with interest. Thanks for rising this issue. It's always interesting to get external feedback, 'cause it's too easy to forget about those things, once they seem "evident" for us. I ackowledge the "visibility" of Counterclockwise is far from being perfect. However,

Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Robert McIntyre
I'll have to admit that when I started out using clojure I was confused as well with the google code page. It's hard to see "what to do to get ccw on my eclipse." A nice, comforting website that looks like it was designed only for end-users would be helpful I think. Partly this is eclipse's fault

Re: A Web Server in Clojure

2011-01-03 Thread Remco van 't Veer
Try adding CR to your LF's. RFC 1945 states: HTTP/1.0 defines the octet sequence CR LF as the end-of-line marker for all protocol elements except the Entity-Body (see Appendix B for tolerant applications). The end-of-line marker within an Entity-Body is defined by its associated media

Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Ken Wesson
On Mon, Jan 3, 2011 at 5:26 AM, Laurent PETIT wrote: > I ackowledge the "visibility" of Counterclockwise is far from being perfect. > > However, I'm currently quite satisfied with the situation, given that : >   * "clojure eclipse plugin" in google gives the top position for google > code homepage

Re: A Web Server in Clojure

2011-01-03 Thread Ken Wesson
2011/1/3 Remco van 't Veer : > Try adding CR to your LF's.  RFC 1945 states: > >   HTTP/1.0 defines the octet sequence CR LF as the end-of-line marker >   for all protocol elements ... My God, is nothing exempt from Microsoft's taint? This has the stench of "concession to stupidly-designed Windows

Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Peter Schuller
> Good feedback. Thanx. I guess I'm used to reading wikis on github as > being the official project home pages but I can see your p.o.v. I'm not taking a position specifically for this thread (only sifted through it, and I haven't had that particular problem with ccw), but here is another POV: Ev

Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Laurent PETIT
Hi Peter, 2011/1/3 Peter Schuller > > Good feedback. Thanx. I guess I'm used to reading wikis on github as > > being the official project home pages but I can see your p.o.v. > > I'm not taking a position specifically for this thread (only sifted > through it, and I haven't had that particular p

Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Laurent PETIT
2011/1/3 Ken Wesson > > > But for sure having a proper domain name would be great, as well as a > great > > web site with a great graphical design as enclojure has, but I'm not > > planning right now to spend time on building / buying this. > > It's you who manages CCW's web presence then? Huh. >

Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Michael Froh
On 2011-01-03, at 5:41 AM, Ken Wesson wrote: > No; as I mentioned in my earlier post, I use NetBeans but thought I'd > see if there was an alternative out there that equaled or beat that > yet. Hi there, I'm a new to Clojure (having started in late November), and a long-time Eclipse user. As s

Re: osx + clojure + emacs + leiningen blog posts

2011-01-03 Thread Bill Robertson
Hi, "One thing worth noting about emacs-starter-kit is that it tries to source a file of your own customizations on startup. This file defaults to your username.el so the easiest thing to do is create that file inside of ~/.emacs.d. One thing you really should add to this is a function to fix the

Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Ken Wesson
On Mon, Jan 3, 2011 at 7:50 AM, Laurent PETIT wrote: > 2011/1/3 Ken Wesson >> >> > But for sure having a proper domain name would be great, as well as a >> > great >> > web site with a great graphical design as enclojure has, but I'm not >> > planning right now to spend time on building / buying

Re: The non-Enclojure Clojure plugin homepages are all rather hard to find.

2011-01-03 Thread Peter Schuller
> FYI, the main page of ccw is manually maintained and contains up to date > information wrt current plugin status. > That's maybe why you didn't have to /specifically/ complain 'bout ccw itself > ;-) Yes, it seems more "obviously maintained" than most :) -- / Peter Schuller -- You received th

Re: ANN: syntax-rules

2011-01-03 Thread Mark
One of the stmbling blocks I find as a Clojure newbie are syntax errors working with core library macros. The error messaeges aren't always descriptive. What are the chances that core macros could be rewriiten using a future version on defsyntax to help with this problem? On Jan 2, 11:57 am, Bri

Re: a loop gives boxing warning when it shouldn't

2011-01-03 Thread Albert Cardona
2011/1/3 Allen Johnson : >> I can't see where the variables are boxed into objects. Both the loop >> and the let declare them as primitives if they are given primitives. >> Perhaps they are already objects before they reach the inc and dec >> function calls in the recur, but if so, it's a mystery t

Re: A Web Server in Clojure

2011-01-03 Thread James Reeves
On 3 January 2011 12:30, Ken Wesson wrote: > 2011/1/3 Remco van 't Veer : >> Try adding CR to your LF's.  RFC 1945 states: >> >>   HTTP/1.0 defines the octet sequence CR LF as the end-of-line marker >>   for all protocol elements ... > > My God, is nothing exempt from Microsoft's taint? This has t

Re: osx + clojure + emacs + leiningen blog posts

2011-01-03 Thread gaz jones
nope not related, i can add a paragraph there to avoid confusion. On Mon, Jan 3, 2011 at 12:44 AM, Bill Robertson wrote: > Hi, > > "One thing worth noting about emacs-starter-kit is that it tries to > source a file of your own customizations on startup. This file > defaults to your username.el so

Re: ANN: syntax-rules

2011-01-03 Thread Brian Goslinga
On Jan 3, 7:44 am, Mark wrote: > One of the stmbling blocks I find as a Clojure newbie are syntax > errors working with core library macros.  The error messaeges aren't > always descriptive.  What are the chances that core macros could be > rewriiten using a future version on defsyntax to help wit

Re: Compiling dynamically created namespaces, without on-disk source code?

2011-01-03 Thread Stuart Sierra
I mean the JVM bytecode generated by the Clojure compiler is not accessible after it has been loaded. The JVM stores it somewhere, internally, but there's no way to get at it. -Stuart Sierra clojure.com -- You received this message because you are subscribed to the Google Groups "Clojure" gro

Re: osx + clojure + emacs + leiningen blog posts

2011-01-03 Thread Neo
Very useful info, really thanks for that. Will try later and give feedback. gaz jones wrote: > oh hi, > > i put together a couple of blog posts around how i use clojure + emacs > + leiningen on OSX (but applies to linux too) in the hope it may help > someone get up and running faster: > > http://b

Re: Chunking is making my life more difficult.

2011-01-03 Thread ehanneken
> Four is better than 32, but still. I found the explanation for this on stackoverflow.com. Stuart Sierra wrote, > This is due to the definition of =, which, when given a sequence of > arguments, forces the first 4: >> (defn = >> ;; ... other arities ... >> ([x y & more] >>(if (= x y)

Re: a loop gives boxing warning when it shouldn't

2011-01-03 Thread Chouser
On Sat, Jan 1, 2011 at 5:47 PM, Albert Cardona wrote: > Hi all, > > I'd apreciate help on figuring out why a loop gets number boxing > warnings, when it shouldn't: > > http://clojure.pastebin.com/9uLZqGhy I just filed this as: http://dev.clojure.org/jira/browse/CLJ-701 --Chouser http://joyofcloj

ANN: Tom Faulhaber: "Lisp, Functional Programming, and the State of Flow" video available

2011-01-03 Thread Alan Dipert
Hi everyone, I'm happy to announce that Tom Faulhaber's Conj talk, "Lisp, Functional Programming, and the State of Flow" is now available on Clojure's blip.tv page: http://clojure.blip.tv/file/4521022/ As always, other Clojure and Conj videos can be found here: http://clojure.blip.tv/, and we'll

Clojure Newbie trying to represent electrical circuit

2011-01-03 Thread MS
Hi, I'm new to clojure (though I've messed around in scheme a little) and I'm trying to represent an electrical circuit with "pins" and "nets" (ie in graph terminology vertices and edges). I'd like to represent the nets as {:name "net_name" :pins #{pin1 pin2 pin3}} etc. I'd like to represent each

Re: can I force the JIT to be called immediately for certain pieces of code after it starts executing with out waiting for the JVM realize it is necessary....

2011-01-03 Thread Chas Emerick
On Jan 2, 2011, at 9:13 AM, Marek Kubica wrote: >> But in theory it could be posible to collect run-time data in one run, >> then JIT code at startup, using that collected data and current >> procesor architecture. > > Something like this is already used in practice, it is called > Profile-Guide

Re: Loading JNI

2011-01-03 Thread ax2groin
Hmm, I see that the final draft of my question missed an essential element, I am using Eclipse. In any case, I've tried something really basic, and it fails: (try (System/load "C:\\app/bin/coms.dll") (println "Native code library failed to load.")) The file is there (I checked with an exists() c

Re: Loading JNI

2011-01-03 Thread .Bill Smith
Question about your really basic example: it looks as if it will print "Native code library failed to load" if System/load succeeds, and otherwise will print nothing at all. Is that what you intended? -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: Has Clojure Fixed the Social Problem that LISP is Too Powerful?

2011-01-03 Thread pavelludiq
On Jan 3, 11:24 am, Jozef Wagner wrote: > Some of my arguments are: > - Clojure has no custom reader macros, makes it easier to read others code > - Protocols and the way clojure handles data helps to explicitly formulate > specifications and designs > - Fresh syntax which improves readability >

Re: Boston meetup Jan 11?

2011-01-03 Thread Tim McIver
I just added myself to that Clojure Meetup waiting list so count me in. Any prospects on a venue yet? Tim -- 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 a

Re: Has Clojure Fixed the Social Problem that LISP is Too Powerful?

2011-01-03 Thread Laurent PETIT
2011/1/3 Jozef Wagner > Our team works on big EU projects, where there are many technical partners > from different countries cooperating. Most of our work is about choosing a > good technology and then about customizing and integrating it into our > system. Usually SOA, Enterprise Java and seman

Re: Has Clojure Fixed the Social Problem that LISP is Too Powerful?

2011-01-03 Thread Sergey Didenko
Clojure is extremely consise. IMO it's very beneficial for maintaining a complex codebase and underestimated in the corporate world. -- 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 th

Infinite recursion bug in clojure.lang.Keyword.intern()?

2011-01-03 Thread Eric Tschetter
I started getting StackOverflow exceptions today around clojure.lang.Keyword (I'm running clojure 1.2.0, but the code doesn't seem to be different in github master). It looks like intern is keeping a ConcurrentHashMap of SoftReference objects. The problem is that when the SoftReference exists, bu

Re: Loading JNI

2011-01-03 Thread ax2groin
Of course not. I mentioned I'm new at this, right? It seems I was doing that part right before. I'm getting InvocationTargetException and NoClassDefFoundError, so I tried to work my way from the start to see if I was missing something (which I thought was a valid assumption, if exceptions were bei

Re: Clojure Newbie trying to represent electrical circuit

2011-01-03 Thread Ken Wesson
On Mon, Jan 3, 2011 at 1:40 PM, MS <5lvqbw...@sneakemail.com> wrote: > Hi, I'm new to clojure (though I've messed around in scheme a little) > and I'm trying to represent an electrical circuit with "pins" and > "nets" (ie in graph terminology vertices and edges). > > I'd like to represent the nets

Re: Clojure Newbie trying to represent electrical circuit

2011-01-03 Thread Miki
You might be interested in reading http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-22.html#%_sec_3.3.4 (It's in Scheme, but I don't think you'll have hard time to translate). -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: Clojure Newbie trying to represent electrical circuit

2011-01-03 Thread Ken Wesson
On Mon, Jan 3, 2011 at 7:13 PM, Miki wrote: > You might be interested in reading > http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-22.html#%_sec_3.3.4 > (It's in Scheme, but I don't think you'll have hard time to translate). It looks like this is a mutating approach (which surprises me somew

Re: Clojure Newbie trying to represent electrical circuit

2011-01-03 Thread MS
thanks... actually I have the hardcopy of sicp, but it's buried someplace. I was hoping do divine the solution with mostly my own brain. :) Michael On Jan 3, 4:13 pm, Miki wrote: > You might be interested in > readinghttp://mitpress.mit.edu/sicp/full-text/book/book-Z-H-22.html#%_sec_3.3.4 > (I

Re: Loading JNI

2011-01-03 Thread .Bill Smith
As far as I know, Clojure doesn't talk straight JNI. In other words, there isn't a Clojure equivalent to the "native" keyword in Java. (If I'm mistaken about that, someone please speak up.) Nonetheless, Clojure *can* use native libraries. Your Clojure code can interact with a Java wrapper th

Re: Loading JNI

2011-01-03 Thread Bill Robertson
I would suggest working through simple a example in just java, just so you can figure out how to get your dlls loaded and then calling them. Once you work out the configuration/setup kinks I would add clojure on top of that. I would also suggest you use jna instead of straight up jni. If it fits

Re: osx + clojure + emacs + leiningen blog posts

2011-01-03 Thread Bill Robertson
Yes. Very helpful. Thanks Gaz. Also, thanks to Phil for all of his hard work. -Bill On Jan 3, 10:50 am, Neo wrote: > Very useful info, really thanks for that. Will try later and give > feedback. > > > > > > > > gaz jones wrote: > > oh hi, > > > i put together a couple of blog posts around how

Re: osx + clojure + emacs + leiningen blog posts

2011-01-03 Thread gaz jones
hey, you're welcome. many thanks to phil, his work has made developing clojure in (and out of) emacs pretty awesome. btw i also did another small post on creating simple command line apps: http://blog.gaz-jones.com/post/2528825514/command-line-applications-in-clojure cheers, gaz On Mon, Jan 3,

c.c.sql 1.3.0-SNAPSHOT and lesser JDBC drivers

2011-01-03 Thread Shantanu Kumar
Hi, I came across this when testing clojure.contrib.sql/insert-values with JDBC-ODBC bridge driver for MS-Excel files. c.c.sql/insert-values implementation has changed from 1.2.0 to 1.3.0- SNAPHOT wherein it uses a PreparedStatement (in 1.3.0- SNAPSHOT, .prepareStatement) instead of Statement (1.

Re: ANN: Tom Faulhaber: "Lisp, Functional Programming, and the State of Flow" video available

2011-01-03 Thread Paul Mooser
Thanks for posting these for those of us that were not able to make it to the conj! -- 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