Aleksandar • Vacić

iOS bits and pieces

Changing WindowsXP username while keeping the existing apps intact

…as in: still keeping as much of your settings and data as possible. When XP is installing, at one point it asks you for the name of the user(s) that should be created. What you actually type will be usernames, which I like to keep short and sweet. I typed in my full name and realized what I did after I installed most of my everyday apps. Blindly copying from the backup did not work, as they had the old path written all over the place. Time to dig…

Here is the procedure that worked for the apps I had at the time. You mileage may vary…

Reinstalling Sony VAIO

Initially, when you buy Sony VAIO notebook, you get things setup as Sony sees them fit. You have C and D partitions, both with 40+GB, and a hidden partition of 7GB, which is factory-restore partition. All this on 100GB disk (which is actually 93GB if you count 1024 instead of 1000 for kB).

On those partitions, there’s amazing amount of software installed, both Sony’s own and from partner deals. Adobe, Symantec, Office 2003 trial, lots of other shareware…Out of all of that, I had use for…none. I don’t need security-encrypted folders, I don’t need biometric login, I certainly don’t need Norton’s crap etc.

The only software that seemed to be of some use was Intervideo WinDVD for VAIO (v5.0). It would be useful if it wasn’t 2-speakers only edition. :( Since I have 5.1 speakers connected to VAIO over Creative Live! 24bit sound card, this was useless and I de-installed it.

It really is shame that Microsoft is not providing DVD decoder for the Windows. For all you MacOSX owners out there, if you didn’t know - Windows can’t play DVD movies on its own. You need to purchase DVD player that has the decoder: Cyberlink PowerDVD, Intervideo WinDVD and lots of others.

To cut the story short - I decided to reinstall Windows, remove the hidden partition and resize the C and D to what I like. Heh…not a small feat to do.

What good 404 page can do

Bounce rate halfed in two days

I added related posts to my 404 page along with improved detection of incoming URLs on Saturday evening.

Insert HTML page into another HTML page

…or what to use instead of iframe in XHTML Strict pages.

I have added some kayak.com ads the other night, to the archive pages related to traveling. These ads are actually full-featured search snippets that allows you to directly search kayak.com database. Very handy things.

Sadly, they are written the old-fashion way, with quirks mode in mind, and worse yet - they are writing nested table tag soup directly into the page - no iframe thingie, like Google AdSense is doing. Thus, when my CSS files got applied to it, the snippet fell apart.

Luckily, the snippet always opens a new window, thus I quickly coded in an iframe in which the snippet is displayed. Which was all dandy…apart from the fact that my pages are XHTML 1.0 Strict, in which iframe is banned element. Jolly.

Correct way to include another HTML page into another is by object. The element which only purpose is to insert any foreign object into nice and structured web page.