Search for more information

Thursday, October 9, 2008

Microsoft's Search Perks is a SCAM

So, I got an intriguing email today.  It shows that I can earn "tickets" by searching.  If I save up enough, I can even get an XBox 360 controller!  Sweet!  Well...  Until I did the math.  Here's how it breaks down.

A controller is 5500 points.  You get 500 points just for signing up.  Okay, only 5000 points to go!  You can earn up to 25 tickets a day.  So let's see.  5000/25 = 200.  Okay, sounds good.  You've got to work hard for that controller.  Now let's see...  Today is October 9th.  In 200 days it will be... April 23rd?  Wait!  The promotion ends April 15th, a full 8 days before the 200 days arrive!

So in other words, there is NO WAY to earn 5500 tickets.  No controller for you pal!

Tuesday, September 9, 2008

A Christian's Perspective on LHC

So there's a lot of scientists who are griping that "religious nutjobs" think that the LHC will destroy the Earth. That is patently false. Christians believe that a rapture will occur before the end of the world. Thanks and quit scapegoating Christians.

Saturday, August 30, 2008

How John McCain picked his VP.

Like most people, when I heard who John McCain picked as his running mate, I was a little shocked. But then I thought about it and it makes sense. He needed three things:

1. A Republican - Gotta go with the party. Picking a democrat will alienate republicans already unsure of him.
2. A Woman - He's after those Hillary voters.
3. A Pro Life candidate - He's got to appease the conservative

So he probably had his staffer make up this Venn Diagram

Click here for full screen version



Of course Palin was the only one in the middle, so that's who he picked.

Monday, August 25, 2008

Stealth's Sonic Mettrix E02 Engine

Sage (Sonic Amateur Game Expo) is a web event that happens once a year in August to showcase amateur games starring Sonic the Hedgehog.  This year, I took a look and saw that Stealth had updated his E02 Engine.  This engine is used to play "Sonic Mettrix".  Now the game doesn't actually exist yet, it's a series of demos, but one play through of the Green Hill Zone and you'll know how awesome this thing is.

What's awesome about this project is that it uses a sorta object oriented assembly like scripting language to make games.  I wouldn't say that it looks easy at all, but it is well documented.  Hopefully someone (maybe me) can make some tools to make writing for this engine easier.  I would love to see new Sonic levels that are in the spirit of the Genesis games.  The only way to get there is if it is easy for the end user to do.

The only thing I don't like about this app is that it does not play well with Vista.  I can't seem to run the darn thing in fullscreen, nor can I run the dos version in DOS Box.  If someone else has a solution, let me know!

Delphi Stored Procedure Issue

Okay, so I've decided that I'll go ahead and post some of my more interesting problems that I've encountered at work to my blog. It seems I have a habit of getting errors that only happen to me. Any code samples have been altered to hide the true intent of the program, but the concepts should be the same. I hope this helps someone out there.

I'm pretty green at Delphi. I have a program that must call a MS SQL stored procedure before executing the rest of its logic. Here's the code I've written (changes have been made here and there to protect confidentiality):

theProcedure := TStoredProc.Create( NIL ) ; theProcedure.DatabaseName := theTDatabase.DatabaseName ;
theProcedure.SessionName := theTDatabase.SessionName ;
theProcedure.StoredProcName := 'dbo.my_stored_proc' ;
theProcedure.Prepare;
theProcedure.ExecProc;

I get an error back that says: No parameter type for parameter ‘@Foo’
So I tried this

theProcedure := TStoredProc.Create( NIL ) ;
theProcedure.DatabaseName := theTDatabase.DatabaseName ;
theProcedure.SessionName := theTDatabase.SessionName ;
theProcedure.StoredProcName := 'dbo.my_stored_proc' ; theProcedure.ParamByName('@Foo').AsString := 'bar' ;
theProcedure.Prepare;
theProcedure.ExecProc;

I then get an error that says "Parameter ‘@Foo’ not found"
I tried leaving off the @. Same error as above (sans the @ sign).
Google doesn't seem to help either (only 6 results). It's as frustrating as frustration can get.

So I learned later on that I have to create the parameters before I can use them! Here's what the code should look like:

theProcedure := TStoredProc.Create( NIL ) ;
theProcedure.DatabaseName := theTDatabase.DatabaseName ;
theProcedure.SessionName := theTDatabase.SessionName ;
theProcedure.StoredProcName := 'dbo.my_stored_proc' ;
theTStoredProc.Params.CreateParam(ftInteger, '@Foo', ptInput) ;
theProcedure.ParamByName('@Foo').AsString := 'bar' ;
theProcedure.Prepare;
theProcedure.ExecProc;

Gee I wonder why none of the sites listed on Google bothered to mention that.

Mario Kart Wii Disconnecting Online

So you're playing Mario Kart and whoops! You've been disconnected!  That's happened to me one too many times.  Each time, I lose 100 points or more!  Well, I've got a few hints that may help this from happening.

1) Are you downloading something big?  Are you sure?  If you have a 360 set to autodownload new content, you may be using a lot of bandwidth doing so even after your xbox 360 is off.

2) Are you on wireless Internet?  If you use your cell phone to connect online or you're a rural wireless customer, your signal will be too flaky to play online.  Try sticking to the online tournaments.

3) Do you live in a crowded building such as a dorm room or apartment complex?  You may be experiencing interference.  Try changing the channel on your router or consider purchasing a wired Ethernet adapter.

If you guys have any other ideas, let me know!

Saturday, August 23, 2008

Ramen Noodle Hack

Okay, this is kind of dumb, but did you know that the case that 12 pack of Ramen noodles come in can hold 24 Nintendo DS boxes?

Check out these pictures.  Oh and yes, that is a copy of Jump Superstars you see in the upper right corner.  (Got it for $15 at Pamida)

100_5318

100_5319

100_5320