• 1 Post
  • 48 Comments
Joined 3 years ago
cake
Cake day: July 6th, 2023

help-circle


  • KRAW@linux.communitytoLinux@lemmy.mlDo you use vim?
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    I use helix part-time but am forced to go back to neovim a majority of the time for a few reasons:

    1. no persistent undo
    2. no ctags and cscope (some C/C++ projects don’t work well with clangd)
    3. niche plugins (e.g. I just found a neovim plugin that gives me a way to run ipynb files in-editor)

    If 1 and 2 got fixed, I’d be a full time helix user



  • I’m not really an OS guy, so forgive me if this question has an obvious answer. When a thread migrates, it keeps its stack and register, thus any data contained within this can be used in the destination process (correct me if I’m wrong). Thus sending a message could be as simple as migrating a thread and having that thread copy data from its registers or stack memory to the current process’s memory space. However, how does the thread find process-specific addresses and handles (e.g. a mutex)? For example, I’m picturing a scenario where you are implementing an MPI library and want to use thread migration to send (small) messages from one local process to another. The thread orchestrating the send simply loads the data from memory and migrates, but how will it know where to store the data to? Would there need to be a data structure stored in a fix offset in memory that contains the destination address of the receiving process?


  • Biggest con of KDE + Krohnkite (to me) is no text-based config. I really have no desire to pour through the GUI to set up all my keybinds. I’ve tried this setup before, and honestly I mostly like it. However anytime I want to change something I just hate having to click through a menu with my mouse. The search bar helps, but often you’ll spend a lot of time guessing what the devs decided to name a setting. I went back to Sway and have no regrets. Though I’ll admit I wish there was something that was basically Sway with the benefits you mentioned here.




  • I remember easily getting gems for free. Also the streak basically doesn’t matter at all. What made me uninstall is the slow pace. It felt like I was stuck on the same words and topics forever. It felt like I was not actually learning anything, which if you’ve ever started learning a language if a formal setting, is very apparent.




  • I don’t think I’m interested in an NVIDIA Shield since if I like the idea of running any Linux app in case I want to use it for another purpose in the future.

    An RPi could be a choice. I forgot that the 5s have hardware decoding. Assuming the 4GB model is suitable, then $60 + cost of a case isn’t too bad. I assume the hardware decoding could keep up with 4k60?






  • I guess to be fair, there are some local places around me that make sodas, which probably are reasonable ethical businesses. Depending on how many bourbon colas you’re drinking, it might be worth paying extra for an locally made soda if possible. If you don’t have someone that makes soda locally (which is probably likely), maybe consider buying from “gourmet soda” brands like Hank’s.