21 November 2005

Django down :(

Last time I can't access howtos ruby on rails, and tonight (10:30pm) I can't access django website. See below:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@djangoproject.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

That really frustrated, especially while I'm reading the documentation online. I'm searching something similar to widget idea by TurboGears.

18 November 2005

Attach file ala Gmail

Just publish my rudimentary version of attach file ala Gmail. I'm using behaviour and prototype to manipulate dom and make clean markup.

I had tried another implementation of behaviour, but I guess the function Behavior.apply() is buggy :(. Careful, since behaviour had call the window.onload in their script. hint (prototype: Event.observe(window, 'load', fn, false);). ShrinkSafe from dojo doesn't like the behaviour and the prototype script. ShrinkSafe == Not safe anymore :(

Did I say my script is clean markup? Below is the snippet:

<div id="attaches"></div>
<span class="attach">Add a file</span>
<br/><input type="submit" value="Send">

p/s: this is not related to AJAX.

13 November 2005

Architecture Astronauts

Joel make good point, Don't Let Architecture Astronauts Scare You. This make me thinking again when consider Ruby on Rails/Django as my next web application framework.

I found this Architecture Astrounauts from a thread in Turbogears group.

12 November 2005

Format hard drive, circa 1975

Next time, our future kid will laugh at us why we spend 'minutes' of time to format hard drive, or maybe why we need to format our hard drive :). We should appreciate history.

Format 500kb of hard drive on 1975