Saturday, March 28, 2009

Building a Home Theater PC


For the past few months, I've been using my Dell Inspiron 9300 laptop to steam video to my home theater. It works well for 720p videos and below, but totally chokes on 1080p. Also, it only outputs stereo audio, and I wanted to output 5.1 channel surround sound.

That's why I decided to build a HTPC. Ii needed to decode 1080p video, so a fast CPU was a must. The video card was less of a concern. I also wanted it to fit nicely in my TV stand, so I went with the smaller microATX form factor motherboard and case. The case is also shorter than normal, which means only low-profile cards will fit in the expansion slots (not a problem since I'm not using any expansion slots). Loudness was also a concern, but not a major factor.

Update: More pretty pictures! (with comments inline)

The components that I bought (total cost around $500):
  • Intel Core 2 Duo E8400 @ 3GHz
  • GIGABYTE motherboard with NVIDIA GeForce9400 graphics
  • hec microATX case with 270W power supply (has HDMI and optical S/PDIF outputs)
  • Seagate 1.5 TB hard drive
  • USB wireless adapter
The components that I had lying around:
  • 2 x 1GB memory
  • 250GB hard drive
  • Optical drive (borrowed to install Windows XP)
After getting it up and running, I found that it's able to decode 1080p video just alright (high action or noisy parts still result in some chopiness). The integrated GeForce9400 graphics kind of sucks. While I haven't tried playing any games, the new iTunes visualizer (which is very GPU intensive) doesn't seem as smooth as on my laptop's GeForce6800 (mobile version). And my laptop is almost 4 years old now.

I was hoping to get better performance by overclocking the CPU (Intel Core 2 CPUs are nicely overclockable), however I ran into some problems that I think are caused by the integrated GeForce9400 not being able to keep up with the faster FSB. The end result is that the system failed even a minor overclock from 3GHz to 3.2GHz. Compared to building my first computer, which I was able to overclock from 2.4GHz to 3.3GHz, this is terrible.

Saturday, March 21, 2009

Coke Can Dating



I was exploring my house's crawlspace (the shallow, unfinished space beneath the living space used for visual inspection and access to pipes and ducts), and found this old coke can lying there. There's no date on the can, but assuming it was left there when the house was constructed, I'd say it's from the late 1970's. The list of ingredients corroborate this: it has sugar instead of high fructose corn syrup, which means it's from before 1985, when Coke made the switch.

Sunday, March 15, 2009

Doorbell Hacking


What's the first thing a thief does when he's casing a house? Ring the doorbell to see if anyone's at home, right? If someone answers, he can play it off like he's a door-to-door camera peddler or some kind of religious fanatic. If nobody answers, it's a good sign that the house is empty and ripe for the picking. The burglar proceeds to break in and steal everything that catches his fancy, including the ancient Chinese sword, the antique Italian restaurant menu, and the highly-valuable anime pencil-sketches. Meanwhile, the owner comes home to find all his shit missing, but there's nothing he can do because the perp is long gone.

Well, it's a different story when it comes to my house. Shortly after the thief rings my doorbell, I get an SMS message on my phone. I then rush home as fast as I can, where I find him struggling to lift the TV. I quietly grab my can of mace, sneak up behind him, yell "Surprise Motherfucker!", and get him good in the eyes (which are the testicles of the face). I am called a hero by my friends and neighbors.

This is how it works: My house has an oldschool mechanical doorbell. Normally, pressing the doorbell closes a circuit that activates an electromagnet which slams the chime against the tone bar. I bought a 12V reed relay from Radio Shack and hooked it up in parallel so that pressing the doorbell also activates the relay. This sends a signal to my computer (I'm glossing over this part because it's a bit complicated and involves a Phidget, not to be confused with a midget).

There's a program running on the computer that listens for the signal and makes a status update to Twitter user baic_house using Twitter's REST API. My main Twitter account follows baic_house and is set up to recieve an SMS message whenever baic_house makes an update. The whole process from pressing the doorbell to SMS message recieved on phone only takes a few seconds.

Saturday, March 7, 2009

Red Elephant


Is it just me, or does the cutout on the pull-tab of cans of Red Bull look like an elephant?

Tuesday, February 3, 2009

Christian Bale goes American Psycho (in Real Life)



The Dark Knight is one of my favorite movies. And Christian Bale makes for a pretty good Batman. But after seeing Christian Bale in American Psycho (a movie that I definitely do not recommend to anyone), I've never been able to think of him in the same way. I mean, that movie was just grusomely violent in a Hostel or Texas Chainsaw Massacre kind of way. Is it possible portray a character disturbed enough to stick a kitten in an ATM without having a few issues yourself? Well, the answer is apparently "no" as demonstrated in this audio clip of Christian Bale losing it on the set of his latest movie.

I guess he wasn't acting in American Psycho after all...

Sunday, January 25, 2009

Newspaper Falls for Chain Email?


I found this image with statistics about the 2008 presidential election in my local newspaper. The data implies that Obama stole the election. It didn't seem right to me, and a simple Google search found that it was indeed a hoax that originated as a chain email. Professor Joseph Olson, who was quoted in the article, even has a disclaimer on his website that says,
"There is a series of e-mails floating around the internet dealing with the 2008 Obama/McCain election and the 2000 Bush/Gore election, remarks of a Scottish philosopher named Alexander Tyler, suicide rates, or ANYTHING ELSE. Part of it is attributed to me. It is entirely BOGUS as to my authorship."
So it's pretty apparent that the whole thing is false - something that took me about five minutes to discover. The real question is whether the Mill Creek View has a right wing bias, or if they're just stupid enough to reprint anything they get in an email without any fact checking at all.

Tuesday, January 13, 2009

Why I Hate Benjamin Button

Disclaimer: This is all my opinion. People are allowed to have different opinions, so don't get upset.

The only thing curious about "Benjamin Button" is how so many people consider it to be a great movie. For me, it was slow, uninteresting, and lacking depth. Most disappointing is that this should have been a great movie. When I heard that the main character is a guy who ages in reverse, I thought of "Memento". When I heard that the director is David Fincher, I thought of "Fight Club" and "Se7en". When I heard that the writer is Eric Roth, I thought of "Forrest Gump". When someone who saw the movie told me that she cried her heart out, I thought of movies that have made me cry (I won't list them here). The point is, all of these are great movies because they are wonderfully deep and thought provoking at a philosophical level. The problem is, when you see "Benjamin Button" with these gems in mind, you're going to realize you're not watching another gem, instead you're looking at an ordinary lump of coal.

Note: Mild spoilers after this point.

My main problem with "Benjamin Button" is that you don't feel anything towards any of the characters. I was really hoping to gain some insight into how aging in reverse affects someone. After watching the movie, all I've learned is that they would be a pretty normal, albeit a bit boring, guy. Where's the drama, the excitement, and the conflict in this movie? When someone told me that you can kind of see there's going to be problems from the premise of the movie, I thought she meant a large, complicated, and involved problem. I didn't realise the "problem" she was talking about was the totally obvious one that Benjamin gets younger and eventually dies. That's really what the main conflict in this movie was about! And honestly, how is it any different from him growing older and eventually dying? It's so obvious that a blind man could have seen it coming!

The whole movie is like a collection of loosely related events. It watches more like a dry documentary than a Hollywood blockbuster. You'd think, with how slow the movie is, there would be amble time for character development. But the events do little to explain the characters motivations or thought processes.

I'm not a particularly insightful guy, but this movie failed to surprise me in the good way. And honestly, was anyone really surprised by the "surprises" in this movie? Was it not obvious from the moment you heard his name, that Mr. Button was Benjamin Button's biological father? And was it not obvious that the woman reading the diary was going to be his daughter? What did surprise me however, was all the plot holes. I'm not even talking about the impossibility of the whole premise. But didn't it seem odd that throughout Benjamin's whole life, no one was really curious about his condition? No reporters or doctors inquired about him at all? And why did he never talk to his sister. Did he really hate her that much? I don't know because of the complete lack of character development!

With all that said, I actually had a wonderful time watching "Benjamin Button", but for reasons entirely tangential to the movie itself.