Category /

Code

Found 13 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 4 months ago
updated 4 months ago

Stop Leaking Memory with WeakMap

Fixing weak code with weak references!

Stop Leaking Memory with WeakMap
created 4 months ago
updated 3 months ago

Your Timestamp is a Lie

What a train ticket taught me about storing time in databases

Your Timestamp is a Lie
created 4 months ago
updated 3 months ago

JSONB: The Best Way to Ruin Your Database

JSONB is powerful, useful, and very easy to misuse when you let a blob become your real schema.

JSONB: The Best Way to Ruin Your Database
created 4 months ago
updated 4 months 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 4 months ago
updated 4 months ago

Beware the Single-Purpose People

So pure it hurts

Beware the Single-Purpose People
created about 1 year ago
updated about 1 year ago

Using Environment Variables in NodeJS

Using dotenv

Using Environment Variables in NodeJS
created over 7 years ago
updated over 5 years 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 almost 9 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

AngularJS Tricks

AngularJS CAN BE Fun!

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

Winning Design Resources

Solutions to Common UI Challenges

Winning Design Resources
created about 11 years ago
updated 8 months ago