-
February 16, 2012
Clojure and the Classpath Since Clojure is built on Java, and Java depends on the classpath to find code that it wants to load and execute, we are stuck using the Classpath when we run Clojure code. Usually we use Leiningen ; to manage the Classpath. “Lein” as we’ll call it from now on, uses a small Clojure file as…
-
February 12, 2012
Functions vs macros in Clojure In my third post on the Clojure programming language I’m going to cover macros. I have a function that I converted to my very first macro in Clojure. I’m going to tell the story here, because it sort of made macros a lot less scary. To begin the story, let’s consider a block of code…
-
February 12, 2012
Clojure lazy sequences, ISeq Functional languages like Clojure support lazy evaluation of expressions. This contrasts sharply with languages like C# where every expression is evaluated immediately. In order to get something that resembles a lazy sequence in Clojure would be to use IEnumerable and yield. Ok so I should probably dig into comparing Clojure sequences with C# Iterators, but I’m…
-
February 9, 2012
Functionally speaking with Clojure and Javascript I’ve been playing around with Clojure a lot more recently as a result of a new project that I’m wor king on. I have played around with Clojure before, especially in the context of the recent .NET port of Clojure . I considered myself to be pretty familiar with functional programming ideas. Higher order…
-
February 7, 2012
That pesky bug I want to talk for a minute about that annoying bug. That one that doesn’t crash the app but makes it do something annoying. That bug that for some reason, has some dependency on the way that the app was designed early on, so the simple fixes break something else in the app. How did this happen?…
-
January 19, 2012
We’re witnessing Internet history today With the mass Web site blackouts protesting SOPA today, I think we’re seeing a real watershed moment for lobbying and activism on the Web. I’ve been a part of various Hacktivism movements and campaigns in the past, but I always knew that these fights were localized and very much under the radar of most people.…
-
January 18, 2012
The state of Javascript documentation on the Web I just wanted to show an example of a Google search that I did on a common Javascript topic. I’ve written about JS documentation on the Web in the past, but I didn’t have too many specifics in that post. I’ve linked to the PromoteJS movement, trying to get Mozilla docs to…
-
January 14, 2012
Hack the Web your way with userjs Few people realize how much their experiences on the web can be tweaked. Sure some savvy users can change the default font size and maybe block ads with an extension. However, the fact that the front-end code of any Web site or application is executed right in the browser makes it possible to…
-
January 5, 2012
JS documentation is still sort of a ghetto – promote JS Way back in 2006 when I started working on Ubernote, there were basically three different places that I went to for documentation on Javascript in the browser – MSDN, MDN, and w3schools. Microsoft MSDN actually was pretty good back then, but now I don’t care about IE so much.…
-
December 25, 2011
Basics of CSS 3D transforms CSS is getting more and more powerful these days, and now that CSS3 supports 3D transforms, we can do quite a lot without resorting to WebGL or some complex 3D drawing library. However, visualizing how 3D works in CSS can still be tricky, and it isn’t as flexible or rigorous as something like OpenGL. I’ve…