Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-08-2005, 10:07 AM   #1 (permalink)
Rotkiv
Code Monkey
 
Rotkiv's Avatar
 
Join Date: Apr 2004
Location: Silicon Valley, CA
Posts: 59
Rotkiv is on a distinguished road
Send a message via AIM to Rotkiv Send a message via MSN to Rotkiv
frustrating times

yes, i want to hear one or some of your most frustrating programming stories, problems that you thought were huge but ended up being some small stupid problem that you should not have made.

as for me, last night, I was trying to make an exercise program from a book, but I wasn't getting the correct output, and I thought it was this whole huge problem of trying to figure out a formula for converting hex to decimal, then I read the assignment again, and it told me right in the book, but applying their hint didn't work! I was still getting the wrong output. oh, a logic error i see. I corrected it, different output but still wrong! WTF!!!!!
then, a half an hour later, i see that i didn't initialize a variable that i was multiplying and adding to.

but once I fixed that, it was all good. and they were happy. yay.
Rotkiv is offline   Reply With Quote
Old 02-08-2005, 10:16 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
ah yes, sometimes i just get up and go to lunch or something, .. then come back and something i've spent hours trying to fix jumps right out.
__________________
Mike
sde is offline   Reply With Quote
Old 02-08-2005, 01:52 PM   #3 (permalink)
Rotkiv
Code Monkey
 
Rotkiv's Avatar
 
Join Date: Apr 2004
Location: Silicon Valley, CA
Posts: 59
Rotkiv is on a distinguished road
Send a message via AIM to Rotkiv Send a message via MSN to Rotkiv
yeah, i had already walked away from that project for a week before all of this.
Rotkiv is offline   Reply With Quote
Old 02-08-2005, 02:33 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
my worst moment was trying to program a forum that could have unlimited sub-forums. trying to get the concept of infinity, and i just could not get a grasp on it.

i ended up getting so bent out of shape i did not touch a computer for 2 weeks.
__________________
Mike
sde is offline   Reply With Quote
Old 02-09-2005, 12:10 PM   #5 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 285
technobard is on a distinguished road
I don't remember the worst programming moments because they were so traumatic that my subconscious wiped them from my memory. I'm sorry, what was I saying?

Not too long ago, I was playing with a sorting program. I generated some sample data by creating 10000 and beyond objects. When the sort finished, I printed the first 10 records. Well, the print routine was left over from when I had less than 100 records. I kept looking at the output, thinking that the sort was wrong somehow, because the records appeared to be duplicates. I spent some time poring over the code, but I couldn't find anything wrong. Finally, it dawned on me that the code was fine. I was selecting data from a finite list at random. Within 10000 records there were a lot of duplicates. Doh!
__________________
It takes 2 points to draw a straight line, but at least 3 points to draw a conclusion.
technobard is offline   Reply With Quote
Old 02-10-2005, 08:22 AM   #6 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
currently i am frustered with sessions that are not unique to each user because a stupid person linked to a page with their session id appeneded to the URL.... argh.
__________________


Urban Clothing
Admin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
is DHCP getting confused? Admin Linux / BSD / OS X 2 04-25-2003 07:29 AM


All times are GMT -8. The time now is 12:47 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting