Michael Fogus's Blog, page 24
December 14, 2010
Unification versus Pattern Matching… to the death!
The number one question asked of me at The Conj1 was: what is unification?. Once I explained what unification was and how clojure.core.unify implemented it, the follow-up question was inevitably: how is unification different from pattern matching?. You see, Drew Colthorp wrote a fantastic pattern matching library called Matchure that creates bindings based on the [...]
Published on December 14, 2010 10:49
November 30, 2010
(take 6 (justin-balthrop))
Justin Balthrop is the author of Cake (the Clojure build tool, not the spongy delicious treat). He works for Geni and is an alumni of The University of New Mexico1. Interestingly, Justin (or ninjudd as he is known on the Intertubes) is the only person I've ever met who looks just like his/her online images. [...]
Published on November 30, 2010 05:24
October 30, 2010
9
John Cook's 7 post reminded me of 9 It is 1am and I cannot sleep; therefore I think (which may be at the root of my problem). For your entertainment, I give you the number nine. I am currently obsessed with 9, and this blog represents a small fraction of the reasons why. The number [...]
Published on October 30, 2010 20:20
October 25, 2010
Fertile Ground: The Roots of Clojure
Here are the slides to my Clojure Conj opening talk. They do not stand on their own unfortunately. However, as a consolation, I am in the process of gathering a bibliography for not only my talk, but every single talk and side-discussion1 of the whole conference. Fertile Ground: The Roots of ClojureView more presentations from [...]
Published on October 25, 2010 13:22
October 19, 2010
The Nothingness Metric
I've been thinking of a code metric designed to measure how much code it takes any given language to write a program that does nothing. Don't misunderstand me and think that I mean a Hello World program with 64K exclamation points tacked onto the end. What I mean is finding that critical point where a [...]
Published on October 19, 2010 17:25
October 18, 2010
Unifycle phased out
A month ago I announced a unification library for Clojure named Unifycle. A month later I am phasing that library out in favor of this new unification library for Clojure. If you have adopted Unifycle or plan to, then please keep an eye on the other location. More information to come. :f
Published on October 18, 2010 08:30
October 2, 2010
Naïveté vs. Experience
Here are the slides for my talk given at the 2010 Commercial Users of Functional Programming Conference in Baltimore, MD. The talk was about how we leveraged Scala and Clojure at my workplace.
Published on October 02, 2010 18:09
September 28, 2010
Thrush in Clojure – Redux
Neither Clojure's -> nor ->> are the Thrush combinator. See why.
Published on September 28, 2010 12:33
September 27, 2010
Unifycle: A Unification Library for Clojure
As a first step toward a much grander Clojure project I needed a unification library to supplement a simple logic engine (the second step in the larger plan)...
Published on September 27, 2010 06:44
September 22, 2010
Controlling iTunes with Scala
A while back I came across an interesting snippet of Clojure code1 controlling iTunes. I played around with it and eventually morphed it into the code posted on my @learnclojure account. This morning I came across a similarly themed post about Scala's interaction with Applescript and it inspired me to create the following: object iTunes [...:]
Published on September 22, 2010 06:47