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. MILLISEC_PER_SEC is never needed

MILLISEC_PER_SEC is never needed

Scheduled Pinned Locked Moved The Lounge
76 Posts 31 Posters 4 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.
  • C CodeWraith

    This one is right up there with PARSECS_FOR_KESSEL_RUN.

    I have lived with several Zen masters - all of them were cats.

    C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #10

    yeah - but that's actually awesome

    cheers Chris Maunder

    C 1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      Eddy Vluggen wrote:

      they tell you there's x feet in an inch.

      There are: 0.0833333... feet in 1 inch.

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

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

      And then the shoe-size is not measured in feet nor inches..

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      Richard DeemingR 1 Reply Last reply
      0
      • C Chris Maunder

        I put it to you that a variable, constant or define named "MILLISEC_PER_SEC" is never, ever, ever needed.

        cheers Chris Maunder

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

        Come to think of it, are there any milliseconds in a Leap Second?

        C 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          Eddy Vluggen wrote:

          they tell you there's x feet in an inch.

          There are: 0.0833333... feet in 1 inch.

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

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

          You only typed five 3s. Methinks you are missing some 3s! :-D

          Get me coffee and no one gets hurt!

          OriginalGriffO 1 Reply Last reply
          0
          • C Chris Maunder

            I put it to you that a variable, constant or define named "MILLISEC_PER_SEC" is never, ever, ever needed.

            cheers Chris Maunder

            M Offline
            M Offline
            megaadam
            wrote on last edited by
            #14

            Of course not. The logical name is: MILLISEC_PER_SEC_1000_SIC

            ... such stuff as dreams are made on

            1 Reply Last reply
            0
            • C Chris Maunder

              yeah - but that's actually awesome

              cheers Chris Maunder

              C Offline
              C Offline
              CodeWraith
              wrote on last edited by
              #15

              Awesome nonsense. :-) He might just as well have blurped something like making the run in less than 38 lightyears.

              I have lived with several Zen masters - all of them were cats.

              1 Reply Last reply
              0
              • C Chris Maunder

                I put it to you that a variable, constant or define named "MILLISEC_PER_SEC" is never, ever, ever needed.

                cheers Chris Maunder

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

                Chris Maunder wrote:

                MILLISEC_PER_SEC

                American or UK Seconds?

                Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                R C 2 Replies Last reply
                0
                • C Chris Maunder

                  I put it to you that a variable, constant or define named "MILLISEC_PER_SEC" is never, ever, ever needed.

                  cheers Chris Maunder

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

                  How fast is your product traveling? You might need a variable for it.

                  1 Reply Last reply
                  0
                  • L Lost User

                    Chris Maunder wrote:

                    MILLISEC_PER_SEC

                    American or UK Seconds?

                    Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                    R Offline
                    R Offline
                    Rick York
                    wrote on last edited by
                    #18

                    I once had a customer tell me, "I want this process time to be ten seconds. Ten German seconds. Not American seconds." We all laughed.

                    1 Reply Last reply
                    0
                    • L Lost User

                      That's what I would think, as the SI-system is fairly logical. Then you meet someone from the UK and they tell you there's x feet in an inch. It's also a nice shortcut, to change the display from msec to sec, just by setting this constant to "0" instead of "1000" :p

                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

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

                      Eddy Vluggen wrote:

                      x feet in an inch.

                      Yes, but that's quite a difficult value. Imperial still has some very logical measurements, such as Rod (unit) - Wikipedia[^]

                      1 Reply Last reply
                      0
                      • L Lost User

                        You only typed five 3s. Methinks you are missing some 3s! :-D

                        Get me coffee and no one gets hurt!

                        OriginalGriffO Offline
                        OriginalGriffO Offline
                        OriginalGriff
                        wrote on last edited by
                        #20

                        Hence the elipsis - I can't put a dot over a three reliably (there's no HTML overstrike-and-superscript tag that I know of)

                        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                        L D 2 Replies Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          Hence the elipsis - I can't put a dot over a three reliably (there's no HTML overstrike-and-superscript tag that I know of)

                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

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

                          Yes I know. I was just messing with you. :)

                          Get me coffee and no one gets hurt!

                          OriginalGriffO 1 Reply Last reply
                          0
                          • L Lost User

                            That's what I would think, as the SI-system is fairly logical. Then you meet someone from the UK and they tell you there's x feet in an inch. It's also a nice shortcut, to change the display from msec to sec, just by setting this constant to "0" instead of "1000" :p

                            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                            J Offline
                            J Offline
                            Jochen Arndt
                            wrote on last edited by
                            #22

                            Eddy Vluggen wrote:

                            It's also a nice shortcut, to change the display from msec to sec, just by setting this constant to "0" instead of "1000" :p

                            Depending on the usage you might then get a "Division by zero" exception / fatal error popup window instead.

                            L 1 Reply Last reply
                            0
                            • L Lost User

                              Yes I know. I was just messing with you. :)

                              Get me coffee and no one gets hurt!

                              OriginalGriffO Offline
                              OriginalGriffO Offline
                              OriginalGriff
                              wrote on last edited by
                              #23

                              Damn. I was hoping you knew of one! ;)

                              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                              L J 2 Replies Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                Damn. I was hoping you knew of one! ;)

                                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

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

                                :-D

                                Get me coffee and no one gets hurt!

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  Personally I prefer cubits

                                  cheers Chris Maunder

                                  OriginalGriffO Offline
                                  OriginalGriffO Offline
                                  OriginalGriff
                                  wrote on last edited by
                                  #25

                                  Is that cubits / Pirate-Ninja? Did you know there is a unit called the sheppey - about ​7⁄8 of a mile (1.4 km), defined as the closest distance at which sheep remain picturesque?

                                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                  C 1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    Is that cubits / Pirate-Ninja? Did you know there is a unit called the sheppey - about ​7⁄8 of a mile (1.4 km), defined as the closest distance at which sheep remain picturesque?

                                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                                    C Offline
                                    C Offline
                                    Chris Maunder
                                    wrote on last edited by
                                    #26

                                    Must...refrain...from...New Zealand...joke....

                                    cheers Chris Maunder

                                    M 1 Reply Last reply
                                    0
                                    • L Lost User

                                      Chris Maunder wrote:

                                      MILLISEC_PER_SEC

                                      American or UK Seconds?

                                      Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                                      C Offline
                                      C Offline
                                      Chris Maunder
                                      wrote on last edited by
                                      #27

                                      Daylight Saving seconds.

                                      cheers Chris Maunder

                                      1 Reply Last reply
                                      0
                                      • C Chris Maunder

                                        I put it to you that a variable, constant or define named "MILLISEC_PER_SEC" is never, ever, ever needed.

                                        cheers Chris Maunder

                                        W Offline
                                        W Offline
                                        W Balboos GHB
                                        wrote on last edited by
                                        #28

                                        Check again - in France it may have an alternative value.* *After all, they don't have a word for 'seventy', 'eighty', or 'ninety'

                                        Ravings en masse^

                                        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                        "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                                        C 1 Reply Last reply
                                        0
                                        • P PIEBALDconsult

                                          Come to think of it, are there any milliseconds in a Leap Second?

                                          C Offline
                                          C Offline
                                          Chris Maunder
                                          wrote on last edited by
                                          #29

                                          It depends if you measure them or not.

                                          cheers Chris Maunder

                                          P 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