Daniel Imfeld
imfeld.dev
Daniel Imfeld
@imfeld.dev
Serial medical data startup founder. Posts on Rust, Svelte, GeoData, DB/Analytics, ML/AI
Daft Punk Alive 2007 concert album!
January 8, 2025 at 5:55 PM
Legal team needs to make work for themselves :)
January 8, 2025 at 5:50 PM
Yeah could be. FWIW I’ve never used a NAT gateway or a lot of the other services people complain about the most. I do think that IAM is overly complex as well, but not too bad if you keep it simple.
January 8, 2025 at 5:48 PM
Oh this sounds really familiar now. Something about Typescript removing the import because it thinks it’s unused since it doesn’t see the template.

@techniq.dev try enabling the verbatim module option in tsconfig, (sorry I’m on phone and can’t easily look up the real name)
November 21, 2024 at 5:08 AM
That makes sense. I’ve used a “first” boolean variable in the past to accomplish the same thing but that feels like a more elegant solution now they we have better control with svelte 5 :)
November 16, 2024 at 9:50 PM
Ah yes that’s true!
November 16, 2024 at 5:34 PM
But that’s ok, right? If particles is undefined, the effect does nothing, so you dont need to rerun on a change to schemes. Then if it becomes defined it will start running and access schemes.

I saw this same thing in my own code and reasoned that it’s fine. Am I missing a case where this breaks?
November 16, 2024 at 5:32 PM
Turns out eslint does catch this though!
November 16, 2024 at 9:09 AM
No need to be pedantic. And in a language with first-class functions there's not a huge difference anyway, aside from the hoisting that JS does.
November 15, 2024 at 7:41 PM