Not dead, just tired 
2010.11.30 20:24 - Entertainment, Books, Movies, Meatspace Stupidity, Whining, Work-related
Criminy, it's almost December.

I think I can sum up my life the last month as: work, TV zombies, work, TV spies, work, TV spaceship, work, work, cartoons, more cartoons, minecraft, work, TV zombies, work, etc.

I've read Monster Hunter Vendetta, am most of the way through Unseen Academicals, watched a movie or two, eaten some turkey, and have otherwise been a little too shelled from work to devote much time to life outside my head.

Two and a half more weeks to the end of the year, for me. I think I owe my employer two-hundred-odd unit tests and some additional code in the meantime, though.

Oh, and I've been listening to The Protomen. First album's okay, second's very good.
  |  [ 0 trackbacks ]   |  permalink
Other People Should Make My Life Easier 
2010.08.27 09:29 - Entertainment, Microcode, Whining, Work-related
I'd like to be able to do something like this
try {
    /* and then, a miracle occurs! */
} catch (BarException beFoo => String.Equals(be.Property, "Foo")) {
    // foo handler
} catch (BarException beBar => String.Equal(be.Property, "Bar")) {
    // bar handler
} catch (BarException be) {
    // general BarException handler
}
Mostly because it seems slightly cleaner than the current approach to handling, e. g., OracleExceptions, where one might care about some of the error codes represented by the exception, but not all of them:
try {
    /* and then, a miracle occurs! */
} catch (BarException be) {
    if (String.Equals(be.Property, "Foo")) {
    // foo handler
    } else if (String.Equals(be.Property, "Bar")) {
    // bar handler
    } else {
    // general BarException handler
    }
}
Some flexibility is lost vs. using if-else statements instead, but you could produce the same thing with typeof and nobody sane does that if they can get out of it, either. Semantically, it's pretty much equivalent and, syntactically, it's more verbose (to no obvious semantic advantage), so I'm sure it's not actually a good idea. (Additional evidence it's a bad idea: I'm sure I'm not the first to hit on this idea, yet it isn't implement in C# as far as I can tell. Presumably, those guys know what they're doing.)

Granted, it would be even better if Oracle would throw different exception types for different error codes instead of throwing the one type with slightly different data, but some problems seem, prima facie, less intractable than others.
  |  [ 0 trackbacks ]   |  permalink
Ugh. 
2010.06.21 08:13 - Whining
It is 10 after 8 in the morning, the temperature is almost 80 degrees Fahrenheit, and humidity's 84%.

I can't tell if my forehead is damp because of sweat or condensation.
  |  [ 0 trackbacks ]   |  permalink
Well, it's been such a nice day so far... 
2010.02.08 21:25 - Meatspace Stupidity, Whining, Work-related
Discovered some considerate jerk had taken out my passenger-side taillight when walked out to the car to drive to work. No note or anything that I noticed, so somebody's a real class act. I drove to work fairly angry, and discovered as I was parking that I'd left my access card on the dresser. Awesome! Since I wasn't in a mood to turn around and retrieve it, I signed myself in, and resolved to pick it up over lunch, which I did do.

Managed to return a bug ticket as a non-bug (testers: read your documentation!), and managed negative productivity the entire rest of the day, without any great input on my own part. A ticket that was in peer review was returned for minor revisions (no worries), then wound up being shelved for discussion that will probably involve a near-complete rewrite. Yay! It only took a week and 16 pages the first time, so I'm sure it won't be too big a pain the second time. (Do I have a dripping sarcasm tag? No?)

I was able to get an insurance claim filed, and will be stopping at the local PD to file a police report covering the damage, because I can't do that over the phone.

I was doing better while I was sleeping through the clock radio playing the classical music station ...
  |  [ 0 trackbacks ]   |  permalink
Just as nice for twice the price! 
2010.01.19 07:35 - Guns, Magpul Masada/Bushmaster ACR, Internet Stupidity, Meatspace Stupidity, Whining
I hate to sound like all the ninnies that have been getting hysterical over the ACR rumours for the last three weeks, but it looks like the rumors are right and the basic version of the Bushmaster ACR is going to priced at $2700, or close enough to as makes no difference.

I've still got some checking to do, but unless I can come up with one for a lot less, my answer to that question is the following:

Screw. That.

A SCAR, ugly as it may be, includes a rail farm and a folding stock for that price, and the XCR is only a little more than half that. Someone on arfcom claimed that dealer price on the Remington version is $1850-2050, which might be do-able. I'll have to do some checking with my own contacts and see what turns up. I'm sure as heck not paying $3000 for one, though.

[Update: Checking complete. Unless something completely unexpected happens, I am not getting an ACR, at least within the current calendar year. C'est la vie. I hear SIGs are nice this time of year, though ....

I also feel like I should point out that Bushmaster's ACR shenanigans have been a pretty big bummer. I'll have a brief post on why in a bit.]

  |  [ 0 trackbacks ]   |  permalink

Back Next