Updating Rasbian from Wheezy to Jessie and Stretch

Before … :-( $ sudo apt-get update Get:1 http://archive.raspberrypi.org wheezy Release.gpg \[488 B\] Ign http://mirrordirector.raspbian.org wheezy Release.gpg Get:2 http://archive.raspberrypi.org wheezy Release \[17.6 kB\] Ign http://mirrordirector.raspbian.org wheezy Release Err http://raspberrypi.collabora.com wheezy Release.gpg Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname) Ign http://raspberrypi.collabora.com wheezy Release Get:3 http://archive.raspberrypi.org wheezy/main armhf Packages [144 kB] Err http://raspberrypi.collabora.com wheezy/rpi armhf Packages Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname) Err http://raspberrypi.

Updating Rasbian from Wheezy to Jessie and Stretch »

Visual Studio Code for ESP32 / ESP 8266 - a c_cpp_properties.json sample

Setting up Visual Studio Code for ESP32 / ESP 8266 development can be a bit awkward, if - like me - you don’t know exactly what’s happening behind the settings. The “C/C++ IntelliSense, debugging, and code browsing” plugin makes working with Visual Code a bit easier, but it needs to be configured for ESP projects. Luckily, that’s not too hard. #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/home/(etc) ).

Visual Studio Code for ESP32 / ESP 8266 - a c_cpp_properties.json sample »

A python curls up to touch the tip of its own tail with its nose, forming the shape of a circle.

A python curls up to touch the tip of its own tail with its nose, forming the shape of a circle. The python is 2.6 pi (2.6π) meters long. What is the radius r of the circle that the python forms? – Obviously, this is not about the programming language. Someone was searching for this, well, lots of people were, so why not answer it? Snakes are scary. Instead of thinking of it as a snake, assume it’s just the circumference of a circle - the length of the line that draws the circle.

A python curls up to touch the tip of its own tail with its nose, forming the shape of a circle. »

Staging Site indexing

So you got your staging site indexed? Happens to everyone. Here’s a rough guide on fixing it, and suggestions for preventing it. (thought I’d write this up somewhere) The fastest way to get the staging site removed from search is remove it via Search Console. For that, you need to verify ownership via Search Console [1] (ironically, this means you’ll likely have to make it accessible to search engines again, or figure out DNS verification, which isn’t that common but also not that hard).

Staging Site indexing »

Winter road-bike cycling clothing choices

So you wanna cycle in the winter and aren’t sure what to wear? Here’s what works for me - maybe it gives you some ideas. Generally speaking, being a bit on the cold side with your upper body when you leave is fine, you’ll warm up a bit. Having clothes that you can open (jacket) or roll up (long sleeves) makes it easy to adjust. For rides longer than an hour, you want to make sure your feet are warm enough, since they tend not to get as much blood circulation and hence don’t warm up as much over time.

Winter road-bike cycling clothing choices »

Trailing slash or not

The “trailing-slash or not” question comes up from time to time, so I thought I’d write something short up. tl;dr: the slash after a hostname or domain name is irrelevant, you can use it or not when referring to the URL, it ends up being the same thing. However, a slash anywhere else is a significant part of the URL and will change the URL if it’s there or not. This is not SEO-specific, but just how websites work :).

Trailing slash or not »

Ubuntu dual boot with Windows 10 on Acer Aspire GX 785 with UEFI

Setting up an Acer Aspire GX 785 desktop PC for dual-booting Microsoft Windows 10 with Ubuntu is tricky, but not impossible. If this is above your comfort-zone, just set up a VM with Ubuntu within Windows :-). Steps roughly: Make space on hard disk for the partitions Change BIOS security settings Create a USB disk to boot Ubuntu Install Ubuntu, creating 3 new partitions on the hard disk Fix UEFI settings Prepare empty hard disk partition In Windows, open the Disk Management tool: Right-click on Start > Disk Management Make room for Ubuntu: Mine had 2 ca 240GB partitions on the main disk.

Ubuntu dual boot with Windows 10 on Acer Aspire GX 785 with UEFI »

Practically dealing with recurring/updated items

“When people search for our event, they find last year’s listing; help!” Whether it’s an event (FooBarConf 2017), a recurring report (FooBar Earnings Q1 2017), an updated product (FooBarPhone 23) or anything else that has a current version and previous versions, this is a really simple way to help make sure that search is able to easily find the current version. Place the current version on a generic, non-versioned URL (/foobarconf) Copy last year’s version onto a versioned URL (/foobarconf/2016) Browse Twitter or Google+

Practically dealing with recurring/updated items »

JS SEO

How to make JavaScript-based sites work well with search is something I’ve been getting asked about a bit, so in the spirit of having open discussions, I set up a public working-group to discuss how things are working out :) Feel free to join and/or send folks there! https://groups.google.com/forum/#!forum/js-sites-wg My goal is to figure out how things are working out for sites at the moment, what tricks they’re doing to “fix” search, and what we need to change or document on our side.

JS SEO »

HTML validation & SEO

HTML validation and Google’s web-search … validation isn’t necessary for crawling, indexing, or ranking, as we’ve said [1] many times in the past. However, if you have problems with meta-tags, structured data, or link-elements (for example, if your hreflang markup isn’t being picked up properly), then using a HTML validator can sometimes point you at problems in your markup. In a recent example, a site was accidentally including a banner in the HEAD of a page.

HTML validation & SEO »