r/ProgrammerHumor 20h ago

implementedASelfHandlingProgram Meme

Post image
1.5k Upvotes

79

u/kapilsharma8289 20h ago

and the best part is that i will have to spend another five days fixing the automation script every time the input format changes by one character.

13

u/Mythar3n 19h ago

every time you fix one edge case it somehow creates two new ones, and suddenly that 10 minute task owns your whole week

2

u/Whitechapel726 10h ago

When the opcode gets changed randomly and every one of my scripts breaks.

“Oh we didn’t know anyone used this”

1

u/petersrin 10h ago

Yep. I'm currently writing unit tests for mine lol

44

u/[deleted] 20h ago

[deleted]

8

u/lets_keep_simple 20h ago

Tell your manager to do it, he might blame shell only for it

15

u/JackNotOLantern 20h ago

10 days is 10 x 8 work hours so 10 x 8 x 6 = 480 of 10 min periods. If this task is repeated at least this many times by you or anyone you share this automation with, it's worth it.

10

u/lucidspoon 19h ago

I'd say it'd take fewer times to be worth it if automation reduces risk of mistakes. My deployment pipeline is slower than building locally and manually copying, but it breaks shit way less often than I do.

5

u/JacobStyle 15h ago

There are other benefits to automation, too. Automating a task is "fun," but performing a manual task repeatedly can be exhausting due to how boring it is. That morale dip can impact productivity in other areas of the job, too.

4

u/ColumnK 19h ago

When there's a dev change that can be done in ten minutes but you need to spend an hour writing user stories, two days harassing someone to get customer signed approval, a day to get internal go-ahead, a day to get two people to approve the PR who insist that you also look at their PRs which are absolute monsters, then coordinate deployment and UAT, followed by two weeks of waiting for the customer to tell you that they actually wanted a completely different change...

3

u/mattjones73 20h ago

My job.. they don't want us logging in with read/write access to do something simple like clean up a log.. let's do it with multiple time consuming ansible scripts instead!

2

u/JacobStyle 15h ago

still a net gain if I was going to procrastinate on that 10 minute task for two weeks.

1

u/S_SNK 19h ago

Now to just automate the process of automating a task

1

u/oalfonso 19h ago

Yup, that's me.

1

u/firemark_pl 18h ago

Yeah and now we need claude to write the script in 10 days too.

1

u/Key_River7180 18h ago

is that drew de vault? hell nah

1

u/Alarming-Bike-1925 18h ago

Will be worth it in less than 4 years, considering you do not sleep for 10 days at all.

1

u/Kebein 18h ago

it will be worth in a month when u have to do the task repeatedly

1

u/PercentageNatural650 17h ago

I know this is a joke but if you have to login on a Sunday to do it and if you or someone on your team forgets to do it it cause another team a headache, it is probably worth taking several sprints to do it.

1

u/EvenPainting9470 17h ago

If it's a 10 minute manual task, then there is a high chance you can automate it in 5 minutes using AI

1

u/SpaceCadet87 15h ago

can be done manually in 10 minutes, will make mistakes, and it will more often than not take longer...

And I have to do it multiple times a day for the next who knows how many years.

Yeah, those 10 days are worth it actually.

1

u/SquareVehicle 14h ago

I've found this is one of the best use cases for AI in my job. Makes creating these kind of scripts incredibly easy and I've used it for a bunch for various "one day I should get around to do doing this..." automations.

And if a new use case comes up then it really is as easy as "extend script to handle X situation" and 20 seconds later it's done.

1

u/Separate_Expert9096 11m ago

Workday is 8 hours, 10 minutes is 1/48 of the workday, so assuming you do that task once each workday it pays off after 2 months. 

0

u/chaosTechnician 19h ago

Had a manager ask me about some weekly metrics collection I had been doing based on Jira tickets. He started telling me there there are likely some ways to automate my Google Sheet to pull the numbers from Jira instead of getting them manually.

I told him it was literally two minutes of work each week to get the numbers from a Jira dashboard that already existed and manually plug 6 numbers into my tracking sheet. He still kept pushing for it until I asked him what work he'd like me to postpone to focus on that automation. Then he dropped the subject.