Friday, April 29, 2005

and if you thought barangaywireless.net sounds hard, try doing it in iraq -> MAKE: Blog: Hacking in Iraq, Interview with Jake Appelbaum... fascinating!

here's a <1 href="http://www.livejournal.com/users/ioerror">link to his blog...

Thursday, April 28, 2005

this rocks! -> Coredump: Ubuntu installation photos

never expected to see one locally... a few blogs back i posted something similar...

Tuesday, April 26, 2005

and posting xml-xsl examples is not for the faint of heart... i have to google to find out that it takes an xmp tag to display xml on html properly...

Monday, April 25, 2005

many summers ago (since we dont have winter), i used to write html input type default value in xsl like this:

our simple xml:

<page>
<input_value>hello xm-xsl world</input_value>
</page>

first we declare an xsl variable like so:

<xsl:variable name="input_value">
<xsl:value-of select="page/input_value"/>
</xsl:variable>

then we write our html input like so:

<input type="text" name="text" value="{$input_value}"/>

resulting to a boring html input box with a default value of "hello xml world"...

recently discovered there's another way to do it via . using the sample xml above we can create a similar output with:

<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">text</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="page/input_value"/></xsl:attribute>
</xsl:element>


if page/input_value doesnt exist it simply produces a blank input box. the default value is commonly used when validating a form and you want to retain the user inputted values but wanting to do some fancy label highlighting of the offending fields...
speaking of june, my eldest would already start going to school... rojan had a perfect score at her entrance exam... my wife is the one responsible for this achievement, as she can still find time to teach rojan the basics amidst her hectic schedule... the school said rojan can already be accelerated to kinder... but we decided that would be too much and we still want her to enjoy being a kid... am really excited to see her wearing her first school uniform and make "kwento" about her first day in school...
Digital Life by Chin Wong -- This old notebook... nice article.. i feel rather stupid whining about one stuck pixel on my lappy... but then again i aint no rich fellow with much disposable income... so i feel pain even if its just a single stuck pixel... as june drew nearer, life's competing priorities will come in full force... and i wonder if i will be able to have the luxury to buy one again... crossing my fingers this thing will last me at least 3 years at the minimum... but would really be happy if would extend to 5 years and hopefully it would still be suited to run the current breed of applications by that time...

Sunday, April 24, 2005

i'd say coding and cooking have much in common... there are many ways to solve a particular problem domain as there are many ways to to cook a particular dish... both has a distinct science at the background... the more exotic the solution/dish the more complicated it gets....

spring me baby... spring me...

that said... the spring framework documentation direly needs some diagram lovin'...