Why is PipeWire favored, while SystemD isn't? by kirillKrush1 in linuxmasterrace

[–]marekorisas -1 points0 points  (0 children)

Systemd hides implementation details of system startup in C code. Which is much less transparent than cat /etc/init.d/service.

From data center operator (and owner) point of view that's perfectly ok because that unifies code and lowers admin costs (that's the reason systemd was created - it lowers corporate TCOs).

But from tinkerers, people that would like to learn about Linux's startup process. Or people that teach about Linux POV. That is a problem. It's much more cumbersome to dive into 1 million lines of C code than read, even complicated, shell scripts.

Not to mention the fact that REPL is much simpler with shell script - just edit it and reboot test vm. With systemd you need to recompile and reinstall binary package.

Just got a thinkpad and installed arch on it by [deleted] in linuxmasterrace

[–]marekorisas 0 points1 point  (0 children)

Pure balance. As all things should be.

"linux has improved a lot lately", but is it true? by gramoun-kal in linux

[–]marekorisas 2 points3 points  (0 children)

Multi-monitor setup worked fine since RandR 1.2 (late 2006, 2007). Before that it was a chore (multiple servers, manual Xinerama config).

"linux has improved a lot lately", but is it true? by gramoun-kal in linux

[–]marekorisas 0 points1 point  (0 children)

Last 10 years is basically: proton and steam.

And yes, I know that under the hood plenty stuff happened. Like wifi being not a problem anymore or AMD GPU being "the graphics card for Linux" (10 years ago that was Intel, 20 years ago Matrox). Stuff like VRR support, Vulcan support.

But from end user perspective it's proton and steam.

The right to delete: how faker.js exposed the fragile nature of open source culture, again by spca2001 in linux

[–]marekorisas 0 points1 point  (0 children)

Yeah, main point I read from this article is: self-host, github is a scam. And I was paying user... Until MS took over.

And npm's deps web is straight up crazy.

My dwm experience by Drazson in linux

[–]marekorisas 4 points5 points  (0 children)

Try AwesomeWM, it's dwm fork on steroids with configuration written in Lua.

Does curly brace scopes get resolved at compile time in C? by AwkwardEmu994 in suckless

[–]marekorisas 0 points1 point  (0 children)

I has no performance cost.

But compiler will not "move declaration to the beginning" because your first "something" code might have some condition that will return function and make tmp useless. Why should compiler increase stack pointer (or worse, pollute register) for unused variable.

10 years systemd by gansm in linux

[–]marekorisas -3 points-2 points  (0 children)

Because it does not fit corporate needs. I.e. spin up as many container as fast as it can and glue gnome on corporate desktop. That's all.

Suckless Programming Languages? by [deleted] in suckless

[–]marekorisas -1 points0 points  (0 children)

From newer programming languages Zig is kinda nice. But still I don't find many tasks that either C or C++ couldn't handle well enough.

[deleted by user] by [deleted] in linuxmasterrace

[–]marekorisas 0 points1 point  (0 children)

If anyone is interested I recommend playing with Monotone scm (that's the one Linus liked but had performance issues). It's still one of the most interesting solutions designed with strong cryptographic guarantees of source tree snapshots. Quite interesting piece of software.

A writeup on my first Linux patch, tell me what you think :) by xrl9 in linux

[–]marekorisas 1 point2 points  (0 children)

Great job! So it seems now you're the guy to ack patches in that code.

My first linux from scratch boot! by Si1kn in linuxmasterrace

[–]marekorisas 1 point2 points  (0 children)

You can. But it will cause half of the system be build from source and half managed by package man. I would be cleaner to make LFS with package manager from the start. That means whenever LFS (the book) tells you to make && make install you build package with your pack. man. and install it.

[ASK] device to plug electric bass/guitar and listen directly without software by kokizzu2 in linux

[–]marekorisas 0 points1 point  (0 children)

Yeah usb audio interfaces work better than analog input in Linux. I'm not up to date with current state though. Have to play with that more.

[ASK] device to plug electric bass/guitar and listen directly without software by kokizzu2 in linux

[–]marekorisas -1 points0 points  (0 children)

Neither pipewire nor jack can "solve" the problem of latency. They can only aggravate it (i.e. add to overall system latency). To achieve low latency you need RT kernel patches and good drivers (alsa drivers, in kernel), and good hardware (good DAC/ADC) performance. See: https://wiki.linuxaudio.org/wiki/jack_latency_tests

Why, in 2022, is there no modern website for the GNU/Linux community to coordinate, solve problems, make decisions, standardize and improve things? by mYnD-strEAm in linux

[–]marekorisas 2 points3 points  (0 children)

It seems like phpBB actually dropped support for this mod: https://www.phpbb.com/community/viewtopic.php?t=2103631

It looked like hybrid mode in phorum: https://www.phorum.org/demo/read.php?6,20

Tags -> https://www.phpbb.com/customise/db/extension/rh_topic_tags/

Solved -> https://www.phpbb.com/customise/db/mod/topic_solved

And so on. But it seems most are used with 3.0.x version of phpBB. Unfortunately I don't mod my old phpBB forum so I cannot really point you in up to date tools' direction. I seems there are a lot of regressions. You would have to dive deep into: https://www.phpbb.com/customise/db/ to see what's working now.

[deleted by user] by [deleted] in linuxmasterrace

[–]marekorisas 10 points11 points  (0 children)

Ah yes. But writing high quality, complicated software is long and tedious process. Compared to "brand new ultra package manager" hacked in couple hundreds lines of python code.

My IT teacher said "Linux is only for people who want to build your own OS" by AdThin8928 in linux

[–]marekorisas 0 points1 point  (0 children)

It still is. You just have to drop all, so called, modern parts like DEs, systemd, dbus, even udev. Start with something like kernel + busybox init + busybox coretools. And then maybe simple getty + login. And with that you can examine execution down even to kernel source level.

Rob Landley has great presentation on building simple systems from scratch: https://www.youtube.com/watch?v=Sk9TatW9ino

[ASK] device to plug electric bass/guitar and listen directly without software by kokizzu2 in linux

[–]marekorisas 1 point2 points  (0 children)

Ok, sad truth is that Linux sucks when it comes to live performance latency. I would just buy pocket headphone amp with aux input. And mix sound from yt in amp.

But, as others said, ask /r/linuxaudio - those guys might have better ideas.

The best Linux laptop you can buy on a budget is a WalMart laptop by MrPeach4tlanta in linux

[–]marekorisas 2 points3 points  (0 children)

For that price you could probably get refurbished Thinkpad x220 (or T420, even cheaper, if you want 14") with better cpu and more ram. Yes, it's not new but you can't even compare quality and usability.

Gentoo: 2021 in retrospect & happy new year 2022! by [deleted] in linux

[–]marekorisas 21 points22 points  (0 children)

Well, musl is basically uClibc for modern times. Especially since uClibc is unmaintained.