<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.7.1" -->
<rss version="0.92">
<channel>
	<title>ShimPossible</title>
	<link>http://blog.shimpossible.com</link>
	<description>It's not impossible, it's ShimPossible</description>
	<lastBuildDate>Sun, 16 Aug 2009 13:08:31 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Legos and Optimization</title>
		<description>Everyone wants faster, simpler code.  "Optimization" doesn't mean the same thing to everyone though.  For example a FSM.  This usually start out as a big mass of very simple states.  You then "optimize" redundant and nop states away, and combine states.  For example a simple FSM for most console games
Logos ...</description>
		<link>http://blog.shimpossible.com/2009/08/16/legos_and_optimization/</link>
			</item>
	<item>
		<title>Python like .NET</title>
		<description>Python allows you to assign almost everything.  There doesn't seem to be a difference between variables and functions.  You can have a class Foo with attributes bar and baz. These can be methods or plain varaibles, and you can re assign them at run time.   So Foo.bar = 10  and ...</description>
		<link>http://blog.shimpossible.com/2009/04/17/python-like-net/</link>
			</item>
	<item>
		<title>Fun with timezones</title>
		<description>Using dates and times in a program is not always as straight forward as you might think.  The issue is with timezones and daylight savings.  Most people forget to use a timezone when they store dates.  This might not seem like an issue if you think your program will never ...</description>
		<link>http://blog.shimpossible.com/2009/04/09/fun-with-timezones/</link>
			</item>
	<item>
		<title>Swap with out the tmp</title>
		<description>When swapping variables most people use

tmp = a
a = b
b = tmp


This requires using an extra variable tmp to store A while it is overwritten with b.  Wouldn't it be great if you could swap the two without using an extra variable?  The XOR swap algorithm is just what you ...</description>
		<link>http://blog.shimpossible.com/2009/01/27/swap-with-out-the-tmp/</link>
			</item>
	<item>
		<title>Launch Wrapper</title>
		<description> Here's a small utility i wrote after having to keep adding the same command lines arguments to a java.   This program is a wrapper around the one you want to launch.   You can specify a prefix and a postfix to the arguments.  You can ...</description>
		<link>http://blog.shimpossible.com/2007/09/02/launch-wrapper/</link>
			</item>
	<item>
		<title>White Screen of Death</title>
		<description>I bought an Acer laptop last year.   It seemed like a pretty good deal at the time.   It was 1000$ cheaper than other.   Though, I seemed to have got what I paid for.   It promptly died in December, slightly before Christmas.  ...</description>
		<link>http://blog.shimpossible.com/2007/07/18/white-screen-of-death/</link>
			</item>
	<item>
		<title>Faster flash</title>
		<description>I have been working on a project in Adobe flash for the last few months.  It basically does a ton of animation and math on every screen.  So i put all the code in onEnterFrame, the standard way to run continuous code, so it ran on each frame. ...</description>
		<link>http://blog.shimpossible.com/2007/05/02/faster-flash/</link>
			</item>
	<item>
		<title>Non-repeat random playlist in constant time?</title>
		<description>I'm sure you have all heard about the problems with certain mp3 players and their 'random' play lists.  Some people think they repeat some songs more than others.  Well here a way to get a truly random shuffle of the list in constant time.  That means it ...</description>
		<link>http://blog.shimpossible.com/2007/01/13/non-repeat-random-playlist-in-constant-time/</link>
			</item>
	<item>
		<title>Combination Generation</title>
		<description>I ran across a wonderful article a while ago about a Combination / Permutation class that generated them as a stream.  It's a great idea.  It makes unit testing pretty easy, as you can have the class make sure you hit all your test cases.  Sadly I wasn't able to ...</description>
		<link>http://blog.shimpossible.com/2006/12/23/combination-generation/</link>
			</item>
	<item>
		<title>n-jugs</title>
		<description>Given a set of n jugs of different sizes, how would you dump water between them  to get a specific amount?   If you have ever watched  Diehard III, you might have seen this with 2 jugs.  In the movie they are given 4 and 5 ...</description>
		<link>http://blog.shimpossible.com/2006/11/09/n-jugs/</link>
			</item>
</channel>
</rss>
