Beating a dead horse: Stored Procedures
I seem to be having the same conversations with the dev teams whenever I switch clients. The topic of this post is one that many people have written about before. I'm just going to put my opinion on my blog so I can refer people to it in the future instead of having to repeat myself every time.
What prompted this post is that since I've moved to Belgium I've had to take a step back from living on the bleeding edge and using open source projects. Most of the work is concentrated in Brussels and ...
If you ever wanted to play fur elise in the console
At work today we were playing around with the console.. here's one of our experiments whilst creating a stoplight workflow (WF).
private static void FurElise()
{
Console.Beep(420, 200);
Console.Beep(400, 200);
Console.Beep(420, 200);
Console.Beep(400, 200);
Console.Beep(420, 200);
Console.Beep(315, 200);
Console.Beep(370, 200);
Console.Beep(335, 200);
Console.Beep(28...
Common mistakes in software development (part 2): Mixing up the tiers
In my [previous post](http://flanders.co.nz/2008/09/24/common-mistakes-in-software-development/) I explained some very quick wins to make your code a little bit cleaner. As I've been appointed an [asp.net](http://www.asp.net) project at work at the moment I have the chance to get more ammunition for blogging :).
This time I'd like to talk about properly separating your tiers so that the next person doesn't have to go through the complete application and make changes everywhere just to make a mi...
Common mistakes in software development
***** Rant Alert ******
<rant>
At my current client I've got to do mainly maintenance on existing applications. This gives me the chance to look into codebases that have been created by other people and that don't really reflect how I would write things. That is all good though it gives me a chance to learn new ways of doing things and when I think their way is better I'll surely adopt.
Anyway when I'm browsing these codebases I do find a lot of things that could have been done be...
Congratulations to Mindscape

by
admin
Posted November 5th, 2007 at 10:34 pm
A couple of friends of mine own the company Mindscape They were interviewed by Ron Jacobs at the latest NZ tech ed in August. And that has now just been put up on channel 9 as part of the ARCast series. The interview is about their product LightSpeed which IMHO is one of the nicest ORM's out there. I've used it in a couple of things now and I am absolutely surprised by the fact that lightspeed is a good name for it because it is really fast. If you haven't taken it for a test drive you should...
I’m getting to write a book !!!!!!!!!

by
admin
Posted November 3rd, 2007 at 12:05 am
I just got confirmation from Manning publishers that I get to write a book on IronRuby.
I personally think this is great news :D
I will keep you updated with more progress as I go along.
I just wanted to get this message out....
Woohoo IronRuby alpha1

by
admin
Posted July 23rd, 2007 at 10:26 pm
Well I'm pretty excited about the drop of IronRuby We took it for a quick spin at work.. and it looks really promising :) As you can read on John Lams blog there are a bunch of things that aren't implemented yet. One of those things would be to enumerate the methods of a class. We thought String would be a good fit as John is explaining how much time they put in that one. so this is what we tried. start up the ironruby console str_test = "Hello World" 10.times { puts str_test } which gives th...
Dark Visual studio scheme with resharper support

by
admin
Posted July 18th, 2007 at 10:32 pm
This is more for my own reference but I decided to put it here. This is the color scheme I've been using over the past couple of weeks. It looks like this:  ///       /// Gets or sets the date.       ///       /// The date.       public DateTime Date       {          get { return date; }          set { date = value; }       }        ///       /// Gets or sets the memberName.       ///    Â...
Unit Testing Legacy Code

by
admin
Posted July 15th, 2007 at 12:22 pm
Whenever I'm faced with a bunch of legacy code that I would like to write unit tests for I get quickly demotivated because I know the code works but still i'd love to know if the code will still work after I've been working on it. Lately I've been faced with a lot of legacy code so I decided to make a little tool that does the same as what VSTS testing does when you select generate unit tests. I haven't made an add in yet, it's just a little winforms app I started it this afternoon and i have so...
Minimizing css files

by
admin
Posted July 4th, 2007 at 8:09 am
Before I join the language debate I'd like to share something entirely different. My take on optimizing your css files for production. Making css files production ready is surprisingly simple. I use the following setup in my applications. The css compressor (just removes whitespace in this configuration). public class CssMinifier   {      static readonly Regex whitespaceRegex = new Regex(@"\s+", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.ECMAScript);      ...