this post was submitted on 09 Sep 2024
565 points (97.6% liked)

memes

10375 readers
2244 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
all 41 comments
sorted by: hot top controversial new old
[–] AmbiguousProps@lemmy.today 85 points 2 months ago (3 children)

Hey, if it ends up saving time and stress after those two days it was worthwhile.

[–] KoboldCoterie@pawb.social 67 points 2 months ago (1 children)
[–] Quik@infosec.pub 19 points 2 months ago

Seems to have become one of the fundamental rules of the Internet now, I approve 👍

[–] spiffpitt@lemmy.world 35 points 2 months ago (1 children)

it wont, it's just more enjoyable to automate a task than to do it manually

[–] lobut@lemmy.ca 10 points 2 months ago

There's something really satisfying about running a script that you know would save time. Even if the overall time is probably a negative.

I wrote a script that would log me into our AWS EKS stuff. I typically would have to copy these 7 lines and look up which cluster version I'd need. One of my lines just pulls all the clusters and I use fzf to select the cluster I wanted. Takes away all the pain and makes me feel smug. Love it.

[–] UnderpantsWeevil@lemmy.world 11 points 2 months ago* (last edited 2 months ago)

It's a two minute task, but it happens randomly between the hours of "romantic dinner with my wife" and "ten minutes after the baby finally went down for a nap".

[–] Boozilla@lemmy.world 64 points 2 months ago (2 children)

Automation also cuts down on mistakes.

Or greatly amplifies them if you coded it wrong.

[–] Telorand@reddthat.com 15 points 2 months ago
Test 1:
Locking process.
Unexpected error encountered. Exiting immediately.

Test 2:
Waiting for process unlock to proceed. 

Test 3:
Waiting for process unlock to proceed. 

Test ...
[–] gedaliyah@lemmy.world 39 points 2 months ago (1 children)

The exception is if it's open source and can save thousands of people two seconds.

[–] Zorg@lemmings.world 15 points 2 months ago (2 children)

Doesn't even have to be the case. A 2min task done every (work)day, takes up a bit over 7 hours/year. After 2½ years it will be a benefit to have automated it!

[–] Xanis@lemmy.world 6 points 2 months ago

The benefit of automating is really measured in hair loss and extra time to grab another coffee.

[–] ryathal@sh.itjust.works 1 points 2 months ago (1 children)

Only if the requirements stay the same for 2.5 years. Otherwise there's probably another week of time trying to update the initial work, then just throwing it away and making a new solution that's theoretically easier to update.

[–] CodexArcanum@lemmy.world 3 points 2 months ago (1 children)

If changing requirements mean you need to update the script, then updating the script is part of your job. QED. I don't see the problem with a little job security.

[–] ulterno@lemmy.kde.social 2 points 2 months ago* (last edited 2 months ago)

Yeah, just add it to the 'amount of work you are putting'.

When setting up git hooks for my project, I looked at other's OSS hooks first. That shaved off significant hours off of my Research.

[–] SuperRecording@lemmy.ml 36 points 2 months ago (2 children)

Yeah, and you build skills and reusable code base that'll be useful for automating/ simplifying future tasks 😎

Some years of this, you get to the point where you can solve damn near everything quickly and people think you're some magical shit-wizard

[–] Krackalot@discuss.tchncs.de 15 points 2 months ago

I don't know how to code, but I'm already a shit wizard.

[–] Passerby6497@lemmy.world 6 points 2 months ago (1 children)

you get to the point where you can solve damn near everything quickly and people think you’re some magical shit-wizard

This is basically my work life, and its almost a problem because I'm the first guy people call when they need something done.

The perils of being competent. /s

Fucking competence. I wish I was bumbling fool with severe Dunning-Kruger more often than I care to admit.

[–] Etterra@lemmy.world 31 points 2 months ago (1 children)

And if it's a task that will need to be done thousands of times a month or even year, you should thank them for it.

[–] szczuroarturo@programming.dev 3 points 2 months ago

Obviusly it has to be done once evey year.....or a decade.

[–] SkyeStarfall@lemmy.blahaj.zone 24 points 2 months ago (1 children)
[–] Lifter@discuss.tchncs.de 2 points 2 months ago (1 children)

With this as a guide, it would be enough if the task needed to be done twice per day to break even after five years.

[–] mipadaitu@lemmy.world 5 points 2 months ago (1 children)

That's also only assuming that one person is doing that 2 minute task. If you automate a 2 minute task for 5 people, then it's only 1 year.

[–] ulterno@lemmy.kde.social 1 points 2 months ago

I just realised I was being waay more efficient than I needed to be.

[–] ShortFuse@lemmy.world 22 points 2 months ago (1 children)

I can spend 2 minutes scanning a page for a certain word every time I need to search for something.

But I'm very happy somebody spent the time to code Ctrl+F.

[–] Hobo@lemmy.world 11 points 2 months ago

Ctrl+f code has to be some of the most efficient automation ever written. Time spent was probably about day and the time saved in work hours is probably in the trillions at this point.

[–] ilinamorato@lemmy.world 18 points 2 months ago (1 children)

Yes, but since it runs automatically every day and emails my team the results, I don't have to remember to do it on my own. I don't even have to be working that day. Taking "my ADHD memory" out of the system is always a win.

[–] ShareMySims@sh.itjust.works 2 points 2 months ago

Accessibility in general seems to be a huge benefit to automation a lot of people here including op are overlooking, which is a great shame but unfortunately not surprising..

[–] sirico@feddit.uk 16 points 2 months ago (1 children)

A two minute task done with 0 errors and once it's done that 1440 times it's a net positive

[–] ZILtoid1991@lemmy.world 2 points 2 months ago

Garbage collection/memory safety in a nutshell.

[–] Geometrinen_Gepardi@sopuli.xyz 13 points 2 months ago

If you choose to do a task manually over and over instead of automating it, you might as well go dig ditches and hammer nails.

[–] CodexArcanum@lemmy.world 12 points 2 months ago

Programmers after slacking off for two days to improve their factories in Shapez2 because they already automated all their tasks.

[–] SlopppyEngineer@lemmy.world 10 points 2 months ago

Non automated tasks remain in the inbox for a week, so spending 2 days automating them means they're finished earlier.

[–] repungnant_canary@lemmy.world 9 points 2 months ago (1 children)

One more advantage is that you now have the full process well documented (via code) and if you realize some change is needed you can repeat the task quickly.

[–] EnderMB@lemmy.world 3 points 2 months ago

Sometimes I've gone the other way. My manager complained once that I didn't automate a task to get business metrics, and I responded to say that it currently takes me 1 minute to pull the metrics and paste them into a spreadsheet and print a PDF. Automating this would take at least several days, for a slide that changes constantly, and where the data often requires a deep dive into why the data is how it is. What's the point in automating something that I already need to manually look at?

They raised it with our PM, and their response was "fair, I wish I hadn't bothered to automate things last year".

If the cost would give a higher benefit, sure, automate it so that it spits out a spreadsheet every week and do the manual stuff separately - but automating something "because you can" is junior level shit. My time is valuable, let me work on stuff that actually matters.

[–] Pacattack57@lemmy.world 2 points 2 months ago
[–] imouto@lemmy.world 1 points 2 months ago

can concurrently But run it