It took a bit longer than expected, but… there is captcha, comments are back on and new articles are coming!
I blocked comments to stop them spam flood. I’ll reactivate them as soon as I get some time to setup captcha.
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…
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…
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…