Aaaahlan Deutsch 👻
@allandeutsch.com
330 followers 310 following 1.2K posts
👨‍💻 Software craftsman 🎟️ SeattleJS Organizer Currently building: 🦺 typesafe-ts to help you write safer code with confidence 🐤 docduck.dev to get inline docs feedback from developers
Posts Media Videos Starter Packs
allandeutsch.com
Turns out LLMs and people both suck at RTFM tasks. Thanks for your help!
allandeutsch.com
Mute works really well for this topic!
allandeutsch.com
Got it I think that's the part I was missing! Thanks
allandeutsch.com
How do you think about tailscale for something like this vs doing it with a cloudflare tunnel?
allandeutsch.com
Yeah I can live without tab for open code but esc and ctrl+c are important
allandeutsch.com
I wonder if theres some sort of web server alternative that renders the terminal output and can provide input…
allandeutsch.com
Does the iPhone keyboard mic button in the bottom right corner for text to speech not work? 🙂‍↕️
allandeutsch.com
I got a pi setup today and being able to run LLM coding agents from my phone is on my todo list, so I am thrilled to know you already figured out how to do it!
allandeutsch.com
You gotta do a talk on this
allandeutsch.com
Do or do not, there is no try.
allandeutsch.com
Kaiba sticks his paws under the bathroom door trying to reach for me while I’m in there.
allandeutsch.com
Advanced typescript trick: custom compiler errors!

when I’ve used types to identify an error case, instead of using never (and getting a normal boring type error) I’ll write a custom error type like:
{ error: “this type is already branded”}

It makes it way clearer what the error is!

See example 👇
allandeutsch.com
100%! One trick I use in typesafe-ts which I hope more people will adopt in the ecosystem is custom compilation errors.

I use custom types in error cases that provide more useful hints/diagnostics via properties with literal types.

They’re way more helpful than the stock compiler type errors IMO
github.com
allandeutsch.com
100%! One trick I use in typesafe-ts which I hope more people will adopt in the ecosystem is custom compilation errors.

I use custom types in error cases that provide more useful hints/diagnostics via properties with literal types.

They’re way more helpful than the stock compiler type errors IMO
github.com
allandeutsch.com
I’ve also found it’s really useful for getting LLMs to write code the way I want. They’re quite good at using automated tooling, but otherwise don’t learn things between sessions. It’s a good forcing function to codify the way I want code written!
allandeutsch.com
I built typesafe-ts because I have felt the same pain coming from c++. It has a lot of the type safe patterns I want in TS, without require the huge shift in paradigm that Effect asks of its users and those who read their code. Neverthrow is also a good option.
GitHub - Masstronaut/typesafe-ts
Contribute to Masstronaut/typesafe-ts development by creating an account on GitHub.
GitHub.com
allandeutsch.com
I like the thread format. Thanks for sharing!
allandeutsch.com
What's the most popular Halloween costume for web developers?

Spiderman! 🕸️
allandeutsch.com
Free dev education AND free pizza/beer? What a deal! I had to pay for all of those when I was in undergrad.

Glad I can help make it all available for free now!
seattlejs.com
SeattleJS is this Wednesday night at Just The Tap!

This month we've got 2 techs and a sponsor (they're hiring!) to help you fuel up for learning.

On deck we have:
- Building and Releasing Cross-Platform Desktop Apps with Electron and React
- Lies I was told about collaborative editing

RSVP:
SeattleJS: Web Tech Talks - October · Luma
🎉 Get ready to learn and connect at SeattleJS! 🎉 Prepare for an evening filled with fun, networking, and learning. Whether you're a seasoned developer or…
luma.com
allandeutsch.com
One example of this is twoslash completion annotations, which need to be at the precise position I want the completion to start from.

In engineering, it is often important to represent things with precision.
allandeutsch.com
It sucks but it sucks less than not having it.

Also I find CLI LLMs are pretty good on airplane Wi-Fi because they generally transmit less data than browsing myself.
allandeutsch.com
Tabs are objectively better (accessibility, preference, file size). That said, I really appreciate that spaces make it possible to perfectly align things in a way that will work consistently for all viewers.
allandeutsch.com
You’re absolutely right!
allandeutsch.com
Capybaras are adorable, but they’re far from svelte creatures… perhaps an elf or a cat would be a more fitting option?