Re: Russ olsen's Clojure Book
Sayth, First, imagine my surprise when I saw just the title of your post show up in a search... Second, thanks for the kind words about the books that I actually have written (so far). For what it's worth, I have thought about doing a clojure book, but so far it is only in the back of the napkin stage. At this point I don't know how I would approach clojure but I do think that the classic design patterns are a good jumping off point for any new language discussion, mostly because we are all familiar with them to one degree or another. Rather than simply saying 'Clojure is powerful', you can say, 'Hey, you know that problem that the XYZ pattern solves? Here's the 2 lines of clojure that does the same thing.' That's more or less the approach that I took in Design Patterns In Ruby - with Ruby, obviously. Critically, the clojure (or Ruby for that matter) approach may be very different than the original 1990's solution that you will find in the GoF: This is a good thing since it means that we have actually made some progress. Finally, one of the best things about following Clojure from its very early days is watching the idioms develop and spread through out the community. As I tried to say in Eloquent Ruby, the community behind a language and the techniques that it develops are as much a part of the language as the syntax. Russ On Jun 29, 11:09 pm, flebber flebber.c...@gmail.com wrote: Just wanted to put a shout out to Russ Olsen to see what would be needed to get a Russ Olsen book on clojure to happen. I am reading design principles in Ruby and its a great read, I feel I am learning much moe than just Ruby which is why I am reading it. I woould absolutely love to read how Russ would apply these design principles to Clojure a more functional language. His books are all 5 star reads(amazon ratings) and would greatly enjoy being able to read a Russ Olsen clojure book. Is there any way we could help this to happen? Is anyone else interested in such a book? Sayth -- 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
ANN: Dejour
Folks, I've pushed out a new version (1.1.0b) of dejour this weekend. Dejour provides an easy, works out of the box experience for the Clojure programming language. Dejour fills in some things that are missing from Clojure: It includes clojure, clojure-contrib and jline, along with the scripts that will kick off a REPL. Dejour pulls all of this together in a single easy to get, easy to install download. Dejour works on Linux, Macs, and Windows. You can find the dejour project on github at: http://github.com/russolsen/dejour If you are just interesting in getting Clojure running, download the latest zip or tar file at: http://github.com/russolsen/dejour/downloads This latest release fixes some bugs and adds the first cut at support for cygwin. -- Russ Olsen http://www.russolsen.com -- 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Batch file wrappers on Windows
Paul, One way would be to use the cljw.exe that comes with dejour. This is a windows executable that runs clojure without creating that annoying extra window. I haven't really looked into making dejour work with Leiningen yet, so that may be a problem for you. You can find the dejour project on github at: http://github.com/russolsen/dejour If you are just interesting in getting Clojure running, download the latest zip or tar file at: http://github.com/russolsen/dejour/downloads Good Luck! Russ On Jun 21, 1:42 pm, Paul Moore p.f.mo...@gmail.com wrote: The common way of running Java applications (and hence Clojure code) on Windows seems to be to use a batch file wrapper (for example, lein.bat for Leiningen). It seems to me that there are a number of issues with this: 1. Batch files don't nest well - if I want to call lein.bat from within another batch file, I have to remember to say call lein arg arg... rather than simply lein arg arg... as the latter doesn't return to the calling script. 2. I use JP Software's Take Command, which implements a command language almost, but not precisely, like that of cmd.exe. As a result, lein.bat (in particular, possibly others) fails with syntax errors. I appreciate that this is a Take Command problem (and it's not too hard to work around, in fact) but nevertheless it does routinely trip me up. And presumably other Take Command users have the same problem. 3. Using a bat file to start a GUI application from Explorer causes an unnecessary and ugly console window to appear. Before I spend time trying to solve a problem that the Java community turns out to have solved years ago, is there another solution that people use? Or is it just one of those things that Windows people put up with (I'm not a typical Windows user, I guess :-))? Thanks, Paul -- 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Why I have chosen not to employ clojure
I have to say that while I'm sorry that we didn't snag the original poster as a Clojure user, he has actually done us a real favor. The most important customer is the pissed off customer who tells you why he is pissed off. You don't have to take everything he says to heart, but it is always worth listening to the one that got away. As someone who was a raw clojure beginner not all that long ago, a beginner with a lot of Java experience, I do think that we have a problem with the 'out of the box' experience. My first bit of evidence is the fact that the issue seems to come up fairly often. When you have a persistent customer complaint, you have to ask yourself, is the problem with the customer? In fact, before a recent intro-to-clojure talk I went ahead and built my own little 'get you going' project just to make it easier for the raw beginner: http://github.com/russolsen/dejour/downloads While dejour is just a quick and dirty thing that I put together in a few hours, I think that it captures what we need: a single zip/tar/jar file that you can download, unpack and run. No install, no git, no nothing. Just download, unpack and run a simple script. As someone else mentioned, JRuby does a really good job of this. We can at least as good as JRuby. How far can you get with just a repl and no ide? Perhaps just far enough to decide that this clojure thing is worth more time. Perhaps more: There is nothing in clojure that requires an ide any more than python or ruby or perl. It's a complicated world out there, full of very smart people with varying backgrounds. Some of them know lisp but not java. Some know java but no lisp. Some know neither but are smart nevertheless and are looking for a better language. Many of the engineers that I work with will run screaming from the room at the sight of a shell/batch script I think we want them all. We want every one of them to use clojure. Russ On Mar 22, 1:26 am, cej38 junkerme...@gmail.com wrote: I am a physicist by training and practice, this means that I am an expert on Fortran 95. To say my exposure to Java is minimal would be generous. And until last year when I heard about Clojure from a friend, I thought LISP was a speech impediment. Setting up Clojure was a MAJOR problem for me, what with getting path's and classpaths right. (Figuring out what a classpath is was a challenge.) If it wasn't for the very patient help of a CS friend of mine, I would not have figured it out. I think the documentation assumes that the user is comfortable with Java. I feel like I am being asked to learn Java so that I can learn Clojure. I am now an avid Clojure user, but there really does need to be better descriptions of how to set Clojure up on the website. On Mar 21, 4:37 pm, Quzanti quza...@googlemail.com wrote: Reading his post I got the impression he was a bit of an egocentric (a bit more information about himself than was relevant), those sorts tend to overreact. However I can imagine the whole just bung the jar file on your classpath thing wouldn't make much sense for a java newbie. It may highlight the need for some special 'getting started' documentation for Lisp programmers who have never used java, which I understand to be one target audience of clojure. I don't understand the complaints about installing Clojure. As far as I know there's nothing required to 'install' Clojure beyond downloading the clojure.jar, other than I guess having a working Java installation. -- 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.