Results 1 to 15 of 15

Thread: :cries:

  1. #1
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default :cries:

    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 !!!!!!!


    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.



    Man, I'm having a really bad day today ...
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  2. #2
    Guest Stig's Avatar
    Join Date
    Sep 2006
    Location
    At the bar
    Posts
    4,215

    Default Re: :cries:

    I always use that excuse too


    bad luck m8

  3. #3
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: :cries:

    Quote Originally Posted by Stig
    I always use that excuse too


    bad luck m8
    No, no, it worked, I have evidence ! That probably makes it worse...
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  4. #4
    Evil Sadist Member discovery1's Avatar
    Join Date
    Sep 2003
    Location
    Urbana, IL
    Posts
    2,551

    Default Re: :cries:

    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


    GoreBag: Oh, Prole, you're a nerd's wet dream.

  5. #5
    Honorary Argentinian Senior Member Gyroball Champion, Karts Champion Caius's Avatar
    Join Date
    Aug 2006
    Location
    I live in my home, don't you?
    Posts
    8,114

    Default Re: :cries:

    It is much?If no, you can post here the code and maybe an orgah can help you.




    Names, secret names
    But never in my favour
    But when all is said and done
    It's you I love

  6. #6
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: :cries:

    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...)
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  7. #7

    Default Re: :cries:

    Putting output statements to check results at every step usually helps.

  8. #8
    Honorary Argentinian Senior Member Gyroball Champion, Karts Champion Caius's Avatar
    Join Date
    Aug 2006
    Location
    I live in my home, don't you?
    Posts
    8,114

    Default Re: :cries:

    What languaje it is?C++?Visual Basic




    Names, secret names
    But never in my favour
    But when all is said and done
    It's you I love

  9. #9
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: :cries:

    It's a Matlab program

    :sigh: it takes about two minutes for the algorithm to complete, this is getting very boring and annoying...
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  10. #10
    Member Member Kongamato's Avatar
    Join Date
    Jul 2002
    Location
    East Lansing, Michigan, USA
    Posts
    1,983

    Default Re: :cries:

    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.
    "Never in physical action had I discovered the chilling satisfaction of words. Never in words had I experienced the hot darkness of action. Somewhere there must be a higher principle which reconciles art and action. That principle, it occurred to me, was death." -Yukio Mishima

  11. #11
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: :cries:

    Quote Originally Posted by Kongamato
    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

    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

    Problem is also that when I look at the results I wonder if something that looks so impressive is really worth the effort

    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

  12. #12
    Moderator Moderator Gregoshi's Avatar
    Join Date
    Oct 2000
    Location
    Central Pennsylvania, USA
    Posts
    12,980

    Default Re: :cries:

    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.
    This space intentionally left blank

  13. #13
    Time Lord Member The_Doctor's Avatar
    Join Date
    Oct 2004
    Location
    The TARDIS
    Posts
    2,040

    Default Re: :cries:

    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.

  14. #14

    Post Re: :cries:

    You have my deepest sympathy doc. I hate doing work over and over agin too. It wears a person out

    However, remember to look on the positive side! You didn't lose the whole code through it getting deleted.
    Last edited by MSB; 12-14-2006 at 07:42.

  15. #15
    zombologist Senior Member doc_bean's Avatar
    Join Date
    Oct 2004
    Location
    Riding Shai-Hulud
    Posts
    5,346

    Default Re: :cries:

    Thanks for the support people
    Yes, Iraq is peaceful. Go to sleep now. - Adrian II

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO