Killed by Google – The Google Graveyard & Cemetery & GitHub –
Part guillotine, part graveyard for Google’s doomed products, services, devices, and brands.
I checked out the GitHub and saw there was a JSON file that anyone can do pull requests for and add past products, I used the JSON file for the PyPortal to make a desktop display to glance at with all the past Google products (video).
Code below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | import time import board import random from adafruit_pyportal import PyPortal # Set up where we'll be fetching data from, json is over 60k so loading from local.txt smaller one DATA_SOURCE = "https://raw.githubusercontent.com/codyogden/killedbygoogle/master/graveyard.json" DESCRIPTION_LOCATION = [0, 'description'] NAME_LOCATION = [0, 'name'] DATECLOSE_LOCATION =[0, 'dateClose'] # the current working directory (where this file is) cwd = ("/"+__file__).rsplit('/', 1)[0] pyportal = PyPortal(url=DATA_SOURCE, json_path=(DESCRIPTION_LOCATION, NAME_LOCATION, DATECLOSE_LOCATION), status_neopixel=board.NEOPIXEL, default_bg=cwd+"/quote_background.bmp", text_font=cwd+"/fonts/Arial-Italic-12.bdf", text_position=((20, 120), # quote location (500, 500), # author location (220, 10)), # dateclose location text_color=(0xFFFFFF, # quote text color 0x8080FF, # author text color, pushed off screen for now 0xFFFFFF), #dateclose text color text_wrap=(35, # characters to wrap for quote 0, # no wrap for author 0), # no wrap for date text_maxlen=(180, 30, 10), # max text size for quote & author & dateclose ) # speed up projects with lots of text by preloading the font! pyportal.preload_font() # first run, get the full chunk of data so we can see how many entries there are NUM_ENTRIES = 0 while not NUM_ENTRIES: try: all_json = pyportal.fetch(raw_url_json=True) NUM_ENTRIES = len(all_json) all_json = None # and clean up except RuntimeError as e: print("Some error occured, retrying! -", e) # now we can randomize them! while True: try: DESCRIPTION_LOCATION[0] = NAME_LOCATION[0] = DATECLOSE_LOCATION[0] = random.randint(0, NUM_ENTRIES -1) value = pyportal.fetch() print("Response is", value) except RuntimeError as e: print("Some error occured, retrying! -", e) time.sleep(10) |
I never got into all that google+ stuff to begin with. I guess I’m “old fashioned”, but I like to keep control of my data and my applications. And now, seeing that your stuff can go away in an instant, I’m not sorry for my choice.
By the way, I see that you still use the 3 band resistor color code. There are so many sellers out there that handle the 4 band (plus tolerance) types where I can’t see a space between 4 and tolerance.
It seems strange to me that things like Project Tango and the Nexus device line make it into the list of dead Google things. Project Tango has been replaced with the next iteration of Google’s AR framework, so it’s hardly dead, and “Pixel” vs “Nexus” is really just a different naming convention. Compare that to killing off entire apps or services like Inbox and goo.gl.