Cursed Knowledge

The creators of the Immich photo hosting app have a page for Cursed Knowledge and the concept really resonated with me. In particular two really stood out, the JavaScript Dates indexing, and the Cloudflare workers redirect loop problem. I have without any shame ripped off that concept and intend to add to it as I go along in my journey.

2025
Fetch inside Cloudflare Workers is cursed

Fetch requests in Cloudflare Workers use http by default, even if you explicitly specify https, which can often cause redirect loops.

2023
JavaScript Date objects are cursed

JavaScript date objects are 1 indexed for years and days, but 0 indexed for months.

2019
Standard Unix tools on Macs are cursed

That the BSD version of Grep, Sed etc are not the same as the GNU versions of the same tools and important args don’t always exist. Leading to your scripts either checking for ggrep gsed etc, or checking to see if its the GNU one and failing if not or some other arcane nonsense.

2014
Cisco ASA NAT rules are cursed

The Cisco ASA firmware upgrade from 8.2 to 8.3, despite being a minor version, contains a breaking change and fundamentally changed NAT.

comments powered by Disqus