I switched my blog theme again. Twenty Ten is the official default theme of WordPress 3.0, but that doesn’t make it good. Too much wasted space on top. On a normal monitor, you practically have to go below the fold to get to any content!
I switched back to good ol’ K2. It’s good to have you back, buddy (even though by default you show post featured images in a really, really stupid way)!
So I decided that I should do a little bit in PHP since I’m going to have a Google interview soon and the most I’ve done before is manipulating other people’s code. I have my (semi-) professional site thingy over at the root of the site, hung-truong.com. One thing that bugged me about doing that quick site was that I was writing everything in static html. So I had to statically write the menu bar thing so it showed the active menu item for each page. A lot of code was repeated, and it was generally pretty ugly.
I figured it’d be a good exercise to redo that simple site in a php template of sorts. So I used this pre-existing templating class and modified it for my needs. Yeah, I’m still manipulating other peoples’ code, but at least in this case, the code is simple enough so that I understand how all of it works (I haven’t taken the time to go digging around in all of WordPress’ source yet).
Unfortunately the class was really simple, and it still couldn’t handle my dynamic menu bar list thing. So I wrote a quick class called Menubar and it works! You can see the php version of my professional website at this location. I might end up just making it the official one, once I know it’ll work ok.
It was a bit of work, and I didn’t really change anything to the actual site, but if I ever end up adding another section, it’ll be a lot less work than before. Plus it sorta refreshed my (almost non-existent) PHP coding skills!
So while looking through my akismet spam filter entries for false positives (usually I don’t really care, but I thought, what the heck), I found this post from one George Lukas:
Apparently, when he’s not destroying Star Wars or wearing flannel, he’s trying to sell hair loss cures. Thanks, but no thanks, Georgie.
If you haven’t noticed on the upper link thing bar, my T-Shirt gallery is now operational. This is where I will display T-Shirts I want, T-Shirts I have, and T-Shirts I have known. I was also going to make a section for T-Shirt I don’t want, but that would be dumb.
Visit the Gallery, and be amazed.
http://blogsoftheday.com/ seems to be down right now. If you don’t know what that is, it’s a sort of popularity contest in the field of blogging. You install a plugin, and whenever one of your blog pages is loaded, it pings the blogsoftheday service, and counts as a “vote” for your blog.
The pinging system needs a bit of work, as now every webpage that uses this service is extemely slow to load. I think it’s an issue with waiting for the ping time out so the page can finally finish loading. I’ve disabled the plugin on my blogs, because I’d rather not alienate my readers.