![photo of the author](/img/victoria_headshot.jpg)
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 …
![photo of the author](/img/victoria_headshot.jpg)
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 …
![photo of the author](/img/victoria_headshot.jpg)
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 …
![photo of the author](/img/victoria_headshot.jpg)
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 …
![photo of the author](/img/victoria_headshot.jpg)
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](/img/victoria_headshot.jpg)
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 …
![photo of the author](/img/victoria_headshot.jpg)
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 …
![photo of the author](/img/victoria_headshot.jpg)
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 …
![photo of the author](/img/victoria_headshot.jpg)
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 …
![photo of the author](/img/victoria_headshot.jpg)
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 …