News for hackers. Stuff that matters.
Re:Ask HN: Is there any software you only made for your own ... by galdosdi on Friday July 05, 2024 @10:22AM (#40883033)
Reminds me of a classic story that makes a good programming parable:

Back in 2011, my girlfriend was working at a catering company that announced shifts via a webpage and workers had to sign up for them. Other workers tended to pick them up very quickly, so it was hard to get too many shifts.

I wrote a quick web scraper to automatically accept any shift offered and email her.

For a couple weeks it was great, suddenly she had all the work she needed.

Then one day she woke up late to find a voicemail telling her she was fired.

Earlier that morning the script had detected a last minute job announced just an hour before start time and immediately accepted it, resulting in her not showing up to it. I had not accounted for the possibility they would announce a job so last minute, since it had never happened before.

Re:Ask HN: Is there any software you only made for your own ... by roughly on Friday July 05, 2024 @01:55PM (#40884699)
As they say, Unix gives you enough rope to shot yourself in the foot.
Re:Ask HN: Is there any software you only made for your own ... by qup on Friday July 05, 2024 @05:14PM (#40886075)
How'd she take it?
Re:Ask HN: Is there any software you only made for your own ... by galdosdi on Friday July 05, 2024 @09:42PM (#40887606)
Well, while we obviously were both upset and sad about the situation, she was very understanding, for which I am thankful. We were in it together. It helped that she managed to find a slightly better job pretty shortly thereafter. Nevertheless I felt really guilty about it and as a result the obvious relevant professional programming lesson was instantly and indelibly burned into my brain: you can fix bugs, but you may never be able to undo the real world user level consequences of the buggy software's time in production before being fixed. I was just out of college then and it solidified more respect for the power of the machine.
Re:Ask HN: Is there any software you only made for your own ... by satvikpendem on Wednesday July 10, 2024 @03:37PM (#40930641)
I've favorited your top-level comment. This is an incredibly important lesson to learn, one that I wish I learned earlier in life, but your favorited comment will be a reminder for me in the future.
Re:Ask HN: Is there any software you only made for your own ... by galdosdi on Friday July 12, 2024 @10:17AM (#40945789)
I'm deeply gratified. Thank you.
Re:Ask HN: Is there any software you only made for your own ... by omerhac on Monday July 08, 2024 @04:43PM (#40909474)
Great story. Did they fire her for that one time she didn't show up? Thats tough
Re:Ask HN: Is there any software you only made for your own ... by galdosdi on Thursday July 18, 2024 @11:16AM (#40996359)
This was in 2011, just after the Great Recession. It was a tougher labor market then. It was normal for low skill jobs to fire people on the spot for no show / no call. The labor market has changed in that sector since then.