Two weeks ago, we looked at how to embed a Mapbox map on a website. I figured that this time, we would look at how to mark a location on a map. We are going to look at two methods: dropping a pin on a map to show a location and drawing a shape to …Continue reading "Showing a location on a map using Mapbox"
So, you want to add a map to your website but you don’t want to (or can’t) use Google Maps? Luckily, you have a few options. The one that we are looking at today is Mapbox (which uses OpenStreetMap data). Mapbox has the benefit of a generous free tier (unlike Google Maps), and it’s pretty …Continue reading "You can add a map to your website without using google maps!"
I am sitting here in the back of a coffee shop in December 2019, thinking about what I want out of 2020. In August, I turn 40 (which is slightly frightening). I want to move my career forward in 2020. I do not particularly know how to do that but by the time you read …Continue reading "2020 Time Capsule Post"
We apparently made it to the end of 2020. It was a hell of a year. On Thursday, my 2020 “time capsule” post should be auto-posting. This year, I set a goal of posting something coding related every week. In the end, I settled on a cadence of posting something related to web development every …Continue reading "Future plans for this blog"
As I mentioned back in May, I bought a new electric car this year. As the weather began to turn cold, I noticed the effective range go down. It is generally ok, though because everything that I would really need to drive to is within 20 miles of my house. I did find myself needing …Continue reading "Living with an electric car in Wisconsin: Winter 2020 Update"
I have been wanting to work with some statistical data for a while now. Recently, I came across The COVID Tracking Project (a project of The Atlantic) and I figured that I would would look at what I could get out of the project’s APIs. The project has a lot of API endpoints but I …Continue reading "Playing with COVID-19 data"
Lazy loading is a method for optimizing a website by loading images (or iframes) on demand. If properly implemented, the browser should load the images that are at the top of the page first and wait to load the rest until the user starts to scroll down the page. This is something that is relatively …Continue reading "Three ways to load lazily"
Since the Android 11 update bricked my Pixel 3 in September, I have been in a weird place with my phone. For two months, I was using the iPhone 8. For one month, I was using the Moto G Fast. I didn’t like either phone as much as I liked my Pixel 3. I finally …Continue reading "Thoughts on the Pixel 4a 5g"
Last week, we talked about CSS sprites and a large benefit of it was that the user didn’t need to retrieve as many image files from the server. This week, we are going to look at how to not need to retrieve ANY image files from the server. The method is something called data URLs. …Continue reading "Data URLs"