I was reflecting recently on habits and practices I have that go against the common wisdom of the...
Race conditions suck! They can be extremely difficult to debug, and often only occur naturally in...
Have you ever felt that code reviews can feel adversarial, like a contest of egos? The reviewer...
I'm usually not this full of hatred, I promise, but lately I've realized that I really hate...
Meet my bot Kiryu. His specialty is downloading JavaScript code from a Discord channel and executing...
What should a database store? There are two broad ways of thinking about it: A database should...
Most examples of using fetch() are missing something very important. Here it is: if (!response.ok)...
What sucks about this code? const success = myCache.mset([ {key: "myKey", val: obj, ttl:...
Lately I keep hearing about Bun, a new JavaScript runtime meant to compete with Node.js and Deno....
In JavaScript, it's common to see code like this: const color = options.color || 'red'; ...
One of the trickiest things about automated testing is dealing with I/O. Automated tests that call...
I've seen custom JavaScript code to parse CSV data a number of times. It looks something like...
Recently more and more people have been discovering the power of personal Discord servers. You can...
Have you ever needed to make a change that breaks a huge amount of code spread across your entire...
So you want to send an HTTP request every delay number of milliseconds. Easy: setInterval( ()...
What do these three lines of code have in common? const len = str.length; Enter fullscreen...
Knowing SQL frequently makes me feel like a superhero. And I wouldn't even say I'm an expert at it....
I have seen Toptal mentioned more and more recently, and since I worked through Toptal for almost two...
Here's a funny (and really unimportant) thing I discovered about Node.js today. First, for anyone...
Or at least, cross-repo inheritance. I've worked at a couple of places now where GitLab CI templates...
Interviewing is hard, and software engineers have it especially bad. In what other profession is your...
Have you ever wished that TypeScript were a bit more, you know, type-safe? Have you ever had a...
Being a JavaScript developer can be an exciting job. Almost every day you will find something...