Archive for May, 2008

First Chance Exceptions in .NET

« 30 May 2008 | 10:16 | IT & Software | No Comments »

short post…..
In some cases, the .NET framework will throw an exception internally, and then (using it’s own exception handling routines) re-throw something else based on that exception. if you’re getting an exception thrown from the Framework which you don’t really understand, and can’t work out what is causing the problem, try turning on the First [...]



Read books at work, and noone will ever know!

« 29 May 2008 | 14:47 | IT & Software | No Comments »

http://www.readatwork.com/
A website built to encourage people to read during work. Really clever! It creates a “fake” desktop and you can sit there reading books without anyone suspecting a thing!



Back to high-school Trig basics

« 27 May 2008 | 23:17 | IT & Software | No Comments »

Given this diagram, i need to find the coordinate X,Y.

Essentially, the problem is when a line is drawn from (0,0) extending length radius (r) to the intersection of the circle, and given an angle t, find point (x,y).
i know i used to do this kind of thing easy back in high-school but all this database [...]



Test your web design in different browsers

« 26 May 2008 | 11:47 | IT & Software | No Comments »

After seeing the fully CSS Homer Simpson, i wanted to see what he looked like under all browsers.
i found http://www.browsershots.org a while back and lost the link - blogging it here so i don’t lose it again.
Essentially this website has a virtual machine farm running a plethora of operating systems and an even larger plethora [...]



Microsoft Source Code Analysis for C#

« 26 May 2008 | 9:46 | IT & Software | 2 Comments »

Also known as a CodeSniffer, this tool analyses your source code and outputs statistics of whether the code fails key standards which should be followed across your entire codebase.
Source Analysis is similar in many ways to Microsoft Code Analysis (specifically FxCop), but there are some important distinctions. FxCop performs its analysis on compiled binaries, while [...]



Struct Constructor Initialisation

« 25 May 2008 | 13:11 | IT & Software | 2 Comments »

I’m working on a personal project atm (more details to come in another post), and needed to use a Point to represent points on a 2D plane, with floating-point accuracy. The Point struct itself works on ints, and i need more precision than that, so i went ahead and created my own AccuratePoint struct.

[...]



Shadow Copy Cache Hell

« 22 May 2008 | 14:55 | IT & Software | 3 Comments »

This post may be terse and may possibly contain profanity. I’ve just wasted nearly a day and a half before solving this problem.
Situation:
I have Project….Lets call it Project “P”. Big project, .NET 1.1. Nasty stuff at the best of times.
Project A has a dependency on an internal framework project (Dependency “D”).
For the last 2 [...]



Being driven down a path

« 15 May 2008 | 10:18 | IT & Software | 1 Comment »

Recently, i’ve been looking more into TDD and mocking in particular.
I’m well versed with TDD and unit testing in general, and although i’ve dabbled in mocking before with NMock, i never really pursued it deeper; probably based on the combination of a number factors:

The product i was working on had it’s own in-house, custom-built [...]



CCNET will crash and die when you run out of disk space

« 12 May 2008 | 11:40 | IT & Software | No Comments »

Maybe its the old version of CCNET we’re using, but please be wary of this problem.
After recovering space on the aforementioned drive, you’ll get the following message in the CC dashboard:
Unable to read the specified saved state. The configuration data may be invalid
The solution is to rebuild the content of your .state files for each [...]



VS2005 IIS Binding Can be removed

« 12 May 2008 | 9:11 | IT & Software | No Comments »

In Visual Studio 2005 SP1, the new “web-application” project type was introduced. This project type allowed us to have a csproj for the website project and suddenly we were in control of the content of a project and integrating it into an automated build process became simple.
However the best reason for wanting to ditch [...]



Installing VS2008 - a breeeeeeeze

« 4 May 2008 | 11:18 | IT & Software | No Comments »

Wow….first time ever that i can recall an installation of a Microsoft product working with zero interaction after clicking the last “go” button.
Well done MS. First time i’ve ever been able to walk away from my computer and not worry about installation interrupts.
-x




The Tomes Of Experience - powered by WordPress (themed by selder) 0.747 seconds.
07:25:42 21-11-2008