Sjmarf
spoiler
Hello world
- 501 Posts
- 246 Comments
The database I use at work uses JavaScript for custom functions.
Sjmarf@sh.itjust.worksto Perry Bible Fellowship@discuss.online•Growing Together (2022-12-02)English18·30 days ago*You dirty birch
Yep, this will cause a stack overflow.
Not my OC. OOP was told about this and left the post up anyway :)
Oops, I had meant to crop it but messed it up somehow. Thanks for letting me know.
I got this from a Reddit comment, and unfortunately the official app doesn’t have a way to save images from comments anymore. They want people to share a link instead ;-;
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.
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')
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
When you go out in public and the public is there
Yes. This is the Armor 33 Pro by Ulefone. It’s got a 25500mAh battery.
That particular omnibus seems to be a modern replica:
https://www.coyaltix.com/picnic-wagonpk4/
Though some buses of the time period did have a similar multi-floor design. This one is from the 1880s: