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. What dumb thing have you done today?

What dumb thing have you done today?

Scheduled Pinned Locked Moved The Lounge
c++comdebuggingarchitecturequestion
67 Posts 46 Posters 5 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.
  • E Ennis Ray Lynch Jr

    I misspelled Ammendment Actually the spelling error was a few weeks ago. Today was spent replacing every class, reference and text reference under source control with the correct spelling. It really didn't take more than about 10 minutes but man were there a lot of references.

    Need custom software developed? I do C# development and consulting all over the United States.
    If you don't ask questions the answers won't stand in your way.
    Doing a job is like selecting a mule, you can't choose just the front half xor the back half so when you ask me to do a job don't expect me to do it half-assed.

    L Offline
    L Offline
    leppie
    wrote on last edited by
    #42

    That is one of my pet peeves, incorrect spelling in a database.

    xacc.ide - now with TabsToSpaces support
    IronScheme - 1.0 beta 2 - out now!
    ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

    M 1 Reply Last reply
    0
    • realJSOPR realJSOP

      Reviewed the articles waiting for approval...

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #43

      When will you ever learn? :rolleyes:

      xacc.ide - now with TabsToSpaces support
      IronScheme - 1.0 beta 2 - out now!
      ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

      1 Reply Last reply
      0
      • C Chris Maunder

        Me: upload a web.config with debug = "true" :doh:

        cheers, Chris Maunder

        CodeProject.com : C++ MVP

        E Offline
        E Offline
        El Corazon
        wrote on last edited by
        #44

        showed up for work and talked with CLK.

        _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Proudly folding for Team Code Project!! and Keeping "Team Lavaboy" at bay since 2009-02-04

        R L 2 Replies Last reply
        0
        • E El Corazon

          showed up for work and talked with CLK.

          _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Proudly folding for Team Code Project!! and Keeping "Team Lavaboy" at bay since 2009-02-04

          R Offline
          R Offline
          Roger Wright
          wrote on last edited by
          #45

          El Corazon wrote:

          talked with CLK.

          You work with Martin's third cousin, Chuck? Wow! ;P

          "A Journey of a Thousand Rest Stops Begins with a Single Movement"

          1 Reply Last reply
          0
          • B Bassam Saoud

            I went to work.

            M Offline
            M Offline
            Mustafa Ismail Mustafa
            wrote on last edited by
            #46

            Well look who decided to come back and post to the site! :D Keefak?

            Don't forget to vote if the response was helpful


            Sig history "dad" Ishmail-Samuel Mustafa Unix is a Four Letter Word, and Vi is a Two Letter Abbreviation

            B 1 Reply Last reply
            0
            • T ToddHileHoffer

              I always leave debug = "true". I get better error messages from my error handler if it is set to true. 99% of the time I get the exact line number of code that caused an exception.

              I didn't get any requirements for the signature

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #47

              It does not help performance on a site like CP though :)

              xacc.ide - now with TabsToSpaces support
              IronScheme - 1.0 beta 2 - out now!
              ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

              1 Reply Last reply
              0
              • E El Corazon

                showed up for work and talked with CLK.

                _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Proudly folding for Team Code Project!! and Keeping "Team Lavaboy" at bay since 2009-02-04

                L Offline
                L Offline
                leppie
                wrote on last edited by
                #48

                I guess I'll be doing the same today...

                xacc.ide - now with TabsToSpaces support
                IronScheme - 1.0 beta 2 - out now!
                ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                1 Reply Last reply
                0
                • M Mustafa Ismail Mustafa

                  Well look who decided to come back and post to the site! :D Keefak?

                  Don't forget to vote if the response was helpful


                  Sig history "dad" Ishmail-Samuel Mustafa Unix is a Four Letter Word, and Vi is a Two Letter Abbreviation

                  B Offline
                  B Offline
                  Bassam Saoud
                  wrote on last edited by
                  #49

                  Habibi Khayi abou steif. I am very busy these days bro, but I always find time for CP:)

                  M 1 Reply Last reply
                  0
                  • C Chris Maunder

                    Me: upload a web.config with debug = "true" :doh:

                    cheers, Chris Maunder

                    CodeProject.com : C++ MVP

                    R Offline
                    R Offline
                    Roger Wright
                    wrote on last edited by
                    #50

                    I didn't do it today, but the result showed up this morning. Months ago, when I was designing a new substation, I took elements of other designs and adopted them for this station, especially areas in which I have no training or experience - steel and concrete, in particular. Having a perfectly functional substation at hand a few miles away that uses similar steel structures, I made the assumption that similar foundations would be adequate. Wrong. It rained more this past week than in the previous two years combined. This morning one of the linemen went down to the site to check on things and reported that one corner had subsided about a foot from its origianal elevation and the whole structure is now skewed. I can't verify it, since I don't have a vehicle capable of reaching the site until the ground dries out considerably, but this individual is known to look at things darkly. It may not be that large a problem, but I won't know until I can get out there with a laser and shoot some bearings and levels. But it's a worry. Fortunately the boss is in DC, attending some conference with the new administration there about energy policy and tribal resources, so I don't have him here jumping up and down in a panic. One thing you never want to do is inform your boss of a problem without having a solution in the other hand. Even if he doesn't like it, it's far better to have something to present than to appear empty handed... makes him feel like he's got to solve it, and nobody wants that. Since the individual piers are only about 3000 lbs (7' deep x 2' dia.) I'll propose that we excavate the problem child with a backhoe, lift and reposition it with a line truck hoist, and backfill with rock. Then we'll bond the piers together in pairs with concrete pads, 4' x 20' by 2' deep that completely encase the top 2' of two piers in each pad. That will reduce the soil bearing load from about 1275 psf to only 350 psf, which should be easily carried by even this nasty clay soil. Of course the linemen will hate on me for it, since they'll have to take apart most of what they built a couple of weeks ago to make this work. They don't seem to realize that the boss spends a lot of time trying to think of things for them to do, rather than lay a couple off. I'm just doing my part to help keep them employed. :-D Dumb? Yeah. It was dumb to allow the boss to direct me to do something I'm totally unqualified by training and experience to do. It was dumb to put up with him refusing to review the design, and him dema

                    G 1 Reply Last reply
                    0
                    • B Bassam Saoud

                      Habibi Khayi abou steif. I am very busy these days bro, but I always find time for CP:)

                      M Offline
                      M Offline
                      Mustafa Ismail Mustafa
                      wrote on last edited by
                      #51

                      Ahlan habibi :) Busy, yeah, the story of a dev's life!

                      Don't forget to vote if the response was helpful


                      Sig history "dad" Ishmail-Samuel Mustafa Unix is a Four Letter Word, and Vi is a Two Letter Abbreviation

                      1 Reply Last reply
                      0
                      • realJSOPR realJSOP

                        Reviewed the articles waiting for approval...

                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                        -----
                        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                        N Offline
                        N Offline
                        NormDroid
                        wrote on last edited by
                        #52

                        :laugh: yeah, you must have tolerence, because I gave up reviewing a long time ago.

                        Software Kinetics - Moving software

                        1 Reply Last reply
                        0
                        • L leppie

                          That is one of my pet peeves, incorrect spelling in a database.

                          xacc.ide - now with TabsToSpaces support
                          IronScheme - 1.0 beta 2 - out now!
                          ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

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

                          just tried red-gates smart replaced to change a field/column name, admittedly on a small DB under development. Works fine EXCEPT for dynamic code.

                          Never underestimate the power of human stupidity RAH

                          L 1 Reply Last reply
                          0
                          • C Chris Maunder

                            Me: upload a web.config with debug = "true" :doh:

                            cheers, Chris Maunder

                            CodeProject.com : C++ MVP

                            L Offline
                            L Offline
                            Luca Leonardo Scorcia
                            wrote on last edited by
                            #54

                            Left my shiny new notebook in the car while I was buying some bread. Twelve minutes later I found someone broke the window, reclined the backseat and stole the notebook bag. Luckily it was covered by insurance...

                            Luca The Price of Freedom is Eternal Vigilance. -- Wing Commander IV En Það Besta Sem Guð Hefur Skapað, Er Nýr Dagur. (But the best thing God has created, is a New Day.) -- Sigur Ròs - Viðrar vel til loftárása

                            1 Reply Last reply
                            0
                            • realJSOPR realJSOP

                              Reviewed the articles waiting for approval...

                              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                              -----
                              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                              P Offline
                              P Offline
                              peterchen
                              wrote on last edited by
                              #55

                              We now also offer counceling, you know...

                              Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

                              1 Reply Last reply
                              0
                              • C Chris Maunder

                                Me: upload a web.config with debug = "true" :doh:

                                cheers, Chris Maunder

                                CodeProject.com : C++ MVP

                                B Offline
                                B Offline
                                BillWoodruff
                                wrote on last edited by
                                #56

                                I looked in the mirror. best, Bill

                                "Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  Me: upload a web.config with debug = "true" :doh:

                                  cheers, Chris Maunder

                                  CodeProject.com : C++ MVP

                                  H Offline
                                  H Offline
                                  Howard Richards
                                  wrote on last edited by
                                  #57

                                  Not today.. but a couple of weeks ago I wrote an email-reading routine that copies emails into a database table.. except I forgot the dataContext.Emails.InsertOnSubmit(newEmail); I did remember the dataContext.SubmitChanges() but that's not much use.

                                  'Howard

                                  1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    Me: upload a web.config with debug = "true" :doh:

                                    cheers, Chris Maunder

                                    CodeProject.com : C++ MVP

                                    T Offline
                                    T Offline
                                    Thomas Vanderhoof
                                    wrote on last edited by
                                    #58

                                    This was a couple of weeks ago, but well worth mentioning. I made a loop to show all of the running processes, and later added code inside the loop to kill a specific process, but I put not equal to rather than equal to. I ran the code and my computer instantly powered off with no shutdown because I killed all processes except the one I meant to kill.

                                    1 Reply Last reply
                                    0
                                    • C Chris Maunder

                                      Me: upload a web.config with debug = "true" :doh:

                                      cheers, Chris Maunder

                                      CodeProject.com : C++ MVP

                                      F Offline
                                      F Offline
                                      Fabio Franco
                                      wrote on last edited by
                                      #59

                                      Spent one hour reading the code project Daily News (including this thread) instead of meeting my deadline. :doh:

                                      1 Reply Last reply
                                      0
                                      • M martin_hughes

                                        Well nothing that daft - I mean, who does? - but I did get into an argument with a tin of corned beef and ended up with several severely lacerated fingers. Bloody key broke halfway around the tin leaving jagged metal edges of just the right sort of jaggedness for causing GBH. What is it with corned beef tins and their stupid trapezoid shape, anyway? What other food products come in trapezoid tins? I'll you, none. Do you know why? Because it's a bloody stupid shape for a tin, that's why. And what about if the key breaks? What ordinarily equipped kitchen has a tool to deal with a trapezoid shaped can with a broken key? I'll tell you, no kitchen has that. So did I get my corned beef sandwich? Well it was just fortune enough for me that after five minutes of bleeding all over the place I hit upon the idea of using a hammer and chisel to open the damned thing. The corned beef turned out to a little bit rare given the addition of my blood into the mix, but by that time I would have eaten just about anything.

                                        print "http://www.codeproject.com".toURL().text Ain't that Groovy?

                                        S Offline
                                        S Offline
                                        Steve Dubyo
                                        wrote on last edited by
                                        #60

                                        martin_hughes wrote:

                                        What is it with corned beef tins and their stupid trapezoid shape, anyway?

                                        I think it makes it easy to remove the beef and allows you to put the "lid" back on if you only use half. In this day and age though there must be a better solution. I too have often ended up with a mangled half open tin and blood all over the place. Feel your pain !

                                        ;-]

                                        1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          Me: upload a web.config with debug = "true" :doh:

                                          cheers, Chris Maunder

                                          CodeProject.com : C++ MVP

                                          T Offline
                                          T Offline
                                          Theodore M Seeber
                                          wrote on last edited by
                                          #61

                                          Forgot my keycard when I was supposed to be at work early- now I'll have to work an additional 15 minutes into lunch to make up for it.

                                          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