GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing timotijhof.net — JavaScript – Timo Tijhof Tag: JavaScript8 posts • View all posts Lockfiles for apps, not packages (still)TL;DR: My updated take is Lockfiles for Node.js apps, not for other projects. When you run npm install, after you add or change a dependency in package.json, npm finds and selects the latest compatible version, downloads it, and replaces your package-lock.json file to describe what it found. The npm install command does not consider lockfiles… Browser adoption ratesFor two years in 2020 and 2021, I shared Wikipedia’s worldwide browser statistics on Mastodon under #browserstats. They looked a little something like this: As the data includes the browser’s major version, I wondered whether I could use this to follow the adoption rate through each browser’s release cycle. The short answer is… Yes! Here… Should I substr(), substring(), or slice()?What’s the deal with these string methods, and how are they different? Wikipedia’s JavaScript initialisation on a budgetThis week saw the conclusion of a project that I’ve been shepherding on and off since September of last year. The goal was for the initialisation of our asynchronous JavaScript pipeline (at the time, 36 kilobytes in size) to fit within a budget of 28 KB. Measuring Wikipedia page load timesThis post shows how we measure and interpret load times on Wikipedia. It also explains what real-user metrics are, and how percentiles work. QUnit anti-patternsToday, I’d like to challenge the assert.ok and assert.not* methods. I believe they may’ve become an anti-pattern. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |