Geeks With Blogs
Liam McLennan hackingon.net November 2009 Entries
Looking at Languages (C#, Javascript & Ruby) 3: Classes
Javascript does not have classes in the traditional sense, but we can achieve something similar in a number of ways. C# and Ruby both have standard class syntax. This post is part of a series comparing the language features of the C#, Javascript and Ruby programming languages. Part 1: Installation and hello world Part 2: Variables Part 3: Classes C# public class Vehicle { protected string Make { get; private set; } protected string Model { get; private set; } public Vehicle(string make, string model) ......

Posted On Thursday, November 26, 2009 5:07 PM

Looking at Languages (C#, Javascript & Ruby) 2: Variables
This post is part of a series comparing the language features of the C#, Javascript and Ruby programming languages. Part 1: Installation and hello world Part 2: Variables Part 3: Classes Variables C# requires that variables be declared with a specific type. Javascript and Ruby determine the type of variables at runtime. Here is the syntax: C# public string publicMessage = "Hello World"; private string privateMessage = "Hello World"; static string PRIVATE_MESSAGE = "Hello World"; Javascript var message ......

Posted On Monday, November 23, 2009 4:13 PM

Looking at Languages (C#, Javascript & Ruby) 1: Installation and hello world
I’m going to be looking at a few different languages and blogging my thoughts. I am not a language dork so it will probably be mostly wrong. The languages I care about are c# (which is what I mostly use), javascript (which I love) and ruby (which everyone else loves). This post is part of a series comparing the language features of the C#, Javascript and Ruby programming languages. Part 1: Installation and hello world Part 2: Variables Part 3: Classes Installation C# is installed by installing visual ......

Posted On Sunday, November 22, 2009 11:23 PM

Working From Home
Most of 2009 I have been working from home. This is a workforce revolution, made possible by technology advances and attitude changes. Here is my list of simple rules for working from home: don’t do it all the time. It is important to have some face-to-face interaction with your team. even when working from home stay in touch. Call your client or team at least once a day. working from home can be isolating. I make sure that I get out of the house every day so that I don’t end up like Edward Scissorhands. ......

Posted On Sunday, November 22, 2009 2:40 AM

Put It On a Shirt
Sometimes you have a t-shirt idea, but there is no way to try it out – until now. Introducing OnAShirt.net. It is a simple app I coded in a couple of hours today that allows the user to place text over a picture of a t-shirt, or even to conduct t-shirt conversations with themself. Thanks to jQuery for making this sort of thing so easy ......

Posted On Saturday, November 21, 2009 2:27 AM

mocra off railers t-shirt
In a little over 5 weeks Dr Nic and the Fair-brothers will begin their Homeric rickshaw running adventure from the Himalayas to the south of India. Their adventure is raising money for some worthy causes so please give generously. As you can see, Greg was kind enough to send me a mocra off railers t-shirt. It is very comfortable. Thanks Greg and good luck ......

Posted On Thursday, November 19, 2009 8:14 PM

Should a Build Environment match Development or Production?
Today I had a twittersation about build servers, and how closely they should match the development and production environments. Damian’s position was that the build server should match the development environment, while I held that the build environment should be as close to production as possible. Martin Fowler’s Continuous Integration article says: Test in a Clone of the Production Environment The point of testing is to flush out, under controlled conditions, any problem that the system will have ......

Posted On Thursday, November 19, 2009 5:32 AM

Automated Acceptance Testing With NGourd and WebAii
I have written about about WebAii before. It is functional but the API sucks. I have written about NGourd too. I am currently working on a project that is using the combination of NGourd and WebAiii for automated acceptance testing. We start with a story: Feature: Search As a user I want to search for items so that I can find data that I am interested in and then write some scenarios like: Scenario: Search for a compensation agreement Given I am at the home page When I select the Agreements perspective ......

Posted On Wednesday, November 18, 2009 3:51 PM

Have Atlassian Lost Their Minds?
Atlassian is the company that I wish was mine. They make cool web products, they have a unique voice and they are successful. But recently they lost their minds, and starting giving their software away (almost). If you are a small organisation like me you can buy the main atlassian products (jira, confluence, greenhopper, bamboo, fisheye & crowd) for US $10.00 each. User limits apply. We are using Jira + Greenhopper for agile project management, and confluence for our project wiki. Confluence ......

Posted On Wednesday, November 18, 2009 5:03 AM

Collection Initializer Syntax for Dictionary<TKey, TValue>
Dictionary<TKey, TValue> is a generic type that stores collections of KeyValuePair<TKey, TValue>. It is used heavily (actually the IDictionary<TKey, TValue> interface) in Asp.Net Mvc as a parameter to view helper methods. I am writing this post because I have a tendency to forget the collection initializer syntax for this type of collection, so here it is: IDictionary<string, int> collection = new Dictionary<string, int>() { { "rows", 7 }, { "columns", 2} } The nice ......

Posted On Tuesday, November 17, 2009 9:02 PM

November ALT.NET Beers

Brisbane ALT.NET beers is happening Thursday 5th November from 6pm. The venue will be the riverside pig 'n' whistle, same as last time.

If you have not been before, ALT.NET beers is an informal pub-based meeting of ALT.Neters. Beer and wedges are likely.

Please RSVP at the new EventBrite page: http://altdotnetbrisbane.eventbrite.com

Posted On Sunday, November 1, 2009 6:11 PM

jQuery UI Dialog: Part 2 – The Modal Dialog
This is part 2 of my series on the jQuery UI Dialog. Part 1 – The Default Dialog covered the most basic usage of the dialog widget. In this second part I will demonstrate a simple modal dialog. A modal dialog is a dialog that takes focus, and disables the rest of the application until it is closed. They are used to force the user to acknowledge something, or to gather some input. It is worth pointing out that modal dialogs can be annoying for users so you should consider carefully if it is absolutely ......

Posted On Sunday, November 1, 2009 1:53 PM

Copyright © Liam McLennan | Powered by: GeeksWithBlogs.net