View Full Version : :cries:
doc_bean
12-13-2006, 20:23
So I had a program to finish today, been working on it for about a week, started working on it early. Got some good results in the early afternoon, saved all the files, started optimizing the code to make it run faster since it was to slow, and a bit messy. Did some test a few hours later, it didn't work like it was supposed to anymore. Okay, no big deal i think, I'll just reload the old files. I reload the old files
...
WTF ????????
...
It doesn't work anymore !!!!!!! ~:eek: ~:eek: ~:eek: ~:eek:
So I've been trying to see wtf went wrong and am trying to fix it for the last 3 hours or so, with little to no progress.
:furious3: :furious3: :furious3: :furious3:
Man, I'm having a really bad day today ... ~:mecry:
I always use that excuse too ~D
bad luck m8
doc_bean
12-13-2006, 20:41
I always use that excuse too ~D
bad luck m8
No, no, it worked, I have evidence ! That probably makes it worse... :furious3:
discovery1
12-13-2006, 20:42
That sucks Doc. Hopefully its some really mundane detail, like a missing bracket or semicolon
And in other news I just learned that I got a 67 on my math final and a C overall :thumbsdown:
It is much?If no, you can post here the code and maybe an orgah can help you.
doc_bean
12-13-2006, 20:50
The problem isn't really the code, the program runs, it's the results which are screwy. I currently suspect it's a problem with the parameterisation of the algorithm (though there also seems to be another problem lurking around...)
Sasaki Kojiro
12-13-2006, 20:53
Putting output statements to check results at every step usually helps.
What languaje it is?C++?Visual Basic
doc_bean
12-13-2006, 20:57
It's a Matlab program
:sigh: it takes about two minutes for the algorithm to complete, this is getting very boring and annoying...
Kongamato
12-13-2006, 21:37
I had a MATLAB program mess up on me earlier this year. The error was so hidden and insidious it took a few days to find. I had entered a numerical data value instead of the variable it represented in one of my calculations. This meant that whenever I used the test data for calculations, all of my answers were correct, but when I used any other data, my answers would be wrong. Luckily, I started early enough to detect this problem.
doc_bean
12-13-2006, 22:12
I had a MATLAB program mess up on me earlier this year. The error was so hidden and insidious it took a few days to find. I had entered a numerical data value instead of the variable it represented in one of my calculations. This meant that whenever I used the test data for calculations, all of my answers were correct, but when I used any other data, my answers would be wrong. Luckily, I started early enough to detect this problem.
heh, yesterday I spent over an hour tracking down a mistake, turned out that I had written 'y2' instead of 'y1' somewhere in the bowels of the program :dunce:
I seem to have tracked down the problem now. I know i should be more careful about writing down my parameters, but how was I supposed to know my first guess was spot on ? I figured it was quite robust, not really the case I fear. Oh well, back to the drawing board I suppose :furious3:
Problem is also that when I look at the results I wonder if something that looks so impressive is really worth the effort :laugh4:
https://img283.imageshack.us/img283/439/a122uli9.jpg
Gregoshi
12-13-2006, 22:46
Ugh. I feel your pain doc. Such a thing is my worst nightmare. I absolutely hate re-doing something I've already done.
Once at work I spend a whole afternoon writing a program and then accidentally did a "quit without save". I was so ticked off after I realized what I had done that I immediately wrote a shell around the program editor to ask me "are you sure?" whenever I did a "quit without save" so I wouldn't repeat that mistake again.
Good luck recovering.
The_Doctor
12-14-2006, 00:33
I have discovered that programming is a love hate thing. On the one hand it is very cool all the stuff you can make a computer do and it is good when you finish a program.
On the other hand computers are evil malevolent machines. When there is an error in your code, it does not tell you what is wrong or even where the error is, instead you get some insane cryptic remarks, (eg, "differs in levels of indirection"), that cause you to start shouting things like "What the hell the do you mean "differs in levels of indirection" MMMMMMAAAAAAARRRRRRR!!!". Or in the case of my friend swear like hell then walk out of the room and disappear for ~10 minutes.
The most important thing that I learnt from my first semester of Computer Games Technology BSc (Hons), is that you should spend 90% of your time far away from computers, writing pseudo-code and testing it where computers can't tell you that something differs in levels of indirection.:yes:
You have my deepest sympathy doc. I hate doing work over and over agin too. It wears a person out :san_cry:
However, remember to look on the positive side! You didn't lose the whole code through it getting deleted. :san_grin:
doc_bean
12-14-2006, 13:35
Thanks for the support people ~:grouphug:
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.