I am a Systems Programmer. I stand between the developer and the flame :-)

https://research.microsoft.com/en-us/people/mickens/thenightwatch.pdf “As a highly trained academic researcher, I spend a lot of time trying to advance the frontiers of human knowledge. However, as someone who was born in the South, I secretly believe that true progress is a fantasy, and that I need to prepare for the end times, and for the chickens coming home…

0

More Powershell Fun – AppX Package Dependencies

After a recent inquiry and a little thought, you can find all the packages registered for the current user with dependencies on framework packages. powershell -c “ForEach ($p in $(Get-AppxPackage)) { ForEach ($n in (Get-AppxPackageManifest $p).package.dependencies.packagedependency.name) { $n + ‘ — ‘ + $p.packagefullname } }”


Announcing Hasher!

Shameless plug: I iz a Windows store app developer 🙂 Hasher is up on the Windows store. It’s a little app I wrote in my spare time, to learn more about writing Windows store apps (I build the plumbing behind them, so it’s always useful to see the other side of the fence as it…


Who wrote the original BSOD (and why white-on-blue)?

An interesting bit of trivia: John Vert, ex-Windows NT kernel guyex-Windows NT kernel guy   Back in 1991 I wrote the original code for Windows NT 3.1 that put the video screen back into text mode and the routines to put text on it (and a truly gnarly bit of code it was!). I used…


Python Cool Tricks

Nice. Some are exotic, but list comprehensions, the empty string trick are commonly handy, and the json pretty-printing maybe less so but good to know. The note about dir() and help() are great if you’re not already familiar (you should be). The Python enum trick is a new one by me: class PlayerRanking: Bolt, Green, Johnson,…


FastClick

  FastClick is handy: FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing of a click event on mobile browsers. The aim is to make your application feel less laggy and more responsive while avoiding any interference with your current logic.            


Powershell fun – Parsing for Protocols Redux

That problem I’d previously mentioned? Turns out I had a bad package registered for some old VS project. Remove-AppxPackage <packagefullname> and voila! No more error. My original command powershell -c “ForEach ($p in $(Get-AppxPackage)) { ForEach ($n in (Get-AppxPackageManifest $p).package.applications.application.extensions.extension.protocol.name) { $n + ‘ — ‘ + $p.packagefullname } }” One suggested alternative in the…


Powershell fun – Parsing for Protocols

I was looking for what protocols are registered by my installed AppX packages and figured out a 1-liner Powershell script to do it powershell -c “foreach ($p in $(get-appxpackage)) { foreach ($n in (Get-AppxPackageManifest $p).package.applications.application.extensions.extension.protocol.name) { $n + ‘ — ‘ + $p.packagefullname } }” Hey, I never said it’d be pretty 🙂 This dumps…