JackLSauce

joined 1 year ago
[–] JackLSauce 17 points 3 weeks ago

Lemmy is my niche community

[–] JackLSauce 4 points 1 month ago (1 children)

Should probably post a second draft with help from the marketing students...

I thought somebody posted a resumé to Lemmy

[–] JackLSauce 29 points 1 month ago (2 children)

Does this refer to the overall Lemmy meta or was there a specific "sucks your mum died; maybe it was from the shame of you using Adobe products" moment?

[–] JackLSauce 7 points 1 month ago* (last edited 1 month ago)

If the other comments knew the details, the response would be terror not annoyance:

Management types in smaller, growing businesses are shockingly susceptible to the promise of "cleaning things up" by making everything a "Microsoft shop", even when that means transferring data and control to Azure (competitors also try but MSFT almost always wins)

They're happy, they own nothing and they don't even know it

Note: this is largely referring to corporate accounts

[–] JackLSauce 9 points 1 month ago

Different jobs are different

Sorry for rambling

[–] JackLSauce 6 points 1 month ago* (last edited 1 month ago)

I agree in spirit but a CPI applied to military expenditure would be adjusting for prices of irrelevant items and could become very skewed at such large scales

Admittedly I don't know have a better idea either so... Guess I'm hoping somebody smarter than me can chime in

[–] JackLSauce 13 points 1 month ago

Pretty sure it's actually missing King Kong given the design of those buildings and plane

[–] JackLSauce 1 points 1 month ago

How did that cat manage to keep its phone's reflection out of this selfie?

[–] JackLSauce 2 points 1 month ago

For anybody else wondering about the roughly 1500 year gap, there are conflicting statements between the museum and an article (presumably the one above) written about it but I don't see any explanation on either side's reasoning:

https://etc.worldhistory.org/exhibitions/giglamesh-enkidu-humbaba-cedar-forest-newest-discovered-tablet-v-epic/

[–] JackLSauce 15 points 1 month ago (5 children)

We talk about freedom the same way we talk about art,” she said, to whoever was listening. “Like it is a statement of quality rather than a description. Art doesn’t mean good or bad. Art only means art. It can be terrible and still be art. Freedom can be good or bad too. There can be terrible freedom.

Joseph Fink, Alice Isn't Dead

[–] JackLSauce 18 points 1 month ago (2 children)

Grub Rescue

Same way you overcome any of life's challenges: decide it's impossible bullshit and move onto another game

 

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: ‹ prev next ›