ChaoticNeutralCzech

joined 5 months ago
[–] ChaoticNeutralCzech 11 points 2 months ago (6 children)

Elon Musk believes that population decline is a real problem. Well, there is enough African, Latino and Indian kids but those are not the children he wants.

[–] ChaoticNeutralCzech 7 points 2 months ago

Er hat das Ortsschild überrollt und gesagt, er war so verwirrt er vergaß die Handbremse zu ziehen. Also stimmt zur alte Beschreibung auch.

[–] ChaoticNeutralCzech 1 points 2 months ago

I don't, it's just speculation, hence "most likely". I see similar handwriting and not a very plausible problem.

[–] ChaoticNeutralCzech 3 points 2 months ago* (last edited 2 months ago) (1 children)

*Bandstop filters

Shouldn't the FCC have a say in this?

[–] ChaoticNeutralCzech 2 points 2 months ago* (last edited 2 months ago)

You do get notifications if you configure the script to use your account. However, it is a security risk unless it's running on your computer and you store the password responsibly.

[–] ChaoticNeutralCzech 3 points 2 months ago (1 children)

Both? Are they combined into a hybrid port that works with either protocol?

[–] ChaoticNeutralCzech 2 points 2 months ago (3 children)

You could make the script check the latest posts for yesterday's date and decide whether to take action but that makes it more difficult of course, and I'm not going to finish it if you're OK without it.

[–] ChaoticNeutralCzech 8 points 2 months ago* (last edited 2 months 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 "=>".

[–] ChaoticNeutralCzech 1 points 2 months ago (9 children)

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.

[–] ChaoticNeutralCzech 3 points 2 months ago

Palau, Tuvalu, and Micronesia do not evoke much significance

Well, that's why I kinda sorted the list by "relevance". Still, you should at least mention top 5-6 opposers if you're going to bother with any abstainers.

[–] ChaoticNeutralCzech 3 points 2 months ago (11 children)

How's your calendar going?

[–] ChaoticNeutralCzech 41 points 2 months ago (4 children)

There's no teacher. Everything on that paper was most likely written by a single person.

view more: ‹ prev next ›