Published inBattlefyStreams are weirder than you thinkStreams are a simple concept, but they are actually really weird if think about it.Apr 18, 2022Apr 18, 2022
Published inBattlefyHow 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…Apr 11, 2022Apr 11, 2022
Published inBattlefyDon’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.Apr 4, 2022Apr 4, 2022
Published inBattlefy3 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…Mar 28, 2022Mar 28, 2022
Published inBattlefyCapitalizing 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…Mar 21, 2022Mar 21, 2022
Published inBattlefyParallel 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…Mar 14, 20222Mar 14, 20222
Published inBattlefyHow 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…Mar 7, 2022Mar 7, 2022
Published inBattlefyPrettier 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…Feb 28, 2022Feb 28, 2022
Published inBattlefyHow to think about TypeScriptTypeScript is a superset of JavaScript, if one avoids certain features. Under the hood, transpiling TypeScript to JavaScript is simply…Feb 21, 20222Feb 21, 20222
Published inBattlefyUnderstand two levels of abstraction above and below youAs software developers, we are constantly moving up and down the ladder of abstraction.Feb 14, 2022Feb 14, 2022