software engineering, open source projects, startups, product design, strategy, web performance, security, and moreI'm a seasoned software engineer and product strategist with entrepreneurial drive. Since 2014, I've built successful products from scratch, led engineering teams, and shared my technical insights through writing since 2017.https://www.trevorlasn.comWeb Performance API: Measure What Mattershttps://www.trevorlasn.com/blog/performance-web-api-in-javascripthttps://www.trevorlasn.com/blog/performance-web-api-in-javascriptFrom slow to fast: Using JavaScript's Performance API to optimize web appsFri, 29 Nov 2024 00:00:00 GMTHTTP CONNECT: Building Secure Tunnels Through Proxieshttps://www.trevorlasn.com/blog/http-connecthttps://www.trevorlasn.com/blog/http-connectUnderstand how HTTP CONNECT enables HTTPS traffic through proxiesThu, 28 Nov 2024 00:00:00 GMTPreloading Responsive Imageshttps://www.trevorlasn.com/blog/preloading-responsive-imageshttps://www.trevorlasn.com/blog/preloading-responsive-imagesHow to properly preload responsive images to improve initial page loadThu, 28 Nov 2024 00:00:00 GMTYou Don't Own Your Social Media Accountshttps://www.trevorlasn.com/blog/you-dont-own-your-social-media-accountshttps://www.trevorlasn.com/blog/you-dont-own-your-social-media-accountsSocial platforms promise exposure but quietly hold your audience hostageThu, 28 Nov 2024 00:00:00 GMTWorking with JavaScript's Scheduler APIhttps://www.trevorlasn.com/blog/javascript-scheduler-apihttps://www.trevorlasn.com/blog/javascript-scheduler-apiLearn how to prioritize and control task execution in JavaScript using the new Scheduler API for better performance and user experienceTue, 26 Nov 2024 00:00:00 GMTWebAssembly (Wasm): When (and When Not) to Use Ithttps://www.trevorlasn.com/blog/webassembly-when-and-when-not-to-use-ithttps://www.trevorlasn.com/blog/webassembly-when-and-when-not-to-use-itUnderstanding the real use cases for WebAssembly beyond the performance hypeMon, 25 Nov 2024 00:00:00 GMTSentry's LLM Integration Makes Error Debugging Actually Smarthttps://www.trevorlasn.com/blog/sentry-llm-auto-fix-errorshttps://www.trevorlasn.com/blog/sentry-llm-auto-fix-errorsHow Sentry.io is using Large Language Models to transform error debugging from mindless stack trace reading to intelligent problem-solvingSun, 24 Nov 2024 00:00:00 GMTThe Fight to Free JavaScript from Oracle's Controlhttps://www.trevorlasn.com/blog/oracle-javascript-trademark-sagahttps://www.trevorlasn.com/blog/oracle-javascript-trademark-sagaThe creator of JavaScript and Node.js are challenging Oracle's control over the JavaScript nameSat, 23 Nov 2024 00:00:00 GMTRecursion Explained In Simple Termshttps://www.trevorlasn.com/blog/recursion-explainedhttps://www.trevorlasn.com/blog/recursion-explainedUnderstanding recursion through real examples - why functions call themselves and when to use themFri, 22 Nov 2024 00:00:00 GMTNode.js Corepack: Version Control for Package Managershttps://www.trevorlasn.com/blog/corepack-nodejshttps://www.trevorlasn.com/blog/corepack-nodejsManage yarn and pnpm versions consistently across your teamTue, 19 Nov 2024 00:00:00 GMTCan OSSPledge Fix Open Source Sustainability?https://www.trevorlasn.com/blog/can-open-source-pledge-fix-open-source-sustainabilityhttps://www.trevorlasn.com/blog/can-open-source-pledge-fix-open-source-sustainabilityThe Open Source Pledge aims to address open source sustainability challenges by encouraging companies to pay $2,000 per developer per yearSun, 17 Nov 2024 00:00:00 GMTJavaScript Sets and Maps: Beyond Arrays and Objectshttps://www.trevorlasn.com/blog/sets-and-maps-in-javascripthttps://www.trevorlasn.com/blog/sets-and-maps-in-javascriptHow to handle unique values and key-value pairs properly without type coercion and performance issuesSun, 17 Nov 2024 00:00:00 GMTPrecise Decimal Math in JavaScript with Fraction.jshttps://www.trevorlasn.com/blog/fraction-numbers-in-javascripthttps://www.trevorlasn.com/blog/fraction-numbers-in-javascriptHow to handle exact decimal calculations in JavaScript when floating-point precision isn't good enoughSat, 16 Nov 2024 00:00:00 GMTExploring JavaScript Symbolshttps://www.trevorlasn.com/blog/symbols-in-javascripthttps://www.trevorlasn.com/blog/symbols-in-javascriptDeep dive into JavaScript Symbols - what they are, why they matter, and how to use them effectivelyFri, 15 Nov 2024 13:45:00 GMTGhost Jobs Should Be Illegalhttps://www.trevorlasn.com/blog/ghost-jobs-should-be-illegalhttps://www.trevorlasn.com/blog/ghost-jobs-should-be-illegalHow fake job postings became a systemic problem in tech recruitingFri, 15 Nov 2024 00:00:00 GMTCan Scrum Be Salvaged?https://www.trevorlasn.com/blog/can-scrum-be-salvagedhttps://www.trevorlasn.com/blog/can-scrum-be-salvagedScrum is failing engineering teams and what it's actually costing usThu, 14 Nov 2024 00:00:00 GMTUnderstanding Bitwise Shifts in JavaScript: << and >>https://www.trevorlasn.com/blog/bitwise-shifts-in-javascripthttps://www.trevorlasn.com/blog/bitwise-shifts-in-javascriptA practical guide to left and right shift operators in JavaScriptTue, 12 Nov 2024 00:00:00 GMTJavaScript Import Attributes (ES2025)https://www.trevorlasn.com/blog/import-attributes-in-javascripthttps://www.trevorlasn.com/blog/import-attributes-in-javascriptUnderstanding the new import attributes syntax and why we can't rely on file extensions aloneSun, 10 Nov 2024 00:00:00 GMTPromise.try: Unified Error Handling for Sync and Async JavaScript Code (ES2025)https://www.trevorlasn.com/blog/promise-try-in-javascripthttps://www.trevorlasn.com/blog/promise-try-in-javascriptStop mixing try/catch with Promise chains - JavaScript's new Promise.try handles return values, Promises, and errors uniformlySun, 10 Nov 2024 00:00:00 GMTWhy I moved from Google Analytics to Simple Analyticshttps://www.trevorlasn.com/blog/simple-analyticshttps://www.trevorlasn.com/blog/simple-analyticsHow I ditched Google Analytics bloat for a privacy-focused analytics tool that bypasses ad blockersSat, 09 Nov 2024 00:00:00 GMTJavaScript's &&= Operator: Understanding Logical AND Assignmenthttps://www.trevorlasn.com/blog/javascript-logical-and-assignment-operatorhttps://www.trevorlasn.com/blog/javascript-logical-and-assignment-operatorUse the &&= operator to safely update truthy values while preserving falsy statesTue, 05 Nov 2024 00:00:00 GMTJavaScript's ??= Operator: Default Values Made Simplehttps://www.trevorlasn.com/blog/javascript-nullish-coalescing-assignment-operatorhttps://www.trevorlasn.com/blog/javascript-nullish-coalescing-assignment-operatorA guide to using ??= in JavaScript to handle null and undefined values elegantlyTue, 05 Nov 2024 00:00:00 GMTWhen Will We Have Our First AI CEO?https://www.trevorlasn.com/blog/ai-ceohttps://www.trevorlasn.com/blog/ai-ceoWelcome to the future of corporate leadership. It's efficient, profitable, and utterly inhumanMon, 04 Nov 2024 00:00:00 GMTThe Monday Morning Test to Measure Engineering Team Healthhttps://www.trevorlasn.com/blog/the-monday-morning-testhttps://www.trevorlasn.com/blog/the-monday-morning-testWhy the first day back can reveal everything about your engineering team's healthMon, 04 Nov 2024 00:00:00 GMTPkl: Apple's New Configuration Language That Could Replace JSON and YAMLhttps://www.trevorlasn.com/blog/pkl-apple-new-configuration-languagehttps://www.trevorlasn.com/blog/pkl-apple-new-configuration-languageA deep dive into Pkl, Apple's configuration language that aims to replace JSON and YAMLFri, 01 Nov 2024 00:00:00 GMTNo, Quantum Computers Won't Break All Encryptionhttps://www.trevorlasn.com/blog/quantum-computers-wont-break-encryptionhttps://www.trevorlasn.com/blog/quantum-computers-wont-break-encryptionSymmetric encryption algorithms like Advanced Encryption Standard (AES) are largely quantum-resistant alreadyThu, 31 Oct 2024 00:00:00 GMTIntroducing the Legendary Programmer Hall of Famehttps://www.trevorlasn.com/blog/introducing-legendary-programmer-hall-of-famehttps://www.trevorlasn.com/blog/introducing-legendary-programmer-hall-of-fameMeet the innovators who laid the foundation for modern computing. Their contributions span decades, creating the tools and concepts developers use every day.Tue, 29 Oct 2024 00:00:00 GMTWhat is the JavaScript Pipeline Operator |>https://www.trevorlasn.com/blog/javascript-pipeline-operatorhttps://www.trevorlasn.com/blog/javascript-pipeline-operatorA deep dive into how pipeline operators can make your code more readable and maintainableTue, 29 Oct 2024 00:00:00 GMTStop Using localStorage for Sensitive Data: Here's Why and What to Use Insteadhttps://www.trevorlasn.com/blog/the-problem-with-local-storagehttps://www.trevorlasn.com/blog/the-problem-with-local-storageUnderstanding the security risks of localStorage and what to use instead for tokens, secrets, and sensitive user dataMon, 28 Oct 2024 00:00:00 GMTJavaScript Truthy and Falsy: A Deep Divehttps://www.trevorlasn.com/blog/javascript-truthy-and-falsyhttps://www.trevorlasn.com/blog/javascript-truthy-and-falsyGrasp JavaScript's type coercion with practical examples and avoid common pitfallsSun, 27 Oct 2024 00:00:00 GMTJavaScript Operators: '||' vs '&&' vs '??'https://www.trevorlasn.com/blog/javascript-logical-operatorshttps://www.trevorlasn.com/blog/javascript-logical-operatorsMaster JavaScript logical operators with practical examples and best practicesSat, 26 Oct 2024 00:00:00 GMTInside the CSS Engine: CSSOM Explainedhttps://www.trevorlasn.com/blog/css-object-model-cssomhttps://www.trevorlasn.com/blog/css-object-model-cssomA deep dive into how browsers parse and manipulate CSS, its impact on web performance, and why it mattersFri, 25 Oct 2024 00:00:00 GMTWhy Browsers Block CSS File Modificationshttps://www.trevorlasn.com/blog/why-browsers-block-css-file-modificationshttps://www.trevorlasn.com/blog/why-browsers-block-css-file-modificationsUnderstanding CSS Object Model (CSSOM), browser security and practical alternatives for dynamic stylingFri, 25 Oct 2024 00:00:00 GMTHow to Land Your First Tech Jobhttps://www.trevorlasn.com/blog/how-to-land-your-first-tech-jobhttps://www.trevorlasn.com/blog/how-to-land-your-first-tech-jobA developer's guide to tech interviews - from someone who sits on both sides of the tableThu, 24 Oct 2024 00:00:00 GMTWhy Anthropic (Claude AI) Uses 'Member of Technical Staff' for All Engineers (Including Co-founders)https://www.trevorlasn.com/blog/anthropic-anti-talent-poaching-tacticshttps://www.trevorlasn.com/blog/anthropic-anti-talent-poaching-tacticsInside Anthropic's unique approach to preventing talent poaching and maintaining organizational equalityWed, 23 Oct 2024 00:00:00 GMTOffload Your Third Party Scripts With Cloudflare Zarazhttps://www.trevorlasn.com/blog/cloudflare-zarazhttps://www.trevorlasn.com/blog/cloudflare-zarazHow I used Cloudflare Zaraz to offload third party scripts and improve my website performance.Wed, 23 Oct 2024 00:00:00 GMTSecretLint — A Linter for Preventing Committing Credentialshttps://www.trevorlasn.com/blog/secret-linthttps://www.trevorlasn.com/blog/secret-lintA guide to catching and preventing credential leaks in your code using SecretlintTue, 22 Oct 2024 00:00:00 GMTRepopack: Pack Your Entire Repository Into A Single Filehttps://www.trevorlasn.com/blog/repopackhttps://www.trevorlasn.com/blog/repopackA tool that packages your code to easily share with LLM models.Mon, 21 Oct 2024 00:00:00 GMTSoftware Engineer Titles Have (Almost) Lost All Their Meaninghttps://www.trevorlasn.com/blog/software-engineer-titles-have-almost-lost-all-their-meaninghttps://www.trevorlasn.com/blog/software-engineer-titles-have-almost-lost-all-their-meaningExamining the Devaluation of Software Engineer Titles and Its Impact on Tech Industry IntegritySun, 20 Oct 2024 00:00:00 GMTOptimize Your Astro Site's <head> with astro-capohttps://www.trevorlasn.com/blog/astro-capohttps://www.trevorlasn.com/blog/astro-capoLearn how to automatically improve your Astro site's performance using astro-capoSat, 19 Oct 2024 00:00:00 GMTHow To Implement Content Security Policy (CSP) Headers For Astrohttps://www.trevorlasn.com/blog/csp-headers-astrohttps://www.trevorlasn.com/blog/csp-headers-astroContent Security Policy (CSP) acts like a shield against XSS attacks. These attacks are sneaky - they trick your browser into running malicious code by hiding it in content that seems trustworthy. CSP's job is to spot these tricks and shut them down, while also alerting you to any attempts it detects.Wed, 16 Oct 2024 00:00:00 GMTVoidZero: Threat or Catalyst for Open Source JavaScript Tooling?https://www.trevorlasn.com/blog/is-void-zero-a-threat-to-open-sourcehttps://www.trevorlasn.com/blog/is-void-zero-a-threat-to-open-sourceWhen Evan You announced VoidZero, I'll admit - I got excited. And a little nervous.Tue, 15 Oct 2024 00:00:00 GMTOpen Dyslexic Font: Improving Web Accessibilityhttps://www.trevorlasn.com/blog/open-dyslexic-fonthttps://www.trevorlasn.com/blog/open-dyslexic-fontHow to implement the Open-Dyslexic font to enhance readability for users with dyslexiaSat, 12 Oct 2024 00:00:00 GMTSmall Habits, Big Impacthttps://www.trevorlasn.com/blog/small-habits-big-impacthttps://www.trevorlasn.com/blog/small-habits-big-impactWe're often focused on big innovations and breakthrough moments. But what if the real key to long-term success lies in the small, everyday actions we often overlook?Sat, 12 Oct 2024 00:00:00 GMTIs Age Really a Factor in Tech?https://www.trevorlasn.com/blog/ageism-in-techhttps://www.trevorlasn.com/blog/ageism-in-techSilicon Valley has a reputation for youth worship. The 'move fast and break things' mentality often translates to a preference for younger, supposedly more adaptable workers.Tue, 08 Oct 2024 00:00:00 GMTHow to Launch Software Projects On Time and On Budgethttps://www.trevorlasn.com/blog/how-to-launch-software-projects-on-time-and-on-budgethttps://www.trevorlasn.com/blog/how-to-launch-software-projects-on-time-and-on-budgetLearn the art of scope management to keep your projects fixed in time and costMon, 07 Oct 2024 00:00:00 GMTThe Credit Vacuumhttps://www.trevorlasn.com/blog/the-credit-vacuumhttps://www.trevorlasn.com/blog/the-credit-vacuumBeing a developer sometimes feels like being the goalkeeper in a soccer match. You make a hundred great saves, and no one bats an eye. But let one ball slip through, and suddenly you're the village idiot.Mon, 07 Oct 2024 00:00:00 GMTA Company Is Not a Family. It's a Sports Teamhttps://www.trevorlasn.com/blog/a-company-is-not-a-family-its-a-sports-teamhttps://www.trevorlasn.com/blog/a-company-is-not-a-family-its-a-sports-team'We're not just a company, we're a family!' It's a nice sentiment, sure. But it's also a load of crap.Sat, 05 Oct 2024 00:00:00 GMTBuild Your Armyhttps://www.trevorlasn.com/blog/build-your-armyhttps://www.trevorlasn.com/blog/build-your-armyIf you want to do great things, you'll need people with skills that complement yours. You can't do everything yourself. You need a team. You need an army. You need to build your army. Fri, 04 Oct 2024 00:00:00 GMTCloudflare Study: 39% of Companies Losing Control of Their IT and Security Environmenthttps://www.trevorlasn.com/blog/39-percent-companies-losing-control-of-it-and-securityhttps://www.trevorlasn.com/blog/39-percent-companies-losing-control-of-it-and-securityNew research reveals a shocking loss of control in corporate IT environmentsThu, 03 Oct 2024 00:00:00 GMTWhen Tasked with a Problem, Start with the Bigger Picturehttps://www.trevorlasn.com/blog/start-with-the-bigger-picturehttps://www.trevorlasn.com/blog/start-with-the-bigger-pictureWhen faced with a challenge, I always step back to see the whole picture first. It's like pausing a complex strategy game to study the map. You might lose a few seconds of play time, but you gain a crucial understanding of the battlefield.Thu, 03 Oct 2024 00:00:00 GMTBarnacle Strategy for Startupshttps://www.trevorlasn.com/blog/the-barnacle-strategyhttps://www.trevorlasn.com/blog/the-barnacle-strategyAs a founder, you're always on the lookout for smart ways to grow your startup without burning through your limited resources. That's where the barnacle strategy comes in.Thu, 03 Oct 2024 00:00:00 GMTMicro Frontends: The LEGO Approach to Web Developmenthttps://www.trevorlasn.com/blog/micro-frontends-what-they-are-and-when-to-usehttps://www.trevorlasn.com/blog/micro-frontends-what-they-are-and-when-to-useExplore the concept of micro frontends in web development, understand their benefits, and learn when this architectural approach is most effective for building scalable applications.Wed, 02 Oct 2024 00:00:00 GMTGoogle's Journey: From Search Engine to Tech Gianthttps://www.trevorlasn.com/blog/google-journey-from-search-engine-to-tech-gianthttps://www.trevorlasn.com/blog/google-journey-from-search-engine-to-tech-giantExploring the key innovations and strategies that transformed Google into a global technology leaderTue, 01 Oct 2024 00:00:00 GMTAmazon's Rise to Tech Titan: A Story of Relentless Innovationhttps://www.trevorlasn.com/blog/amazon-rise-to-tech-titanhttps://www.trevorlasn.com/blog/amazon-rise-to-tech-titanHow Jeff Bezos' 'Day 1' philosophy turned an online bookstore into a global powerhouseMon, 30 Sep 2024 00:00:00 GMTApple's Secret Sauce: The Untold Stories Behind Its Successhttps://www.trevorlasn.com/blog/what-made-apple-greathttps://www.trevorlasn.com/blog/what-made-apple-greatDiving deep into the lesser-known factors that propelled Apple from a garage startup to a tech titanMon, 30 Sep 2024 00:00:00 GMTWhat's the Number One Thing Holding Most People Back from Reaching Their Full Potential?https://www.trevorlasn.com/blog/whats-holding-you-backhttps://www.trevorlasn.com/blog/whats-holding-you-backDiscover the biggest obstacle to success in tech and learn how to overcome itSun, 29 Sep 2024 00:00:00 GMTSelf-Taught Developer's Guide to Thriving in Techhttps://www.trevorlasn.com/blog/being-a-self-taught-developerhttps://www.trevorlasn.com/blog/being-a-self-taught-developerHow to turn your non-traditional background into your biggest assetSat, 28 Sep 2024 00:00:00 GMTMake It Work First Before Optimizinghttps://www.trevorlasn.com/blog/make-it-work-first-before-you-optimizehttps://www.trevorlasn.com/blog/make-it-work-first-before-you-optimizeUsers don't care how elegant your code is. They care if it solves their problem.Fri, 27 Sep 2024 00:00:00 GMTMinimum Viable Documentationhttps://www.trevorlasn.com/blog/minimum-viable-documentationhttps://www.trevorlasn.com/blog/minimum-viable-documentationHow to create essential documentation that actually gets read and used.Thu, 26 Sep 2024 21:00:00 GMTYou Can Choose to Be Someone Who's Competent in Many Things, or Unbelievably Good at One Thinghttps://www.trevorlasn.com/blog/specialist-vs-generalist-choosing-your-career-pathhttps://www.trevorlasn.com/blog/specialist-vs-generalist-choosing-your-career-pathShould you diversify your skills or specialize?Thu, 26 Sep 2024 00:00:00 GMTWrite Documentation Like a Journalisthttps://www.trevorlasn.com/blog/write-documentation-like-a-journalisthttps://www.trevorlasn.com/blog/write-documentation-like-a-journalistCreate comprehensive, engaging documentation by adopting journalistic techniques for research and storytellingThu, 26 Sep 2024 00:00:00 GMTCloudflare's AI Content Control: Savior or Threat to the Open Web?https://www.trevorlasn.com/blog/cloudflare-ai-content-controlhttps://www.trevorlasn.com/blog/cloudflare-ai-content-controlHow Cloudflare's new AI management tools could revolutionize content creation, potentially reshaping the internet landscape for both website owners and AI companies.Tue, 24 Sep 2024 00:00:00 GMTConway's Law: The Hidden Force Shaping Your Software Architecturehttps://www.trevorlasn.com/blog/conways-lawhttps://www.trevorlasn.com/blog/conways-lawIf you've ever wondered why your carefully planned software architecture ends up looking suspiciously like your org chart, you're not alone. Welcome to the world of Conway's Law.Tue, 24 Sep 2024 00:00:00 GMTInternal Mobilityhttps://www.trevorlasn.com/blog/internal-mobilityhttps://www.trevorlasn.com/blog/internal-mobilityJust like a utility player on a sports team discovering their ideal position, internal mobility allows you to explore different areas of engineering and find your true passion.Mon, 23 Sep 2024 00:00:00 GMTOutdated Docs Are Tech Debthttps://www.trevorlasn.com/blog/outdated-docs-are-tech-debthttps://www.trevorlasn.com/blog/outdated-docs-are-tech-debtTeams often neglect to create good documentation. Code gets delivered, but updating the docs is treated as a secondary task, easily postponed—until it’s too late.Sun, 22 Sep 2024 00:00:00 GMTAttracting Top Engineering Talent to Your Startuphttps://www.trevorlasn.com/blog/attracting-top-engineering-talenthttps://www.trevorlasn.com/blog/attracting-top-engineering-talentAdvice on competing for great software engineers without name recognitionSat, 21 Sep 2024 00:00:00 GMTWeeks of Coding Can Save You Hours of Planninghttps://www.trevorlasn.com/blog/week-of-coding-can-save-you-hours-of-planninghttps://www.trevorlasn.com/blog/week-of-coding-can-save-you-hours-of-planningWeeks of coding can save you hours of planning. It’s one of those sayings that’s been around forever, and for good reason—it’s a warning that still holds up today.Sat, 21 Sep 2024 00:00:00 GMTIt's More Fun to Be Competenthttps://www.trevorlasn.com/blog/its-more-fun-to-be-competenthttps://www.trevorlasn.com/blog/its-more-fun-to-be-competentOnce you're competent, everything changes. You stop second-guessing yourself. You stop panicking every time you encounter a new problem. And you start taking on bigger challenges with excitement rather than dread.Fri, 20 Sep 2024 00:00:00 GMTCode Wins Argumentshttps://www.trevorlasn.com/blog/code-wins-argumentshttps://www.trevorlasn.com/blog/code-wins-argumentsHow Meta and other companies use the 'code wins arguments' mindset to turn ideas into realityThu, 19 Sep 2024 00:00:00 GMTTake Your Writing Seriouslyhttps://www.trevorlasn.com/blog/take-your-writing-seriouslyhttps://www.trevorlasn.com/blog/take-your-writing-seriouslyIt’s not just about getting the message across; it’s about doing so in a way that’s easy for others to follow. Good writing shows respect for your team and your work.Thu, 19 Sep 2024 00:00:00 GMTUsers Can Be Firedhttps://www.trevorlasn.com/blog/users-can-be-firedhttps://www.trevorlasn.com/blog/users-can-be-firedLetting go of difficult or harmful users can be the key to maintaining the health and growth of your productThu, 19 Sep 2024 00:00:00 GMTA Great Product Doesn't Need Marketinghttps://www.trevorlasn.com/blog/a-great-product-doesnt-need-marketinghttps://www.trevorlasn.com/blog/a-great-product-doesnt-need-marketingGreat products speak for themselves, without the need for massive marketing campaignsWed, 18 Sep 2024 00:00:00 GMTdependency-time-machine: An Easier Way to Update NPM packageshttps://www.trevorlasn.com/blog/dependency-time-machinehttps://www.trevorlasn.com/blog/dependency-time-machineAutomatically update your package.json dependencies one by one in chronological order, ensuring compatibility and reducing errorsWed, 18 Sep 2024 00:00:00 GMTEngineering Managers Should Write Codehttps://www.trevorlasn.com/blog/engineering-managers-should-write-codehttps://www.trevorlasn.com/blog/engineering-managers-should-write-codeEngineering managers who stop writing code lose touch with their teams and become ineffective leadersWed, 18 Sep 2024 00:00:00 GMTAmazon's 'No Weasel Words' Rulehttps://www.trevorlasn.com/blog/amazons-no-weasel-words-rulehttps://www.trevorlasn.com/blog/amazons-no-weasel-words-ruleHow Amazon's emphasis on eliminating weasel words leads to more precise, actionable communication and better decision-makingTue, 17 Sep 2024 00:00:00 GMTThe Real Cost of Meetings: What FAANG Companies Do Differentlyhttps://www.trevorlasn.com/blog/the-real-cost-of-meetingshttps://www.trevorlasn.com/blog/the-real-cost-of-meetingsDiscover how FAANG companies like Amazon, Google, and Netflix reduce the hidden costs of meetings by embracing written communication and minimizing unnecessary gatherings.Tue, 17 Sep 2024 00:00:00 GMTWhat Makes MrBeast So Successful? The Secrets Behind His YouTube Empirehttps://www.trevorlasn.com/blog/what-makes-mrbeast-so-successfulhttps://www.trevorlasn.com/blog/what-makes-mrbeast-so-successfulA deep dive into the strategies, mindset, and team culture that have made MrBeast one of the most successful creators on YouTubeMon, 16 Sep 2024 00:00:00 GMTWhat's New in Express.js v5.0https://www.trevorlasn.com/blog/whats-new-in-express-5https://www.trevorlasn.com/blog/whats-new-in-express-5A detailed look at the key changes and improvements in Express v5.0 and how to migrate your appMon, 16 Sep 2024 00:00:00 GMTEvolve or Become Irrelevanthttps://www.trevorlasn.com/blog/evolve-or-become-irrelevanthttps://www.trevorlasn.com/blog/evolve-or-become-irrelevantWhy staying relevant in tech means constantly adapting to new technologies and trendsSun, 15 Sep 2024 00:00:00 GMTSpeculation Rules API: Boosting Web Performance with Prefetching and Prerenderinghttps://www.trevorlasn.com/blog/speculation-rules-apihttps://www.trevorlasn.com/blog/speculation-rules-apiHow the experimental Speculation Rules API improves web performance by prefetching and prerendering future navigationsSun, 15 Sep 2024 00:00:00 GMTCompany Culture Happens Outside Managementhttps://www.trevorlasn.com/blog/culture-happens-outside-managementhttps://www.trevorlasn.com/blog/culture-happens-outside-managementWhy real company culture grows from the ground up, not top down.Sat, 14 Sep 2024 00:00:00 GMTImprove Website Performance with Lazy Loading Iframeshttps://www.trevorlasn.com/blog/lazy-loading-iframeshttps://www.trevorlasn.com/blog/lazy-loading-iframesHow to save bandwidth and speed up your site by lazy-loading iframesFri, 13 Sep 2024 00:00:00 GMTSpeed Up Your Website With rel='preconnect'https://www.trevorlasn.com/blog/preconnect-to-required-originshttps://www.trevorlasn.com/blog/preconnect-to-required-originsUsing <link rel='preconnect'> can improve your website's performance by reducing connection setup times to key external domains. Speed up the loading of critical resources like images, analytics, and embedded content for a smoother user experience.Fri, 13 Sep 2024 00:00:00 GMTThe Crutch Effect: How AI Tools Became A Crutchhttps://www.trevorlasn.com/blog/the-crutch-effecthttps://www.trevorlasn.com/blog/the-crutch-effectIntroducing The Crutch EffectFri, 13 Sep 2024 00:00:00 GMTWhen Should You Actually Worry About Tech Debt?https://www.trevorlasn.com/blog/when-should-you-actually-worry-about-tech-debthttps://www.trevorlasn.com/blog/when-should-you-actually-worry-about-tech-debtTechnical debt isn't the monster under your bed, but it can become one if ignored too long.Thu, 12 Sep 2024 00:00:00 GMTMental Toughness is the Best Quality a Developer Can Havehttps://www.trevorlasn.com/blog/mental-toughness-is-the-best-quality-a-developer-can-havehttps://www.trevorlasn.com/blog/mental-toughness-is-the-best-quality-a-developer-can-haveMental toughness gets developers through challenges like debugging, picking up new tools, and hitting tight deadlines. It’s about staying calm and pushing through when things get tough.Wed, 11 Sep 2024 21:00:00 GMTGoogle is Killing Information Economics on the Internethttps://www.trevorlasn.com/blog/google-is-killing-information-economics-on-the-internethttps://www.trevorlasn.com/blog/google-is-killing-information-economics-on-the-internetGoogle’s Gemini pulls summaries from websites and slaps them directly into the search resultsWed, 11 Sep 2024 00:00:00 GMTTips for Reducing Cyclomatic Complexityhttps://www.trevorlasn.com/blog/tips-for-reducing-cyclomatic-complexityhttps://www.trevorlasn.com/blog/tips-for-reducing-cyclomatic-complexityCyclomatic complexity is like counting how many ways a car can go. More options make it harder to drive because you have to make more decisions, which can lead to confusion.Mon, 09 Sep 2024 21:00:00 GMTThe Internet is Becoming an Ocean of LLM-Generated Junkhttps://www.trevorlasn.com/blog/the-internet-is-becoming-an-ocean-of-llm-generated-junkhttps://www.trevorlasn.com/blog/the-internet-is-becoming-an-ocean-of-llm-generated-junkThe internet’s full of content, but most of it is becoming junk. I’m talking about the stuff generated by Large Language Models (LLMs). These AI tools are cranking out endless articles, and the quality? It's bad—really bad.Mon, 09 Sep 2024 00:00:00 GMTsetImmediate() vs setTimeout() in JavaScripthttps://www.trevorlasn.com/blog/setimmediate-vs-settimeout-in-javascripthttps://www.trevorlasn.com/blog/setimmediate-vs-settimeout-in-javascriptboth setImmediate() and setTimeout() are used for scheduling tasks, but they work differently.Sun, 08 Sep 2024 00:00:00 GMTUnrealistic Deadlines In Software Engineeringhttps://www.trevorlasn.com/blog/unrealistic-deadlines-in-software-engineeringhttps://www.trevorlasn.com/blog/unrealistic-deadlines-in-software-engineeringUnrealistic deadlines are more than just stressful—they set engineers up for failureSat, 07 Sep 2024 00:00:00 GMTUnderstanding JavaScript Closures With Exampleshttps://www.trevorlasn.com/blog/understanding-javascript-closureshttps://www.trevorlasn.com/blog/understanding-javascript-closuresClosures are essential for creating functions that maintain state, without relying on global variables.Fri, 06 Sep 2024 00:00:00 GMTExplicit is better than implicithttps://www.trevorlasn.com/blog/-explicit-is-better-than-implicithttps://www.trevorlasn.com/blog/-explicit-is-better-than-implicitClarity is key: being explicit makes your code more readable and maintainable.Tue, 03 Sep 2024 21:00:00 GMTAggregateError in JavaScripthttps://www.trevorlasn.com/blog/aggregate-error-in-javascripthttps://www.trevorlasn.com/blog/aggregate-error-in-javascriptAggregateError helps you handle multiple errors at once in JavaScript. This makes your code easier to manage and more reliable.Mon, 02 Sep 2024 00:00:00 GMTComprehensive React Testing: Handling API Calls with Mock Service Workerhttps://www.trevorlasn.com/blog/react-testing-mock-service-workerhttps://www.trevorlasn.com/blog/react-testing-mock-service-workerTesting can be tricky, especially when it comes to handling API calls.Sun, 01 Sep 2024 00:00:00 GMTChrome Is Beta Testing Built-In AI. Could This Kill a Lot of Startups?https://www.trevorlasn.com/blog/google-chrome-built-in-gemini-nanohttps://www.trevorlasn.com/blog/google-chrome-built-in-gemini-nanoThe Power Play: Gemini Nano in ChromeSat, 31 Aug 2024 00:00:00 GMTEmbrace Intermediate Variables and Early Returns in JavaScripthttps://www.trevorlasn.com/blog/embrace-early-returns-and-intermediate-variables-for-readable-codehttps://www.trevorlasn.com/blog/embrace-early-returns-and-intermediate-variables-for-readable-codeEarly returns and intermediate variables make your code easier to reason aboutFri, 30 Aug 2024 00:00:00 GMTWhen Regex Goes Wronghttps://www.trevorlasn.com/blog/when-regex-goes-wronghttps://www.trevorlasn.com/blog/when-regex-goes-wrongIssues and catastrophic failures caused by regexThu, 29 Aug 2024 00:00:00 GMTInvisible columns in SQLhttps://www.trevorlasn.com/blog/invisible-columns-in-sqlhttps://www.trevorlasn.com/blog/invisible-columns-in-sqlIt’s a small feature, but it can make a big difference.Mon, 26 Aug 2024 00:00:00 GMTObjective-C Is a Total Abomination (opinion)https://www.trevorlasn.com/blog/objective-c-is-the-ugliest-programming-language-and-a-total-abominationhttps://www.trevorlasn.com/blog/objective-c-is-the-ugliest-programming-language-and-a-total-abominationObjective-C is, without a doubt, one of the ugliest programming languages out thereFri, 23 Aug 2024 21:00:00 GMTUnderstanding Vue's Suspensehttps://www.trevorlasn.com/blog/understanding-vue-suspensehttps://www.trevorlasn.com/blog/understanding-vue-suspenseHow the Suspense component manages async dependencies and improves loading states in Vue appsFri, 23 Aug 2024 00:00:00 GMTThe Only Widely Recognized JavaScript Feature Ever Deprecatedhttps://www.trevorlasn.com/blog/the-only-javascript-feature-that-was-deprecatedhttps://www.trevorlasn.com/blog/the-only-javascript-feature-that-was-deprecatedThe 'with' statement is the only feature ever deprecated in JavaScriptThu, 22 Aug 2024 00:00:00 GMT10 Essential Terminal Commands Every Developer Should Knowhttps://www.trevorlasn.com/blog/10-essential-terminal-commands-every-developer-should-knowhttps://www.trevorlasn.com/blog/10-essential-terminal-commands-every-developer-should-knowList of useful Unix terminal commands to boost your productivity. Here are some of my favorites.Wed, 21 Aug 2024 00:00:00 GMTRemove Unnecessary NPM Packages with eslint-plugin-dependhttps://www.trevorlasn.com/blog/eslint-plugin-dependhttps://www.trevorlasn.com/blog/eslint-plugin-dependWe don't need packages to handle basic JavaScript tasksTue, 13 Aug 2024 00:00:00 GMTCommon Causes of Memory Leaks in JavaScripthttps://www.trevorlasn.com/blog/common-causes-of-memory-leaks-in-javascripthttps://www.trevorlasn.com/blog/common-causes-of-memory-leaks-in-javascriptIdentify and fix common JavaScript memory leaks (Node.js and Deno.js)Sat, 10 Aug 2024 00:00:00 GMTSecure Your Repositories: Prevent Credential Leaks with Gitleakshttps://www.trevorlasn.com/blog/your-repo-is-a-leaky-ship-probablyhttps://www.trevorlasn.com/blog/your-repo-is-a-leaky-ship-probablyAutomate security flows and ensure your team follows security best practicesTue, 06 Aug 2024 00:00:00 GMTWho is the fastest? Node.js, Bun.js, or Deno.jshttps://www.trevorlasn.com/blog/benchmarks-for-node-bun-denohttps://www.trevorlasn.com/blog/benchmarks-for-node-bun-denoA detailed comparison of Node.js, Bun.js, and Deno.js runtime performanceFri, 02 Aug 2024 00:00:00 GMTTechnical Debt Is Killing Your Businesshttps://www.trevorlasn.com/blog/technical-debt-is-killing-your-businesshttps://www.trevorlasn.com/blog/technical-debt-is-killing-your-businessAnd it will be your downfall if you choose to ignore itTue, 30 Jul 2024 21:00:00 GMTFrontend Security Checklisthttps://www.trevorlasn.com/blog/frontend-security-checklisthttps://www.trevorlasn.com/blog/frontend-security-checklistTips for Keeping All Frontend Applications SecureTue, 30 Jul 2024 00:00:00 GMTSpeeding Up React Apps with Code Splitting and Lazy Loadinghttps://www.trevorlasn.com/blog/react-lazy-loadinghttps://www.trevorlasn.com/blog/react-lazy-loadingPerformance is not a luxury; it's a necessityTue, 26 Dec 2023 00:00:00 GMTStaying Motivated While Building Your Startup: A Balanced Approachhttps://www.trevorlasn.com/blog/staying-motivated-while-buildinghttps://www.trevorlasn.com/blog/staying-motivated-while-buildingBuilding a startup is an exhilarating journey, filled with highs and lowsSun, 17 Dec 2023 00:00:00 GMTThe What, Why, and How of Using a Skeleton Loading Screenhttps://www.trevorlasn.com/blog/the-what-why-and-how-of-using-a-skeleton-loading-screenhttps://www.trevorlasn.com/blog/the-what-why-and-how-of-using-a-skeleton-loading-screenSkeleton loading screens enhance user experience and make your app feel fasterWed, 11 Nov 2020 22:00:00 GMTSharp: A High-Performance Image Processing Library for Node.jshttps://www.trevorlasn.com/blog/sharp-high-performance-node-js-image-processing-libraryhttps://www.trevorlasn.com/blog/sharp-high-performance-node-js-image-processing-librarySharp is a high-performance package for resizing and formatting imagesWed, 28 Oct 2020 00:00:00 GMTIntegrating Docker with Reacthttps://www.trevorlasn.com/blog/docker-with-reacthttps://www.trevorlasn.com/blog/docker-with-reactStreamline your development and deployment processesWed, 15 Jul 2020 21:00:00 GMTHow To Restore Your Passion for Programminghttps://www.trevorlasn.com/blog/how-to-restore-your-passion-for-programminghttps://www.trevorlasn.com/blog/how-to-restore-your-passion-for-programmingProgramming is a difficult skill to master and requires great perseverance to get good at. The grind can be too much at times — remember, if something is hard, it’s worth doing, as nothing good comes easy.Mon, 25 Nov 2019 22:00:00 GMTWhat Does an Entry-Level Programmer Need to Know Exactly?https://www.trevorlasn.com/blog/what-does-an-entry-level-programmer-need-to-know-exactlyhttps://www.trevorlasn.com/blog/what-does-an-entry-level-programmer-need-to-know-exactlyExpectations for entry-level programmersTue, 05 Nov 2019 22:00:00 GMTMermaid.js — Create Charts and Diagrams With Markdown-like Syntaxhttps://www.trevorlasn.com/blog/mermaid-create-charts-and-diagrams-with-markdownhttps://www.trevorlasn.com/blog/mermaid-create-charts-and-diagrams-with-markdownMermaid.js is a simple markdown-like script language for generating charts from text via JavaScriptWed, 30 Oct 2019 00:00:00 GMTBecome a Web Developer in 180 Dayshttps://www.trevorlasn.com/blog/become-a-web-developer-in-180-dayshttps://www.trevorlasn.com/blog/become-a-web-developer-in-180-daysA comprehensive roadmap to becoming a proficient web developerTue, 29 Oct 2019 00:00:00 GMTPeaks.js — Interact With Audio Waveformshttps://www.trevorlasn.com/blog/peaks-js-interact-with-audio-waveformshttps://www.trevorlasn.com/blog/peaks-js-interact-with-audio-waveformsPeaks.js is a client-side JavaScript component to display and interact with audio waveforms in the browserTue, 22 Oct 2019 00:00:00 GMTBoost React + Redux Performance with Reselecthttps://www.trevorlasn.com/blog/increase-react-redux-application-performance-with-reselect-libraryhttps://www.trevorlasn.com/blog/increase-react-redux-application-performance-with-reselect-librarySelectors are a powerful tool to optimize state selection and enhance performance in your React and Redux apps.Tue, 01 Oct 2019 21:00:00 GMTProgramming Trends to Watch in 2020 and Beyondhttps://www.trevorlasn.com/blog/2020-programming-trend-predictionshttps://www.trevorlasn.com/blog/2020-programming-trend-predictionsHere are my bets on the programming trendsThu, 18 Jul 2019 21:00:00 GMTHow To Fetch Data From an API With React Hookshttps://www.trevorlasn.com/blog/how-to-fetch-data-from-an-api-with-react-hookshttps://www.trevorlasn.com/blog/how-to-fetch-data-from-an-api-with-react-hooksFetch data in React applications using the power of React HooksThu, 20 Jun 2019 21:00:00 GMTHow To Use Redux with React Hookshttps://www.trevorlasn.com/blog/how-to-use-redux-with-react-hookshttps://www.trevorlasn.com/blog/how-to-use-redux-with-react-hooksWrite less code, but better codeThu, 20 Jun 2019 00:00:00 GMTDemystifying React Hookshttps://www.trevorlasn.com/blog/demystifying-react-hookshttps://www.trevorlasn.com/blog/demystifying-react-hooksHooks can save you time and improve the quality of your codeSun, 16 Jun 2019 00:00:00 GMTThe Secret to Being a Top Developer Is Building Thingshttps://www.trevorlasn.com/blog/the-secret-to-being-a-top-developer-is-building-thingshttps://www.trevorlasn.com/blog/the-secret-to-being-a-top-developer-is-building-thingsYou can only become a great developer if you're willing to put effort into itFri, 01 Dec 2017 22:00:00 GMTAll You Need To Know About CSS-in-JShttps://www.trevorlasn.com/blog/all-you-need-to-know-about-css-in-jshttps://www.trevorlasn.com/blog/all-you-need-to-know-about-css-in-jsAn overview of CSS-in-JS and its relevance in modern web developmentFri, 10 Nov 2017 00:00:00 GMTNext.js — React Server-Side Rendering Done Righthttps://www.trevorlasn.com/blog/next-js-react-server-side-rendering-done-righthttps://www.trevorlasn.com/blog/next-js-react-server-side-rendering-done-rightWe’re officially in the age of server-side rendered react appsThu, 02 Nov 2017 00:00:00 GMTHow to setup Webpack +2.0 from scratch in 2017https://www.trevorlasn.com/blog/easy-guide-for-webpack-2-0-from-scratchhttps://www.trevorlasn.com/blog/easy-guide-for-webpack-2-0-from-scratchWebpack is another evolution in the JavaScript tooling ecosystemWed, 05 Apr 2017 00:00:00 GMT