• 12 Posts
  • 551 Comments
Joined 3 months ago
cake
Cake day: June 23rd, 2024

help-circle











  • ChaoticNeutralCzechtoGreentext@sh.itjust.worksAnon can't sleep
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    5
    ·
    edit-2
    1 day ago

    The anon got it wrong. These are “>” or “greater than” symbols, not arrows, although they look like arrowheads. They are used to signal a quote, which makes the text green on 4chan or inside a quote block on other platforms. In 4chan culture, the resulting greentext is not a quote, it has a meaning of its own.

    The actual implication arrow, used in mathematical logic for statements like “if A, then B” or “A implies B”, is “⇒” or “rightwards double arrow” in Unicode. Using ASCII characters, it can be written as “=>”.


  • I was talking about the wrong date in the post title. You can still fix this, Lemmy allows editing post titles (and links).

    There is no shame in scheduling posts you were going to make anyway, prominent poster @MentalEdge@sopuli.xyz does it and I do that on my @ChaoticNeutralCzech@lemmy.one account. The easiest way is to write a Python script with the pythorhead library, and automating it with a cron job or Windows’ Task Scheduler, or run manually if you wish to do that. Your username and password, as well as what the previous post was (for unpinning in the community), can be stored in your OS’s environment variables.

    In your case, it’s just a matter of something like

    # warning: untested
    from pythorhead import Lemmy
    import datetime
    import os
    
    todays_date = datetime.now().strftime("%A %B %d")
    
    post_title = "The Daily Checkin for" + todays_date + " - Just For Today, We Are Not Drinking!"
    post_body = "Good morning sober peeps!!\n\nWe may be anonymous strangers on the internet, but we have one thing in common. We may be a world apart, but we’re here together!\n\nWelcome to the 24 hour pledge! I’m pledging myself to not drinking today, and invite you to do the same.\n\nMaybe you’re new to c/stop drinking and have a hard time deciding what to do next. Maybe you’re like me and feel you need a daily commitment or maybe you’ve been sober for a long time and want to inspire others.\n\nIt doesn’t matter if you’re still hung over from a three day bender or been sober for years, if you just woke up or have already completed a sober day. For the next 24 hours, let’s not drink alcohol!"
    
    community_id = 5759 #lemmy.world/c/stopdrinking for lemmy.world users
    previous_post = os.getenv("STOPDRINKING_PP")
    post = ""
    
    lemmy_username = os.getenv("STOPDRINKING_UN")
    lemmy_password = os.getenv("STOPDRINKING_PW")
    lemmy = Lemmy("https://lemmy.world") 
    
    def retry_login():
        if not lemmy.log_in(lemmy_username, lemmy_password):
            print("Failed to log in")
            exit(1)
    
    def retry_post():
        global post
        post = lemmy.post(community_id, post_title, body=post_body,)
        if post:
            print(f"Successfully posted ({post['post_view']['post']['ap_id']})")
        else:
            print("Failed to post")
            exit(1)
    
    def retry_refeature():
        global previous_post
        global post
        post.feature(true)
        if (previous_post):
            previous_post.feature(false)
        previous_post = post
        os.environ["STOPDRINKING_PP"] = previous_post
    
    def retry: #this structure allows retrying in the interactive shell
        retry_login()
        retry_post()
        retry_refeature()
        input("Press Enter to exit...")
        os._exit(0)
    
    retry() 
    

    This command makes the script run in interactive mode, so you can see error output if problems happen, change variables and type retry() commands to retry:

    py -i stopdrinkingtoday.py
    

    I haven’t tested the code but it should not be too hard to get it working. Feel free to ask for help.






  • What’s funny is that lots of people outside Prague are racist and most of them make no effort to hide it. Our nation very much prides itself in dark humor and very few topics are taboo, we even have racial and Auschwitz jokes. However, most people are oblivious to what’s happening in the area so even if you made a really good point for Palestine and composed it into a joke, it’s not going to resonate with any audience. Maybe university students (though a great deal of them are pro-Israel so you might get cringey faces and boos).



  • With the interlace filter, make sure you get the field order right. I used not to be so familiar with ffmpeg and I ended up using some GUI program I can’t remember back in the day. See if the driver has an option for no deinterlacing because that happens at driver level.

    There is no difference between 1⅓:1 and 4:3, they’re just different representations of the same thing. Rounding the ratio to 1.33 produces a negligible difference but I would stick with 4:3 for a simpler pixel aspect ratio of 9:8 (1.125} as opposed to 150:133 (1.12782), assuming the capture is 720x480i60.

    As for the zoom, TVs will have some overscan because different equipment caused various borders but the capture card should capture all 480 lines. You can check that the output is not vertically scaled by taking a snapshot in a high-movement scene (beware that most image formats are limited to square pixels so better force a PAR of 1:1 for this purpose) and observing if the interlacing indeed causes 1:1 combing as expected. Checking for horizontal crop can be done with another video source (camera, DVD player, STB, game console) generating a test pattern or at least a known image. However, if the vertical scale is correct and the content aspect ratio looks subjectively fine at 4:3 SAR, the crop is most likely OK.