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...
Wednesday, August 11, 2004
"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)