Twittens, Ginnels and Jitties

In December Mapping Urban Form and Society published a fascinating article exploring how language and mapping intersect in the names people use to refer to a ‘narrow walkway between buildings.’ In the UK these walkways or alleys might also be called a ‘passage’ ‘cut’, ‘entry’, ‘gennel’. ‘ginnel’, ‘jitty’, ‘snicket’ or ‘twitchel’. Which one of these terms is used is normally determined by where Maps Mania… more →
Posted in: Interactive Maps

How to Open a Tor Brave Window from Command Line

I love the Brave web browser for many reasons: ad blocking, Brave rewards, crypto integration, and even a Tor tab feature. I’ll often use the Tor feature but wanted to know how I could automated opening Tor windows from command line. To open a Brave Tor tab, you can use the following command: open -a "Brave Browser" --args --incognito --tor Any time I want to remotely open a Tor tab, I can do so via a shell script. Commands are such an underused but valuable utility for apps! The post How to Open a Tor Brave Window from Command Line appeared first on David Walsh Blog. David Walsh Blog… more →
Posted in: JavaScript

24 Hours of Ship Traffic in the Bay

Every day hundreds of container ships, high speed ferries, and pleasure boats navigate the San Francisco Bay. The job of orchestrating much of this marine traffic falls to the Coast Guard’s vessel traffic service, based on Yerba Buena Island. You can get a great idea of what this job entails on Mapbox’s interactive map Ships in the San Francisco Bay.Ships in the San Francisco Bay animates 24 Maps Mania… more →
Posted in: Interactive Maps

Another Update to my Slideshow Web Component – JavaScript Support

Last month I shared a simple web component I built to embed slideshows onto web pages. If you didn’t get a chance to read that, you can see it in action in this CodePen below: See the Pen Slideshow Web Component by Raymond Camden (@cfjedimaster) on CodePen. After I wrote this, Šime Vidas shared an excellent update to my component with some great modifications. I talked about this version in a blog post, and it’s the version I’ll be using for my post today. What am I covering today? When I demonstrated how to use my web component, it was done via a script include (well, it’s on CodePen, but you get the idea), and then a bit of HTML. Here’s an example. (And... more →
Posted in: JavaScript

How to Create a Diff of Two Images

When I was a child, I loved looking for Waldo in the “Where’s Waldo?” book series. These days I’m a sucker for TMZ’s “What’s the Big Frigin Difference” images, where TMZ slightly changes an image and you have to spot the differences between the two. That got me to thinking — how easily could I automate diff’ing two images? This StackOverflow post was gold. To create a diff of two similar images, we’ll use ImageMagick’s convert command line utility with a large host of configurations: convert '(' image1.png -flatten -grayscale Rec709Luminance ')' '(' image2.png -flatten -grayscale Rec709Luminance ')' ... more →
Posted in: JavaScript

Global Population Density

Top Row: Paris, Barcelona, New York, Bottom Row: London, San Francisco, Los AngelesUS cities tend to have lower population densities than cities in most other countries in the world. The maps above show the populations living within a 5km radius of the centers of a number of major cities. As you can see San Francisco and Los Angeles have significantly lower population densities than Paris and Maps Mania… more →
Posted in: Interactive Maps

How to Open an App from Anywhere on Mac Command Line

Many engineers like myself live in the command line, and perform actions from command line that most others would click an icon for. I’ve always found opening apps from command line on Macs painful. You need to references the Applications directory, add .app to the name, etc. I just want to open apps by name. To open an app from any directory by its simple name, you can use the -a argument to open: open -a Cyberduck # Works regardless of case as well open -a CyBeRdUcK I love -a for a command like open. Being able to open any app by name is exactly what I want! The post How to Open an App from Anywhere on Mac Command Line appeared first on David Walsh Blog. David Walsh Blog… more →
Posted in: JavaScript

The Distribution of Surnames

The superbly named Namensverbreitungskarte is an interactive map which can show the distribution of surnames in Germany. Enter a family name into the map and you can see where people with that name lived in 1996 and in 1890. The distribution is based on German casualty lists of the 1st World War and the German phone directory from 1996.One neat feature of Namensverbreitngskarte is that you can Maps Mania… more →
Posted in: Interactive Maps
1 46 47 48 49 50 189