Last night I installed a new version of Wordpress. It’s not an official release, Wordpress Delta, so you have a possibility that there are some bugs.
…like I have. :)
Trackbacks and pings aren’t working, neither does the logout button. So I guess I have to wait for a new nightly then.
Heron in our gardenYou’re never going to believe this: we just (10 minutes ago) had a visit from a heron (“ne reiger” for the flemish). Maybe that’s the most common thing where you live, but here, where we live it sure isn’t. At least, not in the garden.
I’ve put 2 pics of the heron in my freshly installed version of photostack. I still need to integrate it (photostack that is) with my blog, but then again, I need to do a lot of things with my blog. :P
Some people probably noticed, and I mentioned it already. The menu, amongst some other things, looks terrible when viewed in IE.
This is all because of IE doesn’t like png-transparancy. Yes, I know I posted a solution to this…but when I come to think of it, I don’t like it.
It just needs to work. I need come up with something new. Fast. :P
Pete launched javadocs.org yesterday. It’s an easy way to access the java api. Google is not bad at that either, but still, this can be pretty useful.
There is also a Firefox search engine plugin available which makes it even more useful. :D
via Oliver
I wanted to rename all my pics in a directory to 1.jpg, 2.jpg, 3.jpg, and so on. You’ve got the picture, right? ;)
So once again, ruby to the rescue:
i = 0 Dir[“*”].each { |f| File.rename(f, (i+=1).to_s + “.jpg” ) }
Maybe some ruby-guru’s can come up with something better, but this bit of code did the trick.
Now, that is another nice thing to check out : shutdown hooks.
Shutdown Hooks by David Walend — A shutdown hook is a Thread designed to be run after a program receives a signal to exit, but before daemon threads stop, finalizers run, and the JVM goes poof. Shutdown hooks are great for clearing dirty caches, closing out open resources, and announcing this shutdown to other processes.
… there must be some downsides to this hooks, no? Mmm, needs a bit more investigation I guess. ;)