What happened on March 23, 2022?
GenZedong
This is a Dengist community in favor of Bashar al-Assad with no information that can lead to the arrest of Hillary Clinton, our fellow liberal and queen. This community is not ironic. We are Marxists-Leninists.
This community is for posts about Marxism and geopolitics (including shitposts to some extent). Serious posts can be posted here or in /c/GenZhou. Reactionary or ultra-leftist cringe posts belong in /c/shitreactionariessay or /c/shitultrassay respectively.
We have a Matrix homeserver and a Matrix space. See this thread for more information. If you believe the server may be down, check the status on status.elara.ws.
Rules:
- No bigotry, anti-communism, pro-imperialism or ultra-leftism (anti-AES)
- We support indigenous liberation as the primary contradiction in settler colonies like the US, Canada, Australia, New Zealand and Israel
- If you post an archived link (excluding archive.org), include the URL of the original article as well
- Unless it's an obvious shitpost, include relevant sources
- For articles behind paywalls, try to include the text in the post
- Mark all posts containing NSFW images as NSFW (including things like Nazi imagery)
The news in Belgium today for some reason started a live blog on Ukraine again. The headline said, in big letters: PUTINS WANTS TO DECLARE WAR ON NATO.
Needless to say it scared the shit out of me. Here I was thinking Russia may actually do it because of the way it was phrased. But it turns out it was just a US think tank that said it.
Note to the admins: The spammer @[email protected] is using images hosted on lemmygrad:
I believe the dev team is working on a tool that'll delete all unused images hosted on an instance, so we'll be able to get rid of images like these (although you may have to remove the links unless the tool explicitly only counts embedded images) as well as the legally important ones (like CSAM)
there should be a tagline that reads ""I hope you have a nice week" -Oppo"
we're limiting it to serious quotes at the moment, but this would naturally be a top contender under other circumstances
I will be patient for the day "other circumstances" arrives
i crack laughing each time i see the Engels quote about authority "have these gentlemen ever seen a revolution??" Its so funny
You know he was completely fed up with them when he wrote that
What iOS app do you all recommend for Lemmy? Seeing new posts highlighted or that stand out from old would be a nice feature.
Yippie we have site taglines now
I feel I am in the minority herw but I prefer the no taglines
Is it just a minor aesthetic nitpick or genuinely annoying? I haven't tested anything other than the full-size web UI (my only issue with it so far is that the quote can change when opening a new tab), but it might be obnoxious on other platforms
Both, when on my phone it is a major anoyance because it takes about 1/3rd of the screen, while on computer its just a minor nitpick about my personal prefrence
They are kinda sucky in mobile because they take a lot of space.
But imagine once you become a true revolutionary and they put your quote on the tagline, that's how you know you made it!
It does my heart good to see those back
I was just about to write that too. Now all I have to do is convince the admins to accept Sovietology books...
Apparently comrade Yogthos got banned from [email protected]. Couldn't handle the facts, I suppose
They hated him because he spoke the truth
Rwanda with the support of the west is backing terrorists that have caused the displacement of tens of thousands of people from the Congo, this is not getting covered in media...
Who's the person being held at gunpoint in the picture?
the General Discussion thread currently has as its thumbnail a cartoon of a shotgun being leveled at Ayn Rand’s head with “Class Consciousness” written on it
I'm pretty sure this hexbearian is actually talking about Lemmygrads General Discussion, and not something on hexbear
DING DONG THE WITCH IS DEAD or rest in piss bozo
banger remixes
“The death of her majesty, Queen Elizabeth the Second”
Proceeds to drop the beat so fucking hard it shattered the UK.
My favorite comment
afaik von der leyen is still alive
Yes. It's a part of the remix.
I found YouTube links in your comment. Here are links to the same videos on alternative frontends that protect your privacy:
Link 1:
Link 2:
What did I do wrong? I could look up proper solution to this exercise but I would still like to know what exactly is off. I feel like its something super obvious and stupid.
general advice: divide your code into multiple functions (e.g. instead of arbitrarily using '0'
to end a loop, put the loop in its own function with a descriptive name and return when appropriate) and check if those functions produce the expected output
also, post your code as a Markdown code block, not a screenshot
num = [] Ms = [] while len(num) <= 5: for f in range(1,1000000): a = 452021 + f mmin = 0 mmax = 0 while mmin == 0: for n in range(2,a-1): if a % n == 0: mmin = n if n == a-1 and a % n != 0: mmin = '0' while mmax == 0: for n in range(a-1,2,-1): if a % n == 0: mmax = n if n == 2 and a % n !=0: mmax = '0' M = int(mmax) + int(mmin) if M % 7 == 3: num.append(a) Ms.append(M) print(Ms) print(num)
I figured it out! I just needed to use break.
num = []
Ms = []
def Fmmin(va):
while va == 0:
for n in range(2, number):
if number % n == 0:
va = n
break
if n == number - 1 and number - 1 % n != 0:
va = '0'
return va
def Fmmax(va):
while va == 0:
for n in range(number-1, 1, -1):
if number % n == 0:
va = n
break
if n == 2 and number % n != 0:
va = '0'
return va
for f in range(1,10000000):
number = 452021 + f
mmin = 0
mmax = 0
mmin = Fmmin(mmin)
mmax = Fmmax(mmax)
if int(mmax) > 0 and int(mmin) > 0:
M = mmax + mmin
if M % 7 == 3:
num.append(number)
Ms.append(M)
if len(num) >= 5:
break
print(Ms)
print(num)
You can improve the code by returning n
and 0
respectively, no need to use a loop variable. The while va == 0
is either unnecessary (if it runs once) or can cause an endless loop (since nothing changes between iterations)
As a code block.
I.e:
```
Your code
goes here
```
Your code
goes here
Is it me or are there a lot more liberals here than before?
That's an opportunity to start patiently persuading people to study Marxism, tbh.
I think you're bound to attract libs as you keep growing. Being federated with more lib friendly places can cause libs to wonder around as well.
That's good, in my view.
More people to persuade, more people to become communists, and grow our numbers.