• 7 Posts
  • 65 Comments
Joined 2 years ago
cake
Cake day: January 25th, 2024

help-circle
  • I recommend you gnu parallel. It does similar things, but runs the commands in parallel. And it’s way easier to pipe than xargs. If you really need it to run one command at a time you can give number of cores to 1. And it also has progress bars, colors to differentiate stdout fo different commands, etc.

    Basic example: to echo each line

    parallel echo < somefile.txt

    To download all links, number of jobs 4, show progress

    parallel -j 4 --bar ''curl -O" < links.txt

    You can do lot more stuffs with inputs, like placing them wherever with {}, numbers ({1} is first) that allow multiple unique arguments, transformers like remove extension, remove parent path, etc. worth learning





  • Arch also kinda allows that if you write custom PKGBUILD file. It’s easy to write for simple stuffs that are based on make/cargo etc.

    It’s time consuming if some program gives you 100s of lines of code in bash script to install their program though.

    Edit:

    Another disadvantage of building from source is dependency management. You might accidentally uninstall some dependencies, the standard library versions might change and break your packages, etc.

    Using package manager mitigates that.




  • You can’t use phone calls or texting when your family lives in the other side of the globe. Many parents are not tech savvy for them to be able to use something else if you aren’t there to set it up. Lot’s of them got into Facebook, and their friends are there, and we need to be there for them to reach us. It’s the network effect.

    Also for many parents, internet = Facebook. They don’t even use emails, or any other services for that matter, maybe news websites that are bookmarked in their browser years ago by their children.







  • My understanding is this:

    It’s just the principle of AUR wrappers. Yes they are very useful, but anyone and their uncle can put a package in AUR name it whatever they want as long as it’s not taken. AUR wrapper makes it easier to install things without knowing much, but manually searching for something, finding it, and installing it involves conscious choices. Arch cannot be responsible for people installing malware from a software they recommended, that’s why it’s kept this way intensionally.

    Imagine if yay/paru came with the os, or could be installed from pacman, then people would just recommend doing that to new users and then they might just install whatever and break the system a lot more.


  • That’s what I thought, but then when arch install fcks up it seems even harder to fix. I ised it because I have been getting new computers so it was easier to run run it. It messed up the SSD in a way, and trying to run it again wouldn’t work because it can’t find the SSD that it did something to. It took a while to manually fix all that.

    Also idk why arch install doesn’t have easy way to partition home and root, the default suggestions’s root is too small, changing it requires manually making each partition, just take an integer(%) allocated for home and calculate from there.




  • There is a python library as well. But the core algorithm and the plugins are in rust. The GIS component also is computationally intensive or memory intensive, that makes Rust have advantages over python. And the Whitehouse is also talking about more memory safe languages so it seems like a good choice to do it in rust over c/c++ for computational parts and the plugin architecture.

    Edit: As for professors. I need external professor for my committee, and this is a good option as I’m not familiar with any CS professors in my university that do grad research.