Re: [dev] ii: how to process out in a pipeline and still page with less

2022-05-29 Thread Josuah Demangeon
Rodrigo Martins wrote: > What if instead of changing every program we changed the standard > library? We could make stdio line buffered by setting an environment > variable. I applaude this idea! Environment variables seems to be the right spot for any config a library could need: are unobstrusive

Re: [dev] ii: how to process out in a pipeline and still page with less

2022-05-29 Thread Markus Wichmann
On Sun, May 29, 2022 at 10:20:05PM +, Rodrigo Martins wrote: > It was thus said that the Great Markus Wichmann once stated: > > And you fundamentally cannot change anything about the userspace of another > > program, at least not in UNIX. > > When I open file descriptors and exec(3) the new pr

Re: [dev] Suckless CMatrix clone

2022-05-29 Thread LM
On Sun, May 29, 2022 at 12:34 PM Kyryl Melekhin wrote: > Cool, but why use Glib? You can come up with some random utf-8 character > generator function, it's pretty trivial and there are plently of examples > in many suckless programs on how to do utf-8 validation. I like that point. Not a fan of

Re: [dev] ii: how to process out in a pipeline and still page with less

2022-05-29 Thread Rodrigo Martins
It was thus said that the Great Markus Wichmann once stated: > And you fundamentally cannot change anything about the userspace of another > program, at least not in UNIX. When I open file descriptors and exec(3) the new program inherits those. Is that not chaning the userspace of another proces

Re: [dev] Suckless CMatrix clone

2022-05-29 Thread Kyryl Melekhin
Hello Ryan, Ryan Raymond wrote: > Hello all. I'm working on a suckless cmatrix clone. > It's not done yet, and it still suffers from constant memory leakage, but > I'm having fun working on it. > It already shows 50% reduced cpu/ram usage vs cmatrix, despite greatly > improved fps. Furthermore,

Re: [dev] Suckless CMatrix clone

2022-05-29 Thread Hiltjo Posthuma
Hi Ryan, On Sun, May 29, 2022 at 03:04:00AM -0400, Ryan Raymond wrote: > Hello all. I'm working on a suckless cmatrix clone. > It's not done yet, and it still suffers from constant memory leakage, but > I'm having fun working on it. > It already shows 50% reduced cpu/ram usage vs cmatrix, despite

[dev] Suckless CMatrix clone

2022-05-29 Thread Ryan Raymond
Hello all. I'm working on a suckless cmatrix clone. It's not done yet, and it still suffers from constant memory leakage, but I'm having fun working on it. It already shows 50% reduced cpu/ram usage vs cmatrix, despite greatly improved fps. Furthermore, because it doesn't rely on ncurses, it respe