News for hackers. Stuff that matters.

cjohansen

Dataspex is a new data browser for Clojure that runs in Chrome/Firefox devtools and inspects frontend ClojureScript data, backend Clojure data, databases, has an audit log with time travel ++ All this for two lines of setup code.
The code from the presentation is here: https://github.com/cjohansen/om-sweeper
Re:Clojure to die for on Tuesday March 11, 2014 @09:51AM (#7379157)
It's an expression of enthusiasm, don't take it so seriously.

min* is like min but takes a list, it's not built in. Yes, I know about apply, I still prefer min* to (apply min) in certain cases.

Re:Clojure to die for on Tuesday March 11, 2014 @09:47AM (#7379133)
> I think the article is overly focused on small, pragmatic syntax issues without explaining how the underlying language and runtime have _enabled_ them.

That was kinda the whole point of the post.

Re:Clojure to die for on Tuesday March 11, 2014 @08:58AM (#7378917)
Thanks!

I don't have any problems with the skewed "readers per effort" metrics, it was just a fun observation. If my only goal was internet fame, I would not write huge long-ass posts :)

Re:Clojure to die for on Tuesday March 11, 2014 @07:54AM (#7378674)
It's not really intended as an "evangelist" post. It's just describing some details that makes a big difference to me in my day-to-day work. I guess it's more of a "hey, fellow Clojure programmer, don't you agree that these details really put the icing on the cake?" kind of post.

Maybe the other post I posted the same day would give newcomers a better impression of what using Clojure is like in practice (lots more code, more in-depth): http://cjohansen.no/building-static-sites-in-clojure-with-st...

Re:Clojure to die for on Tuesday March 11, 2014 @07:23AM (#7378557)
I spent 10 or more hours writing "Building static sites in Clojure with Stasis" (http://cjohansen.no/building-static-sites-in-clojure-with-st... / https://news.ycombinator.com/item?id=7375425). It was written so people could enjoy it even with little Clojure experience. As a piece of supportive material, I pulled together this post about some (to me) exciting idioms in about 40 minutes. Results after one day: the afterthought is #4 on hacker news, and has 10k views. The "real" post has a mere 3k views, and is long gone from hacker news.

Who says hard work pays off?

Glad you liked it! :)
Re:Unit Testing 101: Are You Testing Your JavaScript? on Wednesday February 23, 2011 @04:38PM (#2255925)
Actually it's Linux Mint 10, but same Gnome setup :) (Also, Mint is just a slightly different wrapper on top of Ubuntu).
Re:Unit Testing 101: Are You Testing Your JavaScript? on Wednesday February 23, 2011 @04:37PM (#2255920)
Test automation is about preventing bugs, sure. And TDD is about software design. I don't disagree.

However, unit testing is also a nice way to find bugs. In any case, "trapping" a bug like I did in this article is often an effective way of introducing newcomers to what a unit test is.