read


read
or learn more

(take 8 (david-edgar-liebke))

Jun 21, 2010

(take 8 (david-edgar-liebke))

David Edgar Liebke is a prolific writer of Clojure source codes. His project Incanter is a rocket-powered statistical environment based on R with beautiful visualization capabilities (and then some). David is also a major data geek and is not afraid to talk about it on his Data Sorcery blog. As a founding member of Clojure/core, David flys to-and-fro in the Clojure-jet fighting against the enemies of concision, simplicity, and bad statistics. He was gracious enough to take some time to answer a few of my questions.

(take… is an on-going series of micro-interviews focused on interesting Clojurians.

What is the genesis of Incanter?

Incanter is the result of a project I was working on with my Ph.D advisor before leaving grad school to pursue Clojure/core. The goal was to develop a standalone application for building specific kinds of statistical models that are used in the social sciences.

My early prototypes were built with R, which I love, but it has limitations as a platform for building standalone applications. So I searched for alternatives that would give me R’s interactive development cycle, it’s core statistical and linear algebra functions, its basic data visualization capabilities, but that would be better suited for general-purpose application development. That’s when I found Clojure.

I spent a fair amount of time using Lisp for AI programming as an undergrad, and then had the opportunity to spend more time with it a couple years ago learning to write automated theorem provers. I had always loved its minimalist syntax, the emphasis on using only a few data structures, the mind-melting awesomeness of recursion and macros, and of course the REPL. So, I had always kept an eye out for opportunities to return to Lisp.

After a few preliminary experiments with Clojure, and a couple different Java numeric libraries, I had basic statistical and linear algebra functionality. Then one evening I threw JFreeChart into the mix, giving me basic data visualizations.

I was able to very quickly build an environment that had some of the key features of R that I depended on the most, just by combining Clojure with a couple Java libraries, I was hooked and have never looked back.

Incanter took on a life of its own. What was once built as the underlying framework for a specific data modeling application became a general purpose statistical computing environment.

Are you a music-while-programming kind of guy?

I don’t usually listen to music when I’m working alone or remote pairing, but I definitely like the energy it provides when I’m working down at Relevance HQ — although with the competing musical tastes of 20 different people (not to mention Aaron Bedra’s perverse love of mashups), it’s an eclectic mix to be sure.

Do programmers stink at statistics?

Almost everybody stinks at statistics. However, programmers have an edge now that programming has become an important part of statistics. Unfortunately, they may have no choice but to become better at it because statistics has become an important part of computer science.

Vi, Emacs, or other?

Both. I started life in Emacs, switched to vi/vim because I spent a lot of time doing system administration. I developed much of Incanter with vim and a command line REPL, but I finally found my way back to Emacs for Clojure development because of the power duo of Slime and Paredit, but I still use vim for for everything else.

Aside from Clojure, what programming languages do you hold in high esteem?

I love R despite, or perhaps because of, its quirks; I love the purity of Scheme, and I’ve always appreciated Ruby, and after spending time at Relevance with some of the best Ruby programmers anywhere, that appreciation has grown.

Why did you give up the life of celebrity and riches to join Clojure/core?

I gave up a pretty awesome job, working with some of the best people in the bioinformatics world, a great environment, and a bit of free time. In return I get to work with some of the best Clojurists in the world (including Stuart Halloway, Stuart Sierra, and the man himself, Rich Hickey). I get a front row seat to the development of one of the most interesting programming languages around, and I get to participate in the early stages of a growing community, full of incredibly bright and enthusiastic people. It was an opportunity I couldn’t resist.

Can you provide a picture summarizing your feelings about Clojure/core?

I think this pretty much sums up my feelings.

cookies

Why should anyone care about Clojure/core and Clojure in general?

Well, I think the goals of Clojure/core are pretty cool

  1. Help fund the further development of Clojure
  2. Help improve the Clojure ecosystem and community
  3. Help those that don’t understand the benefits of Clojure’s approach to see the value
  4. Help those that already understand the value to build systems

And I think the combination of in-depth knowledge of the Clojure language and Relevance’s well known expertise in agile development is pretty fantastic.

I consider Lisp the first agile programming language. Later languages couldn’t match its power and fast development cycle. Eventually features like dynamic typing, interactive development with a REPL, and meta-programming made their way to newer languages. In time leading to Ruby, and now Clojure brings it back full circle.

6 Comments, Comment or Ping

  1. Great interview; thanks.

    The way the first letter of each paragraph is bolded made me start looking for a secret message in this post, acrostic-style. Still trying to figure out what “IMIAII IABII-IWAI” means. Even my rot13-powered cryptanalysis is failing me!

  2. Ramon

    Please don’t say “source codes”; code is not a word you pluralize, it’s always “source code” regardless of the amount. Such a mistake in the first sentence of an article about a programmer immediately gave me a bad impression. A programmer would never say such a thing. “Codes” is something kids on MySpace say because they don’t have a clue what they’re talking about, it doesn’t belong in an article about a serious programmer, especially a prolific one.

  3. Nikhil Prabhakar

    Excellent post. Looking forward to more posts in the series.

  4. @Ramon You are full of corrects.

  5. John Cromartie

    I’m a big fan of David’s codes.

  6. Mark Chapman

    Ramon,

    Ouch, newb alert! They were called “codes” before you were a twinkle in your dad’s eye. :-) Generally, you’ll only find people over 50 calling code “codes”, just like they’ll occasionally call database tables “files”, but it’s still valid.

    Sorry to show you up in public, but, it happens!

    -a.

Reply to “(take 8 (david-edgar-liebke))”