An absolutely amazing workshop on #rust #async given by absolutely amazing @kookie!
I'm glad that I managed to do first two exercises with a very minor help from mentors.
I kind of slacked exercise 3, but I ended up learning about https://docs.irde.st/developer/technical/ratman/index.html
Which is a modular routing system that has a lot of properties that I was dreaming about while thinking about #selfhosting.
Workshop day at #rustlondon's #RustNationUK
The author is talking about the concept of metric cardinality, which is a really important thing to keep in mind while designing metric collection pipeline.
The author shines the light of #linkme on the rust crowd. I use it to have multi entry point binaries: https://github.com/cognivore/wasm-sandbox/blob/main/src/main.rs
#rustlondon is not only on the birdsite.
#RustNation #RustNationUK
@timClicks are you coming for the drinks btw?
@jonn I wondered how the author does number comparison in TS and yeah that certainly is quite creative 😅 https://github.com/gvergnaud/hotscript/blob/main/src/internals/numbers/impl/compare.ts
My types are much more boring for sure. But now I feel a bit less bad about my pipe() signature.
@jonn don't really see the point of types alone without actual code.
The util library I'm making for our new framework (of course I'm making a new framework) is based around type inference wherever possible.
And type inference for pipe() took several attempts and like a week of work in total. And still needs kludges for overloaded functions. And isn't properly variadic either.
@virtulis check this out https://github.com/gvergnaud/hotscript
OH YES @jlouis IS HERE!
If you thought that "X is basically Y" toots are cool or funny, that's the person who came up with the format.
QT: https://social.doma.dev/@jonn/109865624149085268
Before people think that I'm conformist... The "people who make decisions are still people" means what it means. I believe that politicians are people. I don't believe that there exist politicians that carry any considerable political weight that are genuinely concerned about #ClimateChange.
And it is absolutely fucked up!
That https://doma.dev guy
#lean #rust #typescript #react #nix
In my non-existent free time I design and run #TTRPG
If you use tools made by genocide-apologists, you are a genocide-apologist.
#lemmy users aren't welcome here.