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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Version Calculator

Version Calculator

Scheduled Pinned Locked Moved Database
tutorialannouncement
15 Posts 5 Posters 2 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

    bgates1970 wrote:

    My depth is 5.

    Mine is 1. I'm glad you didn't ask any question, clearly I wouldn't be up to it anyway. :)

    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


    I only read formatted code with indentation, so please use PRE tags for code snippets.


    I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


    B Offline
    B Offline
    bgates1970
    wrote on last edited by
    #5

    a 1? You're significant other must be disappointed.

    L 1 Reply Last reply
    0
    • C Chris Meech

      What's supposed to happen after version 5.5.5.5? :confused: Rename the product?

      Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

      B Offline
      B Offline
      bgates1970
      wrote on last edited by
      #6

      LOL! This one takes the cake! Do the math! Do you realize the number of versions you would be compiling? By that time I hope the product is obsolete.

      C 1 Reply Last reply
      0
      • B bgates1970

        a 1? You're significant other must be disappointed.

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

        a big 1, I admit. :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        I only read formatted code with indentation, so please use PRE tags for code snippets.


        I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


        B 1 Reply Last reply
        0
        • L Luc Pattyn

          a big 1, I admit. :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


          I only read formatted code with indentation, so please use PRE tags for code snippets.


          I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


          B Offline
          B Offline
          bgates1970
          wrote on last edited by
          #8

          sometimes its best to stay separated from reality

          1 Reply Last reply
          0
          • B bgates1970

            LOL! This one takes the cake! Do the math! Do you realize the number of versions you would be compiling? By that time I hope the product is obsolete.

            C Offline
            C Offline
            Chris Meech
            wrote on last edited by
            #9

            Uhm, .... let's see. Five times five, that's twenty five. Five times twenty five, well that's just five times five again which is a five and a carry of two. Then you have five times two which is ten, but you have to add the carry of two which is twelve, so that's one hundred and twenty five. Oh man this is starting to get serious. How big is this number going to get. Five times one hundred and twenty five is five times five again that's twenty five which is really just a five with a carry of two. Then there's that five times two again which is ten and the carry of two which is twelve, but that's just a two and a carry of one and finally there's five times one which is five but you have to add that carry of one again to make it a six. There you have it, six hundred and twenty five versions. :cool: You're well on your way. :)

            Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

            B L 2 Replies Last reply
            0
            • C Chris Meech

              Uhm, .... let's see. Five times five, that's twenty five. Five times twenty five, well that's just five times five again which is a five and a carry of two. Then you have five times two which is ten, but you have to add the carry of two which is twelve, so that's one hundred and twenty five. Oh man this is starting to get serious. How big is this number going to get. Five times one hundred and twenty five is five times five again that's twenty five which is really just a five with a carry of two. Then there's that five times two again which is ten and the carry of two which is twelve, but that's just a two and a carry of one and finally there's five times one which is five but you have to add that carry of one again to make it a six. There you have it, six hundred and twenty five versions. :cool: You're well on your way. :)

              Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

              B Offline
              B Offline
              bgates1970
              wrote on last edited by
              #10

              I understand Math for some people is very difficult. If you started at 1.1, using a Depth of 3 and started incrementing by 1 it would look like... 1.1, 1.2, 1.3, 1.1.1, 1.1.2, 1.1.3, 1.2.1, 1.2.2, 1.2.3... So 625 versions is right on according to your math. Sorry but using a depth of 5 would be quite a bit higher than 625. You are correct though I have gotten what I expected out of this forum... smart a$$ comments and nothing really substantive.

              C L 2 Replies Last reply
              0
              • B bgates1970

                I understand Math for some people is very difficult. If you started at 1.1, using a Depth of 3 and started incrementing by 1 it would look like... 1.1, 1.2, 1.3, 1.1.1, 1.1.2, 1.1.3, 1.2.1, 1.2.2, 1.2.3... So 625 versions is right on according to your math. Sorry but using a depth of 5 would be quite a bit higher than 625. You are correct though I have gotten what I expected out of this forum... smart a$$ comments and nothing really substantive.

                C Offline
                C Offline
                Chris Meech
                wrote on last edited by
                #11

                bgates1970 wrote:

                I have gotten what I expected out of this forum

                Glad to have helped you out, then. When you have an actual question that you need assistance with, I'll be glad to continue that help. :)

                Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

                1 Reply Last reply
                0
                • C Chris Meech

                  Uhm, .... let's see. Five times five, that's twenty five. Five times twenty five, well that's just five times five again which is a five and a carry of two. Then you have five times two which is ten, but you have to add the carry of two which is twelve, so that's one hundred and twenty five. Oh man this is starting to get serious. How big is this number going to get. Five times one hundred and twenty five is five times five again that's twenty five which is really just a five with a carry of two. Then there's that five times two again which is ten and the carry of two which is twelve, but that's just a two and a carry of one and finally there's five times one which is five but you have to add that carry of one again to make it a six. There you have it, six hundred and twenty five versions. :cool: You're well on your way. :)

                  Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

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

                  you're making things hard on yourself. Five simply is 10 in base 5. So the fourth power of that is 10000. That's all. No carries involved. However, it is not the available number of versions, as the early versions would have fewer digits; so the better approximation would be 11110 in base 5. Note that I left out one, as I assume the very first version will have one digit, not zero digits. Unless you forget about version numbers until you actually need them. It is too bad we never got an actual question about this very interesting subject... :)

                  Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                  I only read formatted code with indentation, so please use PRE tags for code snippets.


                  I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                  C 1 Reply Last reply
                  0
                  • L Luc Pattyn

                    you're making things hard on yourself. Five simply is 10 in base 5. So the fourth power of that is 10000. That's all. No carries involved. However, it is not the available number of versions, as the early versions would have fewer digits; so the better approximation would be 11110 in base 5. Note that I left out one, as I assume the very first version will have one digit, not zero digits. Unless you forget about version numbers until you actually need them. It is too bad we never got an actual question about this very interesting subject... :)

                    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                    I only read formatted code with indentation, so please use PRE tags for code snippets.


                    I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                    C Offline
                    C Offline
                    Chris Meech
                    wrote on last edited by
                    #13

                    Luc Pattyn wrote:

                    Unless you forget about version numbers until you actually need them

                    You're right. I leave the numbering to my version control provider. Though I understand that someone has to write and maintain the code that implements some numbering scheme. The OP used the word 'depth' and you are inferring that as 'base 5'. And that may well be the intended assumption, but obviously along with a clear and concise question, there was much more lacking from the post. My use of simple arithmetic was a poor attempt to sarcasticly point that out to him. :)

                    Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

                    B 1 Reply Last reply
                    0
                    • B bgates1970

                      I understand Math for some people is very difficult. If you started at 1.1, using a Depth of 3 and started incrementing by 1 it would look like... 1.1, 1.2, 1.3, 1.1.1, 1.1.2, 1.1.3, 1.2.1, 1.2.2, 1.2.3... So 625 versions is right on according to your math. Sorry but using a depth of 5 would be quite a bit higher than 625. You are correct though I have gotten what I expected out of this forum... smart a$$ comments and nothing really substantive.

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

                      bgates1970 wrote:

                      I have gotten what I expected out of this forum... smart a$$ comments and nothing really substantive.

                      Try rereading your original post. Do you see anything substantive there? Do you see a question?

                      It's time for a new signature.

                      1 Reply Last reply
                      0
                      • C Chris Meech

                        Luc Pattyn wrote:

                        Unless you forget about version numbers until you actually need them

                        You're right. I leave the numbering to my version control provider. Though I understand that someone has to write and maintain the code that implements some numbering scheme. The OP used the word 'depth' and you are inferring that as 'base 5'. And that may well be the intended assumption, but obviously along with a clear and concise question, there was much more lacking from the post. My use of simple arithmetic was a poor attempt to sarcasticly point that out to him. :)

                        Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

                        B Offline
                        B Offline
                        bgates1970
                        wrote on last edited by
                        #15

                        3880

                        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