pingveno

joined 6 years ago
[–] pingveno@lemmy.ml 1 points 1 year ago (2 children)

Are you actually modding conversations you are directly involved in? When I have done modding, that would usually be discouraged as a conflict of interest.

[–] pingveno@lemmy.ml 5 points 1 year ago* (last edited 1 year ago)

pipx is also a good way to install a virtualenv and link up any executables that the package exposes.

Edit: So installation would be:

pipx install awktutorial

And it would automatically make the executable available to the user as long as pipx's bin directory is in the user's PATH.

[–] pingveno@lemmy.ml 3 points 1 year ago

I found it was useful for learning bits and pieces of the extra knowledge around working on a Linux system. Yeah, you're not going to learn how a kernel works or how anything about data structures. But you will learn how to apply a patch, be exposed to a lot of work with the shell, and come to appreciate the work that goes into a modern distro.

[–] pingveno@lemmy.ml 9 points 1 year ago* (last edited 1 year ago)

There's no level of package management, binary or source. There's no practical way to uninstall or upgrade. It's a toy for learning about Linux, which is great, but don't expect it to have anything else.

Edit: I seem to remember some third party package managers, but then you're going beyond the base level documentation. And at a certain point, then you might as well just use a distro. If you want to have a very minimal package manager so you can learn about package managers, sure, it's a learning tool.

[–] pingveno@lemmy.ml 1 points 1 year ago (1 children)

I'm unclear from the documentation, does pkexec work under non-GUI contexts?

[–] pingveno@lemmy.ml 10 points 1 year ago

Though a Rust clone of sudo that operates in the same way will still have the same problems.

[–] pingveno@lemmy.ml 8 points 1 year ago

Wait, why can't I say fork?

[–] pingveno@lemmy.ml 1 points 1 year ago

including some of Rust’s better ideas than to throw it away

The problem is that you can't just tack Rust's ideas onto an existing language. Generics, traits, lifetimes, borrowing, sum types, and match are key Rust features, but took considerable design time before Rust even reached 1.0. They interlock to produce a pleasant development experience. You can't just attached them to C and call it a day.

I don’t think Rust is wholly bad, to be clear, but it seems over-engineered to me, and the fact its useful new features don’t even completely work (see rust-cve) isn’t very encouraging.

Most of the CVE's listed there are in unsafe code in the standard library. At some point, some code is going to have to have to implement the tricky cases. In C, this code is common place, ready for any coder to run into problems. In Rust, these are bizarre edge cases that most people would never trigger.

I haven't heard Jonathan Blow's take yet, but one thing a person pointed out is that he tends to prefer a style that uses a lot of shared state. Rust explicitly discourages that style, considering it a source of bugs.

I encourage you to give Rust a try. It never hurts to have another language in your arsenal. Who knows, you might even find it fun.

[–] pingveno@lemmy.ml -1 points 1 year ago

Who watches the watcher?

[–] pingveno@lemmy.ml 10 points 1 year ago (1 children)

Yup. Fretting over a light daemon while running a hundred browser tabs is really missing the forest for the trees.

[–] pingveno@lemmy.ml 1 points 1 year ago

I'm thinking the broomstick is going to be more trouble. That turns into toothpicks and ouchy ouchy.

view more: ‹ prev next ›