Think Different(ly)

Articles
In a recent conversation with [Knightwise][kw] we were musing that it doesn't seem that it's very long since we were both ragging on Dave to get off Windows and get a Mac. Today we're both seriously entertaining the possibility that our next primary computing device might be running an OS from Redmond. What changed? Has Windows gotten that much better? Yes. It's undeniably better. But we're also different. And Apple is different. I think when we switched to the Mac we saw it as the Valhalla of everything we were looking for. A better system with a unix terminal which would give us the best of both worlds: open source, and a first-class GUI driven OS. In a lot of ways the Mac hasn't progressed since the Intel transition. Sure…
Read More

Accessing HttpContext objects from other classes

Articles
I could swear I wrote about this at some point in the distant past, but I couldn't find the article this week when I needed it to help troubleshoot an issue with another developer. The issue he was having was how to access objects from the executing web page's HttpContext object from a class other than the CodeBehind of the executing web-forms page. Essentially he was looking for a way to map a web-path to a physical folder path without needing to hard-code it or know where the application was deployed on the server in question. If done correctly, an application can reside anywhere in the file system and be deployed to a virtual directory at any depth without causing a problem with URL resolution. In the code-behind of a…
Read More

The file or directory has become corrupt and is unreadable

Articles
**Update 2011-02-11**: Since the post was originally published [Microsoft has issued a hotfix](https://support.microsoft.com/kb/982927/en-us) for this issue, which is slated to be included in Windows 7 SP1. I recently ran into a problem on my fancy new machine while trying to commit a rather large number of files into an SVN repository. The error message stated that some of the files in the .svn control directory had become corrupted and unreadable. After Googling around a bit I came across a post on [the CollabNet issue log](http://ankhsvn.open.collab.net/issues/show_bug.cgi?id=614) which identified this as an issue with the NTFS stack on Windows 7\. This post included another link to a [Microsoft technet discussion about the issue](http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/df935a52-a0a9-4f67-ac82-bc39e0585148). The long and the short of it is that this is an identified issue in the NTFS implementation in…
Read More

Mac vs. PC :: Will my next computer be a Mac?

Articles
It's been about two and a half years since I made the switch from being a dedicated Windows user to [buying my first Mac](//kdmurray.com/2006/09/macbook-day-1/). I have really enjoyed my MacBook and wanted to take a few moments to discuss some of the differences and similarities I've found with the Mac ownership experience, compared to my earlier (and ongoing) experiences with the Windows platform. **Marketing and Markets** Both [Windows](http://blogs.computerworld.com/five_reasons_why_vista_beats_mac_os_x) and [Mac](http://www.tuaw.com/2008/03/24/why-the-mac-is-better-than-the-pc-crapware/) [enthusiasts](http://apcmag.com/15_reasons_macs_are_still_better_than_windows.htm) love to [evangelize](http://mac.elated.com/2008/12/12/10-ways-that-windows-is-better-than-mac-os/) their platform of choice.  It's human nature, we all want people to know how smart we are for choosing the best of what's available. As is often the case with most of these "[holy wars](https://www.google.ca/search?q=mac windows holy war)" the smaller market tends to be more vocal, and more likely to point out all the flaws in…
Read More