3
0

A programmer figured out how to automate his job and work 2 hours a week - but he's not sure it's ethical


 invite response                
2017 Jul 4, 8:18am   4,460 views  35 comments

by null   ➕follow (0)   💰tip   ignore  

Over the past week, programmers have been having a huge discussion on the ethics of secretly automating their jobs, after one of them posted a question about it on Stack Overflow, a self-help site for programmers.

This anonymous programmer said he was starting to feel guilty about how he quietly turned his whole job into less than two hours of work a week by writing a bunch of scripts.

All the work he was hired to do is getting done, but he works from home and hasn't told his boss about the scripts. He basically spends his day taking care of his son, and fears if he reveals the scripts, he'll be let go, not for unethical behavior, but because the company will use the scripts and won't need him.

The guy wrote:

"Is it unethical for me to not tell my employer I’ve automated my job? ...

As you can guess, it is pretty much the most boring job ever. However, it’s a full time job with decent pay, and I work remotely so I can stay home with my son.

So I’ve been doing it for about 18 months and in that time, I’ve basically figured out all the traps to the point where I’ve actually written a program which for the past 6 months has been just doing the whole thing for me. So what used to take the last guy like a month, now takes maybe 10 minutes to clean the spreadsheet and run it through the program.

Now the problem is, do I tell them? If I tell them, they will probably just take the program and get rid of me."

One thing: the programmer also confessed that he's been covering his tracks, deliberately introducing a few random bugs into his work "to make it look like it’s been generated by a human."

The question also got posted to Hacker News, another site where programmers discuss stuff, and generated a big discussion.

More: http://www.businessinsider.com/programmer-debate-secretly-automating-their-jobs-2017-7

#IT #Work #Ethics #Automation

Comments 1 - 35 of 35        Search these comments

1   theoakman   2017 Jul 4, 8:44am  

When I was in graduate school, I automated a bunch of data analysis procedures that took people 6 months to do correctly with someone smart enough looking over their shoulders. I was immediately tasked with automating other things while a bunch of idiots who wouldn't have survived in the lab then proceeded to use my scripts to analyze their data and graduate 2 years early. I don't blame this guy one bit for not telling his bosses. The reality is, he should offer to sell it to them for a big chunk of money.

2   MisdemeanorRebel   2017 Jul 4, 11:04am  

What ethics? If the company could automate you, they'd do it in a heartbeat. It wouldn't even merit an article. "Guy made himself redundant, was sacked, investors happy, guy on street."

Turnabout is fair play.

You owe no loyalty to a collection of paperwork that establishes a fictional entity. It's like claiming loyalty to a collection of tree bark and twigs. Wait, bark and twigs are corporeal, abstract notions agreed upon by society's legal fantasies aren't it. It's not even a real human person.

3   CBOEtrader   2017 Jul 4, 11:58am  

The bigger question is how can management not realize these tasks could be automated? If they are that retarded, then this guy deserves the pay he was brought in for to do this job regardless of how many hours a week it takes him.

Sound like he's doing a great job.

4   joshuatrio   2017 Jul 4, 2:13pm  

Shit. I've done this to my job as well and I give zero shits. Many of my peer IT co-workers have as well.

The issue is, when things break, you're the only one who can fix it.

My old PM said when he hired IT guys, he always picked the laziest. Why? He said they were ALWAYS the most efficient at doing things and found quick, automated solutions to complex problems.

5   Rin   2017 Jul 4, 3:01pm  

Corporate America is a joke!

If you can get away with it, do it, because Corporate America doesn't give a rat's about you.

6   Booger   2017 Jul 4, 4:09pm  

If this person tells their boss, they are a moron.

7   lostand confused   2017 Jul 4, 4:25pm  

CBOEtrader says

The bigger question is how can management not realize these tasks could be automated?

Big companies really have dumb management in terms of day to day stuff. Now playing politics, powerpoint presentations and the like-they are superb

8   Dan8267   2017 Jul 4, 4:59pm  

anonymous says

Is it unethical for me to not tell my employer I’ve automated my job?

No. That's a trade secret. Just make sure you are the only one who has access to your scripts. Put them on an encrypted thumb drive. They are your tools not your employer. Own your own work.

9   Dan8267   2017 Jul 4, 5:00pm  

anonymous says

He basically spends his day taking care of his son, and fears if he reveals the scripts, he'll be let go, not for unethical behavior, but because the company will use the scripts and won't need him.

Exactly. They will steal your work and use your wealth generation for themselves while you get nothing.

10   Dan8267   2017 Jul 4, 5:01pm  

CBOEtrader says

The bigger question is how can management not realize these tasks could be automated?

Business people are incapable of creating automations. Only engineers can do this. This is why engineers should own the automations instead of business people.

11   CBOEtrader   2017 Jul 4, 6:06pm  

Dan8267 says

Own your own work.

Almost every employment contract has that "work for hire" clause that states anything you work on while employed is company IP.

They have contractual rights to those scripts (if he tells them).

12   HEY YOU   2017 Jul 4, 6:18pm  

joshuatrio says

He said they were ALWAYS the most efficient at doing things and found quick, automated solutions to complex problems.

When a problem arose in my construction business,I would ask the employees if they saw a solution.
The lazy fucks would usually have a good answer.

13   Tenpoundbass   2017 Jul 4, 8:53pm  

It takes the other 38 hours to think about the best way to script codegen queries. He also didn't talk about the hours and hours it took getting the data model just right so that works. And midnight oil to retrofit custom business logic. It's deliverables not time on the clock that counts.

His Employer knows their company is the only one in their vertical that is doing XML automation 3 years on. Because Microsoft managed code design patterns cripples development.
It's a design pattern, and developers like that do their brain work at home not in the office. We're always working.

He probably doesn't feel challenged he needs to take his rare skills to small manufacturing shops where you talk to the owners instead of HR through Facebook. His style does not fit in a shop that trying to make managed code that can be put on Amazon servers and managed by Indians that never go live

Many Enterprise shops has an IT execs that is actively sabotaging the project because he want's to go all SalesForce, or out source it to India.
They have an IT department and a software project in the works for the optics because they are trying to either raise capital or secure a loan.

They don't care if you twiddle your thumbs all day but don't you dare propose a better idea that just might work.

14   Tenpoundbass   2017 Jul 4, 9:10pm  

BTW I was straight up with my employer that I script code gen and use a lot of my technology in the their stack that was my proprietary property when I came to work for them.
I came in this company with a three year plan in and out. I have been so successful in my delivery with their requirements for the original plan. That they are trying like hell to create 4 more years of work with big heavy International partners. I'm ready for big big big money pay day, my code monkey days are over. They need to start talking about partnership or Skynet goes live.

15   Tenpoundbass   2017 Jul 4, 9:16pm  

My code is so obscure to your typical coder from a Scrum shop they wouldn't have a fucking clue what in the hell I'm doing. But it all works. Fuck with that it all doesn't any more.
Welcome to hell buddy. Databases in the 6Nth order and code load spread across a 6 part stack. But there's no ERP or CRM I can't integrate to any database. And I do it all in just 2 hours a day fuckwads! Fuck managed code, my shit works!

16   Tenpoundbass   2017 Jul 4, 9:24pm  

I would write a book on the subject and most developers wouldn't get it. It takes hours and hours of dedication the asshole in the story of the OP if full of shit.
He works 2 hours a day during normal business hours. He's working 16 hours a day. I run home many days at 3:30 chomping a the bits to get back to my home office sit my ass down and code what I do. Then I work until 2am 3 or 4am during crunch time for a crucial deliverable.
Sure I can deliver a project that takes your typical stack developer team of 3 months in under 3 weeks. it may look like I bullshited on Patrick.net for every minute I was at work during working hours. I have no home life and that's the truth. Nothing is free.

17   Tenpoundbass   2017 Jul 4, 9:34pm  

Basically your company doesn't own the program pattern or language. If you're not developing your own pattern and stack process. Then you are not staying Relevant.
And will be replaced by the next graduating class.

19   Strategist   2017 Jul 4, 11:12pm  

Dan8267 says

Business people are incapable of creating automations. Only engineers can do this. This is why engineers should own the automations instead of business people.

Who is stopping them from owning the companies?

20   Dan8267   2017 Jul 4, 11:16pm  

CBOEtrader says

Almost every employment contract has that "work for hire" clause that states anything you work on while employed is company IP.

Another way capitalism curtails innovation and entrepreneurship. See why it's a bad system yet? It takes away the incentive to invent.

21   Dan8267   2017 Jul 4, 11:19pm  

Strategist says

Who is stopping them from owning the companies?

Big business. For example, if big telecom and cable manage to kill net neutrality, they will prevent new start ups from making it. Another example, big auto killed Tucker. Another example, De Beers killed all competition with a monopoly. Another example, Microsoft force vendors not to use other people's operating systems with the threat of higher prices for Windows. I could go on and on about how the average Joe is prevented from competing with big business.

22   Dan8267   2017 Jul 4, 11:23pm  

Biometrically encrypt the scripts inside an app. Make sure you need your retinal scan to run them. That way you always add value. If they want to own the app, let them, as long as it's worthless without your retinal scan.

23   Strategist   2017 Jul 4, 11:30pm  

Dan8267 says

Strategist says

Who is stopping them from owning the companies?

Big business. For example, if big telecom and cable manage to kill net neutrality, they will prevent new start ups from making it. Another example, big auto killed Tucker. Another example, De Beers killed all competition with a monopoly. Another example, Microsoft force vendors not to use other people's operating systems with the threat of higher prices for Windows. I could go on and on about how the average Joe is prevented from competing with big business.

LOL. Here are more examples of big companies preventing the average Joe from competing:
Apple...Google....Amazon...Facebook....Microsoft....Tesla.
Apple started in a garage. How dare they.

24   Dan8267   2017 Jul 4, 11:36pm  

Strategist says

LOL. Here are more examples of big companies preventing the average Joe from competing:

Apple...Google....Amazon...Facebook....Microsoft....Tesla.

Apple started in a garage. How dare they.

Good job. You just proved there were exactly six opportunities available for average Joes. Now if only there were 300 million more you'd have a point.

The fact is that the winner take all nature of our economy does greatly hinder innovation by allowing for only six winners in the past 40 years. Image if we didn't have a winner take all economy and 300 million people could innovate and prosper.

25   lostand confused   2017 Jul 5, 5:03am  

Tenpoundbass says

BTW I was straight up with my employer that I script code gen and use a lot of my technology in the their stack that was my proprietary property when I came to work for them.

That works when you are a consultant. We run into all kinds of situations-sometimes he bigger companies will offer us the automation platform for free-with the caveat being only their employees/consultants will have access to run it. Today's world is interesting.

26   Tenpoundbass   2017 Jul 5, 5:36am  

lostand confused says

We run into all kinds of situations-sometimes he bigger companies will offer us the automation platform for free-with the caveat being only their employees/consultants will have access to run it. Today's world is interesting.

They are more than welcome to replace me with that non existent person or go back to doing it manually like their competition.
I drag in work after 10:30 and leave by 3:30 -4 ish.
Why do serfs and slaves expect everyone to do it the hard way?

If the guy had a magical elf in one pocket and a pocket porn star in the other, all he did all day was have his elf do all of his work load while his pocket elf gave him head, why would it matter to his employer?

27   Dan8267   2017 Jul 5, 7:39am  

ThreeBays says

First these companies are not 6 average Joe's, they are organizations of hundreds of thousands of highly educated workers.

That proves my point. The owners get billions of dollars whereas those highly skilled workers get hundreds of thousands of dollars despite being the entire reason for the revenue streams of the companies. Notice the difference.

And since any work those workers do related to IT, even on the side, would be owned by the companies, they have no reason to innovate.

28   Dan8267   2017 Jul 5, 7:41am  

If the employer is paying for his time, then it shouldn't matter if he's watching the clock at work. If the employer is paying for the work, then it shouldn't matter how quickly he does the job. If it makes everyone feel better, he could add a few "sleep()" calls to the scripts to make them take 8 hours.

29   Tenpoundbass   2017 Jul 5, 8:11am  

Dan8267 says

And since any work those workers do related to IT, even on the side, would be owned by the companies, they have no reason to innovate.

The company will never own concepts such as these.
https://stackoverflow.com/questions/5873170/generate-class-from-database-table

And scripts that Stubs out your classes, still leaves the task of going back to the classes and adding the inheritance for objects that need it, or add the List properties hierarchy to parent objects. Then any business rules or logic you they may require. Scripting the code cuts down writing redundant code that from project to project that part never changes. Companies should fire the idiots still wasting their time typing out 25,000 lines of code needlessly.

30   NuttBoxer   2017 Jul 5, 11:54am  

If it's a good company they would promote him. If it's a bad company they would take the scripts and fire him. I say tell them, because who wants to work for a bay company? Plus I think it would look pretty good on a resume. Take that to a more challenging job where he can spend 6-8 hours a day improving a companies process.

But how long has this been going on without them knowing? The longer he waits, the more sticky it could get revealing what he's accomplished.

31   Dan8267   2017 Jul 5, 12:11pm  

NuttBoxer says

I say tell them, because who wants to work for a bay company?

It's not always a choice. Bad companies outnumber good companies a hundred to one. When you go by jobs, it's even worse because most gigantic companies are bad companies.

32   Tenpoundbass   2017 Jul 5, 1:10pm  

NuttBoxer says

But how long has this been going on without them knowing? The longer he waits, the more sticky it could get revealing what he's accomplished.

The reality is, unless you're under the gun to deliver code for the next day or fix a bug. Most developers work 10% of their time at work on actual coding.
IF you work for a company with more than 500 employees, you have at least two birthday cake in the kitchen announcements a day. 3 meetings, the office gossiper stopping by 5 times, a senior manager to ask about viability of the next project concept, then end users with their petty problems.
If he's working 2 hours a day that's 15 minutes more than most.

Imagine trying to write a Novel with those kind of interruptions while your creative juices are flowing, and you're not writing the ideas down. That's what interruptions are like for a coder. If you are being asked by another user about a process in code, it could take you from the code you were working on at the time before the interruption. Often forgotten and thought complete until you're ready to test the complete project then realize you were pulled away and forgot to finish plugging in the Database update method.

You're not there to be an office bitch, subject to the daily routines of the office they all get to leave in the office when they go home. Those folks are making $35K to $45K to toil over office operations. A software developer in a socially active office is wasting 90% of this time doing $35K pay grade Office stuff including participating in the New Printer naming contest.

That's the real reality of corporate software development in the Enterprise. It took me Years of working in unproductive offices to realize that if I don't go over the HR and CTO's head and go directly to the business owners and explain that I can deliver that huge project in three days only if I disappear from work for three days. Then I'll be part of the massive IT department shake up in a year to three.
My company wants (X) from me, they don't give a shit if I show up at work at 4:30 to tell them it's pushed and then back out the door by 4:45.
I'll be fucked and the first one so fired if I ever get to the point I'm not only delivering, but not delivering huge projects in ridiculously short amount of time.

The owners and pretty much every one in the know of their competition and partners know the other companies have 5 people to my counterpart.
Even their competition's management brags about to me to other companies.

33   NuttBoxer   2017 Jul 6, 11:25am  

Tenpoundbass says

If he's working 2 hours a day

He's working 2 hours a week.

34   Tenpoundbass   2017 Jul 6, 12:16pm  

NuttBoxer says

He's working 2 hours a week.

He's full of crap or his company is only asking him to write redundant crap.
As I've outlined in my posts on this topic.Then that is the case it may be due to appearances of having an IT staff, and his bringing attention to inefficiencies is a great way for him to part ways with that company. Never piss off the Gravy Train conductor.

Please register to comment:

api   best comments   contact   latest images   memes   one year ago   random   suggestions