Posted at 03:41 am Tuesday July 24th 2007
I've just finished paying the first of my first round of bills and mortgage payments.  Interesting how the account balance dips quite quickly quite so suddenly.  I have survived though and I will persevere!
Posted at 01:39 am Monday July 23rd 2007
I've had less sleep over this whole weekend than I usually get on a weeknight (and that's already tiny) and so I'm quite tired (given lots of Goaltimate on Sunday as well) but for some reason I'm not sleepy (which is odd as I don't have a sleep schedule other than sleep when you're sleepy).  All in all I thought I'd be sleepy by now but I guess it isn't so.  Oh well, I suppose reading documentation and a book will trigger it.
Posted at 02:29 pm Friday July 20th 2007

The other day I had a Risk and Settlers of Catan party.  While both games are enjoyable the end game in Risk becomes rather tedious with two large armies battling against each other.  Some may find the repetitive rolling enjoyable but most don't.  Being that it was a party I had the laptop out so I wrote some scribbles and created a program geared towards Risk dice rolling (one battle at a time).  By some coincidence Slashdot had an article about an online service that provides true random numbers...the "Quantum Random Bit Generator Service".  Hmm...I guess I should link the two together.

So I did, you can find the very basic source (to compile with g++) here: risk_roll.cpp or the zip including the QRBG files here:  risk_roll.zip.

Some would say that I may have over-designed but the flow of the program is quite linear and easy to read.  It's also now easy to run stats with true random numbers and I'll run some when I get the time and post the results.

Posted at 04:28 am Friday July 20th 2007
It's 04:18...I heard a car outside (don't ask how)...people are delivering newspapers...you see?  Somebody else is also working at this time of night!  I'm not a complete loser (like Akshay).
Posted at 11:31 pm Thursday July 19th 2007

Smooth, very very smooth.

"Work It Out" by RJD2; the gentleman in the video is Bill Shannon.

Posted at 04:35 am Thursday July 19th 2007

A more complete version that might be the actual video, not sure...but it's good too.

Posted at 02:20 am Wednesday July 18th 2007
A very funny man passed away on Sunday:  Pat Brice.  He was tremendously funny and that was about all I knew about him.  He worked with a friend of mine (Jordan) on a few projects and I came to know his online humour through little clips that Jordan used to send me while he was editing them.  All the Blerds and Visitors Locker Room guys are quite funny.  I'm not sure if their Friday show at the Apollo is going ahead at this time but I will certainly miss Pat.  You can find some of Pat's work here.
Posted at 01:41 am Monday July 16th 2007

Next dance party I can guarantee you that I'm doing this:

Oh, check out Slagsmålsklubben (6 Swedish Guys with Synths) while you're there.

Posted at 06:50 pm Sunday July 15th 2007

Once again, been super busy but...

  1. Moved in!  Been living here (sleeping, eating, gaming) for one week now.  Fun times!
  2. Playing a lot of Risk since there isn't at TV.  Next Risk game is probably going to involve Eric, Geoff, and Lenny (you're going down Lenny).
  3. Weather is good.
  4. Work is hectic.
  5. Chad has been working like mad on new things (expect things).
  6. Bills arrive fast and organization now is key.
  7. Network is up and running, going through the walls sometime during the week.
  8. Algorithm optimization...it's minor and overall the problem is NP (I believe) so it doesn't do anything overall but it does help some cases...still, it adds cost...so it's not worth it...think people THINK!  I will be happy to continue discussions and shouting matches about your "new fangled way to find prime numbers".
That is all, talk soon! 
Posted at 03:27 am Monday July 9th 2007

I was watching this maze page solve itself (press the solve button) when optimization came to mind.  You see, this maze solver seems to be brute forcing a solution by always turning left (initially) until the last turn results in a dead end.  It then backs up to the last turn and tries the next turn in the sequence (left, straight, right).  The technique mentioned is pretty good for mazes and there seems to be nothing one can do to speed it up but there are a few cases that one can do to aid in selecting what turn to make.

For instance, if one knows what direction they're heading in (known), start and end points (known), and the height and width of the maze (known) then a quick and easy optimization is to determine if one has reached the top of the maze and also if one has reached the bottom (or has one reached left and has one reached right).  By knowing if you have reached the top and bottom in the same traversal then one knows that any bottom turns must be towards the exit.  No solution will exist where you must backtrack all the way back past the top point and then turn right (you've cut off a portion of the maze).  In essense you are starting a new maze with the top point the new start (yes you may be able to move left slightly up to the bottom most touch point but not past it).  The same goes for left and right boundaries with reference to upwards and downwards movement.

This is a very small optimization but it can save a tremendous amount of time chasing a dead end.  Basically, if you reach the bottom of the map and you are in a path that has reached the top don't take a turn away from the goal.  If no turn towards the goal exists at the bottom then backtrack to the last turn that allows a turn towards the goal (end point).

Such small benefits are what keep programmers up all night. 

Posted at 01:59 am Monday July 9th 2007
Moved out I guess...Eric came over and we played Risk.  Then I worked...it's still warm in here so I'll have to clean out the computer to see if that helps.  Not as warm though.
Posted at 07:11 pm Sunday July 8th 2007
All set up and ready for action...back home for dinner now.
Posted at 02:09 pm Sunday July 8th 2007

I tested the interweb connection earlier today at the new place and it's connected.  The computers shall make their move now.

Sigh...

goldeneye:/# uptime
14:09:55 up 405 days, 11:59,  1 user,  load average: 1.37, 0.43, 0.15

Posted at 02:35 am Friday July 6th 2007

I didn't realize how many games I had until I started moving...it's nowhere near as large as Omar's collection but it's large nonetheless.

In other news, I may have a very "neat" phone number for my land line.  More details as to its neatness once I confirm that I have it. 

Posted at 04:05 am Tuesday July 3rd 2007

It would be a good idea to get to bed early so that you can wake up nice and relaxed for the good day but...oh...let me just implement this one feature...

...oh...while I'm at it I may as well pass forward the linking error messages...

...oh...let's just test it...

...oh...to test this fully I could just manipulate the database or I could just implement this small other feature...

...oh...there's a lot of dead code in here...let's just clean it up...

...oh...there's a feature change I need to add so let's write it up...

...oh...it's 4 am. 

Share on Facebook Share via Email Share via Twitter