Google released the introductory episode of a series of SEO mythbusting videos here: https://www.youtube.com/watch?v=lrIwTzUTEGs . I’m looking forward to future episodes – there are so many myths around SEO, it’s good to see Google breaking some of them down.
More Ads On Phones
I’ve commented before that I expect Google to add more ads, in more areas and places that currently don’t have ads.
The Verge has a great new article out discussing how Google is about to add a lot more ads to their mobile view pages: https://www.theverge.com/2019/5/14/18623541/google-gallery-discovery-mobile-ads-announced . As more of the web is consumed via the phone/tablets, this is going to help Google’s bottom line more and more.
Georgios Papanikolaou Doodle
Today’s doodle celebrates the life of Georgios Papanikolaou, who invented the pap smear.
The Google home page looked like this with the doodle:
Here is the doodle by itself:
The doodle links to a search for his name:
Mother’s Day Doodle
Google put up three animated doodles to celebrate Mother’s day. Here’s screenshots of each of them:
Mickey Videos On YouTube!
If you need a playlist to keep a child entertained (or an adult that loves Disney), try the Mickey Mouse shorts playlist here:
https://www.youtube.com/watch?v=x6AcuhX4ZUU&list=PLC6qIbU1olyXQe1WOKt8UJ4hErx3D7qt8 . It’s a set of 90+ short videos featuring Mickey Mouse and his adventures.
It’s quite fun to watch – I’ve been watching them with my nephew and I’m not sure which one of us likes it more!
Google I/O 2019 Announcement Recap
In case you missed the recent Google I/O convention, Google has a recap of their I/O announcements conveniently summarized here:
https://www.blog.google/technology/developers/100-things-we-announced-io-19/ .
I really like the new privacy features Google is rolling out, but IMO the best one is number 77 on Google’s list: All Chromebooks launched this year will be Linux-ready right out of the box. The Chromebook is great, but sometimes you need the power of a CLI.
Business Insider: Downloading Google Maps For Offline Use
This recent Business Insider article details how to download Google Maps information to your phone’s local storage, so you can use Maps even when offline or when your phone is unable to get a signal: https://www.businessinsider.com/how-to-use-google-maps-offline .
When I travel, I always have Google Maps save a map of the area I’m travelling to. It’s not always possible to have a working cell signal – in flat Illinois where I live, it’s easy to have cell signal all the time. When I travel to more mountainous regions such as Colorado, I often lose signal due to mountains and hills between me and the signal tower.
Setting Up Sendgrid To Receive Mail
I was setting up a new application to use SendGrid’s inbound parse email function, so here’s some quick documentation. In the Sendgrid dashboard, go under Settings > Inbound Parse:
Then click on the top blue button: Add host & URL.
Fill in the screen that comes up with the proper domain, and subdomain (the subdomain is optional). The destination URL is where Sendgrid will POST the email to.
At the domain registrar, set up the proper MX record. Look up the appropriate documentation based on the registrar you use – this is how it looks like on GoDaddy:
In your application, set up a handler to answer the SendGrid request: in the screenshot example above, the handler was located at /inboundmailwebhook/. Any inbound mail gets POSTed as regular form data, which most frameworks can handle automatically.
IBM Watson Natural Language Understanding
I was fiddling with code that worked with IBM Watson’s Natural Language Understanding API, and kept getting the following error:
{
"error": "invalid request: content is empty",
"code": 400
}
What happened is that I was calling out to IBM using the following requests Python code (post_data represents a Python object being encoded to JSON):
post_data_string = json.dumps(post_data)
requests.post(endpoint, data=post_data_string, timeout=45, auth=(ibm_user, ibm_pass))
However, it seems that the API insists on having the correct request content type set; i.e. you must set Content-Type: application/json for the IBM Watson servers to notice there is a data body in the POST request. I fixed it by using the json parameter – the requests library for Python automatically inserts the application/json content type when this parameter is used. If you use a different language, you’ll need to set the proper content type in the language’s preferred manner.
requests.post(endpoint, json=post_data, timeout=45, auth=(ibm_user, ibm_pass))
Google Doodle – Teacher Appreciation Week
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: