Your setInterval countdown is lying to you in background tabsWhy hidden-tab timer throttling breaks tick-counting countdowns, and the deadline-based fix3 min read·nomadwozo.hashnode.devNov 7
Hourly to Annual Salary: Why 2,080 Hours Isn't Always Right2,080 vs. OPM's 2,087, paid vs. unpaid time off, real weekly hours, overtime and 27-paycheck years7 min read·nomadwozo.hashnode.devNov 7
Why counting business days is harder than it looks"Delivery in 10 business days." Sounds simple, right up until two people land on two different dates. Here are the traps I keep running into, plus a small JavaScript algorithm that doesn't drift by a4 min read·nomadwozo.hashnode.devNov 6
Why 6% isn't 6%: APY vs. nominal rate in JavaScript (and the double-compounding bug)I build small finance calculators that run entirely in the browser. The sneakiest bug in this kind of code isn't floating point. It's feeding the wrong kind of rate into the formula. Here's the short4 min read·nomadwozo.hashnode.devOct 23