I don't really blog anymore. Click here to go to my main website.

muhuk's blog

Nature, to Be Commanded, Must Be Obeyed

October 07, 2015

Is Clecs Dead?

My last commit to clecs repository was six months ago. It was nowhere near complete by then, I suppose it wouldn’t be unfair to think I have abandoned the project. I have not completely given up clecs, but I don’t have the motivation.

I have asked two questions about clecs a year ago:

Read more...


October 01, 2015

Who in Their Right Mind Would Use Monads in Clojure?

It is a well known fact that any respectable programmer with a blog must write a tutorial on monads. And it must start with functors and build its way up to monads. I will let respectable programmers worry about this. This is not a tutorial on monads.

This is not about how to use monads in Clojure either. Also this is not some static typing versus dynamic typing comparison/flamewar. I think they both have strengths and weaknesses and neither of them is superior to the other in all areas. I reserve the right to change my opinion in favor of statically typed languages in the future.

TL;DR; You might find monads helpful in expressing large computations even in a dynamic context.

Read more...


September 29, 2015

Would I like to Work for You for Free?

Yes!

I thought you would never ask.

Read more...


September 17, 2015

Performance Tuning Clojure Generative Tests

Generative testing is using semi-random data instead of preset inputs and outputs in tests. Clojure’s QuickCheck port test.check provides this functionality[1]. While test.check makes it quite easy to write generative tests, it takes a bit of hand optimization to run avoid exponentially increased run times.

Read more...


September 09, 2015

Displaying Clojure Test Results in Taskbar

This is a quick tip if you are using lein-test-refresh on KDE; each time tests are run you can generate a desktop notification with the test results.

Read more...