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:
This Google Cloud post came up on my LinkedIn feed, and I thought it deserved a special mention:
Need to book a hotel room, but you’re looking for a good deal? Google Maps has you covered. This post is if you already have a particular hotel picked out.
As an example, I’m going to pick the Contemporary Resort in Orlando, Florida. First, go to Google Maps and type in contemporary resort. Select the Contemporary located in Orlando, FL.
After searching, you’ll see a screen similar to the below:
On the left hand side, there are advertisements (note the small Ad disclaimer in the middle of the screen) where Expedia and other trip planning sites offer deals for the hotel. You can comparison shop between providers – KAYAK is offering rooms for $492, but Expedia is offering for $488 (see purple arrow). The dates of the hotel stay can be changed as well, see the red arrow for the date pickers.
Keep your eye out for similar ads and deals in Google Maps – I frequently see travel deals being offered.
After the closure of Google Reader – which I was a big fan of – I moved all of my RSS feeds to NewsBlur. One of the reasons I moved to NewsBlur is that it has a full API and is very easy to interface with!
For instance, folder feeds are available and don’t require authentication, making it easy for an app to merge multiple RSS feeds and treat them as one. For example: in NewsBlur, I’ve created a folder called economy and set up multiple feeds (New York Times, Forbes, Washington Post Business) underneath that folder, like so:
Right clicking the folder name and clicking folder settings pops up the folder settings tab. The URLs listed in the Feed Address section return a RSS list with all of the items from the feeds combined into a single feed. Even better: the URL supplied doesn’t require authentication, so an application can read it instead of having to poll 5 separate RSS feeds.
I like to collect examples of error pages, but this is slightly different. When I was browsing Disney.com, I was shown the below page asking me to wait until the request could be completed.
Notice the stylized Space Mountain image in the middle, which helps to customize and personalize the page to the Disney branding. This is a good page to use as a template if you need to build a similar long-waiting page.