Michael Fogus's Blog, page 17

April 25, 2012

The ClojureScript Compilation Pipeline

this is the fifth entry in an n-part series explaining the compilation techniques of Clojure. In honor of the upcoming Clojure’s Google Summer of Code projects I present some discussion of the ClojureScript compiler pipeline. I talked about this in my ClojureWest talk, but a little more discussion is welcomed. Much of what I say [...]
 •  0 comments  •  flag
Share on Twitter
Published on April 25, 2012 11:06

April 6, 2012

Trammel version 0.7.0 (reference invariants++)

Trammel is a Clojure providing contracts programming (sometimes called "Design by Contract" or DbC) capabilities. Features of Trammel currently include: Contracts on functions Composable contracts Post-definition function contract application defrecord and deftype invariants Reference type invariants (i.e. Agents, Atoms, Refs, and Vars) Ability to turn-off checks in a production setting Support for Clojure versions 1.3 [...]
 •  0 comments  •  flag
Share on Twitter
Published on April 06, 2012 07:49

March 29, 2012

Fogus on Think Relevance Podcast

Yes, I refer to myself in the third person. Who doesn't? 1 I couple weeks ago Craig Andera interviewed me for the Relevance podcast. I have been with Relevance for a year and in this podcast I talk a bit about its culture, pairing, ClojureScript, Himera, reading, and zombies.2 The podcast "album cover" was designed [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 29, 2012 08:34

March 27, 2012

Compiling Clojure to JavaScript, pt. 3 – The Himera Model

When ClojureScript was first announced there was much gnashing of teeth over the fact that it provided neither eval, nor runtime macros. In response, I did tackle the matter of eval, but code speaks louder than words, so I therefore present Himera, a ClojureScript compilation web-service. I have a deployment of Himera on Heroku (shown [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 27, 2012 09:44

March 23, 2012

lein-generative

What lein-generative is A Leiningen plugin used to run generative tests defined using the test.generative Clojure contrib library. Getting This is currently only proven to work in Leiningen versions earlier than 2.0. It might work with v2.0, but I've yet to try. Add the following to your Leiningen project.clj file in the :dev-dependencies section: [lein-generative [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 23, 2012 11:40

March 15, 2012

Kay's 8

From Alan Kay on the fonc mailing list (circa March 2012): … since meeting Seymour and starting to think about children and programming, there were eight systems that I thought were really nifty and cried out to be unified somehow: Joss 1 Lisp 2 Logo 3 which was originally a unification of Joss and Lisp, [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 15, 2012 05:54

March 6, 2012

Announcing Marginalia v0.7.0

Marginalia v0.7.0 Release Notes this was a big one Marginalia is an ultra-lightweight literate programming tool for Clojure inspired by docco*. To get a quick look at what the output looks like, visit the official Marginalia website. Usage notes and examples are found on the Marginalia Github page. Places Source code Ticket system manifesto Changes [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 06, 2012 10:12

March 5, 2012

Datomic

It's a proud day as my colleagues Rich Hickey, Stuart Halloway, and others at Relevance, Inc. have announced Datomic — a new kind of database. I wouldn't give due justice in describing what Datomic provides now, so I recommend viewing the video by Rich below to get the summary. Follow that with an introduction to [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 05, 2012 09:35

March 1, 2012

A Bookmark

In my last post on reading I mentioned that I like to take notes while reading to help crystalize my understanding. Here's how I take notes. My bookmark is my note-taking device. It's a Moleskine Cahier plain notebook. It's very thin and works pretty well to mark my page in most sized books. Moleskine also [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 01, 2012 07:04

February 22, 2012

Reading for the Rushed

People sometimes ask me how I'm able to read 70+ books every year despite my extra-curricular, professional, and authoring activities. The truth is that although my reading count the past few years has remained fairly consistent, it's far less than my historical count (by half) and pathetically less than truly prolific readers1. Alas, people ask [...]
 •  0 comments  •  flag
Share on Twitter
Published on February 22, 2012 06:36