Hello world
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
Yes. This is the Armor 33 Pro by Ulefone. It’s got a 25500mAh battery.
Yeah, you would’ve thought it would work that way. Regrettably, the standard timezone code of Etc/GMT+4
is actually GMT-4. Wikipedia
Today I spent multiple hours trying to debug a timezone issue in a codebase. The timezone I was testing with was Etc/GMT+4
, which I had assumed was four hours ahead of GMT. Turns out, it’s actually 4 hours behind GMT 🤦♂️
You can also turn off every AI feature with a single toggle in Settings, and it lets you choose whether to enable it during device setup. For now, at least.
The Reddit post (content is removed)
Any feedback would be great. I’m just getting started as a conservative rapper.
Hey yo, hey yo Blacks be the real racists
These democrat bitches need a fucking face lift
Everyone knows conservatives, we got the harem
Maybe you heard of our girl, I’m talking Tomi Lahren
Going to town on her pussy with this big ass dick
Her ass bouncing up and down while I’m playing wit dem tits
Take it out and push her head down
Shes sucking on my log, really going to town
Shooting one off like American Sniper
Cum rolling down her chin shes hissing like a viper
Shes begging for more, she wants round two
I gotta hop in my F150 tho I gots work to do
The Proud Boys are under attack
Some libbie scum, some gays and some blacks
They hate us for our freedom and wanna smash our speech
But we stand up for ourselves online and in the streets
Pop a clip in the AR, it’s bout to get poppin
Leave Tomi in the bed, her pussy a throbbin
Yo dis is the real shit Patriotism aint to be fucked with All you liberals
This is the first verse. I would appreciate any feedback
Peace
The price? Yes.
The tip prompt? Well, no. Unless you feel like mailing an extra $20 cash to Nintendo
You can read up on the conversation on the GitHub issue here.
TL;DR: the current system on the (unreleased) 1.0 codebase is that your Lemmy instance will replace all Lemmy URLs in posts/comments with the equivalent URLs on your own instance. In the issue I linked, some concerns are raised about this system and various other options are discussed. It’s possible that the way it works will change before Lemmy 1.0 is released.
I’m also curious about the country distribution on lemmy.
I’m a developer for an iOS Lemmy client. The distribution of our downloads by territory is as follows (sample size >18k):
Biases:
Back in 2023 lemmy.ca did a survey of their users, which you may find interesting.
Lemmy doesn’t support this natively, but many clients do. Off the top of my head:
Assuming you’re on desktop, Tesseract is probably your best bet. It might also be possible to get Voyager working. Some instances (like sh.itjust.works) run their own Tesseract instances (https://tesh.itjust.works/), but lemm.ee doesn’t. You’d have to use some other Tesseract instance, specifically one that allows connecting to any Lemmy instance (https://tesh.itjust.works/ is for sh.itjust.works accounts only). E.g. https://tesseract.dubvee.org/
The cleaning cloth pictured is the one that comes with the particular brand of screen cleaner that Apple recommends using.
Point webcam at a screen, or maybe a white wall with a projector pointing at it
Mobile apps should allow you to log into any instance. My Lemmy client won’t connect to lemmy.rip either, and fails with the following error:
The certificate for this server is invalid. You might be connecting to a server that is pretending to be “lemmy.rip”, which could put your confidential information at risk.
This is also what I see when I try to connect to lemmy.rip
in the browser:
I am able to bypass this warning and see the site in the browser.
https://amp.knowyourmeme.com/memes/white-man-has-been-here
In 2000, American painter Robert Griffing created a painting titled, Friend or Foe, wherein, two Native American hunters are examining footprints made in the snow.
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.