Wednesday, January 30, 2008

Java, Javascript and History

For those of us who are confused if we are currently to use Java or Javascript on the the server-side or the client-side: Dion Almaer from Ajaxian has a a historic perspective (taken from here):

Friday, January 18, 2008

Thursday, January 03, 2008

Awesome Flex tool

fxspy is like Firebug for Flex. I think in 2 days I cannot imagine the world before anymore.... (check out the demo: click the button in the upper right corner and edit property values). Installation instructions are on the wiki.

Wednesday, January 02, 2008

Whose chopper is this?

(Zed's dead, baby. Zed's dead.)

In case you follow the Rails community you must have come across this New Year's rant of Zed Shaw, creator of Mongrel. It is really tiring to read as Zed seems to be a textbook-case for ego problems. However, I find this bit really interesting:

I believe, if I could point at one thing it’s the following statement on 2007-01-20 to me by David H. creator of Rails:

(15:11:12) DHH: before fastthread we had ~400 restarts/day
(15:11:22) DHH: now we have perhaps 10
(15:11:29) Zed S.: oh nice
(15:11:33) Zed S.: and that's still fastcgi right?

Notice how it took me a few seconds to reply. This one single statement basically means that we all got duped. The main Rails application that DHH created required restarting ~400 times/day. That’s a production application that can’t stay up for more than 4 minutes on average.

Let me put this into perspective for you: I’ve ran servers that needed to be restarted once in a year. They were written in PHP, Python, Java, C, C++, you name it. Hell, I’ve got this blog on a server I’ve restarted maybe 10-20 times the whole year.

Now, DHH tells me that he’s got 400 restarts a mother fucking day. That’s 1 restart about ever 4 minutes bitches. These restarts went away after I exposed bugs in the GC and Threads which Mentalguy fixed with fastthread (like a Ninja, Mentalguy is awesome).

If anyone had known Rails was that unstable they would have laughed in his face. Think about it further, this means that the creator of Rails in his flagship products could not keep them running for longer than 4 minutes on average.

Repeat that to yourself. "He couldn’t keep his own servers running for longer than 4 minutes on average."

Assuming his statements are true (which we may never know) he basically duped us all.


If that is true it is scary.

On related gossip: the Rails community does not seem to appreciate this rant. Zed lost the top spot on WorkingWithRails's most popular list.