/dev/null

Static is evil.

October 31, 2008

Update on “Script error leaving page with applet tag” (jQuery)

Tags: , , — 23:10

After 9 months of waiting, there finally might be a fix for jQuery bug #2349: When you hide or remove a Java applet, you get a script error in Firefox. The impact was, that you could not really use jQuery together with Java applets. I’m really looking forward to jQuery 1.3.0! :D

October 29, 2008

Update on object property reordering in Google Chrome

Tags: , , , — 14:26

Iterating over an objects properties can result in a seemingly random order, it’s always the same order in Chrome, but in a different order for other browsers. I posted this as bug #223 a couple of weeks ago. John Resig posted the same issue as ticket #883 a day later. It was confirmed in the meantime by the chromium developers and described as an expected behavior. Very funny.

September 3, 2008

First Google Chrome bug found

Tags: , , , — 01:30

I just found my first bug in Chrome: If you iterate over object properties (using jQuery’s $.each()) and insert HTML generated inside that loop into the DOM, then that HTML appears in random order. Very funny. Might be a problem with threads or Chrome changes the order of object properties by itself:

http://code.google.com/p/chromium/issues/detail?id=223

August 19, 2008

Memory wasting Zend_Mail

Tags: , , — 02:54

I just wrote a small script to manage my mails… turns out that Zend_Mail uses some special trick that causes a fatal error:

Reading 3274 messages…

Fatal error: Out of memory (allocated 11534336) (tried to allocate 18446744073709551615 bytes) in /usr/share/php/libzend-framework-php/Zend/Mail/Storage/Mbox.php on line 198

That’s around 17179869183 TB of memory… to read 3274 mails… makes 5247363 TB per message… not bad ;)

Powered by PHP, Memcached, Suhosin, MySQL and WordPress