Unable to load image

Loggedoutcels can no longer view NSFW posts, posts in /h/sandshit, and posts and comments containing certain words related to Middle Eastern conflicts

https://fsdfsd.net/rDrama/rDrama/commit/317bea3f843017f2e03461ed8a61568c528005ac

It's over for the logged out. Maybe there were too many calls for genocide. I purposefully did not write out the list so this post wouldn't be hidden as well.

55
Jump in the discussion.

No email address required.

This has been reverted. Thanks @Kongvann!

Jump in the discussion.

No email address required.

The word hiding was brought back temporarily on May 3, 2024 with more words added to it. It was removed on July 9, 2024 after complaints about driving away invited lolcows.

Jump in the discussion.

No email address required.

I don't see hasidic, holocaust, genocide, or sandBIPOC in that list. The illegitimate state should be ground to dust and erased from all living memory. I hate their kind and creed, biologically driven to see them ended. Mossad open up your calendar, I have specific actionable threats I wish to make with regard to a second Holocaust.

Jump in the discussion.

No email address required.

W-what do you mean, Grue? :marseyworried:

Jump in the discussion.

No email address required.

I mean if I lay eyes on someone with drillbits for bangs the authority will need to break my limbs to wrest my thumbs free of that creature's eyesockets. There is no place on earth that should be safe for them, they should answer for the thousands of dead infants with their SCREAMS.

Jump in the discussion.

No email address required.

Is this place :marseychtorrr: just full of unhinged foids :marseyblops2chadcel: now or can I just not tellthe difference any more?

Jump in the discussion.

No email address required.

Jump in the discussion.

No email address required.

>foid

:marseysmug2: nobody tell him

Jump in the discussion.

No email address required.

heck yeah dude

Jump in the discussion.

No email address required.

Frick loggedoutcels :gigachadglow:


:#marseyviewerstaretalking:

Jump in the discussion.

No email address required.

I love the logged out. I used to be a loggedoutcel. Loggedoutcels are my friends. Loggedoutcels, if you see this, know that I love you! :marseyheart: (Unless you're a glowie or trying to deplatform this site.)

Jump in the discussion.

No email address required.

Me too, I lurked for far too long


:#marseyviewerstaretalking:

Jump in the discussion.

No email address required.

:marseysnappyenraged2:PARTICIPATION IS MANDATORY

:marseysnappyautism:...AND POINTLESS

Jump in the discussion.

No email address required.

!metashit Check out my changelog thread.

Loggedoutcels can no longer view NSFW posts, posts in /h/sandshit, and posts and comments containing certain words related to Middle Eastern conflicts

Jump in the discussion.

No email address required.

Why?

Jump in the discussion.

No email address required.

Probably the same reason there's a slur filter. Maybe there were too many calls for genocide, and they didn't want to get deplatformed over it? :marseyshrug:

I'm not the one who made this change. I love loggedoutcels and want them to know how much I love People of the Star of David religion and People of the Crescent and Star religion.

Jump in the discussion.

No email address required.

:#marsey1984:

Jump in the discussion.

No email address required.

if any((x in other.body.lower() for x in words_to_hide)):

scans the entire post body once for each no-no word

Capyyyyyyy :marseyraging:

Trans lives matter

Jump in the discussion.

No email address required.

@A here you go, free for you

naughty = set(words_to_hide)
if any((x in naughty for x in other.body.lower().split(' ')))

Trans lives matter (unchud pls)

Jump in the discussion.

No email address required.

the optimizer takes care of it anyway, r-slur

Jump in the discussion.

No email address required.

Maybe you meant that it will stop as soon as a word matches. Which is cool functional laziness. But i think it will do a dozen scans of the post body if it has  no chudwords

Trans lives matter

Jump in the discussion.

No email address required.

the what

Jump in the discussion.

No email address required.

It rewrites your shitty code in such a way that it'll by faster while still making exactly the same mistakes (and a few additional ones for good measure)

Jump in the discussion.

No email address required.

sounds r-slurred ngl

Jump in the discussion.

No email address required.

xar you from india too? kindly send armpit pic ASAP for proof

Jump in the discussion.

No email address required.

https://i.rdrama.net/images/1708063196162245.webp

Jump in the discussion.

No email address required.

:marseypajeetitsover#:

Jump in the discussion.

No email address required.

i dont write python because im not a pothead but this ai says youre retarded

Generative AI is experimental. Learn more

No, checking each member of a list against a large string using in in Python will not be optimized to linear time. The in operator in Python has a time complexity of O(n), where n is the length of the list. This is because the in operator iterates over the entire list to check if the element is present.

It mixed up the string and the list though. Are you saying it will turn the string into a set?

Trans lives matter

Jump in the discussion.

No email address required.

i write O(m*n) logic on purpose because I know it'll get optimized

:#marseyclueless:

Trans lives matter

Jump in the discussion.

No email address required.

thats worse

"palestinian" wouldnt get matched for example

Jump in the discussion.

No email address required.

https://github.com/TheAlgorithms/python/blob/master/data_structures%2Ftrie%2Fradix_tree.py#L122

If you remove this line so that you can match on partial words, you could load the post body into the radix tree one time and then try to find each nono word

Trans lives matter

Jump in the discussion.

No email address required.

Of course you would make it harder to do quickly because you're too lazy to write down the five suffixes. 

:#chudtantrum:

https://en.wikipedia.org/wiki/Radix_tree

Not as sure I want to write it for you anymore but it would definitely be faster.

TRANS LIVES MATTER

Jump in the discussion.

No email address required.

literally saving a couple of milliseconds

Jump in the discussion.

No email address required.

On every post, on every page load

You could also add hundreds more nono words after that

Trans lives matter

Jump in the discussion.

No email address required.

Came to collect my L

import string
import random
from time import perf_counter

bodies = (''.join((random.choice(string.ascii_lowercase + ' ') for _ in range(500))) for _ in range(50))
words_to_hide = (''.join((random.choice(string.ascii_lowercase) for _ in range(random.choice(range(5, 12))))) for _ in range(50))

tic = perf_counter()
for body in bodies:
    found = any(x in body for x in words_to_hide)
toc = perf_counter()

print("MS", round((toc-tic)*1000))

Takes ~15 millis to check for 50 words of length 5-12 in 50 posts of length 500 each. I kneel before pythonchads

:#marseykneel:

trans lives matter

Jump in the discussion.

No email address required.

The current method does have some false positives though. Words like "jewel" and "crisis" would be hidden, for example.

These are all the word variants I could think of.

'israel', 'israeli', 'israelis', 'isreal', 'palestine', 'palestinian', 'palestinians', 'muslim', 'muslims', 'islam', 'islamic', 'hamas', 'jew', 'jews', 'jewish', 'gaza', 'gazan', 'rafah', 'isis', 'terror', 'terrorism', 'terrorist', 'terrorists', 'iraq', 'iraqi', 'iraqis'

Jump in the discussion.

No email address required.

Might start adding "Gaza" at the end of every post to spite loggedoutcels

Jump in the discussion.

No email address required.

Calm down Cato.

Jump in the discussion.

No email address required.

:marseycry:

Jump in the discussion.

No email address required.

Well now they'll have to become loggedincels :marseyemojirofl:

Jump in the discussion.

No email address required.

loggedincels

:marseygasp:

Jump in the discussion.

No email address required.

:marseyitsover:

Jump in the discussion.

No email address required.

LurkerButMoreHiddenPosts

Nice username.

Jump in the discussion.

No email address required.

https://media.giphy.com/media/s239QJIh56sRW/giphy.webp

Jump in the discussion.

No email address required.

Probably the same reason there's a slur filter. Maybe there were too many calls for genocide, and they didn't want to get deplatformed over it? :marseyshrug:

I'm going to avoid saying those words from now on.

Jump in the discussion.

No email address required.

Maybe there :marseycheerup: were too many calls for genocide

JUST MAKE CHUD AWARDS CHEAPER AND SHORTER LIKE I SUGGESTED 2 YEARS AGO AAAAAAAAAAAHHHHHHHH

Jump in the discussion.

No email address required.

They should be more expensive and longer.

10* the cost for 10* the time


:#marsey:

Jump in the discussion.

No email address required.

rafah

iraq

Jump in the discussion.

No email address required.

Aww, I often check /h/sandshit without logging in.

Jump in the discussion.

No email address required.

words_to_hide = ('israel', 'palestin', 'muslim', 'islam', 'hamas', 'jew', 'gaza', 'rafah', 'isis', 'terror', 'iraq')

Should also include popular misspellings like "isreal"

Jump in the discussion.

No email address required.

As an American I'm pretty much desensitized to 99% of pop culture sewage but there's a distinctly unnerving soulless quality belonging to K-pop that gives me the same feeling I get when I see a corpse

Snapshots:

https://fsdfsd.net/rDrama/rDrama/commit/317bea3f843017f2e03461ed8a61568c528005ac:

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.