13 ms·
The code I’m still ashamed of (2016)
- golemotron 6y agoIsn't drug prescription under the control of doctors in Canada?
- grumple 6y agoThat doesn’t stop drug advertising in the US. Patients often come in asking for a drug, and doctors are influenced by ads as well.
- michaelcampbell 6y agoAnd pharma reps. I have an extended family member (a Dr., no less), that does this for a living. A walking, talking, knowledgeable shill for one particular company.
- cperciva 6y agoMostly but not completely. If you take "doctors" broadly (e.g. including dentists and psychiatrists) then mostly yes. Some prescriptions are available more widely (e.g. birth control pills) and pharmacists also have varying powers to generate repeat prescriptions (they can provide emergency prescriptions almost everywhere; and they can provide unlimited prescriptions for "maintenance" drugs like thyroxine in some provinces).
- Nursie 6y agoI've never had such a serious ethical issue in front of me, I have code I'm ashamed of in a "Oh god we could have done so much better, what a fool I was at 22" kind of way. But so far my ethical conscience is largely clean. I can think of really only one ethical close call in my career, but still not as serious as the linked article - "Hey developers, customer account manager here, just sold an upgrade to the customer on product X, they need capability Y" "It already has that in the version they have, it's probably just misconfigured" "Oh... well I've sold it now, can we just increase the version number and pass it over to them anyway?" We laughed that guy out of the room, thankfully.
- paulcole 6y ago> We laughed that guy out of the room, thankfully. If the customer can be made happy and the company can make money by just making an increase to a version number with no additional changes, why not just do it?
- WrtCdEvrydy 6y agoBecause the customer already paid for those features and you're accepting that you'll dick them over for a few pennies.
- cyberpunk 6y agoBecasue selling something that they already own to someone as a new feature is unethical at best and illegal at worst? Don't you think the client would be happier with a refund and an explination?
- GavinMcG 6y agoBecause it's morally wrong to charge someone for a product they already have, and then to cover up what you've done. It's likely also criminal, as fraud is illegal, but even if not the deceit should be something that makes your conscience bristle.
- simonbarker87 6y agoMany products with embedded systems ship with the same firmware regardless if it’s the basic/mid/pro model where features are enabled/disabled with a flag set in the EEPROM. So to charge a customer $XX more the company just has to flip a bit at production time. Is that ethically ok do you think? Not sure I have an opinion either way so just curios, but it’s not a million miles from this scenario above .
- Jasper_ 6y agoIt's certainly not the same. In one case, the client had already paid for the feature but weren't aware, and a salesperson told them they needed to upgrade to unlock it (a lie). In the latter case, they simply didn't pay for the feature. Is it ethically wrong to ship chicken bits like that? You can make arguments either way (e.g. a device might not have been QA'd or tested for the disabled features, and the feature itself might be faulty, e.g. that's extra support labor they didn't pay for). But that's a different question to whether the salesperson should have sold them a feature they already had access to.
- brundolf 6y ago> As developers, we are often one of the last lines of defense against potentially dangerous and unethical practices. > We’re approaching a time where software will drive the vehicle that transports your family to soccer practice. There are already AI programs that help doctors diagnose disease. It’s not hard to imagine them recommending prescription drugs soon, too. > The more software continues to take over every aspect of our lives, the more important it will be for us to take a stand and ensure that our ethics are ever-present in our code.
- WrtCdEvrydy 6y agoThis will never happen. Software developers work at companies like Facebook, Uber and Airbnb where they either help companies cause massacres, indebt their fellow citizens or cause entire real estate issues in the real world because they get paid. Software will only be regulated by government action, not individual action. Edit: I am not innocent of this as well. I got paid to deliver addicting software while working for Blackberry (just a radio tech), I got paid to build compliance tools for a bitcoin company, and I get paid to optimize the amount of ads and how much profit they bring to my current employer.
- throw92390 6y ago...
- vharuck 6y agoPlease don't be coy.
- dchichkov 6y agoYep. The age of engineer doesn't matter. Do take ethics into consideration. Be aware that dual-purpose systems can have long life and change owners.
- ddevault 6y agoGreat article, it should be required reading for all developers. It's important to remember that just because your employer asks you to do something, you are not obligated to. You can't rationalize away your part in it later, you will be directly responsible.
- throwaway_pdp09 6y agoI'm with you, but the pressure is there, do it or lose your job and maybe not get a good reference to help you get a new one. You cet get stuck somewhere very difficult if you have a conscience.
- ddevault 6y agoI wrote about this here: https://drewdevault.com/2020/05/05/We-are-complicit-in-our-employers-deeds.html https://drewdevault.com/2020/05/05/We-are-complicit-in-our-e... In short: in general, software engineers enjoy a very good job market and lots of maneuverability, much more so than our peers in other fields.
- moksly 6y agoI work in the public sector, part of what we do is to automate tasks. No one gets fired by this directly, but over time positions disappear. When people retire, no one gets rehired and stuff like that. Sometimes it makes sense, some tasks shouldn’t be done manually. But sometimes you automate something that was better for both the employees and citizens/patients the inefficient way, because it’s cheaper. After a long time doing this, the thing that gets me the most is how I used to buy all the corporate bullshit about how things like citizen/patient comfort, corporation, employee happiness mattered more than money, because it never did when it came down to it. Still there are perks to the job, you get to genuinely improve people’s lives, sometimes even build things that save lives, but the automation thing, meh.
- pedrocx486 6y agoI worked at a company last year (specifically their RPA sector) that one of the projects we got was create a "robot" to automate certain tasks within a client. Later after we delivered it, we learned that project alone was the reason the client cut 700 low level positions. A single "robot" could do in an afternoon what 700 people did in a week. (Was/is a pretty large company.) The words from my manager still echo in my mind: "If we think of the "ethical" aspect of it, we wouldn't have our own jobs."
- pydry 6y agoIf the client could cut 700 low level positions with automation then they were probably treating human beings like robots.
- meritt 6y agoYeah, imagine a world where each employee had a team of highly trained specialists ensuring they had absolutely everything they need to do their job, and if they became sick at 2am on a Saturday, multiple people get woken up to take care of them. When the CEO parades investors around on the assembly floor, those employees are shined up, their capabilities are demonstrated, and they are showcased as the pinnacle of why their company is the best. Low level employees would be lucky to be treated like robots.
- colinmhayes 6y agoMy boss was telling me some stories about his time at facebook. During the 2012 election cycle facebook was making bank on election ads. There was a problem though, when someone clicked x to make an ad go away they would never see an ad from the same source. Eventually, facebook wasn't able to show enough Romney ads because so many people had x's them out. My boss was tasked with turning this feature off, and he claims it was never turned back on.
- ballenf 6y agoI'd argue there are ethical issues in letting them turn it off. It makes the user less aware that the site they're using is accepting money from that ad source. It reinforces their bubble. And it overall makes them feel like the customer, when they're really not, which is deceptive. If FB let users click that button, but secretly broke the functionality, then that's a different issue.
- lofties 6y agoSome background, I work for an ad-tech startup. We provide workflow and performance optimizations on top of Facebook and Twitter ads. A few years back we managed to draw the attention of a pretty big agency who at the same time was in the news because one of their employees killed themselves over the work pressure. Now, this company has ten thousands employees so we never gave it much thought, but later we learned that the account we scored was actually the account of the employee who killed herself. The employee was of a similar age to me at the time, and the company approached us the day after the news of the suicide broke. Although it's not in similar vein, it made me feel like shit for a few good days and I still think about it whenever the Agency is in the news or someone mentions it.
- sulam 6y agoOne of my early-career jobs was working for an ISP that old fogies may remember called Slip.Net. This was 1994, just before everything took off in the commercial Internet space. There were a couple gray area things that resulted in me being eager to leave that particular company. The first was that they were a "free" ISP. The way they made money was that all their POPs were in facilities taking advantage of the rules around long distance termination fees. Effectively you could set up a CLEC in a corn field in Iowa and as long as you could get a lot of people to call you, you could make money from the Bells. Free Internet access, but a long-distance call. It was probably a good deal for people who didn't have a local POP anyway. However, it led to a weird incentive -- you wanted to keep people connected. In order to sign up for the service you had to dial into it. In order to create an account (these were regular shell accounts on SunOS systems mostly -- totally insane by today's standards) we had to have an entry in /etc/passwd and of course you needed their login to get an entry there. We had worked out how to take their details and create an account, but you had to disconnect to log back in as that new user, and we lost money every time someone disconnected. The solution was obvious -- please modify logind so that you could essentially sudo from the "setup" user into their new shell right there in the existing session. Boy that was fun, and felt a little dirty. It turns out the other thing people liked to do besides Internet dialup that would keep their computer on the phone for a long time was to download porn (you could argue they were doing that with their Internet dialup too). So of course the company ran many Wildcat-based porn BBSes out of each of their POPs. In fact that business came first. They flew me out to (somewhere outside of Toronto I think) to upgrade the access for a particular POP and asked me to load some CDs in the jukebox at the same time. I didn't think much of it, but when I got there I realized that these were all hardcore porn. I don't think there's anything inherently unethical about porn, but it clearly also didn't check the box on things I'm going to tell my mother about my job. I left that job after about 6 months, but I liked it better than the one before it, where they weren't paying their phone bills and would regularly tell their customers that they were having "technical problems" while they got SBC to turn their access back on. I think I lasted most of 3 months there.
- t0mek 6y agoWhen I was 20 I was working, as a single developer, for a startup connecting people who would like to get consultancy in different areas (eg. photography, IT, school subjects, law, etc.) with paid consultants ("experts"). They were both calling the service, which joined their calls and billed appropriately. I'm not very proud of the code I wrote then (PHP without version control + Asterisk scripts), but it worked good enough. Anyway, the business model didn't work out, so the founder pivoted into something that should work: phone sex and telephone fortune telling. It was a bit too much for me :)
- drmcometru 6y agoI have a job that involves making DRM stronger. It's certainly legal, but I'm still undecided as to whether it is moral or not. Personally I am opposed to the use of DRM, but I enjoy the technical challenges involved.
- jsf01 6y agoWhy do you do it? I’m sure inventing chemical weapons is a fun challenge to a skilled chemist, but if you’re morally opposed to it shouldn’t that matter more?
- drmcometru 6y agoI wouldn't go so far as to say that I'm morally opposed to DRM, it's more that I find it annoying.
- ploika 6y agoA moral objection to DRM is hardly on the same level as a moral objection to chemical weapons.
- ballenf 6y agoWith this issue and most ethical issues I've encountered, it's important to realize that the work is still going to get done by someone. Don't fool yourself into thinking you're going prevent Pfizer from marketing their drug. But that's not why you do the right thing. You do the right thing because you get to choose whether the blood is on your hands or not. You get go sleep and go to your grave with different amounts of guilt and peace. You get to tell your kids these stories and help them make better decisions. Through all of that, you might make the cost of deceptive websites a little bit higher and the message a little bit less effective. Or you might not, but that's not the point. In short, don't make your ethical choices on the impact it will have on the world. Make them for the impact it will have on you. (The alternative will mean you'll struggle a lot more making the right decision, knowing that Pfizer will just get someone else to make the site and maybe you should still take the work and then donate some of the money to a good cause.)
- rwbhn 6y ago"the work is still going to get done by someone" - this assumes an infinite supply of devs willing to do unethical work. Sure, in this specific instance they probably will - but I don't think we should completely dismiss the impact of decreasing that supply.
- matkoniecz 6y agoAnd even if that work would be done anyway, I still would not want be a person who designs a death camp.
- ysleepy 6y agoI strongly disagree with almost your whole comment. It is almost sociopathic. Of course you should judge your actions based on their (potential) outcome for all involved. "The alternative will mean you'll struggle a lot more making the right decision [...]" Yeah, no shit. I really don't want to seem like some crusader, but this comment seems like a caricature of the "Just following orders" mentality.
- 6y ago
- fnord77 6y agoI worked on Credit Default Swap calculators and infrastructure to support real-time valuations. Just before and during the 2008 meltdown. At least 3 big banks were using the software I helped make. To paraphrase, the things people were doing with CDSs were analogous to taking out an insurance policy on your neighbors home, and then burning the home down and collecting the insurance.
- moneywoes 6y agoVery interesting work, what do you do nowadays? Did you have your own firm?
- networkimprov 6y agoThis seems like a failure of the Canadian counterpart of the US FDA. Drug trials are generally extensive enough to surface side effects, and severe side effects lead to cancellation of trials or at least label warnings.
- minerjoe 6y agoNot by a long shot. The FDA is the definition of regulatory capture. A long line of examples. Their still holding to the line that Glyphosate (roundup) does't cause cancer and that Marijuana has no proven medical value.
- dredmorbius 6y agoIf you're looking for worse examples (not to excuse the FDA), there are many. I've a special place for the Texas Railroad Commission, for example: https://independentleaguetx.org/legislature-fails-texas-railroad-commission-couldnt-least-get-name-fixed/ https://independentleaguetx.org/legislature-fails-texas-rail...
- minerjoe 6y agoIn the 1990's I was working on Ph.D. in robotics, and funded by a huge DARPA grant. The task was to create software for multi-agent robot coordination. The text of the grants always said things like needing to gain the capabiity to send thousands of autonomous robots into a town in order to map out and investigate all the buildings, etc, all for "defense". To verify if a hospital is actually a hospital, for example. It didn't take a rocket scientist to see that you only had to put a bomb in their belly and game over. I wonder why they even tried to make it sound not like they just wanted to be able to drop thousands of robots from a plane and take over and destroy any city.
- vharuck 6y agoI'd guess they planned to do what they said: see if a hospital is a hospital. Then they'd drop bombs from planes, the old fashioned way, making sure to avoid any off-limits buildings. Of course, it's still tech for killing, so the moral quandary doesn't change.
- BoiledCabbage 6y agoI think the most important take-away from this essay is that questionably ethical items won't have a big flashing red siren go off when they happen, there won't be any forewarning. Your company won't have a long internal debate on the ethics of it. It will be passed as just routine and a normal part of the process. It'll be "just the way things are done". It'll still be up to you to understand and appreciate the ethical consequences of you choices. In this case he was "lucky" enough to become aware of it due to heavy news coverage and then a follow up of an immediate family member being directly impacted. It almost never will be that blatant. That's the lesson to take away from this. As part of your profession, you need to understand the consequences of the code you write and choices you make - and represent for and protect the people who won't be in the room, but who will be the recipients of the consequences. Your day will be a subtle milgram experiment, and you need to be the one to say something.
- dimitrios1 6y agoOne of the reasons I was thankful to go to university where I was provided a broad spectrum of courses and curriculum. Among them were a healthy dose of ethics courses including ethical computing.
- diablerouge 6y agoI was really thankful that I had the same opportunity, and I personally loved my CS ethics course - unfortunately, it seemed like the value and necessity of such a course was lost on a fair number of classmates, who vigorously argued that the CS ethics course shouldn't be required.
- cuddlybacon 6y agoMy university had one, but it seemed more like a cover-your-ass move by the university than something that'd actually get people to think about these issues if/when they occur in their career.
- 6y ago
- phjesusthatguy3 6y ago"By age 21, I managed to land a full-time coding job with an interactive marketing firm in Toronto, Canada." That's the problem. Girls this dumb get shunted off to the porn mills, you ended up in advertising.
- Abishek_Muthian 6y agoI appreciate Bill Sourour for acknowledging the issue in the industry and coming to terms with what it seems like a heavy burden at young age. When I was taking CS Engineering UG course(IN~2008), there was an elective subject(have to be chosen by entire class) called 'Engineering Ethics'. It was a preferred elective as there was no course work and I think there were no tests as well. I remember the professor starting the class as, >"If a Structural/Civil Engineer builds a bridge and it goes down, he/she will go to jail; lucky for you guys there are no ethics for computer science". Now that a code can easily manipulate the life of an individual, I think we need to bring in accountability into CS/programming along with universal whistleblower protections for reporting unethical behaviour at work from UN.
- Nursie 6y ago"If a Structural/Civil Engineer builds a bridge and it goes down, he/she will go to jail" How true is this? I've never heard of such a thing happening. Of course catastrophic accidents of that sort are thankfully very rare (maybe because of the accountability)... Does it apply in cases of negligence or clear-cut corner-cutting, with proven intent? Or just in any case of structural failure? In which countries? I'm not calling you a liar, for the record, it just gets bandied about a lot, and I would like some context.
- cls59 6y agoAs someone who was on the Civil Engineering track prior to ending up in tech, jail time seems unlikely unless the breach of ethics was particularly egregious. The consequence of poor decision making in a Professional Engineering setting that we were most often warned against was ejection from the profession. If your work results in the loss of life or property, you may find yourself unable to continue working in the field due to loss of license or a steep increase in insurance premiums. As a software "engineer", the consequences for poor professionalism are not as sharply defined.
- Abishek_Muthian 6y agoI have replied to another similar comment in this thread.
- stormdennis 6y agoSounds like the anti-acne drug maybe, I can't recall its name but it actually works and has probably saved far more young people from committing suicide have completed difficult so s result of taking it.
- fortran77 6y agoThat drug, accutane, was never prescribed to women who could possibly get pregnant. (I took accutane and it was a life-changing drug for me.)
- stormdennis 6y agoMy daughter was put on the pill first so she could take it.
- rjkennedy98 6y ago>it actually works and has probably saved far more young people from committing suicide have completed Please don't say things like this unless you know. People say the same thing about SSRIs when pretty much every clinical trial says the exact opposite (hence the FDA black box label for both drugs). Accutane causes crazy hormonal changes. I personally know multiple people that ended up in a mental hospital after taking that drug (including my brother).
- stormdennis 6y agoI'm sorry about your brother but my family's experience was different and our dermatologist was of the opinion that the risks were exaggerated. I suffered with acne from age 12 to my early 20s. As someone who was pretty awkward anyway, having an acne related nickname in school was pretty much the icing on the cake in terms my negative self image. I never went to parties or discos at all in school, anything at which girls might be present. My kids inherited my skin and roaccutane was transformational for them. Even after the acne dried up I thought they'd be left with scarring but it all went away eventually. I was 100% behind their decisions to take the stuff risks and all. I think that for a boy you can get past acne and its damage eventually, I did, but for a girl the scarring it leaves is devastating.
- dang 6y agoDiscussed at the time: https://news.ycombinator.com/item?id=12965589 https://news.ycombinator.com/item?id=12965589
- captn3m0 6y agoI once made a multi-level marketing scheme website. For an acquaintance who wanted to launch one. Realized halfway through it wasn't a good idea and returned back with excuses about not having enough time. The acquaintance gave up on the idea as well so nothing came out of it thankfully. What was interesting was that - it was a very fun problem to model on the DB side, especially with the kind of constraints around payouts and it kind of sucked me into saying yes.
- zentiggr 6y agoOne of my high school teachers framed a few math questions around calculating probabilities for unusual combinations of items. Took me a couple of questions to realize he was fishing for lottery / scratch ticket optimization methods. Learned the next year that he was arrested over the summer. Never did actually answer more than just basic stat course questions.
- zoomablemind 6y agoThis is a hazard of any engineer or builder. Potential side-effect of the profession due to the inherent conflict of responsibility. As an engineer, one is responsible for the immediate result, that is the built code/system, yet the context of use and its effects are often out of control of the engineer. A seemingly innocuous component may be used in the heart of a vile machine. If you know of such use, you have a choice to learn about strength of own values or just write it off on lack of control. I remember of a contemporary theater play, where at some cruel moment an audience volunteer is called upon to assist, just to be a stand-in witness. Reluctantly a few spectators walked into the scene, then passively stood through subject's torture. None dared to walk off or ask them to stop... I left my seat feeling disturbed. Later I found out that the play had an alternative flow based on the action of the witness. It's hard to step into someone else's shoes, too easy to say right thing post-factum. In OP's story, the testing lady took the most sensible action, she verbalised the unspoken. This is akin to historiographers or news reporters, just describe things as they are, no judgement. This gives a chance to eventually placing the responsibility where it's due.
- girvo 6y agoI’m quite interested in that play: what’s the alternative flow, what do they do to trigger it?
- zoomablemind 6y ago> ... what’s the alternative flow Well, as I mentioned, I have left after that scene had concluded (conventionally, I guess). The prisoner got "killed", the witnesses returned to their seats with a mixture of puzzlement and amusement on their faces. As for the alternative flows, I only learned that the scene had some kind of chance for the prisoner, should any witness have intervened. Basically, witnesses' participation was a vote (a silent compliance in that case). None of this obviously had been advertised ahead of show (it was part of a festival). The play and the company were from South America (Chile or Argentina) .... it's been awhile.
- pintxo 6y ago
- Sohcahtoa82 6y agoReading the title, I was expecting an article about poor quality code. I'm sure all of us have looked at code they wrote in the past and thought "What the hell was I thinking?" Didn't expect an article on ethics. I haven't had to write code went into a project I considered unethical, but I have performed penetration tests on DRM systems. While I don't consider the idea of DRM to be unethical, I really don't like it. While in the design review meeting, and the PM was describing the project, they avoided using the term "DRM", and I really wanted to be like "So...is this whole thing just DRM for X?"
- leafmeal 6y agoDo you think, after reading this article, that if you were in a situation like that again you would feel more responsibility to speak your mind?
- Sohcahtoa82 6y agoNo, because I understand why the DRM exists. It's a case of competition between corporations causing a race to the bottom on pricing, and so they need to ensure an alternate revenue stream. I can't say more because I don't want to violate an NDA, and I don't want to self-doxx and say who I work for, especially because I still work for them.
- AndreasHae 6y agoThere is a talk by Uncle Bob addressing this topic. [0] He suggests that programmers should take an oath, similar to doctors or other types of engineers. The first point says that you shall not write bad code, where „bad“ does not only refer to the quality, but also the ethics behind the code. I really recommend watching the full talk, it‘s a real eye-opener. [0]: https://youtu.be/17vTLSkXTOo https://youtu.be/17vTLSkXTOo
- ChrisMarshallNY 6y agoI am so glad to see this. Basically, I am in despair, at what I consider to be a complete ethical and moral collapse of the entire software development industry. It's a long story, but I spent about 27 years in a "silo," where not all was The Sound Of Music, but where I was never presented with ethical dillemas. Then, I left that company, and returned to the world that I had come from before I joined it, as an idealistic, optimistic, energetic young engineer. Oh. My. God. It is now exactly like the finance industry has been for decades. Profound moral collapse. That means that it will never get better. There's just too much money sloshing around. It does annoy me, when folks treat me like I'm either an idiot or a chump for insisting on living a life of Personal Integrity. I don't go around, trying to get other people to change, but I feel as if I'm punished, whenever I mention my own point of view. I won't write dark patterns, and I won't write code that runs against my Personal Integrity. I'm quite grateful to have the luxury of choice.
- sunir 6y agoIt’s not like the software industry was a bastion of societal morality in the first place. It was created chiefly to win wars and delabourize industry. Kraft 1977 is my favourite Marxist analysis of the software industry. https://www.amazon.com/Programmers-Managers-Routinization-Programming-Heidelberg/dp/0387902481 https://www.amazon.com/Programmers-Managers-Routinization-Pr... That being said there is an ethics of the software industry. It does not necessarily encompass an ethics of marketing but there is an ethics of privacy, security, authentication, authorization, identity, and decision making. It would seem that extending the domain of computer science ethics into the ethics of its subject domains would be an overreach. Does it make sense for computer science to apply the idea in Kraft that should overpower all other industries and thereby decide the ethics of pharmaceutical marketing, simply because it controls the means of production? It is a Marxist analysis like I said that computer scientists should properly have this power. However it is not wrong that if you are working on a project and don’t agree with its ethics that you should speak up and work to improve it. Everyone has that responsibility. It isn’t about computer science or software engineering. It’s about professionalism.
- ChrisMarshallNY 6y ago
- DoubleGlazing 6y agoI was hired by a company that made client on-boarding software for investment banks. It did all the Dodd-Frank, EMIR and KYC stuff. It was built around SQL Server and table and column names were quite long e.g. CustomerReferenceForGovernmentCompliance. We got a client from Massachusetts, they used Oracle 8 and wanted us to use Oracle 8 in our app. Oracle 8 has a 30 character limit for column and table names, so we had a problem. I had Oracle experience and was hired to develop a middleware to translate long DB object names to short ones in Oracle (no refactoring of the app was allowed), plus I had to convert a shedload of T-SQL to PL/SQL. I told my employer this would take months. Two weeks in to the job I was told "You're off to Boston to demonstrate your work to the client", "Err, its not ready" I said, "Don't worry its just a demo to get our second payment from the client, it will be Okay" my CTO said. So on the flight from Dublin to Boston, my CTO leans over and says "I'm not asking you to lie, but..." Long story short, they rigged the application to make it look like it was connecting to Oracle, but was actually saving data in SQL Server data files. I had to convince the client it was working fine. A low level techie kept giving me the stink-eye as he could clearly see this was a scam. On my return I resigned and called the security department of the bank concerned. My wife is a US citizen so I really don't want to get in to trouble with the US authorities. The bank took the product, but they insisted on a massive discount to not take legal action. Okay, it wasn't my dodgy code, but I felt the experience was similar.
- Namari 6y agoFor once it was the bank that was going to be ripped off and you had to tell the truth ...
- ngngngng 6y agoI had a similar experience early in my career. I worked at a company tracking social media posts for companies to analyze conversations online about their products and services. Coincidentally, everything we built worked brilliantly for tracking people. At it's worst, our product was very Orwellian. I built the NLP features in Arabic, because Saudi Arabia was having a hard time tracking their people as well as they would have liked since Arabic wasn't supported. A few months after I shipped the features, Jamal Khashoggi was killed. Who knows what other atrocities I contributed to. I was just so damn excited as a junior engineer who didn't even speak Arabic to work on something so cool.
- knolax 6y ago> I built the NLP features in Arabic, > who didn't even speak Arabic I think that's the real atrocity. Think about all the Arabic speakers out there who have deal with substandard NLP.
- WalterBright 6y agoThank you for posting this. It took guts to post it. You have my respect. Hopefully others will read it and learn the easy way rather than the hard way.
- ricardobeat 6y agoI've been on the receiving end of a few shady product requests - popup ads, url hijacking, spyware. Even though the ethical questions involved were not that huge, it was always difficult to come through unscathed and it cost me a fair bit of sanity and work relationships. I can only imagine the burden when it actually involves human life or wellbeing, and am thankful to have had the luxury of choice. This gets me to wonder if having a universally agreed code of conduct (like the one from ACM mentioned somewhere else in this thread), and the backing of some kind of union could make a difference - at least developers would have some comfort that they wouldn't be fired for raising ethical issues, or even refusing to do work, without the company having to face legal action. What's the equivalent for other lines of work?
- stillbourne 6y agoMy last job I worked for was a university. I wrote the mobile app that they used on campus. I was pretty pleased with it as it allowed students to do all the things that they wanted access to, class list, add/drop, email, new and events. I put in a slew of analytics to track use behavior across the application. Shortly after I had released version 2 of the application my old boss went on to better things. One of the things that my new boss asked me to do was write in a way to track where students walk around using bluetooth beacons and have it report to the backend db. I said, hell no. He basically got me pushed out of my job by him being a complete dick to me after that. I moved on to another job. Recently I saw this: https://www.theverge.com/2020/1/28/21112456/spotteredu-degree-analytics-student-location-tracking-app-attendance https://www.theverge.com/2020/1/28/21112456/spotteredu-degre... Apparently we weren't the only uni planning on doing that.
- Exuma 6y agoOne emotion I don't understand is "shame." You made a mistake, just like everyone else on the planet. Get over it. You obviously have a good moral and ethical fabric, so at the end of the day that is all that matters. "Shame" is just a disgusting wet blanket that coats everything, and it stinks.
- dredmorbius 6y agoA few years ago, thinking of emotions, their ubiquitous appearance in human ccultures and history, and many aanalogues amongst other animals, that these must represent some deep evolutionary role, and adaptive benefit. I then wondered if there were anything in evolutionary biology literature that addressed this. As it turns out, one of Charles Darwin's last published books is The expression of the emotions in man and animals. Chapter XII addresses self-attention: shame, shyness, modesty, blushing. https://archive.org/details/expressionofemot1872darw/page/310/mode/2up https://archive.org/details/expressionofemot1872darw/page/31... You might care to reasses your casual dismissal of shame's relevance.
- Exuma 6y agoMaybe it's semantics (I haven't read your link yet) but shame isn't similar to shyness, modesty or blushing to me. The later 3 are things I think are good things. Shame to me (maybe my definition isn't correct) is equivalent to punishing one's self for a mistake, usually over a long period of time, and usually in an overly dramatic way (like the OP's article). It happened when he was a kid just trying to do honest work, he felt wrong about it, something terrible happened that wasn't his fault... so as harsh as it is, I still stand by "get over it." I also said by the way "you have a good moral fabric" which goes along with that statement. If someone is say, a rapist, then I suppose shame is a great emotion to have, because they're upset that they lack what other people have, which is a working control of emotion and a sound mind. For most people (who are good people), I feel like shame is something that does nothing but inhibit life.
- dredmorbius 6y agoThe common thread is that all the behaviours relate to Darwin's grouping concept of self-awareness, and further serve to act in an inhibitory fashion. There might be other forms of positive or reinforcing senses or emotions also reflecting self-awareness: pride, confidence, self-assurance, patience, say, though some of these move from emotion to personality. I'd also caution about presuming Darwin had this all right, He was the first (AFAIK) to write on emotion as evolutionary adaptation, and certainly made errors or omissions. Classification of emotions remains very inexact. But the discoverer of natural selection deduced the evolutionary role of emotion, suggested a deep significance and innateness of them, and specifically names and discusses the emotion you've very lightly dismissed. You should probably hear him out.
- deleted 6y ago[deleted]
- anonu 6y agoI remember interviewing for a job out of college (circa 2005) at a company that will remain nameless. They were an oft cited internet marketing company and were able to track the popularity of most websites. I remember understanding that they basically just proxied all traffic through their servers behind the guise of various free software installs, plugins, etc.. spyware. I declined their job offer on the grounds that I didn't feel comfortable with that duplicity. The common thread I think with the articles author is that most marketing is about crafting a story and maybe hiding the true origins.
- tgsovlerkhgsel 6y agoSometimes, even if it isn't about your code killing people or supporting morally questionable things, just making sure the right thing is done is a matter of ethics. I saw a job posting on my universities' IT depratments' job board. Another (non-IT) department wanted an application implemented in a specific way that was completely unsuitable. Not impossible to implement, just the wrong tool for the job and it would be a nightmare for the users. I wasn't particularly interested in doing the job, as I wasn't short on money and had a "real" job lined up, but I did reach out to the department, asked whether there was a specific reason for the requirements (there wasn't), explained the better alternatives, and offered to help them write a better ad, and if they really couldn't find anyone else, implement it (for a fixed price that would result in an above-average hourly rate for me, which I was transparent about). I ended up implementing it, and it is an implementation that at that time would have been controversial, but still seems to be the right choice even with many more years of experience and hindsight. Had I simply ignored it, the most likely outcome is that thousands of students would have had to suffer with a really bad system. That code I'm still proud of.
- justasitsounds 6y agoThis story hits very close to home for me. Back in 2001 I worked for a 'Medical Communications' company, building marketing websites for various drugs companies. I was young, it was my first coding job and I desperately needed the money I even ended up building an internal marketing website for use by sales reps pushing an antidepressant. It was an awful PoS, technically, but it had a basic CMS system and I was flown to the US (from the UK) to show the very friendly team at the drug company how to use it. I was fairly blasé about the ethics of it - they paid a lot of money after all. The drug in question was later removed from the market after it was found to increase suicide risk. 14 years later, my mother had maxxed out on the same kind of anti-depressant. She kept relapsing and the doctors kept upping the dose until they couldn't prescribe her any more. She took her own life shortly after. Not so long ago, I interviewed a candidate for a data engineer position at the 'FinTech' I was lead engineer at. He turned us down because he didn't like the CTOs attitude towards the credit data we were collecting about our customers. Until that point I hadn't really considered the ethics of what we were doing, again. I started looking for another job the same day.
- ncmncm 6y agoThe first rule of ethical programming is to avoid working for fundamentally unethical employers. It can be hard because the more unethical a business is, the more money it has access to. I spent my whole career not working for Microsoft, Lockheed, Goldman Sachs, Big Oil, Monsanto (now called "Bayer"), FAAG (Netflix seems OK). You can't usually keep unethical people from using your software, but you don't need to specifically enable them. Little evil leads by insensibly small steps to big evil.
- luord 6y agoAs I read a long time ago and always repeat, Tron gave us the rule zero for every developer: Fight for the users.
- golergka 6y agoSo, author takes one anecdotal news story of a person taking the drug ending upin suicide, and immediately thinks that the drug is harmful. If anything, this irresponsible jumping to conclusions is the most unethical thing in the whole story.