Author Archives

A man with a determination to become a pilot for a fighter jet.

Yahoo! Open Hack South East Asia 2009 results

At last!
In case you didn’t know, Yahoo! just had its first Open Hack Day in South East Asia 2 days ago (Nov 21-22). The place? Balai Kartini, Jakarta, Indonesia. It consisted of two main events: The Tech Talks (Nov 21st 9:30 - 16:00) and the Open Hack itself (Nov 21 13:00 - Nov 22 13:00).
Nothing [...]

This blog is not dead (yet)

Contrary to the popular belief (ha!), this blog (and me) is not dead (yet). Works and constant distractions (and the lack of writing materials) have made this blog stagnant and I’m not proud of it.
I’ve been wanting to put more codes/tutorials here to compensate for the scarcity of posts but currently have no idea [...]

Alright…

A: Hey, the codes I got from the web don’t work. Could you check them out for me?
B: (stops typing) Okay, where?
A: Here.
B: Where’s the error at?
A: Dunno, it just don’t work.
B: … Where did you got this from?
A: Wait a sec… Here’s the URL.
B: (opens page) Hm.. Okay, here’s the explanation of it: (read [...]

On blogging

If I have to name two out of a gazillion of a blogger’s worst enemies, it would be, 1) crappy internet connection, and 2) Spam.
Okay, I’m not exactly a blogger, seeing how I abandoned my own blog like this (geez, months of no updates). Let’s just assume I am a (borderline) blogger, for the sake [...]

What did I do?

“So, what do you do?”
That, dear good reader. is somewhat an obligatory question whenever a person is chatting with his/her long-time-no-see friend.
When I am asked that by people, my usual reply is:
“I work as a programmer, or to be specific, web developer.”
“Oh, so you are a web developer?  Where is it?” usually follows after that. [...]

Cube cube cubing

I’ve picked up a new hobby recently. Yet another one with minimal muscles involvement. (sigh, I kept telling myself to go pick up a real sport (as in muscle activity) as a routine, but, oh well)

Rubik’s-friggin’-cube
Solving Rubik’s cube, or simply, cubing. And it got at least 5 popular categories, from the mostly known speedcubing, blind-folded [...]

Poof!

.. and just like that, May was over and we’re all on June, the middle of 2009. When did that happen ?

Implementing the Konami codes

Found this on Reddit comments while reading about Facebook implementing the code on their pages. (heh)
Here’s how to do this.

konami = function()
{
alert('konami');
};
var r = [];
document.onkeydown = function(event)
{
r.push(event.keyCode);
if (r.length > 11)
r.shift();
if (r.join('') == '3838404037393739666513')
konami();
};

Demo here.
Konamicodesites.com has a list of the websites implementing the Konami codes.

Yahoo’s 34 Rules for Speeding Up Websites

If you are a web developer or one of the people that actually care about your website(s) performance, and looking for ways to improve it, then Yahoo’s Best Practices for Speeding Up Your Web Site is definitely a must-read. If you are not, feel free to skip this post.
Yahoo has put up quite a research [...]

When your web server is low on memory

I’ll list some of the common things that could happen when your standard web server (Apache PHP MySQL) is low on memory (based on personal experience) :

PHP throws a “Fatal Error : Out of memory (allocated x) (tried to allocate y bytes)”, where x is a large number and y is usually a very small number. [...]