Archive for June, 2008
Firefox 3 coming into your door SOON! Indonesian pledgers eclipsed by Japan.
Tuesday, June 17th, 2008 by Agro RachmatullahStarting from June 17, 10 a.m PDT, or June 18 in Indonesia, we can download Firefox 3 final! I’m running its latest RC right now, and will of course download it as soon as it becomes available.
They are aiming to be the most software downloaded in 24 hours, and that’s partly the reason I’m hyping it. You can actually pledge to download Firefox, and 1.5 million people have actually pledged. It’s a shame that while Indonesia has almost 2 times the population of Japan, Japan has almost 9 times people pledging! This shows how primitive, or how free-software-apathetic, the Indonesian culture is.
So, don’t forget to do it tomorrow. (I wonder whether their servers can handle the load)
Trapping a mouse inside a book chest!
Monday, June 16th, 2008 by Agro RachmatullahThe mouse hunting saga continues…
For the last few days, I’ve noticed that one mouse likes to travel around between the book chest in front of me to the dark room behind me. My father suggested that I trap the mouse when it was inside the book chest, which was indeed a little bit open.
Unified login on WikiMedia projects
Sunday, June 15th, 2008 by Agro RachmatullahIt was really painful for me to register and register again on different WikiMedia sites. I have accounts on the Indonesian and English Wikipedia plus some other ones. Luckily, they now have a single unified login system!
I just unified my accounts today, and the process is simple. Just go to the Special:MergeAccount page on one of the wikis which you have an account already. For me I chose http://id.wikipedia.org/wiki/Special:MergeAccount. Then just follow the wizard!
Dean Edward’s packer: A JavaScript compressor
Saturday, June 14th, 2008 by Agro RachmatullahIf you’re using JavaScript, you might consider using packer before deploying your code. It will compress your JavaScript code and in most cases will make your code smaller. When you use the compressed JavaScript online, it will result in bandwidth savings.
The method is simple, copy your code on the Paste text box, select whether you want to use Base62 encode and Shrink variables option, and click the Pack button. The documentation says that you must terminate statements, including function declarations, with semicolon so you better abide it.
Katakana error in the Wikipedia logo
Friday, June 13th, 2008 by Agro Rachmatullah
You surely must have seen the logo above lots of times, right? The characters in the puzzle pieces there represent scripts from different parts of the world. Each Script should show the letter that most closely resembles “wi”, the starting syllable of Wikipedia.
However, let us look at the katakana inside it:

See anything wrong?
A shapeshifting BMW car!!!
Thursday, June 12th, 2008 by Agro RachmatullahImagine a car made from fabric that can change its shape flexibly like a clay. Imagine no more, BMW has it:
It’s really jaw dropping to see it in action. You must see it if you haven’t already, it’s the future of cars!
The heavy duty of Windows Task Manager - Memory leak?
Wednesday, June 11th, 2008 by Agro Rachmatullah
My memory usage was soaring past 1.5 GB, so I closed the main culprit, a Firefox 3 RC2 with 20+ tabs opened. As usual, I thought it was time to restarts other programs as well.
Global variable scope in PHP
Wednesday, June 11th, 2008 by Agro RachmatullahI need to do some WordPress hacking so I’m actually playing around with PHP at this time. What surprised me recently was that this code doesn’t work as I expected:
$foo = 1;
function bar()
{
var_dump(isset($foo));
}
bar(); // gives bool(false)
It turns out that in PHP global variables are not automatically available inside functions, to prevent accidental overriding. (I have a C-ish background) To use a global variable inside a function, we need to use the global keyword:
10 hours straight without electricity: nuclear power to the rescue?
Tuesday, June 10th, 2008 by Agro RachmatullahWell, almost 10 hours…
5 days after the last blackout, Sokaraja got its turn again. They cut the powers off at around 7:24.
I needed to write using my laptop, so I went along my parents to Purwokerto and stayed at GLP for the day (pictured above). When I arrived back home, the lights were still off. It went back to normal operation on around 17:00.



