The Tang Avenger

2008-05-16 at 6:52 pm (Pennidren)

Long ago while I was in college, I did many silly things.  One of these things was The Tang Avenger.

Read the rest of this entry »

Permalink 2 Comments

Convert.ToInt32(null) == 0

2008-04-25 at 11:00 am (Pennidren)

Consider the following.

string s = null;

int i = Convert.ToInt32(s);

What is the value of i?  Zero.  WHAT?

GIVE ME A DAMN EXCEPTION. 

Permalink Leave a Comment

My New Year’s Resolution:

2008-01-03 at 10:47 am (Pennidren)

My New Year’s Resolution: 

1280 x 1024

Permalink Leave a Comment

Max

2007-12-27 at 5:22 pm (Pennidren)

Thank you for spending your life with us.

Max

Permalink 1 Comment

Owen

2007-09-01 at 2:14 am (Pennidren)

My son Owen William Hanson was born August 29th at 7:18pm CST.

I have created a webpage for him; check it out here.

Permalink 6 Comments

Quick and Dirty

2007-08-20 at 11:53 pm (Pennidren)

A coworker wrote the following code. Quick and dirty, as they said, but this is beyond quick and dirty. It’s shamefully filthy even for a hack.

private void SetAccountHistoryTabActive(string acctId) {
// Use FindControl() !!!
foreach (Control control in Page.Controls) {
if (control is HtmlForm) {
foreach (Control control2 in control.Controls) {
if (control2 is AjaxControlToolkit.TabContainer) {
foreach (Control control3 in control2.Controls) {
if (control3 is AjaxControlToolkit.TabPanel && control3.ID == “Actions”) {
foreach (Control control4 in control3.Controls[0].Controls) {
if (control4 is AjaxControlToolkit.TabContainer) {
((AjaxControlToolkit.TabContainer)control4).ActiveTabIndex = 2;
foreach (Control control5 in control4.Controls) {
if (control5.ID == “ActionsAccountHistory”) {
foreach (Control control6 in control5.Controls[0].Controls[1].Controls[0].Controls) {
if (control6.ID == “AccountHistoryControl”) {
foreach (Control control7 in control6.Controls) {
if (control7.ID == “acctId”) {
string test = control7.ID;
((TextBox)control7).Text = acctId;
}
}
}
}
}
}
}
}
}
}
}
}
}
} // end of Controls loop
}

FWIW I replaced it with a line of javascript.

UPDATE:  this person got fired

Permalink 1 Comment

MP3 of the Day

2007-07-27 at 12:39 am (Pennidren)

9/28/98
(Metallica) One (StarCraft Mix)
Let’s just face it – Metallica kicks ass. Last night I found a .WAV ripper for StarCraft. I also happened to listen to “One”. I decided to make a nifty mix of the two. What do you think?

Wow, has it really been so long? Nearly ten years ago, *I* created the mix above one night using CoolEdit while attending A&M.

I figured I should post this to set the record straight once and for all when I discovered this (a music video made using it!) and this (folks claiming they created it) and even this (NIN War Remix? Nope, sorry). Props to darkangelx66 on the video; very nicely sync’ed — and talk about a genre crosser!

(EDIT:  Sadly the video for the first link was removed, but I found some links to the track in lots of other places (this one seems be pretty true to the original quality and includes my original id3 tag) plus 2 youtube posts with bland videos.)

Read the rest of this entry »

Permalink Leave a Comment

Catching Up

2007-03-16 at 6:32 pm (Pennidren)

It has been a long time since I posted.

Many things have changed, and many things have happened.  Before getting into that, I need to resolve a question circling my head.

Should I be blogging?  I am not attempting to start a community-wide discussion like those who pretentiously ask about ”the future of blogging” (or “the future of social interaction” for those that think far more in vagaries).

Read the rest of this entry »

Permalink 2 Comments

Zoe

2006-11-01 at 8:17 pm (Pennidren)

We miss you.

Zoe

Permalink Leave a Comment

Midget Nazis

2006-08-25 at 3:47 am (Pennidren)

I had a most unusual dream.

Read the rest of this entry »

Permalink Leave a Comment

Next page »

Follow

Get every new post delivered to your Inbox.