Avatar

kunaltyagi

kunaltyagi@programming.dev
Joined
0 posts • 28 comments
Direct message

Awesome!! Thanks a lot

permalink
report
reply

Evil mode converts emacs into an actually usable editor

permalink
report
parent
reply

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)

permalink
report
reply

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

permalink
report
parent
reply

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)

permalink
report
parent
reply

I’ve used mirror.vim for this. Pretty much similar UX as remote workspaces. Forone off editing, you can do vim ssh://remote/

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

permalink
report
parent
reply

I use an extension in Firefox for this

permalink
report
parent
reply

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

permalink
report
parent
reply

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

permalink
report
parent
reply

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

permalink
report
parent
reply