October 16

Daredevil motorcycle drivers

I hate driving and find it as a chore that needs to be done. What makes me hate it even more is the amount of reckless and daredevil motorcycle drivers that are on the road today. These motorcycles give their riders enough mobility to wheeze in and out of traffic but it does not give them to right to start cutting off four-wheeled vehicles just because they think they can squeeze through. They are the ones who should be doing more of the defensive driving but they are the ones who are always on the offensive. I had my engine stalled twice because the traffic in C5 while going uphill on the bridge was already worse and a batch of these damn cycle drivers keep on squeezing through between my bumper and the edge of the bus on the lane on my left. To make matters worse, my right is also infested with motorcycles and bikers who think giving enough space across the vehicle is a sign of weakness. I have a word invented for these drivers: BORATE which is a hybrid from words meaning dick-heads and worms.

Taking lives is never a good thing but I wouldn’t really mind if some of these daredevils gets some jumpstart in getting to hell faster than the rest of us.

grrrrrr!

ciao!

Category: Garbage | LEAVE A COMMENT
September 26

Running RTC as a Windows service

I need to run the Rational Team Concert Jazz Build Engine as a Windows service as we need it to run non-stop as part of the continuous integration service. The catches though are

  • it (theoretically) wouldn’t stop as it keeps on waiting for build requests from the RTC server. This makes it as an unlikely candidate for scheduled tasks unless I will cookup a script for terminating it before the actual run. Messy if I still have to check if there is a build in progress.
  • the machine hosting it is not a dedicated machine so a couple of admins usually login to do some stuff which kills any running processes executed by the currently logged-in user.

Windows provides the sc.exe utility for creating and removing Windows services but it only accepts executables and not scripts. I have to set some environment properties and parameters so this is out of the running. The Java Service Wrapper is a good alternative but I misread the instructions so ended up using the AutoExnt utility in the Win2003 Resourse Kit. The files are still usable in Windows XP.

Only three files are needed from the kit namely Autoexnt.exe, instexnt.exe and servmess.dll. These files are to be dropped in the %SYSTEMROOT%\system32 directory.. The next step is to create the %SYSTEMROOT%\system32\autoexnt.bat (the file needs to be named like that) with the commands to be executed. My script looked something like this:


@echo off
setlocal
REM
REM Workstation specific settings.
REM
set JBE_Eclipse_Dir=C:\Apps\IBM\jazz\buildsystem\buildengine\eclipse
set JBE_Repository_URL=https:///jazz
set JBE_EngineID=ToolingBuilder
set JBE_user=kerberos
set JBE_password=

REM
REM If proxy is not needed, switch the JBE_VMArgs_OPTS to use the empty one
REM
set proxyHost=
set proxyPort=3128

set JBE_VMArgs_OPTS=-vmargs -DhttpsproxyHost=%proxyHost% -Dhttps.proxyPort=%proxyPort%
REM set JBE_VMArgs_OPTS=

REM
REM Set the JVM to use to the IBM J9 VM otherwise the compilation will fail.
REM
set java_home=C:\Apps\IBM\SDP70\jdk
set classpath=.;%java_home%\lib
set path=%java_home%\bin;%path%

REM
REM Invoke the Jazz Build Engine client.
REM
pushd %JBE_Eclipse_Dir%
jbe.exe -repository %JBE_Repository_URL% -userId %JBE_user -pass %JBE_password% -engineId %JBE_EngineID% -sleeptime 1 %JBE_VMArgs_OPTS%

endlocal

The next step is invoking the command instexnt install to install the service. The only final thing to do is to go inside the Services console of Windows and reconfigure the AutoExNT service to start automatically at boot up. Of course, it needs to be started as well if you want to use the service immediately. πŸ™‚

There are a few more help in the Windos 2003 Resource Kit help but the only thing of interest is using instexnt install /interactive to install the service. This will cause the service to pop out a command window wherein the user can view the console output. The downside is that the user can close the window which will terminate the service.

I have thought about migrating the system to use the Java Service Wrapper but using the AutoExNT separates the service component which allows JBE implementors to replace/delete the JBE installation directory without going through the setup process again.

[edit 20081002] Dom Weinand posted this link in the RTC user forum on how to use the Java Service Launcher to run JBE as a Windows service[/edit]

ciao!

September 23

Intel Dual-core Atom processors are out

ExtremeTech has published an article announcing that the dual-core Atom processors (330) are now out. These processors are also designed for netbooks and UMPC but there is nothing that can stop anybody from putting this in small form-factor PCs to have a low-power, small, and inexpensive servers.

This would be another tease for those who are procrastinating about getting a UMPC since the current slew of models are only sporting the single-core chip (230). The A230 are already great for the need of the regular netbook user but having more cores would be better if you are doing more intensive processing. I hear that Photoshop on the current netbooks are bearable but having a dual-core unit would make it more tolerable. Code compilations and other number-crunching processes will also benefit from having an additional core. I wonder though how much would be the hit of the additional core on the battery life since if I am not mistaken the power draw has also doubled since the TDP of the 230 ranges between 2.5 to 4 watts. The increase might be tiny enough if viewed on the perspective of the benefits but the processor is part of the triumvirate of the power guzzlers for computers (hard disk and monitors complete the set).

For me, I will procrastinate again on getting my low-power download/storage server until the 330 becomes available locally. Hopefully there is a new chipset that will complement the low power draw as well since the current chipset for the 230 is not known for power efficiency.

And yes, there are reports that when it comes to performance per watt, the AMD Turion Mobile processor still beats the Atom processors. That is a testament to how efficient the AMD designs have been from the start. Too bad that there are no netbooks and UMPC model that sports these processors. πŸ™

ciao!

Category: Gadget | LEAVE A COMMENT
September 17

The registry of deeds experience

With the additional amount we have added to our savings from my Denmark assignment we are finally able to pay off the remainder of our mortgage to the Home Mutual Development Fund (aka PAGIBIG) earlier this year. Upon hand-off of the land title we were told to proceed to the city/municipal hall encompassing our home to have the deed updated.

I have a one and a half hour commute (one-way) so to deal with the local Binangonan government means I have to take a day off. I decided to put it off until September wherein I planned to get a lot of things going. Yesterday morning was the slot I allocated with going to the Binangonan municipal hall but little did I know that the two hour stint I planned would stretch to an almost full-day dealing with an inefficient and bureaucratic process. I was complaining on how the office process is becoming like a government institutions in terms of process red tape but it is refreshing to get a taste of the real thing every once in a while. I don’t believe in stereotyping but what I saw was nothing but very fit for theatrical offerings.

I will summarize the whole process for those who are going to undergo a similar task of having a newly acquired land title. Note that this is only for canceling the hold of the previous title holder as the land title is already named to us. I would assume that the process will be longer if you will have the title transferred to your name. HDMF underwent that process after we fully paid our mortgage and it took no less than two months. The steps might vary for each municipality/city but the general flow would be the same.

How to Cancel and Update the Land Title Registry

  1. Before going to the city/municipal hall, make sure you have the following:
    • Valid id with picture with at least two clear photocopies
    • A working pen
    • Land title
    • Notice of deed release. HDMF provided this for us but make sure you have this as the title alone is not enough.
    • Enough money[1] to pay for land tax, various processing fees, and enough for lunch and snacks.
    • Some reading materials, portable music player[2], or portable gaming console to help you pass the time.
  2. Go to the government office early. The earliest you can finish your business, the better off you will be.
  3. Go straight to the Assessor’s office and request for two copies of the land tax declaration.
  4. Go to the cashier and pay the fees for the tax declarations. I paid Php50 for each copy.
  5. Go back to the assessor’s office and give back the receipt. I was asked to wait while they were preparing the tax declaration. I was asked to pay Php20 per document for the documentary stamp. Why they didn’t include this in the amount I paid in the cashier is still boggling me.[3]
  6. Go to the land tax windows and have your tax liabilities printed and settled. For a 50 sq. meter lot, I paid around Php800.
  7. Go to the registry of deed and ask for a form to have the deed registration’s previous owner cancelled and updated to your name. Fill up the form and submit it together with the deed and notice of release. Wait while your deed is being verified.
  8. Upon verification, you will be instructed to proceed to the cashier with your papers and pay for the processing fee. Don’t bother asking how much since only the cashier will answer you. I paid about Php700 for the processing fee.
  9. Wait. And Wait some more. This is where the device you brought for passing time will be very handy.
  10. Once you get a receipt, have the title, stamped notice of release, and receipt photocopied. Submit the photocopies and the originals to the clerk for further processing.
  11. Your papers will be handed back to you sans the photocopies and you need to submit this to one of the receiving areas near the releasing.
  12. Wait for your updated deed at the releasing area. Again, you will have to wait for quite a while.

Sounds simple. What killed my time was that I didn’t know the process and the people I talked to in the Land Tax area weren’t too versed in the whole process. They sent me to the “other” building where the Deeds Registry is located which turned out to be three building away and outside the hall compound. Upon going to the Deeds Registry I was asked if I have already paid the land tax and said they are the last stop so I had to troop back to the Land Tax and Assessor’s office. I was also hit by the lunch break just as soon as I was waiting for my papers to be released. One thing I can say with the Deeds Registry people is that they are religious in observing their time schedules. πŸ™‚

ciao!

[1] DONT go with only large-denomination bills or else you are asking your stay to be prolonged if they don’t have enough change for your large bills.
[2] If you are going to bring a music player, make sure that you can free up an ear since you need to be alert if your name is being called. If the person processing your paper is in a bad mood, they would be happy to put your papers at the bottom of the processing stack for “wasting” their time.
[3] The fees posted for the document was pegged at Php50.00 so your guess on where the payments for these highly-overpriced stamps are going is as good as mine.

ciao!

Category: Garbage | LEAVE A COMMENT
August 30

Semi-hosed Wind UMPC (Fixed)

Fixed by overriding the GRUB lines, editing the GRUB menu, and correcting the entries in the /etc/fstab.

Here is the original line that causes the bootup to panice:

kernel (hd1,0)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/sdc10 vga=788
initrd (hd1,0)/boot/initrd.img

PCLinuxOS is configured to use the graphical GRUB menu so pressing the ESC key will allow the users to go into text mode that allows the editing of the line command. Pressing ‘e’ on the selected entry enabled to correct the order of hard drive being searched [ (hd0,0)/boot] as well as the correct root [root=dev/sda10]. After both the kernel and initrd lines have been updated, pressing ‘b’ will continue the boot process.

The GRUB entry is only half of the problem since the boot operationg still panics and dumps me in a command line. The culprit is that the fstab file still contains incorrect entries since all of the partitions are being searched at /dev/sdc. The USB flashdrive I used for the installation has 3 partitions so there are also 3 incorrect entries for it in /etc/fstab.

As I said, the boot process dumps me into a command line. This is where knowledge of vi comes very handy. It is small enough and ubiquitous enough to be in most *nix system. A quick ‘vi /etc/fstab’ to correct all linux partitions (and temporarily disable mounting of windows partitions) and I am now good to go. Invoking ‘mount -a’ confirms that I am able to successfully mount all partitions.

This problem is solved but unfortunately the PCLinuxOS Minime distribution is not the answer to my wireless in the Wind woes. πŸ™

ciao!

August 25

Semi-hosed Wind UMPC

Doc Mana (or rather his daughters) own a Wind and has pointed me to the released Linux realtek drivers. As Doc Mana has stated, the released drivers are in RPM format but this gives me a good opportunity to use the alien utility for converting packages. Doc also said his Neo empriva is working fine with a similar wireless chipset.

With the extended weekend, I promised to try it out with a refreshed Xubuntu installation, or better yet try installing the PCLinuxOS MiniMe distro to get native support for RPM. The nutshell is that I now have a semi-hosed Wind UMPC. πŸ™

Here is what happened:

  • I replaced the gnome network manager with the kwlan application and I hosed down my network connections. I then decided to refresh the Xubuntu installation from the my 4GB flash disk. And then…
  • I tried converting the package using the alien utility with the “–scripts” parameter because it told me so. It said it is for including the scripts inside the package. When it was time to install them with dpkg, an error was thrown out that there is a parsing error in the post install script. Both drivers show this error. Great!
  • As this is a refreshed installation, I decided to try again the tip from the msiwind.net wiki as this is also stated in the Gentoo Wind wiki. The build essential tools refused to install properly because of the problem with the botched realtek drivers installation.
  • I cannot uninstall/purge the realtek drivers from synaptic becase there are errors in the hooked scripts. πŸ™
  • I wiped by flash disk with MiniMe and proceeded to install over my Xubuntu system. Everything seems to be fine until I rebooted. The system got reconfigured with my flash disk as its main storage (sda) and my Wind’s drive as its secondary (sdc) so the GRUB entries refuses to work.
  • I tried booting with the flash disk inserted and tried to select the HDD Minime installation but the boot process refuses to proceed and ends with a kernel panic.

Right now the Wind will only continue booting if I have the flash disk inserted, and its too late into the night to start tinkering with livecd options. The bright side is that I have effectively created a very crude security key. /lol

I hope I can fix this properly tomorrow as the wife is giving me weird looks when she can’t easily get into the Windows partition to play Mystery Case Files. πŸ˜€

ciao!

August 23

On small things taken for granted

Today I have a perfect example of small things that I take for granted: walking on uneven spaces. πŸ™
Base image courtesy of betterbraces.com

Last Friday I suddenly felt an excruciating pain in my lower back. It was severe enough that I couldn’t walk for five minutes and was hobbling for the next two hours. The doctor in the company clinic prescribed some pain killers and suggested that an X-ray be done on my spinal column to rule out any severe causes such as slipped discs and another medical term that I can’t remember. Good thing that the company’s HMO will cover it.

Since this was already in the afternoon, I finished the pending paperwork requirements and then took a cab to the SM Megamall where the X-ray will be done. I was done with the procedure by 6:15PM but the technician said that the results will only be available the following day. I asked the reception if there is a possibility of getting somebody to read the results over the phone since I live quite far but they say they are not allowed to do that even if I give my written consent then and there.

As I am feeling better today with only a severely sore back, I opted to just go tomorrow since we also have engagements in the Quezon city area. Even if it is a medically related errand, I don’t think it is worth it to spend at least 3 hours for something that may just be normal back sprain.

The wife, with her typical optimistic attitude, is now preparing for either my funeral or the prospect of me being wheel-chair bound. Nice attitude, eh?

Back to the subject, I am still feeling a pain when doing small things that we do automatically. Bending to pickup a dropped object, going too fast from one level to another (even if there jsut an inch of difference), getting out of bed, and what have you. The good thing is that I can still drive but have to rely more on the side and rear-end mirrors since I cannot twist my body fast enough.

[update 2008.08.26] The orthopedic doctor said that there is a curvature in my spine but it is too slight to be considered as scoliosis. I am to undergo one week of (expensive) medication and three preventive PT sessions. Sounds good to me, I’ll take it. πŸ™‚

ciao!

August 11

Two more reasons what religion is not for…

Chris Haravata posted this item in his blog which details a seemingly perfectly fine relationship between father and son that has endured trials but was shattered when the son “loves this woman, he is willing to get married in this woman’s church”.

Which one will you side on? Is it with the father who in his self-righteous narrow-mindedness thinks everything in this world fits perfectly in a black-or-white category. Or are you with the son who has the romanticist love that will forsake all just to please his bride?

I am with neither as both of them aren’t what I would call believers. The father is a lost cause fanatic that has anchored everything in what his religion espouses. He will probably spew out bible verses or quote some pastoral superstar when encroached in debates. Deep inside he is just as good as the “non-believers” that he condemns since he is a hypocritical and rabid hyena in sheep’s clothing.

The son is a spineless coward who thinks converting from one belief to another is like changing clothes (or jobs). Religion is all about beliefs: you either believe or you do not. If you are neither then welcome as you are an agnostic like me but grow some cojones and stand up for what you believe in. Love cannot make you a believe nor does love should force you to change. If it does either then that is called brainwashing. Ever heard of “love conquers all”? It doesn’t say “be conquered by love”. The same goes for the woman, she accepted the son when he wasn’t of the same faith. Why should he convert if she really wanted to be with him? Crafty manipulator.

Oops, long rant. πŸ™‚

ciao!

July 21

Day 7: GM Diet update

The diet week is finally over with the last day finding us consuming brown rice and dinengdeng (well our approximation of what dinengdeng would look like). The ampalaya was too bitter for my taste but the kalabasa (squash) was a pleasure to eat. No fruit juice though as I couldn’t find any in the house and going to the grocery to fetch one is a waste of gas.

Final weigh in? I still tipped the scale at 194 lbs so my total weight loss is 6 lbs or somewhere around 3 kilos. Not bad for a week of sacrifice eh? I am pretty sure I would gain it back in a week or two but at least I have somewhat purified my digestive system so it is ready to take on more abuse. πŸ™‚ Kidding, my lunch viand usually comprises of fried fish and a vegetables. Breakfast and dinner are a whole different matter.

Neth is asking if we will go through the diet again the week after. My answer is a hell NO. Try asking me again after six months. πŸ™‚

ciao!

Category: Garbage | LEAVE A COMMENT