Windows Live Writer Dictionary Fix Some people find they have

December 4, 2008 – 7:00 am

Windows Live Writer Dictionary Fix
Some people find they have a problem with Windows Live Mail not having an British English spell checker. There is a solution available: Windows Live Writer Dictionary Fix Technorati Tags: British English, dictionary, Microsoft, Windows Live Mail
John Thomson

Zip Files with PowerShell
With PowerShell, you can access the very wide range of objects from the .NET class libraries. This means you can access directly the functionality provided by the methods in these various objects. Dave Donaldson posted his discovery of this in his article Running .NET Code from PowerShell Scripts. O
Thomas Lee

Moonlight Beta 1 - Congrats!
Congratulations to Miguel and team on the first beta release of Moonlight 1.0 (the Linux implementation of Silverlight)! They’re passing the Silverlight 1.0 test suite and have tested with a good selection of live Silverlight sites. Technorati Tags: moonlight,silverlight
Mike Ormond

expand listbox items hi, I have a listbox and have

December 4, 2008 – 12:00 am

expand listbox items
hi, I have a listbox and have managed to expand it when a user double clicks on an item. but if i have 4 results the results will show at the end of these 4 results e.g. year month day minute

TFS Event Handler v1.3 released
Updated and improved for Team System 2008. http://www.codeplex.com/TFSEventHandler The TFS Event Handler makes it easier to notify users of changes to Work Items in Team Foundation Server. You will no longer need to add individual alerts to users. It is developed in .NET 3.5 SP1 for Team Foundati
Martin Hinshelwood

TestDriven.NET 2.18 + NUnit 2.5 Beta

I ve just uploaded a new version of TestDriven.Net with support for NUnit 2.5 Beta.

There s a menagerie of weird and wonderful new attributes to choose from in this point release of NUnit. Ben Hall has written a good summary of the Alpha version and I m sure Charlie Poole will be blogging about the Beta in the coming days.

Here s a quick summary of a few new attributes:

Generic test fixtures can be used when you need to run a batch of tests against few different implementations of a type. In the past something similar could be achieved by having an abstract base fixture and extending it for each implementation you needed to test. By using a generic fixture you keep all your test code in a single class and I think it s more expressive.

    [TestFixture(typeof(ArrayList))] 
    [TestFixture(typeof(List<int>))] 
    public class IListTests<TList> where TList : IList, new() 
    { 
        [Test] 
        public void Count() 
        { 
            IList list = new TList { 1, 2, 3 }; 
            Assert.AreEqual(3, list.Count); 
        } 
    }

The TestCase attribute is similar to MbUnit s RowTest . With this attribute you transform a single test method into multiple test cases. You can also define an expected return result, but I d advise against using this if you want a stack trace when your test fails. It s better to explicitly define the assert inside the test method.

    public class TestCases 
    { 
        [TestCase(4, 2, 2)] 
        [TestCase(2, 1, 1)] 
        [TestCase(5, 2, 3)] 
        public void Add(int answer, int a, int b) 
        { 
            Assert.AreEqual(answer, a + b); 
        } 
    } 

In previous versions of NUnit you could specify which threading model your tests required by adding some XML to your test project s App.config file. You can now specify this directly on the test that needs it using the RequiresMTA/STA attributes.

    [Test, RequiresMTA] 
    public void MTA() 
    { 
        Assert.AreEqual(ApartmentState.MTA, 
            Thread.CurrentThread.ApartmentState); 
    } 
    [Test, RequiresSTA] 
    public void STA() 
    { 
        Assert.AreEqual(ApartmentState.STA, 
            Thread.CurrentThread.ApartmentState); 
    } 

Lastly the TestFixture attribute is no longer required and test methods are allowed to be static. This means NUnit can now be used in a natural way for testing F# code. Note, you will need to have "Other Flags" set to "–optimize+ notailcalls" in your project s build properties if you want to see a stack trace on any failed asserts.

    #light 
    open NUnit.Framework 
    [<Test>] 
    let fsharp() =  
        Assert.AreEqual(2 + 2, 4) 

Update: I ve tried to highlight a few features in NUnit 2.5 which can be used to make your unit tests clearer. Xerxes Battiwalla has written a post about Assert.Throws<T>() which also falls into this category.

    [Test] 
    public void CreateDomain_Null() 
    { 
        Assert.Throws<ArgumentNullException>(() => AppDomain.CreateDomain(null)); 
    }

For more information see the TestDriven.Net 2.18 release notes and the NUnit 2.5 documentation.

More Network Protocol Training
As I noted in two recent blog articles (here and here), Network Protocol Specialists are running a series of WireShark Quick Start webcasts. The second session is to be held tomorrow, December 3 at 10:-00 PDT (Or 18:00 in the UK and 19:00 CET). This second web cast covers Using Display Filters and L
Thomas Lee

Improved support for MbUnit, xUnit and Gallio
The main focus of the TestDriven.Net 2.18 release has been to improve support for test runner plug-ins in general (not just NUnit). If you?re using xUnit, MbUnit or Gallio ? I recommend you upgrade to this version. Automatic support for 64-bit machines The registry layout on 64-bit machines is plain
Jamie Cansdale

When Agile Projects Go Bad A recent CIO.com article discusses

December 3, 2008 – 4:00 pm

When Agile Projects Go Bad
A recent CIO.com article discusses some common pitfalls of agile development practices with Kent Beck and Alistair Cockburn, two of the Agile Manifesto’s signatories.

ICSharpCode?s SharpZipLib?s Help File
In yesterday?s post, I described a cool Zip file Library from ICSharpCode and showed how you could use it within PowerShell. I noted it had a help file which would be of value when using this library. I spent some this morning playing with the Zip lib and wanted to see more details (i.e. from the he
Thomas Lee

From All of Me, To All Of You Its December

December 3, 2008 – 8:00 am

From All of Me, To All Of You
Its December and in the spirit of Christmas I thought I’d share something with you lot. I’m not an all out programming geek, I’m also a professional DJ. Or at least I used to be. These days I only do one gig a month, so I guess its fair to call it a hobby. For the last few years I’ve put together
Anders Nor s

An Easier Way to Deploy Ubuntu, CentOS Ubuntu and CentOS

December 3, 2008 – 12:00 am

An Easier Way to Deploy Ubuntu, CentOS
Ubuntu and CentOS are now in the rPath. The company yesterday began shipping a version of its rBuilder build and release management system for Linux that adds those distros; the tool previously worked only with Novell SUSE Linux Enterprise and its own rPath Linux. rBuilder packages a Linux application with essential parts of its underlying operating system into a single, virtualized image. That image can then be delivered via network, disc or other means, or installed on dedicated hardware and deployed as a stand-alone appliance. According to the company, this approach provides IT…

The .Net Coffee Break Show 9 - Josh Holmes - Leveraging IronRuby in Silverlight
Join our next webcast! 3rd of December 2008 Developers.ie invites all our members to attend our regular webcast. Our next speaker is Josh Holmes, Microsoft Architect Evangelist. Leveraging IronRuby in Silverlight Summary : Join Josh Holmes as he talks…(read more)
Paschal Leloup

Category hierarchy problem…………
Hello friends, I’ve a category table, the structure is: category{ id int(11) autoincrement, name varchar(255), parentid int(11); }

Best Programmer T-Shirts
It?s holiday time, and what better way to reward your favorite programmer geek than with a T-shirt? Following are some of my favorite programmer T-shirts: Java Programmers Change Lightbulb Front: How many Java programmers does it take to change a light bulb? Back: You&rsquo
Timm Martin

IntelliJ Has a New IDEA (version 8)
Support for RESTful Web services, JBoss Seam and Java refactorings and code inspections are among the new features in IntelliJ IDEA 8, JetBrains’ Java IDE for Linux, Mac OS X and Windows that began shipping today. If you’re not familiar, JetBrains’ raison d’ tre is to make an integrated development environment that keeps developers productive and integrates tightly with other open source development tools such as Ant, JUnit and Subversion. Among the new productivity features in IntelliJ IDEA 8 according to a list of what’s new is an ability to jump from a class to its test case; see which…

TFS Event Handler v1.3 released Updated and improved for Team

December 2, 2008 – 5:00 pm

TFS Event Handler v1.3 released
Updated and improved for Team System 2008. http://www.codeplex.com/TFSEventHandler The TFS Event Handler makes it easier to notify users of changes to Work Items in Team Foundation Server. You will no longer need to add individual alerts to users. It is developed in .NET 3.5 SP1 for Team Foundati
Martin Hinshelwood

Zip Files with PowerShell
With PowerShell, you can access the very wide range of objects from the .NET class libraries. This means you can access directly the functionality provided by the methods in these various objects. Dave Donaldson posted his discovery of this in his article Running .NET Code from PowerShell Scripts. O
Thomas Lee

Office Communicator R2 for your mobile phone
Just noticed this over on Johanns blog who got it from the Unified communications team blog and it looks really really nice. I love the single number reach and the call routing features. I transfer my desk phone number to my mobile, use simultaneous ring and have one voicemail message. My unifi
Eileen Brown

The Morning Brew #235
Software Spell checker update 2.2 - The Visual Web Developer Team Blog announce the release of Spell Checker 2.2, a Visual Studio Add-in for VS2008 SP1 which adds spell checking for HTML Comments, ASP.NET Comments, along with comments in your code behind. Create a Vista Gadget Using Visual Studio
Chris Alcock

Behind Closed Doors: Secrets of Great Management By Johanna Rothman and Esther Derby
One of the reasons good management is so hard to learn is that much of management takes place behind closed doors. We re going to open those doors and allow you to see great management in action.
Click here for the full article.

Reviewed scripts resource sites? I have to find a freeware

December 2, 2008 – 11:00 am

Reviewed scripts resource sites?
I have to find a freeware and customizable shopping cart solution - and it’s been a while since I had do something like this… *Are there any better script resource sites out there, other than hotscripts.com and cgi.resourceindex.com?* I’d like to find sites that list a lot of scripts and offer…

Help recreating a design
Heres a few examples of what I would like to accomplish: http://www.greenhamnaturalbeef.com.au/ http://www.quincy.com.au/ Now I have my own ideas how this was created but mainly I am not able to re create these websites myself. What I am looking for in the website is the backgroun layout how the…

Code Tool For Android Touches Down
Android’s Java front-end gives Google’s mobile platform an instant community of app developers and Java-specific tools. But beginning today, there’s also a static code scanner that’s aware of Android’s APIs. Klocwork, which makes automated source code analysis solutions, today began shipping a version of its Insight defect checker that’s aware of Android’s unique application programming interfaces, and can perform inter-procedural analysis of source code intended for Android. Klocwork Insight is a static source code analysis tool for C, C++, C# and Java. According to Klockwork CTO Gwyn…

Hello, F#!  This is a quick post to break my

December 2, 2008 – 5:00 am

Hello, F#!

hellofs 

This is a quick post to break my writers block.

download

Product Review: WHMCS
Anand has been constantly searching for products to get reviewed and he found a popular web based billing and support solution. He immediately put it to test and records his observations with the help of relevant screen shots. He also provides a few suggestions for improving the quality of the product.
Anand Narayanaswamy

Mumbai Under Attack: Graphical Pictorial
Unless you?ve been living under a rock the last few days you would have heard about the shocking development in India (Mumbai - India?s business capital) come face to face with an onslaught of terrorism. Thankfully today, the commandos have successfully brought an end to the 3 day seige.
Thushan Fernando

TestDriven.Net 2.13: Support for Silverlight 2.0 Beta 1I’ve just uploaded

December 1, 2008 – 11:00 pm

TestDriven.Net 2.13: Support for Silverlight 2.0 Beta 1

I’ve just uploaded a new version of TestDriven.Net with support for Silverlight 2.0 Beta 1. Microsoft have certainly kept me on my toes as there have been lots of changes since Silverlight 1.1. I’m sorry it has taken a while!

At the moment you’re limited to running individual public methods (ad-hoc tests). If you need to run a suite of tests I recommend you use this in conjunction with the Silverlight Testing Framework that was released at MIX. Jeff Wilcox has posted a detailed tutorial that shows how to use the framework here. When running your tests using ‘Test With > Silverlight’, bear in mind that you’re simply executing the test method and any test attributes (TestInitialize etc.) will be ignored.

TestWithSilverlight2

I’ve also included an application called ‘agx.exe’ that lets you run console applications using the Silverlight/CoreCLR from the command line. After you’ve installed TestDriven.Net you will find this standalone application here: \Program Files\TestDriven.NET 2.0\agx.exe. This is simply an application that I use for my own testing purposes that I thought other people might find useful.

ConsoleSilverlight2

You can download the new version of TestDriven.Net from here.

xoops token auto change Fri. Nov. 28th, 2008 3:12 AM

December 1, 2008 – 6:00 pm

xoops token auto change
Fri. Nov. 28th, 2008 3:12 AM 1 RB PHP | xoops 0 comments 0 auto create and check token with different xoops versio
Lenny Grover

Fedora 10 is a 10
Fedora releases usually generate more yawns than a Ben Affleck movie for me but this time, they’ve gone the extra mile. I placed Fedora at number 7 in my 10 Best Linux Distributions post but now that I’ve seen Fedora 10, I may have to reorder the list and place Fedora at number 5 or 6. Is this release really that good? Yes, it is. With an improved boot process, much needed printing enhancements, and built-in virtualization; Fedora 10 is worth a serious look. Its full list of new and improved features are: 1) Faster Boot Process 2) New Artwork and Themes 3) Faster and Better Printing

An Easier Way to Deploy Ubuntu, CentOS
Ubuntu and CentOS are now in the rPath. The company yesterday began shipping a version of its rBuilder build and release management system for Linux that adds those distros; the tool previously worked only with Novell SUSE Linux Enterprise and its own rPath Linux. rBuilder packages a Linux application with essential parts of its underlying operating system into a single, virtualized image. That image can then be delivered via network, disc or other means, or installed on dedicated hardware and deployed as a stand-alone appliance. According to the company, this approach provides IT…