Sjmarf
spoiler
Hello world
- 201 Posts
- 56 Comments
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
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 🤦♂️
Sjmarf@sh.itjust.worksto Lemmy Shitpost@lemmy.world•I can't believe it let me do thatEnglish6·3 months agoYou 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)
The full post text, according to a different Reddit post
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
Sjmarf@sh.itjust.worksto Lemmy Shitpost@lemmy.world•This will last me a couple of weeks at leastEnglish24·4 months ago
Sjmarf@sh.itjust.worksto Lemmy@lemmy.ml•I read somewhere that lemmy is planning to edit links so that they point to your instance, how will this be handled?English12·4 months agoYou 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):
- 50.2% US
- 9.9% Germany
- 5.8% UK
- 5.2% Canada
- 3.5% Australia
- 25.4% other
Biases:
- It only counts users who are using that specific app, which:
- Is only available on iOS, so Android users aren’t counted. This could have a significant effect on the results because iOS has a much higher market share in the US than, say, Germany.
- Could be ranked differently in App Store search results in different regions.
- Only supported English, until very recently. Users who prefer a different language may have chosen an app that supports their language.
- It includes users who downloaded the app but later stopped using Lemmy, which isn’t ideal.
Back in 2023 lemmy.ca did a survey of their users, which you may find interesting.
Sjmarf@sh.itjust.worksto Lemmy@lemmy.ml•Is there a way on Lemmy to hide/filter posts with chosen keywords?English6·4 months agoLemmy doesn’t support this natively, but many clients do. Off the top of my head:
- Tesseract (desktop)
- Voyager (web frontend designed for mobile. I believe you need to install the app rather than using the website to use keyword filters)
- Mlem (iOS)
- Arctic (iOS)
- Thunder (Android & iOS)
- Sync (Android; I’ve heard Sync is unmaintained though)
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
Sjmarf@sh.itjust.worksto Selfhosted@lemmy.world•Can you login to the mobile apps with selfhosted Lemmy?English2·6 months agoMobile 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.
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 ;-;