Wednesday, January 28, 2015
You can hibernate a Surface Pro 3 running Windows Technical Preview 9926

….if you create a shortcut to use the command line option, and it is otherwise enabled using powercfg.

posted @ Wednesday, January 28, 2015 1:21 PM | Feedback (0)
Note to self about LINQ queries: SingleOrDefault and FirstOrDefault are different

They are both syntactically and semantically different, so if it matters, pay attention.

And, yes, “LINQ queries” is arguably redundant. 

posted @ Wednesday, January 28, 2015 1:18 PM | Feedback (0)
Tuesday, January 27, 2015
A few nagging issues with Windows Technical Preview 9926 on a Surface Pro 3

I can’t say I’ve checked out all the newest features, but overall, I like it.

However, there are a couple of nagging issues that I’ve run into:

  • No hibernation.  It’s enabled in the registry, powercfg /h and all that is set, there is even a hiberfil.sys file available, but the normal trick of getting it to show up as an option when you ‘press’ the power button doesn’t work.  No hibernation option.
  • Can’t sleep.  Or, should I say, it is so sensitive that when I choose for it to sleep, just about anything seems to wake it.
  • Can’t ‘unblock’ files downloaded from the internet.  Even when the group policy is set, files will still say they need to be unblocked, and trying to do so appears to do nothing.

All in all, that’s not too bad.  And I get that snazzy new calculator.

posted @ Tuesday, January 27, 2015 2:03 PM | Feedback (0)
Monday, January 26, 2015
2-step verification: a request

To all those who implement 2-step verification (I’m looking at you, Google and Microsoft, in particular)…..

When you have step whereby you wait for the user to enter in the verification code, and underneath where they put in the code, is a checkbox which says “Don’t ask again on this computer”, and the user checks that box….

Honor that shit already.

And Microsoft, you should be ashamed, but you should really probably figure out how to get 2-step verification to work better when someone wants to add Hotmail to Outlook 2013.  I mean, seriously….

posted @ Monday, January 26, 2015 9:19 PM | Feedback (0)
Friday, January 23, 2015
Upgrading a Surface Pro 3 to Windows 10 Build 9926

First off, it works.  Slowly.  It took over 2 hours (not counting download).

Other than building a few projects, I haven’t tested month.  Icons and stuff look all different.

posted @ Friday, January 23, 2015 4:34 PM | Feedback (0)
Tuesday, January 20, 2015
Resetting a Surface Pro 3

So to prepare for the next release of Windows 10, and for the hell of it, I decided to reset my Surface Pro 3, which I am still in the process of doing. 

If you are going to reset a computer, it is usually a good idea to make sure you’ve backed up everything you care about.  It was only a personal database that I had recently created, but that went bye bye.

Also, when I reset, it reset to Windows 10 9841.  That I was not expecting.  I was also not expecting it to say that there were no new preview builds.  I was also not expecting it to say it couldn’t mount the 9879 iso, which for some reason required me to use Virtual CD Clone.  It did upgrade successfully.

I’m still in the middle of it, so I’ll see if there is anything else weird about it.

posted @ Tuesday, January 20, 2015 10:31 AM | Feedback (0)
Tuesday, January 13, 2015
Yet another sign that your software development organization might have some issues

“Someone is here from the overseas office, so even though the process is broken, can we hack the database so that it looks like we are making progress?”

posted @ Tuesday, January 13, 2015 3:34 PM | Feedback (0)
Monday, January 12, 2015
Brilliant things Kirk Herbstreit taught us during the National Championship Game

Oregon, get this, has more difficulty converting on 3rd down when they have longer to go, as opposed to when it is 3rd and 4 or less.

Ohio State was having difficulty in short yardage situations because of the push Oregon was getting from their defense, which is why they were 3 for 3 when trying to convert on 4th down.

If only Brent Musburger had been there…..

posted @ Monday, January 12, 2015 11:11 PM | Feedback (0)
Sunday, January 11, 2015
SimpleInjector – Registering when you have a primitive in the constructor

Suppose you have a class that has something like a string parameter in its constructor, like:

public class QueryBus(string busName) : IQueryBus

If you try to register this using SimpleInjector the normal way, like this:

container.Register<IQueryBus, QueryBus>();

you will get an exception when you call container.Verify(), like this:

The constructor of type QueryBus contains parameter 'name' of type String which can not be used for constructor injection.

You can also get other errors, depending on what you are trying to do, and obviously, you can’t register a string (and if you try to do that, or other types of ‘tricks’, you will be told that it is bad design and you are a bad developer and you should give up and go into sales….or something like that).

You can instead register like this:

container.Register<IQueryBus>(() => new QueryBus("MyQueryBus"));

That will work.

posted @ Sunday, January 11, 2015 1:47 PM | Feedback (0)
Thursday, January 08, 2015
Another sign that your software development organization might not be up to snuff

“Not really my problem.”

Offered up when an obvious difficulty/roadblock/issue is raised.

posted @ Thursday, January 08, 2015 12:10 PM | Feedback (0)