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. Are rethorical programming questions allowed?

Are rethorical programming questions allowed?

Scheduled Pinned Locked Moved The Lounge
databasedesignquestion
26 Posts 17 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 CodeWraith

    I don't really expect a serious answer to this. I just found a few database tables which obviously had been designed by that Russian who's liver I already would have liked to be served (fried, with onions). Now I start to believe that he is actually from Eta Carinae and I'm doing my best to understand alien database design. If I have two tables A and B and a relation table inbetween, that must be a many to many relation. Fine. Nothing unusual. But what do you call it when there are two relation tables in a row between A and B? A many to even more relation? m to m^2? And that's only the beginning! How about a relation table that has three relations to yet more relation tables , which have a relation to tables A, B and C. What's that? A multible m to n^3 relation? Or an omnidirectional star relation to the third degree? The Romulan relation nova?

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

    R Offline
    R Offline
    raddevus
    wrote on last edited by
    #12

    I've always liked this explanation which seems to define the way a lot of people design software and in this case databases.

    Non-orthogonal design from The Pragmatic Programmer: From Journeyman to Master[^]

    You're on a helicopter tour of the Grand Canyon when the pilot, who made the obvious mistake of eating fish for lunch, suddenly groans and faints. Fortunately, he left you hovering 100 feet above the ground. You rationalize that the collective pitch lever [2] controls overall lift, so lowering it slightly will start a gentle descent to the ground. However, when you try it, you discover that life isn't that simple. The helicopter's nose drops, and you start to spiral down to the left. Suddenly you discover that you're flying a system where every control input has secondary effects. Lower the left-hand lever and you need to add compensating backward movement to the right-hand stick and push the right pedal. But then each of these changes affects all of the other controls again. Suddenly you're juggling an unbelievably complex system, where every change impacts all the other inputs. Your workload is phenomenal: your hands and feet are constantly moving, trying to balance all the interacting forces.

    Everything is connected to everything else and also some other things you didn't even know existed.

    M S 2 Replies Last reply
    0
    • R raddevus

      I've always liked this explanation which seems to define the way a lot of people design software and in this case databases.

      Non-orthogonal design from The Pragmatic Programmer: From Journeyman to Master[^]

      You're on a helicopter tour of the Grand Canyon when the pilot, who made the obvious mistake of eating fish for lunch, suddenly groans and faints. Fortunately, he left you hovering 100 feet above the ground. You rationalize that the collective pitch lever [2] controls overall lift, so lowering it slightly will start a gentle descent to the ground. However, when you try it, you discover that life isn't that simple. The helicopter's nose drops, and you start to spiral down to the left. Suddenly you discover that you're flying a system where every control input has secondary effects. Lower the left-hand lever and you need to add compensating backward movement to the right-hand stick and push the right pedal. But then each of these changes affects all of the other controls again. Suddenly you're juggling an unbelievably complex system, where every change impacts all the other inputs. Your workload is phenomenal: your hands and feet are constantly moving, trying to balance all the interacting forces.

      Everything is connected to everything else and also some other things you didn't even know existed.

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

      And that was even before that butterfly in Tokyo started to flap.

      ... such stuff as dreams are made on

      1 Reply Last reply
      0
      • C CodeWraith

        I don't really expect a serious answer to this. I just found a few database tables which obviously had been designed by that Russian who's liver I already would have liked to be served (fried, with onions). Now I start to believe that he is actually from Eta Carinae and I'm doing my best to understand alien database design. If I have two tables A and B and a relation table inbetween, that must be a many to many relation. Fine. Nothing unusual. But what do you call it when there are two relation tables in a row between A and B? A many to even more relation? m to m^2? And that's only the beginning! How about a relation table that has three relations to yet more relation tables , which have a relation to tables A, B and C. What's that? A multible m to n^3 relation? Or an omnidirectional star relation to the third degree? The Romulan relation nova?

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

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #14

        CodeWraith wrote:

        Are rethorical programming questions allowed?

        Yes, but only if you can demonstrate the ability to use "who's" and "whose" correctly. ;P


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        1 Reply Last reply
        0
        • C CodeWraith

          I don't really expect a serious answer to this. I just found a few database tables which obviously had been designed by that Russian who's liver I already would have liked to be served (fried, with onions). Now I start to believe that he is actually from Eta Carinae and I'm doing my best to understand alien database design. If I have two tables A and B and a relation table inbetween, that must be a many to many relation. Fine. Nothing unusual. But what do you call it when there are two relation tables in a row between A and B? A many to even more relation? m to m^2? And that's only the beginning! How about a relation table that has three relations to yet more relation tables , which have a relation to tables A, B and C. What's that? A multible m to n^3 relation? Or an omnidirectional star relation to the third degree? The Romulan relation nova?

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

          D Offline
          D Offline
          Dar Brett 0
          wrote on last edited by
          #15

          I know the answer to this one! It's a graph database!

          1 Reply Last reply
          0
          • D den2k88

            CodeWraith wrote:

            Russian who's liver I already would have liked to be served (fried, with onions).

            That's a waste of Russian liver - it's already deeply marinated in vodka, frying it you will ruin the flavor. It should be let slowly simmered, to keep the alcohol fragrance. To any russian: forgive me, I'm just playing with stereotypes for the lulz.

            GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X

            M Offline
            M Offline
            milo xml
            wrote on last edited by
            #16

            I disagree. Simmering it will draw out all the vodka flavor and allow the alcohol to evaporate. It should be given a quick flambe using it's own aromats for the accelerant. Top with a sauce of your choice and viola!

            1 Reply Last reply
            0
            • C CodeWraith

              I don't really expect a serious answer to this. I just found a few database tables which obviously had been designed by that Russian who's liver I already would have liked to be served (fried, with onions). Now I start to believe that he is actually from Eta Carinae and I'm doing my best to understand alien database design. If I have two tables A and B and a relation table inbetween, that must be a many to many relation. Fine. Nothing unusual. But what do you call it when there are two relation tables in a row between A and B? A many to even more relation? m to m^2? And that's only the beginning! How about a relation table that has three relations to yet more relation tables , which have a relation to tables A, B and C. What's that? A multible m to n^3 relation? Or an omnidirectional star relation to the third degree? The Romulan relation nova?

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

              J Offline
              J Offline
              joebrown org uk
              wrote on last edited by
              #17

              Are non-English words such as 'rethorical' allowed in questions on the discussion board, or are these allowed when the language being used is stated clearly in the question?

              C B 2 Replies Last reply
              0
              • J joebrown org uk

                Are non-English words such as 'rethorical' allowed in questions on the discussion board, or are these allowed when the language being used is stated clearly in the question?

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

                Start a study about then effects of early mornings on correct spelling. At this time I would write 'rhetorical'. :-)

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

                S 1 Reply Last reply
                0
                • R raddevus

                  I've always liked this explanation which seems to define the way a lot of people design software and in this case databases.

                  Non-orthogonal design from The Pragmatic Programmer: From Journeyman to Master[^]

                  You're on a helicopter tour of the Grand Canyon when the pilot, who made the obvious mistake of eating fish for lunch, suddenly groans and faints. Fortunately, he left you hovering 100 feet above the ground. You rationalize that the collective pitch lever [2] controls overall lift, so lowering it slightly will start a gentle descent to the ground. However, when you try it, you discover that life isn't that simple. The helicopter's nose drops, and you start to spiral down to the left. Suddenly you discover that you're flying a system where every control input has secondary effects. Lower the left-hand lever and you need to add compensating backward movement to the right-hand stick and push the right pedal. But then each of these changes affects all of the other controls again. Suddenly you're juggling an unbelievably complex system, where every change impacts all the other inputs. Your workload is phenomenal: your hands and feet are constantly moving, trying to balance all the interacting forces.

                  Everything is connected to everything else and also some other things you didn't even know existed.

                  S Offline
                  S Offline
                  Slow Eddie
                  wrote on last edited by
                  #19

                  There are only two types of Helicopters. Those that are broken and those that are in the process of breaking... Also, I appreciate the Dirk Gently reference :-\

                  The holistic approach never works!

                  1 Reply Last reply
                  0
                  • C CodeWraith

                    Start a study about then effects of early mornings on correct spelling. At this time I would write 'rhetorical'. :-)

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

                    S Offline
                    S Offline
                    Slow Eddie
                    wrote on last edited by
                    #20

                    Tell them you were drunk when you posted.... ;P :cool:

                    Anyone who expects affection or appreciation from a cat is delusional. I once had a Scottish terrier that was so aloof he was almost a cat...

                    1 Reply Last reply
                    0
                    • J joebrown org uk

                      Are non-English words such as 'rethorical' allowed in questions on the discussion board, or are these allowed when the language being used is stated clearly in the question?

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

                      I would expect that the writer is referring to a SQL design paradigm called "thor". After all, we have "COM" and "comical." "Rethorical" suggests an attempt to normalize thor relationships. The practices guide offers the image of smashing tables under a heavy blockish object tied by leather straps to a handle. Among the side effects are static discharges.

                      1 Reply Last reply
                      0
                      • C CodeWraith

                        I don't really expect a serious answer to this. I just found a few database tables which obviously had been designed by that Russian who's liver I already would have liked to be served (fried, with onions). Now I start to believe that he is actually from Eta Carinae and I'm doing my best to understand alien database design. If I have two tables A and B and a relation table inbetween, that must be a many to many relation. Fine. Nothing unusual. But what do you call it when there are two relation tables in a row between A and B? A many to even more relation? m to m^2? And that's only the beginning! How about a relation table that has three relations to yet more relation tables , which have a relation to tables A, B and C. What's that? A multible m to n^3 relation? Or an omnidirectional star relation to the third degree? The Romulan relation nova?

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

                        T Offline
                        T Offline
                        TNCaver
                        wrote on last edited by
                        #22

                        Sounds like a typical Oracle EBS implementation to me. :laugh:

                        If you think 'goto' is evil, try writing an Assembly program without JMP.

                        1 Reply Last reply
                        0
                        • C CodeWraith

                          I don't really expect a serious answer to this. I just found a few database tables which obviously had been designed by that Russian who's liver I already would have liked to be served (fried, with onions). Now I start to believe that he is actually from Eta Carinae and I'm doing my best to understand alien database design. If I have two tables A and B and a relation table inbetween, that must be a many to many relation. Fine. Nothing unusual. But what do you call it when there are two relation tables in a row between A and B? A many to even more relation? m to m^2? And that's only the beginning! How about a relation table that has three relations to yet more relation tables , which have a relation to tables A, B and C. What's that? A multible m to n^3 relation? Or an omnidirectional star relation to the third degree? The Romulan relation nova?

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

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

                          "Intersection" data. Intersection data is data that is (only) relevant in the context of a "relation"; e.g. is a "member" of x; or "has possession of" y; etc. This can create multiple relations between the same entities; that "may" result in multiple physical tables. They may also be used to implement "recursion" in 2 tables; again the "relation" table may have intersection data to make sense of the recursion (as per IBM's "virtual logical child").

                          "(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal

                          1 Reply Last reply
                          0
                          • C CodeWraith

                            I don't really expect a serious answer to this. I just found a few database tables which obviously had been designed by that Russian who's liver I already would have liked to be served (fried, with onions). Now I start to believe that he is actually from Eta Carinae and I'm doing my best to understand alien database design. If I have two tables A and B and a relation table inbetween, that must be a many to many relation. Fine. Nothing unusual. But what do you call it when there are two relation tables in a row between A and B? A many to even more relation? m to m^2? And that's only the beginning! How about a relation table that has three relations to yet more relation tables , which have a relation to tables A, B and C. What's that? A multible m to n^3 relation? Or an omnidirectional star relation to the third degree? The Romulan relation nova?

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

                            J Offline
                            J Offline
                            jschell
                            wrote on last edited by
                            #24

                            CodeWraith wrote:

                            But what do you call it when there are two relation tables in a row between A and B? A many to even more relation? m to m^2?

                            Nothing stops two entities from having more than one 'type' of relationship between the the two. But to be fair that can be handled by additional attribute(s) on the first table also. That said, for the example provided, the only cases I have seen of that is where a developer added the second table because they didn't know the first existed.

                            CodeWraith wrote:

                            And that's only the beginning! How about a relation table that has three relations to yet more relation tables , which have a relation to tables A, B and C. What's that?

                            Can't speak to the entire world of all possibilities but normally I would deem that 'someone who didn't know how to do data modeling and certainly didn't know how to map it to a database.'

                            C 1 Reply Last reply
                            0
                            • J jschell

                              CodeWraith wrote:

                              But what do you call it when there are two relation tables in a row between A and B? A many to even more relation? m to m^2?

                              Nothing stops two entities from having more than one 'type' of relationship between the the two. But to be fair that can be handled by additional attribute(s) on the first table also. That said, for the example provided, the only cases I have seen of that is where a developer added the second table because they didn't know the first existed.

                              CodeWraith wrote:

                              And that's only the beginning! How about a relation table that has three relations to yet more relation tables , which have a relation to tables A, B and C. What's that?

                              Can't speak to the entire world of all possibilities but normally I would deem that 'someone who didn't know how to do data modeling and certainly didn't know how to map it to a database.'

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

                              I have heard from the boss that they kept making changes every day, sometimes even very contradictary ones. It's very possible that the data model started out orderly, but then degenerated because nobody knew what's wrong or right anymore.

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

                              J 1 Reply Last reply
                              0
                              • C CodeWraith

                                I have heard from the boss that they kept making changes every day, sometimes even very contradictary ones. It's very possible that the data model started out orderly, but then degenerated because nobody knew what's wrong or right anymore.

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

                                J Offline
                                J Offline
                                jschell
                                wrote on last edited by
                                #26

                                That doesn't sound like a 'reasonable' explanation to me. As a developer I am not just going to create arbitrary and contradictory entities in the database just because some upstream requirements are unclear. And I believe that myself I am fairly good about guessing about future directions from fuzzy requirements. I have known other developers that just throw up their hands and refuse to do nothing. However if there were multiple developers making multiple updates and not coordinating or even reviewing each others changes that would cause problems. And it would also reflect poor management as well (which I am sure management would not like to hear.)

                                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