Wednesday, June 3, 2015

Is there a better way to hide a caption at a GridViewDataColumn in a DevExpress ASPxGridView?

Caption=" "

An empty string or a lack of a caption specification will fall over to using the FieldName setting as the caption setting.

Tuesday, June 2, 2015

Ben Burns/Ben Harris/Ben DeSilva/Ace

...was my best friend.

He died in 2011.

I thought I'd share some pictures.

And, yes, that's Felisha Storring with him.

When an object inherits from IHydratable given the DotNetDuke paradigm...

You have to implement KeyID as a getsetter for an int. This could use another field, public or private, for getting and setting if need be obviously. You will also have to implement the Fill method for mapping what comes back from a SELECT-flavored sproc to the POCO like this:

public void Fill(System.Data.IDataReader dataReader)
{
   KeyID = Convert.ToInt32(dataReader["FooId"]);
   SomethingMore = dataReader["Whatever"] as string;
}

Alt-Ctrl-Shift-8

...with ReSharper will supposedly toggle between enabling and disabling code analysis, but I don't see it affecting the "Enable code analysis" checkbox one sees at "Settings" beneath "Code Inspection" inside the "Options" dialog box for ReSharper 8.1.23.546 when I try it myself. Whatever. A four key hotkey is... something else. A decade ago I once went with Joel Holder to a meeting of the Perl Mongers which was a Perl users group for freaks who did cowboy coding in that convoluted crap and one of the guys mentioned a four key hotkey for doing something-er-other and dubbed it the Vulcan nerve pinch. Not off-base, you can tell that something is amiss when you are holding four keys for a hotkey. Something feels wrong, you know? I guess I can put on blinders and a smile and not care though as the hotkey doesn't work for me.

Monday, June 1, 2015

Revert to this revision

If you are looking at the history of just one file in TortoiseSVN and you right-click on a line item of history and pick "Revert to this revision" it will do what you'd expect. The change will not be in sync with everything else (well, unless it is the very latest item in the history) and thus you may turn around and commit the change to fall back to the way things were.

temporary Windows account locking (based on botched passwords) on a timer

Keep trying to log in until the timer runs its course and your account is unlocked. Your fails won't reset the timer. You don't need to tiptoe.

text-shadow is kinda like box-shadow, only for text

text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;

We have the offsets like box-shadow followed by a fatness. When a color is given as an rgba value in CSS3 the r stands for red, the g stands for green, the b stands for blue, and the a stands for... ALPHA! The alpha setting denotes how opaque or transparent the thing being colored is allowing it to be partially see-through.