Digital Tapestry Blog

  • Surface Pro Review

    Well, I could no longer wait for “the perfect Windows 8 device” and I purchased a Microsoft Surface Pro. Lots of reviews of this device have already been  written, but to be honest, I don’t think … more

  • Writing PowerShell About Help Topics

    In my last post one of the best practices I mentioned was including about help topic documentation in your modules. What wasn’t covered there was what your “about_ModuleName.help.txt” file should … more

  • PowerShell Script Module Best Practices

    I’ve been creating PowerShell script modules a lot lately (more on that later). Doing so, I’ve been learning a lot more about PowerShell and discovering some best practices. 1. Include a Module … more

  • Dispose Pattern Considered Harmful

    Summary (AKA, TLDR) An unmanaged resource should be wrapped in a managed object whose sole purpose is to manage the lifetime of the unmanaged resource. We’ll call this an UnmanagedHandle, and provide … more

  • Looking for a Windows 8 Device

    I really think there’s a reason that Windows 8 isn’t selling like mad, and it has little to do with the typical complaints from the pundits. It’s all about the devices, really. See, I’m really wanting … more

  • Parsing Monads Part 3

    I learned something new recently, and it’s something that has me so excited I had to blog about it. Actually, I learned two things. I learned about a really cool functional way of writing parsers, and … more

  • Parsing Monads Part 2

    I learned something new recently, and it’s something that has me so excited I had to blog about it. Actually, I learned two things. I learned about a really cool functional way of writing parsers, and … more

  • Parsing Monads Part 1

    I learned something new recently, and it’s something that has me so excited I had to blog about it. Actually, I learned two things. I learned about a really cool functional way of writing parsers, and … more

  • Waiting for Nirvana

    Want to see something cool? Do you have Visual Studio 2011 installed? Create a new “Portable Class Library” project in a new solution. Now open the project properties to the “Library” tab and click … more

  • Writing (Correct) Multi-Threaded Code is Hard!

    If you don’t believe writing multi-threaded code is hard, do everyone a favor and don’t write any multi-threaded code. Really. Stop writing that sort of code immediately and start doing some real … more