Team Novo Nordisk posed an interesting question on their website …
WOULD YOU GIVE BACK YOUR DIABETES DIAGNOSIS?
There are two sides to the question for me …Continue reading
If you’re seeing a lot of messages about untrusted TLS connections in your mail log when running postfix like this…
Untrusted TLS connection established to ASPMX.L.GOOGLE.com[188.8.131.52]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
… there’s a pretty easy fix.Continue reading
I’m probably one of the few people who can honestly claim that they fell off a bike trainer.
Keep in mind that, when riding on a bike trainer, the bike is locked in place on the trainer and it can’t move.
Nonetheless, I managed to fall off my trainer. Well, more like catapulted off.
This happened quite a while ago … I was using the Zwift training software with my Kinetic Road Machine dumb trainer.Continue reading
A number of years ago I purchased a Road iD bracelet so, if I crashed during a ride, anyone who tried to help me would know who to contact if I wasn’t able to tell them.
I’ve worn that bracelet for most, if not all, my rides. It’s gotten kind of beat up over the years.
At this point the metal plate with the emergency contact information is pretty scuffed up and almost illegible.
While browsing the Road iD web site, I noticed they have a lifetime guarantee.
Yesterday I sent their customer service department a note indicating that the plate is scuffed and illegible … and they responded, within about an hour, indicating that they would provide a replacement.
They confirmed the information for the bracelet and shipping address … and said it would be sent out that day.
Today I got the shipping confirmation of the replacement.
That’s good customer service.
This post only covers the technical details of how to implement http/2 on an Apache web server running in Amazon Linux on Lightsail. It does not go into the details of what http/2 is or why use it. For that information, I suggest https://http2.github.io.
First you have to switch the Multi-Processing Modules (MPMs) from pre-fork (the default) to another one. I chose the event mpm for no particular reason.
To do this, edit /etc/httpd/conf.modules.d/00-mpm.conf and make the following changes …
Comment out the following line…
#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
… and uncomment the following line …
LoadModule mpm_event_module modules/mod_mpm_event.so
Next, you have to activate the http2 protocol. You can do this at the virtual host level or the server level.
I activated it at the server level by editing the /etc/http/conf/httpd.conf file and adding the following line…
Protocols h2 h2c http/1.1
After the changes are made, restart the server with the following command…
service httpd restart
Your apache server is now serving content using http/2.
You can verify that the server is handling http/2 by looking at the web server logs and looking for “HTTP/2.0”.
Something like this:
184.108.40.206 – – [07/Mar/2019:10:59:48 -0600] “GET / HTTP/2.0” 200 4646 “-” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36”
NOTE: web crawlers (Google, Bing, etc) will continue to use http/1.1, so don’t worry about that.
If you’re like me, when cycling, you prefer to have a bike computer and some sensors with you on a ride.
On a recent vacation, where I rented a bike, I brought my bike computer (Garmin Edge 1030) and my Wahoo RPM Speed & Cadence sensors along.
The RPM Speed sensor mounted fine on the bike’s hub using its built in rubber bands.
The issue was with the cadence sensor.Continue reading
As you might have guessed, I like keeping track of my fitness. On my bike, I use the Garmin Edge 1030, on the trainer I use Zwift.
I also like to keep track of my steps. Being a programmer, my job is mostly sedentary, so being aware of how much I’m walking and moving in general.
To this end, I wear a Garmin Vivoactive 3 smart watch.Continue reading
A few more of my favorites…
There are two types of people in the world: Those who can extrapolate from incomplete data.
… and …
Any working regular expression is indistinguishable from magic.
We all agree that email is crucial to modern life.
But what email should you use?
Everyone gets email when they sign up for high speed internet service … the problem is that you’re tied to that internet service for that email address. If you switch service providers, you could lose the address. Even worse, if your provider goes out of business, you could loose access entirely. Sometimes the email provider charges a fee for better service and/or removing advertising.
Yes, you could use Gmail, Hotmail, Yahoo, or AOL, but you’re still tired to the provider. Plus, you don’t often get to choose the best address (email@example.com just isn’t that sexy).
Wouldn’t it be nice if you could get an email address that belongs to you forever?Continue reading