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

XTen Tutorial... some handy dandy tips on operating the xten softphone!

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

Nokia 7210 Content Authoring SDK 1.0... i should remember to download this when using a broadband connection...

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....

Friday, April 16, 2004