Category Archives: Site News

Hung Withdrew TWENTY TEN. Hung Sent Out K2. It’s Super Effective!

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)!

Hung Truong: In PHP!

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, 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!

George Lucas (Lukas) is a Spammer!

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:

george lucas spam.jpg

Apparently, when he’s not destroying Star Wars or wearing flannel, he’s trying to sell hair loss cures. Thanks, but no thanks, Georgie.

Blogs of the Day 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.