Posted in
NBA on August 3rd, 2008
What started slow and uneventful has turned into a basketball game. By game, I mean USA is now taking a shit on the russians. It’s the end of the third quarter and the redeem team just closed out the quarter with a 10 - 0 run.
I’ve got the laptop (Kubunu 8.04 w/ KDE 4.1) sitting right here as I am watching the game. Here are my current thoughts:
- Michael Redd is the sickest shooter. He comes off the bench for Kobe.
- The Chinese are having a hard time keeping score.
- 12am is a perfect time for games to start
- Kirilenko blocked Melo in the 1st quarter (sucks for Melo; still a sick block)
- Kobe has 16pts leading all scorers.
- Kobe just missed a finger-roll. I hope someone screamed MOTED!
- 10min quarters are weird.
- DWade is the 6th man…so crazy
- We just played zone D for the first time all game (6:17 4th).
- We haven’t called a single time out in 4 games.
- Chuck Daly didn’t call one the entire 92 Olympics
- Kobe just missed a dunk! MOOOOOOOOTTTTTTTTTTTTTTED
- LeBron just fouled out. 10pts.
- Jason Kidd hasn’t played in the second half
- Kobe just banked a 3pter (from the left side) from at least 35 feet back.
- 85 - 65 2:58 4th
- Kobe finished with 19
- This game is over. I love HD
Aug 10 USA Vs China but first there is one more prelim game against Australia on Tuesday. Oh Tuesday…You very special day.
It’s friday night and I am blogging. Better yet, it’s friday night and I am working. So while we are dorking out…I might as well take this time to bitch about a function I discovered in Wordpress.
In the pre 2.5 versions, there is a function called is_home(). This is deprecated (no longer used but left for backwards compatibility). Any decent programmer will automatically assume this is a Boolean function. It will return a 1 if we are indeed on the homepage and 0 (or blank) if we are not. Pretty simple…right?
Well for some reason this function wasn’t working…even on the homepage. So I had to look it up. I read through the Wordpress Codex and I felt like a GIANT douche bag looking up is_home(). I have been coding for over 10 years and I am looking up is_home().
With no help from the documentation I have discovered that is_home() will only work if you are not setting a static page as your homepage. You MUST be using index.php (or home.php) and have it set to show your dynamic posts. But index.php and home.php are template pages specifically for the home page.
So this code checks to see if I am on the homepage on the homepage? Huh? Exactly. This is like me calling you at home and then asking if you are at home.
The only scenario I can see this actually working is on an included sidebar, footer, or header. But even then, what are you adding that can’t just be added to the homepage template? I guess WP got rid of it for a reason. But now for the real quesiton…what da phuk am I am doing home right now? :’(