Just a Few Lines

That's all it takes, usually...

New design, new content

July 14th, 2010

It took a bit longer than expected, but… there is captcha, comments are back on and new articles are coming!

Comments blocked, temporarily

November 7th, 2009

I blocked comments to stop them spam flood. I’ll reactivate them as soon as I get some time to setup captcha.

RAM disks for fun and profit

October 16th, 2009 |

Some time ago I was digging through my very old files, back from Windows 9x days. One of the interesting things was a note I wrote to myself, explaining how to setup a RAM disk. While glancing through it an idea struck me – “can I use it for Tomcat and other Java stuff?”.

It turns out, I can. If you don’t feel like reading the whole story, here’s the bottom line: use RAM disk for everything Java – it’s WAY faster than HDD. For more details, read on. Read more…

Making use of PHP closures

October 12th, 2009 | ,

Even though closures in PHP are not quite as easy to use as in other languages, we can still employ them for something useful.
Read more…

Groovy’s ?. operator in PHP. Sort of.

October 6th, 2009 | ,

In almost all languages, chaining method calls on nested objects is either ugly or unsafe. Groovy found an elegant way around it with ?. operator. PHP didn’t. This article shows what can we do about it. Read more…