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

Programmer Humor

19471 readers
1392 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
[–] [email protected] 26 points 1 year ago (1 children)
[–] [email protected] 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 ;)

[–] [email protected] 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 8 points 1 year ago

When you automate something and then never use it again.

[–] [email protected] 8 points 1 year ago

This is the way.

[–] [email protected] 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

[–] [email protected] 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 7 points 1 year ago (1 children)

Sounds like you can schedule that command with crontab then

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 1 points 1 year ago

Ok, let me know if you want help.

[–] [email protected] 6 points 1 year ago

I'm feeling targeted.

[–] [email protected] 6 points 1 year ago

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

[–] [email protected] 4 points 1 year ago

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

[–] [email protected] 4 points 1 year ago (1 children)

And then spending an hour fiddling with my crontab

[–] [email protected] 3 points 1 year ago

My husband will not admit it but this is him

[–] [email protected] 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 ›