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

Programmer Humor

19522 readers
330 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 1 year ago
MODERATORS
 
top 23 comments
sorted by: hot top controversial new old
[–] grue@lemmy.world 26 points 1 year ago (1 children)
[–] Adda@lemmy.ml 13 points 1 year ago* (last edited 1 year 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 1 year 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 1 year ago

When you automate something and then never use it again.

[–] Golfindriel@lemmy.world 8 points 1 year ago

This is the way.

[–] Luvon@beehaw.org 8 points 1 year 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

[–] z500@startrek.website 7 points 1 year ago* (last edited 1 year 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 1 year ago (1 children)

Sounds like you can schedule that command with crontab then

[–] z500@startrek.website 3 points 1 year ago* (last edited 1 year 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 1 year 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 1 year ago* (last edited 1 year 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 1 year 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 1 year 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 1 year ago

Ok, let me know if you want help.

[–] tool@r.rosettast0ned.com 6 points 1 year ago

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

[–] withersailor@aussie.zone 6 points 1 year ago

I'm feeling targeted.

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

And then spending an hour fiddling with my crontab

[–] freakrho@programming.dev 4 points 1 year ago

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

[–] jcat@lemmy.world 3 points 1 year ago

My husband will not admit it but this is him

[–] dylanTheDeveloper@lemmy.world 0 points 1 year 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 ›