How to autofill an address using mapbox

I have been poking at the Milwaukee County Trasit System (MCTS) APIs over the past few weeks.  A few years ago, I tried to write a bus app using Angular and it just didn’t work out well.  I figured that I would try it again, using what I have learned since then.  The first step …

Continue reading "How to autofill an address using mapbox"

How to calculate the sunset and sunrise times in JavaScript

Over the holidays, I created Good Morning, Milwaukee! (a Mastodon bot that posts a “Good Morning” toot every morning).  The problem is that it hasn’t been behaving correctly since shortly after I finished it.  I want to simplify it a bit, so I can make it a little less fragile.  The first component of the …

Continue reading "How to calculate the sunset and sunrise times in JavaScript"

I might have been spending a lot of time on Mastodon

In my previous post, I talked about how after Elon Musk’s purchase of Twitter, I was giving more attention to Mastodon.  Since then, I killed my twitter account, launched my own Mastodon instance, launched three new Mastodon bots (including a new one that goes live this morning), and converted Joe Travels to only post to …

Continue reading "I might have been spending a lot of time on Mastodon"

How to center all of the things in all the other things without CSS Grid or Flexbox

In this week’s blog post, I want to cover how to center divs inside of other divs horitontally, vertically, and both horizontally and vertically.  You can do this with CSS Grid or Flexbox but I want to go over how to do it with standard CSS.

Continue reading "How to center all of the things in all the other things without CSS Grid or Flexbox"

Learning Laravel: Protected Routes and Authentication

Previously in this series, we have looked at how to install laravel, how laravel works, and how to deploy a laravel app.  In today’s post, we are going to look at how you would protect a route so that the user would need to login in order to view a webpage.

Continue reading "Learning Laravel: Protected Routes and Authentication"

What are koans and how can they help level up your dev game?

A koan is a story, dialogue, question, or statement which is used in Zen practice to provoke the “great doubt” and to practice or test a student’s progress in Zen.  In the Zen school of Rinzai, the use of koans (often a paradoxical statement) is used to initiate the internal socratic method in the students, …

Continue reading "What are koans and how can they help level up your dev game?"