Wednesday, April 21, 2010

Tuesday, April 20, 2010

Cool Website Builder

This link popped up on the radar. If you want to build a free website, this site is the best I've seen so far. Check it out (and no, this is not an add, never heard of these guys before until today, just impressed by the quick look I did).

http://www.ucoz.com/

Monday, April 12, 2010

jStorage - simple JavaScript plugin to store data locally

Local storage seems to be coming of age. Some very intelligent folks have come up with a nice 2kb wrapper for using browser based key/value storage. IE6 is even supported as well.

jStorage - simple JavaScript plugin to store data locally


Thursday, April 08, 2010

jQuery Awesomeness

Check out this implementation of blackjack using jQuery! Very cool.

jQuery 21


Monday, April 05, 2010

Simple Javascript Wait Statement

I'm in a scenario where I'm making a get call to a web service, and if the get call fails for some reason I have to immediately call the web service back and let the client's know there is something up with their data. Well, apparently closing your web connection and then immediately calling it sometimes creates issues, as even though the service is closed, there is a little latency. So I was doing a thread.sleep before calling back, and that caused some issues. So here is a little wait statement equivalent I found

DateTime waitTime = DateTime.Now + TimeSpan.FromSeconds(2);
while (waitTime < DateTime.Now) {;}

Simple. Found it here - http://forums.xna.com/forums/p/908/6180.aspx