December 29th, 2008
It has been quite sometime since I blogged. But, here are three flickr links to some pictures I took during some of my latest trips within the year. There could be more but I have yet to sort them out.

More pictures from my April 2008 in Shenzhen, China for the 1st ASEAN CERT Meet trip

More pictures from my October 2008 in the Bay Area, USA for the BlackBerry Developer Conference 2008 trip

More pictures from my November 2008 in Macau for the GSM Asia Congress 2008 trip
Enjoy!
Posted in Personal | No Comments »
June 3rd, 2008
The project called Barry is pretty vital to me as a BB user. Unfortunately, it does not have Fedora 9 binaries yet and does not build nicely too. So, I took the liberty of building them.
Here they are for download:
And the source RPM can be found here:
And here is the patch that makes it build for Fedora 9 if you get ‘memset’, ’sort’, ’strlen’ not found errors.
Hope this helps someone.
Posted in Linux | 8 Comments »
February 11th, 2008
For the love of my friends, I was forced to research high and low for a hack that would allow iPhone’s with versions 1.1.2 and 1.1.3 OTB to work. Fortunately, the iPhone community came out with the appropriate documentation at just the right time.
Downloading the following first:
The I followed the instructions from the iPhone unlock site.
Some strange things that did not work right away:
- Please make sure you are using iTunes 7.4 and not iTunes 7.3. While using iTunes 7.3, I get the dreaded “unknown error (1)”. I am using iTunes 7.4.3.1.
- Instead of using AppTapInstaller.exe to kick the iPhone out of recovery mode. I used jailbreak 1.1.2 and ran the ‘windows.bat’ script. Then I selected “Boot from Recovery”. If you are doing this from a 1.0.2 or 1.1.3 firmware release then it is possible that you won’t get the activation screen. If this happens just repeat the process.
- Sometimes, you have can change *#301# to *#307# to make it work. I had one phone that refused *#301# for some strange reason.
- You need to have a SIM on the phone to do the above sequence. You will get a “please insert valid SIM” error if you don’t.
- If you do something and loose the Phone application, just dial “0″ then answer, then hold, then decline and you should get your Phone application back. If you restart the iPhone just go through the *#301# or *#307# thing again.
- Join a WiFi network using the “prefs:” link. Sometimes, the WiFi prompt in Safari is flaky.
- Sometimes, the “Tap to activate iPhone” in the i.unlock.no site does not work. It just goes back to the Activation screen without restart. You have two options. You can wait or you can reboot and re-visit the i.unlock.no site again.
- After the 1.1.2 upgrade, if you get a cable in the screen instead of the activation windows then some screwy happened. I don’t know what causes this but I had to do the whole thing again from the 1.1.1 downgrade.
- Some CPs like using the alphanumeric character short codes that crash the iPhone. Please install the SMS Fix application to remedy this situation.
- Install the iWorld application to allow use in Smart and Globe SIM cards. If not SMS does not seem to work.
Don’t forget to donate to the people behind all of this. Happy Hacking!
Posted in apple | No Comments »
February 9th, 2008
I spent a bit of last night cleaning up this patch to support the option for breaking the First Name Field into Multiple Lines in a GenealogyJ report. This is a wonderful report written by Przemek Wiech that allows people to create nice printable family trees.
Here is the patch file:
http://cng.ateneo.net/cng/wyu/software/patch/genj-20080205-multiline_firstname.diff
Good luck!
Posted in Personal | No Comments »
January 17th, 2008
I spent a bit of last night cleaning up this patch to support the option for removing dates in a GenealogyJ report. This is a wonderful report written by Przemek Wiech that allows people to create nice printable family trees. Aside from adding the removal of dates option, I noticed that it only colors upto 13 generations. I modified the code a bit to cycle three times to give us 36 generations.
Here is the patch file:
http://cng.ateneo.edu/cng/wyu/software/patch/genj-20080118-draw_dates-support.diff
Good luck!
Posted in Personal | 2 Comments »
December 9th, 2007
While browsing the Internet for tools to make my Blackberry on Linux life easier. I bumped into a really well maintained project called Barry. Unfortunately, it does not have Fedora 8 binaries yet. So, I took the liberty of building them.
Here they are for download:
And the source RPM can be found here:
Hope this helps someone.
Posted in Open source | 2 Comments »
December 8th, 2007
I expected my upgrade to Fedora 8 to be as flawless as my upgrade to Fedora 7. Oh. But, I was mildly disappointed. The upgrade itself was fine but there were a number of issues that you might encounter along the way too. Here are my notes that should help you in your upgrade or installation of Fedora 8 on Dell hardware.
- Problem running Fedora 8 installer from DVD-ROM. Yes. The first thing you do to upgrade or install is actually problematic. This is because of a possible (never ending) issues with ACPI. Just add the following string to the end of the kernel options boot line.
nohz=off noloapic
- Installing TuxOnIce (formerly known as Software Suspend 2). Ok. Since, I did an upgrade it should have upgraded the kernel and support files too. Which it did nicely. But, after testing hibernation, my machine refused to wake-up and it hung at the “going atomic” part of the resume. So, I went into single user mode and tried disabling and enabling each service at my run level to find the guilty service. I did not have to go to the module level because my runlevel 1 hibernates and restores nicely.
Anyway, here is the yum repository file for those of you who want to install TuxOnIce for the first time. Put this file in the /etc/yum.repos.d directory.
[suspend2]
name=Fedora Core $releasever - $basearch - Software Suspend 2 kernels and utilities
baseurl=http://mhensler.de/swsusp/download/yum/fc$releasever
enabled=1
gpgcheck=0
Then run the following commands:
yum install kernel-tuxonice
yum install userui-tuxonice-fbsplash userui-tuxonice-theme-fedorainfinity
After this … It still won’t work. This is the point where my upgrade left me. The solution is to make sure that NetworkManager and NetworkManagerDispatcher services are disabled before hibernating and that they restart after a resume. Simple edit the /etc/hibernate/common.conf and add the following line.
StopServices NetworkManager NetworkManagerDispatcher
StartServices NetworkManager NetworkManagerDispatcher
The current working version of the Linux kernel with TuxOnIce that I used and tested is 2.6.23.8-63_1.cubbi_tuxonice.fc8.
- Nice TuxOnIce GUI hibernate screen is not working. My problems did not end there. Apparently, the was a bug in the mkinird-tuxonice script for this version that failed to increment the version number of the tool. Another problem is that you can’t seem to use any other splash theme like the nice fedora-infinity theme you installed above. What are we to do?
First off, patch the ‘mkinitrd-tuxonice’ script with the following:
--- mkinitrd-tuxonice.old 2007-12-08 14:34:21.000000000 +0800
+++ /sbin/mkinitrd-tuxonice 2007-12-07 17:25:35.000000000 +0800
@@ -83,7 +83,7 @@
nolvm=""
nodmraid=""
tuxoniceuserui="none"
-tuxoniceversion="20209"
+tuxoniceversion="20212"
tuxonicefwtarget=""
splashtheme="suspend2"
Then regenerate the initrd file with this commad. Replace the 2.6.23.8-63_1.cubbi_tuxonice.fc8 string with the appropriate version of the kernel-tuxonice you are using.
ln -s /etc/splash/fedora-infinity /etc/splash/suspend2
rm /boot/initrd-2.6.23.8-63_1.cubbi_tuxonice.fc8.img
mkinitrd-tuxonice -v --tuxonice-userui=fb --splash=suspend2
/boot/initrd-2.6.23.8-63_1.cubbi_tuxonice.fc8.img 2.6.23.8-63_1.cubbi_tuxonice.fc8
Notice that splash is set to suspend2 instead of fedora-infinity and that a hyperlink was created pointing suspend2 to fedora-infinity. why such a round about way of changing themes? Well, it seems that mkinitrd-tuxonice only uses suspend2 during boot-up but packages the custom theme on creation of the initrd. Using suspend2 eliminates these issues.
These simple instructions should solve the ‘/sys/power/suspend2/do_resume file not found’ error when trying to boot up with this initrd and will give you the beautiful fedora-infinity boot-up screen.
This is now officially the fifth Fedora I have installed in this notebook. Hope this helps. Good luck!
Posted in Linux | 1 Comment »
November 29th, 2007
Maybe they can’t resist the nice ambiance and food? This time it is the Manila Peninsula.

Closing Makati Avenue.

Reinforcements have arrived.

Lot’s of Free Parking Space.
High sigh …
Posted in Personal | No Comments »
November 17th, 2007
Typically, business trips do not leave us much time to go around and check out the sights. However, here are some quick shots taken during my last trip to Macau.

Cab anyone?

Authentic Enough?


The opulence of the Venetian is really something with Venetian-style in-door canals, 3000 rooms, huge convention space and a 15,000 seater arena for concert and sporting events. It is considered the second largest building in the entire world at 10.5 million square feet for space. The largest building in the world is the Boeing Everett Factory.

Don’t miss the Macau Grand Prix from your hotel room! Yes. Just like the Monaco Formula One Grand Prix, Macau closes a number of its main roams to make way for this sporting event.

A China experience would not be complete without a mythological creature guarding the doorway.
Have a nice day!
Posted in Personal | No Comments »
October 11th, 2007
For my AMC 153 students, here are your “pre-final” grades. Please be sure to submit your final conference ready papers via email. Also post your final submissions in Moodle.

Hope you guys learned a lot this semester. Good luck!
Posted in Personal | No Comments »