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

Back to Basics

Articles
Over the past year my personal life as undergone some fairly major changes. I started a new job a little over a year back and there were the obvious changes that go along with that. But more importantly my wife and I welcomed our first child into the world and that was a life changing moment. Now, most of you know that I don't talk about my personal life in the blog so suffice to say that we have thoroughly enjoyed our first year as parents. It is a wonderful experience and we eagerly await every new day to see what will happen next. One of the things that changes when you have a new baby is the amount of time you can spend on yourself and your own hobbies…
Read More

AnkhSVN and Visual Studio 2008

Articles
[![ankhsvn](http://kdmurray.net/wp-content/uploads/2009/05/ankhsvn11.gif "ankhsvn")](http://kdmurray.net/wp-content/uploads/2009/05/ankhsvn11.gif)Source control is one of those things that developers get really polarized about.  Most agree that having source control on projects is a necessity, but that's typically were the similarities end.  Some folks are of the mind that every line of code, however insignificant, [should be under source control](http://stackoverflow.com/questions/132520/good-excuses-not-to-use-version-control).  This provides records of what was written, and a reference for things that were done in the past.  Others believe that source control should be reserved for "real" projects, things that are deliverables for customers, or products to be released to real-world environments.  I really don't want to get into this debate tonight, so I'm going to stick to the technology. I was wanting to get some source control in place for a few of my personal projects.  I chose…
Read More

Sun Acquires MySQL

Articles
Sun CEO [Jonathan Schwartz announced](https://blogs.sun.com/jonathan/entry/winds_of_change_are_blowing) yesterday that they have acquired the Open-Source database platform [MySQL](https://mysql.com/). This is a huge purchase and one of the largest acquisitions of an Open Source entity that we've ever seen. [![](https://farm1.static.flickr.com/49/134222791_86b066ce41_d.jpg)](http://flickr.com/photos/tidewatermuse/134222791/ "Photo Credit: Tidewater Muse on Flickr")The goal, says Schwartz, is to put a Fortune 500 vendor behind the innovative technology powering many next generation web-based services. To accomplish that goal Sun is "putting a billion dollars behind the M in [LAMP](https://en.wikipedia.org/wiki/LAMP_(software_bundle))" (and [MAMP](https://sourceforge.net/projects/mamp), [WAMP](https://sourceforge.net/projects/wampserver/), and of course Sun's own [SAMP](https://developers.sun.com/solaris/tools/samp/index.jsp)...). Support of open source projects is nothing new for Sun. They have been a positive force behind several other projects in the past including [Java](https://java.sun.com/), [ZFS](https://opensolaris.org/os/community/zfs/), [NetBeans](https://www.netbeans.org/) and [OpenOffice.org](https://www.openoffice.org/). This bodes very well for the future of MySQL and companies offering other higher-priced options…
Read More

SimCity Source Code Released Under GPL

Articles
Bil Simser has [posted an article on his blog](http://weblogs.asp.net/bsimser/archive/2008/01/10/simcity-source-code-released-to-the-wild-let-the-ports-begin.aspx) about the release of the source code for the original SimCity under the GPL. The GPL'd version has been renamed under the original working title Micropolis to protect the trademarks of Electronic Arts who currently own the intellectual property for the Sim* franchise. If the original title had stuck I wonder what they'd call The Sims these days.... The [source code for Micropolis](http://www.donhopkins.com/home/micropolis/) has been published on author Don Hopkins' website. He has also included a bit of [history](http://www.donhopkins.com/drupal/node/131) about this branch of the SimCity project including some technical detail behind this iteration of the code.  The GPL version has also been ported to the version of Fedora Linux being run on the [OLPC](http://laptop.org/).  A great way to spread this brilliant…
Read More

Enterprise Dilemma – J2EE vs. .NET

Articles
These two platforms have been fiercely competing for the lucrative "Enterprise" business customers since the .NET Framework made it's Beta debut in late 2001\. Since that time the debate has raged on in organizations of every size and in Internet forums of every description: Which platform is the **best** platform? Pundits from all sectors of the computing and business sectors chose a side early on and began to incite one of largest technological debates in the history of computing. Proponents for each side have argued their case both for their chosen platform, and against the other. The arguments which have been put forth supporting both the Java/J2EE platform and the C#/.NET platform have been very strong. Conversely, the arguments against each platform are often steeped in half-truths, myths and hearsay.…
Read More

50 years of programming history

Articles
I stumbled on a couple of articles recently pointing out the history of programming languages. What originally pointed me at this was an article in [Nikhil Kothari's blog](http://www.nikhilk.net/). He pointed to a chart on [O'Reilly's website](http://www.oreilly.com/pub/a/oreilly/news/languageposter_0504.html) which listed out the history of programming languages from the 1950's right through to the present. It's amazing to see which languages influenced others... and how old some are. I personally had no idea that [Ruby](http://en.wikipedia.org/wiki/Ruby_programming_language) had been around since February 1993 (Same approximate time as [AppleScript](http://en.wikipedia.org/wiki/AppleScript)). Check it out... it's worth a look! There's also a good textual [history of programming languages](http://en.wikipedia.org/wiki/History_of_programming_languages) in Wikipedia, not quite as visual, or as complete, but also interesting.
Read More

And for dessert – Wiki on a stick!

Articles
For those of you who have a burning desire to have a wiki that you can take with you anywhere, anytime [Wiki on a stick](http://meta.wikimedia.org/wiki/Wiki_on_a_stick) is for you! The wonderful folks at WikiMedia have put together this article which describes how to load up a memory stick or USB Flash drive (known to some as a memory pencil) with everything you need to run a wiki. The setup looks pretty clean, a full installation of: * [Apache 2.x](http://www.apache.org/) * [PHP 5.x](http://www.php.net/) * [MySQL 4.x](http://dev.mysql.com/) * [phpMyAdmin 2.6.x](http://www.phpmyadmin.net/home_page/index.php) * [ActivePerl 5.x](http://www.activestate.com/Products/ActivePerl/) * [MediaWiki 1.5.x](http://www.mediawiki.org/wiki/MediaWiki) When I started writing this I hadn't intended to try it out... but my curiosity got the best of me and I gave it a shot **on my iPod(!)** this evening, and within 10 minutes I had…
Read More