Mapping Loch Ness Monster Sightings

The best place to spot the Loch Ness Monster is on or around Loch Ness in Scotland. In When, where and how to see the Loch Ness Monster – based on 1,500 years worth of data! the Press and Journal has mapped the locations of Loch Ness monster sightings over the last 83 years in order to determine the best location where you are most likely to spot Nessie. After hours of analysis the newspaper Maps Mania… more →
Posted in: Interactive Maps

You Don’t Know Africa

Let’s face it your geographical knowledge of African countries is woefully inadequate. If you had to identify the location of Burkina Faso on a map you would probably end up pointing to the Philippines. Well it’s time to change that. Today you are going to improve your knowledge of Africa and have fun while doing so. You Don’t Know Africa is a collection of three online map games which will Maps Mania… more →
Posted in: Interactive Maps

JavaScript: Reverse Arrays

Manipulating data is core to any programming language. JavaScript is no exception, especially as JSON has token over as a prime data delivery format. One such data manipulation is reversing arrays. You may want to reverse an array to show most recent transactions, or simple alphabetic sorting. Reversing arrays with JavaScript originally was done via reverse but that would mutate the original array: // First value: const arr = ['hi', 'low', 'ahhh']; // Reverse it without reassigning: arr.reverse(); // Value: arr (3) ['ahhh', 'low', 'hi'] Modifying the original array is a legacy methodology. To avoid this mutation, we’d copy the array and then reverse it: const reversed = [...arr].reverse();... more →
Posted in: JavaScript

Discovering the Dissolution

I live near Abbey Road in East London. The road is named for Langthorne Abbey, which used to be one of the largest Cistercian abbeys in England. At the beginning of the 16th Century the abbey owned most of the land in East London. It also owned a number of local mills and controlled a number of local industries including brewing, shearing, weaving, tannery and farming. Then came the Dissolution Maps Mania… more →
Posted in: Interactive Maps

Creating Bootstrap WebC Components in Eleventy

For some time now as I’ve explored web components, it’s occurred to me that web components could be a great way to make working with Bootstrap simpler. Not that Bootstrap is necessarily difficult, but I’ve always thought it would be cool to take something like so: <div class="card" style="width: 18rem;"> <div class="card-body"> <h5 class="card-title">Card title</h5> <h6 class="card-subtitle mb-2 text-body-secondary">Card subtitle</h6> <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p> </div></div> And... more →
Posted in: JavaScript

Confessions of a Web Developer XX

It’s been quite a while since I’ve gotten a few things off of my chest and since I’m always full of peeves and annoyances I thought it was time to unleash: One day you’re getting recruited by another crypto wallet vendor, the next their users are getting drained of funds. Dodged a bullet there… Apple has released its XR headset but XR as a daily experience is still decades away. I worked on Mozilla VR 10 years ago and the industry hasn’t gained an ounce of traction since then. Why?… …because the truth is that no one wants to put on a headset, looking like an idiot, for experiences. Augmented reality’s success requires the least amount... more →
Posted in: JavaScript

The Kessler Syndrome

Steve Wozniak and a host of other Silicon Valley luminaries have launched a new company called Privateer, whose mission is to track and map space debris in Earth’s orbit. In 1978 NASA scientist Donald J. Kessler published a paper which argued that if the number of satellites in Low Earth Orbit reached a certain critical level, then even a small collision could create enough debris to cause a Maps Mania… more →
Posted in: Interactive Maps

Using Goodreads Data in Eleventy

I’ve been a Goodreads user for a few years now, and much like how I use other ‘tracking’ services, I’m not there for other folks’ reading lists or recommendations, but instead, as a way to track what I’ve read. I especially like looking back over the past year and being reminded of the books I really enjoyed. Recently, myself and others were talking on Mastodon about how to work with this kind of data, other services, and so forth. Goodreads does not have an API unfortunately (it used to, but it shut it down) but they do let you export your data. I decided to take a look at this and see if (and how) it could be used in Eleventy. Here’s what I found. Edit... more →
Posted in: JavaScript
1 39 40 41 42 43 190