Articles
Software engineering lessons from production, raw and honest from the heart — almost 20 years of them. Jump to a year in the sidebar, or browse categories.
July 2021
Preventing RSI for programmers
I've been computering daily for 24 years, since I was 9, and managing RSI since high school. People often ask how it never gets bad. This is the article I always wish I had written.
Why a coding AI like Github Copilot won't take your job
It might. What's your job? If you're in the *"write code to exact specifications"* business ... now's a good time to start leveling up. The AI's not ready yet.
How to own projects like a senior engineer
The best skill you can learn is ownership. The second best is to let go.
June 2021
Hacking the React AST for fun and profit – #CodeWithSwiz ep34
This is hold my beer level of hackery. It didn't work but we learned lots in the process.
A surprising feature of JavaScript optional chaining
This blew my mind, thought you'd like it too. You can do more with ?. than you thought.
Use Netlify's _redirects on Gatsby Cloud
Something always goes wrong when you change hosting providers. 😅 For me it was redirects. A vital feature of any site migration.
Do important work
Next time you finish a project, ask yourself: *"Might this work be important?"*. Add the polish.
A better React 18 startTransition demo
Demoing startTransition is hard. Modern computers are too fast 😅 – Dan Abramov, a React core team member, helped me fix it up. Here's what I learned
Trying out React 18 Alpha
I read everything about React 18 Alpha, trawled through the work group, and ran some experiments. Here's what you'll wanna know.
Words that scare developers
Words that scare developers are powerful tools that are not meant to be safe. That is a valuable lesson.
A fun security bug with static rendering – CodeWithSwiz #31
The flash of unlocked content is great fun for any paywall
May 2021
Software Engineering is the 2nd best job
Ok so I've been doing lots of research into the Software Engineer job market – Some highlights 👇
Why you need a positioning statement
High value experts use positioning statements to say what they do for whom. Most engineers don't have one. 🤨
Build privacy-focused blazing fast tweet embeds – CodeWithSwiz 30
Twitter embeds every tweet on your page as an iframe. Loads 1.2MB of JavaScript, makes 20+ HTTP requests and uses 100+ DOM nodes. 💩
What matters in a senior engineer job interview
Degree matters if you have nothing better to show, consulting and BigTech backgrounds are negative, too many seniors can't code.
Twitter embeds without JavaScript, pt1 – #CodeWithSwiz 29
Continuing our quest for better Lighthouse scores, more reader privacy, and less JavaScript we attacked the next biggest culprit 👉 Twitter.
April 2021
2 quick tips for 250% better Lighthouse scores – CodeWithSwiz 28
Your site may be fast for users, but Google don't care. Official metrics or bust.
Flow good for programming, not engineering
Friend, how good are you at your best? ... Nobody cares. How good are you at your average? What about your worst?
Serverless file upload to S3 with NextJS and AWS Lambda – CodeWithSwiz 27
The Girl loves her daily cute photos, but she's bored of repeats. What if adding images was easier 🤔
Send daily random photos from an S3 bucket using AWS Lambda – CodeWithSwiz 25
An experiment that sends daily photos from an S3 bucket to an IoT device using AWS Lambda
March 2021
Your serverless questions, answered
When talk comes to serverless, engineers have lots of questions. Here are some answers 😊
Your luck & opportunity surface area
Here's a comment that resonated yesterday and you might like. It's about how to maximize the opportunity in your work.
How do you know if serverless fits your project?
The hallmark of a true expert is understanding about the pros and cons of your technical decisions.
Serverless Handbook coming Mar 31st
Serverless is the future. New book coming out Mar 31st and it's looking bomb
Different medium, different mindset
Ever wondered what it's like to make a physical book? It ain't as easy as shipping code lemme tell ya 😅
Go full-stack in 5min with your first cloud function
How *do* you build a JavaScript function that runs in the cloud serverlessly? Here's how to get started with Vercel, Netlify, or AWS Lambda
Can you automate love?
What's the laziest thing you've ever built? For me it's a bot that sends cute pictures every day
If you can JavaScript, you can backend
When you think of a backend or server developer, who comes to mind? A wizard of arcane magics. The future belongs to full-stack frontend engineers.
That time serverless melted my credit card
Serverless is pretty cheap. But you *can* get it wrong.