• wtf (unregistered) in reply to Silfax
    Silfax:
    Limiting the fix to the west was a good idea, after all, the only cities on the west coast are SEATTLE, SAN DIEGO, SAN FRANCISCO, and SOS ANGELES.

    And don't forget SORTLAND... where you can go for good coffee, beer, and sorting algorithms.

  • (cs) in reply to powerlord
    powerlord:
    It could be worse. He could have tried to write his own parser for NOAA's web service.
    Yup. We recently moved the devopment of a process that calls web service from a .Net team to an RPG team. While handing off the project, we eventually got to discussing how to call the web service. The conversation went like this:

    <us>: Here's the WSDL, the endpoint URL, and the authentication detials. <them>: We need to know what XML to send and what to expect back. <us>: Run the WSDL through your development tools, it will create a client proxy. <them>: ??? <us>: How are you going to call it? <them>: We plan to create an XML file on the fly and send it to the server, we will then save and parse the reply. We need a template of the request so that we can do a find-and-replace to create the outgoing request.

    This conversation happened in 2010. Ten seasoned developers didn't know a better way to call a web service and didn't understand why they shouldn't be doing what they were planning on doing. I never asked how they were going to parse the reply, but I'm certain it wouldn't involve XPath or even an XML library.

  • boog (unregistered) in reply to frits
    frits:
    tragomaskhalos:
    attempting to fix the symptom instead of the cause

    Isn't that how modern medicine works?

    Keen observation (and funny too). Not sure if I agree 100%, but I certainly don't disagree.

    On that note, my wife's a veterinarian, and sometimes animal medicine uses the trail-and-error method of today's article (although with a little more thought than Stefan was willing to employ). Primarily this is because our communication with animals is so limited; pets can't describe the situation to us. So instead, vets have to rely on the observations of the sometimes-brainless pet-owners. As a result, often times the only thing that a vet can do is try to treat the clinical signs.

    Sometimes it's hard to even determine the clinical signs (without expensive X-rays, blood tests, etc.), which makes it even more of a trial-and-error process. Consider this encounter that I just made up (which incidentally sounds much like a discussion between a programmer and a user reporting a bug):

    (An owner enters the exam room and sets a purring, fairly-content cat on the exam table.) "Fluffy isn't acting like herself." How so? "She's just acting different." Is she being aggressive? "No." Is she depressed? "No, she's just not right." Is she eating? "Yes, of course." How much does she eat every day? "I don't know, we just leave food out for her." So you don't know that she's even eating at all? "I guess not." Has she been using her litter box? "Of cours- wait, I guess I don't know that either." Has she been experiencing any pain? "I don't know." Well does she get mad when you pick her up? "Sometimes, but she's always like that." Ad nauseam.

    Note that at this point, the vet knows no more than she did when the owner walked through the front-door and said "this is my cat, Fluffy."

  • airdrik (unregistered) in reply to adfasdf
    adfasdf:
    DOA:
    ...the hell? Why didn't they make Stefan fix his shitty code? He's only going to go to the next job and pull the exact same crap. And then someone will have to rewrite everything or even worse, have to maintain his crap.

    And who the hell takes on people who utter "I don’t want to be labeled as programmer for the rest of my life", even as interns?

    Why would a company waste time/$$ making him fix it? It costs money to have a regular dev sit there to baby sit and hand hold him to fix it which may take who knows how long. I doubt that this was a paid internship so they may/may not be an added cost for no reason if he's just getting booted anyhow. According to the story, the real fix only took 5 minutes. Money saved imo.

    Companies don't provide internships expecting immediate payback - productivity from the interns and the developers set to manage them. They are opportunities for young developers who mostly have no real-world experience but have taken some programming/computer science classes to gain real-world experience under the tutelage of experienced developers. The hope is that the interns learn quickly and after they get their degree they can be hired on as full-time developers. Unfortunately, that wasn't the case with this particular intern.

    It looks like he was trying to practice TDD. He was given a test to satisfy and he satisfied it. When given a bug - a test case, he changed the code to satisfy it. Given another test case, he did similarly... I suppose the hope is that having enough test cases will eventually result in the truly correct implementation?

    • bug: San Francisco displays as "AN FRANCISCO" ** Fix: prepend all city names with "S"
    • bug: Boston displays as "SOSTON" ** Fix: Only prepend cities with "S" if they are on the west coast
    • bug: Boston displays as "OSTON" ** Fix: prepend cities on the east coast with "B"
    • bug: New York displays as "BEW YORK" ** Fix: replace "BEW" with "NEW" ... Hmm.. I guess this isn't really going the right direction is it.
  • Beta (unregistered) in reply to adfasdf
    adfasdf:

    Why would a company waste time/$$ making him fix it? It costs money to have a regular dev sit there to baby sit and hand hold him to fix it which may take who knows how long.

    Would you rather abort that project and leave him free to work on... SOMETHING ELSE? [DUHN DUHN DUHNNNNNN]

    Seriously, chewing over this code is the safest place to keep him, and it may have been cheaper and easier than dismissing him early.

  • (cs)

    I wonder why he didn't use a list of townes coming from a file and the compare Right(listitem, len(listitem)) with Right(weather, len(weather)).

    He could then also say that he was programming databases.

  • boog (unregistered) in reply to Rick
    Rick:
    Strategic Incompetence at its best. He did say he didn't want to be labeled as a programmer. Not to worry.
    How true. He has "project manager" written all over him! </cynicism>
  • Luis Espinal (unregistered) in reply to DOA
    DOA:
    ...the hell? Why didn't they make Stefan fix his shitty code? He's only going to go to the next job and pull the exact same crap. And then someone will have to rewrite everything or even worse, have to maintain his crap.

    And who the hell takes on people who utter "I don’t want to be labeled as programmer for the rest of my life", even as interns?

    Absolutely agree with you on this. It should not be up to Stephan's whether to get assistance or not. When shit gets completely broken (specially when it breaks like that right from the start), a person should be assign to assist or take over immediately.

    Jim (the manager of the story) must have thought he was doing this punk a favor, but in reality, he did not. I remember when I started working in this field, I was making a serious coding mistake, and I just couldn't see it (lack of experience combined with overconfidence and lack of sleep.)

    Thankfully (and despite the bruising that my ego took), my manager sat down next to me and explained to me what I was doing wrong, all the while reminding me that no matter how bad a deadline is, to keep a head cool and think/analyze before coding. That was one of the most important lessons that changed my professional life for the better.

    The intern in this story didn't get that. He needed to get his ego bruised with a cold dose of reality. Then either he should have been reminded to use basic software engineering and analytic skills or be fired immediately (some people actually need the later to grow in their careers or to realize they are in the wrong one.)

    You can't treat interns with latex gloves. Internship is their opportunity (probably the only one) to really learn what real life is like outside of a classroom. I don't mean that they need to be abused or exploited, but they need to be treated and measured according to their accomplishments and failings. Otherwise, the golden opportunity that internship is gets lost completely.

  • RBoy (unregistered) in reply to Yaos
    Yaos:
    He's not a real programmer, a real programmer will declare it fixed and any new bugs will be closed as "works on my computer".

    Better yet "Works as designed".

  • wtf (unregistered) in reply to Luis Espinal
    Luis Espinal:
    You can't treat interns with latex gloves.

    Come to think of it, I'd recommend latex gloves when you're dealing with someone whose head is this far up his ass...

  • Edward von Emacs, VI (unregistered) in reply to airdrik
    airdrik:
    adfasdf:
    DOA:
    ...the hell? Why didn't they make Stefan fix his shitty code? He's only going to go to the next job and pull the exact same crap. And then someone will have to rewrite everything or even worse, have to maintain his crap.

    And who the hell takes on people who utter "I don’t want to be labeled as programmer for the rest of my life", even as interns?

    Why would a company waste time/$$ making him fix it? It costs money to have a regular dev sit there to baby sit and hand hold him to fix it which may take who knows how long. I doubt that this was a paid internship so they may/may not be an added cost for no reason if he's just getting booted anyhow. According to the story, the real fix only took 5 minutes. Money saved imo.

    Companies don't provide internships expecting immediate payback - productivity from the interns and the developers set to manage them. They are opportunities for young developers who mostly have no real-world experience but have taken some programming/computer science classes to gain real-world experience under the tutelage of experienced developers. The hope is that the interns learn quickly and after they get their degree they can be hired on as full-time developers. Unfortunately, that wasn't the case with this particular intern.

    It looks like he was trying to practice TDD. He was given a test to satisfy and he satisfied it. When given a bug - a test case, he changed the code to satisfy it. Given another test case, he did similarly... I suppose the hope is that having enough test cases will eventually result in the truly correct implementation?

    • bug: San Francisco displays as "AN FRANCISCO" ** Fix: prepend all city names with "S"
    • bug: Boston displays as "SOSTON" ** Fix: Only prepend cities with "S" if they are on the west coast
    • bug: Boston displays as "OSTON" ** Fix: prepend cities on the east coast with "B"
    • bug: New York displays as "BEW YORK" ** Fix: replace "BEW" with "NEW" ... Hmm.. I guess this isn't really going the right direction is it.

    Yeah, I would have tried West to East first.

    This is a mistake I see often, especially when a database is involved. If you pick the wrong cardinal direction, how can you ever expect the database to have proper cardinality?

  • Ian Lewis (unregistered)

    I'm no Coldfusion fan but the intern's approach resembles quite a lot of the CF code I have to maintain at work.

    The old code inside template approach seen in Coldfusion just encourages messy programming. It isn't helped by the fact that so many of the CF programmers seemed to be dipping in and out with no overall plan.

    That said I'm also having to work with a set of PHP libraries written fairly recently by a guy here and they are the worst example of spaghetti code I've ever seen. Nothing links logically to anywhere else as it purports to follow the Strategy Pattern.

    We'll all have to cope with a degree of this kind of programming but the less the better.

    Ian aka electricowl

  • Ian Lewis (unregistered) in reply to Edward von Emacs, VI

    The first letter is missing. It's a consistent issue.

    The first thing is to investigate where the data domes from and then follow through and find where the letter gets lost.

    Going West to East is just a joke... you were joking I hope...

  • Must control fist of death (unregistered) in reply to boog
    boog:
    (which incidentally sounds much like a discussion between a programmer and a user reporting a bug):

    "this is my cat, Fluffy."

    Not just users. I had to deal with QA engineers who weren't much different.

    QA: The program crashed. Me: What was the error? QA: I don't remember. I didn't write it down. Me: What were you doing when it happened? QA: I was using the program. Me: What did you do right before it crashed? QA: I clicked the submit button. Me: And what steps had you taken up until that point? QA: I had just been using the program for a while. Me: How long? QA: A while. I don't remember for sure. Me: So, after using the program for a while, doing nothing in particular, with no repeatable steps, the program reported an error that you didn't record. QA: Right. Can you fix that?

  • (cs)
    <cfset weather = "S"&weather>
    SOSTON SHICAGO SIAMI SEW YORK SASHINGTON SAN DIEGO SAN FRANCISCO SAMPA ...
    A: How's the weather? B: SAN FRANCISCO. A: ...
  • PotatoEngineer (unregistered) in reply to parliament
    parliament:
    This is coldfusion code? Who thought it would be a good idea to use XML tags for loop constructs?!
    I have had the personal pleasure to work with an in-house XML-based language (based on Java). Let me assure you, the only thing more fun than setting up a loop in that language is doing an if-then-else construct, which requires a minimum of 5 lines for the IF (<if><condition><isEqual to="3" value="@thingum" /></condition></if>), two lines for the THEN(<then></then>), and two more lines for the ELSE.... (<else></else>)</great-heaping-mounds-of-sarcasm>
  • panto (unregistered) in reply to Don't know coldfusion

    weather = right(weather,len(weather)-4)

    I think this is the problem. I think he should have used "left" instead of right.

    IANAWP (IAAEP) - Yes one of those (STB's are my thing). :)

  • panto (unregistered) in reply to Don't know coldfusion
    Don't know coldfusion:
    So, can someone explain where the problem came from in the first place? I assume it's an off-by-one issue with listGetAt, but not knowing the ins and outs of coldfusion, I could be wrong...

    Sorry did not quote.

    He used left instead of right. So chopped the front of the string an not the end.

    As before. IANAWP,

  • Dude (unregistered) in reply to PotatoEngineer
    PotatoEngineer:
    parliament:
    This is coldfusion code? Who thought it would be a good idea to use XML tags for loop constructs?!
    I have had the personal pleasure to work with an in-house XML-based language (based on Java). Let me assure you, the only thing more fun than setting up a loop in that language is doing an if-then-else construct, which requires a minimum of 5 lines for the IF (<if><condition><isEqual to="3" value="@thingum" /></condition></if>), two lines for the THEN(<then></then>), and two more lines for the ELSE.... (<else></else>)</great-heaping-mounds-of-sarcasm>
    Not that I would write a language in XML, but if I were, I would have had the <then> part inside the <if> without any special tagging. <if> <condition> [conditions]... </condition> [actions]... <else (optional)>...</else> </if>
  • (cs)

    Maybe as a result of too many raves, and some concomitant enhancification by substance ingestion, his brain cells actually saw the letters which were off in a different universe (or a different plane of existence). So he didn't realize they were missing...

  • Anon (unregistered) in reply to airdrik
    airdrik:
    * bug: Boston displays as "OSTON" ** Fix: prepend cities on the east coast with "B" * bug: New York displays as "BEW YORK" ** Fix: replace "BEW" with "NEW" ...

    Lucky that "OSTON" came up before "ACKSONVILLE", otherwise I would hate to see the fallout when they see the next bug with new york.

  • (cs) in reply to Rottweiler
    Rottweiler:
    frits:
    tragomaskhalos:
    attempting to fix the symptom instead of the cause

    Isn't that how modern medicine works?

    Dangit Jim, I'm a Doctor, not a Programmer!

    Stefaaaaaannnnnnn!!!

  • Mad Adder (unregistered) in reply to parliament
    parliament:
    This is coldfusion code? Who thought it would be a good idea to use XML tags for loop constructs?!
    As a Web Developer who got his start in ColdFusion and is trying to get out, I hear you. Whereas sane languages use an if (condition) {block} structure, or a for/while loop, ColdFusion does something completely different.

    Example: "cfloop" is your FOR loop and your WHILE loop.

    ColdFusion:

    <cfloop from="1" to="#foo#" index="i" />

    C++

    for(i=1; i>=foo; i++) { }

    ColdFusion

    <cfloop condition="foo lte 0" />

    C++

    while(foo <= 0) { }
    .

    It gets worse. The if-else statements wouldn't even be considered valid XML.

    Cold Fusion:

    <cfif foo eq bar>
        FOO!
    <cfelseif foo gt bar>
        BAR!
    <cfelse>
        BAZ!
    </cfif>
    

    C++

    if (foo == bar) {
        print("FOO!");
    }
    else if (foo > bar) {
        print("BAR!");
    }
    else {
        print("BAZ!");
    }
    

    Note that this isn't even equivalent code as the line breaks and indentation on the ColdFusion code is also part of the output. Anyway, you can see that "foo eq bar" is not an attribute, but there is no attribute wrapper for conditional statements; it just hangs there inside the tag. In addition, the cfelseif and cfelse tags cannot be closed, neither by /cfelse nor by an empty tag designation.

    These lovely structures can be replaced with a cfscript tag containing an ECMAScript variant, but why not just use that in the first place? Unfortunately, the answer is "then it would be ASP."

  • Jay (unregistered) in reply to frits
    frits:
    tragomaskhalos:
    attempting to fix the symptom instead of the cause

    Isn't that how modern medicine works?

    And politics.

    And with politics, you only need a solution that keeps things band-aided together until the next election.

  • Jay (unregistered) in reply to boog
    boog:
    frits:
    tragomaskhalos:
    attempting to fix the symptom instead of the cause

    Isn't that how modern medicine works?

    Keen observation (and funny too). Not sure if I agree 100%, but I certainly don't disagree.

    On that note, my wife's a veterinarian, and sometimes animal medicine uses the trail-and-error method of today's article (although with a little more thought than Stefan was willing to employ). Primarily this is because our communication with animals is so limited; pets can't describe the situation to us. So instead, vets have to rely on the observations of the sometimes-brainless pet-owners. As a result, often times the only thing that a vet can do is try to treat the clinical signs.

    Sometimes it's hard to even determine the clinical signs (without expensive X-rays, blood tests, etc.), which makes it even more of a trial-and-error process. Consider this encounter that I just made up (which incidentally sounds much like a discussion between a programmer and a user reporting a bug):

    (An owner enters the exam room and sets a purring, fairly-content cat on the exam table.) "Fluffy isn't acting like herself." How so? "She's just acting different." Is she being aggressive? "No." Is she depressed? "No, she's just not right." Is she eating? "Yes, of course." How much does she eat every day? "I don't know, we just leave food out for her." So you don't know that she's even eating at all? "I guess not." Has she been using her litter box? "Of cours- wait, I guess I don't know that either." Has she been experiencing any pain? "I don't know." Well does she get mad when you pick her up? "Sometimes, but she's always like that." Ad nauseam.

    Note that at this point, the vet knows no more than she did when the owner walked through the front-door and said "this is my cat, Fluffy."

    This sounds just like software problem resolution to me.

    I can't count how many times I've gotten a "bug report" that says, "The computer isn't working."

    I call or email and ask what's wrong, and the person says, "The report is wrong."

    "Okay. What's wrong with it?"

    "The numbers aren't right."

    "Okay, let's go back to the beginning. Which report is the problem?"

    "The one I get from the computer."

    "Yes, but specifically, which report?"

    "You know, the one with the numbers and stuff."

    Etc.

  • Pedantic Curmudgeon (unregistered) in reply to Jay
    Jay:
    And with politics, you only need a solution that appears to keep things band-aided together until the next election.
    FTFY
  • (cs) in reply to Jay
    Jay:
    boog:
    frits:
    tragomaskhalos:
    attempting to fix the symptom instead of the cause

    Isn't that how modern medicine works?

    Keen observation (and funny too). Not sure if I agree 100%, but I certainly don't disagree.

    On that note, my wife's a veterinarian, and sometimes animal medicine uses the trail-and-error method of today's article (although with a little more thought than Stefan was willing to employ). Primarily this is because our communication with animals is so limited; pets can't describe the situation to us. So instead, vets have to rely on the observations of the sometimes-brainless pet-owners. As a result, often times the only thing that a vet can do is try to treat the clinical signs.

    <<snip>> food out for her." So you don't know that she's even eating at all? "I guess not." Has she been using her litter box? "Of cours- wait, I guess I don't know that either." Has she been experiencing any pain? "I don't know." Well does she get mad when you pick her up? "Sometimes, but she's always like that." Ad nauseam.

    Note that at this point, the vet knows no more than she did when the owner walked through the front-door and said "this is my cat, Fluffy."

    This sounds just like software problem resolution to me.

    I can't count how many times I've gotten a "bug report" that says, "The computer isn't working."

    I call or email and ask what's wrong, and the person says, "The report is wrong."

    "Okay. What's wrong with it?"

    "The numbers aren't right."

    "Okay, let's go back to the beginning. Which report is the problem?"

    "The one I get from the computer."

    "Yes, but specifically, which report?"

    "You know, the one with the numbers and stuff."

    Etc.

    Sometimes the right answer is "No problem, I'll take care of it!"

    (Read TDWTF for two days.)

    "There, it's fixed! Try it again!"

  • boog (unregistered) in reply to D-Coder
    D-Coder:
    Jay:
    boog:
    Note that at this point, the vet knows no more than she did when the owner walked through the front-door and said "this is my cat, Fluffy."
    This sounds just like software problem resolution to me.
    Sometimes the right answer is "No problem, I'll take care of it!"

    (Read TDWTF for two days.)

    "There, it's fixed! Try it again!"

    In some cases that could work for vets. Unfortunately, ethics usually come into play.
  • Franz Kafka (unregistered) in reply to Yazeran
    Yazeran:
    frits:
    tragomaskhalos:
    attempting to fix the symptom instead of the cause

    Isn't that how modern medicine works?

    Yep, but in most cases that's because fixing the root cause is impossible (think getting smokers to quit smoking and/or owerweight people to eat less, and even then in most cases retroactively 20 years ago.... :-)

    Yours Yazeran.

    Plan: To to to Mars one day with a hammer.

    If you can get a smoker to quit before they get cancer, they'll recover over time. Same with fatties - it just takes time and the understanding that this is a permanent thing.

  • boog (unregistered) in reply to Franz Kafka
    Franz Kafka:
    If you can get a smoker to quit before they get cancer, they'll recover over time. Same with fatties - it just takes time and the understanding that this is a permanent thing.
    You may be right, but from a medical perspective the smoker/fatty may not seek medical treatment/advice until the symptoms they've experienced for an extended time already become too much to tolerate. By then it may be too late to deal with the root cause.

    Consider as a reverse analogy (relating back to IT) a user who lets a bug persist and destroy as many data as possible before bothering to report it.

  • Harrow (unregistered)

    The correct response would be "Do you want to labeled as programmer for the next five minutes?"

    -Harrow.

  • anon (unregistered) in reply to boog
    boog:
    D-Coder:
    Sometimes the right answer is "No problem, I'll take care of it!"

    (Read TDWTF for two days.)

    "There, it's fixed! Try it again!"

    In some cases that could work for vets. Unfortunately, ethics usually come into play.
    With some owners, that is the ethically correct answer.
  • Vjg (unregistered) in reply to RBoy
    RBoy:
    Yaos:
    He's not a real programmer, a real programmer will declare it fixed and any new bugs will be closed as "works on my computer".

    Better yet "Works as designed".

    Works as coded.

  • Franz Kafka (unregistered) in reply to boog
    boog:
    Franz Kafka:
    If you can get a smoker to quit before they get cancer, they'll recover over time. Same with fatties - it just takes time and the understanding that this is a permanent thing.
    You may be right, but from a medical perspective the smoker/fatty may not seek medical treatment/advice until the symptoms they've experienced for an extended time already become too much to tolerate. By then it may be too late to deal with the root cause.

    Consider as a reverse analogy (relating back to IT) a user who lets a bug persist and destroy as many data as possible before bothering to report it.

    I dunno, you can still fix the root cause, but that won't reverse the damage.

  • (cs) in reply to Luis Espinal
    Luis Espinal:

    You can't treat interns with latex gloves...

    Sure you can. In fact, its recommended. Okay, now cough!

  • BentFranklin (unregistered) in reply to Harrow
    Harrow:
    The correct response would be "Do you want to labeled as programmer for the next five minutes?"

    -Harrow.

    How apt!

  • Larry (unregistered)

    TRWTF is that some people STILL think that cigarettes are more harmful than marijuana.

  • History Teacher (unregistered) in reply to airdrik
    airdrik:
    It looks like he was trying to practice TDD. He was given a test to satisfy and he satisfied it. When given a bug - a test case, he changed the code to satisfy it. Given another test case, he did similarly... I suppose the hope is that having enough test cases will eventually result in the truly correct implementation? * bug: San Francisco displays as "AN FRANCISCO" ** Fix: prepend all city names with "S" * bug: Boston displays as "SOSTON" ** Fix: Only prepend cities with "S" if they are on the west coast * bug: Boston displays as "OSTON" ** Fix: prepend cities on the east coast with "B" * bug: New York displays as "BEW YORK" ** Fix: replace "BEW" with "NEW" ... Hmm.. I guess this isn't really going the right direction is it.
    Screw TDD. BDD FTW!
  • boog (unregistered) in reply to Franz Kafka
    Franz Kafka:
    boog:
    Franz Kafka:
    If you can get a smoker to quit before they get cancer, they'll recover over time. Same with fatties - it just takes time and the understanding that this is a permanent thing.
    You may be right, but from a medical perspective the smoker/fatty may not seek medical treatment/advice until the symptoms they've experienced for an extended time already become too much to tolerate. By then it may be too late to deal with the root cause.

    Consider as a reverse analogy (relating back to IT) a user who lets a bug persist and destroy as many data as possible before bothering to report it.

    I dunno, you can still fix the root cause, but that won't reverse the damage.

    True, I see what you mean now.

  • sino (unregistered)
    Mark Bowytz:
    ... It wasn’t that Jim minded initiating interns into the world of web development, in fact, he viewed the challenge as a very satisfying experience. However, when the newest intern, Stefan, declared on his first day “I don’t want to be labeled as programmer for the rest of my life. Programming sounds too nerdy. I solve problems.” and that despite his ColdFusion experience, he had previously hosted raves and dance parties in his younger days (to further distance him from any chance of being considered a nerd). In short, Jim knew that he had a special case on his hands. ...
    Oh, COME ON, Mark!!

    Now you're just bowytzing them on purpose!!

    [image]
  • (cs) in reply to Silfax
    Silfax:
    Limiting the fix to the west was a good idea, after all, the only cities on the west coast are SEATTLE, SAN DIEGO, SAN FRANCISCO, and SOS ANGELES.

    Depending on how "west" is defined, there's also SALT LAKE CITY, so you have to...oh, wait. Nice work, Stefan!

  • (cs)

    Perhaps instead of just leaving his work for the next intern, you could have taken him aside and advised him on this matter. He'll go to his next position without having learned what you could have taught him, and the cycle could potentially repeat itself and he could possibly not have a job in a society that demands humans have one in order to produce. Sleep well knowing you could have helped someone avoid potential disaster and decided to let him wander on without caution.

  • Roger Garrett (unregistered) in reply to frits
    frits:
    tragomaskhalos:
    attempting to fix the symptom instead of the cause

    Isn't that how modern medicine works?

    I think that's basically how "alternative" medicine works.

  • boog (unregistered) in reply to anon
    anon:
    boog:
    D-Coder:
    Sometimes the right answer is "No problem, I'll take care of it!"

    (Read TDWTF for two days.)

    "There, it's fixed! Try it again!"

    In some cases that could work for vets. Unfortunately, ethics usually come into play.
    With some owners, that is the ethically correct answer.
    Vets take an oath to protect animal health, not that of the owner, so technically you may be right. Then again, pets are generally viewed as "property" in the cold legal world, so vets have to work within the limits of the owners' idiocy regardless.

    If the animal dies a week after you say "there, it's fixed" you could be in trouble, especially if you charged them for the "fix". This is what I meant by ethics coming into play.

    Unfortunately for the vet, Fluffy's owner is a total dingbat, so about all the vet can do is keep testing for things until she finds something she can actually treat. And as several people have already pointed out, this can be very much like IT at times.

  • Wyrd (unregistered)

    You know, sometimes the Universe/Market Forces/etc solves problems all on its own if only you have the time and the patience for it.

    Jim: There exists a problem in Stefan's code...

    UNIVERSE/MARKET FORCES: Ok. Stefan no longer works there. Now someone else can do it.

    Problem solved.


    I think Stefan's real "problem" was that he was trying to be a "problem solver", but he did not realize "problem solver" equates to troubleshooter, and if you're a troubleshooter in a computer environment then you're usually a programmer, and if you're a programmer, well... ya know...

    Of course that's not to say that you can't be a programmer and also go to raves. But it is hard to put in a good day's work of any sort if you feel that having fun at the rave is a higher priority than your day job.

    -- Furry cows moo and decompress.

  • Wyrd (unregistered) in reply to Yazeran
    Yazeran:
    frits:
    tragomaskhalos:
    attempting to fix the symptom instead of the cause

    Isn't that how modern medicine works?

    Yep, but in most cases that's because fixing the root cause is impossible (think getting smokers to quit smoking and/or owerweight people to eat less, and even then in most cases retroactively 20 years ago.... :-)

    Yours Yazeran.

    Plan: To to to Mars one day with a hammer.

    I basically agree with you, Yazeran, but I'm pedantic and OCD, so I feel the need to write this: Other circumstances that necessitate treating the symptom are when the root cause cannot be conclusively determined--either because determining that cause would be impossible or because it would be prohibitively expensive and would not have a large impact on treatment.

    This kind of thing happens a lot. It makes me sad because, as a troubleshooter, I'd like to always know the true root cause of something. But many times in medicine it's just not cost effective. That's why we don't see any real life doctor's like House.

    -- Furry cows moo and decompress.

  • Anon (unregistered) in reply to Larry
    Larry:
    TRWTF is that some people STILL think that cigarettes are more harmful than marijuana.

    TRWTF is people keep pretending like marijuana is harmless. It may be less harmful than tobacco, but inhaling hot smoke is still not good for you.

  • (cs)

    Ok, I'll admit it, the TRWTF is Stefan but ColdFusion is a close second.

  • Warpedcow (unregistered) in reply to Anon
    Anon:
    Larry:
    TRWTF is that some people STILL think that cigarettes are more harmful than marijuana.

    TRWTF is people keep pretending like marijuana is harmless. It may be less harmful than tobacco, but inhaling hot smoke is still not good for you.

    Larry was implying that marijuana is more harmful than tobacco, not less harmful. Or he made an epic fail of a typo.

  • Larry (unregistered) in reply to boog
    boog:
    (An owner enters the exam room and sets a purring, fairly-content cat on the exam table.) "Fluffy isn't acting like herself." How so? "She's just acting different." Is she being aggressive? "No." Is she depressed? "No, she's just not right." Is she eating? "Yes, of course." How much does she eat every day? "I don't know, we just leave food out for her." So you don't know that she's even eating at all? "I guess not." Has she been using her litter box? "Of cours- wait, I guess I don't know that either." Has she been experiencing any pain? "I don't know." Well does she get mad when you pick her up? "Sometimes, but she's always like that." Ad nauseam.

    Note that at this point, the vet knows no more than she did when the owner walked through the front-door and said "this is my cat, Fluffy."

    Well you certainly don't expect the user to have to develop expertise in cats, do you? After all you're the professional, you should know this stuff. It is your job to encourage the users to remain as ignorant as possible.

    Or does that only apply to GUI design?

Leave a comment on “Tweaking the Code”

Log In or post as a guest

Replying to comment #:

« Return to Article