sjmarf

joined 2 years ago
MODERATOR OF
[–] [email protected] 3 points 2 days ago* (last edited 2 days ago)

The Lemmy UI doesn’t allow you to see others’ private messages, no, but you shouldn’t consider them to be private. It’s possible for instance admins to read them, and in the past there’s been exploits allowing anyone to read them. If you need more private messaging, use Matrix instead.

482
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 

Captured by u/ajamesmccarthy on Reddit (post here) on Sunday.

[–] [email protected] 53 points 2 weeks ago (3 children)
[–] [email protected] 103 points 3 weeks ago (4 children)

For your viewing pleasure:

for entry in entries:
    if entry['time'] + 1800 < time():
        guild = self._bot.get_guild(int(entry['guild_id']))
        member = guild.get_member(int(entry['user_id']))
        if member is not None:
            if member.activity.name is not None:
                if member.activity.name.lower() == "league of legends":
                    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')
[–] [email protected] 16 points 3 weeks ago (2 children)

Python does have a switch statement now, actually. And yes, they went out of their way to call it something different - match.

https://docs.python.org/3/tutorial/controlflow.html#match-statements

225
Meow (sh.itjust.works)
 
814
The irony (sh.itjust.works)
 
 
[–] [email protected] 28 points 1 month ago* (last edited 1 month ago)
[–] [email protected] 2 points 1 month ago (1 children)

When you go out in public and the public is there

[–] [email protected] 3 points 1 month ago (2 children)

Yes. This is the Armor 33 Pro by Ulefone. It’s got a 25500mAh battery.

[–] [email protected] 27 points 1 month ago (1 children)

there was nothing preventing women from having bank accounts before 1974.

Depending on which banks were available in her area, she may still have been unable to open a credit card despite it being legal to do so. Prior to 1974, it was legal for banks to require a man’s signature for a woman to open a credit card, and many banks chose to require this. According to this article from the Smithsonian Magazine, some banks also applied a 50% reduction to womens’ wages when calculating the credit card limit for an applicant.

I agree that the facts are very frequently misrepresented.

[–] [email protected] 52 points 1 month ago

He dined peacefully in his home with his family.

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago) (4 children)

Yeah, you would've thought it would work that way. Regrettably, the standard timezone code of Etc/GMT+4 is actually GMT-4. Wikipedia

 
 
 
473
me_irl (sh.itjust.works)
 
 
116
Printed out (sh.itjust.works)
 
547
Saitama, Japan (sh.itjust.works)
 
view more: next ›