Hoi hoi! π
I'm [@nyaomaru](https://github.com/nyaomaru), a frontend engineer just back from a short vacation on Texel, a small island in the Netherlands. πΈποΈ
Today, let's talk about a type guard that looks completely safe.
```ts
const isUser = (value: unknown): value is User => {
// runtime ...


DEV Library is my idea of first-person 3D reimagining of DEV.to. Not a themed scene wit...
Let me tell you about a project that wasn't impressive.
Back in university, I built a small .NET application. I don't even remember all of what it did β some forms, some logic, a database behind it, nothing you'd put in a portfolio. By any technical measure it was tiny. A beginner's project.
But I...
Open your GitHub. Go on. Count the repositories that have a README, a clean commit that says `initial commit`, maybe a second one that says `wip`, and then⦠nothing. No third commit. No user who isn't you. No issue filed by a human you've never met.
I'll wait.
I count nine on mine. Nine little tom...
Your hero section is `height: 100vh`. Big background image, headline centered, a CTA button pinned near the bottom. You check it in the browser, check it in the iOS simulator, ship it.
Then the support tickets come in: "the sign-up button is cut off." You open it on your own phone to confirm β and ...
I used to joke that the history of frontend development could be retraced by following the argument of who owned the state. And the truth is both sides have gone back and forth on this over the years. We started on the document web where state was on the server. Then we added JavaScript and Applets ...
## First, give it to a robot
Earlier this week, I [wrote about](https://dev.to/lolocoding/164-disposable-computers-one-judging-afternoon-and-a-question-nobody-had-time-to-ask-19da) how I built a tool to run every submission from a hackathon, all 164 of them, each on its own disposable computer, to ...
Recently I came across another discussion about Laravel's memory usage and I can't say that it was exactly new to me, I've worked with Laravel and Lumen for years and have seen how differently they can behave in terms of memory, but it made me curious about what actually creates that difference. Is...
The naive version of a scheduled Discord bot is a `setTimeout` per upcoming event. It works in testing and falls apart in production for three separate reasons. Here is a design that does not.
## Why setTimeout per event fails
**Restarts wipe everything.** Your host redeploys, the process restarts...
---
I started last Monday. Today it's been exactly two weeks.
Here's the funny part. I've spent 15 years in QA β manual testing, then automation, then test development, then test management. I've held just about every title this field has. And on day one, at a new desk, the feeling was as basic as...