FizzyOrange

joined 1 year ago
[–] FizzyOrange@programming.dev 2 points 1 week ago

I don't think libuv is really that popular, nor is it that confusing.

But I do agree it's not a very good name. "Rye" is a much better name. Probably too late anyway.

[–] FizzyOrange@programming.dev 30 points 1 week ago (5 children)

Yes it's terrible. The only hope on the horizon is uv. It's significantly better than all the other tooling (Poetry, pip, pipenv, etc.) so I think it has a good chance of reducing the options to just Pip or uv at least.

But I fully expect the Python Devs to ignore it, and maybe even make life deliberately difficult for it like they did for static analysers. They have some strange priorities sometimes.

[–] FizzyOrange@programming.dev 2 points 1 week ago (1 children)

There's also CPC/Farnell but none of those are in the same league as McMaster Carr. Much smaller ranges, worse prices, worse websites, missing CAD models, etc.

Another option is Misumi but they have even worse prices and don't even sell to individuals.

I'd recommend going to McMaster Carr just to see what we are missing out on.

[–] FizzyOrange@programming.dev 10 points 1 week ago (3 children)

I wish we had something like McMaster Carr in the UK. I don't even care if it's fast! You guys had better appreciate how good you've got it.

[–] FizzyOrange@programming.dev 2 points 1 week ago

Well they still have runtimes, but yes they can be pretty minimal.

You're still shipping a load of libraries that come for free with JS though, e.g. with Rust WASM string formatting and unicode support always ends up being annoyingly huge, and that's built in to JS engines. There's also collections (Map, Set), etc.

[–] FizzyOrange@programming.dev 3 points 1 week ago

There's a "proper" version of this hack called early oom. I haven't used it though and now that I look at it it seems like it uses the same completely broken "guess which process to kill, who cares if it's init" system that the normal oom killer uses so your solution sounds better.

Is it so hard to just pause the system and ask the user which app to kill?

[–] FizzyOrange@programming.dev 1 points 1 week ago (2 children)

I don't think so - Javascript doesn't have to ship its language runtime so it will always have a size advantage.

[–] FizzyOrange@programming.dev 1 points 1 week ago (1 children)

Interesting, so that's sort of customising the image somehow? Does it use an overlay FS or something?

[–] FizzyOrange@programming.dev -1 points 2 weeks ago (3 children)

Hmmm I guess this kind of makes sense - most distros push Gnome above KDE (probably because it doesn't look like this - where's Tantacrul when you need him?). On the other hand, there's already Kubuntu...

I'm a bit skeptical about immutable distros too. What if I want to install a package that isn't already installed and isn't available as a Flatpak/Snap? Seems like it's going to run in similar issues to everything else that tries to wade upstream against the bad decisions of the existing Linux packaging zeitgeist, e.g. how Nix has to install everything in one root-owned directory because nobody cares about portable installation.

[–] FizzyOrange@programming.dev 12 points 2 weeks ago (2 children)

That's cool, but in my experience if you get to the OOM killer then 80% of the time it's too late and your system is basically dead. My laptop hard reboots most of the time when this happens.

Hopefully it works with the early-OOM hacks.

[–] FizzyOrange@programming.dev 2 points 2 weeks ago (1 children)

I have 32 GB but it's not enough. Try opening 8 instances of VSCode, Firefox and Chrome with a few dozen tabs. Unfortunately my laptop doesn't support 64 GB of RAM.

[–] FizzyOrange@programming.dev 3 points 2 weeks ago

I have never seen a single C++ codebase do that. It helps but it's not a practical full solution.

view more: ‹ prev next ›