Hello world
not() is a base function that negates what’s inside (turning True to False and vice versa) giving it no parameter returns “True” (because no parameter counts as False)
Actually, not
is an operator. It makes more sense if you write not()
as not ()
- the ()
is an empty tuple. An empty tuple is falsy in Python, so not ()
evaluates to True
.
Oh, really? That’s disappointing to hear; I had no idea he was like that.
Oh hey, it’s the Minecraft guy
OC isn’t claiming that the shift in the industry is solely Apple’s fault:
I don’t hate Apple but I do hate their influence
The reality is that what OC said is exactly what happened. Apple removed the headphone jack to coerce people into buying AirPods. Everyone else released their own wireless earbuds to compete, and also removes their headphone jacks for the same reason.
Swift’s extensions system has spoiled me, and I feel the pain of this whenever I have to write Java
Backend of the app or the lemmy server? if it is not stored on the lemmy server then there will be no way to delete it even if the app stores the token.
Apologies, I worded that badly. Lemmy uses an image hosting service called pictrs to manage the images you upload, which is largely separated from the rest of the Lemmy backend. Pictrs of course stores the delete tokens matching each image, but Lemmy doesn’t associate those tokens with the posts or comments they originated from as far as I know.
I’m a developer of a Lemmy client. When you upload an image to a Lemmy instance, the instance returns a “delete token”. Later, you can ask the instance to delete the image attached to the delete token. So as long as you keep hold of the delete token for a specific image, you’re able to delete it later.
Lemmy-ui (the official frontend) will give you the option to delete an image again shortly after uploading it. However, it’s not possible to remove the image after actually creating the post, as the delete token associated with that post isn’t remembered anywhere on the Lemmy backend.
As for other Lemmy clients, YMMV. The client I work on (Mlem) deletes images if you remove them from a post before posting it, but has the same pitfall as Lemmy-ui in that it won’t delete the image if you’ve already created the post.
It would be possible to locally save the delete tokens of every image you upload, so that you can request that they be removed later. I don’t know of any clients that can do this yet, though (if someone knows of one, feel free to mention it).
Edit: clarity
This is Philomena Cunk, a satirical BBC news reporter. They produce videos in which she interviews historical experts but only asks them stupid questions like “Were the pyramids built from the ground up, or from the top down?”
Yeah, the average iPhone user probably doesn’t use Files at all. Photos stores all of your photos and videos, so it’s really just PDFs that go in there for me. And a lot people don’t ever download PDFs anyways, since you can view them directly in a browser.
Not for babies, it won’t
The headline uses the word “demagogue” to describe Trump. “Demagogue” is defined as:
A political leader who seeks support by appealing to the desires and prejudices of ordinary people rather than by using rational argument.
I think OC is arguing that the article hints that Trump’s campaign is devoid of rational argument by using this word, which would imply that they aren’t exactly on Trump’s side. I’m not personally familiar with the Guardian’s political standpoint, though.
r/OrphanCrushingMachine was a popular subreddit inspired by this tweet
Some people rely on ‘screen readers’ (software that reads text on the screen out loud when you move your finger over it) to browse content on Lemmy. Some screen readers can read text on images (I know Apple’s does, not sure about Android), but obviously it can make mistakes and there’s missing context a lot of the time. Hence the transcriptions.
There was a group of people on Reddit who added image transcriptions in the comments of posts but it was rarely seen in the post itself. I quite like that it’s been more popular on Lemmy. For inline images you can add hidden transcriptions using markdown, but for image posts it has to go in the body of the post.
There are also a couple of other benefits. The post is more likely to appear in search results if someone searches for text included in the transcription. And if the image fails to load for whatever reason, or the image host deletes it, you can get the gist from the transcription.
Not sure; I’ve wondered that before too. If I had to guess I’d say people just keep naming future kings after previously liked kings - the first few king Louis weren’t all that popular, but later on there were some popular ones (Louis IX was named a saint, for instance, which may have boosted it).
16 is certainly a lot of kings to have the same name. I believe there’s 20-something Pope Johns, if I recall correctly