Sjmarf
spoiler
Hello world
- 240 Posts
- 66 Comments
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
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.
He dined peacefully in his home with his family.
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.
Sjmarf@sh.itjust.worksto Fediverse@lemmy.world•Are there any Lemmy/Mbin instances by women for women?English0·3 months agoCommunity-wise there’s [email protected]
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·3 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?English0·3 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?English0·4 months agoLemmy doesn’t support this natively, but many clients do. Off the top of my head:
- Tesseract (desktop)
- Voyager (multiplatform; I believe you need to install the app rather than using the website to use keyword filters)
- Mlem (iOS)
- Arctic (iOS)
- Thunder (Android)
- Sync (Android; I’ve heard Sync is unmaintained though so probably not worth installing if you’re not using it already)
Sjmarf@sh.itjust.worksto Fediverse@lemmy.world•Lemmy Just Broke the 54k MAU Record Set During the 2023 API Exodus!English0·4 months agoThe change was merged in Dec 2023 (see here). The Reddit Exodus was in summer 2023.
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 secure messaging, use Matrix instead.