Monday, June 30, 2008

I need to create this widget


Labels: ,

Tuesday, June 24, 2008

$30 bucks for 5 Gigabytes per Month?


Verizon, you gotta be kidding me.


.NET: What exactly does Trim() trim?

I found myself using the character specific String.Trim(params char[] trimChars) overload to remove some carriage returns and tabs when I realized I was reinventing the wheel again.  Not content with the basic Trim()'s intellisense ("Removes all occurrences of white space characters from the beginning and end of this instance") I dove into Reflector:

public string Trim()
    return this.TrimHelper(WhitespaceChars, 2);

TrimHelper is fairly obvious - it does the actual trimming of the characters.

The WhitespaceChars array (which is also used by TryParse() and some of the other TrimXxx() methods) is set in the String static constructor:

static String()
    Empty = "";
    WhitespaceChars = new char[] { 
        '\t', '\n', '\v', '\f', '\r', ' ', '\x0085', '\x00a0', ' ', 
        ' ', ' ', ' ', ' ', ' ', ' ', ' ', 
        ' ', ' ', ' ', ' ', '​', '\u2028', '\u2029', ' ', ''

Not sure what some of those non-printable characters are, but I'm satisfied...

Labels: , , , ,

Tuesday, June 17, 2008

Electronics, condoms, and more electronics

So, for basically the same reason why I still dropped by CompUSA once in a while before they went out of business, I subscribe to's Weekly Deals.  Half the time I end up deleting the email before reading it.  This week, however, the ingenious marketers in charge not only made me open the email, they made me BLOG about it. Yep - they're ingenious (worth repeating), and I - well, you already have an opinion as to what I am. 

Anywhoo - here's the subject that caught my eye:

2-Pk Hi-Fi Earphones = $10, Trojans = $10, Intel Dual-Core Notebook = $399.99,..

Yep, a 24-pack of ultra sensitive lubricated latex condoms can be yours for 10 bucks, free budget shipping included.  And no semi-embarrassing moment at CVS!

Seriously, I can't make up my mind if this is idiocy or genius.  Also, I'm curious how many hits this post will have...

Update:  Apparently it IS genius - and check it out - it has Tech Specs! (no reviews though):


Labels: ,

Friday, June 13, 2008

Scrum in 90 minutes

I came across an updated version of the Mountain Goat Software Scrum presentation via Greg's Cool [Insert Clever Name] of the Day.

I thought a Google Docs version would be handy, so I took advantage of the Creative Commons license and (after some editing) uploaded the PPT file to Google Docs. Below is the result:

Labels: ,