Home
inspirations subscriptions past posts about Andrei... Apolo Productions
Andrei's Universe
One man's journey from infinity to nothingness
lordandrei
Add to Memories
Tell a Friend
If I had a dollar...
Guh...

Well, so.. I'm on speed. Unintentionally. The good side effect is that I'm coding the hell out of my project.

The bad news... I'm being sloppy. My complex algorithm that I spent weeks on was crashing. Really badly.

So after about 45 minutes of debugging I found the little bastard. I'm going to post it here. If people want an explanation... I can give it. Those of you who actually know code... see if you can see the stupidity I did.

	if (currDepth != newDepth) {
		NSUInteger popCount = currDepth - newDepth;
		NSUInteger popCounter;
		for (popCounter = 1; popCounter <= popCount; popCount++) {
			[[self parserStack] pop];
		}				
	}


Oh, I feel like such a moron.

We now return you to your previously scheduled morning.

Tags: , , ,
Current Location: FreePeople House: Sofa wp; Position 1cl2 // v23dh at//kz!
Current Mood: geeky

10 expressions or perhaps, perhaps, perhaps... Elucidate as you will
lordandrei
Add to Memories
Tell a Friend
11:30 pm in Redmond
Wow, what the hell am I doing up at this hour and not at home?

Well, I had one of those rare bugs dumped on my plate that while not really difficuly, is time consuming.

It also would be a really good thing if it were done by a meeting at 11 a.m. tomorrow.

Believe it or not... I don't have to be here. I want to be here. I know with just a few extra hours I can get this thing done and in under the wire... I think.

Well, I understand about 95% of the bug. The question is whether the last 5% will take 10 minutes, 2 hours, or have me scrambling.

So... For the first time at this job; I decided to put in my requisite all night session.

I'm online and doing lots of little fixes for this bug. Meaning... 2-4 lines of code... build for 10 minutes...
leather, wince, re-beat.

Translation: If you're on late night tonight... Feel free to IM. (AIM best, see my profile)...

Otherwise... it's me, the code, and Irene Cara singing about Fame

Tags: , , ,
Current Location: Office
Current Mood: tired

a self portrait
Andrei Freeman
Name: Andrei Freeman
past posts
Back July 2008
12345
6789101112
13141516171819
20212223242526
2728293031
About this journal
This is my place. These are my words. Sometimes they are pearls of wisdom; other times they are droppings for the scarab to feast upon. Rarely are they personal. Read or don't; comment or don't.

"...Man has the right to write as he will..."

Let this be a forum with which I hopefully explore and come to understand my own True Will.
Net Badges
Category Cloud
suggested sites
page summary