kunaltyagi

joined 2 years ago
[–] kunaltyagi@programming.dev 1 points 2 years ago

Tokio has support for multiple threaded async in rust. As for micro controller, I don't think you can have multiple threads in flight anyways, so that's the best you'll get

[–] kunaltyagi@programming.dev 3 points 2 years ago (2 children)

Which language? Usually there's a thread pool where multiple tasks are run in parallel. CPython is a special case due to gil, but we have pypy which has actual parallelism

[–] kunaltyagi@programming.dev 32 points 2 years ago (2 children)

X code is convoluted, so much so that the maintainers didn't want to continue. AFAIK, no commercial entity has put any significant money behind Xorg and friends. Potentially unmaintained code with known bugs, unknown CVEs and demands for permission system for privacy made continuing with Xorg a near impossibility.

If you don't want new features and don't care about CVEs that will be discovered in future as well as the bugs (present and future), then you can continue using Xorg, and ignore all this. If not, then you need to find an alternative, which doesn't need to be Wayland

Oh, and you might need to manage Xorg while other people and software including your distro move onto something else.

So yeah, "xorg bad" is literally the short summary for creating Mir and Wayland

[–] kunaltyagi@programming.dev 4 points 2 years ago

I use an extension in Firefox for this

[–] kunaltyagi@programming.dev 2 points 2 years ago* (last edited 2 years ago)

I've used mirror.vim for this. Pretty much similar UX as remote workspaces. Forone off editing, you can do vim ssh://remote/<abs or ~ location>

Sometimes, VS Code-ium is piss poor especially over bad connections but otherwise the remote management is quite awesome

And ofc, there's emacs with TRAMP mode

[–] kunaltyagi@programming.dev 2 points 2 years ago

That's why it's interesting that inverse square is in electrostatic and gravitational forces only. Weak and strong force don't follow inverse square. And we don't see the highly complex organization inside the nucleus that we see outside it (otherwise we'd have stable orbits inside the nucleus as well)

[–] kunaltyagi@programming.dev 2 points 2 years ago (2 children)

Bertrand's theorem states that stable orbits are only possible for one single inverse distance relation (in classical mechanics): inverse square

If the law is not inverse square (or harmonic oscillator), there will be no long lasting orbits, no galaxy clusters, no galaxies, no star systems, no planet and moon pairs.

If the electrostatic force wasn't inverse square, electromagnetic force would look much different. No gauss law would be possible.

Inverse square relationship is really neat

[–] kunaltyagi@programming.dev 4 points 2 years ago

I wanted to update my family PC (technically, but I don't think anyone else apart from me used it). Windows XP licence was too expensive for me as a kid and I found a CD ROM in my library with a FOSS OS advertised on it.

Fast forward to now, and I have been using Linux almost exclusively for 15 years now (some Windows usage needed for work or gaming)

[–] kunaltyagi@programming.dev 1 points 2 years ago (1 children)

Evil mode converts emacs into an actually usable editor

[–] kunaltyagi@programming.dev 2 points 2 years ago

Awesome!! Thanks a lot

[–] kunaltyagi@programming.dev 1 points 2 years ago

F1 will never be a sport which has giant upheavals. Even football in national and champion's league has stability despite FPP rules for longer than cost cap in F1

view more: ‹ prev next ›