"My one is kinda stiff but not as stiff as yours" - Cory
Getting there......
Wednesday, November 19, 2008 | 0 comments Links to this post
Labels: Funny
Pirates are not always cool
It turns out Pirates like games too so much so that they are stealing your consoles. Damn pirates!
Monday, November 17, 2008 | 0 comments Links to this post
Labels: Gaming
Regualar Expression bug in C#
I am currently working on a exception reporting system for work. As part of the system I am Creating a way to automatically create a bug in our bug reporting system when someone creates an error report or increase the count when an error has occured more than once. To do this I created an regular expression that grabs the relative filename and line number, I used this code:
Regex regex = new Regex("^.*\\(?'filename'.*):line (?'line'[0-9].)");
Match match = regex.Match(stackTrace);I tested the code and got an following error parsing "^.*\(?'filename'.*):line (?'line'[0-9].)" - Too many )'s.After googleing i found exactly nothing that would help and 2 hours after that I came up with a nasty hack, my thinking was the proble is to do with the "\\" so how about replacing all the "\" with an "`" and then using String.Replace to replace the string(see below) it worked.
Regex regex = new Regex("^.*@(?'filename'.*):line (?'line'[0-9].)");
Match match = regex.Match(stackTrace.Replace('\\', '@'));Probably someting you want to fix Microsoft.
Friday, October 31, 2008 | 0 comments Links to this post
Why programmers never get Laid
Most people believe that programmers don't get laid because they are fat and ugly and I just overheard a conversion that explains that it is not just that...
Michael:"Where do you stick it?"
Cory: "I don't know"
They don't know how either.
Friday, August 29, 2008 | 0 comments Links to this post
Labels: Funny
idisk on Vista
On the weekend I signed up for a .mac account so that I could back up my photos to the web because I am just to lazy to burn them to CD and move send the to my parents for safe keeping. Everything was going fine (ok, it did take ages to put my photos up but there were a few) until I got to work and wanted to jam a some work 0n my idisk to take home with me.
I goggled and found there was indeed a client for idisk for Windows but after I installed it and ran it I got the following message.
Bugger so I turned to google again and found that here was no client but luckily you can just map it as a network drive, and you to can doing it following these simple steps;
- In windows explorer right click Network and select "Map Network Drive..."
- In the folder text box add "https://idisk.mac.com/[username]"
- Click "Connect using a different user name"
- Fill in your .mac details and click ok
- Click Finish
Monday, June 30, 2008 | 0 comments Links to this post
Best Meeting Quote Ever
During out weekly developers meeting when discussing a report one of the other developers(Nick) said the funniest statement I have ever heard in a meeting
"I couldn't sleep so I wipped it out and it put me straight to sleep".
Monday, June 23, 2008 | 0 comments Links to this post
Labels: Funny
Underlined and Blue Damn it!
Update: It seems that Brian has fixed the links(well they are blue anyway) its good to see that people look at this site, to be honest I thought that there was only one link in the whole article if you have a look now you will be able to see a lot more.
Every so often while looking at a web site a see problems in userability cause by a designer trying to make a website pretty and ignoring all all common sense and standards one of my pet peeves is people using no standard links, Hyperlinks should always be unlined and blue!!!!!.
You can easily find a whole lof of examples all over the web but today I found one the was so wrong the only way I could tell it was a link was by the subsentence around it if you look at the image attached to the post you will see the paragraph i grabbed with the link can you spot where the link is?
Friday, May 30, 2008 | 3 comments Links to this post
Labels: rant, Thoughts on..., Web