Be using pre-commit hooks !
How embarrasing: https://github.com/cakephp/cakephp/commit/b545d8b201d7add56a26c755f5e7045965abb05b
Fixed in: https://github.com/cakephp/cakephp/commit/c6449f649f055d2d5111f593b80d9f395952afa3
Stick this in https://gist.github.com/181e9ab9b588344aac90 as your .git/hooks/pre-commit
Croogo with CakePHP 2.0
I have been working on porting Croogo 1.3 to run on top of CakePHP 2.0, and it's nearly done! You can view the branch on github. Next step will be converting my plugins. This site itself is already running on top of CakePHP 2.0 (2.1 branch: 2.0.0-131-gad524b2), with:
- An experimental port of Zurb Foundation as Croogo theme
- Modified HopelessArt theme by Pascal Precht (currently disabled)
- phpedinei's Gallery plugin converted to 2.0.
RIP - Dennis Ritchie

RIP: Dennis Ritchie
If there is any death that should be mourned in the month of October, it is that of Dennis Ritchie. I doubt that he would want to be evangelized (like another passing that occurred recently), but your respects we ask for. If you have an iPhone or an iPad, iMac or iPod, his work is there. Much of it is just the way he left it. The difference is, he actually invented it.
20 years of Linux
After watching this, I found myself reminiscing about my fond first brushes with Linux, incarnated as Slackware and Redhat a long long time ago, in a continent far far away.
If I recall correctly, this was the days that:
- Slackware install had around 12 floppy disks
- Fvwm95 was the coolest Window Manager
- Redhat was a new kid on the block
- You rant on usenet instead on twitter
- People hunt for goblins and orcs in MUDs instead of harvesting lands in Farmville
Gallery Plugin
I'll be needing a photo gallery plugin for a new project. Thankfully, Croogo already has a photo gallery plugin by Edinei L. Cipriani. But the project needs a more 'flashy' transitions. So, here's a demo with my updated version using nivo-slider featuring the beautiful Yvonne Strahovski.
Edit: I'm experimenting with Zurb's Foundation as a Croogo theme, and the gallery has been changed to use Orbit.
Migrating from Joomla to Croogo
During past year, I have started using CakePHP as my web development tool of choice. Thus, it's time to convert my old site into a cakephp based CMS. I have chosen Croogo for this purpose due to its simplicity and ease of use.
My previous CMS was Joomla, and was built eons ago. Although the site was pretty much empty, I'd like to have those posts migrated. Thus, as an exercise I wrote a cakephp/croogo plugin to assist the migration process. This site is the first live test of the conversion.
Currently, the plugin can migrate sections and categories, posts, and users. You will need to manually reset your user accounts after conversion process has been completed.
iPhone/iPod 2.0/2.0.1/2.0.2 audio volume tweaks
After upgrading firmware to 2.0/2.0.1/2.0.2 and using it for a while, i found that some of apps that using audio output does not affected if we decrease/increase audio volume using music player volume slider.
So, i began jailbreak my device and googling for audio tweaks. Then i found Volume Booster for 2.0.1 and install it. But i think its only boost volume output for music player a bit, but not global, so other apps still not having effect.
Then i found this file (com.apple.celestial.plist) on my iPod Touch. Its in binary but if you want to know whats in it you can use some property list editor apps found out there, or simply use this http://140.124.181.188/~khchung/cgi-bin/plutil.cgi
It contains XML like this,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>volumeLimits</key>
<dict>
<key>AllRoutes</key>
<real>1</real>
</dict>
<key>volumeMultiplier</key>
<dict>
<key>global</key>
<real>1.032174825668335</real>
</dict>
<key>volumes</key>
<dict>
<key>AllRoutes</key>
<dict>
<key>Audio/Video</key>
<real>0.53217476606369019</real>
</dict>
</dict>
</dict>
</plist>
As you can see there is volumeLimits value is 1, and volumeMultiplier is 1.032174825668335.
So i try increase those value to 1.5 for volumeLimits and volumeMultiplier then reboot it.
Now others apps should have louder sounds when it plays.
To reset it, use Settings -> Music -> Volume Limit (slide it to whatever fits you)
Hope helps...
openSuSE 10.3 on top of Vista.
Want to run Linux without dual booting? Enter coLinux. coLinux is Cooperative Linux, a port of the Linux kernel enabling execution alongside other operating system.
Here's my experience about installation and use of openSuSE 10.3 with coLinux: http://www.serbalinux.com/portal/tips-and-tricks/34-tips-and-tricks/1014-opensuse-103-on-top-of-vista
coLinux can be downloaded at http://www.colinux.org.
Upgrade..
Indonesian link crippled
A little more information about the effects of this on Indonesian internet situation is shown here.
Interesting post
From kerneltrap:
From: Linus Torvalds [email blocked]
Subject: Re: Linux 2.6.17-rc2
Date: Fri, 21 Apr 2006 10:58:46 -0700 (PDT)I got slashdotted! Yay!
On Thu, 20 Apr 2006, Linus Torvalds wrote:
>
> I claim that Mach people (and apparently FreeBSD) are incompetent idiots.I also claim that Slashdot people usually are smelly and eat their
boogers, and have an IQ slightly lower than my daughters pet hamster
(that's "hamster" without a "p", btw, for any slashdot posters out
there. Try to follow me, ok?).Furthermore, I claim that anybody that hasn't noticed by now that I'm an
opinionated bastard, and that "impolite" is my middle name, is lacking a
few clues.Finally, it's clear that I'm not only the smartest person around, I'm also
incredibly good-looking, and that my infallible charm is also second only
to my becoming modesty.So there. Just to clarify.
Linus "bow down before me, you scum" Torvalds
Matrix Online
It may be MUD on steroids, but it should be interesting and enjoyable to see how the Wachowski brothers design a multiplayer game.