<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8841590\x26blogName\x3dmini+cod\x27s+blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLACK\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://minicod.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://minicod.blogspot.com/\x26vt\x3d-5922962456000464541', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Sunday, August 14, 2005

Sluggish!!

I don’t know. It’s hard for me to write a blog lately, too lazy. I haven’t sort out the RSS encoding problem, having moved my feeds to dreamhost and realized the perl’s version (5.6.1) is just too old. There is a voting system that lets you to prioritize their maintenance/upgrade order, however, only a handful like me is unhappy with it and have chosen to vote for an upgrade. An alternative would be install the latest version of perl (5.8.7) locally at your home (2GB of space anyway!). I think that’s too much effort of such a simple task. Then I discovered Text::Iconv. It’s an interface to the C version of iconv, and for some reason it doesn’t work in my script. My answer to this crap is to tell perl to run iconv thru shell using backquoting.

Something about running perl script under CGI, both the script and all directories above have to be in mode 755, otherwise you get “premature end of script headers”. Many forget to set all folders to 755, so this is a reminder for you perl geeks.

I am planning to install wordpress to replace my blogger. Fortunately, dreamhost has offered one-click install of it, saved me a lot of time : )

My Java exam is still going quite slow, it’s so difficult even to flip through a few pages, argh, my target is to finish it in less than 6 months.