Ronald CheninBattlefyStreams are weirder than you thinkStreams are a simple concept, but they are actually really weird if think about it.2 min read·Apr 18, 2022----
Ronald CheninBattlefyHow to sneak in a XSS exploit in 4 steps or how to detect said attemptCross-site scripting (XSS) attacks are very serious. When fully exploited, it gives one full control of user account on websites. Imagine…4 min read·Apr 11, 2022----
Ronald CheninBattlefyDon’t let this one problem ruin your user’s experienceBuilding great online experiences is hard and it is due to the one critical limitation that system designers fear the most, latency.5 min read·Apr 4, 2022----
Ronald CheninBattlefy3 bad REST endpoint designsWhile REST defines useful constraints, there are still plenty of way to shoot yourself in the foot. Let’s consider an use-case and attempt…3 min read·Mar 28, 2022----
Ronald CheninBattlefyCapitalizing on consensus for the greater goodTell me if this sounds familiar. You are in agile retrospective and everybody has brought up the same pain point. The single action item is…3 min read·Mar 21, 2022----
Ronald CheninBattlefyParallel programming in Node.js is so slickNaysayers will say Node.js isn’t for serious work as its single threaded, and while it is true the JavaScript event loop is indeed single…3 min read·Mar 14, 2022--2--2
Ronald CheninBattlefyHow to handle any production outageThis is a general outline of an incident response playbook to handle and recover from a production outage. This document won’t be perfectly…7 min read·Mar 7, 2022----
Ronald CheninBattlefyPrettier is brutal, but the future of AI?Prettier is an opinionated code formatter that intentionally has few options. While prettier will never add/remove code, it will brutally…3 min read·Feb 28, 2022----
Ronald CheninBattlefyHow to think about TypeScriptTypeScript is a superset of JavaScript, if one avoids certain features. Under the hood, transpiling TypeScript to JavaScript is simply…3 min read·Feb 21, 2022--2--2
Ronald CheninBattlefyUnderstand two levels of abstraction above and below youAs software developers, we are constantly moving up and down the ladder of abstraction.2 min read·Feb 14, 2022----