photo of the author

1173 days ago

If you read About time, you’ll know that I’m a big believer in spending time now on building things that save time in the future. To this end I built a simple Twitter bot in Go that would occasionally post links to my articles and keep my account interesting even when I’m too busy …

#aws #go

photo of the author

1227 days ago

I started blogging about my nomadic travels last year, and so far the habit has stuck. Like all side projects, I won’t typically invest heavily in setting up web properties before I can be reasonably certain that such an investment is worth my time or enjoyment. In other words: don’t buy …

#aws #websites

photo of the author

1230 days ago

Full transparency: I occasionally waste time messing around on Twitter. (Gasp! Shock!) One of the ways I waste time messing around on Twitter is by writing my name in my profile with different Unicode character “fonts,” 𝖑𝖎𝖐𝖊 𝖙𝖍𝖎𝖘 𝖔𝖓𝖊. I previously did this by searching for different …

#algorithms #javascript

photo of the author

1254 days ago

Some time ago I decided to stop freeloading on GitHub pages and move one of my sites to Amazon Web Services (AWS). It turns out that I’m still mostly freeloading (yay free tier) so it amounted to a learning experience. Here are the components that let me host and serve the site at my custom …

#aws #websites

photo of the author

1275 days ago

This morning I read an article that’s been making the rounds lately: Modern Media Is a DoS Attack on Your Free Will.

It’s made me think, which I must admit, I at first didn’t like. See, when I wake up in the morning (and subsequently wake up my computer) the first thing I do is go …


photo of the author

1277 days ago

The most recent item on my list of “Geeky things I did that made me feel pretty awesome” is an hour’s adventure that culminated in this code:

$ file IMG* | awk 'BEGIN{a=0} {print substr($1, 1, length($1)-5),a++"_"substr($8,1, length($8)-1)}' | while read fn fr; do …

#terminal #linux #ci/cd

photo of the author

1350 days ago

What if I told you that by the end of this article, you’ll be able to calculate the orbital period of satellites around Earth using their average altitudes and… You tuned out already, didn’t you?

Okay, how about this: I’m going to teach you how to make paella!

And …

#algorithms #coding #javascript

photo of the author

1454 days ago

Say you’re having a little coding get-together, and you need some sandwiches. You happen to know that everyone prefers a different type of sandwich, like chicken, ham, or peanut butter and mayo. You could make all these sandwiches yourself, but that would be tedious and boring.

Luckily, you …

#javascript #coding

photo of the author

1464 days ago

I was having trouble understanding reduce() and recursion in JavaScript, so I wrote this article to explain it to myself (hey, look, recursion!). I hope you find my examples both helpful and delicious.

Given an array with nested arrays:

var arr = [1, [2], [3, [[4]]]]

We want to produce this:

var …

#javascript #coding

photo of the author

1466 days ago

Here’s some complaining a quick overview of some code that has confounded me more than once. I’m told even very experienced developers encounter these situations regularly, so if you find yourself on your third cup of coffee scratching your head over why your code is doing exactly what …

#coding #computing #javascript