In the last post I outlined and implemented a rough version of the code that I'm using on my backend for screenshot upload handling. In reality I have designed and implemented a token generation system and even a user account and login system for better organization and security,…
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" :…
I use the window manager StumpWM, and I love it. If you've never experienced Stump, the easiest way to describe it is the emacs of WMs. Plentiful with features, but most importantly super hackable. But today I just wanted to talk about how shell-command calls are done in Stump, a…
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…