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

muhuk's blog

Nature, to Be Commanded, Must Be Obeyed

August 01, 2014

Lean Startup Notes - Part 1: Theory

I have pre-ordered the The Lean Startup but then I haven’t opened its cover except to skim through a few random sentences now and then. I have finished it during my summer vacation. These are my short notes from the book. They are quite terse and mostly for my own reference. But take a look anyway, you might find these concepts interesting. In any case, I strongly recommend the book.

Read more...


July 01, 2014

Clojure Macro Spotted In Wild: defproject of Leiningen

“Programs must be written for people to read, and only incidentally for machines to execute.”

—Harold Abelson

Reading code is a great way to improve programming skill. It is not just a progressive practice though. I have observed that those who are not in the habit of reading code lose their edge eventually. Perhaps they didn’t have an edge to begin with and their lack of experience was overrated when they are evaluated. Regardless, I stand by the practice of reading code.

Read more...


June 23, 2014

More Or Less?

Let’s talk about archery. The fact of this post being about bodybuilding or that I don’t know anything about archery won’t stop me.[1] I will go ahead and give you advice about archery. You’re welcome.

“The mind is the limit. As long as the mind can envision the fact that you can do something, you can do it, as long as you really believe 100 percent.”

—Arnold Schwarzenegger

Let’s say we want to be good at archery. We have all our gear; bow, arrows, target board, etc… We have a nice, safe, quiet place to practice. We have the time. We are all set.

How about we practice two hours every day? This is totally doable, no? I am sure we would become good enough to compete one day, if we kept training like this. Maybe in a year. Or two. Or five.

What if we practiced 4 hours? It is still a very reasonable length of time. We should be advancing almost twice as fast as if we practiced 2 hours.

If we doubled the duration of our practice sessions, up to 8 hours we can expect to reach that level of proficiency sooner. Of course we can’t possibly practice 24 hours a day for more than a day or two. But within reasonable limits this theory holds: the more the better. The more we practice, the faster we build your archery skill.[2]

Read more...


June 19, 2014

Announcing lesscss-cli 1.1.0

I have just released a new version of lesscss-cli, command line tool for LESS compiler lesscss-java. You can get it via maven:

<dependency>
    <groupId>com.muhuk.lesscss</groupId>
    <artifactId>lesscss-cli</artifactId>
    <version>1.1.0</version>
</dependency>

This release upgrades lesscss 1.7.0.1.1 which uses LESS 1.7.0.

Read more...


June 08, 2014

Entity-component-system in Clojure

I have been working on this library, clecs, for a couple of months. It is an entity-component-system (ECS for short) implementation in Clojure. And it is definitely not production ready yet. This is not going to be a tutorial but I’d like to go over some decisions/discoveries related to clecs and ECS in general.

Read more...