i didnt care about how i wrote my bash scripts, coz i know theyd ultimately be used just by myself. but for the past few day, i’ve been working on this project, mk-blog which uses some bash scripts, there are chances that others might look at them. besides in work they’re asking me maintain a server. so why not learn the...
Hello, I’m a bit new to advanced linux and programming stuffs… Can someone explain me why compiling exists and what this process does and how to do it in the principals situations (I’ve heard that you can use the “makepkg” command). Thx to everyone who replied.
Computers don’t directly understand the code that humans write. Humans find it extremely difficult to directly write the code that computers understand.
Compiling is how we convert the code that humans write into the code that computers can run. (It’s more complicated than that, but that explanation is probably enough for now.)
Different computers understand different flavors of computer code. Each kind of computer can compile the same human code, but they produce the flavor of computer code specific to that kind of computer. That’s why you sometimes need to compile the human code on your computer: it’s easier for your computer to know how to compile human code than for a human to know how to compile human code for every kind of computer that exists now and might exist in the future. There are some common kinds of computer and many projects pre-compile human code so that you don’t have to, but that’s not always easy. Also, some people insist on compiling the code themself, rather than trust someone else to correctly compile the code for their computer.
As for how to compile, that can be complicated. When you find the human code (“source code”) for a software project, the README often gives you instructions for how to compile that project’s code. Many of the instructions look familiar, because they are similar between projects, but the detail can vary a lot from project to project. Moreover, different human programming languages have very different instructions for how to compile their flavor of human code into computer code.
Now we need a comparison article about fff, ranger, and nnn. I chose ranger, but quite arbitrarily at the time. I tried nnn, but my fingers kept being used to ranger.
I needed to install a plugin to select objects delimited by characters, which I infer provides some of the basic behavior of tree-sitter, but since I forget the details, I guess that means there’s no fiddling involved. Set it and forget it.
Kakoune has a welcoming and helpful community, so when I struggled to understand the basics of configuration and installing plugins, I got the help I needed. It’s been a few years since I needed help, so perhaps that means I’m not adventurous enough and perhaps that means everything has simply kept working with little maintenance.
I have vague memories of putting in effort to set things up, but evidently that didn’t traumatize me.
By far, the feature I most sorely miss in Linux compared to macOS is Quick Look. Press the space bar, see file contents. Use the arrow keys, view different files. Simple, quick, and WAY faster than opening an entire app every single time I want to check the contents of a file. I also miss the column view in conjunction with...
I adopted ranger as my file manager and there is a way to enable preview that works for text files, PDFs, and images (plugin). It’s not Quick Look, but you might not hate it.
I like it primarily for reasons of using the keyboard to navigate, search, copy, move, delete, and open files. It helped me miss Alfred less.
Someone else has mentioned nnn, which has similar aims.
bash coding standards?
i didnt care about how i wrote my bash scripts, coz i know theyd ultimately be used just by myself. but for the past few day, i’ve been working on this project, mk-blog which uses some bash scripts, there are chances that others might look at them. besides in work they’re asking me maintain a server. so why not learn the...
How terminal works (kevroletin.github.io)
Need explanations about compiling
Hello, I’m a bit new to advanced linux and programming stuffs… Can someone explain me why compiling exists and what this process does and how to do it in the principals situations (I’ve heard that you can use the “makepkg” command). Thx to everyone who replied.
DuckDB as the New jq (www.pgrs.net)
How often do you contribute to open source projects?
fff Fast File Manager (TUI) (lemmy.sdf.org)
If you are seeking a really fast & simple TUI file manager…...
Incredible article explaining how to use Helix Editor (infosec.pub)
Where? Is? Quick Look!?
By far, the feature I most sorely miss in Linux compared to macOS is Quick Look. Press the space bar, see file contents. Use the arrow keys, view different files. Simple, quick, and WAY faster than opening an entire app every single time I want to check the contents of a file. I also miss the column view in conjunction with...
Dear atheists (feddit.de)