Monthly Archives: August 2007

The Namaste Meditation

… but when I pulled on one of those threads, I unravelled the tapestry of my life.
— Jean Luc Picard, Star Trek TNG, “Tapestry”

I just got back from a camping trip with Jude, Paul, Travis, and Cami. Jude left the house again, and Namaste, who had been home all weekend, just stared at me. [...]

I’ve Got a Hankering for Some Anchoring

Yesterday, Namaste introduced me to Derren Brown (here are three interesting videos), a “magician”, I guess. I watched videos off of TVLinks and Google video for all of six hours (stayed up till 5am, ugh, and I’m a workin’ man), and became dramatically inspired by him and interested in Neurolinguistic programming and hypnosis.
I [...]

Haskell State Accessors (second attempt: Composability)

Last week I introduced some constructs to make programming games with Haskell easier, mostly the idea of an accessor for dealing nicely with highly stateful functions. The (refined once) abstraction looked like this:

data Accessor s a
= Accessor { getVal :: forall m. MonadState s m => m a
[...]