this post was submitted on 19 Jun 2023
44 points (87.9% liked)

Python

6405 readers
9 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
44
submitted 1 year ago* (last edited 1 year ago) by jnovinger to c/python
 

Yay or nay, memes should be allowed in [email protected] ?

top 15 comments
sorted by: hot top controversial new old
[–] vahtos 17 points 1 year ago (1 children)

Isn't c/Programmer Humor already for memes?

[–] ruffsl 5 points 1 year ago (5 children)

Hear, hear!

I'd prefer to keep all lang communities on topic. E.g. I occasionally block and unblock !c/programmer_humor when I want to read technical news or just have a laugh. If memes crossed into all local subs, then the noise-to-news ratio couldn't be customized as easily.

Although I suppose tagging posts would be a better compromise.
Does Lemmy support tagging posts, or filtering feeds by tag yet?

[–] snowe 3 points 1 year ago

@[email protected] is working on tagging, but I wouldn't expect it anytime soon. It's a big feature.

[–] vahtos 3 points 1 year ago* (last edited 1 year ago)

My thoughts exactly. Tagging them (if possible) is OK, but kind of annoying to need to go to all these different communities and filter memes when there is already a dedicated community for programming memes.

It also may turn off new arrivals that may be looking for a more serious community, and think all/most of the content is memes.

[–] LaggyKar 3 points 1 year ago

Agreed, let's keep memes separate from serious posts

[–] Jakob 2 points 1 year ago

Tagging would make sense if the community becomes larger and naturally people start requesting it. For now, I think memes should stay in Pr. Humor

[–] pythonoob 0 points 1 year ago

I didn't care before but you make a good point. I vote keep them separate.

[–] [email protected] 3 points 1 year ago (1 children)
[–] Hammerheart 1 points 1 year ago (1 children)

I'm gonna need you to elaborate on this one

[–] dmad 5 points 1 year ago* (last edited 1 year ago) (1 children)

xor has the property x ^ x = 0, and x ^ 0 = x. So, x ^ x ^ y = y

a' = a ^ b
b' = b ^ a' = b ^ (a ^ b) = a
a'' = (a ^ b) ^ a = b

This is pretty clever, I've never seen this for a swap.

[–] [email protected] 2 points 1 year ago

Couldn't have explained it better myself. I don't remember where exactly I first read about this trick, but it's mainly useful in C or Assembly, as you don't have to resort to using a third variable/register.

[–] jnovinger 2 points 1 year ago (1 children)

I used Lemmy's cross-post functionality, but it doesn't seem to have marked it?! Original post is https://lemmy.ml/post/1213162

[–] Ategon 2 points 1 year ago (1 children)

It looks like it marked it on my end. Lemmy has two different cross post functionalities based on how you cross post, one where it shows the original post in the text and one where it shows up as a link under the new post

[–] jnovinger 1 points 1 year ago

Ah, I am seeing that now, thanks!

I'm not sure if that was there originally and I just missed it or if Lemmy added it later when it got around to it.

[–] sociablefish 0 points 1 year ago