RSSAmplifier

Blog

Pete Corey

Pete Corey is an independent consultant, web developer, and writer based out of Denver, Colorado. He writes weekly articles on software development and his eternal quest to build Cool Stuff™.

petecorey.comRSS feed ↗10 posts

Latest posts

AI Gems: Part 1

Let's make ABSOLUTELY sure this object has this name field.

How Many Scales Are Modes of Other Scales?

Now that we know there are 4096 possible musical scales, let's explore how many of those scales are modes of other scales.

Scales as Multipermutations of 0 and 1 into Twelve Places

The itch to write a property test for the musical scale generator we built last time led to explore how to generate all possible scales.

Generating Musical Scales

In my journey to rebuild Glorious Voice Leader in Elixir, I need a way to generate correctly spelled musical scales. Here's how I did it.

Generated TSVector Columns in Elixir

Add a generated text search column to a table in your Elixir application in four easy steps.

One-off Startup Tasks in Elixir Applications

Using tasks to perform one-off tasks on startup in an Elixir application.

Non-deterministic Test Failures

Trying to track down non-deterministic test failures in my somewhat flakey test suite, I've been relying on this bash one-liner.

This is a Dark Magic

This is a dark magic, but there is no need to limit yourself.

Decompress a Tarball in Node.js

It seems like there aren't many great, well-maintained options for decompressing zipballs and tarballs on the Node.js server. Here's what I landed on recently.

True Insert Trigger in PostgreSQL

Building a "true" insert trigger in PostgreSQL turned out to be more difficult than I expected.