Reading List

The most recent articles from a list of feeds I subscribe to.

UAC Notes

Random UAC permissions for C# applications notes:

  • Ask for elevated permissions via app.manifest - see <requestedExecutionLevel level="highestAvailable"/> or requireAdministrator - https://msdn.microsoft.com/en-us/library/6ad1fshk.aspx
  • Can’t change elevation of a running process, need to start a new process.
  • To run an elevated cmd.exe and make it look like you’re request permissions mid-run for things like file operations (when you’re really starting new elevated process), set Verbs property of ProcessStartInfo to "runas"

Staple Remover Obsession

Do we really need to know about Randy’s young-age staple remover obsession?

Staple Remover Obsession

Do we really need to know about Randy’s young-age staple remover obsession?

Rubber Ducky Moments: 'Completely unrelated []interface{}!!!'

I mentioned on Twitter earlier today that very often when I get really stuck on something and finally decide to ask for help on a forum, the answer suddenly hits me as I finish writing my post. Most of the time the problem is something really silly that I just kept completely overlooking, and the answer feels painfully obvious once it clicks. Despite the fact that these might be a little embarrassing to post, I figured rather than letting my entire would-be forum post go to total waste once I finally get what’s happening (and so never end up clicking the “Post” button), it might be nice to post the issue on my blog, if nothing else as a reminder of my own facepalm moments.

Rubber Ducky Moments: 'Completely unrelated []interface{}!!!'

I mentioned on Twitter earlier today that very often when I get really stuck on something and finally decide to ask for help on a forum, the answer suddenly hits me as I finish writing my post. Most of the time the problem is something really silly that I just kept completely overlooking, and the answer feels painfully obvious once it clicks. Despite the fact that these might be a little embarrassing to post, I figured rather than letting my entire would-be forum post go to total waste once I finally get what’s happening (and so never end up clicking the “Post” button), it might be nice to post the issue on my blog, if nothing else as a reminder of my own facepalm moments.