Skip Navigation
For the love of garage: urbanist boogyman question
  • Hobbies have always been restricted to those who can afford or at least (as is far too often the case) finance them

    Will an urbanist shift make these things less accessible as larger homes are torn down and replaced or drive down prices by hoovering up those currently forced into larger homes than they need? If I knew with impunity, I'd be too busy running my real estate to respond

  • Whale
  • Why is the date range backwards?

    I see some of their paintings are dated at less than 2000 years old so it would be CE but that's not necessarily true for all their artwork

  • Copyright 1999
  • Google Ads was born out of a need to monetize search traffic. In the late 1990s, Google’s founders, Larry Page and Sergey Brin, were struggling to find a way to make money from their search engine. They came up with the idea of selling advertising space on their search engine results pages, and Google Ads was born.

    Initially, the idea was met with skepticism. Many advertisers were hesitant to spend money on online advertising, and Google was still a relatively unknown company. However, Page and Brin persisted, and in October 2000, they launched Google AdWords.

    Honestly didn't know they waited 4 years before monetizing anything

    Edit: for those who'd like this source but Wikipedia says similar and, of course, if anybody finds a counterfactual I'd be interested: https://www.webmonster.com/the-evolution-of-google-ads-past-present-and-future/

  • [SOLVED] Any luck/experience contributing more bike-friendly roads to Google Maps

    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?)

    5
    Bikini Bottom Twitter @lemmy.world JackLSauce @lemmy.world
    Mongolians 5 Seconds after Establishing a Capital City
    2
    Dunder Mifflin @lemmy.ml JackLSauce @lemmy.world
    OK but what was it? Football cream, right?
    4
    fuck u/spez @lemmy.world JackLSauce @lemmy.world
    Made this PRAW script to ensure my Reddit data is cleared before deactivating. I sure hope a bunch of people don't run it during the last few days of free API access...

    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--') >

    1
    Made this PRAW script to ensure my Reddit data is cleared before deactivating. I sure hope a bunch of people don't run it during the last few days of free API access...

    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--') ```

    1
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)JA
    JackLSauce @lemmy.world
    Posts 10
    Comments 236