Navigation | Category » Tech

Pages

Categories

September 2, 2007

Launch Wrapper

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 also alter them through a [...]

Filed by shim at September 2nd, 2007 under Tech
No comments on this post yet

May 2, 2007

Faster flash

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. Over the months I [...]

Filed by shim at May 2nd, 2007 under Code
No comments on this post yet

January 13, 2007

Non-repeat random playlist in constant time?

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 takes the same amount of [...]

Filed by shim at January 13th, 2007 under Code
No comments on this post yet

November 9, 2006

n-jugs

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 gallon jugs and are asked [...]

Filed by shim at November 9th, 2006 under Code
No comments on this post yet

October 14, 2006

If it aint broke, don’t fix it.

Ok, so a big woops on my part. I tried to update the server the other day. As you probably have guessed, I messed up. I miss typed a few things, left out a few things, and promptly rebooted the server. Whats wrong with rebooting you ask? Well, if the [...]

Filed by shim at October 14th, 2006 under Tech
No comments on this post yet