592
boo.py (lemmy.world)
submitted 3 weeks ago by [email protected] to c/[email protected]

My best prank and I won't even be around to see it

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 67 points 3 weeks ago* (last edited 3 weeks ago)

Good point.

"Me writing a script that looks for my obituary, and when it finds it, sends memes from my account to my friends, until one of the random memes is a webp, python starts throwing errors in an infinite loop, it doesn't properly reset the timer because I had that inside the try block, and the whole system crashes from an error log file eating all the hard disk space 2 days later."

[-] [email protected] 38 points 3 weeks ago

That's an easy fix. Just write a second script to erase the data in the error log file every now and then.

[-] [email protected] 14 points 3 weeks ago

This man codes

this post was submitted on 19 Jun 2024
592 points (98.8% liked)

memes

8761 readers
2879 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS