Monday, January 22, 2007

Shave and Haircut, $0.25

Oh this is awesome: How to get a perfect shave (thanks Digg)

A friend of mine has switched to using that old fashioned straight razor and he loves it. If i wasn't so half asleep in the morning, I'd probably switch over too.

Thursday, January 18, 2007

Dumb Programming Advice

ASP.NET Potentially Dangerous Request.Form Value

My app threw this error the other day, and every piece of advice in the world said "here's how you turn this off!" Um, isn't this like turning off your brakes because they "make noise when you slow down"?

Here's how to fix it... any place you are outputting values directly from a DB or user input, it needs to be encoded.

MyCoolTextbox.Text = HttpUtility.HtmlEncode(your variable here);

Thursday, January 04, 2007

Reasonable Portion Sizes

Really cool story on Digg:

200 Calories

I love this because it just goes to show how totally out of whack our ability to understand how much a normal sized amount of food is. When you go out to a restaurant and they serve you a giant plate with a giant pile of food on it, that is so much more than you actually need to eat it's not funny. If you did nothing more than bring a plate around with you that was of reasonable size and ate all your food off it (throwing away or refusing anything that didn't fit on the plate), you'd make huge progress.

Tuesday, January 02, 2007

Old Capitalism Poster

Heh, I love this. Bashing capitalism is so early 20th century. I wonder what all those people would have thought if they saw how corrupt Communism ended up being (not that capitalism is corruption free...)

Thanks Reddit. BTW, is it just me or is Reddit basically worthless? It's just way way way too brief.

Blogline Redux

Ok, ok... call me an idiot. Turns out the hotkeys are at the bottom of the pane. I guess that helps.

Bloglines and Discoverability

I saw a friend of mine a couple of weeks ago and he properly called me on not using Bloglines any more. Not sure why I left it, but I've found my way back. I was working my way back in and wanted to see about actually using these nice hot keys. Anyone want to tell me why I needed to go to LifeHacker instead of Bloglines Help FAQ to see what they all are? Are you implying that the keyboard shortcuts are NOT frequently asked questions? I'd love it if they let me edit them, largely because they're designed for the QWERTY keyboard (which I do not use).