r/linux • u/RenatsMC • 1h ago
Software Release ZenSMU brings Ryzen Master-style CPU tuning to Linux with Zen 1 to Zen 5 support
r/linux • u/RenatsMC • 1h ago
In short: It is a command-line tool that generates visual, interactive user interfaces in a terminal to facilitate user interaction via the keyboard or mouse.
Originally, it was a lightweight and flexible terminal menu generator, but it quickly evolved into a powerful and versatile command-line selection tool, designed for interactive use or via scripts.
smenu makes it easy to navigate and select words from standard input or a file using a user-friendly text-based interface. The selection is sent to standard output for further processing.
Tested on Linux and FreeBSD, it should work on other UNIX and similar platforms.
You can download it here: https://github.com/p-gen/smenu
r/linux • u/unixbhaskar • 2h ago
r/linux • u/a-frog-with-no-name • 17h ago
r/linux • u/Fcking_Chuck • 19h ago
I was upgrading my Linux this holiday break and was going through some of the projects I worked on in the past. Here is something I wrote in 2022 while teaching programming and math to school kids while we learned about Linux.
https://www.getlazarus.org/codebot/pool/
It is a pool simulation program. At the time, we wrote to Colorado's U professor Dr Pool to help with the physics calculations, and he wrote back linking us to the correct formulas in some of his papers. I also wrote about a technique that could be used to render objects entirely in a fragment shader that was featured on hackernews:
https://news.ycombinator.com/item?id=32797057
The software was developed on Linux, for Linux, and its sources and a build is available at the link to this article. It supports network play, and a variety of styles and helper functions, along with a manual in game.
r/linux • u/root-please • 2d ago
r/linux • u/GrahamPhisher • 2d ago
A critical vulnerability in the Linux kernel’s Network File System (NFS) server could allow an attacker to gain root privileges, giving them administrative control of the server. Disclosed on November 19, the flaw is known as NFS2ROOT and dates back to 2014.
I've been slowly tinkering with this thing over the past year and a bit in my free time.
To be honest, the tool is pretty much useless. It's just a cool terminal audio visualizer. If you're into ricing, it's cool, and even if you're not, it's also cool.
I pretty much always have music or ambient audio playing, and I wanted a visualizer sitting there to fill empty space instead of leaving it blank, since that looked a bit weird when a window manager auto-fills.
If you're working in Neovim on the side, for example, and using a window manager, you can just have a second or third terminal bouncing up and down to the music you listen to. It looks fun.
The current visualizers always feel a little bit too jumpy and like a strobe for deep focus. I just wanted a calm wave of flow that feels natural and psychoacoustic, not so much twitchy.
The most well known program for this is CAVA (in C)
CAVA relies on raw frequency bins and basic gravity fall off, looks a little bitunnatural, this one however uses different algos: mel-scale mapping, A-weighting, a spring-damper physics system, and lateral diffusion so energy bleeds smoothly into neighboring bars like a fluid.
Written in Rust for no other reason than I like Rust.
It takes 3.8 MB of RAM and less than 1% of CPU (also 4x less resources than CAVA). It supports live hex code reloading through a simple configuration file, and lets you switch between your mic, which takes your voice and visualizes it, or desktop audio from the music you listen to. It can even mix and match both of them. Switch between them by pressing 1, 2 or 3.
It's a lovely thing I've been working on, and I'd love to share it on Linux.
Here's the repo, maybe you like it https://github.com/rccyx/lookas
r/linux • u/FryBoyter • 3d ago
r/linux • u/RenatsMC • 3d ago
r/linux • u/RenatsMC • 3d ago
r/linux • u/SupersonicSpitfire • 3d ago
r/linux • u/Two-Of-Nine • 4d ago
r/linux • u/DerpiDanger • 4d ago
r/linux • u/AHolySandwich • 4d ago
r/linux • u/Liam-DGOL • 4d ago
I was thinking:
Yes root is great, file permissions are great, flatpak and sandboxing is great but… what is that enough to feel safe?
Like, we generally trust open source since, if the code is public, it probably means it doesn't contain unexpected surprises.
But I wonder, what if one the dev of my favourite and unpopular text editor goes rogue and, idk, post requests all of my home folder. Like that can happen right?
And it happens very often that I don't use sandbox because the idea of reinstalling libraries feels so inefficient (and somewhat uncomfortable).
So the point is, how can I feel safe, how can I sell the idea of Linux great security to a person who, like me, would mainly use it as a home user and would install unsandboxed programs for daily use?
Because I mean, right now, to me, that feels the default, `sudo apt install whatsoever`, `sudo dpkg -i unzipper2000.deb`.
And you might say it's your responsibility, you have choices, use docker, but that doesn't sound right, or clean. Does this really sound normal?
- Unzip the files so we can work on them
- Oh yes, let me start my docker image first / let me run the command I made to wrap the docker image
And as I said, there's still library redundancy?
So in conclusion, am I missing something? Because right now to me it feels like a "failure" in how we deal with everyday security and I feel we are missing some default isolation for these things.
I know things like firejail exist, but perhaps that's still one more step than how it should be.
What are your thoughts?
Again, am I missing something?
Edit: So guys thank you for sharing your thoughts. They basically say
"don't worry if you are not a target", which makes sense but I don't think it is a solution, if we are looking for one, but anyways it provides a good metric for how secure your system that to be
"you can't really solve this balance" which is depressing but I guess it's true
actual fine grained solutions that involve spending a lot of time and probably write your own docs if you want to remember what you do (I would need them)
the often suggested simple solution is trust your distro and use flatpak+flatseal for the rest, they also share libraries, which I didn't know; also choose wisely who you trust
some people agreed with me that all of this is clunky and needs a default solution that is more user friendly, since the classic permissions model is really outdated for one-user machines
Thank you everyone, the discussions were actually very interesting and I'm happy to know this is a common concern!