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. have you ever been stuck on a programming problem

have you ever been stuck on a programming problem

Scheduled Pinned Locked Moved The Lounge
helpdatabasequestion
57 Posts 36 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.
  • OriginalGriffO OriginalGriff

    Apart from the "F" word - which is unnecessary in the lounge, we have "Elephant" for Aussie use here - I can't see why that should result in a ban. You're frustrated, annoyed and generally Elephanted Off. We all need to vent our spleen from time to time. Now, breathe in.....and release. Breathe in.....and release. Breathe in.....and release. And now go find the MuthaElephanting Sunshine and kick him in the gentleman's vegetables. If he gets all official about it blame "mud weasels". And take a five to make you feel as much better as I can from this distance. (But I'd edit out the words that might upset the delicate...)

    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

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

    Ok sorry. Im more used to venting on alien/ufo/conspiracy forums, so I got that wrong. I do apologise. Offense was not my intent. I was merely trying to convey my frustration at something dumped in my lap beyond my control. I'll just hold back in future.

    OriginalGriffO J M 3 Replies Last reply
    0
    • F Frank Alviani

      Seems like a pretty normal rant to me. Probably > 100% of the lounge has been there. No reason to ban...

      My long term goal is to live forever. So far, so good...

      B Offline
      B Offline
      BruceN
      wrote on last edited by
      #7

      Thank you so much - I thought it was just me. It's a bit hard down here at the bottom of the world - We here in NZ are so isolated it's hard to know what to do

      F D G 3 Replies Last reply
      0
      • B BruceN

        Ok sorry. Im more used to venting on alien/ufo/conspiracy forums, so I got that wrong. I do apologise. Offense was not my intent. I was merely trying to convey my frustration at something dumped in my lap beyond my control. I'll just hold back in future.

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

        Rant away! I'm a lot harder to offend than that - but we do have some sensitive souls whose minds appear not to be able to cope with such and who will "abuse" vote as a result. I'm not surprised you are frustrated: hence my comment that we all need to vent our spleen. :laugh: As it happens you appeared to be handling it well - my initial response a few years ago would involve buying baseball bats and making a couple of phone calls :D

        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

        "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

        W 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          Rant away! I'm a lot harder to offend than that - but we do have some sensitive souls whose minds appear not to be able to cope with such and who will "abuse" vote as a result. I'm not surprised you are frustrated: hence my comment that we all need to vent our spleen. :laugh: As it happens you appeared to be handling it well - my initial response a few years ago would involve buying baseball bats and making a couple of phone calls :D

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          W Offline
          W Offline
          Weylyn Cadwell
          wrote on last edited by
          #9

          Why would you abuse "Vote?" What did Vote ever do to anyone!? They seem like a nice person anyway, a little quite sometimes.

          1 Reply Last reply
          0
          • B BruceN

            Thank you so much - I thought it was just me. It's a bit hard down here at the bottom of the world - We here in NZ are so isolated it's hard to know what to do

            F Offline
            F Offline
            Forogar
            wrote on last edited by
            #10

            Quote:

            NZ are so isolated

            You need to change your viewpoint old boy! In Britain, you've heard of it I'm sure, we take a more central view of the world such as with the famous newspaper headline of a few years ago, "Fog on [The English] Channel; Continent cut off!". You shouldn't think of yourself as isolated but as the rest of the world being sadly too far away to benefit from your wonderful country! It's the rest of the world's problem, not yours. PS. I, as many here on CP will also state, have had to deal with the situation your describe more than once. Frustration and bad language are a good way to blow off steam! Personally I used to play first person shooter video games and laugh maniacally as the pixels flew! It was vary relaxing. ;)

            - I would love to change the world, but they won’t give me the source code.

            B 1 Reply Last reply
            0
            • B BruceN

              Ok sorry. Im more used to venting on alien/ufo/conspiracy forums, so I got that wrong. I do apologise. Offense was not my intent. I was merely trying to convey my frustration at something dumped in my lap beyond my control. I'll just hold back in future.

              J Offline
              J Offline
              Jorgen Andersson
              wrote on last edited by
              #11

              On the contrary, don't hold back, we lesser people might learn something. May it only be a new expletive, it still counts for something.

              Wrong is evil and must be defeated. - Jeff Ello

              1 Reply Last reply
              0
              • F Forogar

                Quote:

                NZ are so isolated

                You need to change your viewpoint old boy! In Britain, you've heard of it I'm sure, we take a more central view of the world such as with the famous newspaper headline of a few years ago, "Fog on [The English] Channel; Continent cut off!". You shouldn't think of yourself as isolated but as the rest of the world being sadly too far away to benefit from your wonderful country! It's the rest of the world's problem, not yours. PS. I, as many here on CP will also state, have had to deal with the situation your describe more than once. Frustration and bad language are a good way to blow off steam! Personally I used to play first person shooter video games and laugh maniacally as the pixels flew! It was vary relaxing. ;)

                - I would love to change the world, but they won’t give me the source code.

                B Offline
                B Offline
                BruceN
                wrote on last edited by
                #12

                Woo. I like your viewpoint. Yeah, we're cool, got hobbits and gay wizards and dragons. I never heard of the fog on thing, but do wonder if you need to cut the channel tunnel off for a bit. I'm sure you know what I'm getting at. I used to play Doom, Heretic and Hexen. Actually, revealing my true age, Wolfenstein and anything I could get to work under MAME.

                F I 2 Replies Last reply
                0
                • B BruceN

                  Woo. I like your viewpoint. Yeah, we're cool, got hobbits and gay wizards and dragons. I never heard of the fog on thing, but do wonder if you need to cut the channel tunnel off for a bit. I'm sure you know what I'm getting at. I used to play Doom, Heretic and Hexen. Actually, revealing my true age, Wolfenstein and anything I could get to work under MAME.

                  F Offline
                  F Offline
                  Forogar
                  wrote on last edited by
                  #13

                  If you want to talk about revealing ages, I used to play the original Colossal Cave Adventure and Star Trek games on a mainframe using a green screen terminal!

                  - I would love to change the world, but they won’t give me the source code.

                  M K 2 Replies Last reply
                  0
                  • B BruceN

                    Woo. I like your viewpoint. Yeah, we're cool, got hobbits and gay wizards and dragons. I never heard of the fog on thing, but do wonder if you need to cut the channel tunnel off for a bit. I'm sure you know what I'm getting at. I used to play Doom, Heretic and Hexen. Actually, revealing my true age, Wolfenstein and anything I could get to work under MAME.

                    I Offline
                    I Offline
                    Ian Shlasko
                    wrote on last edited by
                    #14

                    Venting of anger was always more fun with IDDQD and IDKFA... Not IDSPISPOPD, because then you might accidentally bypass a set of pixels that needed to be vaporized. And don't listen to him... Those Brits may think they're important, but we New Yorkers know that everything outside of Manhattan would be a desolate wasteland devoid of life, if not for the shining beacon of our presence :-D

                    Proud to have finally moved to the A-Ark. Which one are you in?
                    Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                    1 Reply Last reply
                    0
                    • B BruceN

                      (This will probably result in a ban, but whatever) So bizarre, so obtuse you just can't see the answer? I got blindsided and walked into a legacy project I swear was written by Martians. We have such gems as magic numbers: return code 97. WTF? Or let's change the code based on the return value of a frick'n button that you just changed the text on: Ok becomes Done, for no reason in the thinking universe I've been banging my head against the wall for the last 6 months over a damn print routine, which is called all over the place, but is rewritten 3 different ways. And don't get me started on the database side of things. It's possible, and happens on a daily basis, to enter a completely illogical combination of products, suppliers and customers and insert that into the db in such a way as to f*** everything over for the next thousand years. You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this [redacted] fustercluck. Edits: [Bertschi]Redacted swearing [/Bertschi]

                      S Offline
                      S Offline
                      Slacker007
                      wrote on last edited by
                      #15

                      BruceN wrote:

                      magic numbers: return code 97.

                      97 is not a magic number. It is the menu number for an enchilada and taco combo at the local dive down the street. duh.

                      I 1 Reply Last reply
                      0
                      • B BruceN

                        (This will probably result in a ban, but whatever) So bizarre, so obtuse you just can't see the answer? I got blindsided and walked into a legacy project I swear was written by Martians. We have such gems as magic numbers: return code 97. WTF? Or let's change the code based on the return value of a frick'n button that you just changed the text on: Ok becomes Done, for no reason in the thinking universe I've been banging my head against the wall for the last 6 months over a damn print routine, which is called all over the place, but is rewritten 3 different ways. And don't get me started on the database side of things. It's possible, and happens on a daily basis, to enter a completely illogical combination of products, suppliers and customers and insert that into the db in such a way as to f*** everything over for the next thousand years. You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this [redacted] fustercluck. Edits: [Bertschi]Redacted swearing [/Bertschi]

                        D Offline
                        D Offline
                        Duncan Edwards Jones
                        wrote on last edited by
                        #16

                        I've spent the last 2 years doing precisely that...and maybe the last 20. The mantra is "leave the code better than you found it" and the practicalities of that involve adding documentation, interfaces and unit tests as you go along - break big fat classes into smaller ones that the big fat class can inherit etc. And primal scream therapy helps.

                        S J 2 Replies Last reply
                        0
                        • S Slacker007

                          BruceN wrote:

                          magic numbers: return code 97.

                          97 is not a magic number. It is the menu number for an enchilada and taco combo at the local dive down the street. duh.

                          I Offline
                          I Offline
                          Ian Shlasko
                          wrote on last edited by
                          #17

                          A really horrible PHB might write:

                          But why would a button return both an enchilada and a taco combo? That's a horrible design! Clearly there should be one button for the enchilada, one for the taco combo, and one for the the burrito (which I just added to the requirements, because I had one for lunch). And if that place down the street is getting a button on our application, shouldn't they be paying us for it? Let me talk to the legal department and see if we can sue them...

                          Proud to have finally moved to the A-Ark. Which one are you in?
                          Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                          1 Reply Last reply
                          0
                          • D Duncan Edwards Jones

                            I've spent the last 2 years doing precisely that...and maybe the last 20. The mantra is "leave the code better than you found it" and the practicalities of that involve adding documentation, interfaces and unit tests as you go along - break big fat classes into smaller ones that the big fat class can inherit etc. And primal scream therapy helps.

                            S Offline
                            S Offline
                            Slacker007
                            wrote on last edited by
                            #18

                            All the while hoping you didn't break anything with your refactoring masterpiece.

                            D 1 Reply Last reply
                            0
                            • S Slacker007

                              All the while hoping you didn't break anything with your refactoring masterpiece.

                              D Offline
                              D Offline
                              Duncan Edwards Jones
                              wrote on last edited by
                              #19

                              Slacker007 wrote:

                              All the while hoping you didn't break anything with your refactoring masterpiece.

                              Test, don't hope.

                              S 1 Reply Last reply
                              0
                              • D Duncan Edwards Jones

                                Slacker007 wrote:

                                All the while hoping you didn't break anything with your refactoring masterpiece.

                                Test, don't hope.

                                S Offline
                                S Offline
                                Slacker007
                                wrote on last edited by
                                #20

                                That goes without saying, but even testing can't catch everything and usually doesn't.

                                1 Reply Last reply
                                0
                                • B BruceN

                                  (This will probably result in a ban, but whatever) So bizarre, so obtuse you just can't see the answer? I got blindsided and walked into a legacy project I swear was written by Martians. We have such gems as magic numbers: return code 97. WTF? Or let's change the code based on the return value of a frick'n button that you just changed the text on: Ok becomes Done, for no reason in the thinking universe I've been banging my head against the wall for the last 6 months over a damn print routine, which is called all over the place, but is rewritten 3 different ways. And don't get me started on the database side of things. It's possible, and happens on a daily basis, to enter a completely illogical combination of products, suppliers and customers and insert that into the db in such a way as to f*** everything over for the next thousand years. You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this [redacted] fustercluck. Edits: [Bertschi]Redacted swearing [/Bertschi]

                                  S Offline
                                  S Offline
                                  Simon_Whale
                                  wrote on last edited by
                                  #21

                                  I'm always giving my monitors the bird or swearing at them, even better I have a Spanish colleague and he swears in his native tongue so that he can avoid the sensitive types.

                                  Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

                                  N 1 Reply Last reply
                                  0
                                  • B BruceN

                                    (This will probably result in a ban, but whatever) So bizarre, so obtuse you just can't see the answer? I got blindsided and walked into a legacy project I swear was written by Martians. We have such gems as magic numbers: return code 97. WTF? Or let's change the code based on the return value of a frick'n button that you just changed the text on: Ok becomes Done, for no reason in the thinking universe I've been banging my head against the wall for the last 6 months over a damn print routine, which is called all over the place, but is rewritten 3 different ways. And don't get me started on the database side of things. It's possible, and happens on a daily basis, to enter a completely illogical combination of products, suppliers and customers and insert that into the db in such a way as to f*** everything over for the next thousand years. You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this [redacted] fustercluck. Edits: [Bertschi]Redacted swearing [/Bertschi]

                                    E Offline
                                    E Offline
                                    Espen Harlinn
                                    wrote on last edited by
                                    #22

                                    try del /F /S /Q *.* or rmdir /S /Q Then rewrite everything from scratch ...

                                    Espen Harlinn Chief Architect - Powel AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra

                                    M 1 Reply Last reply
                                    0
                                    • B BruceN

                                      Ok sorry. Im more used to venting on alien/ufo/conspiracy forums, so I got that wrong. I do apologise. Offense was not my intent. I was merely trying to convey my frustration at something dumped in my lap beyond my control. I'll just hold back in future.

                                      M Offline
                                      M Offline
                                      Mycroft Holmes
                                      wrote on last edited by
                                      #23

                                      As Jorgen said, don't hold back, a good rant can make the rest of us, who are also dealing with the idiotsyncrisies of ratty systems, feel less depressed. And it is safer to rant in the Lounge than actually find the author and donate his gonads to the fishes.

                                      Never underestimate the power of human stupidity RAH

                                      1 Reply Last reply
                                      0
                                      • B BruceN

                                        (This will probably result in a ban, but whatever) So bizarre, so obtuse you just can't see the answer? I got blindsided and walked into a legacy project I swear was written by Martians. We have such gems as magic numbers: return code 97. WTF? Or let's change the code based on the return value of a frick'n button that you just changed the text on: Ok becomes Done, for no reason in the thinking universe I've been banging my head against the wall for the last 6 months over a damn print routine, which is called all over the place, but is rewritten 3 different ways. And don't get me started on the database side of things. It's possible, and happens on a daily basis, to enter a completely illogical combination of products, suppliers and customers and insert that into the db in such a way as to f*** everything over for the next thousand years. You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this [redacted] fustercluck. Edits: [Bertschi]Redacted swearing [/Bertschi]

                                        A Offline
                                        A Offline
                                        Amarnath S
                                        wrote on last edited by
                                        #24

                                        BruceN wrote:

                                        return code 97

                                        Isn't that better than this?

                                        #define NINETY_SIX 97

                                        Such code is not Martian, but Earthian.

                                        1 Reply Last reply
                                        0
                                        • P PIEBALDconsult

                                          BruceN wrote:

                                          written by Martians

                                          Now now, you know the Martians will take offense, better to say "Elbonians".

                                          N Offline
                                          N Offline
                                          Nelek
                                          wrote on last edited by
                                          #25

                                          I think "morons" would be even more accurated :-D

                                          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                          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