Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. This Might Backfire on Me, But... [modified]

This Might Backfire on Me, But... [modified]

Scheduled Pinned Locked Moved The Lounge
helpcomquestion
23 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Luc Pattyn

    Did you actually read the instructions? rejection by up-voting now?? :-D

    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

    Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

    R Offline
    R Offline
    realJSOP
    wrote on last edited by
    #11

    I certainly don't want votes that are undeserved, but Henry obviously thinks I can pretty much do no wrong. Of course, I don't know if it's a deep-seated (and understandable) respect for my efforts that gives him that impression, or if it's fear that I might exact some sort of firearm-related reprisal if he doesn't automatically vote everything I do here with a 5. :)

    .45 ACP - because shooting twice is just silly
    -----
    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
    -----
    "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

    L H P 3 Replies Last reply
    0
    • R realJSOP

      I certainly don't want votes that are undeserved, but Henry obviously thinks I can pretty much do no wrong. Of course, I don't know if it's a deep-seated (and understandable) respect for my efforts that gives him that impression, or if it's fear that I might exact some sort of firearm-related reprisal if he doesn't automatically vote everything I do here with a 5. :)

      .45 ACP - because shooting twice is just silly
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #12

      IMO even life saving reflexes should be scrutinized once in a while, but only when things got back to normal of course. :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

      1 Reply Last reply
      0
      • R realJSOP

        I need help rejecting a 1 vote on an article I wrote several years ago. The reason given for the vote was "m". Yes that's right, just a single letter. It looks like the "give us a reason for voting 1 or 2" thing isn't really working out very well, because the only way to eradicate an invalid vote is hoping enough people notice it and help to fix it. Maybe we need a "Report this message" option for articles... Here's the article: Reliable Floating Point Equality Comparison[^] BTW, I discovered this 1 vote by using CPAM3. :) EDIT ========================= Mission Accomplished (where's G.W.Bush when you need him?). I would like to thank those who participated for their timely response to my little crisis.

        .45 ACP - because shooting twice is just silly
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

        modified on Sunday, December 12, 2010 8:56 AM

        R Offline
        R Offline
        Rama Krishna Vavilala
        wrote on last edited by
        #13

        As an expert "message from space" decoder, ypu could have decoded the message "m". I am sure it means something.

        R 1 Reply Last reply
        0
        • R Rama Krishna Vavilala

          As an expert "message from space" decoder, ypu could have decoded the message "m". I am sure it means something.

          R Offline
          R Offline
          realJSOP
          wrote on last edited by
          #14

          Well, "m" can't logically be decoded into a message from an intelligent being, so it can therefore only be determined to be natural background clutter. It's kind of like seeing a mud shack and proclaiming "Civilization!", when it could also be easily explained away as a "happy accident" that a natural formation just happened to provide something that resembles shelter for lower life forms...

          .45 ACP - because shooting twice is just silly
          -----
          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

          D R 2 Replies Last reply
          0
          • R realJSOP

            Well, "m" can't logically be decoded into a message from an intelligent being, so it can therefore only be determined to be natural background clutter. It's kind of like seeing a mud shack and proclaiming "Civilization!", when it could also be easily explained away as a "happy accident" that a natural formation just happened to provide something that resembles shelter for lower life forms...

            .45 ACP - because shooting twice is just silly
            -----
            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

            D Offline
            D Offline
            Dr Walt Fair PE
            wrote on last edited by
            #15

            John Simmons / outlaw programmer wrote:

            It's kind of like seeing a mud shack and proclaiming "Civilization!", when it could also be easily explained away as a "happy accident" that a natural formation just happened to provide something that resembles shelter for lower life forms...

            He was probably offering some alternate source code. I've seen a lot of programs that could be described as a coincidence (happy or not). At least "m" would be easy to debug. :laugh:

            CQ de W5ALT

            Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

            1 Reply Last reply
            0
            • R realJSOP

              I need help rejecting a 1 vote on an article I wrote several years ago. The reason given for the vote was "m". Yes that's right, just a single letter. It looks like the "give us a reason for voting 1 or 2" thing isn't really working out very well, because the only way to eradicate an invalid vote is hoping enough people notice it and help to fix it. Maybe we need a "Report this message" option for articles... Here's the article: Reliable Floating Point Equality Comparison[^] BTW, I discovered this 1 vote by using CPAM3. :) EDIT ========================= Mission Accomplished (where's G.W.Bush when you need him?). I would like to thank those who participated for their timely response to my little crisis.

              .45 ACP - because shooting twice is just silly
              -----
              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

              modified on Sunday, December 12, 2010 8:56 AM

              B Offline
              B Offline
              bob16972
              wrote on last edited by
              #16

              The fact that you were using floating point numbers for calculations involving money raises a red flag to the reader. You might want to edit that first paragraph as it made me feel like I couldn't trust the contents of the article since the author seems to believe you can convert between base-10 and base-2 without problems. Just a suggestion.

              R 1 Reply Last reply
              0
              • B bob16972

                The fact that you were using floating point numbers for calculations involving money raises a red flag to the reader. You might want to edit that first paragraph as it made me feel like I couldn't trust the contents of the article since the author seems to believe you can convert between base-10 and base-2 without problems. Just a suggestion.

                R Offline
                R Offline
                realJSOP
                wrote on last edited by
                #17

                The reasons behind using floating point numbers are many (and irrelevant). The fact that we needed a viable comparison WAS relevant. The original code was written in 1984 in GWbasic, and had gone through several conversions through compiled basic, and Turbo Pascal before finally landing in C++. At no point was a decimal type available, and the original data files were using doubles when I took over the code in 1988. The code it was used in was recursively calculating a value using what-if scenarios, and often, it came down to trying to resolve 0.00001 dollars. Because of the nature of the calculations AND double data types, I had no choice but to use an AlmostEqual method. I guess you shouldn't try to read things into what was in the article. Beyond all of what I just said, this thread isn't about the article - it's about an invalid 1 vote for the article. If you feel the need to discuss said article, you should restrict your comments to the article's message area.

                .45 ACP - because shooting twice is just silly
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                B 1 Reply Last reply
                0
                • R realJSOP

                  I certainly don't want votes that are undeserved, but Henry obviously thinks I can pretty much do no wrong. Of course, I don't know if it's a deep-seated (and understandable) respect for my efforts that gives him that impression, or if it's fear that I might exact some sort of firearm-related reprisal if he doesn't automatically vote everything I do here with a 5. :)

                  .45 ACP - because shooting twice is just silly
                  -----
                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                  H Offline
                  H Offline
                  Henry Minute
                  wrote on last edited by
                  #18

                  John Simmons / outlaw programmer wrote:

                  or if it's fear that I might exact some sort of firearm-related reprisal

                  Well I read Backfire and thought it was a gunshot.

                  Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                  1 Reply Last reply
                  0
                  • R realJSOP

                    Well, "m" can't logically be decoded into a message from an intelligent being, so it can therefore only be determined to be natural background clutter. It's kind of like seeing a mud shack and proclaiming "Civilization!", when it could also be easily explained away as a "happy accident" that a natural formation just happened to provide something that resembles shelter for lower life forms...

                    .45 ACP - because shooting twice is just silly
                    -----
                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                    -----
                    "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                    R Offline
                    R Offline
                    Roger Wright
                    wrote on last edited by
                    #19

                    John Simmons / outlaw programmer wrote:

                    "m" can't logically be decoded into a message

                    It can, however, be interpreted as the signature of a voter too lazy to type his full name, "moron."

                    Will Rogers never met me.

                    1 Reply Last reply
                    0
                    • R realJSOP

                      I need help rejecting a 1 vote on an article I wrote several years ago. The reason given for the vote was "m". Yes that's right, just a single letter. It looks like the "give us a reason for voting 1 or 2" thing isn't really working out very well, because the only way to eradicate an invalid vote is hoping enough people notice it and help to fix it. Maybe we need a "Report this message" option for articles... Here's the article: Reliable Floating Point Equality Comparison[^] BTW, I discovered this 1 vote by using CPAM3. :) EDIT ========================= Mission Accomplished (where's G.W.Bush when you need him?). I would like to thank those who participated for their timely response to my little crisis.

                      .45 ACP - because shooting twice is just silly
                      -----
                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                      -----
                      "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                      modified on Sunday, December 12, 2010 8:56 AM

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #20

                      John Simmons / outlaw programmer wrote:

                      the "give us a reason for voting 1 or 2" thing isn't really working

                      It never has; it was a poorly-thought-out idea from the start. I believe I said so at the time.

                      1 Reply Last reply
                      0
                      • R realJSOP

                        The reasons behind using floating point numbers are many (and irrelevant). The fact that we needed a viable comparison WAS relevant. The original code was written in 1984 in GWbasic, and had gone through several conversions through compiled basic, and Turbo Pascal before finally landing in C++. At no point was a decimal type available, and the original data files were using doubles when I took over the code in 1988. The code it was used in was recursively calculating a value using what-if scenarios, and often, it came down to trying to resolve 0.00001 dollars. Because of the nature of the calculations AND double data types, I had no choice but to use an AlmostEqual method. I guess you shouldn't try to read things into what was in the article. Beyond all of what I just said, this thread isn't about the article - it's about an invalid 1 vote for the article. If you feel the need to discuss said article, you should restrict your comments to the article's message area.

                        .45 ACP - because shooting twice is just silly
                        -----
                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                        -----
                        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                        B Offline
                        B Offline
                        bob16972
                        wrote on last edited by
                        #21

                        John Simmons / outlaw programmer wrote:

                        this thread isn't about the article - it's about an invalid 1 vote for the article

                        I guess I wouldn't know since you had some people help you remove and obscure what they had to say before I had a chance to read it. For all I know, they might have made a good and valid point against your article/technique. Who knows since it has been "removed".

                        John Simmons / outlaw programmer wrote:

                        If you feel the need to discuss said article, you should restrict your comments to the article's message area.

                        For you as well. Requesting everyones help in the lounge to fight a battle in one of your article's message areas? Come on now.

                        1 Reply Last reply
                        0
                        • R realJSOP

                          I need help rejecting a 1 vote on an article I wrote several years ago. The reason given for the vote was "m". Yes that's right, just a single letter. It looks like the "give us a reason for voting 1 or 2" thing isn't really working out very well, because the only way to eradicate an invalid vote is hoping enough people notice it and help to fix it. Maybe we need a "Report this message" option for articles... Here's the article: Reliable Floating Point Equality Comparison[^] BTW, I discovered this 1 vote by using CPAM3. :) EDIT ========================= Mission Accomplished (where's G.W.Bush when you need him?). I would like to thank those who participated for their timely response to my little crisis.

                          .45 ACP - because shooting twice is just silly
                          -----
                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                          modified on Sunday, December 12, 2010 8:56 AM

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #22

                          You should at least fix the spelling calculated federal and stats estate/inheritance taxes

                          1 Reply Last reply
                          0
                          • R realJSOP

                            I certainly don't want votes that are undeserved, but Henry obviously thinks I can pretty much do no wrong. Of course, I don't know if it's a deep-seated (and understandable) respect for my efforts that gives him that impression, or if it's fear that I might exact some sort of firearm-related reprisal if he doesn't automatically vote everything I do here with a 5. :)

                            .45 ACP - because shooting twice is just silly
                            -----
                            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                            -----
                            "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                            P Offline
                            P Offline
                            PaulPrice
                            wrote on last edited by
                            #23

                            5'd because I am also scared of you

                            Just racking up the postings

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups