The XML data is not the only way how to pass data from the server to browser. The data can be passwd as XML, HTML, just a string, or JSON.
What is JSON?
JSON is JavaScript Object Notation. It is much easy to work with JSON then parse XML data.
When you receive JSON data from the server you will need to evaluate the data into variable and access the data as structure or an array.
This is JSON data:
[ { author: 'name a', title: 'title #1' },
{ author: 'name b', title: 'title #2' },
{ author: 'name b', title: 'title #3' } ]
This is how to access this data:
var books = reval( req.responseText );
element.innerHTML = books[0].author;
This is how to modify and produce JSON stream:
books[0].author = "me";
String newJSONstream = books.toJSONString();
This is simple. Enjoy!
Recently I had to enable auto-mounter onTru64 UNIX. The things worked well for NFS host mounts but keep failing the home folders for user login.
The fix was simple. I added following to the end of the automount argument line “/home -nosuid auto.home“.
The full argument line is: “-m /net -hosts -nosuid -M / /home -nosuid auto.home”
PS: easy way to setup automount is to use X-window appliaction sysman:
# sysman nfs
Recently I was struggled with issue where ActiveX component developed in Visual Studio 2005 was working on some machines and failed to load into browser window on another.
It was no evidence on what is missing until I spot a message where it was complaint about missing Miscrosoft.mshtml assembly.
It turnout that the Visual Studio 2005 Setup wizard is not adding this assembly into dependency list and therefore into package.
To fix the problem I manually added Miscrosoft.mshtml.dll and stdole.dll to the setup project to copy them into application folder without registration.
Ironing a button-down shirt is a bit of an acquired skill. Home improvement site DIY Life has a quick and dirty tutorial on how to get that shirt wrinkle-free in five easy steps:
- Begin with the collar, inside and out, starting at the tips and working your way to the back.
- Do the cuffs.
- Slide the shoulder onto the end of the board and do the sleeves. Start new the cuff opening then move to the top.
- Iron the body. Start at the top and go down. The back is low priority -- it will wrinkles from sitting against the back of a chair or in a car.
- Slide the tip of the iron between the buttons.
Pretty easy. Personally, I hate ironing, so I just hang my wrinkly clothes in the bathroom while everyone showers and let the steam do the work for me.


PC only: Minuscule Linux distro Puppy Linux got a major upgrade this week to version 3.0, adding Slackware compatibility (which lets users install Slackware packages on Puppy). At a slim 97.6MB, Puppy's meant to be run from a bootable CD or USB drive and offers a full-on portable desktop operating system environment with the Mozilla Application Suite, AbiWord, Sodipodi, Gnumeric, and Gxine/xine built in, and the whole shebang runs from RAM. Puppy's a free download for PC's that can boot from USB stick or CD.
