What kind of shinanigans can you get up to with a .zip or .mov TLD?

This spring, Google introduced eight new TLDs, and two of them are creating a little bit of a stink online.  The top-level domain “.zip” is also an extension for archive files employing the compression format known as “zip.” Similarly, the TLD “.mov” is also the file format extension “.mov”.  So, how can this be abused?

Continue reading "What kind of shinanigans can you get up to with a .zip or .mov TLD?"

How to use Mapbox to convert from coordinates to address and back again

Back in January, I promised that a future post would cover how to go from a street address to latitude / longitude coordinates.  Previously, we have covered how to get the user’s street address, using navigator.geolocation and MapQuest and more recently, we covered converting addresses to latitude and longitude but that wasn’t an actual street …

Continue reading "How to use Mapbox to convert from coordinates to address and back again"

How I get my news, these days

I will readily admit that I got too much of my news from Twitter, before the implosion.  After twitter went away, there was a slight hole in my daily news diet.  I started filling that hole with Inoreader and PressReader.  Inoreader has a $20/yr “supporter” plan and the app syncs your feeds from device to …

Continue reading "How I get my news, these days"

How to autofill an address using mapbox

I have been poking at the Milwaukee County Trasit System (MCTS) APIs over the past few weeks.  A few years ago, I tried to write a bus app using Angular and it just didn’t work out well.  I figured that I would try it again, using what I have learned since then.  The first step …

Continue reading "How to autofill an address using mapbox"

How to calculate the sunset and sunrise times in JavaScript

Over the holidays, I created Good Morning, Milwaukee! (a Mastodon bot that posts a “Good Morning” toot every morning).  The problem is that it hasn’t been behaving correctly since shortly after I finished it.  I want to simplify it a bit, so I can make it a little less fragile.  The first component of the …

Continue reading "How to calculate the sunset and sunrise times in JavaScript"

I might have been spending a lot of time on Mastodon

In my previous post, I talked about how after Elon Musk’s purchase of Twitter, I was giving more attention to Mastodon.  Since then, I killed my twitter account, launched my own Mastodon instance, launched three new Mastodon bots (including a new one that goes live this morning), and converted Joe Travels to only post to …

Continue reading "I might have been spending a lot of time on Mastodon"

How to center all of the things in all the other things without CSS Grid or Flexbox

In this week’s blog post, I want to cover how to center divs inside of other divs horitontally, vertically, and both horizontally and vertically.  You can do this with CSS Grid or Flexbox but I want to go over how to do it with standard CSS.

Continue reading "How to center all of the things in all the other things without CSS Grid or Flexbox"