I needn't defend the usefulness of screenshotting. Sharing a photo, sharing code, sharing an error message, saving something for later, sending things you found on the internet, etc. For as many things as one could view on a screen, one could screenshot and share.\r \r So, we nee…
Similar to my last post, this will just be a quick run through of using JDBC with a PostgreSQL database. Although JDBC provides enough to get us up and running, we will also use HoneySQL so that we can write more Clojurey SQL queries.The first part is to install PostgreSQL, which…
This is the part of this where I talk about some really boring stuff, but there are some features worth highlighting. Hiccup is the library I use for Lisp forms to HTML. The basics are super simple, and the forms look something like this:(html5 [:div.class#id {:attribute "code" :…
Ring: HTTP requests.EDIT: There are a million ways to handle HTTP routing in Clojure: Ring, bidi, pedestal, playnice, gudu, Route One (to name some I found on google) and there may be many more that I don't know. Some are closer to the Clojure idea of data above all, but I chose …
I learned about Common Lisp from a friend a while back, and being a math guy, thought it was certainly the coolest programming language I'd seen. I had taken a class in Haskell, so functional programming was already a big interest of mine. I played with Common Lisp a bit: I use s…