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. Riddle me that

Riddle me that

Scheduled Pinned Locked Moved The Lounge
help
18 Posts 7 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.
  • C Offline
    C Offline
    Colborne_Greg
    wrote on last edited by
    #1

    You live on an island. You have a rabbit problem. You are a farmer. You have a boat that holds one item. Your task is to take a fox, a hen, and seed to the island. If you leave the fox with the hen it will eat the hen. If you leave the hen with the seed it will eat the seed. How do you get all three across to the island, when remember you can only carry one item at a time on your boat.

    R M S 3 Replies Last reply
    0
    • C Colborne_Greg

      You live on an island. You have a rabbit problem. You are a farmer. You have a boat that holds one item. Your task is to take a fox, a hen, and seed to the island. If you leave the fox with the hen it will eat the hen. If you leave the hen with the seed it will eat the seed. How do you get all three across to the island, when remember you can only carry one item at a time on your boat.

      R Offline
      R Offline
      Ron Anders
      wrote on last edited by
      #2

      My dad told me this one. lets see if I can remember. You take the hen across and leave it at the island. Go back and get the fox, take him to the island and pick up the hen. Take the hen to where the seed is but leave the hen and take the seed to the island, leaving it with the fox. Then go get the hen and take it to the island where the fox and the seed be. Y'all live happily ever after.

      C L 2 Replies Last reply
      0
      • R Ron Anders

        My dad told me this one. lets see if I can remember. You take the hen across and leave it at the island. Go back and get the fox, take him to the island and pick up the hen. Take the hen to where the seed is but leave the hen and take the seed to the island, leaving it with the fox. Then go get the hen and take it to the island where the fox and the seed be. Y'all live happily ever after.

        C Offline
        C Offline
        Colborne_Greg
        wrote on last edited by
        #3

        lol

        1 Reply Last reply
        0
        • R Ron Anders

          My dad told me this one. lets see if I can remember. You take the hen across and leave it at the island. Go back and get the fox, take him to the island and pick up the hen. Take the hen to where the seed is but leave the hen and take the seed to the island, leaving it with the fox. Then go get the hen and take it to the island where the fox and the seed be. Y'all live happily ever after.

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

          Ah, logistics! The real life equivalent would be to get the new application, the new database and the customer into the server room one at a time without leaving the customer alone with anything he would try to 'improve'. :)

          The language is JavaScript. that of Mordor, which I will not utter here
          I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

          OriginalGriffO G 2 Replies Last reply
          0
          • L Lost User

            Ah, logistics! The real life equivalent would be to get the new application, the new database and the customer into the server room one at a time without leaving the customer alone with anything he would try to 'improve'. :)

            The language is JavaScript. that of Mordor, which I will not utter here
            I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

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

            First, shoot the customer, then...

            Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

            "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

            1 Reply Last reply
            0
            • L Lost User

              Ah, logistics! The real life equivalent would be to get the new application, the new database and the customer into the server room one at a time without leaving the customer alone with anything he would try to 'improve'. :)

              The language is JavaScript. that of Mordor, which I will not utter here
              I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

              G Offline
              G Offline
              GuyThiebaut
              wrote on last edited by
              #6

              CDP1802 wrote:

              without leaving the customer alone with anything he would try to 'improve'. :)

              Years ago I worked in a business where the server room was a cupboard - we would leave it open at times when we had to perform maintenance. One of these 'times' we had a power cut and fortunately the UPS kept the computer(yes we only had one) going while at the same time beeping, telling us that we had limited time to shut down. One of the accounts ladies was passing by and decided to switch off the UPS - her reason when asked - 'The box was letting out a loud beeping noise as though it was in distress so I turned it off to ease its distress'...

              “That which can be asserted without evidence, can be dismissed without evidence.”

              ― Christopher Hitchens

              L 1 Reply Last reply
              0
              • G GuyThiebaut

                CDP1802 wrote:

                without leaving the customer alone with anything he would try to 'improve'. :)

                Years ago I worked in a business where the server room was a cupboard - we would leave it open at times when we had to perform maintenance. One of these 'times' we had a power cut and fortunately the UPS kept the computer(yes we only had one) going while at the same time beeping, telling us that we had limited time to shut down. One of the accounts ladies was passing by and decided to switch off the UPS - her reason when asked - 'The box was letting out a loud beeping noise as though it was in distress so I turned it off to ease its distress'...

                “That which can be asserted without evidence, can be dismissed without evidence.”

                ― Christopher Hitchens

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

                Yes, put the poor thing out of its misery. :-) And tomorrow I will again work on a project where the customer requested a change that would require to completely replace the primary keys of most tables in order to be able to arrange all major objects (and future expansions) in a tree structure as he sees fit. But please without changing anything in the table definitions, so that the stored procedures he has written to manipulate the database (!!!) still work.

                The language is JavaScript. that of Mordor, which I will not utter here
                I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

                C L 2 Replies Last reply
                0
                • C Colborne_Greg

                  You live on an island. You have a rabbit problem. You are a farmer. You have a boat that holds one item. Your task is to take a fox, a hen, and seed to the island. If you leave the fox with the hen it will eat the hen. If you leave the hen with the seed it will eat the seed. How do you get all three across to the island, when remember you can only carry one item at a time on your boat.

                  M Offline
                  M Offline
                  Mehdi Gholam
                  wrote on last edited by
                  #8

                  Take the fox over to the island to take care of the rabbit problem, then go back and have a nice fat roast hen for dinner...

                  C 1 Reply Last reply
                  0
                  • L Lost User

                    Yes, put the poor thing out of its misery. :-) And tomorrow I will again work on a project where the customer requested a change that would require to completely replace the primary keys of most tables in order to be able to arrange all major objects (and future expansions) in a tree structure as he sees fit. But please without changing anything in the table definitions, so that the stored procedures he has written to manipulate the database (!!!) still work.

                    The language is JavaScript. that of Mordor, which I will not utter here
                    I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

                    C Offline
                    C Offline
                    Colborne_Greg
                    wrote on last edited by
                    #9

                    Move away from SQL, just stop using databases. Move into class libraries with properties that serialize the data. Much faster Then you can have the properties bring in data from the old database seamlessly without having to rewrite the primary key system. You can also inject the value backwards into the database for the clients scripts, and as well get them to upgrade to the new system by using windows 8 xaml apps.

                    L 1 Reply Last reply
                    0
                    • M Mehdi Gholam

                      Take the fox over to the island to take care of the rabbit problem, then go back and have a nice fat roast hen for dinner...

                      C Offline
                      C Offline
                      Colborne_Greg
                      wrote on last edited by
                      #10

                      The seed killed the chicken because it ate to much in the short 40 minutes it takes to go there and back. Also the seed was for the fields now your whole family will starve.

                      M 1 Reply Last reply
                      0
                      • C Colborne_Greg

                        Move away from SQL, just stop using databases. Move into class libraries with properties that serialize the data. Much faster Then you can have the properties bring in data from the old database seamlessly without having to rewrite the primary key system. You can also inject the value backwards into the database for the clients scripts, and as well get them to upgrade to the new system by using windows 8 xaml apps.

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

                        That's exactly what we are doing, but unfortunately the customer has never heard of something like application logic and insists on messing around in the database with his stored procedures. The old composite primary keys are not adequate to represent the new tree structure, so we have little choice than to make those changes in the database and keep the changes to his SPs as small as possible.

                        The language is JavaScript. that of Mordor, which I will not utter here
                        I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

                        C 1 Reply Last reply
                        0
                        • C Colborne_Greg

                          The seed killed the chicken because it ate to much in the short 40 minutes it takes to go there and back. Also the seed was for the fields now your whole family will starve.

                          M Offline
                          M Offline
                          Mehdi Gholam
                          wrote on last edited by
                          #12

                          Ah, an exercise in requirement gathering and talking to users... [oh! didn't I mention that] :)

                          C 1 Reply Last reply
                          0
                          • M Mehdi Gholam

                            Ah, an exercise in requirement gathering and talking to users... [oh! didn't I mention that] :)

                            C Offline
                            C Offline
                            Colborne_Greg
                            wrote on last edited by
                            #13

                            If you have to ask the user what they want you're in the wrong business. You should have been able to gather the parameters of life from the fact he was a farmer and had to live more then one day. This isn't a program, even if it was, you failed. You don't need to ask the user that life goes on after one day.

                            M 1 Reply Last reply
                            0
                            • L Lost User

                              That's exactly what we are doing, but unfortunately the customer has never heard of something like application logic and insists on messing around in the database with his stored procedures. The old composite primary keys are not adequate to represent the new tree structure, so we have little choice than to make those changes in the database and keep the changes to his SPs as small as possible.

                              The language is JavaScript. that of Mordor, which I will not utter here
                              I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

                              C Offline
                              C Offline
                              Colborne_Greg
                              wrote on last edited by
                              #14

                              ekk

                              1 Reply Last reply
                              0
                              • C Colborne_Greg

                                If you have to ask the user what they want you're in the wrong business. You should have been able to gather the parameters of life from the fact he was a farmer and had to live more then one day. This isn't a program, even if it was, you failed. You don't need to ask the user that life goes on after one day.

                                M Offline
                                M Offline
                                Mehdi Gholam
                                wrote on last edited by
                                #15

                                When it comes to users it is better not to assume anything... ... anyway what's wrong with living for the day!? :)

                                C 1 Reply Last reply
                                0
                                • L Lost User

                                  Yes, put the poor thing out of its misery. :-) And tomorrow I will again work on a project where the customer requested a change that would require to completely replace the primary keys of most tables in order to be able to arrange all major objects (and future expansions) in a tree structure as he sees fit. But please without changing anything in the table definitions, so that the stored procedures he has written to manipulate the database (!!!) still work.

                                  The language is JavaScript. that of Mordor, which I will not utter here
                                  I hold an A-7 computer expert classification, Commodore. I'm well acquainted with Dr. Daystrom's theories and discoveries. The basic design of all our ship's computers are JavaScript.

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

                                  CDP1802 wrote:

                                  that would require to completely replace the primary keys of most tables

                                  :laugh: Sorry, I could not resist :-\

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

                                  1 Reply Last reply
                                  0
                                  • C Colborne_Greg

                                    You live on an island. You have a rabbit problem. You are a farmer. You have a boat that holds one item. Your task is to take a fox, a hen, and seed to the island. If you leave the fox with the hen it will eat the hen. If you leave the hen with the seed it will eat the seed. How do you get all three across to the island, when remember you can only carry one item at a time on your boat.

                                    S Offline
                                    S Offline
                                    Septimus Hedgehog
                                    wrote on last edited by
                                    #17

                                    Club the fox to death and rip its head off. Wring the chicken's neck and cook the bird and serve with a delicious peri-peri sauce. As for the seed, throw it away and see what grows in its place the following year. In the meantime, go to the island. Rabbit pie anyone?

                                    If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

                                    1 Reply Last reply
                                    0
                                    • M Mehdi Gholam

                                      When it comes to users it is better not to assume anything... ... anyway what's wrong with living for the day!? :)

                                      C Offline
                                      C Offline
                                      Colborne_Greg
                                      wrote on last edited by
                                      #18

                                      I don't think you see it. If you fulfill the users needs - great you fulfilled the purpose for which they wanted. What did that have anything to do with their jobs? Are you sure they know exactly what they want? Are they even saying the right keywords in the meaning you understand them? If you program for today - today is as long as it will last. ALM - Application lifecycle management; this concept should extend beyond the memory management and into the user cases - the GUI itself. The PC is so great yet it's simplicity does not handle any one use case. So when you handle the needs of the user you are defining your own limitations.

                                      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