Thread: Bravo to you!

  1. #1
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694

    Bravo to you!

    I was asked to debug a relative big project for 1 person, that is to be a candidate to augment CGAL library.
    The head of the research team asked the 1-2 other young members of the team (I am the younger and the only undergraduate one). They said no.

    I decided to accept, since I am interested in the topic and may want to follow it in the future (replace may with probably, surely, etc....). The errors were too many, that the terminal couldn't fit it! I was scrolling up and up and I couldn't find the "make" command!
    I was writting the compiler meesaged in a file and debug the project from there. I did it!
    (bonus question: didn't the guy that delivered the code knew about all these errors?!? It was supposed to be working fine when it was delivered to the team. However he decided with some others to init a start up in Canada, thus I understand he is too busy to debug now...but ok, I wouldn't deliver a project if I knew it was broken..I would fix it first! It's a moral issue here too I guess. )

    >So, why do you post here?
    To say a Bravo to you, yes to you, that you are reading this. I am pretty sure that C board really help me to debug/read others people code! It's amazing how a forum can help..and it's **free**!!!!!!!!!
    So, may the new year make us improve ourselves and help (and be helped) as much we can!


    PS - I am pretty sure that my changes did not create a bug. It seems however, that in one case of a spesific group of input the program is not giving all the correct answers! It seems, that he had logic errors too, but I emailed the head of the team to see what should we do..
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I'm trying to read this as a true thank you post. But it's just not working...
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    Lol so what'd you fix again? If anything, I'd say try and fix the god awful interface CGAL has going for it. Libraries like Eigen pwn it in the face (in terms of usability) even though CGAL has a lot going for it. Even then, other codes have shown better performance and I harshly judge their Deluany triangulation scheme.

  4. #4
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    I'm trying to read this as a true thank you post. But it's just not working...
    O_o

    Right there with you...

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  5. #5
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    If all you did was fix a bunch of compiler errors then you didn't "debug" the program, you just made it compilable. Real debugging begins at that point (with extensive testing).
    The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss

  6. #6
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    My vote is for either his account being compromised, or he is wasted.

  7. #7
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    Bravo to you!-facepalm_-_-jpgIf I hadn't good intentions, then why should I post?
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  8. #8
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    Translation: My "humblebrag" flavored post was not well received so I'm going to try and make it your fault.

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  9. #9
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    I truly just wanted to make a thank you thread.-
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  10. #10
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,791
    Quote Originally Posted by std10093 View Post
    PS - I am pretty sure that my changes did not create a bug. It seems however, that in one case of a spesific group of input the program is not giving all the correct answers! It seems, that he had logic errors too, but I emailed the head of the team to see what should we do..
    Umm. So they were getting correct results before your changes but not after your changes? And this isn't considered introducing a bug?

  11. #11
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    Quote Originally Posted by Hodor View Post
    Umm. So they were getting correct results before your changes but not after your changes?
    Of course, NO!
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  12. #12
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,791
    Quote Originally Posted by std10093 View Post
    Of course, NO!
    Hehehe, ok... just making sure! =)

  13. #13
    Registered User
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    242
    Quote Originally Posted by std10093 View Post
    >So, why do you post here?
    To say a Bravo to you, yes to you, that you are reading this. I am pretty sure that C board really help me to debug/read others people code! It's amazing how a forum can help..and it's **free**!!!!!!!!!
    So, may the new year make us improve ourselves and help (and be helped) as much we can!

    This is self explanatory. std10093 has picked up some skills from this board that has helped him solve problems elsewhere. And he wants to thank the board.

    I don't see any bragging - he had to explain what he achieved in order to show the reason for thanking the board.

    Good job mate!
    IDE: Code::Blocks | Compiler Suite for Windows: TDM-GCC (MingW, gdb)

  14. #14
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    My intentions were pure good! From that point every body can assume whatever he wants, I do not care!
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  15. #15
    Registered User beginner_babe's Avatar
    Join Date
    Dec 2013
    Posts
    24
    This is truly a very helpful forum.

Popular pages Recent additions subscribe to a feed