this post was submitted on 24 Jun 2023
446 points (98.7% liked)

Programmer Humor

19935 readers
390 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 23 comments
sorted by: hot top controversial new old
[–] grue@lemmy.world 26 points 2 years ago (1 children)
[–] Adda@lemmy.ml 13 points 2 years ago* (last edited 2 years ago)

Nevertheless, there is the one hidden advantage of this approach: You learn new things while trying to automate everything. Remember, that it is the journey that is important, not the destination ;)

[–] yote_zip@pawb.social 9 points 2 years ago

Sometimes you've got time now and you don't know if you will later. My folder full of messy scripts are an investment for the future! Any day now...

[–] nanoUFO@sh.itjust.works 8 points 2 years ago

When you automate something and then never use it again.

[–] Luvon@beehaw.org 8 points 2 years ago

And don’t forget the 10 hours to adapt it to a more generic workflow when you need to do something similar 3 weeks later

[–] Golfindriel@lemmy.world 8 points 2 years ago

This is the way.

[–] z500@startrek.website 7 points 2 years ago* (last edited 2 years ago) (1 children)

I just straight up gave up trying to automate renewing my wildcard certificate from Letsencrypt after who knows how many weekends. Typing a single command won't kill me lol

[–] Kawaiikurai@sh.itjust.works 7 points 2 years ago (1 children)

Sounds like you can schedule that command with crontab then

[–] z500@startrek.website 3 points 2 years ago* (last edited 2 years ago) (1 children)

That's the easy part, the hard part was getting the acme-dns authentication to work since you can't use the regular automated update with a wildcard certificate.

[–] tool@r.rosettast0ned.com 4 points 2 years ago (1 children)

What exactly are you having trouble with? I've automated all of our LetsEncrypt renewal stuff at work, including certs for wildcard domains, and it's using the DNS plugin.

[–] z500@startrek.website 1 points 2 years ago* (last edited 2 years ago) (1 children)

Honestly I've sunk so much time into this that I never want to think about it again if I can just run a shell script once every 3 months haha. I never understood the process too well.

[–] tool@r.rosettast0ned.com 2 points 2 years ago (1 children)

Ok, well, let me know if you want some help with it in the future, because I've done it an uncountable number of times.

[–] z500@startrek.website 1 points 2 years ago (1 children)

Thanks, I appreciate that. My cert is expiring in a few weeks, maybe I'll take another crack at it.

[–] tool@r.rosettast0ned.com 1 points 2 years ago

Ok, let me know if you want help.

[–] tool@r.rosettast0ned.com 6 points 2 years ago

I was not prepared to look into a mirror when I opened this post...

[–] withersailor@aussie.zone 6 points 2 years ago

I'm feeling targeted.

[–] tappyturtle@programming.dev 4 points 2 years ago (1 children)

And then spending an hour fiddling with my crontab

[–] freakrho@programming.dev 4 points 2 years ago

i automate things so i have more free time for my hobby: automating things

[–] jcat@lemmy.world 3 points 2 years ago

My husband will not admit it but this is him

[–] dylanTheDeveloper@lemmy.world 0 points 2 years ago

The one thing that i will avoid at any cost is math, i would rather write a program to do it for me

load more comments
view more: next ›