Anton Stoychev

@stoychev.dev

Performance Optimization ⁘ Upskilling teams & Best Practices for DevX & AI ⁘ Gradual migration to modern tech stacks ⁘ Finding the cost-effective solution that fit actual needs and securing leadership buy-in ⁘ Hands-on for complex areas when needed

❓"When can we expect this feature" Please refrain from asking this question towards open source maintainers. You generally shouldn't "expect" anything. I don't often agree with DHH but his take on OSS being a gift, not something you're entitled to, is something I relate with.

Which 𝘀𝘁𝘆𝗹𝗲 makes it clear the function returns an array? Why TS team uses `𝗧𝘆𝗽𝗲[]` for error msgs? Isn't the utility `𝗥𝗲𝗰𝗼𝗿𝗱<𝗧𝘆𝗽𝗲>` showing the preference? Isn't `𝗧𝘆𝗽𝗲[][]` sillier when compared to `𝗔𝗿𝗿𝗮𝘆<𝗔𝗿𝗿𝗮𝘆<𝗧𝘆𝗽𝗲>>`, especially if you read it out load. I feel there is a clear winner?

Bild

Training copilot specifically to agentically iterate over @github.com actions (being able to run them & read the errors) would save humans DECADES 😌️ Even with all of `actionlint, `act` and/or git pushes, the github CICD dev process is stuck in the past, prone to TON of sneaky AI hallucinations

Our team did a 3 day intense onsite planning our next big project, and here the top 3 rules for us & AI: 1) surface errors as-early-as-possible (think ~TS & ~lint) 2) mock as-close-as-possible-to-production (think ~MSW) 3) clearly separate vendor-specific logic (our needs vs framework or lib)

Moving codebases to newer or stricter TS in 1 go is often impossible (can't stop dev for so long, risk many bugs at once or know all the correct types) In breakproof.dev we snapshot existing errors and fail only for new ones. Allows us to upgrade TS or make it stricter now, and gradually fix errors

Bild

Ton of npm libs use github.com/cosmiconfig/... to load their config files. But, today I learned, if nodejs dies, the temporarily file created by cosmiconfig remains 🤷‍♂️ I fixed this locally in 5 mins thanks to the amazing patch ability of @pnpm.io (kudos @kochan.io!) and the LLMs era of code editors

GitHub - cosmiconfig/cosmiconfig: Find and load configuration from a package.json property, rc file, TypeScript module, and more!

Find and load configuration from a package.json property, rc file, TypeScript module, and more! - cosmiconfig/cosmiconfig

github.com

𝘀𝗸𝗶𝗽𝗟𝗶𝗯𝗖𝗵𝗲𝗰𝗸 is a 𝗧𝗦 config for skipping 𝗧𝗦 checks of libraries, 𝘳𝘪𝘨𝘩𝘵? 𝗡𝗼 It only skips checks for .𝗱.𝘁𝘀 files. If you develop a 𝗧𝗦 lib in your own monorepo used only by your projects, you still must run 𝘁𝘀𝗰 for your lib. Otherwise checking your project for TS errors will also show the lib errors

Bild