Quick Tip: Converting an Enum from a string using C# Generics

  1 min read   .NET, DEVELOPER, TIPS
Here’s a quick tip for you. Converting a string back to an Enum using Generics in C#. private static T ToEnum<T>(string value) { return (T) Enum.Parse(typeof(T), value); } Nice and easy, here’s an example usage – very lame I know. // Original enum UriFormat uriFormat = UriFormat.SafeUnescaped; // Persisted value string uriFormatText = uriFormat. ...

VirtualBox 3.0 brings some exciting new bits-o-functionality!

  4 min read   NEWS
Sun is prepping up the release of VirtualBox 3.0 which should be out soonishly (before the end of the month if everything is on track!). Amongst the top new bits of functionality is the guest multi-processing (SMP) support, you can now offer your virtual machines upto 32 virtual CPUs, which at last count was the highest by any hypervisor (VMWare can offer a maximum of 2). ...

.NET Tools: NDepend static analysis tool, leave T-Pain behind.

  8 min read   DEVELOPER, REVIEWS, TOOLS
The release of Visual Studio 2008 brought along Code Metrics to the IDE‘s ‘out-of-the-box’ functionality (I’ve been overusing that phrase thanks to our resident CRM Consultant at work!). This was a major boon for .NET developers to get a clear idea of health of what they write, Visual Studio 2005 gave FxCop integration that provided much needed static code analysis for . ...

Bing Bing Bing Bing Bing: Microsoft launches Bing.

  1 min read   NEWS
A few weeks ago saw the launch of Wolfram Research Alpha, a natural search engine which could do some funky things. Now Microsoft have stepped up from their previous attempts – Ms Dewey (Janina Gavankar, who’s quite a hottie! reminds me of Tiffany) and now we have the final release of Bing (aka codenamed Kumo) which is going to be a behemoth search engine. ...

HOWTO: Importing Thunderbird contacts into GMail

  2 min read   HOW-TO
I’ve moved my entire mailbox over to Gmail now, previously I was a firm believer in IMAP and didnt move to Gmail fully sooner because of the lack of folders – unlike in real life where my life is usually a mess, I keep my mail quite organised. Whats more, the junk mail filters are second to none. ...

Wolfram Alpha Launches!

  1 min read   NEWS
Steven Wolfram of Mathematica fame (and pure genius) has launched Wolfram Alpha, its a ‘computational knowledge engine’ and quite a cool tool too! Taking on the big giants Google and Yahoo, Live etc, this bit of kit allows you to search using natural language processing (NLP). Let me demonstrate, suppose you want to know who the prime minister of Bulgaria is, it will not only give you the answer but also some background information on the person. ...

UPDATE: Installing CentOS 5.x on ASUS P5WDH-Deluxe

  1 min read   NAS, TROUBLESHOOTING, ZEUS
Earlier I mentioned that getting CentOS 5.x to install on the ASUS P5WDH-Deluxe motherboard wasn’t as easy as I first thought and suggested you disable a few things (mentioned in the previous post). However today I’ve got another solution thats less headachey. Forget disabling ACPI and booting with irqpoll, instead you will need to disable the onboard JMicron controller (mine was always disabled! ...

Booting CentOS 5.3 on ASUS P5WDH Deluxe

  1 min read   NAS, TROUBLESHOOTING, ZEUS
As my journey to find the perfect setup for the new Zeus continues, I thought I’d try out CentOS 5.3. One of the many benefits of running on an open-setup, lots of HDDs, lots of room to move around, not much time though 🙁 If you find you get stuck during the installation for CentOS (and subsequently RHEL & Fedora) here’s how to get things to boot. ...