Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 3rd, 2006, 8:46 PM   #11
megamind5005
Programmer
 
megamind5005's Avatar
 
Join Date: Dec 2004
Location: UK
Posts: 53
Rep Power: 4 megamind5005 is on a distinguished road
Booze: Hey, at least you didn't try to use a private variable in a global context :eek:
__________________
Tetris is so unrealistic
megamind5005 is offline   Reply With Quote
Old Jun 3rd, 2006, 8:55 PM   #12
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Quote:
...just decided to disregard it. The program still works to this day...
You know they say God looks after idjits....
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jun 4th, 2006, 2:05 AM   #13
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,107
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by Harakim
I was writing a program that used recv() and send(). Anyway, recv always returned -1 for some reason. I spent several days conducting all kinds of test and then just decided to disregard it. The program still works to this day and probably recv() still returns -1. I don't know why!!
This reminds me of my mom. Some years back, she had a car that she refused to take care of. When the 'change oil' light came on, she ignored it until the problem 'went away', meaning the light no longer came on. I guess she failed to consider that it was a case of the bulb expiring, rather than magical elves changing the oil in the middle of the night.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Jun 4th, 2006, 2:34 AM   #14
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 378
Rep Power: 3 King is on a distinguished road
I have spent days and days trying to figure out some errors when I was first learning sockets... very frustrating
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Jun 4th, 2006, 10:56 AM   #15
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 646
Rep Power: 4 Jessehk is on a distinguished road
Well, I can't remember an instance of a single bug, but when I was writing my first big program (to me, at least. It was ~800 lines) in C++, I must have spent about 8 hours debugging and fixing logic after I had initialy written it.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS!
Jessehk is offline   Reply With Quote
Old Jun 4th, 2006, 12:58 PM   #16
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,013
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
Quote:
Originally Posted by lectricpharaoh
This reminds me of my mom. Some years back, she had a car that she refused to take care of. When the 'change oil' light came on, she ignored it until the problem 'went away', meaning the light no longer came on. I guess she failed to consider that it was a case of the bulb expiring, rather than magical elves changing the oil in the middle of the night.
ROFL!!!
Sane is offline   Reply With Quote
Old Jun 4th, 2006, 5:37 PM   #17
Mad_guy
Hobbyist Programmer
 
Mad_guy's Avatar
 
Join Date: Oct 2004
Location: Sandstorm, Techno Club
Posts: 239
Rep Power: 5 Mad_guy is on a distinguished road
Send a message via AIM to Mad_guy Send a message via MSN to Mad_guy
Many days I'll spend lots of time analyzing and debugging programs that aren't mine in an effort to just try and understand how they work (sometimes even Windows itself.) Does that count?
__________________
os: mac os 10.5.4
revision control: git
editor: emacs

site
Mad_guy is offline   Reply With Quote
Old Jun 4th, 2006, 7:09 PM   #18
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,013
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
For the last hour I've been trying to figure out why converting something from console to GUI messes up how the API is reacting to a certain command. No success in my debugging efforts yet.
Sane is offline   Reply With Quote
Old Jun 5th, 2006, 8:22 AM   #19
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
A few weeks ago, I spent a day trying to figure out why MySQLConnector/NET wouldn't let me open a friggin' MySqlCommand - kept saying I already had one open. After going through the application line by line about five hundred and thirty-seven and a half times, and correcting a few bugs that cropped up, I found the problem: I had to move the line closing the previous MySqlCommand a few lines up.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jun 5th, 2006, 1:25 PM   #20
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 4 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
Quote:
Originally Posted by Ooble
A few weeks ago, I spent a day trying to figure out why MySQLConnector/NET wouldn't let me open a friggin' MySqlCommand - kept saying I already had one open. After going through the application line by line about five hundred and thirty-seven and a half times, and correcting a few bugs that cropped up, I found the problem: I had to move the line closing the previous MySqlCommand a few lines up.
Heh. Sounds like a bug that I would manage to create. Right now, I am fighting SHFileOperation() and it's strange behaviour with taking a char* as an argument in pTo. Unhappy about it am I.
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:45 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC