
read or learn more
λ λ λ
Fogus' Thoughts on life, programming, and thinking

❤ c clj factor frink hs js org pure rb rkt qi ❤
Follow me on Twitter...
or RSS... ![]()
Run this blog in mobile
How can you tell that someone is not a scientist? They’ll have the word “scientist” in their title. This seems harsh right? The truth is that if you look at most of the fields defining science you’ll see that the practitioners rarely call themselves scientists: Biologist Chemist Physicist Geologist Astronomer Botanist So why not call [...]
Using Underscore and Lemonad, how could you write a run-length encoder/decoder without ever referencing a function parameter? One way: var S = ['a', 'a', 'a', 'a', 'b', 'c', 'c', 'a', 'a', 'd', 'e', 'e', 'e', 'e']; var pack = L.partial1(L.partitionBy, _.identity); pack(S); //=> [['a', 'a', 'a', 'a'], ['b'] …] var rle = _.compose( L.partial1(L.flip(_.map), L.juxt(L.plucker(‘length’), [...]
At various times I’ve needed something very similar to python -m SimpleHTTPServer <port> readily accessible in my Clojure projects. Most of the time I just used Python but recently I’ve wanted to rework some examples from The Joy of Clojure and thought a simple Lein plugin would make a nice addition. The result: lein-simpleton — [...]
A few years ago I got the idea that it would be fun to implement a variant of Scheme targeting the JVM. During my search for different ways to implement numerics I looked deeply at the implementation of two languages: JScheme and a little-known language Clojure. During my explorations with these two languages and the [...]
I discovered The Conet Project many years ago through an old friend from college (thanks P373), and listened to it for many years. However, I recently (today) found out that the complete audio of The Conet project is available at Archive.org. Numbers stations are an infinitely fascinating topic and well worth the exploration. In celebration [...]