589
boo.py (lemmy.world)
submitted 4 months ago by mycodesucks@lemmy.world to c/memes@lemmy.world

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
[-] 9point6@lemmy.world 106 points 4 months ago

Given your username, I'm not convinced it's going to go to plan

[-] mycodesucks@lemmy.world 68 points 4 months ago* (last edited 4 months 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."

[-] Cosmonaut_Collin@lemmy.world 38 points 4 months ago

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

[-] gimsy@feddit.it 14 points 4 months ago

This man codes

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

memes

10308 readers
1210 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 !politicalmemes@lemmy.world

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