China is on a ‘strong currency’ mission to make the yuan a global reserve: Xi
China is on a ‘strong currency’ mission to make the yuan a global reserve: Xi
Xi Jinping says the goal of becoming an international powerhouse is a long-term one and will rest on core foundations.He Huifeng (South China Morning Post)
Ukraine peace deal must put people before land, warns key Zelensky ally
Ukraine peace deal must put people before land, warns key Zelensky ally
Exclusive: Vitaliy Kim, who was handpicked by Zelensky to be governor of the Mykolaiv Oblast region in Ukraine, has signalled a shift towards compromise in an interview with The IndependentDavid Maddox (The Independent)
Is it possible to sort out news
Ukrainian Drone Strike Kills Woman and Child Near Mariupol
Ukrainian Drone Strike Kills Woman and Child Near Mariupol
The Investigative Committee report states that the fixed-wing strike drone is presumed to be NATO-manufactured. An expert examination will be conducted to determine the precise type and model of the explosive device.Sputnik International
like this
Sputnik News - Bias and Credibility - Media Bias/Fact Check
QUESTIONABLE SOURCE A questionable source exhibits one or more of the following: extreme bias, consistent promotion of propaganda/conspiracies, poor or no sourcing to credible information, a complete lack of transparency, and/or is fake news.Media Bias Fact Check
don't like this
First of all...not "my country".
Second...that's not how this conversation went. We're in a post that is talking about the Russia / Ukraine invasion. Calling it what it is, is not "whataboutism". It is directly addressing the topic at hand.
"Whataboutism", is trying to distract from that, with all the "US bad" misdirections. Yeah. We all know the US is bad. No one is disputing that. But Russia can't just dictate how Ukraine defends itself, especially when Russia is the one attacking them.
If someone was punching you in the face, and told you they'd only stop if you dropped your guard...would you?
And actually don't accept Putin in general.
But the reality is that Russia sucks at all levels and tries really hard to stay relevant by behaving like raging idiots.
like this
The Donroe Doctrine and the Naked Imperialism of the Venezuela Intervention
The Donroe Doctrine and the Naked Imperialism of the Venezuela Intervention
The US military attack in Venezuela reflects a transactional and coercive imperial strategy aimed at seizing strategic resources and restructuring hemispheric supply chains under the "Donroe Doctrine."Progressive International
Is there any other alternative you'd recommend?
Edit: Actually I think after this I'm going to just use a VPN set to Albania and the stock YouTube app
Class action lawsuit filed against Hydro-Québec after Montreal west-end power outage
Class action lawsuit filed against Hydro-Québec after Montreal west-end power outage
A class action lawsuit has been filed against Hydro-Québec following a major power outage that left thousands of residents in Montreal’s west end without electricity for days during extreme cold.News Staff (CityNews Montreal)
We were without power for 48 hours. We were lucky enough to have a generator, I spent probably about $60 on fuel to keep my unit just barely above zero (heater said 3 degrees celsius).
People fled to their friends and families. Two elderly people died. Many more had nowhere to go and suffered.
As you said, HQ knew this substation was failing for years, and chose to do nothing until people died. And even then, I'm not sure they're gonna learn anything from this event.
Vampires: Bloodlord Rising
Vampires: Bloodlord Rising
Aksiyon, Macera, Rol Yapma, Üçüncü Şahıs Bakış Açısı, Açık Dünya, İşbirliği Çıkış 30 Ocak 2026 — PC 2026 – PlayStation 5 Geliştirici: Mehuman Games Yayıncı: Toplitz ProductionsTürkiye'nin Güncel Teknoloji Forumu | techforum.tr
like this
True leftist support US soft power, USAID and would never read a book by women and PoC like The Revolution Will Not Be Funded Beyond the Non-Profit Industrial Complex
like this
idriss
in reply to BB84 • • •felsiq
in reply to idriss • • •idriss
in reply to felsiq • • •pineapple
in reply to felsiq • • •CosmicTurtle0 [he/him]
in reply to pineapple • • •Yeah the title of this post is confusing.
It reads as if piefed blocks anti-Musk content, not blocks Musk content.
BB84
in reply to CosmicTurtle0 [he/him] • • •BB84
in reply to pineapple • • •BB84
in reply to felsiq • • •It is hardcoded. The string 'enoughmuskspam' is right here codeberg.org/rimu/pyfedi/src/c…
I have noted in other threads and will note again here because people keep attacking me about this: hardcoding does not mean the behavior is not circumventable. It just means the string is in the source file (rather than a config file or database).
pyfedi/app/admin/routes.py at b7a9ea0eea3a80f710e0b5b63cf0bbecde60f8bf
Codeberg.orgSkavau
in reply to BB84 • • •BrainInABox
in reply to felsiq • • •freamon
in reply to BB84 • • •This has come up before. Hopefully you're just not understanding the code, rather than deliberately misrepresenting it to others. Even a casual scan should clue people in to the fact that the linked function isn't concerned with federation blocks (the same list that 'enoughmuskspam' is in also contains 'memes' and 'piracy', which every PieFed instance has without any overrides required).
I'll copy-paste my comment from last time (I can't link to it 'cos is was in reply to a deleted post). The first 2 paras are the most relevant bits:
... show moreThis has come up before. Hopefully you're just not understanding the code, rather than deliberately misrepresenting it to others. Even a casual scan should clue people in to the fact that the linked function isn't concerned with federation blocks (the same list that 'enoughmuskspam' is in also contains 'memes' and 'piracy', which every PieFed instance has without any overrides required).
I'll copy-paste my comment from last time (I can't link to it 'cos is was in reply to a deleted post). The first 2 paras are the most relevant bits:
Liketearsinrain
in reply to freamon • • •I was curious so had a look around.
I assume it's this codeberg.org/rimu/pyfedi/src/c…
Some of the complaints about hardcoded values were fixed in the last commits, but the code is a spaghetti mess littered with ad-hoc hacks for random whims of the developers. This is bad software design and disrespectful to users imo, but to each their own.
pyfedi/app/main/routes.py at cfc35b0e1b812d929d62aea87f47014f8ce845b4
Codeberg.orgfreamon
in reply to Liketearsinrain • • •The OP linked to the function with the 'enoughmuskspam' filter in it: it's here (line 352 if it doesn't auto-scroll down).
As mentioned, it's a bulk-community import function, that new admins can optionally use to kick-start a new instance.
The code you've linked to is another convenience function, for users this time, that will optionally add the relevant values to their content filters for the 'All' feed. It's also not a federation block, and it's common enough for fediverse users to want to hide posts about those people that it's value arguably overrides any perceived messiness about 'hard-coding' their names.
Anyone who takes the time to understand PieFed's codebase could find plenty of things to legitimately criticise. To my mind, though, it seems against the social contract around open-sourcing one's hobbyist project, only for people to then be snarky about it online. If there's bits of code th
... show moreThe OP linked to the function with the 'enoughmuskspam' filter in it: it's here (line 352 if it doesn't auto-scroll down).
As mentioned, it's a bulk-community import function, that new admins can optionally use to kick-start a new instance.
The code you've linked to is another convenience function, for users this time, that will optionally add the relevant values to their content filters for the 'All' feed. It's also not a federation block, and it's common enough for fediverse users to want to hide posts about those people that it's value arguably overrides any perceived messiness about 'hard-coding' their names.
Anyone who takes the time to understand PieFed's codebase could find plenty of things to legitimately criticise. To my mind, though, it seems against the social contract around open-sourcing one's hobbyist project, only for people to then be snarky about it online. If there's bits of code that look like they were written on someone's lunch break, that's because they were.
The frustrating thing about this post, and the (now deleted) post before it, is that someone has taken more time to create some shit meme than they have reading the code they're haphazardly attacking. I've no idea why PieFed has suddenly come under some Lemmy users sights, especially since the whole point of federated social media is that it shouldn't matter what client someone uses, and how much it reeks of "People Front of Judea" bullshit.
pyfedi/app/admin/routes.py at b7a9ea0eea3a80f710e0b5b63cf0bbecde60f8bf
Codeberg.orgLiketearsinrain
in reply to freamon • • •It was not meant to be as harsh as it came across. And yes, this function is for logged out users, was just trying to show that it ends up messy.
I assume you’re one of the devs? I can delete the comment if you want, but I think it would be worth fixing sooner than later instead of just adding features. A lot of the mechanisms are a bad idea even if it wasn't a mess but you do you.
There are a few implementation issues and incompatibilities I saw but not too confident in my knowledge of the protocols to say good fixes. Not sure what the Judas comment means.
like this
Dessalines likes this.
freamon
in reply to Liketearsinrain • • •I've contributed code to PieFed in the past, but nothing recently. If someone comes across something I've written and finds it amateurish, then that's a reasonable assessment. There's no need for you to delete your comment, as I'm not a fan of features over fixes approach either.
The "People's Front of Judea" remark relates to a Monty Python sketch from the The Life Of Brian (youtube link) - it's a swipe at leftist infighting (swap out "The only people we hate more than the Romans is the Judean's People's Front" with "The only site we hate more than Reddit is PieFed" I suppose).
- YouTube
youtu.beSkavau
in reply to freamon • • •It's a bug with the latest update that has already been patched. Not sure if piefed.ca has updated their instance in response to it, but this isn't even completely right as lemmy.ca was still returning results for "piracy" in the search.
"So since a few hours ago, when I deployed v1.6, many communities no longer show up in the search. the private value should be true or false but really old communities have it as null"
"Yes, null should be fixed to true or false.
I originally added the private column many months ago, with no default value. So now the data is all over the place."
(excerpts from the matrix chat)
OP made some assumptions, got excited and just found a bug.
don't like this
Dessalines doesn't like this.
freamon
in reply to Skavau • • •Filtered word: nsfw
Not the first time that bug's reared its head either.
Example from here:
A meme about PieFed half-arsing database migrations might not be funny, but would at least be valid, and less wearisome than OP's post.
pyfedi/app/api/alpha/views.py at cfc35b0e1b812d929d62aea87f47014f8ce845b4
Codeberg.orgcurbstickle
in reply to BB84 • • •I don't think you know what "hardcoded" means.
Edit: anarchist.nexus/modlog?suspect…
Everyone is wrong but you about the definition of words, got it.
Moderation Log
anarchist.nexusBB84
in reply to curbstickle • • •curbstickle
in reply to BB84 • • •That is not what hardcoded means.
The "hard" part of "hardcoded" means you have to edit the source directly to make changes (or at runtime via memory editing).
It does not mean "written as part of the source but editable via gui".
Unless there is some other item I'm missing here from a casual glance at common filters included as an example, then yes, you are misunderstanding the term "hardcoded".
BB84
in reply to curbstickle • • •How would you go about changing the
seven_things_plusvariable via the GUI?You can't. You can get around the filtering by other means, but that doesn't make
seven_things_plusany less hardcoded.Maybe the term hardcoded have some particular negative connotations for you. In that case please explain what that connotation may be.
The correct definition just means data in the code rather than loaded at runtime. It is not necessarily a bad thing (things like unit conversion factors are perfectly reasonable to hardcode). In this case, I'll let everyone judge for themselves if hardcoding 'enoughmuskspam' is acceptable.
diffaldo
in reply to curbstickle • • •like this
Dessalines likes this.
curbstickle
in reply to diffaldo • • •For some items, yes.
For OP's nonsensical claim, no.
pineapple
in reply to BB84 • • •RedSnt 🧩♂️👓🖥️
in reply to BB84 • • •Skavau
in reply to RedSnt 🧩♂️👓🖥️ • • •9point6
in reply to BB84 • • •UltraGiGaGigantic
in reply to BB84 • • •narp
in reply to BB84 • • •Emmet
in reply to narp • • •What does that mean? Like not defending AES while claiming to be a small-c communist? Or just shitting on both AES efforts and small-c commies? The latter are liberals at best and dogs of the empire. The former provide slop for half of the struggle sessions I see in leftist spaces.
This is very dumb and confusing.
Vritrahan
in reply to narp • • •AntiOutsideAktion
in reply to narp • • •Liberals : Russia :: Republicans : Obama
Can't have a real critical conversation with them because they're too caught up in the fever dreams that were pushed on them from the top down. You're too busy defending reality, which in turn drives them into further madness as they perceive it as ~~a defense~~ a conspiracy to deceive them by a paid robotic shill.
RiverRock
in reply to narp • • •KimBongUn420
in reply to narp • • •like this
Dessalines likes this.
BB84
in reply to narp • • •Putin's Russia is a nationalist and imperialist state. The Russian army has committed countless war crimes in Ukraine.
The PRC is an authoritarian state with a deeply corrupted party, extreme capitalist culture, and very little regards for individual privacy or rights. It is also engaged in homogenization campaigns suppressing the social and cultural identities of Uyghur people, constituting an ethnocide.
PieFed is promoted by people claiming they want to take influence away from the tankies who support Russia and the PRC. But from the hardcoded behavior discussed in this very thread we can see the PieFed's devs and promoters intend to suppress criticisms against the (countries|institutions|capitalists) who they support, even though these entities have committed no less evil than Russia and the PRC.
Does that satisfy you?
We'll see if I get banned from .ml now (not being snarky. i genuinely am curious to see if they will ban me).
apotheotic (she/her)
in reply to BB84 • • •Anyone who wants the whole story, since there's misinfo/cherry-picked info flying both ways (god I sound like a fucking centrist please believe me I hate elon musk and everything he stands for and cant wait for the collapse of the imperial powers)
The code defines a default list of "bad words" which includes the names of some communities they consider low effort
And filters these bad words/low effort communities out by default
... show more
Anyone who wants the whole story, since there's misinfo/cherry-picked info flying both ways (god I sound like a fucking centrist please believe me I hate elon musk and everything he stands for and cant wait for the collapse of the imperial powers)
The code defines a default list of "bad words" which includes the names of some communities they consider low effort
And filters these bad words/low effort communities out by default
Decide for yourself if you think that community qualifies as low effort, but it isn't a "hardcode" in the way most people think of it. Its just as much of a hardcode as setting default values for any other variable in your function definition.
don't like this
Dessalines doesn't like this.
🏴حمید پیام عباسی🏴
in reply to apotheotic (she/her) • • •They coded "usauthoritarianism" into a list of no no words for delicate sensibilities.
Have to protect white liberals from calling out US Authoritarianism and bad words
KimBongUn420
in reply to apotheotic (she/her) • • •like this
Dessalines likes this.
apotheotic (she/her)
in reply to KimBongUn420 • • •Shatur
in reply to apotheotic (she/her) • • •But you showed a constant with the words. Even if you can disable this, I'd call it a "hardcoded list".
like this
Dessalines likes this.
BB84
in reply to apotheotic (she/her) • • •Hey. I saw your comment but didn't get to reply before you deleted it. I think you should restore it. Ignore the tankies bullying you.
I fully stand by my wording that it is "hardcoded", but it is good that you show the code, so people can judge for themselves.
apotheotic (she/her)
in reply to BB84 • • •DGen
in reply to BB84 • • •