Investigating IndexedDB Wrapper Libraries – Part Three

Welcome to the third and final (for now) entry into my series looking at wrapper libraries for working with IndexedDB. I began this series earlier this month demonstrating a simple Contacts database implemented with IndexedDB. In the second entry, I demonstrated how the Dexie library made working with IndexedDB much simpler. Today I’m going to look at my last "planned" entry (I may revisit this again if I find more) in this series – using DPP, or Deep Persistent Proxy Objects for JavaScript. Raymond Camden… more →
Posted in: JavaScript

Where Should You Live?

MoveMap is an interactive map which can help you decide the best place to live based on your own preferences and tastes. Tell Movemap what kind of weather you prefer, what kind of environment you would prefer to live in and the amount you wish to spend on a property and Movemap will show you the best places to live in the United States which match your preferences. MoveMap uses property price Maps Mania… more →
Posted in: Interactive Maps

Adding Social Share Links in Eleventy

One common feature of content sites (including this one), is links/buttons/etc to share a piece of content on social media. Typically this is Twitter, but many sites will include ways to share links on Facebook, LinkedIn, and more. A reader asked me a few days ago about how this could be done in Eleventy and I thought I’d share a quick example. Raymond Camden… more →
Posted in: JavaScript

Mapping the Extreme Heat Belt

Last Monday the First Street Foundation released data from its analysis of how current and future extreme heat events will impact American neighborhoods. Enter your zip-code into the First Street Foundation website and you can view the risk that your home faces over the next thirty years from extreme heat (and also the risk to your home from wildfire and flooding). The First Street Foundation Maps Mania… more →
Posted in: Interactive Maps

git Force Push

Rebasing is a frequent task for anyone using git. We sometimes use rebasing to branch our code from the last changes or even just to drop commits from a branch. Oftentimes when trying to push after a rebase, you’ll see something like the following: hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. Commonly developers will use the --force or -f flags during a push to force pushing code changes: git push origin my-branch --force # or git push origin my-branch -f I was recently... more →
Posted in: JavaScript

Ukraine Under Attack

The Map of the Russian Shelling of Ukraine is a new interactive map which shows where and when Russia has bombed the people of Ukraine. The map uses different colored markers to indicate the different types of shelling attacks (rocket, air or artillery). If you click on any of the markers you can view the date of the Russian attack and click-through to read any media reports about the selected Maps Mania… more →
Posted in: Interactive Maps

Specify Node Versions with .nvmrc

I’ve heavily promoted nvm, a Node.js version manager, over the years. Having a tool to manage multiple versions of a language interpreter has been so useful, especially due to the complexity of Node.js package management. One tip I like to give new developers is adding a .nvmrc file to their repositories. The file contents is just a simple string representing the version of Node.js the project requires: v16 A project with this .nvmrc is specifying that Node.js v16 should be used. Any developer could then run nvm use to download, install, and switch to that version. A nvm install call would then install dependencies in line with that version. The post Specify Node Versions with .nvmrc... more →
Posted in: JavaScript

Hiking the Inca Trail to Machu Picchu

The 3D Inca Trail Tour is a guided tour of the four day trek from Piskacucho to Machu Picchu. This interactive tour of the incredible journey to the historic Incan citadel in the Andes makes impressive use of MapboxGL’s 3d terrain data to provide a virtual taste of some of the world’s most beautiful views.As you scroll through the tour you will follow the actual ancient path taken by the Royal Maps Mania… more →
Posted in: Interactive Maps
1 56 57 58 59 60 190