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 [...]
Racket Oauth
I have been trying to use Racket for my research (when I can that is) and recently I had to use Yahoo!'s BOSS API for some work. I couldn't find an oauth library for Racket so I had to roll one out myself. The lib currently supports HMAC-SHA1 signing and can only handle consumer requests [...]
Racket Bloom Filter
I recently had to implement language-identification for some experiments with Clueweb-12++. I am not a racket expert and this code is possibly very stupid but it was mainly a learning exercise. I need to implement serialization in order to obtain the space gains. Currently I write bools out and I am carrying around extra info. [...]