CannedYeet
@CannedYeet@lemmy.world
- Comment on How does the Chinese government even work 2 days ago:
I wish I had a source on this, but I heard that bribery of government officials is the norm. They don’t get paid much so it’s expected they take bribes. But their bosses keep them in line. And the weird thing is that it actually works kind of well to make sure things get done, compared to the gridlock faced when trying to build houses or public transit in most cities in the US.
- Comment on 2 weeks ago:
Except the person next to you or behind you gets frustrated and cuts you off and you have to hit the brakes and create a traffic pulse.
- Comment on When Americans Fly Economy, They're Actually Paying for Someone Else to Fly Private 4 weeks ago:
How would that even work? Commercial airlines and private jet operators are different entities.
- Comment on pegged 1 month ago:
This would be a good use for Pepsi nitro
- Comment on Why democrats under Biden administration didn't release Epstein files? 1 month ago:
Reminder, when you don’t do things by the book, the perp wins in court on technicalities or wins on appeal. For example, see Harvey Weinstein.
- Comment on It’s the little things 2 months ago:
You can add a wetting agent to water to decrease the surface tension
- Comment on Oatmeal 2 months ago:
A bag of dicks
- Comment on The Legends is among us 2 months ago:
I worked with chatgpt to since I’m not a python dev, and this is what I came up with
from time import time class PlaySession: def __init__(self, data: dict): self.guild_id = int(data['guild_id']) self.user_id = int(data['user_id']) self.timestamp = data['time'] def is_longer_than_half_hour(self) -> bool: return self.timestamp + 1800 < time() async def resolve_member(self, bot) -> "discord.Member | None": guild = bot.get_guild(self.guild_id) return guild.get_member(self.user_id) if guild else None @staticmethod def is_playing_league(member) -> bool: activity = getattr(member, 'activity', None) name = getattr(activity, 'name', None) return name and name.lower() == "league of legends" async def ban_for_league(member): await member.send("The 30 minutes has elapsed and you are still playing league, get banned.") await member.ban(delete_message_days=0, reason="playing league") async def process_entries(bot, entry_dicts): sessions = [PlaySession(d) for d in entry_dicts if PlaySession(d).is_longer_than_half_hour()] for session in sessions: member = await session.resolve_member(bot) if member and PlaySession.is_playing_league(member): await ban_for_league(member)
- Comment on Kid gave a reasonable answer without all the math bullshit 3 months ago:
Marty ate some of someone else’s pizza
- Comment on Software engineer lost his $150K-a-year job to AI—he’s been rejected for 800 jobs and forced to DoorDash and live in a trailer to make ends meet 3 months ago:
George Carlin having a stroke
- Comment on Resistance is futile 4 months ago:
I use Linux. Can someone explain this meme to me?
- Comment on Recommendations for "girly" games? 4 months ago:
Monument Valley
- Comment on Getting mixed signals from Reddit. Furthermore I shall henceforth be on Lemmy full time. 4 months ago:
Can we talk about how screwed up that streak notification is? Let’s encourage people who show signs of unhealthy usage of the platform to further their addiction?
You have a 300 day streak of using heroin, don’t stop now!
- Comment on Why do people insist on not answering ALL the questions in an email or text message? 5 months ago:
This. Use bullets or bold each question so the number of questions is clear before each question is fully read.
- Comment on [deleted] 5 months ago:
For further details, see “The Master Plan” podcast series from The Lever.
- Comment on Thinkpad for the win 6 months ago:
I hope they used the official Apple cleaning cloth that’s certified compatible with that model of MacBook