Brian Gruber
combinations thereof
meetings blogs news home

The clojure web-dev ecosystem just gets better and better

I was just working on making a few small changes to LispNYC's website. Did you know the full source to our site, in Clojure, is available on github? Anyhow, while I was working with it, I decided to streamline stuff by moving to the relatively recent lein-ring plugin.

The plugin is simply great. By abstracting away common web development requirements, it allowed me to remove explicit servlet declarations, the 'main' function, dependencies on 2 ring libraries that really should have been development dependencies in the first place, and the need for a separate plugin to generate war files. If you're doing web development in Clojure, I highly suggest you check it out. James Reeves (the author of lein-ring and many other clojure web-development technologies) has a great and simple instructions for getting started. If you're using compojure (like we are!) realize that defroutes generates a ring handler, so you can just use that as the symbol you hand off to the plugin (though for more recent versions of compojure you probably want to use the result of compojure.handler/site).

The Summer of Lisp rolls forward

So today is the day we finalize our application for Google Summer of Code. Fingers crossed, next week I'll be able to blog about how after a two year absence, LispNYC will have been accepted into the program. I really hope we are, because the projects that are shaping up look great and could go a long way in both helping the Lisp community and burnishing its reputation. As a sometimes-computer-musician, I'm particularly excited by the involvement of Project Overtone. It looks like David Liebke of Incanter is getting involved as well.

We're also happy to announce additional support from our friends at Brandorr Group. To show their commitment to open-source, Brandorr has agreed to offer a free Business Class Virtual Machine on Amazon Web Services to any LispNYC students for use on their Summer of Code project.

This post was written in Emacs

Before I really get started on posting blog entries for this, it was imperative I figure out a way to blog from Emacs. Cause really, what self-respecting Lisper blogs from a tiny text field in a web browser? Madness.

So, if you also want or have a blog on this site and want to do it in emacs:

  1. go get weblogger.el I just used ELPA, but there's a later version available.
  2. Once you've got that loaded, do M-x weblogger-setup-weblog. When it asks you for the Server Endpoint, enter The other parameters (username, password, blog name) should be self explanatory.
  3. Profit

There are some issues. Authentication is plaintext, I have to manually type the entries in HTML. But it's still better than a web form!