Performance

Posted on August 24, 2009 14:13 by Billy

I've seen this video a couple of times now on the bicycle blog circuit.  I lol'd both times I saw it.  It pokes fun at the "feud" between regular people riding bikes for style (single speed, fixies, etc...) and the Lance Armstrong, faster, lighter and all that jazz.  Check it out...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Source Control Saturday

Posted on August 22, 2009 03:49 by Billy

One thing that is lacking from my personal software development experience is source control.  All of my projects normally go into the default Visual Studio project folder.  That is, until now.  

SVN

I know that source control is important.  It helps with versioning, sharing and general safekeeping of the code.  Because I don't have the money or inclination to purchase Microsoft's TFS or SourceSafe or a similar source control system, I've chosen to go with SVN.  

Setup

My current setup is as follows:

 

  1. Source Control - SVN
  2. Visual Studio SVN Client - AnkhSVN
  3. SVN GUI - VisualSVN Server 
I also downloaded and installed Tortise SVN, although, it is not currently used.  
 
More to come... 
 

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

40 Miles

Posted on August 16, 2009 05:17 by Billy

I did it

I did 40 miles on the Loveland Bike Trail yesterday with my FIL.  I probably shouldn't have done 40 miles, but I'm proud of myself.  Previously my longest ride was about 20 miles. 

 We started at the southern tip in Newtown, OH.  Then we went 20 miles north and back.  

Nice Trail

The trail is very nice.  If there is anyone in the Cincinnati area that hasn't been there, it's worth the drive.

Later.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Randomness

Posted on March 30, 2009 19:53 by Billy

My Quest

My quest recently has been to create a wordsearch creator for my wife.  She and I homeschool our children, well it's more of her and less of me.  She has looked at services offered online for $20 a month for a similar service.

Hey, I'm handy with computers...

I figured that I'd give it a go.  Well, I've got an algorithm that works.  Using this algorithm, I threw something together that worked.  Then I wanted to put some polish on it and a web user interface.  This part didn't go so well.  I have been experiencing issues with getting all of the desired words added to the puzzle. 

The Randomness

I have been using a random algorithm to place words in the puzzle grid.  I choose a random direction for the word (horizontal, vertical or diagonal) and then choose a random potential starting point.  This is where my algorithms differed, little did I know.  In my first attempt, I declared a class level random number generator (the C# Random class).  This seemed to work well.  My second attempt had me using a localized and often re-created instance of the same class.  The result was that I had very few, often just 1 word added to the grid. 

My understanding of the Randomness

Somebody (like anybody reads this blog) shoudl correct me if I'm wrong.  It seems as if I forgot the principle of seeding.  It seems to me that the lack of a common seed for the Random class caused the generator to choose numbers too similar to the previous number to be of use.  I found out that seeding the generator once, then using this generator for all random needs works like a charm.  So far, with 12 words, words of my family, the wordsearch generator seems to work quickly and good enough.

Good Enough Performance

I expected this problem to be a performance hog.  I thought that I would need many repetitions of attempting to place a word to get all of the words placed.  It seems that for the time being, the solution works well enough.  Is it the best solution, I don't know.   I have some ideas of using a different algorithm to pack the words more tightly.  Maybe performing all possible word placements to see which has the most resolvable collisions (a word intersection with same letters).

Enough for now

I'll be back with more.  You can check the progress of the wordsearch builder at wordsearch.billnmel.com

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Long time...No Blog

Posted on March 30, 2009 19:15 by Billy

It's Back 

I've been away from the blog for a while.  Since I've been gone, I've tiled, layed down laminate flooring and stuff like that.  Visit my wife's blog for more information and pictures.  Since she's started blogging for herself (and in her own space) I think that I'll turn this into stuff for me...just me. 

Facebook 

As an aside, I think that my wife is funny.  I love you Melissa, but you are quirky.  When I first signed up for a Facebook account, I told my wife that she should do the same.  She's a social creature, I figured that she'd like it.  Well, she didn't want to.  She thought that it'd be stupid and proceeded not to sign up.  Well, a couple of months later, when she found out that a friend was on F, she quickly signed up.  Then it was on.  She now has 100+ friends and counting.  I still have 20ish. 

This stinkin' Blog

Well, the same thing happened with this blog.  Yes, it is primarily for me and I realize this.  However, I set up the blog with the thought that she would participate as well.  But the only thing that she'd ask me to do was to show pictures for her.  Now, after 8 months, she has her own blog.  She realized that, hey, she might like to have control over the content, post pictures, videos and/or thoughts.  But like with most things, it had to be her idea.

 But hey, that's just me...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5