Too much open-source AI is exposing itself to the web
As if AI weren't enough of a security concern, now researchers have discovered that open-source AI deployments may be an even bigger problem than those from commercial providers.Threat researchers at SentinelLABS teamed up with internet mappers from Censys to take a look at the footprint of Ollama deployments exposed to the internet, and what they found was a global network of largely homogenous, open-source AI deployments just waiting for the right zero-day to come along.
175,108 unique Ollama hosts in 130 countries were found exposed to the public internet, with the vast majority of instances found to be running Llama, Qwen2, and Gemma2 models, most of those relying on the same compression choices and packaging regimes. That, says the pair, suggests open-source AI deployments have become a monoculture ripe for exploitation.
Open-source AI is a global security nightmare waiting to happen, say researchers
Infosec in Brief: Also, South Korea gets a pentesting F, US Treasury says bye bye to BAH, North Korean hackers evolve, and moreBrandon Vigliarolo (The Register)
Moore Threads announces a new GPU architecture that will power upcoming gaming and AI compute GPUs
Moore Threads announces a new GPU architecture that will power upcoming gaming and AI compute GPUs
Moore Threads unveils Huagang architecture with Lushan and Huashan GPUs, promising massive gains in gaming, ray tracing, and AI performance.Rajesh (Gizmochina)
Evening in Stockholm - 1945
cross-posted from: lemmy.zip/post/58246333
Stockholm has a long history of illuminated signs and ads, for obvious reasons, we have long dark nights in the autumn/winter.It is interesting to see a picture like this from Stockholm the year WWII ended, it is not what you would expect from a European capital at the end of a devastating war involving almost all of Europe.
It can be seen in three ways.
- Artistically, it is a beautiful photo, the neon, the mist and the still not completely darkened sky, it all makes the photo quite beautiful.
- It shows that the Swedish government had the skill to avoid being drawn into the conflict.
- It makes one question about how the Swedish government actually managed it, and that my friends is a much darker story than most people want to hear about....
So let's talk about the big dark reason why we were spared, what made us special.
Nazi trade and cooperation.
It is no secret that we were far from neutral during WWII, we collaborated with both sides as the war developed.
We sold iron to the Nazis, we sold a lot of iron to the Nazis, the Nazis bought so much iron from Sweden that the UK made plans to seize the port of Narvik in Norway through which most iron was exported.
We were paid in gold, and the wealth we were paid made it possible to ride out the war in relative comfort.
The truly bad shit we did was however, was to let the Nazis send troop replacements on our railways, we alsoffacilitated Hitler's sending troops for leave and new fresh troops were sent up through Sweden to the the front.
Evening in Stockholm - 1945
Stockholm has a long history of illuminated signs and ads, for obvious reasons, we have long dark nights in the autumn/winter.It is interesting to see a picture like this from Stockholm the year WWII ended, it is not what you would expect from a European capital at the end of a devastating war involving almost all of Europe.
It can be seen in three ways.
- Artistically, it is a beautiful photo, the neon, the mist and the still not completely darkened sky, it all makes the photo quite beautiful.
- It shows that the Swedish government had the skill to avoid being drawn into the conflict.
- It makes one question about how the Swedish government actually managed it, and that my friends is a much darker story than most people want to hear about....
So let's talk about the big dark reason why we were spared, what made us special.
Nazi trade and cooperation.
It is no secret that we were far from neutral during WWII, we collaborated with both sides as the war developed.
We sold iron to the Nazis, we sold a lot of iron to the Nazis, the Nazis bought so much iron from Sweden that the UK made plans to seize the port of Narvik in Norway through which most iron was exported.
We were paid in gold, and the wealth we were paid made it possible to ride out the war in relative comfort.
The truly bad shit we did was however, was to let the Nazis send troop replacements on our railways, we alsoffacilitated Hitler's sending troops for leave and new fresh troops were sent up through Sweden to the the front.
Thai photo is in the public domain
like this
☆ Yσɠƚԋσʂ ☆ likes this.
They did discussed things like murders and rapes in the same manner, just a feeling of complete impunity. And lo and behold, they were correct, nobody was and nobody is gonna get prosecuted over this under liberal capitalist system.
Not to mention it was not exactly secret to anyone except western libs that Ponomarev is puppet of west even back then, and look where he is now.
like this
☆ Yσɠƚԋσʂ ☆ likes this.
Speaking about these things to publicly and with so little regard to safety is only possible because they are part of the system’s inner core.
If they were leftists they would be raided and “suicided” much earlier. They would have to resort to cryptic secretive messages passed by idk rats, even to discuss dinner plans.
But they are fascists.
like this
☆ Yσɠƚԋσʂ ☆ likes this.
LFS drops support for System V, citing workload problems and upstream dependencies on systemd
like this
Auster likes this.
Systemd abstracts so much stuff away that it does not feel like learning Linux "from scratch" :/
(I like having it in my daily driver, but it's sad LFS had to drop support for a "lower level" init system)
(I like having it in my daily driver, but it’s sad LFS had to drop support for a “lower level” init system)
It's not lower-level, it's just worse.
Yah! Screw them 20 line unit files. We roll with 500 line bash scripts.
/sarcasm
like this
HeerlijkeDrop likes this.
But I responded to a comment cursing out systemd on a post about system V being dropped?
The comparison is as made because the comment brought up systemd on a post about system V.
From the mail it doesn't exactly look like "upstream dependencies on systemd" but rather like a lack of features in sysvinit:
The second reason for dropping System V is that packages like GNOME and soon KDE's Plasma are building in requirements that require capabilities in systemd that are not in System V. This could potentially be worked around with another init system like OpenRC, but beyond the transition process it still does not address the ongoing workload problem.
So it seems a bit like sysvinit is simply a dead end and there is definitively not enough manpower for a transition to openrc/elogind/whatever...and it's a good chance to consolidate the exiting workforce on a single version. Sounds all pretty reasonable to me. But it can't really serve as example for systemd being an absolute requirement even for LFS now and them being "forced" to use it.
like this
HeerlijkeDrop likes this.
One approach currently discussed on the forums is to remove KDE from the repos and let the community support it.
But that would drastically change what Slackware is - It's supposed to be a fully-featured general purpose distro that you can boot up and immediately get to work, whatever your use case is.
Gnome hasn't been included in Slackware for a very long time.
And KDE on Slackware already runs a Wayland session by default.
Wow. Linux From Scratch needs Systemd because of ... Gnome? Whose general tooling (like simple-scan, pavucontrol) doesn't even work outside of Gnome anymore? Why does LFS need to run Gnome? Systemd and Gnome are as far away from from scratch as you can get.
And distros should stop cathering to Gnome whims. Leave them to their own, doing their Gnome things.
Edit: i mean, i don't say SysV is good or that i like it. I don't even know it. But i do know s6, Runit and Dinit.
Wow, that surprises me. I did LFS with Sys-V (didn't continue to use it after I set up X11 as I couldn't be bothered with package maintenance/mostly did it as an exercise rather than for the sake of the finished system) and found it a fun project.
I wonder how many LFS users use GNOME or something that depends on systemd...
The distro whose goal is education and customization drops support for the easier to understand and lighter init system out of lack of maintainability in service of accommodating the new stuff big desktop environments are doing.
Welcome to the Year of the Linux Desktop. See you all on FreeBSD in 2027.
Linux newbie needs help with solaar
Hello I'm a Linux newbie and I need some help. I'm running fedora on my laptop and I want to connect my Logitech mouse. I got solaar installed but I need to manually install the udev rule. I'm following the Instructions here
So I understand that I need to copy rules.d/42-logitech-unify-permissions.rules from the solaar GitHub and place it in /etc/udev/rules.d the thing I don't know how to do is get there. I'm not super familiar with the terminal
like this
Auster likes this.
Solaar appears to be available through the Fedora package manager. Among other reasons, using the package manager is preferred because it gives you a mechanism to remove it cleanly, including any system changes such as the udev rule
packages.fedoraproject.org/pkg…
I'm not a Fedora user myself, but I suppose if you open the terminal and run
sudo dnf install solaar
This would install both solaar and the udev rule.
solaar - Fedora Packages
View solaar in the Fedora package repositories. solaar: Device manager for a wide range of Logitech devicespackages.fedoraproject.org
First time installing solaar last week. Was from package manager on Trisquel(deb based).
All installed and detected automatically. Probably the same under Fedora.
Try a purge/uninstall of solaar, and then put the dongle in before you reinstall.
(Random aside. If your PC auto-resumes after suspend, it may have picked up a logitech keyboard from another room. Unpair it from your dongle)
You're not a dumbass, you've just been taught to use a computer wrong by the bad operating system.
This is a useful lesson for linux newbies in general: when you want to install a program, go to your package manager first, not your web browser.
A list of Canadian companies profiting off of ICE and Trump's violent mass deportation regime.
A list of Canadian companies profiting off of ICE and Trump's violent mass deportation regime
Watch now | Several Canadian companies appear to be pocketing profits as this horrific agenda rolls out.Rachel Gilmore (Bubble Pop with Rachel Gilmore)
"content curation"
cross-posted from: mander.xyz/post/46665693
PieFed blocks !enoughmuskspam@lemmy.world (and a few other communities) by default. At the time of writing this post, you can search for the comm on many PieFed instances and you will not find it.The block is only by default. The admin can choose to override it. Many big instances have done so, including
- piefed.social
- piefed.world
- piefed.zip
"content curation"
PieFed blocks !enoughmuskspam@[url=https://lemmy.world/]Lemmy.World[/url] (and a few other communities) by default. At the time of writing this post, you can search for the comm on many PieFed instances and you will not find it.The block is only by default. The admin can choose to override it. Many big instances have done so, including
- piefed.social
- piefed.world
- piefed.zip
pyfedi/app/admin/routes.py at b7a9ea0eea3a80f710e0b5b63cf0bbecde60f8bf
pyfedi - Project background: https://join.piefed.social. Flagship instance: https://piefed.socialCodeberg.org
don't like this
☆ Yσɠƚԋσʂ ☆ doesn't like this.
Yeah the title of this post is confusing.
It reads as if piefed blocks anti-Musk content, not blocks Musk content.
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
pyfedi - Project background: https://join.piefed.social. Flagship instance: https://piefed.socialCodeberg.org
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:
The code that OP has linked to is part of a convenience function for admins to add content to their new instances. It can query individual remote instances (e.g. lemmy.world), or it can query lemmyverse.net, and fetch communities that look to be popular and active.It’s completely unrelated to routine federation, and doesn’t prevent anyone subscribing to communities that may have those words in their names.
The admin function could potentially be used to fetch hundreds of communities. It runs as a background process, so you don’t know what they were until after they’d been followed. The “bad words” list acts as a safeguard against bringing in things you might not want or expect. One reason is that you may want to curate the first impression you give new visitors, as there as some that will be put off by the “fuck this” and “shitpost that” reddit-isms. Another is that you don’t typically want communities that are disproportionately popular than others (e.g. if you bring in the default 25 communities, and one of is 196, then it completely dominate your front page).
If there’s a particular community that you are interested in (e.g. because you moderate it), using this function isn’t an efficient way to add it. In addition to the “bad words” filters, it will also exclude communities that are NSFW, or below thresholds for popularity and activity. Rather than fetching a bunch of communities at the same time, and hoping that the one you want is included, it’s better to just add it manually (via a ! link or by using the “Add remote community” link) in much the same way as you would on any other platform.
I was curious so had a look around.
I assume it's this codeberg.org/rimu/pyfedi/src/c…
if current_user.is_anonymous:
flash(_('Create an account to tailor this feed to your interests.'))
content_filters = {'-1': {'trump', 'elon', 'musk'}}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
pyfedi - Project background: https://join.piefed.social. Flagship instance: https://piefed.socialCodeberg.org
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 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
pyfedi - Project background: https://join.piefed.social. Flagship instance: https://piefed.socialCodeberg.org
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.
that it shouldn't matter what client someone uses
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.
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).
The OP linked to the function with the ‘enoughmuskspam’ filter in it: it’s here (line 352 if it doesn’t auto-scroll down).
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.
Filtered word: nsfw
Not the first time that bug's reared its head either.
Example from here:
'nsfw': post.nsfw if post.nsfw is not None else FalseA 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
pyfedi - Project background: https://join.piefed.social. Flagship instance: https://piefed.socialCodeberg.org
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
This isn’t just a platform, it’s a community. A space for those who reject the notion that society cannot function without hierarchical rule.anarchist.nexus
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".
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.
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.
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
seven_things_plus = [
'shit', 'piss', 'fuck',
'cunt', 'cocksucker', 'motherfucker', 'tits',
'memes', 'piracy', 'greentext', 'usauthoritarianism',
'enoughmuskspam', 'political_weirdos', '4chan'
]And filters these bad words/low effort communities out by default
# sort out the 'seven things you can't say on tv' names (cursewords), plus some
# "low effort" communities
if any(badword in community['name'].lower() for badword in seven_things_plus):
bad_words_count += 1
continue
else:
candidate_communities.append(community)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.
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
"content curation"
PieFed blocks !enoughmuskspam@lemmy.world (and a few other communities) by default. At the time of writing this post, you can search for the comm on many PieFed instances and you will not find it.
The block is only by default. The admin can choose to override it. Many big instances have done so, including
- piefed.social
- piefed.world
- piefed.zip
pyfedi/app/admin/routes.py at b7a9ea0eea3a80f710e0b5b63cf0bbecde60f8bf
pyfedi - Project background: https://join.piefed.social. Flagship instance: https://piefed.socialCodeberg.org
There are all kinds of fun stuff in the Piefed code. Allow me to dredge up a comment I made recently:@edie@lemmy.encryptionin.space was looking at PieFed code the other week, and I ended up taking a look at it too. Its great fun to sneak a peak at.
For example, you cannot cast a vote on PieFed if you've made 0 replies, 0 posts, AND your username is 8 characters long:
def cannot_vote(self): if self.is_local(): return False return self.post_count == 0 and self.post_reply_count == 0 and len( self.user_name) == 8 # most vote manipulation bots have 8 character user names and never post any content
If a reply is created, from anywhere, that only contains the word "this", the comment is dropped (CW: ableism in the function name):
def reply_is_stupid(body) -> bool: lower_body = body.lower().strip() if lower_body == 'this' or lower_body == 'this.' or lower_body == 'this!': return True return False
Every user (remote or local) has an "attitude" which is calculated as follows:(upvotes cast - downvotes cast) / (upvotes + downvotes). If your "attitude" is < 0.0 you can't downvote.Every account has a Social Credit Score, aka your Reputation. If your account has less than 100 reputation and is newly created, you are not considered "trustworthy" and there are limitations placed on what your account can do. Your reputation is calculated as
upvotes earned - downvotes earnedaka Reddit Karma. If your reputation is at -10 you also cannot downvote, and you can't create new DMs. It also flags your account automatically if your reputation is to low:
PieFed boasts that it has "4chan image detection". Let's see how that works in practice:
if site.enable_chan_image_filter: # Do not allow fascist meme content try: if '.avif' in uploaded_file.filename: import pillow_avif # NOQA image_text = pytesseract.image_to_string(Image.open(BytesIO(uploaded_file.read())).convert('L')) except FileNotFoundError: image_text = '' except UnidentifiedImageError: image_text = '' if 'Anonymous' in image_text and ( 'No.' in image_text or ' N0' in image_text): # chan posts usually contain the text 'Anonymous' and ' No.12345' self.image_file.errors.append( "This image is an invalid file type.") # deliberately misleading error message current_user.reputation -= 1 db.session.commit() return False
Yup. If your image contains the wordAnonymous, and contains the textNo.orN0it will reject the image with a fake error message. Not only does it give you a fake error, but it also will dock your Social Credit Score. Take note of thecurrent_user.reputation -= 1PieFed also boasts that it has AI generated text detection. Let's see how that also works in practice:
# LLM Detection if reply.body and '—' in reply.body and user.created_very_recently(): # usage of em-dash is highly suspect. from app.utils import notify_admin # notify admin
This is the default detection, apparently you can use an API endpoint for that detection as well apparently, but it's not documented anywhere but within the code.Do you want to leave a comment that is just a funny gif? No you don't. Not on PieFed, that will get your comment dropped and lower your Social Credit Score!
if reply_is_just_link_to_gif_reaction(reply.body) and site.enable_gif_reply_rep_decrease: user.reputation -= 1 raise PostReplyValidationError(_('Gif comment ignored'))
How does it know its just a gif though?
def reply_is_just_link_to_gif_reaction(body) -> bool: tmp_body = body.strip() if tmp_body.startswith('https://media.tenor.com/') or \ tmp_body.startswith('https://media1.tenor.com/') or \ tmp_body.startswith('https://media2.tenor.com/') or \ tmp_body.startswith('https://media3.tenor.com/') or \ tmp_body.startswith('https://i.giphy.com/') or \ tmp_body.startswith('https://i.imgflip.com/') or \ tmp_body.startswith('https://media1.giphy.com/') or \ tmp_body.startswith('https://media2.giphy.com/') or \ tmp_body.startswith('https://media3.giphy.com/') or \ tmp_body.startswith('https://media4.giphy.com/'): return True else: return False
I'm not even sure someone would actually drop a link like this directly into a comment. It's not even taking into consideration whether those URLs are part of a markdown image tag.As Edie mentioned, if someone has a user blocked, and that user replies to someone, their comment is dropped:
if parent_comment.author.has_blocked_user(user.id) or parent_comment.author.has_blocked_instance(user.instance_id): log_incoming_ap(id, APLOG_CREATE, APLOG_FAILURE, saved_json, 'Parent comment author blocked replier') return None
For Example:
- Cowbees comment on lemmy.ml: lemmy.ml/post/41587312/2328877…
- Non-existent on piefed.social: piefed.social/comment/9647830
(see Edies original comment here)
More from Edie:
Also add if the poster has blocked you! It is exactly as nonsense as you think.
Example:
I made a post in testing@piefed.social from my account testingpiefed@piefed.social, replied to it from my other testingpiefed@piefed.zip account. Since the .social account has blocked the .zip, it doesn't show up on .social, nor on e.g. piefed.europe.pub.
I then made a comment from my lemmy.ml account, and replied to it from my piefed.zip account, and neither .social, nor europe.pub can see my .zip reply, but can see my lemmy.ml comment!
[ Let me add more clarity here: what this feature does is two things. On a local instance, if you block someone who is on your instance, they cannot reply to you. However, this condition is not federated (yet, it would seem), and so, to get around this "issue", the system will drop comments from being stored in the PieFed database IF the blocked user is remote. This means you end up with "ghost comment chains" on remote instances. There is NEW code as of a few weeks ago, that will send an AUTOMATED mod action against blocked remote users to remove the comment. So long as the community is a local PieFed community, it will federate that mod action to the remote server, removing the comment automatically. For PieFed servers, eventually, they would rather federate the users block list (that's fair), but it would seem this code to send automated mod actions to remove comments due to user blocks is going to stay just for the Lemmy Piefed interaction. I don't really understand why the system simply doesn't prevent the rendering of the comment, instead of stopping it from being stored. It knows the user is blocked, it already checks it, it should then just stop rendering the chain of comments for the given user, prevent notifications from those users, etc. ]
But wait! There's More!
- PieFed defederates from Hexbear.net, Lemmygrad.ml, and Lemmy.ml out of the box.
- The "rational discourse" sidebar that you see on the main instance is hard coded into the system.
- ~~Moderators of a community can kick you from a community, which unsubscribes you from it, and does not notify you.~~ This has been removed actually, the API endpoint is still there.
- I was going to say that Admins had the ability to add a weight to votes coming from other instances, but the videos that showed this are now gone, and as of v1.5.0 they have removed the instance vote weight feature, claiming it was "unused".
All this to say. Piefed is a silly place, and no one should bother using its software.
pyfedi/app/community/forms.py at main
pyfedi - Project background: https://join.piefed.social. Flagship instance: https://piefed.socialCodeberg.org
Wow. You're really determined to push misinformation now that Piefed is a threat, huh?
The block is only by default. The admin can choose to override it.
... do you not know what hardcoding is
Many big instances have done so, includingpiefed.social
You mean... the dev's own flagship instance?
like this
aramis87 likes this.
do you not know what hardcoding is
Yes, to quote from Wikipedia
Hard coding (also hard-coding or hardcoding) is the software development practice of embedding data directly into the source code of a program or other executable object, as opposed to obtaining the data from external sources or generating it at runtime.
This is precisely what PieFed does.
As I have noted in the post, the block can be disabled/circumvented by the admin. But the rule is still in the .py file where all the business logic are, hence hardcoded.
The literal next sentence on wiki
Hard-coded data typically can be modified only by editing the source code and recompiling the executable, although it can be changed in memory or on disk using a debugger or hex editor.
But I guess that would undermine your point if you read one whole sentence further, huh?
lmao, you literally had this explained to you on a previous thread and you're still on it. Really that desperate to simp for genocide denialism?
like this
aramis87 likes this.
Hard-coded data typically can be modified only by editing the source code and recompiling the executable, although it can be changed in memory or on disk using a debugger or hex editor.
Exactly. If you want to make the same code logic block "notenoughmuskspam" (for example) instead, you would have to patch the source code.
In this case there is no "recompiling the executable", since its Python. I don't really see that undermining my point though.
Your comments sound very angry so I am blocking you for the sake of the mental wellbeing of both of us. Have a nice day.
Exactly. If you want to make the same code logic block “notenoughmuskspam” (for example) instead, you would have to patch the source code.
You literally pointed out that it's an option that can be turned off as an admin option without the need for editing the code, which means the initial claim made in the meme is outright misinformation. But considering you've had that explained to you previously and still came back a day later to peddle bullshit, I'm guessing you're already well-aware of that, and just trying to push the old fascist line - 'Repeat a lie often enough and loud enough and people will believe it'.
like this
aramis87 and MyTurtleSwimsUpsideDown like this.
PieFed blocks !enoughmuskspam@lemmy.world (and a few other communities) by default. At the time of writing this post, you can search for the comm on many PieFed instances and you will not find it.
The direct links work to that community work on piefed.ca, and feddit.online. It's not been added to europe.pub yet.
I'm going to suspect this is actually a community search bug, or an oversight.
Piefed hardcodes blockThe admin can choose to override it.
Somebody doesn't understand what hard coding is.
like this
aramis87 and tiredofsametab like this.
Hard coding (also hard-coding or hardcoding) is the software development practice of embedding data directly into the source code of a program or other executable object, as opposed to obtaining the data from external sources or generating it at runtime.
Hardcoding has nothing to do with whether or not the filter can be disabled. It is about how the filter is implemented (comparing against a string in the code, as opposed to a string loaded from config file or database).
Hardcoding has nothing to do with whether or not the filter can be disabled.
I like how you "forgot" to include literally the next sentence.
Hard-coded data typically can be modified only by editing the source code and recompiling the executable, although it can be changed in memory or on disk using a debugger or hex editor.Soft-coded data, on the other hand, encodes arbitrary information through user input, text files, INI files, HTTP server responses, configuration files , preprocessor macros, external constants, databases, command-line arguments, and is determined at runtime.
The block is soft-coded, not hard coded. And don't try to selectively quote from a source the other person linked to you, it's probably just gonna make your dishonestly obvious.
like this
aramis87 and tiredofsametab like this.
like this
aramis87 and tiredofsametab like this.
Hard coding (also hard-coding or hardcoding) is the software development practice of embedding data directly into the source code of a program or other executable object, as opposed to obtaining the data from external sources or generating it at runtime.
Hardcoding has nothing to do with whether or not the filter can be disabled. It is about how the filter is implemented (comparing against a string in the code, as opposed to a string loaded from config file or database).
Hardcoding has nothing to do with whether or not the filter can be disabled.
Coding it so that it does the thing with no option to turn it off is literally what hardcoding means.
like this
aramis87 likes this.
go on, include the next line from the Wikipedia article I linked
Hard-coded data typically can be modified only by editing the source code and recompiling the executable, although it can be changed in memory or on disk using a debugger or hex editor.
like this
tiredofsametab likes this.
And to add to this, configuring your server has nothing to do with the source code.
I think banning specific communities unrelated to illegal activity is bad, but this is not hard coding according to consensus definitions.
The 4chan image blocking is excessive but the rest of the stuff just reads like the dev didn't think anybody else would use their software so they implemented them 'good enough' for themselves.
That whole tread just reads like a counter-moral panic by the .ml instances.
like this
aramis87 likes this.
like this
aramis87 likes this.
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)
Dessalines likes this.
Is it possible to sort out news
solrize
in reply to ☆ Yσɠƚԋσʂ ☆ • • •like this
☆ Yσɠƚԋσʂ ☆ likes this.
eleitl
in reply to solrize • • •solrize
in reply to eleitl • • •