cemerick.com
Announcements – cemerick
https://cemerick.com/category/announcements
Doesn't even have a Ph.D. Some parts of me. May 6, 2013. October 17, 2013. Update: I’ve shut down IMHO. It was amusing while it lasted, but it’s clearly not a domain in which I have a fundamental interest. I hope you all enjoyed playing with it while it was among us! I don’t write stupid Twitter apps oftenbut when I do, they’re. Me, wearing a smoking jacket. Well, no longer. I, too, have built a Stupid Twitter App : go check out IMHO. Or its companion Twitter handle, @IMHO. Through a combination of some ...
blog.higher-order.net
Conj-labs Clojure lessons part i
http://blog.higher-order.net/2010/07/04/conj-labs-clojure-lessons-part-i.html
Conj-labs Clojure lessons part i. I attended the first conj-labs in Brussels, June 23-25. It was three days of intense Clojure learning with Clojure profiles: Christophe Grand. I must say it exceeded my expectations! Had I think others can learn from my mistakes. Platform speed protocol functions. But you can use require/use to bring the factory functions into your namespace. I thought I knew: protocols aren't interfaces (and Java interop). It inlines the protocol so the generated class implements the pr...
clj-me.blogspot.com
Clojure and me: February 2009
http://clj-me.blogspot.com/2009_02_01_archive.html
When the pupil is ready to learn, a teacher will appear. Monday, February 23, 2009. This post has moved, go to its new location. Now that fully lazy sequences are in the trunk,. User= (def s (map #(do (println %) %) (range 10) ). User= (def d (drop 1 s). User= (def r (rest s). As one can see. Needs to realize the first element of s while. Doesn't. The corollary is that. Holds on the whole seq (including the nth first elements) while. Computes the first element and then discards it. Follow me on Twitter!
clj-me.blogspot.com
Clojure and me: June 2009
http://clj-me.blogspot.com/2009_06_01_archive.html
When the pupil is ready to learn, a teacher will appear. Monday, June 8, 2009. Linear Interpolation and sorted-map. This post has moved, go to its new location. Can help when working with a partition of disjoint intervals, eg when you need to interpolate. Takes a coll of 2D points (vectors) and returns. Their linear interpolation function.". Let [m (into (sorted-map) points)]. Let [ [x1 y1] (rsubseq m. X2 y2] (subseq m x)]. Y1 (* (- x x1) (/ (- y2 y1) (- x2 x1) ). 0 1/2 1 5/4 3/2 7/4 2 5/2 3).
clj-me.blogspot.com
Clojure and me: May 2009
http://clj-me.blogspot.com/2009_05_01_archive.html
When the pupil is ready to learn, a teacher will appear. Sunday, May 17, 2009. The Need for More Lack of Understanding. This post has moved, go to its new location. By Gilad Bracha echoed with my experience designing two small internal DSL in Clojure ( Moustache. It's not the same kind of non-understanding which I have in mind. I'm talking about a macro/DSL being able to not understand what is passed to it. 8212; thanks to MB's comment. That's why in Enlive you can easily add your own selectors step.
clj-me.blogspot.com
Clojure and me: January 2009
http://clj-me.blogspot.com/2009_01_01_archive.html
When the pupil is ready to learn, a teacher will appear. Saturday, January 31, 2009. This post has moved, go to its new location. A nice article on Clojure. That gives one wrong tip: to use. To access a shadowed global. There are several reasons not to use. It doesn't work if the value of your var is not invokable,. It evaluates to something different: it returns the var an not its value. It happens that vars proxy function calls to their values but a var can be rebound:. Def a (map str (range 10) ).
clj-me.blogspot.com
Clojure and me: July 2009
http://clj-me.blogspot.com/2009_07_01_archive.html
When the pupil is ready to learn, a teacher will appear. Thursday, July 30, 2009. Everybody loves the Sieve of Eratosthenes. This post has moved, go to its new location. If I judge by traffic logs for this blog, many newcomers want to compute prime numbers in Clojure. A recent thread on the mailing list. Prompted me to test an idea I had for a while: to use a map to implement the Sieve of Eratosthenes. The first implementation was this one:. Let [enqueue (fn [sieve n factor]. Let [m ( n factor)]. N p (wh...
clj-me.blogspot.com
Clojure and me: August 2008
http://clj-me.blogspot.com/2008_08_01_archive.html
When the pupil is ready to learn, a teacher will appear. Wednesday, August 20, 2008. This post has moved, go to its new location. Six weeks since last post. Relocating to my hometown. And a trip to Corsica caused me to stay offline for too long. I'll be back online soon (as soon as I get a working DSL link and a nearly empty inbox). BTW, I'm available for contract work from September on. Posted by Christophe Grand. Subscribe to: Posts (Atom). Fr) (contact info at the bottom). View my complete profile.
clj-me.blogspot.com
Clojure and me: October 2008
http://clj-me.blogspot.com/2008_10_01_archive.html
When the pupil is ready to learn, a teacher will appear. Wednesday, October 29, 2008. This post has moved, go to its new location. Lazy-cat [0 1] (map fib-seq (rest fib-seq) ). Posted by Christophe Grand. Wednesday, October 22, 2008. Clojure Golf: subsets-by-card (2). This post has moved, go to its new location. I wasn't happy with the last one. At least this one is lazier and in increasing cardinality order. Reduce (fn [ssbc x]. Map (fn [a b] (concat a (map #(conj % x) b) ). Reduce (fn [ssbc x]. Follow ...
clj-me.blogspot.com
Clojure and me: July 2008
http://clj-me.blogspot.com/2008_07_01_archive.html
When the pupil is ready to learn, a teacher will appear. Tuesday, July 8, 2008. This post has moved, go to its new location. I thought that there was some kind of. To force evaluation of the arguments seq but it's not the case when the applied function is variadic. Posted by Christophe Grand. Tuesday, July 1, 2008. This post has moved, go to its new location. To avoid name clash with. Which is a low-level function (it is used in the definition of. Coll] (but-last coll 1). Fn this [s os].
SOCIAL ENGAGEMENT