Subscribe: searching for signal » Chouser
http://blog.n01se.net/?feed=rss2&author=3
Added By: Feedage Forager Feedage Grade B rated
Language:
Tags:
arrays  beginning  clojure clojure  clojure  created  data  defn  god word  god  iphone  language  lazy  multitouch  repl  word god  word 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: searching for signal » Chouser

searching for signal » Chouser



theoretically unambiguous



Last Build Date: Wed, 14 Dec 2011 19:54:38 +0000

 



Processing arrays using CPS

Thu, 04 Aug 2011 20:55:55 +0000

At work, we're generating JavaScript from another language (which ironically has nothing at all to do with ClojureScript). There are places where we are working with sequences of data, which generally originate with an array or more often arrays nested in other arrays (perhaps with intervening objects). As these sequences get built up and passed [...]



Weekend hack: multitouch drawing on iPhone

Mon, 10 Jan 2011 21:28:27 +0000

I played around with the multitouch browser API and the HTML5 canvas tag this weekend, and came up with a little drawing page for the iPhone.  The slower you drag your finger across the screen, the fatter the line will be. If you use multiple fingers at once, each should produce its own line with [...]



Using binding to mock out even “direct linked” functions in Clojure

Sat, 17 Apr 2010 19:00:44 +0000

The Clojure macro binding is frequently handy for mocking out functionality during testing, but this sometimes does not behave as desired in multi-threaded context. Fortunately, there's a solution... For example, at work we have unit tests on functions that may attempt to talk to network services, which we'd rather they not do: (defn send-request [request [...]



Clojure: Controlling run-away trains, onions, and exercise bikes.

Wed, 03 Feb 2010 13:35:20 +0000

A normal Clojure REPL (or prompt) in a terminal window is by default a bit touchy about infinite seqs, deeply nested structures, and long-running operations. Any of these can cause your REPL to wander off into the weeds, busy spinning, perhaps printing pages of useless data, with the only apparent remedy being to press CTRL-C, [...]



The Joy of Clojure, my perspective.

Sun, 31 Jan 2010 15:40:04 +0000

There are a few books about Clojure in the works now. But despite the variety in authorship and publisher, they all seem to be primarily in the vein of a language tutorial, starting from a basis of "common knowledge" among most programmers and taking the reader to a level of basic familiarity with Clojure. Michael [...]



What is Clojure-in-Clojure?

Sat, 11 Jul 2009 04:10:49 +0000

The code making up Clojure's current implementation can be divided into 3 main groups: 1. The compiler -- used at the REPL and for AOT compilation, the compiler translates Clojure expressions into JVM bytecode. For this discussion, the reader lives in this group. 2. The data structures -- persistent maps, sets, and vectors, sorted and [...]



Experimental branches of Clojure

Sat, 14 Feb 2009 20:03:10 +0000

The author of Clojure, Rich Hickey, has been contemplating changing the behavior of one of Clojure's core features, the seq abstraction. He's been working on a few different alternatives for a couple months now. First, a quick review of how things stand now. Currently a lazy seq can be produced by using lazy-cons: (defn my-range [...]



They really tried, but….

Mon, 02 Feb 2009 22:28:03 +0000

I'm sure they really tried, but they just plain screwed it up. for( var i = 0; i < foo.length; ++i ) { ... } That pattern is used very often in JavaScript to do something with each item in the array foo, setting aside for the moment that it's often not quite correct (if [...]



My path to Clojure

Tue, 20 Jan 2009 04:22:57 +0000

Someone asked me about the path that lead me to Clojure. On the off chance that he's not the only one curious, I thought I'd post the answer here. Sometime after college I started hunting for the "best language", not with any formal definition but as a personal quest for what I liked the best. [...]



Merry Christmas

Fri, 26 Dec 2008 05:45:07 +0000

In the beginning was the Word, and the Word was with God, and the Word was fully God. The Word was with God in the beginning. All things were created by him, and apart from him not one thing was created that has been created. In him was life, and the life was the light [...]