Spend 5x as long as the original task generalizing it,and it doesn’t work 🙃
There’s no such thing as a hard-coded script if you have write access.
It’s parameterized in detail
It’s depending on a package that’s now unsupported and not in the official repo
Better than spending a day writing the script, only to discover that you’d already written a better one as soon as you’re done.
First day at Antimemetics and I’m already wasting my own time.
That’s almost as bad as spending time upgrading a script only to find out you already updated it and forgot you gave it a stupid name.
Thank the gods for content searching vs file name searching. Only way I can find stuff some day.
This is a perfect use case for ai.
I don’t want an AI shitting up my nice, clean, best-practice following bash.
If I could give your edit an upvote separately from the main post, I would - congrats on the emotional maturity! /gen
It’s hard to notice AI shitting up your code when you’re terrible at coding in the first place and think suggesting AI is a perfectly good choice.
All you do is give it the existing code and say ‘unhardcode these values’. People are unreasonably fearful of new tools.
And then you realize the ai was trained on countless rm -rf / troll posts.
function x is now deprecated.
I remember searching stack overflow for a oddly specific issue and found a post about it with an answer. The person who asked the question was me 6 years ago.
The person who asked the question was me 6 years ago.
I have a numbered account on S-O because I couldn’t be arsed to make an account. Almost every month I’ll try to upvote a response and find out it’s my own. I don’t remember writing the response and I only vaguely remember seeing the issue it’s solving.
I’m convinced future-me is going back in time and writing these but - so far - I never come to my own dinner invite for myself; and knowing I don’t, I know I shouldn’t.
You’re way ahead of yourself that guy doesn’t stand a chance.
That’s why I always answer my own questions on stackoverflow, if I find the answer first.
I saw something a while back an about posting the wrong answer intentionally so a certain subset would not be able to resist providing a “correction”.
Some call this Cunningham’s Law. It is remarkable how people will ignore a question, but trip over themselves to correct someone. Pedants are going to be pedantic (but may have a useful answer occasionally).
The developers where I work sometimes use this trick on our users. When they can’t get a response from the users on a request for design input or feedback on something (which happens a lot) the devs will sometimes release some piece of garbage looking thing, and then the users will very quickly put in support cases with the requested info telling them the missing stuff, etc.
Human nature is why we can’t have nice things.
60% of the time it works every time
I find the answer first.
At least some pedant like me won’t need to come along after and fix the writing; so thanks !
I had the same experience, however, I was the one who answered it. Completely forgot about it until then as well