The dumbest mistake that I make over and over

Published on Dec. 05, 2008
by Kyle


for(var i:uint=0;i < objects.length;i++)
{
	if(objects[i] == o)objects.splice(i,1);
}

plus I could just safe myself the frustration and do this:

var index:int = objects.indexOf(o);
if(index > -1) objects.splice(index,1);

stupid! I want to sleep.

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Leave a response
Trackback URL: The dumbest mistake that I make over and over.

Proposal for a more-private Facebook “Like”

The Facebook “Like” button is a bit cruel. It tracks every site you go to and stores that information on their servers. They use that information to target you and your friends with advertising. To many, this is an un-ethical practice, but site owners have a reliance on it for generating traffic. The same sites [...]

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Fullscreen Solutions for Processing

In many scenarios, I want my final Processing application to launch in fullscreen when I have completed it. I usually don’t want any visibility of an operating system or any other process during an installation, performance or otherwise. From my experience with Processing, I have noticed the solution is often different than the last, its [...]

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Toxiclibs.js gets VerletPhysics2D

It’s been four months since I initially started creating Toxiclibs.js a JavaScript version of toxiclibs. So far, over 65 ‘classes’ have been written. These classes cover a wide spectrum of functionality that I believe can be helpful on any web project. There are currently 18 examples on the site, most of which have focused on [...]

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Toxiclibs.js – open-source computational design

I have initiated a new open-source project titled Toxiclibs.js. Toxiclibs.js is a JavaScript port of Karsten Schmidt‘s expansive toxiclibs library. Contributed libraries are an excellent perk of using Processing, and to me there is no library that stands as strong as Karsten’s. Toxiclibs encapsulates a lot of the complexity involved with common computational design problems [...]

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Indexical Architecture @ Spark Festival

My project, Indexical Architecture, commissioned by Northern Lights Foundation as part of the Art(ists) on the Verge 2 Fellowship is currently installed as a part of Minneapolis’ annual Spark Festival on display through October 3rd.

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

The Simple Solution

In 2007, I completed a fun project that I call Social Murmurs. The project required sensing when people sat on a bench, but at the time I had limited electronics experience, so I found the simplest solution I could.

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Phase Shifts

My recent past has been full of transition and I’m very excited to announce the recent changes in my life. Recently… I participated in the Twin Cities Maker Minne-Faire; I stayed up for more than 24 hours straight with a group of talented friends building a website for Child Protection International (new site not up [...]

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter