Friday, December 31, 2004

hehe... just noticed the weather applet says manila is smokin' :)



Happy New Year Everyone!
before and after tsunami Satellite images... hope the new year brings new hope to those affected by this disaster...
And of course to Google for unselfishly making Gmail free and by far revolutionizing the way we search the web... i thank thee!

Wednesday, December 29, 2004

Seattle Post-Intelligencer: AP - Asia: Tsunami death toll rises to 76,700... a stark contrast to a happy new year... may all their souls rest in peace... a prayer is needed for those who were able to survive the tsunami but are in dire need of food and medical supplies... *can* somebody DIVERT all those war funds to these people affected by the disaster...

Sunday, December 26, 2004

a smile to remind us all that however bleak the future may seem, one can still find the courage to smile and realize that there is hope everytime the sun shines...


this is "Raquel" from the missionaries of charity where we held our christmas party. it's pretty amazing how events like these could change your outlook in life...

Friday, December 24, 2004

Thursday, December 16, 2004

Smoothjazz.Com - Where Smooth Meets Jazz... i must be getting old, as am really beginning to like jazz music... especially in the mornings and late nite happy coding sessions... i still dig kurt cobain's music and other distortion induced hymns during the afternoons... so i guess that means i still belong to the "too old to be a rockstar, too young to give up being a rockstar" category...

Wednesday, December 15, 2004

back to basics...


public synchronized int get() {
while (available == false) {
try {
// wait for Producer to put value
wait();
} catch (InterruptedException e) {
}
}
available = false;
// notify Producer that value has been retrieved
notifyAll();
return contents;
}
public synchronized void put(int value) {
while (available == true) {
try {
// wait for Consumer to get value
wait();
} catch (InterruptedException e) {
}
}
contents = value;
available = true;
// notify Consumer that value has been set
notifyAll();
}
hmmnn... some noticeable changes on the mrt north station today... the pinkish mmda fence extended for a good distance from the base of the stairs facing sm north... the ongoing renovation of these are should in theory ease the traffic on this side of town... lets wait and see... anyway since the i already walked for a good few meters and the all the bus on the way seems to really crammed with people, i plodded on and decide to just walk all the way to the tricycle area beside the cyberzone... the footbridge (as usual painted with pinkish delight, for some reason somebody thinks the world looks good in pink) is now passable and was tempted to take a picture of the area but decided to be on the safe side and just enjoy the scenery and nevermind taking a souvenir photo home with me... anyway it seems to be a good late late afternoon exercise... of course i had to pay 18 pesos for the tricycle fare instead of the usual 6 pesos if i rode via the bus, but all in all it feels good to do this once in a while... also, by doing this i get to stroll inside the mall and maybe finally decide what gift to get my lovely wife as the two kids had theirs already (its a tad easier find a gift a kid would like)... ahhh, Christmas with the whole family really is the jolliest time of the year...
Map24 slickest online map i have seen! smooth zooming rocks! this is an applet... would very much like to do something similar for the philippine map... namria's online services should have something like this... i always had a penchant for location based services/apps, the posibilities are endless...

Tuesday, December 14, 2004

Monday, December 13, 2004

Sunday, December 12, 2004

cool blogs: bizdrivenlife.net by wilson ng and ten thousand things by jim paredes... totoy na totoy ang blog ko compared to this guys...

Sunday, December 05, 2004

hmmnn... until now why doesn't INQ7.net add an RSS feed feature? would be great for both their breaking news and mobile section...

Friday, December 03, 2004

currently watching Fahrenheit 9/11 (2004)... how are we going to sleep peacefully at night? btw, we have a ton of problems on our own country.. *sigh*... nevertheless, highly recommended documentary...

looking forward to watching that imelda film too...

Wednesday, December 01, 2004

from PAGASA... typhoon "yoyong" expected to hit bicol tomorrow... geez i worry about my relatives there... especially until now we still have no electricity in our area (according to the local electric coop, it would take 2 to 3 months to fully restore the service)... hopefully the damage this time would be minimal...
most generous comment i've had so far:

"Hi man!

Contact me at ____@___ and you'll get one for free!

I'm in good mood... new girlfriend... ;-)

Best regards,
Michael Bartl"

this is in response to a blog entry where i mentioned my dire need for the viplugin for eclipse. i have no idea that one day the author of the plugin would eventually be reading that entry.

and all i could reply was:

man,

you ROCK!

MANY THANKS!

Friday, November 26, 2004

Slashdot | An Update on Patrick Volkerding... hope he gets well soon... without slackware, i might not have the chance to learn unix thru linux... those slackware floppies that we would copy from the kind folks of ateneo de naga... since none is available yet in legaspi, and we need to prepare prior to infocom? or was it sequel? installing our schools connection... we were the first in legaspi ;-), just a few months behind ateneo de naga (they were the first in bicol, our school being second)... those were the days (line printer madness on continous paper, printing those early howto's... could still remember my brain hurting trying to digest that dreaded net howto)...

for what its worth, get well soon PAT!
wtf is causing a person to do this -> Man kills eight students in dormitory - (United Press International)... this is becoming more and more often... interesting enough the ad banner points to this (Going to iraq and need insurance?)... oh my gulay...

Thursday, November 25, 2004

java applet config on ubuntu firefox. sun jdk...

in .bashrc or /etc/profile:

export JAVA_HOME="/opt/j2sdk1.4.2_06/"
export JDK_HOME="${JAVA_HOME}"
export PATH="${JAVA_HOME}/bin:${PATH}"

as root:

ln -sf /opt/j2sdk1.4.2_06/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/libjavaplugin_oji.so

if you havent installed java on ubuntu yet... check this out... and this one too for eclipse... afterwards... rock!
added search functionality to this blog... that way i can easily search all this crap with a few keystrokes and a click of a button... nice!

it would be nicer still if blogger incorporates tomboy (wiki-wiki like) functionality to blogs... that way, all blogs become cutting edge auto-linking mayhem...

Tuesday, November 23, 2004

my gulay! here comes Google SMS...
playboy interviews the google guys... had a chance to read this article on a borrowed september copy of playboy... the "dont be evil" mantra... the way they managed growth (in a very short span of time)... billionaires, 4 billion dollars each as of their recent IPO... modern day geek heroes... with the recent move to enable pop access to gmail, and making the service FREE until now... they also recently acquired keyhole (location based services?!), and leaves us wondering what their next move will be...
since more than one person is complaining of the web based email (jwma webmail), this Usermin seems to be a better alternative...

Monday, November 22, 2004

sweeet chair o' mine...



on the right corner, the all around chair... able to withstand 3 years of regular usage... showing signs of wear and tear... but still usable nonetheless... but all good things must come to an end...

on left corner, the all new super improved, cheapest gas lift computer chair from pricemart... the box seem to imply "superb" quality... and the kind lady said "return within 30 days if found defective"... with that in mind, my wetpu (ass) and my aching back is looking forward to many years of comfort and companionship...
Skype simply rocks... been using it to talk with friends around the globe for the past few days, (courtesy of the new broadband line)... linux client works like a charm after tweaking some settings... you can voipelababad 24x7... it hardly makes a dent in bandwidth usage... AFAIK codec is proprietary... but cool nevertheless... and before i forget... skype rocks! skype rocks! skype rocks!

Saturday, November 20, 2004

oh goodie! GMail POP now works on versamail on my clie... wickedly cool! what doesnt work is the smtp since the versamail version i used doesnt support secure smtp... i just set it to smtp.globetel.com.ph to enable sending mail via gprs...

Friday, November 19, 2004

hmmmnn... naughty -> Depenguinator... wonder if this can be a valid reason for terminating a colo service? better just wait till colo companies offer's freebsd 5.3 stable based boxes...
hmmmnnn... doing NAT on linux didnt change that much since a few years back... the *bsd way is definitely much, much easier... but then again, i think linux is way ahead on the desktop front... but still needs to learn a few tricks from *bsd when it comes to things like these... *bsd's are still a sysadmin's best friend...

now, if only the current crop of popular inexpensive colo's would start offering Freebsd 5.3 based servers... so far its still 4.x series on cihost, ev1 and the like.... and as of now 4.x is not that too happy with java's 1.4 or 5.x series...
broadband at last... bayantel's lowest plan, i applied for the 128 but just a few days ago got upgraded to 256 due to their ongoing promo! now santa if you can hear me, this would do for christmas -> linksys router/wap/switch combo... ;-)

Thursday, November 18, 2004

attended the mobile e-commerce congress organized by PICS at the intercon... i still think the barrier to entry for most SME's is the difficulty of getting a short access code... and a common access code (same short access code number to be used across the major telcos) is ironically NOT common... never mind that the revenue share is 70/30 cause the brighter side of things (as one of the speaker highlighted) is if some content developers are thriving and profiting with that arrangement, imagine the opportunity if you could enable your app on other countries where the revenue share is slightly higher... no need for lengthy legislation process to regulate this revenue sharing scheme either, let the market dictate... btw, i still wish there would be a way for this telcos to easily provide a test environment to budding content providers, or a way to easily/quickly provide telco grade short access code to content developers... i dont know how, but somehow there must be a way...

the keynote speaker, a congressman also hinted on the need to set voip free... cited that we should follow the FCC... cool guy, unmindful of the sponsors written on the the background... VOIP seems to be the future... what would that be like, your email addy as your phone number? nations clothed with wifi, wifi phones galore! maybe at plans below 500 you get unlimited 256k bandwidth a month... you can use it for data and voice or what have you... heck maybe even good ol tv shows would entirely be streamed or pushed to tivo like devices... daydreaming again, back to reality...

of course, 50% of the time during the conference i have to listen to this obnoxious fellow, trying hard to put an accent to his english (why on earth does he need to do that! i heard him talking to his filipino companion and he can talk without the accent and its certainly more clearer and better for other ears to sustain) while obviously trying to impress his indian boss... aside from his f@#$%@! (fucking) loud annoying voice, this guy is obviously clueless on what he is talking about... the lady in front of me gave him a note, probably telling him shut up or leave... havent heard a word from him since...

oh well, was probably pissed off because i cant take a quick nap with his loud voice during the time the speaker was obviously just making peachy sales talk...

speaking of streams, this is probably the coolest livecd ever! yipee! for open source! it would be cool to do a j2me version of their applet client and see how good the performance is on multimedia phones with gprs...

Wednesday, November 17, 2004

a while back only the version compatible with eclipse 2.x series were still available for free... i was surprised when i checked the sourceforge version of thevi plugin was updated for eclipse 3.x series... not as full featured as the commercial version... but hey, basic navigation is supported as well as copy/paste/search and : which allows you to quickly go to a line number (very handy for debugging)... my hands seems to be dancing with joy of this new found goodness...

Friday, November 12, 2004

design patterns are a necessity (i hope i spelled that right) for anyone doing programming, for java i find this book indispensible java patterns... and its absulutely free!... based heavily on the GoF book... adding this to my december to read list...

Thursday, November 11, 2004

my constant reminder at work...

We do what we can
We give what we have
Our doubt is our passion
And our passion is our task
The rest is the madness of art
- Henry James


at home... having two kids is not easy... and nowadays spending quality time with them is priority # 1... everyday am amazed of thier developments... my eldest, 3 years old could already control the mouse better than *other* grownups... she could play all those barney games on the net via barney online... she could type simple english words and her name using the keyboard... at the same time perfectly say "barney, anong petsa na???" when my dialup connection is having a bad hair day... the youngest a few months old can now follow you with his eyes, smile, and starts to blurt out baby sounds every now and then... am extremely curious how a child develops speech recognition, and at this stage am guessing his trying to experiment with what sounds he could make, later on will try to emulate the sounds that he hears...

elsewhere, a new video rental shop opened nearby our house and for the past few weekends i had been catching up on the movies that i have missed (watching a movie at a movie house is a luxury nowadays)... at 15 pesos per movie and 40 pesos for three movies its a steal... the quality is light years away from those "beeseedee" and "deebeedee" boys... watched "the last samurai" (japanese people are an epitome of efficiency and dedication, from the moment they wake up, they pusrue perfection on whatever endeavor strikes their fancy), "taking lives" (mildly hot jolie), "cold mountain" (jude youre a lucky dude!), "kill bill 1 and 2" (uberly cool hantaro sword) , "gothika" (suspense), "paycheck" (a sneak peak into teh future of consultants)... also had a chance to rent peque gallaga's greatest movie ;) "scorpio nights" (raw erotica delivered in artful cinematic sequences)... and last but not the least "mystic river" (sean pean made me cry, such performance! probably the best movie i have seen so far, made me hug my daughter at the end of the movie and hope and pray that never happens to her)...

that's it, and i still think the eraserheads were poetic... shake yer head!
Interview With God... scenes are stunning! not to mention the quotes that makes perfect sense...

Friday, November 05, 2004

so many things to write, so little time to write...


this tomboy thing is really sweet... i haven't got the time to write a conduit so that my notes automatically become mobile note compatible... the quick and dirty solution would be to just do xsl on the xml files that tomboy produces and transform it to plain wiki syntax that mobile notes understands...

with that said, am being too much dependent on the clie for quite some time now... rarely do i bring the degatto (yes its a brick, but i dont have the money to buy those lightweight centrino laptops you insensitve clod!) anymore... all the usual office stuff, emails and doc editing can be done by this pda... of course i still use a generic workstation for work related things but this pda allows me to carry handy references whenever i go... paired with an 8310, am available to recv email, log on to yahoo messenger and do the google thing whenever the needs arises, and no access point in sight... and yes ssh and vnc is still quite usable even when using a gprs connection... and as an added bonus, these softwares are freely available via freewarepalm.com... what i do spend on this thing are ebooks via ereader.com, which revived my passion for reading... and of course palm powered device is linux and freebsd friendly ;), syncs nicely with evolution... the memstick also allows me to carry one or two cd's worth of audio and the built in camera is very handy for life's never ending kodak moments... now if only santa would give me a wireless (IR) keyboard compatible with the clie tj37, i'd be extremely happy...

work related stuff brings me to SOAP programming to interface with a client's system... quite cool if i could also find the time to try apache axis to expose some of *Services classes to actual web services...

on the degatto side, hands down linux leads the bsd's in supporting a wide range hardware... for now the only thing that doesnt work on this thing is the built in card reader... as of thursday last week i finally figured out to make the built in winmodem work via the slmodem port... the trick is disabling the default serial init script which conflicts with the slmodem init script...

hmmmnnn... its 2am, time to drink coffee, whack the keyboard for another hour, and go to bed...

Wednesday, October 20, 2004

FreewarePalm: mobile note v0.6 - a free palm app to satisfy your note taking needs... now i have mono tomboy like app on the clie... a tomboy to mobile note converter via a gnome pilot conduit should be a nice project to hack on... wiki wiki never fails to send an erudite tingle on my knee....

Sunday, October 17, 2004

hackergotchi howto...
a friend who just recently arrived from canada was kind enough to give me Crest SpinBrush pro... this is the first electric toothbrush that i owned and i must say this thing does wonders to your teeth... you will really have that just went from the dentist feeling... toothbrush tech at its finest... the only problem is where to find replacement heads here in the philippines...
here's another sweet app -> Tomboy... insanely usable for multi-tasking drones... an app like this should be standard on the palm or pocket pc's as it makes those random notes a bit useful...
this iaudio digital music player seems a good competitor to ipod... pretty sweet...

Thursday, October 14, 2004

the past few months had been a futile battle with this telco refusing to acknowledge the fact that the postpaid sim was stolen and we are certainly not paying that rediculous bill... obviously they have a record of the history of this account and can see that it was clearly stolen due to the number of load transfers in a span of a few hours (also the fact that this account was in good standing for more than a year)... aside from the fact that it was reported and we immediately asked for a replacement sim and also furnished a letter detailing the incident, submitted an affidavit and spent a fair amount of time talking with their credit and collection officers... *sigh* to cut the story short in the end we were demanded to pay the whole amount and we have no choice but to comply since the number is the hotline for our clients (we did sent a letter indicating that we are paying under protest)...

but my point is, since the amount of phone calls (during the time the phone was stolen) was quite minimal and just a bit above the monthly plan, it was the transfer a load amount that was way pas the credit limit, isnt it clearly this telco's fault that they allowed the bill go past the credit limit? what the hell is this credit limit for???

second, the transfer a load feature doesnt have enough security to prevent unauthorized use of the service, in our case the thief was able to transfer load amounting to PHP10k quite easily because nothing prevented him from doing it... also the service is enabled by default, the subscriber did not request for it... the analogy would be like having a credit card company deliver a credit card extension with no security feature to your door and somebody finds it before you do, uses it, and you are demanded to pay for it...

and the sad thing is they just tell you that your request to clear that account is denied and you have to pay... they dont !#@$!@# give you the courtesy of even explaining to you the real reason why... and as if we do not have enough problems already, and that amount is way too high for mere mortals like us living in a place where the cost of living rises daily...

Tuesday, October 12, 2004

browsing ka edongs blog, i got curious and followed the link to Cell Phone Theft - INQ7.net... the stories are really depressing... manila is a dangerous place to live... and all i can do is *sigh*...

Wednesday, October 06, 2004

Nvu - The Complete Web Authoring System for Linux... really sweet app... open source goodness good enough for daily web development use...

my dear ninongs and ninangs its my birthday today! you can bring your gifts and kids later at 4pm today... *hehehe*

Tuesday, October 05, 2004

interesting... for some strange reason i was able to get the usb gsm modem to work via usbserial and pl2303 kernel module... strange i tried this setup february.. before the elections *grin* and it just didnt work and i have to reformat the machine to win2003... ok the next step is to check out if i can get the same behaviour on hte beastie box... also time to read those gsm at comand set again and see how well this modem performs... at least there's no need to order those serial models which requires a separate power adaptor...

Free Programming and Computer Science Books, cool reference site...

Monday, October 04, 2004

the new Tungsten T5 Handheld is a great disappointment... it simply sucks... users should choose the older T3 over this one... feature per feature and probably if the price of the T3 falls it would be stupid to buy this new tungsten device...

sadly sony has withdrawn from the pda market... imho, they really excel on handheld innovations... am pretty sure the sony engineers are laughing on this recent tungstend incarnation...

if palmone continues this trend, users probably woudl switch to pocket pc's in the long run...
hard work paying off... contract got extended... really nice feedback from the ceo himself... makes me want to work even harder...

along with comes the dreaded version 2 syndrome... its time to put more effort on quality... ok, team lets get to work...

life progressing... nothing constant... children growing... friends getting married... everybody seems a lot older than they used to be...

yesterday, i took some quality time with the youngest, smelling those soft folds of skin around his neck and gently kissing his cheek... i ponder on the future of my kids... exciting as it may seem, knowing what i know now, its gonna be one heck of a journey...

i only have a handful of photos during my childhood... but my two kids already has hundreds of them... if i could afford a digital video camera it may be hours of mpeg already... again i wonder, what technology would be available to them when they grow up? *sigh* life is full of questions...

Sunday, September 26, 2004

been a while... a lot has happened lately...

turned 27 last last week (17th)... a milestone age perhaps... home cooked spaghetti and cake was rather delicious... the best tasting cake courtesy of my officemates... i got two adorable kids, an insanely cute baby boy and a little girl that never fails to test my patience, makes me laugh, all at the same time... a rather patient and equally beautiful wife makes life worth living as well...

got a new 2.5" hdisk... tried ubuntu (a rather up to date debian distro, will tinker with it some other day)... tried suse (rpm hell)... tried freebsd (acpi troubles remain, will wait for stable)... went back to gentoo (spent the entire weekend compiling)...

gnome 2.8 rocks! if your video card doesnt support DRI, you should turn off xcomposite extensions as gnome 2.8 has composite support enabled by default and will make your desktop rather sluggish.. garret's industrial firefox theme is really sweet... after pimping my desktop, i googled to finally put an end to firefox crashing everytime i load a flash enabled site... turns out you have to adjust your xorg to support at least 24bpp....

Wednesday, September 15, 2004

currently trying out bacula as the HITACHI_DK23EA-40 that comes with the degatto now has bad sectors... i noticed that since last week hdparm config was taking a lot longer than normal... dmesg reveals dma and driveseek error... running badblocks revealed that my /var is indeed has a number of bad sectors on it... luckily its still covered by the one year warranty... the downside is it would take two weeks till the replacement would come in... sigh...

Tuesday, September 14, 2004

finally got the *TIME* to finally configure the cvs... yipee!!! onwards to version 2! team, lets synchronize! yay!

Saturday, September 11, 2004

jessie my friend, if you are reading this... this Fluendo opensource streaming solution could replace your current windows setup for the next penafrancia festival...

Tuesday, September 07, 2004

synergy makes kvm's pretty useless and unpractical if both your machines have a lan connection... you gotta use it to appreciate how insanely useful this piece of software is... it basically allows you to use one keyboard and mouse on two or more machines... works on unix and windows or a combination of it... even the mouse wheel works... yipee!
work stuff... naming conventions... the stuffs related to persistence was previously named like this:

e.g.
com.thecompany.hb.customers

contains both the interface and the implementation classes... hbm xdoclet generated files follows the same format except that its prefix is hbm, like hbm.thecompany.hb.customers

much to my front end pal's dismay i changed all the package names to follow this convention:

e.g.
com.thecompany.customers

to contain just the pojo and the dao and service interfaces... and for the actual implementation:

e.g.
com.thecompany.customers.hb

at least my co-developers will only need to worry about the interfaces and let me worry with the implementation... which is newly migrated to hibernate for now... but will likely try a jdo implementation in the near future...

spring framework is really doing a great job of supporting structures like this... and i can try varied implementations without driving my co-developers insane... also our discussions would be centered on services and dao's in a much more abstract way... shielding them away from the implementation and likewise do things in parallel based on assumptions... this also allows me to junit test the implementation as much as i want... the previous ejb cmp/cmr implementation was such a pain to test...

on hibernate... using the postgres sequence with it was not clearly documented... or it took me a good deal of google time to find out...

for example you have a sequence and a table like this:

create sequence customer_id_seq;

and you have a table like so:

create table customers (
id integer DEFAULT nextval('customer_id_seq') NOT NULL,
name varchar(20),
address varchar(5),
constraint custumers_pk primary key (id)
);

the correct xdocletized pojo class would be:

/**
* @hibernate.class table="customers"
*
**/
public class Customer {
// primary key field
private java.lang.Long id;

// other fields
private java.lang.String name;
private java.lang.String address;

// eclipse's generate getters and setters...

// here is the correct xdoclet tag to be able to use the
// postgres sequence
/**
* @return Returns the id.
*
* @hibernate.id generator-class="sequence"
*
* @hibernate.generator-param name="sequence" value="customer_id_seq"
**/
public java.lang.Long getId() {
return id;
}

// other getters and setters here....
...
}

there... hope this could be of help to anyone who wants to get his sequences to work with hibernate and is using xdoclet to generate the mapping files...


change topic... firefox crashes evertime i visit a flash enabled site... reinstalling and upgrading doesnt help... cant pinpoint if the problem is gentoo, xorg or linux specific...
life goes by pretty fast... rojan is turning three and gabriel is almost a month old now... gabriel, is now my coding companion... he wakes up at around 2am, just in time to remind me i need to get a break away from the keyboard and cuddle him for a while... rojan is now getting really interested on books and would argue if your telling the story the wrong way... hehehe...

seriously need a good computer chair for the home office setup... good back support is a must... should allow me to lean back safely to support both gabriel and me... and to withstand being pushed around the room by an almost 3 year old kid..


last song syndrome: shake yer head by the eraserheads... brings back fond memories of those years when am young and naive... *sigh*... its nice to be born upside down...

Tuesday, August 31, 2004

novell's free linux technical resource kit came today... 3 dvd's full of novell+suse+ximian technology... hope i can find free time to try this out...
the weather is gloomy... i feel gloomy... my spirit dampened... the price of working in IT... everything is a blur... everything is volatile... nothing is contstant... i worry not for myself, come to think i never worry for myself nowadays... its always for my loved ones, my children specially...

rain, rain... go away... come again another day...
seriously reading effective java now... man, this book rocks! geez even my iterator drill is lame... as the book points out using while for iterators is a no-no, for loops is better and more efficient... at least my being stubborn of insisting separating those layers is paying off... i can do a lot of fine tuning and unit testing of the business logic without giving the front end dev a lot of headache...

its raining cats and dogs outside... time to drink some coffee...

Monday, August 30, 2004

also been hacking this hal+dbus based applet to use static ip addresses for a while. the current gnome cvs version doesnt allow for static ip's and Ad-Hoc wlan mode...



of course, since am a gnome coding newbie, the end result was the network applet having hard coded values... but it *somehow* works...

Sunday, August 29, 2004

as a result of my frustration with firefox sage plugin and gnome straw (gentoo build doesnt compile cleanly) for rss feeds, i downloaded the planet aggregator python app to have a local version of mig's pinoytechscene... a few minutes of configuring planet and pixel pushing with gimp resulted to this (click on the link get a bigger picture):



i'll try to find the wackiest pictures of those people in the list and create hackergocthi versions of their heads soon ;)...

lately, this two little angels has been my finely tuned excuse for not blogging and not sending emails to my friends and relatives. the eldest seems to have adjusted to the fact the she is now a sister and the lil' boy is insanely increasing his cuteness factor each day ;)

Tuesday, August 24, 2004

distcc: a fast, free distributed C/C compiler... i should have configured this first before attempting to build openoffice-ximian... i had these working nicely on the fbsd servers... i wonder if it would be possible to use those distcc with gentoo... hmmn...
substring evilness... i wanted to produce serial numbers of uniform length for the index (5 characters)... this is my lame solution...

the inner loop:


int serialIndex = 100000 + index;
String serial = serialPrefix + String.valueOf(serialIndex).substring(1);


this produces padded serial numbesr e.g. 00001, 03450. certainly not optimal... but will do for now ;)

this obviously limits the number of entities to 99999... converting to hex would increase the limit a bit, but the printer guys argued its too much of a hassle to check the correct sequences since its still done manually... ok, so be it...

Monday, August 23, 2004

>> eRadioPortal.com : Welcome to the Digital Age <<.... the nu 107.5 stream rocks... kudos to the totem developers for making it possible to do this in unix... btw, realplayer 10 for linux is also out and totally loving it...
FreeBSD/i386 5.3-BETA1... hopefully 5.3 stable will come out soon... a lot has been done on the acpi front (hopefully this fixes the X issues i encountered)... acpi_asus has been added to the kernel...

am currently happy with gentoo for the degatto... but i still miss freebsd's way of configuring the kernel via a single text file and how trivial it is to test new kernels as opposed to linux make menuconfig or its make config... also freebsd's new ULE scheduler will certainly be able to provide a more repsonsive desktop/server environment... if this is indeed what will be tagged as teh stable branch, i'll set aside time to test this out...
XStream, looks slicker than xom... i wonder how this compares to betwixt... i've been looking for a POJO<->XML converter for sometime now...

Sunday, August 22, 2004

woke up early, in the mood to do work... had a great weekend with the family as well as completely happy with the outcome of last saturdays meeting...

meanwhile...

dude, i cant afford your fee for now (even if i do eventually paypal wont let me)... but i direly need your viPlugin. please reconsider releasing an eclipse 3 compatible version for free... all i want is basic navigation and cut-copy-paste-delete functionality... throw in a few search and replace functions if your feeling kind ;)... *hikbi* i swear by my aching hands that i'll put a thank you note on all the files i create using your plugin...

Thursday, August 19, 2004

Application Performance Management Review... got to read this later..
2Checkout.com - credit card processing / merchant account alternative... hopefully this fits into one of my client's requirements...
a week of downtime due to paternity leave and am left with a mountain of work to do...

on the bright side, the spring migration was going along well... i longer have to wait everytime i deploy and shout syet! and gedemet! while i wait for the container to do its cmp/cmr work... now only the xsl stlysheets gets compiled every time i deploy...

this morning i managed to play decently weezer's undone sweater song intro... but my excitement was short lived when the e string broke... sigh... super tired...

Monday, August 16, 2004

whilst waiting for my wife outside the labor room (it took her almost 15hrs before she was taken to the delivery room)... i was quite surprised that most of the doctors was toting a pda (mostly palm, i only spotted one using a pocket pc). obviously makes a lot of sense since this guys often roam around several clinics and hospitals. i hadn't had the chance to ask what medical apps for the pda do these doctors use... i wonder if that many publishers of medical books make their product available on sites like ereader or in general has a soft copy option available.... that could be an interesting research... on my end i usually use plucker to turn online articles suitable for offline pda viewing, avantgo for news and rss feeds and adobe pdf viewer for most of those downloadable docs, manuals etc...

am interested as well what mobile apps can be made for these doctors considering that java is also available for palm's and pocket pc's... will do a little research on this when i have time and play with the palm jvm i downloaded a few weeks ago...

luckily, i was able to bring the tj37 with me and was able to go halfway thru the "hacker crackdown" courtesy of manybooks.net... learned a lot about the history of US secret service, the legion of doom and operation "sundevil"... it also tells a lot about the history of telcos and a ton of other facts related to cyberspace that i had not known.... next book on the list is "free culture" to spice up those boring mrt commute time...

aside from reading, i was very very happy to use the pda to capture those "kodak moments"... el cheapo 3mp cant take decent pictures with low light conditions and using the flash would take a minute befor one can shoot his next picture... whereas the tj37 decent pictures even with only flourescent as the light source, and is fast enough that you can take several pictures with a whim without any noticeable lags in between...

oh boy! that boy!! IS MY BOY!!!

definitely blogworthy, born august 12, 2004, 11:29pm at 6.8lbs, Gabriel Janro rest assured that daddy will always care, will change your underwear, will take you to the fair, and i'll always try to be there... :)

Wednesday, August 11, 2004

good news: postgresql v8 beta is on its way...

xorg release plan includes a working sis dri driver. am crossing my fingers that this include the m650 series so i can finally play RTCW at decent framerates rather than the unusable opengl in software mode...

bluetooth and gprs article... if only gprs is affordable here in the philippines.... early this year i was torn between choosing a bluetooth only and a wifi only pda, i couldnt afford a device which has both, i opted for the latter as the office has wifi AP and at home i use wifi usb in ad-hoc mode to have a wireless lan (peer to peer is more appropriate) between the desktop, pda and the mobile desktop (degatto)... i was very tempted to buy teh tungsten t2 which has bluetooth but the expensive gprs rates is too unpractical for me... i can still connect my pda to a gprs phone via infra if the needs arises. of course sans the geekness and convenience of a similar bluetooth pda-phone pair...
The CharacterData interface makes thing clearer... java strings are composed of utf-16 chars....
stupid me, its not just ñÑ that causing the feature, este, bug... oh well...
"0x11 is not allowed in XML content"

String evolution.... back then in good ol' C/C++ a string is a string... an array of chars... memory mapped... now developing a program that deals with strings are no longer trivial... now there are different encodings to deal with... which reminds me of tacacs hell that i had to go thru with my first real unix program, to parse tacacs text files to produce subscriber usage reports for billing purposes... makes me want to do the perl-lee shell dance... now back to this bug... to my dear users please avoid sending text messages with ñÑ for the moment... hmmnn... this means am not doing java's encode and decode functions the right way... GOOGLEEEEEEEE!!!

Tuesday, August 10, 2004

am a few java classes away from being EJB free... finally, J2EE without those excess fats....

Monday, August 09, 2004

philmusic no more... its now just a photo gallery of the pinoy music scene... sayang, i like their magazine type articles back then pa naman... everybody moves on i guess....
totally loving junit testing, and how damn trivial it is to do this with eclipse ide... a REALLY nice break away from the monotony of EJB's CMP/CMR... of course this was made possible with spring framework's lightness... its IoC feature totally rocks!
Migs Paraz - What is Not ? myGlobe G-Blogs Mobile Blogging... from the venerable migz... i guess pinoy's are getting into the blogging trend... and being the mobile indie's that we are, the cell phone is a convenient means of posting one's thoughts on the web...

my office desk... the epitome of spartan simplicity... hehehehe.... i know its not that clean but some say that "a clean desk is a sign of a sick mind"...
KiwiCamara.com the nephew of our CEO.... comp sci and mathematics as his undergrad and will be finishing law at harvard this sept 2004... and his a filipino... we should clone him as our nation is in dire need of filipinos like this...
Second Life: Your World. Your Imagination.... this thing is wickedly cool!

Sunday, August 08, 2004

ok, continue with spring hibernate plumbing... i deferred using hibernate collection mapping in favor of simpler direct methods for getting collections/list associated with a class...

Saturday, August 07, 2004

its 3am and am really getting frustrated with hibernate to do my bidding... to some extent its working but why i DO NOT like the sql queries produced by hql... sigh... maybe i should go with teh sql way of doing things since hibernate does support this method...
"There are two varieties of one-to-one association:

*

primary key associations
*

unique foreign key associations

Primary key associations don't need an extra table column; if two rows are related by the association then the two table rows share the same primary key value. So if you want two objects to be related by a primary key association, you must make sure that they are assigned the same identifier value!

For a primary key association, add the following mappings to Employee and Person, respectively.





Now we must ensure that the primary keys of related rows in the PERSON and EMPLOYEE tables are equal. We use a special Hibernate identifier generation strategy called foreign:




employee


...
class='Employee'
constrained='true'/>


A newly saved instance of Person is then assigned the same primar key value as the Employee instance refered with the employee property of that Person.

Alternatively, a foreign key with a unique constraint, from Employee to Person, may be expressed as:



And this association may be made bidirectional by adding the following to the Person mapping:



"
Chapter?5.?Basic O/R Mapping having a problem with hibernate mapping... its a bit different than the ejb way am used to...

Wednesday, August 04, 2004

ok, migrated the layers to spring and hibernate... basically the apps i design has the following layers:

POJO - directly maps to each record on a table
DAO - contains data access methods for each POJO
Service - the business logic which often spans to several DAO's
Managers - the front end friendly wrapper for the service

spring really separates these layers nicely...
ok... on the coding front... was able to manage having the backend buildable via the CLI (command line interpreter or a shell etc)... was able to do cheesy unit testing because everything is now accessible even without an EJB CMP/CMR container... sweet :)... spring also literally separates the layers so all in all everything is much more flexible now... the next task is to remove resin dependencies so that i can make this thing work on suns free application server...

this face inspires me to do the imposible, reach for higher goals, and brings hope on this lowly geek to face the formidable challenges of today and tommorow... and last but not hte least, never fails to make me smile and laugh... ahhh the simple joys of being a father... am a ROJAN fanatic!!!

Monday, August 02, 2004

just to recap on what works on the degatto running on gentoo linux...

clie peg-tj37 works! i suggest to stick with copy from pda option for gnome-pilot tho. mounting usb-mass storage devices worked for me without a hitch, both the digicam and clie memsticks are recognized as /dev/sda1 devices... sound works nicely as well as playing dvd's and vcd's etc via totem... rhythmbox takes care of streaming audio... the msi cb54g wireless lan card works via the ndiswrapper... ok, back to work... will get back on this latter...

all in all i can everything "Mostly Works" (TM) ;)

Sunday, August 01, 2004

Mischiefblog ? Hibernate and Spring: Lessons Learned... funny i cant find anything mentioning aopalliance.jar on the springframework.org... oh well... i spent the better wee hours this morning why my downloading spring package doesnt have it... :(

Thursday, July 29, 2004

i seriously need to transform this schema to a graphical one... will search eclipse plugins for one... a simple one that shows each table and its relationships would suffice... but since dialup land translates literally to world wide wait, i better have a handful of those 3-in-1 coffee ready...
ok... hibernate stuff now buildable via the cli... but am still using the libs that came with lomboz... next step is to integrate spring stuff to the build.xml.... also do an emerge xdoclet, emerge ant on the side...

Wednesday, July 28, 2004

am going to approach this project with a bit more maturity this time... Ant and xdoclet to allow things to be buildable even on the CLI... with luck this is gonna pay off in the long run... and hopefully increase my family time sched... i miss playing with my dear rojan... ahhhhhhhh... the trade-offs of 14-16hrs working habbits... am an obsessive compulsive and i just wont admit it... doing things that i like is soooooooo addicting... am struggling to schedule things properly, or rojan might stop winking on me. and that, me really thinks, can slice my heart to pieces...
from this point onward... its hackathon time! i have to rewrite the ENTIRE backend and have it ready by monday! my picture somewhere on the top right makes sense, me thinks...

image test, my favorite coffee mug!
am tired of ejb cmp/cmr... after successfully having a working project based on it, time has come that its ugly heads are starting to sprout like crazy... the time consuming cycle of container deployment is too much to ask for a super hectic schedule bound mortal like me... more on this later... for now am sticking to spring+hibernate and would dip into jdo as well... sigh...

Tuesday, July 27, 2004

Portrait Illustration Maker.... probably one of the coolest site nowadays... fun!

naivete

sigh, found some old weezer mp3... one of the few bands i really like, i hope i could play the guitar like i used to... the sweater song undone
song brings back memories of those naive younger years when weezer and
nirvana and a local band like the eraserheads used to make music that
comes from the bottom of their adolescent/post-adolescent hearts...



Wednesday, July 21, 2004

Sensible Stuff... my big not so pretty sis blog is up! hope she could keeps on blogging...
had a hard time configuring hibernate synchronizer... after digging into the docs and googling insanely for an answer, i was able to pinpoint the problem... it apparently uses velocity with default settings of writing its velocity.log to /... of course this is not permissible! here's to unjarring and editing the default velocity properties files...

sigh...

Monday, July 19, 2004

Gentoo Linux ... awright, have to admit... am a gentoonite now... an alter ego to be more exact... i still a die hard bsd fanatics for servers... but for an opensource laptop os, am a gentoo linux convert now...

Thursday, July 15, 2004

it still doesnt hang!!! hmmmnnnn............
funny... my freebsdized degatto is not freezing for a good 3 hours now... hmmnnnn.... maybe it could sense its about to be replaced by gentoo... hehehhee...

Wednesday, July 14, 2004

Gentoo Linux... this linux distro is the closest thing to a freebsd distro with a similar ports collection feature... after several system freeze whenever i load X windows (both XFree86 and Xorg) its safe to assume that freebsd is not going to be my workstation os (its a default for servers tho :))... after searching the net i found out that the acpi is really not yet stable thats why its causing havoc on some systems... unfortunately my degatto is one of those systems...

ok... hope this works... wish me luck as i am rebooting with the gentoo installer now...

cheers!

Monday, July 12, 2004

rant... been a bonafide recipient of very bad customer service... this telco is really one of the finest example of what customer service should NOT be! first of all i reported the stolen cellphone and sim to have it blocked... complied with their requirements and even had the sim replaced... all is well except THEY WOULD not re enable the replacement sim because of incurred charges during the time the phone was reported as STOLEN... they also had a habit of giving phone numbers that either ring indefinitely or insanely busy... oh well all the while i thought they are "smart" people willing to give the outmost professional customer service... oh well...

Thursday, July 08, 2004

whew! yippeeee! am back to pure open source goodness... freebsdized my degatto and my everything seems to be faster... am a tad more productive! the biggest reason for switching back was i was able to get my msi cb54g wifi card to work under bsd via the ndisulator... really cool stuff!!

but last week i got stuck with flu, really dreadful as i find myself bored to death with nothing to do but forced to have plenty of rest...

on another front, my wife is nearing her nine month pregnancy and am really, realy excited and worried at the same time...

Wednesday, June 23, 2004

havent REALLY blogged in a while... most of my recent blog entries were bookmarks to stuff i want to remember reading or for reference purposes later on...

neath the humming of this machine, there are strange moments i feel emotionally drained... could it be the effect of injecting a ton of tech stuff to my brain? or the excitement and anxiety of anticipating a new member of my family? pressure? stress?

funny thing is i always this nagging voice inside my brain telling me not to hold back and just write what i really wanted to write. there's plenty to write about everyday life and i have to admire other bloggers who have the guts to honestly let all their thoughts out. i seem to have built in filter infused with paranoia and a pint of inferiority complex thats making me constantly sanitize what i am about to blog...

the good side is everytime a go home, my daughter would hug and kiss me and say "miss kita dad"... those are moments that makes me go on, to work harder, to dream and have faith that God Almighty will guide me.

as always, cheers!

havent REALLY blogged in a while... most of my recent blog entries were bookmarks to stuff i want to remember reading or for reference purposes later on...

neath the humming of this machine, there are strange moments i feel emotionally drained... could it be the effect of injecting a ton of tech stuff to my brain? or the excitement and anxiety of anticipating a new member of my family? pressure? stress?

funny thing is i always this nagging voice inside my brain telling me not to hold back and just write what i really wanted to write. there's plenty to write about everyday life and i have to admire other bloggers who have the guts to honestly let all their thoughts out. i seem to have built in filter infused with paranoia and a pint of inferiority complex thats making me constantly sanitize what i am about to blog...

the good side is everytime a go home, my daughter would hug and kiss me and say "miss kita dad"... those are moments that makes me go on, to work harder, to dream and have faith that God Almighty will guide me.

as always, cheers!

Tuesday, June 22, 2004

Object-relation mapping without the container... IoC concepts seems to be gradually absorbed by my brain now... hmmnnn.... let the fun begin!

Monday, June 14, 2004

Sunday, June 13, 2004

Sony Pictures - PDA Downloads nice and free...
Go placidly amid the noise and haste
And remember what peace there may be in silence
As far as possible without surrender
Be on good terms with all persons.

Speak the truth quietly and clearly
And listen to others
Even the dull and ignorant
They too have their story.

Avoid loud and aggressive people
They are vexations to the spirit.

If you compare yourself with others
You may become vain and bitter
For always
There will be greater and lesser persons than yourself.

Enjoy your achievements as well as your plans
Keep interested in your career, however humble
It is a real possession
In the ever changing fortunes of time.

Exercise caution in your business affairs
For the world is full of trickery
But let not this blind you to what virtue there is
Many persons strive for ideals
And everywhere life is full of heroism.

Be yourself
Especially do not feign affection
Neither be cynical about love
For in the face of all aridity and disenchantment
It is perennial as the grass.

Take kindly the counsel of years
Gracefully surrendering the things of youth
Nurture strength of spirit
To shield you in sudden misfortune
But do not distress yourself with imaginings.

Many fears are born of fatigue and loneliness
Beyond a wholesome discipline
Be gentle with yourself

YOU, ARE A CHILD OF THE UNIVERSE!
No less than the trees and the stars
You have a right to be here.

And whether or not it is clear to you
No doubt the universe is unfolding as it should be.

Therefore, be at peace with God
Whatever you conceive him to be
And whatever your labors and aspirations
In the noisy confusion of life
Keep peace with yourself.

With all its sham, drudgery and broken dreams
It is still A BEAUTIFUL WORLD!

Be careful.
Strive to be happy.

DESIDERATA
Popularized during the Flower People Generation.

Found in old Saint Paul’s church
Baltimore dated 1692.
( circa start of French Indian War )

Saturday, June 12, 2004

Sunday, June 06, 2004

Slashdot | Parenting and a Career in Coding?... verly timely. this is the first time i have read opinions by others... very interesting...

it all boils down to choices... bringing home the bacon is a necessity... but being there for your kids and wife should be a priority...

Sunday, May 30, 2004

In Relation To... as usual this guy rocks! his discussion on ejb3 makes me happy in a sense that i havent strayed far enough on persistence technology, sticking with ejb and hibernate on research and actual projects....
FindBugs, Part 1: Improve the quality of your code... alas! its a feature not a bug!

Sunday, May 23, 2004

viPlugin... vi rules!
clie on unix ref... until now i miss the freebsd environment... after using it as a primary desktop os since 1998... i still have my home desktop and our office servers running on freebsd, but what i do want is for it to be my laptop's main os again!

now i have a wifi enabled pda, and since most of the apps for the device are windows based, i have been researching every now and then for unix alternatives...

ahh... clearly i was a sissy before unix took me by the hand...

Thursday, May 13, 2004

Waiting and blogging

Whilst waiting for the next meeting with my boss, i find it a good excuse to blog. It has been several days since i got this wonderful PDA. It does have a tremendous impact on productivity. I already finished reading an ebook and have all my schedules planned properly. Also commuting sans the laptop provided a relief to my aching back. Each down time be it waiting for a meeting, or the daily train commute provides opportunities to catch up on news, email, ebook or planning the next course of action to survive the highly volatile world that we live in.

Monday, May 10, 2004

suddenly struck by a sense of deep amazement as i observe my two year old daughter. i realized that she has changed so much that it seems just a while ago i would pat her gently to sleep. Her tiny hands i would endlessly kiss. Those cute eyes that seems to stare at my soul. I couldnt thank God enough for these miracle. I do hope and pray that our second baby and my wife would come through safely. Three months to go and am anxious and excited an do hope its a boy this time!

Tuesday, May 04, 2004

Sony CLIE WiFi HotSync HOW TO.... and now i sync via wifi and use the usb cable/charger to charge the device... man... wickedly cool.... the tj37 is a must have for practical techie like me... or better yet a -> mobile indie!

Thursday, April 29, 2004

havent updated nocs @ work! lately... been busy reading the adventures of the middle-earth folks of j.r. tolkien....

and yes... my preciousssssss... sony clie tj37 arrived last tuesday april 27.... ahhh and sudenly information is in the palm of my hand...

Monday, April 26, 2004

WiFile... killer app for the palm os devices... lintek! naunahan pa ako...

Wednesday, April 21, 2004

been really amazed by the pda lately.. had a chance to borrow a tungsten T|T whilst waiting for the tj 37... my the pda nowadays could be such a tool!!! java runs on it too!!!

but the perfect pda doesnt exist yet.... for the time being it would be the th55 form factor (320x480) + wifi + bluetooth + 128mb ram + sd slot + 1mp camera + 400 xscale processor + 8 to 12 hr battery life....

of course in the future we will all be using star trek like devices....

Saturday, April 10, 2004

havent been blogging decently lately... mostly just posting links that interest me...

right now backing up the degatto on my desktop workstation... freshly upgraded to freebsd 5.2.1... its about time i switch the degatto to a freebsd workstation... lots of stuff to do and the current os bores me... my fascination with unix makes be biased, me thinks...

thats news from this front... back to happy coding and surfing now...

Friday, March 19, 2004

Thursday, March 18, 2004

Using a Palm device and Mobile Phone via InfraRed.... good resource... sigh... am itching to get a palm...
Java, Gtk and Mono... this is simply wickedly cool... miguel and his mono team are doing really great with their opensource .net implementation....
aadis.de - My Pda... mentioned plucker... this is a must have for a palm...
e-Kain: Join the celebration need to discuss this with someone later... this models exactly what he had in mind but maybe in a different context...
Plucker - The only way to carry the web in your pocket this is great! am sold that i really do need a pda... tungsten e! seems to be the best practical choice... i take a minimum of 1 hour mrt ride daily and it would be good to spend those times reading eBooks about non-tech things...

Thursday, March 11, 2004

Enter The JBoss Matrix... marc fleury's blog?
cleaned a lot of bugs in the new codebase today... new message filters much, much more stable and flexible now! yipee! oras na para yakapin ang malupit kong unan...
bug hunting and unit testing madness... hey its only 1 am... time for some COFFEE!!!
UserFriendly Strip Comments hilarious as always...

Tuesday, March 09, 2004

ONJava.com: Best Practices for Exception Handling [Nov. 19, 2003]: "public void dataAccessCode(){ try{ ..some code that throws SQLException }catch(SQLException ex){ throw new RuntimeException(ex); } }"
The BileBlog some interesting thoughts here...

Sunday, March 07, 2004

Java 2 on FreeBSD... encountered problems regarding pthread issues on FreeBSD 5.2.x... the solution was to replace all references to -lpthread to -lc_r... sadly the latest patchset 6 for jdk1.4.2 doesnt support this... anyway i have a working jdk1.4.2 now ;)
Personality Tests and Community... will get back to this later... for now hackathon is on top priority!

Friday, March 05, 2004

filters doing ok... found a few more bugs... things are more stable now... how my back aches... i think i should request for a better chair... arrgghhh!

Wednesday, March 03, 2004

fixed the FreeBSD jdk14 port compile error (cannot find -lpthread)... maybe greg lewis didnt see this... i hand edited the vm.make found at /usr/ports/java/jdk14/work/hotspot/build/bsd/makefile directory and replaced -lpthread with -lc_r... now its compiling... with luck ill have an updated jdk1.4.2 which will make it to the live java freebsd cd am cooking...
Convert lbs to kg to lbs... nice util site..
ONLamp.com: Bacula: Cross-Platform Client-Server Backups [Jan. 08, 2004]... arrrggh... my to-read list keeps on growing!!!
Project Evil: The Evil Continues ndis howto... sort of ;)

Tuesday, March 02, 2004

FreeBSD on Toshiba Satellite 2805-S201 laptop... using project evil's ndis kung-fu... this is wickedly cool!!!
wlan.kewl.org - FAQ... freebsd wlan info... am itching to find a driver for my msi cb54g pcmcia card...
FreeBSD USB home page
Haught.org :: FreeBSD... another great FreeBSD site... has info on wireless setup on a FreeBSD box...
Bacula, the Network Backup Tool for Linux, Unix, and Windows... saved for later reading...
FreeSBIE - Free System Burned In Economy... live freebsd cd... if i have time will create a custom one with java and eclipse on it... kudos to the GUFI team...
been very productive today... built a new filter for sms messages on our sms gateway... version 2 is coming along nicely... will finish the new set of validators tonight...

on another front, been running interix (SFU) cvs package and was insanely happy to have it configured (pserver type) on my main workstation... gotta love the eclipse cvs support... i now have a local cvs aside from the central cvs repo just in case...

Tuesday, February 24, 2004

EJB Design Guidelines... found a better EJBHomeFactory implementation... this one supports local interfaces which is what i deal with most of the time...
EJB best practices... good reference to common EJB questions...

i particularly like the EJBHomeFactory concept...
Similar Minds:
Extroverted (E) 58.14% Introverted (I) 41.86%
Imaginative (N) 57.5% Realistic (S) 42.5%
Intellectual (T) 51.22% Emotional (F) 48.78%
Easygoing (P) 62.16% Organized (J) 37.84%
Your type is: ENTP
You are an Inventor, possible professions include - systems designer, venture capitalist, actor, journalist, investment broker, real estate agent, real estate developer, strategic planner, political manager, politician, special projects developer, literary agent, restaurant/bar owner, technical trainer, diversity manager, art director, personnel systems developer, computer analyst, logistics consultant, outplacement consultant, advertising creative director, radio/TV talk show host.
Take Free Career Inventory Personality Test


i guess thats why am happy being a software engineer!
Best practices in EJB exception handling... good article on ejb exception handling... am trying to google an article i saw a long ago discussing the evils of just doing a print stack trace when an exception is thrown... i had it as a bookmark on the old pheonix firebird browser and now i cant find it... bloggin a link is a far better than bookmarking it wit a browser... score 1 for link blogging ;)
was able to confirm the bad ram chip of my degatto thru a sofware called memtest86 i think? what a relief! borrowed a ram chip and sent the bad ram chip back to degatto vendor...

somethin tells me i should try installing the freebsd 5.2 again... maybe things would be better now that i have good working ram chip ;)

trying to practice defensive coding... been reading a lot about exception handling in java lately... the C/C++ exception handling that i was used to doesnt apply to java unfortunately...
btw, was able to get the viplugin to work via the update method... just installing the downloadable tarball just didnt work...
viPlugin now works on my eclipse m7... happy days are here again... my hands are aching for coding without vi... navigation thru arrow keys is downright awkward...

now if could get the quantumdb plugin to work... also need to find time to learn how to compile lomboz from source so i could tweak its default templates... lomboz inserting jonas xdoclet tags adds clutter to my already obfuscated java code ;)...

Sunday, February 22, 2004

EJB Adventures -> EJB finder methods are case sensitive!
Lomboz M7 annoyance... using the add ejb to module modifies xdoclet.xml... previously lomboz for the 2.1.1 would add to ejbs.xml instead... also every add ejb to module modifies the build.properties file... tsk tsk tsk...
Pinoy techies conquer Europe... food for thought... the working habbit of a typical pinoy techie...

makes me remember my brief stint in singapore... gotta love that place...

Saturday, February 21, 2004

Man of Steel, Woman of Kleenex... hilarious stuff... gotten from migs lj site... am glad am not superman... getting laid becomes insanely complicated if your the man of steel...
Firefox Extensions... i have to say this FIREFOX ROCKS!!! mouse gestures is friggin awesome! this is by far the best browser on the planet!

Friday, February 20, 2004

Fabrique another interesting product from jetbrains, makers of uber cool java ide called intellij idea... man this russians are quite something... the programmers in this group are top notch and very creative... the omea project headed by dmitry jemorov of the same company is also interesting as well...

for now am sticking with eclipse as far java ide's goes, its ehem *free* and quite usable with good help from the wide array of plugins available for it... long time java gurus however say intellij idea wins hands down as the best java ide out in the market today...

but currently am used to the eclipse way of doing things... funny since intellij idea (eap version) was the first java ide i tried for a while when i was learning java (aside from vi of course ;))...

Thursday, February 19, 2004

"AT CNMI=1,2,0,1,0" init string... will also look into this... currently using new message indication "AT CNMI=1,2,0,0,0" as the default init string...
Kannel 1.2.1 User's Guide... will read this later...

Wednesday, February 18, 2004

edhand.com: Java Example #1: Struts with Hibernate Java Example... a simple straightforward guide to a hello world struts-hibernate-mysql java app...
New 3-D effect could be a bright spot for Sun... this is fascinating stuff... i remember doing graphics during college years and how i would rock my brains to understand low level graphics... i still remember my blit blit functions... sigh, those were the days... assumptions that i would be doing graphic games when i graduate... john carmack is my idol way back then, and i guess even until now...

Monday, February 16, 2004

sigh, what am i doing? i still have 38.8 temp with a really bad cold to boot and here am i blogging and hacking happy code...

man, this is computer tech addiction... siguro, if i suddenly stop, am bound to experience withdrawal symptoms...
browsing down lone_geek's blog... and ahhh, there it is... trouble with rpms, etc etc...

me thinks, am sticking with freebsd!
further down on migs techscene... Lone Geek has some interesting points against the use of freebsd... my opinion however is that the guy has been a linux user and that probably is his comfort zone...

me, am no os zealot... but am tend to be biased against freebsd, maybe its my comfort zone ;)

to date, i still use freebsd for most things except on this degatto due to the wifi-card issue... i had come to admire the rock solid feel of the os as well as the easy to use ports collection... to date it runs all the java dev tools and apps *i* need to get the work done... production and qa servers are quite happy serving java apps and they are all based on freebsd...

i do think linux is a great os with pretty much support for the new hardware coming out today... but in general i hate that theres a a lot of incompatible distros and the way the whole file system is arranged... in freebsd you can pretty much expect things to be consistent (dirs and files)... consistency is great especially when it comes to overall management of a system...

FreeBSD, the power to serve!
migs is running Pinoy Tech Scene, aimed perhaps to be a one stop shop for pinoy tech blogs... cool idea... am glad that there are pinoys who had the time? energy to do this kind of things...
also added comment utility to this blog using comment this...
i upgraded the desktop to freebsd 5-current and switched on the ULE scheduler... things do seem a bit faster now in the 5.2 series... got to upgrade the java 1.4.1 to java 1.4.2 one of this days... eclipse also needs to be upgraded 2.1 to 2.1.2... as well as the rest of the java dev tools on this desktop...
anyway the major freebsd install showstopper is this -> MSI CB54G which doesnt have a freebsd compatible driver as of now... the device however works fine with windows and its pretty much a bang for the buck at a price of P2,900.00 at PC-OUTLET Glorietta... sad, because i still can do dialup using an old pcmcia modem from the old HP omnibook which works great with freebsd 4.x series before... going full freebsd on the degatto would mean not being able to use the wlan card, hence the decision to use windows 2003 trial version instead...

windows services for unix brings the shell tcsh, vi and perl so am half happy with this box right now...
just noticed this now, windows 2003 detects the modem as Lucent windmodem... i wonder... will this work with the ltmdm port?
apparently my degatto uses PCTel Winmodem which as of now i cant seem to find a freebsd driver... am usually on a dialup when am home so this is a *need* for me... btw, am currently using windows 2003 trial for now... i have resigned to installing freebsd on the degatto for now...

Sunday, February 15, 2004

Extension Room rocks! Firefox is the browser to beat... btw, same goes to thunderbird mail client... go mozilla!

Thursday, February 12, 2004

correction on my previous post... removing the fwe driver module doesnt cut, i have to disable the firewire device via the bios... posted my question regarding the winmodem on the freebsd-mobile@freebsd.org mailling list..
am trying to find my old pcmcia modem... speed is 33.6 i guess... that one worked flawlessly under freebsd 4.x series...
found the cause of the lockup... the bfe driver is conflicting with the fwe driver... learned by trial and error... had to recompile the kernel not to include the ethernet firewire driver... oks lang, as i dont even have a firewire device for now... so far hadnt had luck with the sis winmodem using the ltmdm and mwave port... wireless arriving hope it works fine... still wasnt able to test the digicam-usb and memory card reader...
MSI wireless card supposed to arrive tommorow... hope it runs on freebsd using the ath driver...

sound works using the stock snd_ich module... kldload sure is handy...

darn!!! doing a make yeilds an Error code 1, in the tcp_output.c... should cvsup again...
whew! finally was able to copy the latest sys... i hope this has a better bfe driver... though i cant seem to find any article related to bfe causing to crash in a degatto... this means am the only one stupid/brave enough to try FreeBSD 5.2 on a degatto...
tsk tsk... am getting bzip errors when untarring the nero burned cd... this is weird and downright frustrating...
FreeBSD wifi-ipsec guide... hmmnn... a nice way to secure a wireless connection...

Wednesday, February 11, 2004

also noticed that java port is now using 1.4.2 and patch-level 6... hope this compiles nicely... but before that i should solve the broadcom issue first!
otoh, at least XFree86 was working fine using the sis driver... i experimented with the stock gnome of freebsd 5.2 and it sure was a lot faster than the previous ones... also noticed that even root (/) label can use UFS2 now...

FreeBSD has undergone a LOT of changes (for the better) since i first used it (2.x era)... still the best free unix out there...
tsk tsk tsk... the FreeBSD 5.2 install is not going well with the degatto... everytime i bring the broadcom ethernet up the machine dies... i need another machine to get the recent source, burn it to a cd and recompile the kernel... hope this solves the problem somehow because am aching to go full bsd on this machine... for now, dual boot is still my friend, sigh...

Tuesday, February 10, 2004

Apple - PowerBook G4... tadannn... this beauty is always on the top of my dreamlist...
Acer's Ferrari Notebook nice to have... adding this to my dreamlist...
Serious flaws in bluetooth security lead to disclosure of personal data... this is serious stuff... elsewhere i have read that *the* phone company already admitted this flaw...

btw, ed dumbhill has an interesting app with regards to bluetooth... that is registering your friend's bluetooth devices and associating it with FOAF or your address book and have the app monitor/scan the area... youll then be notified by the app that your friend or boss is in the area (assuming both have bluetooth enabled device registered in the app)... nice to use in conferences... planet gnome sure helps in aggregating blogs of some of the brightest open source developers nowadays... gnome rocks!
25 gig of data sure takes a long time to complete... both ends operating at ethernet 100 speed via a crossover cable (no hub/switch)... feeling sleepy...

been meaning to attend the pinoyjug-projects meeting tonite... very near to our office... but sigh, there's still a lot of things needing my urgent attention... would be able to help out tho... just cant attend the meetings for now...

wonder if when will be the first hackathon here in the philippines... ala openbsd hackathon were a bunch of geeks meet and hack opensource happy code...

also been thinking why there are not many (actually haven't met any) active open source developer in the truest sense in the philippines... maybe due to practical reasons that better do good first and be productive in a day job than live the life of true open source dev and be paid for doing cool stuff... wonder if there are open source companies here too... hmmnn... the closest thing i can think of is the ASTI DOST people... though not a commercial entity people here are paid to do cools stuff, purely research that may or may not have commercial value... i hope the people here do "enjoy" what they are doing... the hungry programmers society, hmmnnn...

been listening to some blues music while typing this... the harmonica, the guitar riffs.... nice soothing music...

oras na para bumalik sa aking kama at sa malupit kong unan... will leave moby (laptop) and wolverine (desktop/server/etc) to finish the backup routine... got to add a larger capacity hard drive, two identical ones and a raid card to my wishlist...

i wonder, who on earth would be on his right mind to waste his time reading this blog? and why do i blog? come to think of it, i blog because i feel like blogging... to spill the contents of the room inside my mind... practically, should be doing this often to have some sort of e-diary for tracking back things... kind of a remembrance agent... dashboard comes into mind... that project is certainly an itch i want to scratch... certainly if a had the luxury of time... ahhhhhhh... the mind of the married man...

one more thing, should i be reading stuffs for grammar... one thing am sure of i suck into doing grammatically correct (obviously have a lot of spelling mistakes too, but that might be forgiven because more often than not my fingers do fly on the keyboard)... should search google for writing styles too... prose and poetry... poetry, poetry... i used to write non-sense poems... back in circa 1998 got addicted to chatting as well... that was the inquirer chat room where i met some people really good at writing poetry that it inspired me to try writing one as well... hope i had a way to get those poems back.... no matter how corny they were...

whoa! this is my very first LONG post...
whoa! scp keeps on getting disconnected... hmmnn... ping doesn't work... the connection is lost... ifconfig reveals the interface is still active... something fishy here...
just posting A Brief Introduction to IoC so that i would be reminded to read it some other time.

also, here i am, backing up my laptop on my freebsd desktop box... du -sh * reveals i have been lugging around 4.5 gigs of music... the thing is there's that funny tendency to just keep things on the drive even if i seldom use it... the pack rat in me...
Cgisecurity.com: Cross Site Scripting questions and answers. Got to keep this in mind. Got to keep this in mind in case am struck with web paranoia...
busy re-organizing the servers here at work... production and qa servers remain freebsd based... am trying out on another machine windows 2003 enterprise edition... microsoft has a trial download good for 180 days (6 months if my math is right)... am contemplating on reformatting my laptop...

other news, we are having a hard time now that we have no household help... hope we find one soon... the tricky part is finding a good and honest one thats within our budget...

Sunday, February 08, 2004

Thursday, February 05, 2004

gotta to love my degatto! its a joy to use... the keyboards are really nice and comfy... i recently bought an altec lansing headset and its a higly recommendable product... my only gripe is that the audio driver sometimes causes the machine to hang... i'll try to install the trial version windows 2003 this weekend and see if its more stable... if not for the devices on this machine, i'll be sticking to freebsd...

Wednesday, February 04, 2004

the ejb deploy and debug cycle is little by little starting to annoy me... gotta love ejb cmp/cmr, but how i wish there's some work around to its deploy/debug cycle... also it takes a while for the container to generate its own ejb classes...
rant--- the chino roces avenue here in makati had its guts spilling literally... the amount of dust i had to go through is really helping my asthma... is there no way to create pre-fabricated roads? adding insult to injury is the traffic which never failed to annoy me... i guess its time to buy a car and practice driving again... or maybe i should ask our government to some hazard pay or something... but nonetheless this sucks!
Slashdot was down... 503 service unavailable... the best post in years!

Tuesday, February 03, 2004

mind of the married man again tonight! gotta love this series...

been busy with work (what else is new?)... anyway, setting the postgres to output sql via debug_print_query=true helps tremendously in EJB CMP/CMR development...

found the cause of a nasty bug in the SMSManager module am making... it seems postgres acts funny when youre querying and NOT closing your jdbc connection... especially if youre doing it non-stop... am using it to query if there's new data on the queue... hmmn... at least its ok now after re-programming the module to avoid the polling algorithm...

Monday, February 02, 2004

tonkatsu addiction... the carnivore in me cant help but get addicted to this (japanese?) food... the nearby kitaro restaurant is the one to blame...

Friday, January 30, 2004

ahhh... to blog...

been watching the hbo "mind of a married man" series... boy, was it funny and the same time contains real situations a married man could face... albeit, has the same flavor as the sex and the city series...

Thursday, January 29, 2004

been reading Newbie FAQ - Apache Struts to learn more about struts... i dunno if its just me but i really dont see the point of having a framework like this... maybe i just hate jsp? IMHO xsl+servlet+persistance(ejb/hibernate) should be much much simpler and better with xml used in between...

onwards with java... the excitement is still there... coding fun... but i also want to explore the .net when i have time...

Wednesday, January 28, 2004

gavin king rocks! the more i read about hibernate the more i want to use it on a real project... i still have some few good points in favor of ejb, but for non-web apps i think hibernate is the way to go...

Saturday, January 24, 2004

A Case Against EJB article on javaranch. somehow sucks! because why the hell did they create ejb in the first place. sigh... but i think the real reason is after having a blast learning the ejb path and finally getting real comfortable with cmp now all of a sudden articles are coming up discussing the against the use of ejb... even rick hightower whose articles inspired me to pursue cmp seems to be steering away from cmp/cmr nowadays... as well as this guy...

Thursday, January 22, 2004

am still frustrated i cant use resin-xdoclet.jar together with lomboz to handle @resin-ejb tags. but am really beginning to like ejb cmp 2.x. lets see where this goes.
found some eraserheads audio bits at the net. brings back some good old memories. i miss playing the electric guitar. sigh i wish i had a computer back then and those awesome downloadable guitar effects softwares. maybe i would have experimented more. but then the generic distortion was already providing a ton of fun.