Racket TinyWM
I have been trying to make a Lisp my go-to language for small projects. Racket is a fantastic language and used by many people who are a lot smarter than I am. I have been meaning to learn the Racket FFI and a perfect exercise is to implement TinyWM in it. From the TinyWM webpage: [...]
Diecast Collection
Recently, I added 2 cars to my diecast collection. A Kennedy Limo and a Duesenberg. These are fantastic looking cars and the full album is online here: What a beautiful car.
Java Bullshit
Recently I had a couple of large gzip files that contained data from a single source and since I wanted to keep things together, I decided to store the files as one large gz file. Any sane person would do: cat file1.gz file2.gz > file3.gz And the result is going to be a valid Gzip [...]
Clojure Recur
Recently, I was in a situation where avoiding a recursive tail-call would have been unavoidable (essentially, I was forced to do a Thread.sleep() call). The fine folks at #clojure pointed me to recur and it was exactly what the doctor ordered. No stack consumption and ability to make tail calls. FWIW, this was the script: I [...]
Clojure For Scripting
I have been trying to make Clojure my default language for scripting and since I am a pillock, I used a new project for almost single-file code pieces.lein exec is apparently the way to accomplish this. This is going to make life easier henceforth. Links: Lein Exec
ATH-M50 Pads
I am a big fan of Audio Technica's products. I own an ES7 (which has sadly been discontinued) and an M50. Unfortunately, these are designed for those with smaller ears than mine. The plastic on these headphones has always touched my ear and hurt after prolonged usage. I used a cotton mod once upon a time [...]
A wrapper around SUTime
Recently, for some of my work, I had to use SUTime. Here is a clojure wrapper around the java library: https://github.com/shriphani/sutime-clojure It is available on clojars too : https://clojars.org/sutime-clojure
Links for 13-Apr-2013
I was recently studying some material for scribe notes for a class on Graphical Models. In Bayesian stats, there is such a thing as the De Finetti's Theorem. Scribe notes from Michael Jordan's class contained excellent content on the topic. The takeaway message from the theorem is that (this is an excerpt from the notes I've [...]
SUTime HowTo
I was a super-noob and I didn't know how to use SUTime well but after a few hours of poking around, I managed to get time annotations (turns out it is all in 1 pipeline - silly me). Also, after delving into Lein, I have been using maven and I haven't been able to make it [...]
Year 22
So I turned 22 yesterday and while I haven't accomplished much last year, I plan to change that. First, in the mind department, I will read books from Africa. First, I am going to try and learn the stories behind Nigerian personalities (I lived there for a year) and I think Achebe is a good [...]