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 and curated collections.
87 articles from 2021 ยท show all
April 2021
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.
Why serverless fits side-projects perfectly
How do you provision servers for no load most days THEN ALL THE LOAD THIS MINUTE? That's how side-projects work and it's hard
How a $12 AWS bill powers a $50k business
my point is that running server code on the web has become ridiculously cheap *and* easy
Variants โ a quick tip for better React components
Reusable components like to grow boolean props for different situations and complexity soon blows up. Variant props are the perfect solution.
February 2021
Can you code faster?
What slows you down most while coding? It's not lack of skill. It's not lack of ideas. It's uncertainty. Fear.
Reverse engineer a GraphQL API to automate love notes โ CodeWithSwiz 24
We used a man-in-the-middle attack to snoop an app's API traffic, replayed it in a GraphQL client, and successfully put it inside an AWS Lambda ๐ค
A TypeScript trick for reusable hooks
Reusable hooks are all fun and games until TypeScript starts yelling at you about incompatible types.
React Bricks - visual blocks editor for NextJS #CodeWithSwiz 22
Tried a new visual editor for NextJS and CreateReactApp. Got a site up in 20min ๐ค
The Magic Function principle
Write functions, mostly magic.
January 2021
"silicon valley is like hollywood"
and I don't mean Silicon Valley the place, I mean Silicon Valley the concept.
[CodeWithSwiz 21] useAuth beta support for Firebase ๐
It works! useAuth has beta-level support for Firebase Auth ๐ฅณ I did not expect that to take 3 sessions.
Tech interview best practice that fails in life
Tech interviews have a magic answer: The hashmap. And it's not always best on the job.
[CodeWithSwiz 20] Adding Firebase support to useAuth, pt2
Firebase continues to be ๐ฉ. No wonder people keep asking for support in useAuth. Almost there โ๏ธ
What computer science can teach us about vaccine distribution
How would you rollout the covid vaccine for max fairness and speed?
[CodeWithSwiz 19] Firebase Auth support in useAuth, pt1
Support for Firebase Auth is one of the most requested features for useAuth and I figured what the heck, how hard can it be?
Why you can't find an engineering coach
Wanna learn boxing? Join a gym, find a coach. Tennis player with a kink in your game? Find a coach. Software engineer with a missing skill? Google, random blogs, fun newsletters, dubious podcasts, noise on twitter ๐คจ
Reflecting on 2020
The year that felt like a drag and ended in the blink of an eye.