ProgrammerHumor

gottaOptimize

gottaOptimize
https://i.redd.it/87tckseiwmdf1.jpeg
Reddit

Discussion

AibofobicRacecar6996

But those 15 minutes of a repetitive task feel like 15 hours.

4 hours ago
Mindless-Hedgehog460
:c:

Or the 2 hours spent writing the script feel like 10 minutes

4 hours ago
cjbanning

Both.

3 hours ago
Piisthree

Plus, the unspoken potential cost of errors when 15 minutes of drudgery is done by hand.

3 hours ago
Rich_Side3975

But the script will have unit tests. the manual task won’t.

4 hours ago
WoodenNichols

Relevant XKCD.

https://imgs.xkcd.com/comics/is_it_worth_the_time_2x.png

4 hours ago
_bluecalx_

Nice

4 hours ago
rastaman1994

We use this all the time at work.

2 hours ago
WoodenNichols

The comic? I've referenced it more than once...

1 hour ago
rastaman1994

It's a really easy way to decide whether to automate or not, and to talk people out of the idea to automate.

1 hour ago
dan-lugg
:kt::cs::g::j::p:

Also, relevant XKCD

https://xkcd.com/1319/

5 minutes ago
ThePabstistChurch

Dude I wish this was the case. Where i am working people have been doing the same tasks that take hours for 10 years and they could be automated in a month

4 hours ago
Crumineras

Im not automating because its faster, im automating because i keep messing it up

4 hours ago
_bluecalx_

But you've learned something new and had fun.

4 hours ago
hulkklogan
:ts::py::bash:

But now i can make AI do it but fuck it up and it'll take me 30 minutes instead of 15

3 hours ago
humblevladimirthegr8

This but unironically. AI is pretty good at writing scripts. It takes a couple of attempts but I can generally get it working in 30 minutes which pays for itself quickly. Even for a one off task I'll often want to make mass modifications to the result later which is easier to do with a script.

2 hours ago
hulkklogan
:ts::py::bash:

i actually agree just was being funny. I currently am working on some type changes in one file that gets called basically everywhere and having AI write a quick script to go update the various types vs trying to figure out the best ast-grep pattern and stuff is super helpful.

2 hours ago
HexKernelZero

They just posted a study that found using AI slows you down by up to 20%. So, while it feels faster and easier, it may only really be the latter.

2 hours ago
hulkklogan
:ts::py::bash:

I saw that the study is being heavily criticized. I think it's like anything new, it slows you down until you get the hang of it.

Some of the most senior guys at the company are raving about how productive they are with AI, but I bet they've been tinkering in spare time and know how to prompt adequately to produce decent enough results that corrections don't take so long. Maybe depends on use-case too, they're most often using it to build out tools and scripts rather than production code.

2 hours ago
dazzaboygee

Make it then put it on github.

Who knows how many people might have the same weird specific problem.

4 hours ago
Madcap_Miguel

I've done this on my own time at home, used it once at work, became frustrated I wasted time on it a year later and nuked it, only to realize I needed/could use some of that in another project.

So I rewrote it, it's not a waste of time even if it's just an exercise in problem solving.

4 hours ago
Anaxamander57
:py::rust:

Speak the Holy Creedo: If you have to do it more than twice automate it.

2 hours ago
clearision

i play Factorio to scratch that itch

4 hours ago
MasterQuest

But what if though, right?

4 hours ago
Elvis5741

When the task has to be repeated atleast 9 times its worth it

3 hours ago
at_hand

I once created a python script for compiling documents on parallel using latex. Huge waste of time, but man was it worth it.

3 hours ago
moonblade89

The problem with tasks youll never need to do again, is youll be asked to do them again in the near future

3 hours ago
MGateLabs

Hey, sometimes it pays off. We’ve been struggling with signing up for volunteering, because everything gets taken instantly. We even tried having 3 people helping at the same time, but no success. So I suffered a bit with chrome dev tools, watch the api calls for the previous week and coded up a client. Next time the app works and a signed up for every day.

3 hours ago
PrinzJuliano
:ts::sw::kt::g:

What do you mean „resisting“? there is no way I‘m not trying to

3 hours ago
milk-jug

Two hours? Amateur. Try 18 hours then double it.

2 hours ago
neo-raver
:cp::py::rust:

I don’t think people understand; some people like programming, and making a general computer task into a programming problem makes the task more fun, efficiency be damned! (source: I am “some people”)

2 hours ago
Agent_Specs

The other day I wrote a program to find all the whole numbers between two selected numbers and calculate the mean. It was for another program I was making to help make the process easier, not faster, easier. I realized I could just use the two numbers I was already given and still get the same answer. I then deleted the program

1 hour ago
WrongdoerIll5187

AI makes this kind of a moot point. I for one am glad I never have to shell script by hand again but it completely upends this meme. My instinct to script everything is finally correct.

3 hours ago
baim_sky

I'm in this picture and I didn't like it

3 hours ago
DT-Sodium

I've been doing a stupid daily task that could easily be automated for the past 5 years soooooo.

41 minutes ago