Shriphani Palakodety
In Pursuit of Truth and Beauty
  • About Me
  • Links
  • Quotes
  • Books
Browse: Home / Lisp

Lisp

Clojure Recur

By shriphani on April 30, 2013

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 [...]

Posted in Daily life | Tagged clojure, code, Lisp, recur, sleep, tail call optimization, tco, thread | 2 Responses

Racket Oauth

By shriphani on January 15, 2013

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 [...]

Posted in Computer Science | Tagged Lisp, oauth, oauth-consumer, Racket, Research, Scheme | Leave a response

Racket Bloom Filter

By shriphani on December 4, 2012

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. [...]

Posted in Computer Science, Mathematics | Tagged bloom-filter, Functional, language-id, Lisp, Racket, Scheme, what-language | Leave a response

Copyright © 2013 Shriphani Palakodety.

Powered by WordPress and Hybrid.