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. I ran my colleague's code - should I get fired?

I ran my colleague's code - should I get fired?

Scheduled Pinned Locked Moved The Lounge
csharpasp-netsysadminhelpquestion
24 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.
  • P phannon86

    ^This! If he's calling you out and spouting (what is apparently) incorrect infront of co-workers and bosses in an email, a great thing to do would be replying to all, giving both sides of the story, in a completely reasoned and calm manner.

    He who makes a beast out of himself gets rid of the pain of being a man

    C Offline
    C Offline
    Caslen
    wrote on last edited by
    #15

    Nothing winds a hothead up more than a calm reasoned reply, they have absolutely no answer to it - go for it!

    1 Reply Last reply
    0
    • H harleydk

      Hey guys, would love your two cents on this. Being the careful guy that I am, I need som pointers to figure out if I've been the victim of a cross over-reaction (my own estimate) or if I should start getting my act together (always a possiblity). The short version: I'm in a minitry of education government stats department. We're three asp.net guys who churn out various web-surveys for the schools to fill out. Recently we went public with one particular survey. Being the ever curious and eager to learn individual, I thought I'd take a look at the code behind it. This is the day after it's gone public. One reason being that I'd recently been put to the task of supporting another guy's project when he was unforseenably away, and I anticipated that situation might creep up again, that I'd have to support this one too. Another reason being that I simply like to look at other people's code, to try and learn something new. In this case, alas, not so much new stuff had gone into it. I say 'new', because I wrote the bulk of the code myself, before a brief last-year hiatus which saw this guy, we'll call him 'Lars', take over. So I export the code from the SubVersion repository. I didn't check it out - only exported it. Any changes won't be persisted back into the repository. And I ran it. Guilty as charged. I took a look at the default.aspx, went a bit further from there, nothing serious, application or server-threatning c# stuff going on here, let's fire this one up and see how it looks... Nope, stops with a error - some server controls dll missing. I had originally authored some server controls to go with the project, but in my youth's inexperience I included these not in a seperate project to be referenced but as stand-alone must-be-compiled-seperately. Would do that differently now, but anyways, I put it down because I had other things to attend to. Alas, the web.config healthmonitoring has dispatched an e-mail to Lars, informing him of the run-time error. And 'Lars' goes ape-shit. He send an e-mail to yours truly, CC three bosses and all of my co-workers, lambasting me for running his code. Heck, I thought all the code we wrote was 'ours'. I'm judged irresponsible (quote "you don't know what you're dealing with, you could've done serious damage to a project in production") for checking out the code (wrong) and running it (true). His argument - and, I suspect, his justification behind CC'ing pretty much everybody I know - is that the crime is severe because the code is in production now. I

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

      Hi Morten, Sorry to hear you're going through this ! Companies I worked at before (like Adobe) had specific legal language in the contract that specifically said whether you had access to source or not; in my case I chose the option not to have access to the source code for PostScript figuring it was in my long-range interests not to. You may have already "written this job off," or decided it's best you leave, or it may be too late for you to do anything, but the only constructive idea I can come up with is the idea to try and arrange asap a face-to-face with you, the "ranting party," his manager, and your manager. My suggestion would be to try and take "situational control" of the meeting by : 1. immediately : when everyone's there : announce firmly that you called this meeting because you first wish to apologize for the stress and discomfort caused to "ranting party" which, you now realize, while unintended, on your part, has upset many other people. 2. second, hopefully before anyone can interrupt you, say that your intention was in what you thought was the best technical interests of the company, and that you are not aware of anything in your employment agreement that specifically prohibited you from doing what you were doing. and then you can mention the facts you've presented here about the fact you knew much of the code was your own, you were concerned about a few issues that might result from what you now understand was some issues in YOUR code rather than the code of "ranting party," (this, in Thai, would be called "giving face"). 3. if you've gotten this far without being shouted down or whatever : just say with quiet dignity : now I want to listen respectfully to what you have to say. Well, such things are easy for me to write, but I know "reality" doesn't pour into such containers of fantasy so fluidly. Good luck ! 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
      • H harleydk

        Hey guys, would love your two cents on this. Being the careful guy that I am, I need som pointers to figure out if I've been the victim of a cross over-reaction (my own estimate) or if I should start getting my act together (always a possiblity). The short version: I'm in a minitry of education government stats department. We're three asp.net guys who churn out various web-surveys for the schools to fill out. Recently we went public with one particular survey. Being the ever curious and eager to learn individual, I thought I'd take a look at the code behind it. This is the day after it's gone public. One reason being that I'd recently been put to the task of supporting another guy's project when he was unforseenably away, and I anticipated that situation might creep up again, that I'd have to support this one too. Another reason being that I simply like to look at other people's code, to try and learn something new. In this case, alas, not so much new stuff had gone into it. I say 'new', because I wrote the bulk of the code myself, before a brief last-year hiatus which saw this guy, we'll call him 'Lars', take over. So I export the code from the SubVersion repository. I didn't check it out - only exported it. Any changes won't be persisted back into the repository. And I ran it. Guilty as charged. I took a look at the default.aspx, went a bit further from there, nothing serious, application or server-threatning c# stuff going on here, let's fire this one up and see how it looks... Nope, stops with a error - some server controls dll missing. I had originally authored some server controls to go with the project, but in my youth's inexperience I included these not in a seperate project to be referenced but as stand-alone must-be-compiled-seperately. Would do that differently now, but anyways, I put it down because I had other things to attend to. Alas, the web.config healthmonitoring has dispatched an e-mail to Lars, informing him of the run-time error. And 'Lars' goes ape-shit. He send an e-mail to yours truly, CC three bosses and all of my co-workers, lambasting me for running his code. Heck, I thought all the code we wrote was 'ours'. I'm judged irresponsible (quote "you don't know what you're dealing with, you could've done serious damage to a project in production") for checking out the code (wrong) and running it (true). His argument - and, I suspect, his justification behind CC'ing pretty much everybody I know - is that the crime is severe because the code is in production now. I

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

        hi harley, go with the reply mail of Mark Wallace. its rational and logical.

        Ravie Busie Coding is my birth-right and bugs are part of feature my code has!

        1 Reply Last reply
        0
        • H harleydk

          Hey guys, would love your two cents on this. Being the careful guy that I am, I need som pointers to figure out if I've been the victim of a cross over-reaction (my own estimate) or if I should start getting my act together (always a possiblity). The short version: I'm in a minitry of education government stats department. We're three asp.net guys who churn out various web-surveys for the schools to fill out. Recently we went public with one particular survey. Being the ever curious and eager to learn individual, I thought I'd take a look at the code behind it. This is the day after it's gone public. One reason being that I'd recently been put to the task of supporting another guy's project when he was unforseenably away, and I anticipated that situation might creep up again, that I'd have to support this one too. Another reason being that I simply like to look at other people's code, to try and learn something new. In this case, alas, not so much new stuff had gone into it. I say 'new', because I wrote the bulk of the code myself, before a brief last-year hiatus which saw this guy, we'll call him 'Lars', take over. So I export the code from the SubVersion repository. I didn't check it out - only exported it. Any changes won't be persisted back into the repository. And I ran it. Guilty as charged. I took a look at the default.aspx, went a bit further from there, nothing serious, application or server-threatning c# stuff going on here, let's fire this one up and see how it looks... Nope, stops with a error - some server controls dll missing. I had originally authored some server controls to go with the project, but in my youth's inexperience I included these not in a seperate project to be referenced but as stand-alone must-be-compiled-seperately. Would do that differently now, but anyways, I put it down because I had other things to attend to. Alas, the web.config healthmonitoring has dispatched an e-mail to Lars, informing him of the run-time error. And 'Lars' goes ape-shit. He send an e-mail to yours truly, CC three bosses and all of my co-workers, lambasting me for running his code. Heck, I thought all the code we wrote was 'ours'. I'm judged irresponsible (quote "you don't know what you're dealing with, you could've done serious damage to a project in production") for checking out the code (wrong) and running it (true). His argument - and, I suspect, his justification behind CC'ing pretty much everybody I know - is that the crime is severe because the code is in production now. I

          H Offline
          H Offline
          harleydk
          wrote on last edited by
          #18

          Hello everyone, many thanks for your valuable input, I really appreciate it. You've offered a lot of insight. Especially the thing about checking in production connectionstrings, which is a practice here - for no other reason than the small size of the projects. Being practice, I've never considered not doing this, but your arguments to the contrary have made me reconsider. I'll personally implement a test/production environment from here onwards, running my stuff of a local sql server express before moving into production - and do a build which will only run on the production database if the machine is the production server. A valuable eye-opener, which will also ensure I won't run into this sort of mess again. Truly, thanks a lot. /Morten

          1 Reply Last reply
          0
          • H harleydk

            Hey guys, would love your two cents on this. Being the careful guy that I am, I need som pointers to figure out if I've been the victim of a cross over-reaction (my own estimate) or if I should start getting my act together (always a possiblity). The short version: I'm in a minitry of education government stats department. We're three asp.net guys who churn out various web-surveys for the schools to fill out. Recently we went public with one particular survey. Being the ever curious and eager to learn individual, I thought I'd take a look at the code behind it. This is the day after it's gone public. One reason being that I'd recently been put to the task of supporting another guy's project when he was unforseenably away, and I anticipated that situation might creep up again, that I'd have to support this one too. Another reason being that I simply like to look at other people's code, to try and learn something new. In this case, alas, not so much new stuff had gone into it. I say 'new', because I wrote the bulk of the code myself, before a brief last-year hiatus which saw this guy, we'll call him 'Lars', take over. So I export the code from the SubVersion repository. I didn't check it out - only exported it. Any changes won't be persisted back into the repository. And I ran it. Guilty as charged. I took a look at the default.aspx, went a bit further from there, nothing serious, application or server-threatning c# stuff going on here, let's fire this one up and see how it looks... Nope, stops with a error - some server controls dll missing. I had originally authored some server controls to go with the project, but in my youth's inexperience I included these not in a seperate project to be referenced but as stand-alone must-be-compiled-seperately. Would do that differently now, but anyways, I put it down because I had other things to attend to. Alas, the web.config healthmonitoring has dispatched an e-mail to Lars, informing him of the run-time error. And 'Lars' goes ape-shit. He send an e-mail to yours truly, CC three bosses and all of my co-workers, lambasting me for running his code. Heck, I thought all the code we wrote was 'ours'. I'm judged irresponsible (quote "you don't know what you're dealing with, you could've done serious damage to a project in production") for checking out the code (wrong) and running it (true). His argument - and, I suspect, his justification behind CC'ing pretty much everybody I know - is that the crime is severe because the code is in production now. I

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #19

            Beware of developers who don't want you looking at their code. The team should have frequent code reviews -- especially before things go into production.

            1 Reply Last reply
            0
            • H harleydk

              Hey guys, would love your two cents on this. Being the careful guy that I am, I need som pointers to figure out if I've been the victim of a cross over-reaction (my own estimate) or if I should start getting my act together (always a possiblity). The short version: I'm in a minitry of education government stats department. We're three asp.net guys who churn out various web-surveys for the schools to fill out. Recently we went public with one particular survey. Being the ever curious and eager to learn individual, I thought I'd take a look at the code behind it. This is the day after it's gone public. One reason being that I'd recently been put to the task of supporting another guy's project when he was unforseenably away, and I anticipated that situation might creep up again, that I'd have to support this one too. Another reason being that I simply like to look at other people's code, to try and learn something new. In this case, alas, not so much new stuff had gone into it. I say 'new', because I wrote the bulk of the code myself, before a brief last-year hiatus which saw this guy, we'll call him 'Lars', take over. So I export the code from the SubVersion repository. I didn't check it out - only exported it. Any changes won't be persisted back into the repository. And I ran it. Guilty as charged. I took a look at the default.aspx, went a bit further from there, nothing serious, application or server-threatning c# stuff going on here, let's fire this one up and see how it looks... Nope, stops with a error - some server controls dll missing. I had originally authored some server controls to go with the project, but in my youth's inexperience I included these not in a seperate project to be referenced but as stand-alone must-be-compiled-seperately. Would do that differently now, but anyways, I put it down because I had other things to attend to. Alas, the web.config healthmonitoring has dispatched an e-mail to Lars, informing him of the run-time error. And 'Lars' goes ape-shit. He send an e-mail to yours truly, CC three bosses and all of my co-workers, lambasting me for running his code. Heck, I thought all the code we wrote was 'ours'. I'm judged irresponsible (quote "you don't know what you're dealing with, you could've done serious damage to a project in production") for checking out the code (wrong) and running it (true). His argument - and, I suspect, his justification behind CC'ing pretty much everybody I know - is that the crime is severe because the code is in production now. I

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

              I would probably go with Mark Wallace's response. From your side, it sounds like Lars is trying to bully you and thinks that you need to be put in your place. A carefully worded reply, including the bosses, would tend to put him in his place and show the bosses that you have a professional attitude rather than the immature and totally unprofessional situation that this caused.

              Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns Help humanity, join the CodeProject grid computing team here

              1 Reply Last reply
              0
              • H harleydk

                Hey guys, would love your two cents on this. Being the careful guy that I am, I need som pointers to figure out if I've been the victim of a cross over-reaction (my own estimate) or if I should start getting my act together (always a possiblity). The short version: I'm in a minitry of education government stats department. We're three asp.net guys who churn out various web-surveys for the schools to fill out. Recently we went public with one particular survey. Being the ever curious and eager to learn individual, I thought I'd take a look at the code behind it. This is the day after it's gone public. One reason being that I'd recently been put to the task of supporting another guy's project when he was unforseenably away, and I anticipated that situation might creep up again, that I'd have to support this one too. Another reason being that I simply like to look at other people's code, to try and learn something new. In this case, alas, not so much new stuff had gone into it. I say 'new', because I wrote the bulk of the code myself, before a brief last-year hiatus which saw this guy, we'll call him 'Lars', take over. So I export the code from the SubVersion repository. I didn't check it out - only exported it. Any changes won't be persisted back into the repository. And I ran it. Guilty as charged. I took a look at the default.aspx, went a bit further from there, nothing serious, application or server-threatning c# stuff going on here, let's fire this one up and see how it looks... Nope, stops with a error - some server controls dll missing. I had originally authored some server controls to go with the project, but in my youth's inexperience I included these not in a seperate project to be referenced but as stand-alone must-be-compiled-seperately. Would do that differently now, but anyways, I put it down because I had other things to attend to. Alas, the web.config healthmonitoring has dispatched an e-mail to Lars, informing him of the run-time error. And 'Lars' goes ape-shit. He send an e-mail to yours truly, CC three bosses and all of my co-workers, lambasting me for running his code. Heck, I thought all the code we wrote was 'ours'. I'm judged irresponsible (quote "you don't know what you're dealing with, you could've done serious damage to a project in production") for checking out the code (wrong) and running it (true). His argument - and, I suspect, his justification behind CC'ing pretty much everybody I know - is that the crime is severe because the code is in production now. I

                S Offline
                S Offline
                Single Step Debugger
                wrote on last edited by
                #21

                Putting CC to his manager in this case is OK, but CC to entire company is hysteria. Explain the situation to YOUR manager using the facts and the facts only and forget about the case – shits happen. Also ask your manager if he wants you to send a response to the other managers involved in the case from Lars. And Lars also needs to learn that there is subordination in the company.

                The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                H 1 Reply Last reply
                0
                • H harleydk

                  Hey guys, would love your two cents on this. Being the careful guy that I am, I need som pointers to figure out if I've been the victim of a cross over-reaction (my own estimate) or if I should start getting my act together (always a possiblity). The short version: I'm in a minitry of education government stats department. We're three asp.net guys who churn out various web-surveys for the schools to fill out. Recently we went public with one particular survey. Being the ever curious and eager to learn individual, I thought I'd take a look at the code behind it. This is the day after it's gone public. One reason being that I'd recently been put to the task of supporting another guy's project when he was unforseenably away, and I anticipated that situation might creep up again, that I'd have to support this one too. Another reason being that I simply like to look at other people's code, to try and learn something new. In this case, alas, not so much new stuff had gone into it. I say 'new', because I wrote the bulk of the code myself, before a brief last-year hiatus which saw this guy, we'll call him 'Lars', take over. So I export the code from the SubVersion repository. I didn't check it out - only exported it. Any changes won't be persisted back into the repository. And I ran it. Guilty as charged. I took a look at the default.aspx, went a bit further from there, nothing serious, application or server-threatning c# stuff going on here, let's fire this one up and see how it looks... Nope, stops with a error - some server controls dll missing. I had originally authored some server controls to go with the project, but in my youth's inexperience I included these not in a seperate project to be referenced but as stand-alone must-be-compiled-seperately. Would do that differently now, but anyways, I put it down because I had other things to attend to. Alas, the web.config healthmonitoring has dispatched an e-mail to Lars, informing him of the run-time error. And 'Lars' goes ape-shit. He send an e-mail to yours truly, CC three bosses and all of my co-workers, lambasting me for running his code. Heck, I thought all the code we wrote was 'ours'. I'm judged irresponsible (quote "you don't know what you're dealing with, you could've done serious damage to a project in production") for checking out the code (wrong) and running it (true). His argument - and, I suspect, his justification behind CC'ing pretty much everybody I know - is that the crime is severe because the code is in production now. I

                  T Offline
                  T Offline
                  Todd Smith
                  wrote on last edited by
                  #22

                  Apologize immediately and then offer him a t-shirt[^] as an amends.

                  Todd Smith

                  H 1 Reply Last reply
                  0
                  • S Single Step Debugger

                    Putting CC to his manager in this case is OK, but CC to entire company is hysteria. Explain the situation to YOUR manager using the facts and the facts only and forget about the case – shits happen. Also ask your manager if he wants you to send a response to the other managers involved in the case from Lars. And Lars also needs to learn that there is subordination in the company.

                    The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                    H Offline
                    H Offline
                    harleydk
                    wrote on last edited by
                    #23

                    He didn't CC the entire company, thankfully, 'only' my colleagues in the tech-department. I've taken some time - a few weeks - to contemplate the episode, and I'm somewhat weary of taking it up with my boss now that time has passed. I should've reacted sooner, but I was kinda shocked and missed my opportunity. The more I hear from you guys, though, the more I'm convinced there's a valid case for a calm reply such as the one suggested by Mark (and thanks for that!). Thanks for your 2 cents, appreciate it.

                    1 Reply Last reply
                    0
                    • T Todd Smith

                      Apologize immediately and then offer him a t-shirt[^] as an amends.

                      Todd Smith

                      H Offline
                      H Offline
                      harleydk
                      wrote on last edited by
                      #24

                      That's rich! :-D I haven't the nerve to be upfront about it, but I suppose I could send him an anonymous gift! :D Good stuff :D

                      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