flamingos-cant (hopepunk arc)

Webp’s strongest soldier.

  • 33 Posts
  • 259 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle

  • I was curious to see how they handle this on the fedi side, because they obviously can’t stop you from uploading images to other instances, so decided to do some digging myself.

    The fedi code for this is here and looks like this:

    # Alert regarding fascist meme content
    if site.enable_chan_image_filter and toxic_community and img_width < 2000:  # images > 2000px tend to be real photos instead of 4chan screenshots.
        if os.environ.get('ALLOW_4CHAN', None) is None:
            try:
                image_text = pytesseract.image_to_string(
                    Image.open(BytesIO(source_image)).convert('L'), timeout=30)
            except Exception:
                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'
                post = session.query(Post).filter_by(image_id=file.id).first()
                targets_data = {'gen': '0',
                                'post_id': post.id,
                                'orig_post_title': post.title,
                                'orig_post_body': post.body
                                }
                notification = Notification(title='Review this',
                                            user_id=1,
                                            author_id=post.user_id,
                                            url=post.slug,
                                            notif_type=NOTIF_REPORT,
                                            subtype='post_with_suspicious_image',
                                            targets=targets_data)
                session.add(notification)
                session.commit()
    
    

    The curious thing here, apart from there being both an environmental variable and site setting for this, is the toxic_community variable. This seems to be a renaming of the low_quality field Piefed applies to communities, which are just communities with either memes or shitpost in their name.

    You also don’t get social credits docked for this.



  • Lollypop is actually a GTK3 app (it looks pretty dated on my mostly GKT4 GNOME setup) and it’s imo still the best GNOME music app. I’m honestly suprised they say Lollypop’s UX sucks but then praise RecordBox’s because I can’t stand RecordBox (why make me double click to play a song* and don’t get me started on the Artist+Album view). Also surprised Gapless didn’t get mentioned here, I think this is actually pretty decent though its queue system could use work.

    *The dev says this choice is so you can select songs and instead you should use the little play button next on the right side of all playable entries.