@g30r93g I’ve seen many like this in Gitlab MRs. It is true that they can be useful, it’s just that when I look at the code to get a sense of whether the PR is reasonable or not, I still need to deal with a large volume of diff that is not relevant.
Tiers of content in a PR:
S. Actual change
A. Test and documentation updates
B. Dependency version updates
C-F. Baseline snapshot updates
I don't want them mixed up in the PR review page. Can we separate somehow?
Not all that is in version control is meant for human eyes
@ethanbodzioney How much of the new math is reusable? If a lot, that would be very neat.
The code looks quite tidy, and several files were just headers. So the 13.5M lines are not all meat, this could not be as rough as it sounds (still rough)
@pontusab I’ll just say why run tsrs as a command within an OS when you can make tsrs the OS 🫡
(probably the same with bun check etc, worth taking a look into that)
@volodymyrrudyi What did you do here? Is tsrs compiled to WASM running on Fenders? I sort of assumed that WASM would be measurably smaller, maybe not with the right setup
And here it is running inside Firecracker.
139ms
And that's not startup time for the VM. That is total time: VM startup time + typechecking included
(AMD Ryzen 3595)
tsrs is a very fast TypeScript checker written in Rust
Max OS TSRS is tsrs bundled into a minimal OS
The type checker _is_ the OS itself. There's nothing else, no filesystem, no drivers, nothing.
Here is it typechecking some TS files inside a browser VM emulator
@wakeona :D yes that would be a problem
This is meant to run as a virtual machine in a CI.
Instead of a Docker container running Alpine Linux running a Rust app, you could just run this.
If there is a type error, that will be the result of that CI step!
tsrs is a very fast TypeScript checker written in Rust
Max OS TSRS is tsrs bundled into a minimal OS
The type checker _is_ the OS itself. There's nothing else, no filesystem, no drivers, nothing.
Here is it typechecking some TS files inside a browser VM emulator
Do I greatly exaggerate if I proclaim the death of Docker? I am but a frontend developer and this took Astra an afternoon. My prompting was just as vague as you can imagine (roughly: can you put tsrs inside a custom OS and run it?)
CIs are going to be wild
My favorite one so far was the color picker. I think the UI needs refinement, but what I love about is being able to pick the color space, and go outside sRGB and SDR, to the full laser burn-your-retinas glory of Display P3 and HDR. Of course, the screenshot does not capture it, since it clamps to sRGB and SDR.
Just having the option though feels great. A picker with actual control
Surprisingly fun: by building a browser engine, I get to design the default styles of <input type="date" /> and it's cousins
A UI components we rebuilt at every project I joined was the calendar. Native UX was never that great.
But why can't it be?
Now I want to use this