This week, we’ve got robots, engines, and minions.
Welcome to #109.
When you finally give GitHub Copilot your credit card
Love, Death & (Coding) Robots
Last year, GitHub introduced us all to Codepilot, aka T9Word for developers.
It’s trained on OpenAI’s Codex, which is made up of billions of lines of open-source code, so it can suggest code and entire functions in real time inside your editor as you write code.
Over 1.2 million developers used it during its 1-year “technical preview” stage, which just ended last month when GH made it generally available. Oh, and it also costs $10 a month now (surprise!) — but more on that later.
Copilot is definitely a polarizing tool, so let’s do the responsible thing your mom always told you to do, and write out a list of the pro and cons.
Ok, that’s a lot of cons, but in the interest of adding a little nuance (gasp), here are some counterpoints to consider for each con:
Bottom Line: Love it or hate it, the robots aren’t going away anytime soon. Jeffrey B’s old squad just launched a preview of Amazon CodeWhisperer last month, and other tools like Tabnine and Kite continue to pick up momentum.
Let’s just hope that the code the AI’s write isn’t as cursed as the images that Dall-E creates.
When you get analytics working after 12 weeks of SQL hell [sponsored]
PostHog cracked the code
For centuries, product managers and philosophers have tried to solve The Analytics Dilemma: “The more engineering time you spend building product analytics, the less time you can spend on *actually building* your product.”
But PostHog has finally cut the Gordian Knot and set us all free.
They built an open source (8,000 GH stars with 280+ contributors) and fully-featured product analytics platform that you can self-host.
The best parts:
Hasura, SpaceX, and 10,000 other companies have built their entire data stack on PostHog.
That’s because they’re smart enough to realize that engineers should spend their time making the actual sausage, not building random tools to try and figure out if the customer likes how it tastes.
Check it out. Say goodbye to SQL.
You’re a long way from home
Fast and the Furious: Engine Wars
We wrote about Bun last week when it was hot out the oven, but it’s still the only thing people are talking about — so we wanted to take a peak underneath the hood to see what makes it so insanely fast.
Yes, this is a lot like going to Jack in the Box and asking, “what exactly do you put in your tacos that makes them so delicious,” but we’re doing it anyway.
So what exactly are the differences between JSC and V8?
When we’re talking about speed, we’re actually talking about types of speed (since there are lots of tradeoffs for JS engines to consider). Lets look at some 🌮 meat:
Spot the Bug — Sponsored by Raygun
Raygun is the best tool for catching and resolving bugs before they crash prod. We use it at ui.dev and it’s been super helpful.
Spot the Bug Solution — Sponsored by Raygun
React treats the ref as a “box” that can hold a mutable value in it’s
The bug happens when we try to
Here’s the solution -
Refs can store more than just DOM elements - they can store any value a component needs to hold on to without causing a re-render whenever the value changes.
Delivered to 114,267 developers every Monday
This is the first ever newsletter that I open a music playlist for and maximize my browser window just to read it in peace. Kudos to @uidotdev for great weekly content.
The Bytes newsletter is a work of art! It’s the only dev newsletter I’m subscribed too. They somehow take semi boring stuff and infuse it with just the right amount of comedy to make you chuckle.
Bytes has been my favorite newsletter since its inception. It’s my favorite thing I look forward to on Mondays. Goes great with a hot cup of coffee!
I subscribe to A LOT of dev (especially JS/TS/Node) newsletters and Bytes by @uidotdev is always such a welcomed, enjoyable change of pace to most (funny, lighthearted, etc) but still comprehensive/useful.
Literally the only newsletter I’m waiting for every week.
Bytes is the developer newsletter I most look forward to each week. Great balance of content and context! Thanks @uidotdev.
The sense of humor and structure of the Bytes Newsletter is first class and the information that comes with it is enough to make a mini course.
Very few newsletters manage to be useful and not very boring. @uidotdev manages to achieve these pretty effortlessly. You can almost see Tyler chuckle as he writes them.