“Tone mapping reduces global contrast in images while increasing local contrast and shadow/highlight detail.” or so Gimp Addict’s Tone Mapper tutorial says. Go and read his tutorial, I will add few comments to it:
4) “radius of 100-500 is good” — yes, it usually is, but since we don’t know the size of the image, I’d […]
Do you know what common sense is?
Common sense is:
NOT setting fixed height for elements whose actual height can change anytime, and especially not setting this particular height to three elements next to each other, to keep them with the same height (common sense solution is to wrap it all in another element)
NOT calling your database […]
As I mentioned in the previous post, I needed a CAPTCHA algorithm. As I couldn’t find anything simple and usable that would do what I want (ie follow the basic principles of captcha creation (readibility for humans, and hopefully unreadibility for machines)), I decided to write my own. The purpose of this was just to […]
In wordpress database, column comment_status is of type enum(’open’, ‘closed’, ‘registered_only’). But for some reason, ‘registered_only’ is never used anywhere…
I use disable comments plugin, which is excellent because it is very simple. Here is the relevant part:
$wpdb->query(‘UPDATE wp_posts
SET comment_status = "closed", ping_status = "closed"
WHERE DATEDIFF(NOW(), post_date) > ‘ . $days);
And if you want it to […]
It all started about a year ago, at a go tournament in Blansko, where I played a game called “fujtajblíci”. I enjoyed it a lot, so I thought I could create online version. But as you might know, it is quite a huge leap from thinking about doing something to actually doing it.
Anyway, now I […]
Seriously, what would you think about a language that is weakly typed and uses the same operator for concatenation and addition?
I think it’s insane.
Well, so much for my first encounter with JavaScript. And although I encountered way more problems (most of which were caused by my own stupidity, as usual), the fact that the plus […]
When you are creating a design in css, you will often run into various problems. The problem is that you often don’t really know where the problem is. That’s where the problem is.
I was using “border: 1px solid red;” to determine where certain element was. This has several drawbacks… first, it adds 1px on each […]
Is it even possible that I forgot to advertize my new project on my own blog?
So… here it goes: I created tsumego collections.
Some people obviously like it, as I can see some traffic from sources like something.mail.yahoo.com (someone sending emails with a link to my page?). I wonder if I should write an ad into […]

