TRUMP: I love dictators. I want to be a dictator.
MEDIA: Are Trump's policies a cause for concern?
TRUMP: I will abolish democracy.
MEDIA: Is it unfair to portray Trump as authoritarian?
TRUMP: Read my lips: I am a fascist.
MEDIA: Hmm, only time will tell for sure.
Simple rule for javascript. If you return the same thing as the accumulator every time, don't use Array#reduce(...). Use a for loop. Simpler, more performant, more readable.
I just published a new article "Handling quota limits and server failures in Typescript" A 6 minute read at
https://medium.com/@cefn/handling-quota-limits-and-server-failures-in-typescript-e4d1f576c6ee
Handling quota limits and server failures in Typescript
A modern API or backend-for-frontend routinely secures, transforms or combines responses from other upstream HTTP services to prepare a payload for a downstream requester. Upstream resources are…
MediumThe revolution is starting
I just published an article on Medium. The story of finding and fixing a fundamental bug in Javascript's Promise.race:
https://medium.com/p/28e5c5a6032c
Fixing an unfixable memory leak in Promise.race() - Cefn Hoile - Medium
The leak appears whenever you repeatedly await the same long-lived Promise. It is unfixable using Promise primitives and the behaviour is considered correct for the Promise spec. However, it presents…
MediumYou just know Elon wouldn’t make it out of the Wonka factory.
"for a product manager, stakeholder management is all about deciding who to disappoint next" - hilarious but mostly accurate I think...
https://blog.logrocket.com/product-management/product-management-career-good-bad-ugly#disappointingothers
The good, bad, and ugly of product management - LogRocket Blog
Product management lis not all roses. Discover the rewards you stand to reap as well as the challenges associated with the PM role.
LogRocket BlogI'm updating my CV to add time-to-failure estimation. I had to allow a week or so for Elon to finalise the offer and get signoff with HR.
Where is the AI app that turns an overproduced 10 minute YouTube video answering a simple question back into text that takes 20 seconds to read?