New things in ECMAScript 2021: String.prototype.replaceAll()

This is going to be a pretty quick post (mainly because I am on vacation, next week).  I was skimming through what is new in ECMAScript 2021 and spotted replaceAll().  It is already supported in everything except for Internet Explorer.  Let’s take a look at a quick example. See the Pen String.prototype.replaceAll() Example by Joe …

Continue reading "New things in ECMAScript 2021: String.prototype.replaceAll()"

My prefered tools for coding (2021 Update)

Last year, I wrote the post “My preferred tools for coding” and I figured that this was a good time to update that list.  A lot of this stuff is also listed on the resources page of my main website.

Continue reading "My prefered tools for coding (2021 Update)"

How to sort a list of locations by how close they are to you

One of the things that are most important to me for phase 1 of the state parks app is to have the list of parks be sorted by how far the user is from the park.  After all, Tower Hill State Park might be interesting but if you live 4 hours away, you aren’t likely …

Continue reading "How to sort a list of locations by how close they are to you"

State Parks App: Hosting and Code Management

Previously, we have looked at the plan for the State Parks app and how I used a Google Sheets document as the back-end for the thing.  The next step is to set up a new git repo and hosting.  In an earlier day, I might be spinning up a DigitalOcean or Google Cloud VM but …

Continue reading "State Parks App: Hosting and Code Management"