JackLSauce

joined 1 year ago
[–] [email protected] 6 points 1 week ago (6 children)

Am I the only one having a stroke trying to understand:

"clears up again after the first wave of divorces (after 35?)"

[–] [email protected] 12 points 2 weeks ago (2 children)

Switzerland's so neutral they don't even get involved in weather

[–] [email protected] 25 points 2 weeks ago (3 children)

What does he think is above his head in the third panel?

[–] [email protected] 69 points 2 weeks ago (3 children)

Plot twist: neither of them is sleeping

[–] [email protected] -3 points 4 weeks ago

Yeah, more or less both

[–] [email protected] 13 points 1 month ago

"You are inside 2 wolves"

[–] [email protected] 23 points 1 month ago (2 children)

Weed porn, eh?

[–] [email protected] 19 points 1 month ago

Keep your share of rent between 1/4 and 1/3 of your income, set up passive savings contributions of at least 10% and use a high yield savings account to stave off inflation until you both have 3 months living expenses and understand why the best investment strategies are boring

If you're in university, your desired career and its requirements should determine your major, , not the other way around

I graduated with a bachelor's degree only to realize my career was a dead end because only in my senior year was I informed there's such thing as a "mental health license" for which I was disqualified due to low grades in a non-related class the year prior. Eventually I learned how well blue collar jobs pay (with a lot of job security at that) and got back on my feet working in logistics but I'll never see the 50x return on investments by retirement because "why learn about finances when you can barely pay rent"

It all seems very obvious in hindsight

[–] [email protected] 1 points 1 month ago

Kinda seems like a different take on cul-de-sacs

[–] [email protected] 6 points 1 month ago (1 children)

Understood. I've only recently been learning how much Canadian mortgages force their lendees to "readjust" to new conditions. In the US you can generally keep the initial terms shy of a refinance or foreclosure

Can you provide any local insight as to whether you can find a decent house at a lower rate than that?

I know housing affordability is a shit show there and that lady isn't making enough no matter what she does but I'm curious how much she could have lowered that percentage

[–] [email protected] 10 points 1 month ago (5 children)

She had to sell her house after her divorce and now pays $2,679 per month for a three-bedroom townhouse in the same neighbourhood. She didn't want her children, a teen boy and teen girl, to have to switch schools or share a bedroom

Then... What did selling the house achieve...?

 
 
 

I thought this would be dead simple but trying to label a road as "bike-friendly" isn't as intuitive as one would hope (am I "adding" a road even though it's technically there or reporting "wrong info" piece by piece?)

 
 
 
 
 

cross-posted from: https://lemmy.world/post/647097

You'll need to update the praw.Reddit() parameters and set booleans to True based on what you want to have cleared.

This also overwrites your comments with nonsense content seeing as Reddit doesn't really delete your comments if nobody forces them

Sorry about the amateurish Python, this isn't my go-to language

import praw

#Update all values set to XXXXXX and set boolean values to True for whatever you'd like to clear

reddit = praw.Reddit(
    client_id="XXXXXX",
    client_secret="XXXXXX",
    user_agent="script running locally", #required for PRAW but not sure content matters
    username="XXXXXX",
    password="XXXXXX"
)

#booleans
delete_posts = False
delete_comments = False
delete_saved = False
clear_votes = False
unsubscribe = False

def get_posts():
    return reddit.user.me().submissions.new(limit=100)

def get_comments():
    return reddit.user.me().comments.new(limit=100)

def get_subscriptions():
    return reddit.user.subreddits()

def get_saved_items():
    return reddit.user.me().saved(limit=100)

def get_upvoted():
    return reddit.user.me().upvoted(limit=100)

def get_downvoted():
    return reddit.user.me().downvoted(limit=100)

while(clear_votes):
    count = 0
    upvotes = get_upvoted()
    downvotes = get_downvoted()
    for vote in upvotes:
        try:
            vote.clear_vote()
            count += 1
            print('Clearing vote for: ', vote)
        except Exception as e:
            print('Could not clear vote due to: ', e, '(this is normal for archived posts)')
            continue
    for vote in downvotes:
        try:
            vote.clear_vote()
            count += 1
            print('Clearing vote for: ', vote)
        except Exception as e:
            print('Could not clear vote due to: ', e, '(this is normal for archived posts)')
            continue
    if(count == 0):
        clear_votes = False

while(delete_saved):
    count = 0
    saved_items = get_saved_items()
    for item in saved_items:
        item.unsave()
        count += 1
        print('Unsaved item ID: ', item)
    if(count == 0):
        delete_saved = False


while(delete_posts):
    count = 0
    posts = get_posts()
    for post in posts:
        print("Deleting submission: ", post)
        post.delete()
        count += 1
    if(count == 0): 
        delete_posts = False 


#Replace comments with nonsense data first as Reddit only "marks comments as" deleted
while(delete_comments):
    count = 0
    comments = reddit.user.me().comments.new(limit=1000)
    print("Replacing comments with nonsense data")
    for comment in comments:
       comment.edit('So long and thanks for all the fish')
    print("Deleting comments")
    for comment in comments:
        comment.delete()
        count+=1
    if (count == 0):
        delete_comments = False

while(unsubscribe):
    count = 0
    subscriptions = get_subscriptions()
    for subreddit in subscriptions:
        subreddit.unsubscribe()
        count += 1
        print('Unsubscribed from: ', subreddit.display_name)
    if (count == 0):
        unsubscribe = False

print('--finished--')
 

You'll need to update the praw.Reddit() parameters and set booleans to True based on what you want to have cleared.

This also overwrites your comments with nonsense content seeing as Reddit doesn't really delete your comments if nobody forces them

Sorry about the amateurish Python, this isn't my go-to language

import praw

#Update all values set to XXXXXX and set boolean values to True for whatever you'd like to clear

reddit = praw.Reddit(
    client_id="XXXXXX",
    client_secret="XXXXXX",
    user_agent="script running locally", #required for PRAW but not sure content matters
    username="XXXXXX",
    password="XXXXXX"
)

#booleans
delete_posts = False
delete_comments = False
delete_saved = False
clear_votes = False
unsubscribe = False

def get_posts():
    return reddit.user.me().submissions.new(limit=100)

def get_comments():
    return reddit.user.me().comments.new(limit=100)

def get_subscriptions():
    return reddit.user.subreddits()

def get_saved_items():
    return reddit.user.me().saved(limit=100)

def get_upvoted():
    return reddit.user.me().upvoted(limit=100)

def get_downvoted():
    return reddit.user.me().downvoted(limit=100)

while(clear_votes):
    count = 0
    upvotes = get_upvoted()
    downvotes = get_downvoted()
    for vote in upvotes:
        try:
            vote.clear_vote()
            count += 1
            print('Clearing vote for: ', vote)
        except Exception as e:
            print('Could not clear vote due to: ', e, '(this is normal for archived posts)')
            continue
    for vote in downvotes:
        try:
            vote.clear_vote()
            count += 1
            print('Clearing vote for: ', vote)
        except Exception as e:
            print('Could not clear vote due to: ', e, '(this is normal for archived posts)')
            continue
    if(count == 0):
        clear_votes = False

while(delete_saved):
    count = 0
    saved_items = get_saved_items()
    for item in saved_items:
        item.unsave()
        count += 1
        print('Unsaved item ID: ', item)
    if(count == 0):
        delete_saved = False


while(delete_posts):
    count = 0
    posts = get_posts()
    for post in posts:
        print("Deleting submission: ", post)
        post.delete()
        count += 1
    if(count == 0): 
        delete_posts = False 


#Replace comments with nonsense data first as Reddit only "marks comments as" deleted
while(delete_comments):
    count = 0
    comments = reddit.user.me().comments.new(limit=1000)
    print("Replacing comments with nonsense data")
    for comment in comments:
       comment.edit('So long and thanks for all the fish')
    print("Deleting comments")
    for comment in comments:
        comment.delete()
        count+=1
    if (count == 0):
        delete_comments = False

while(unsubscribe):
    count = 0
    subscriptions = get_subscriptions()
    for subreddit in subscriptions:
        subreddit.unsubscribe()
        count += 1
        print('Unsubscribed from: ', subreddit.display_name)
    if (count == 0):
        unsubscribe = False

print('--finished--')
view more: next ›