Monday, January 03, 2005
The Rainmaker (1997): great movie! wasnt able to closely capture the excitement of the original novel... but entertaining nonetheless... seriously, all the lawyers should pray to God...
Friday, December 31, 2004
before and after tsunami Satellite images... hope the new year brings new hope to those affected by this disaster...
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...
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...
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
Copernic Desktop Search - The Search Engine for Your PC... its free... will try this out... beagle is still far away from becoming as polished as this...
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...
Wednesday, December 08, 2004
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...
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!
"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!
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!
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...
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
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...
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
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...
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...
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!
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!
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...
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
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...
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...
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...
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...
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...
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...
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....
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
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...
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...
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...
Wednesday, September 01, 2004
Tuesday, August 31, 2004
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...
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...
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...
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 ;)...
i'll try to find the wackiest pictures of those people in the list and create hackergocthi versions of their heads soon ;)...
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:
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...
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...
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...
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
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...
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...
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...
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...
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...
"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!!!
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
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....
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...
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...
Sunday, August 08, 2004
Saturday, August 07, 2004
"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:
"
*
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
...
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...
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...
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) ;)
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... :(
Subscribe to:
Posts (Atom)