I keep track of all the blog posts I have read in 2021.
15 May 2022
- End-to-End Monitoring with Grafana Cloud with Minimal Effort
2 May 2022
Monitoring is usually at the end of a checklist when building an application, yet it’s crucial for making sure that it’s running smoothly and that any ...
6 March 2022
- The perils of the “real” client IP | adam-p
This post ended up being incredibly long comprehensive. I’m afraid that many people won’t read enough to get everything that’s important, so here are the key points: When deriving the “real client IP address” from the X-Forwarded-For header, use the rightmost IP in the list. The leftmost IP in the XFF header is commonly considered to be “closest to the client” and “most real”, but it’s trivially spoofable. Don’t use it for anything even close to security-related.
23 February 2022
- The React.ReactNode type is a black hole
16 Feb 2022
Many of us use TypeScript in our React applications to eliminate an entire class of runtime bugs. But surprisingly, one of the most commonly used types: React.ReactNode turns out to be unsafe, failing to detect objects that cannot be rendered by React. This post digs into what is going on and how to…