Sunday, October 30, 2005

Kenny Vs. Spenny is a Canadian TV show about 2 friends who go against each other in a new contest every week. The loser of the contest has to do a stunt that the winner devises. It is a great idea and is the funniest Canadian show i've seen in a long time. It used to be on CBC but now it is on Showcase so now they can swear a lot more.

Last week Catherine and I watched it. The contest was "who can stay naked the longest". Kenny ended up winning and tormented the crap out of Spenny. Kenny ended up leaving the house but before he left he looked up a bunch of gay strippers in the phone book and ended up sending them to the house to bug Spenny. Spenny ended up waiting out the rest of the contest in the basement with a knife and a book. This probably isn't selling anyone on the show but trust me its hilarious.

This week the contest is "who has the biggest balls" don't ask me what that means but I guess i'll see tonight. My best guess is who can do the most outrageous stunt. Check it out, it is on 10:30pm on Sundays on Showcase.

 

Fun
Sunday, October 30, 2005 9:26:21 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 

This weekend I downloaded the .NET 2.0 framework and the SDK. I think I will install the new SharpDevelop on my home machine for now and then install Visual Studio a little later. I am looking forward to playing around with the new System.IO.Ports namespace.

If you have some free time, check out the .NET Nuggets videos that show some of the new featues and give a good introduction/demo. I watched the Generics one today.

If you are a developer and want to make an easy $100 US go sign up at Microsoft Research. They end up sending out periodic emails to you which in turn ask you to go take a short questionnaire. If your answers to the questionnaire match what they are looking for they send you an email asking you to participate in a forum.

I ended up getting selected on Thursday for a Windows Mobile Development forum. They asked me 15 questions on Windows Mobile development and now they are going to send me a cheque for $100 US. In all the whole process took about 15 minutes.

Sunday, October 30, 2005 9:11:07 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Friday, October 28, 2005

LG came out with a breathalyzer phone today (via Engadget)

DonXML posted the Dating Design Patterns Book

Fun
Friday, October 28, 2005 7:27:18 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Thursday, October 27, 2005

A new FAQ on the next generations of the Microsoft Certifications has been posted. I had better get off my ass and get my MCAD (Microsoft Certified Application Developer) before it changes and then go for the new one. I think they are fun.

Currently I am a Microsoft Certified Professional in "Developing and Implementing Web Applications with Microsoft Visual C# .NET and Microsoft Visual Studio .NET" so that means I can use this:

(This is probably the only time i've ever used it) I am about ready to go for my "Developing XML Web Services and Server Components with Microsoft Visual C# .NET and the Microsoft .NET Framework" but I just need to find the time to sit down and do a bunch of practice tests before I write the exam the practice exams really help you find your weaknesses.

Thursday, October 27, 2005 7:01:51 AM (GMT Standard Time, UTC+00:00)  #    Comments [2]  | 

I thought I would post this link to the Microsoft support article on Internet Explorer only giving you the option to save pictures as Bitmap since I have seen it happen to a couple of people as well as myself. http://support.microsoft.com/default.aspx?scid=kb;en-us;810978

Thursday, October 27, 2005 6:42:02 AM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 

Aces

 

Well I started off the poker tournament well last Saturday. I managed to buy a couple pots when no one would bet. We had a pretty tough table, one guy was hard core bragging about getting 2nd in the last tournament but then he looked bad when he was the first one out.

Next out at our table was my buddy Will, he was fairly pot committed on a bluff and couldn't lay down his hand. He had almost caught his opponent with his bluff.

Next out was me. I made a stupid mistake. The dealer was shuffling the cards and showing us the bottom 2 cards, so when an A-7 suited came up to me I figured I had the nuts after everyone but me and another guy folded. I pushed all in and he called it. He shows his cards A-J offsuit. All I could really hope for were the hearts or a 7 and the flop came up rainbow and all I could hope for now was a 7! The turn comes and no 7, then what do you know, the river comes up Ace! I called it right that the odds of a King or a Jack coming up were slim but unfortunately for me he had the higher kicker and I was out of the tournament.

I was probably 10-12 out in a 30 person tournament but I was tired of playing passive since the 2 guys beside me were chip leaders at our table and bullying me out of pots.

After that I went to the bar with Will and we both had a shot of whiskey to help swallow the loss. After we were done we went back and watched for awhile. Catherine was at the final table and pushing everyone around with her massive chip lead and tight play. In the end no one could coax her out of any chips and she ended up winning the tourney. I was really proud of her she has really good patience at the poker table and would never go all in with a freakin' A-7 of hearts!

Thursday, October 27, 2005 6:39:55 AM (GMT Standard Time, UTC+00:00)  #    Comments [2]  | 

We won our game tonight 9-2. I think we are going to get moved up a division because even though we have had some close games we still blow teams out of the water.

I heard the best line by a sportscaster that i've heard in awhile. He announced a top shelf Alexander Daigle goal with the line "..and Daigle puts it top shelf where he used to keep his talent".

Ouch.

Thursday, October 27, 2005 6:23:59 AM (GMT Standard Time, UTC+00:00)  #    Comments [2]  | 

This is pretty much the same score as I got in grade 8, only further proving the point you don't learn anything as you get older hehe.

You Passed 8th Grade Math
Congratulations, you got 7/10 correct!

Fun
Thursday, October 27, 2005 6:15:56 AM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Sunday, October 16, 2005

I was playing around with the Yahoo Search API on the weekend and was very impressed with the wide range of services they offer up to developers.

I started looking around for a WSDL to use when I read that unlike MSN and Google, Yahoo does not use a web service, they use a method called Representational State Transfer or REST for short. "What the hell is REST? This is going to take forever!", I thought to myself. Well good thing REST is fairly easy to understand and pretty much any language can use it.

REST is defined in this Wiki entry as "any simple web-based interface that uses XML and HTTP without the extra abstractions of MEP-based approaches like the web services SOAP protocol." "What the hell does that mean?" you are probably thinking to yourself right now. Well to put it in simple terms, when you submit a URI like this http://api.search.yahoo.com/WebSearchService/V1/webSearch?query=steven+rockarts you can break your "restRequestuest" down into different parts.

Really you are saying, I want to use http://api.search.yahoo.com (the Yahoo Search API), /WebSearchService/V1/ (the web search service version 1) and webSearch?query=steven+rockarts (I want the resource you have for the web search part of the API that relates to the query Steven Rockarts (gratuitous plug)). That URL actually won't work because there needs to be an appId present try this:

http://api.search.yahoo.com/WebSearchService/V1/webSearch?query=steven+rockarts&appid=MY_ID

The Yahoo Search engine receives this request from you and says here is all the information I have for the query steven rockarts and i'm going to give it back to you in XML format.

So if you read the definition again it all should make sense. You are sending a GET via HTTP to Yahoo and they are sending you back XML. You can also use POST if you need to upload some data to the REST resource you are trying to access.

So now that you understand the dry boring part, here is some code that makes use of the Yahoo Search API. This example uses the Yahoo Search API and C#. (I have also provided the equivalent code in VB.NET).

Yahoo Search API C# Code:

YahooSearchConsole.zip (3.84 KB)

static void Main(string[] args)
{
            //Create a New Web Request to the API
            WebRequest restRequest;
            restRequest = WebRequest.Create("http://api.search.yahoo.com/WebSearchService/V1/webSearch?query=steven+rockarts&appid=MY_ID");
            restRequest.Method = "GET";

            //Submit synchronous HTTP restRequestuest to Web server
            WebResponse rsp = restRequest.GetResponse();

            //WebResponse provides stream-based access
            Stream str = rsp.GetResponseStream();
            StreamReader reader = new StreamReader(str);
            Console.WriteLine(reader.ReadToEnd());

            reader.Close();
            rsp.Close();
            Console.ReadLine();
}

Yahoo Search API VB.NET Code:

YahooSearchConsoleVB.zip (2.95 KB)

Sub Main()

'Create a New Web Request to the API
Dim restRequest As WebRequest
restRequest = WebRequest.Create("http://api.search.yahoo.com/WebSearchService/V1/webSearch?query=steven+rockarts&appid=MY_ID")
restRequest.Method = "GET"

'Submit synchronous HTTP restRequestuest to Web server
Dim rsp As WebResponse = restRequest.GetResponse

'WebResponse provides stream-based access
Dim str As Stream = rsp.GetResponseStream
Dim reader As New StreamReader(str)
Console.WriteLine(reader.ReadToEnd())

reader.Close()
rsp.Close()

Console.ReadLine()

End Sub

Sunday, October 16, 2005 8:08:44 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 

Sunday, October 16, 2005 7:19:56 PM (GMT Standard Time, UTC+00:00)  #    Comments [5]  | 
Friday, October 14, 2005

I haven't posted anything worth reading in the last little while because I have been a little lazy. So here is what I did this past week. 

Last week I quit my job because I got a new one. I think I spent the whole weekend filling out forms, or maybe it just seemed like it.

Tuesday night I went to the local .NET user group meeting. Dickson Wong presented on Visual Studio Tools for Office. It was a pretty interesting presentation because the content was a cool idea.

Download the slides and demo code from here:

http://edmonton.dotnetwizards.org/files/ProgrammingVSTO.ppt

http://edmonton.dotnetwizards.org/files/VSTODemo.zip

Our user group is probably going to enter the user group competition this year. But in order to be on the team you have to present an idea based on this year's theme "imagine a world where technology enables us to live healthier lives".

According to the document "a higher score will be given to the solution that improves developer's lives." Somehow I don't think a presentation where I say "get out from behind the computer and go for a run" is going to be very effective. Or maybe it will be if I come up with an application that forces developers to develop and run at the same time.

Wednesday night I read a book on Poker to prepare for the upcoming poker tournament next week. Check-Raise, Check-Raise.

Tonight I have a hockey game. Hopefully it will be more of a challenge than the last 17-2 game. I feel good today and have been watching nothing but hockey for the last week so I should have a good game.

Friday, October 14, 2005 5:49:24 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Tuesday, October 11, 2005

Just now I tried to download a free eBook from Adobe and well see for yourself: http://ebookstore.adobe.com/store/default.asp

Well it has since been fixed but it was hacked by someone from Turkey.

Tuesday, October 11, 2005 5:45:53 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Sunday, October 09, 2005

Catherine's soccer team is having a Poker tournament to raise funds for her soccer team. Come out and have some fun. I will be there!

Details in the PDF file below:

MicrosoftWord-PokerTournamentPoster_doc.pdf (38.05 KB)

Sunday, October 09, 2005 8:42:59 PM (GMT Standard Time, UTC+00:00)  #    Comments [3]  | 
Saturday, October 08, 2005

Computer Nerd Daisy

Saturday, October 08, 2005 5:27:17 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 

My new winter hockey team had our first game last night and I must say we have a pretty explosive offence. We won 17-2. I think that the team we played was in the wrong division and will probably get moved down.

In other hockey news, Brian is winning my hockey pool. He is 9 points ahead of the 2nd place person. To see it all, login with the username/password combination stevenrpool/letsgooilers

 

Saturday, October 08, 2005 2:49:50 PM (GMT Standard Time, UTC+00:00)  #    Comments [2]  | 

Today I received my CVS one time use video camera that I bought off of eBay. It is a neat little camera, it was cool to actually hold one instead of just looking at pictures.

Basically it is a little camera that a drug store in the US (like London Drugs) put out to allow customers to record 1 20 minute long video and after they had filled it up the customer could bring it in and get their movie put on a dvd.

People in the hacking community saw this and their eyes lit up hehe. After a little while they found a way to get the movie off of the camera themselves without having to take it into the store. Now they have a cheap reuseable camera!

So sometime soon, I am going to try the hack up on the Make magazine website myself.

Saturday, October 08, 2005 2:33:30 PM (GMT Standard Time, UTC+00:00)  #    Comments [2]  | 
Tuesday, October 04, 2005

I can't believe Sony released version 2.01 of their firmware just to take away the ability to run homebrew code on the 2.0 firmware.

This is like asking a client that you have made some software for what their favorite feature is, then patching that feature because you never intended for them to be as productive as they are with it. It just doesn't make sense!

Tuesday, October 04, 2005 2:54:18 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Monday, October 03, 2005

Well, my DevHelper idea was a good one for about 1 week. The same idea has already implemented by Rollyo (it looks like they couldn't think of a good name either).

Rollyo uses the Yahoo! Search engine, mine uses MSN Search. I think I can make mine better, this is great motivation!

We'll see what I can do this weekend.

Monday, October 03, 2005 4:07:40 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Sunday, October 02, 2005

I have decided to make a free fun hockey pool over at www.officepools.com 

The rules:

1 - Anyone can enter.

2 - Your have to pick your players using my webpage located at:

The pool was closed on October 5th so I took the page down.

3 - Your picks must be submitted no later than October 4th 2005

4 - Forwards are awarded 1 point in the hockey pool for each point they get on the ice.

5 - Defencemen are awarded 1 point in the hockey pool for each point they get on the ice.

6 - Enforcers are awarded 1 point in the hockey pool for each penalty minute they get on the ice.

7 - Goalies are awarded 2 points in the hockey pool if they score a goal or an assist, they are also awarded a point in the hockey pool for each win they get and 2 points in the hockey pool for each shutout they get.

8 - Rookies are awarded 1 point in the hockey pool for each point they get on the ice.

You will be able to see the standings using the username: stevenrpool and the password: letsgooilers

Good Luck!!!

Fun | Hockey | Personal
Sunday, October 02, 2005 10:08:15 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Saturday, October 01, 2005

These are some good diamond in the rough songs that I like that I think whoever reads this should check out (I put them in the format "Band - Song - Album") feel free to add your own in the comments.

1 - Arcade Fire - I'm Sleeping In A Submarine  - Arcade Fire EP

2 - Dandy Warhols - Grunge Betty - Dandys Rule OK?

3 - Miles Davis - Freddy Freeloader - Kind of Blue

4 - Metric - Monster Hospital - Live It Out

5 - The Mars Volta - Eriatarka - De-Loused in the Comatorium

6 - Elliot Smith - Kings Crossing - From a Basement on the Hill

7 - Jah Division - Dub Will Tear Us Apart - (unknown)

8 - Beck - Already Dead - Sea Change

9 - Blockhead - Insomniac Olympics - Music by Cavelight

10 - Elbow - I've Got Your Number - Cast of Thousands

Fun | Music
Saturday, October 01, 2005 4:40:46 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 

Theme design by Jelle Druyts

Pick a theme: