Category /

Code

Found 15 articles

Foreign Keys: Stop Asking If They're Fast

Ask what you're actually optimizing for.

Foreign Keys: Stop Asking If They're Fast
created about 1 month ago
updated 26 days ago

Stop Leaking Memory with WeakMap

Fixing weak code with weak references!

Stop Leaking Memory with WeakMap
created about 1 month ago
updated 24 days ago

Your Timestamp is a Lie

What a train ticket taught me about storing time in databases

Your Timestamp is a Lie
created about 1 month ago
updated 24 days ago

JSONB: The Best Way to Ruin Your Database

How your 'temporary' schema-less column became permanent technical debt.

JSONB: The Best Way to Ruin Your Database
created about 1 month ago
updated about 1 month ago

Async Stack Traces: Why `Error.stack` Lies to You

The microtask queue ate my homework (and my debugging context).

Async Stack Traces: Why `Error.stack` Lies to You
created about 1 month ago
updated about 1 month ago

Beware the Single-Purpose People

So pure it hurts

Beware the Single-Purpose People
created 10 months ago
updated 10 months ago

Using Environment Variables in NodeJS

Using `dotenv`

Using Environment Variables in NodeJS
created about 7 years ago
updated over 5 years ago

Broken Promises?

Dropping errors, losing results...

Broken Promises?
created over 7 years ago
updated about 1 year ago

Promise Gotchas

Avoiding common mistakes

Promise Gotchas
created over 7 years ago
updated over 1 year ago

Intro to Promises

JavaScript Promises Are Fun!

Intro to Promises
created over 7 years ago
updated over 1 year ago

Pitfalls in Promise Docs

Avoiding issues from popular docs

Pitfalls in Promise Docs
created over 8 years ago
updated over 1 year ago

Higher Order Programming

Exploring Array- and Set-based Pipeline Techniques

Higher Order Programming
created over 10 years ago
updated over 1 year ago

JavaScript Magic

[draft] Imperative vs. Recursive vs. Functional

JavaScript Magic
created over 10 years ago
updated over 1 year ago

AngularJS Tricks

AngularJS CAN BE Fun!

AngularJS Tricks
created almost 11 years ago
updated about 10 years ago

Winning Design Resources

Solutions to Common UI Challenges

Winning Design Resources
created almost 11 years ago
updated 5 months ago