Today’s Google doodle celebrates Teacher Appreciation Week!
Here’s a screenshot of the Google home page with the doodle:
Clicking on the doodle leads to a search for Teacher Appreciation Week:
Here’s a copy of the doodle image:
Tips, tricks, and thoughts about Google, AdWords, Google Cloud Platform, and all its subsidiaries. Not affiliated with or sponsored by Google.
Today’s Google doodle celebrates Teacher Appreciation Week!
Here’s a screenshot of the Google home page with the doodle:
Clicking on the doodle leads to a search for Teacher Appreciation Week:
Here’s a copy of the doodle image:
I love poking around Google Maps – there are so many unexpected things you can find that are obvious from a top-down view, but are so hard to see at a ground-level view.
I was looking at a Google Maps of the Epcot theme park in Disney World, Florida. Do you see any interesting shape in the screenshot below?
There’s a hidden Mickey in the top left hand corner! The three black circles are arranged into the shape of Mickey Mouse’s head! See the screenshot below for detail:
If you zoom in enough on Google Maps, you’ll notice that this is actually an array of solar panels, generating electricity to feed the Disney theme parks. Notice that there seems to be a dirt access road to the panels and a fence around the entire array. As I said before: this solar panel array would be difficult to see in person, much less the general shape of it; but with Google Maps, the difficult becomes so obvious!
A simple example of adding a document to the Firestore:
from google.cloud import firestore
#Make a note in the firestore
firestore_client = firestore.Client()
doc_ref = firestore_client.collection(u'CollectionsNameHere').add({
u'propertyone': u'thisisavalue',
u'propertytwo': 2,
})
logging.warning(doc_ref[1].id)
.add returns a tuple of the date that the document was written into the firestore, and a document reference to the written document. .add lets Firestore create a document ID to the written document: to figure out what the ID is, the last line accesses the tuple and pulls out the document ID.
An item that bit me: the official documentation for Firestore states that .add and .doc().set() are equivalent. That’s true, but the returns from both of those functions are different.
.add returns a tuple of the document creation time and then a reference to the added document. However, .set returns a WriteResult, not a tuple. The WriteResult contains the time the document was updated/set in the property update_time. Make sure to use the correct function as necessary.
BuildAzure has commentary regarding yesterday’s Azure downtime; the short version is that there was a DNS outage. Link: https://buildazure.com/2019/05/03/may-2-2019-major-azure-outage-due-dns-migration-issue/ .
I enjoyed this article on how GitLab moved their site over to GCP:
https://about.gitlab.com/2019/05/02/gitlab-journey-from-azure-to-gcp/ .
It’s fascinating to see all the steps the GitLab team took to make sure their transfer was flawless.
Today’s Google doodle celebrates the sculpture artist, Ruth Asawa.
This is how the Google front page looked like:
Here is the doodle by itself:
The doodle linked to a search for Ruth Asawa: