0

Killed by Google – The Google Graveyard & Cemetery by @codyogden @google #killedbygoogle desktop PyPortal version

Adafruit 2019 1688

Killed by Google – The Google Graveyard & Cemetery & GitHub

Part guillotine, part graveyard for Google’s doomed products, services, devices, and brands.

Googleplus

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)


Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 12,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython 2019!

Have an amazing project to share? The Electronics Show and Tell with Google Hangouts On-Air is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Over 30 years of hardware development – An interview with Parallax, Inc.

Wearables — Sight line savvy

Electronics — You’ve got the power! (right?)

Biohacking — Moment : The Oura Ring Meditation Feature

Python for Microcontrollers — The need for speed, PewPew, Odroid C2, and more! #Python #Adafruit #CircuitPython #PythonHardware @circuitpython @micropython @ThePSF @Adafruit

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



2 Comments

  1. 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.

  2. Joshua Greenlaw

    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.

Sorry, the comment form is closed at this time.