Monday, November 24, 2008

My New Kick, Browser Based Games

I found an excellent browser based MMO called Fallen Sword-

I didn't think just HTML and PHP could pull off a game that is very fun but they have done it. Best of all it is expansive, offers many features, and is free. Plus it is easy to jump in and jump out of the game, making it a great game for more casual players like myself.

Check out , they make quiet a few BB games, all of them look pretty good.

AQ Thanks Iran for Its Support

I know many in the left don't want to link Iran and Al Qaeda, but AQ doesn't seem to have such a problem.

Saturday, November 22, 2008


Remember the movie the Terminator? SKYNET was the AI in charge of Norad that decided that ALL humans were a threat, not just America's enemies, and thus started a nuclear war to try to rid the world of humans.

Well it looks like DARPA is trying to build SKYNET. Heck, you could even have this Slashdotted article as a movie prolog leading up to the early days before SKYNET.

Read onward here-

And for some fun reading to prep you for the release of Terminator 4: Salvation, click on the image above to take you to a site that has some great writing based on the original Terminator Movie.

Thursday, November 20, 2008

Basic: Adding JavaScript Confirmations to an ASP.Net Button

Adding Javascript generated confirmations to your ASP.Net buttons is easy, but I always seem to forget how to do and my first and second guesses are usually wrong. So instead of using google to find the answer next time, I will use google in a new way (my blog) to store the answer. Ok here goes.

  btnCancel.Attributes.Add ( "onclick",
"javascript:if(confirm('" + CancelMessage + "')){do stuff;return true;}else{return false;}" );

Not All Mysteries Have Been Solved

Scientist find a new species of dolphin in Australia

Also, check out, it is a great site, and they post new species discoveries, weird sightings of creatures, and other oddities that bring a little mystery back into our digital age.

Wednesday, November 19, 2008

The ACLU Lost One, Let's Hope The Trend Continues

The ACLU in my book is pretty much an enemy of the state, which is a shame, because they should be providing a needed service to protect people's rights rather then be involved in societal transformation.

Anyway, they lost a court battle. Excellent.

Tuesday, November 18, 2008

Campaign Coverage Leans Left: Suprise!!!

One major newspaper admits it, but without appology.

After all, when you are on the side of righteousness, who dares question you? [sarcasm]

File This Under...We Will Think About It Later

This is one example of many of the types of things that pop up on the radar from time to time that just doesn't fit into a secular humanist's world view. So how do our secular humanist scholarly scientist types deal with this stuff? Dismiss, deny, forget.

Prayer Helps with Fertility-

Breakthrough: Organs Grown to Order

Look like they can grow replacement organs in a lab now. posted three links. Check 'em out.

Monday, November 17, 2008

Silverlight vs. Flash...Silverlight 3 May End The Battle

I like Flash, though I've only used it to do progressive video streaming and a few other minor text spins on a page. I don't like Flash's IDE. Flex's eclipse might be better, but I did one check of it and it didn't offer full intellisense (even though it is advertised as such), so at the time I decided to back burner learning Flex.

Well, I'm glad I did. Flash 10 supports quasi 3D, but it looks like Silverlight will support full 3D. Read towards the end of Scott Guthrie's Blog here-

Very signifigant. I've been looking for the holy grail platform to do browser based game development for a long time. Flash works, but you have to hack at it. And you don't get true 3D. MAYBE, just MAYBE, Silverlight 3 will be the killer web game app, as well as business RIA creator, that I've been waiting for.

After Christmas it is time to start diving in to Silverlight.

Saturday, November 08, 2008

Some JavaScript Plugins/Code Worth Checking Out

I can't vouch for these, but over the course of the last few months the following links have shown up on my RSS radar, and they look promising. Take a look for yourself.

Spin JS, which turns textboxes into clickable number up and number down boxes-

A Javascript Graph Plotting Tool-

A jQuery based Color Picker-

Easy Google Map Marker Creation-

Javascript/PayPal supported Simple Shopping Cart

Another Javascript Table Sorter

CSS Menus

Thanks to Ajaxian and Web Resources Depot (see sidebar under useful links) for making me aware of these resources.

Auto Ajaxify A Static Web Page

Ajaxifying a web page by just dropping a javascript class onto the page? Sound to good to be true? It probably is, but the author seems to have allowed for exceptions by including the ability to create rules for the javascript class.

Looks worth checking out-


Thursday, November 06, 2008

So I won't forget this the double split

coming back and editing this later. nothing that anyone couldn't figure out on their own, just something I bump into, here for ref

declare @p_value_rows as varchar(300)
set @p_value_rows = '234f~asd4adsfa~0dfsg'

, SUBSTRING(value_desc,CHARINDEX('~',value_desc)+1,LEN(value_desc) - CHARINDEX(value_desc,'~'))
FROM [db splitter function here](@p_value_rows, '')

Wednesday, November 05, 2008

Obama Wins


Well, the dems have the white house. I will try to be positive. Some good things I saw.

1) High voter turn out. A good sign, I hope the trend continues.
2) All in all things were civil.
3) A Minority is elected President. That is a good sign that America, for the most part, is moving beyond skin color and ethnicity in judging and individual.

Enjoy your victory democrats, both in the presidency and in various other offices. I and many others will be watching.

Monday, November 03, 2008

Work Begins On A River UUV

Check out ARES blog for info about a new river patrol unmanned underwater vehicle (UUV).

Next Administration Needs to Spend A Lot On Defense

Great article on the future defense spending. Think the dems, if elected, can rise to the challenge?


Georgia Leaves the CIS

Georgia decided it hasn't had enough @ss whipping by the Russians, and has decided to leave the Commonwealth of Independant States.

Metal Returns to Iraq

Yes, Heavy Metal is back in Iraq. A good sign for any nation.

Libya Offers Russia A New Base

Sensing U.S. Weakness, Libya decides it can now cozzy up to Russia.

Sunday, November 02, 2008

Saving XML to SQL and the Dreaded Parse Error

I recently at work tried to save an XML string to SQL Server 2005 and I kept getting the following error...

XML parsing: line 1, character 38, unable to switch the encoding

Turns out the solution was to just change the paramter datatype that I'm passing to the stored proc to a varchar (even though the stored proc expects XML) and the problem goes away and data is saved fine. Example of the parameter I passed to the stored proc-

SqlParameter p_xml = new SqlParameter ();
p_xml.ParameterName = "@p_xml";
p_xml.SqlDbType = SqlDbType.VarChar;
p_xml.Value = "your xml string";

The issue has to do with my string XML being UTF-8 based, and SQL 2005 wanting UTF-16. The above hack fixes the issue, and you can still pass UTF-16 based XML and the varchar handles that as well.

Credit for the fix goes to Bob Beauchemin at this link-

Starting A Busines in Michigan

Saving this link for reference.;7