News for hackers. Stuff that matters.
Re:When “Progress” Is Backwards by jchw on Sunday November 08, 2020 @02:10PM (#25028073)
>The command for bringing up a network device is now ip link set dev eth1 up vs the older ifconfig eth1 up. Does this really look like progress?

I mean... what does progress look like? The old syntax is less words, but it's still something you have to memorize. Why is this new syntax worse?

FWIW, I believe the newer syntax more closely resembles what you have with Cisco network equipment. It also supports newer functionality like net namespaces, and uses newer kernel interfaces. None of those advantages are mentioned in the article that I can see...

>autoconf has its warts

This is the single most charitable interpretation of autoconf's problems I've heard in my life.

> in fact according to this[1], meson authors claimed it to be one of their goals to force users to have a bleeding edge version of python3 installed so it can be universally assumed as a given. > [1]: https://kevstras.com/programming/2017/12/18/meson.html

I tried and was unable to figure out what they mean by that. Am I stupid or does that article not say that?

> Built with debug information, it takes up 434 MB of my harddisk space as of version 3.9.3.

Then... don't build it with debug information?

> It's primary raison-d'etre is its support for the Microsoft (TM) Visual Studio (R) (TM) solution files, so Windows (TM) people can compile stuff from source with a few clicks.

It exists because it was created to be the build system for a specific project. I don't even know if it began life with Visual C++ project generation support.

--

All in all this feels like run-of-the-mill cynicism. Some valid points but a complete failure to acknowledge why things are the way they are. Some days I wish HN had a downvote button.

Re:When “Progress” Is Backwards by josephcsible on Monday November 09, 2020 @11:43AM (#25036620)
> Why is this new syntax worse?

The question is, how is it better? When you have something that works, replacing it with something that's just not worse is unnecessary churn and work for everyone. It shouldn't be replaced unless its replacement is somehow better.

> It also supports newer functionality like net namespaces, and uses newer kernel interfaces.

Why couldn't these have just been added to ifconfig? Surely it could have been ported to the new kernel interfaces. As for features like net namespaces, the syntax should have been added in a backwards-compatible way instead of rewriting it all.

Re:When “Progress” Is Backwards by jchw on Monday November 09, 2020 @01:51PM (#25038199)
You could ask the same questions about any user interface change. Surely you can just kept grafting new limbs onto existing bodies, but a command like ip actually does make sense when you look at the breadth of things jammed into the new command structure.

The article we’re talking about questions what “progress” is and points out things that actually have serious advantages, often technical in some regard, but then disregards those advantages and talks about minor inconveniences like 70 MB disk space footprints and a couple new commands to remember.

Re:When “Progress” Is Backwards by yencabulator on Monday November 09, 2020 @07:42PM (#25041719)
Show me two IP addresses on one interface with ifconfig. No, alias interfaces do not count.
Re:When “Progress” Is Backwards by josephcsible on Monday November 09, 2020 @09:47PM (#25042381)
I acknowledge that that's a limitation of ifconfig today. My point was that we should have just modified ifconfig instead of completely replacing it with an incompatible new tool.
Re:When “Progress” Is Backwards by yencabulator on Tuesday November 10, 2020 @11:35PM (#25055516)
The "we" who did the work didn't consider that a good route, and wanted to create something much more powerful.
Re:When “Progress” Is Backwards by pmarin on Sunday November 08, 2020 @02:37PM (#25028281)
>FWIW, I believe the newer syntax more closely resembles what you have with Cisco network equipment.

What has to do the Cisco network equipment with Linux?

>It also supports newer functionality like net namespaces, and uses newer kernel interfaces.

Why all the BSD’s do similar things without changing the user interface?

>None of those advantages are mentioned in the article that I can see...

Because he linked directly the Poettering’s article explaining all you said.

Re:When “Progress” Is Backwards by jchw on Sunday November 08, 2020 @02:40PM (#25028309)
>What has to do the Cisco network equipment with Linux?

What must it have to do with Linux? It's industry-standard networking equipment. Is that not a decent enough reason to take inspiration? Network professionals already know Cisco.

>Why All the BSD’s do similar things without changing the user interface?

¯\_(ツ)_/¯

Linux isn't a BSD, and it isn't run like one. The only positive thing I can say is, if you prefer the way *BSD is it remains a completely reasonable option in 2020.

> Because he linked directly the Poettering’s article explaining all you said.

And promptly disregarded all of it, which does not make matters any better for him to be honest.

Re:When “Progress” Is Backwards by MaxBarraclough on Sunday November 08, 2020 @02:12PM (#25028085)
> Microsoft (TM) knows better and sees backwards compatibility as the holy grail

This is true, they have a regrettable habit of inventing a new GUI toolkit every few years, but they're good at ensuring the old ones still work.

> While the traditional buildsystem used on UNIX, autoconf, has its warts, it was designed in such a way that only the application developer required the full set of tools, whereas the consumer requires only a POSIX compatible shell environment and a make program. > > More "modern" build systems like cmake and meson don't give a damn about the dependencies a user has to install

True, you have to install CMake to build packages that use CMake, but I'm not sure it would be possible for CMake to generate a shell script the way autotools does, without losing either its scripting power or its portability to non-Unix platforms (e.g. Visual Studio). Personally though I don't score this very high up the list of things wrong with CMake. [0][1]

[0] https://news.ycombinator.com/item?id=24565266

[1] https://news.ycombinator.com/item?id=24203172

Re:When “Progress” Is Backwards by Gualdrapo on Sunday November 08, 2020 @02:03PM (#25028008)
> Even worse, due to the irritation the GTK+3 move caused to developers, many switched to QT4 or QT5, which requires use of C++, so a typical linux distro now has a mix of GTK+2, GTK+3, GTK+4, QT4 and QT5 applications

I agree on several points he makes about GTK+3, not so much on the theming issue, but it's arguable that the reason most distros have a mix of gtk/qt by default is not because gtk+3.

Now pretty much every kde-based distro that wants to ship with firefox/chrome by default, has to bring up gtk. iirc ubuntu studio shipped with both qt and gtk because of the plethora of applications it offered, way before gtk+3 was a thing.

Re:When “Progress” Is Backwards by jcelerier on Sunday November 08, 2020 @03:59PM (#25028964)
> Even worse, due to the irritation the GTK+3 move caused to developers, many switched to QT4 or QT5, which requires use of C++, so a typical linux distro now has a mix of GTK+2, GTK+3, GTK+4, QT4 and QT5 applications

I mean, even on my Windows and Mac machines I have software using GTK2 (GIMP), GTK3(Zim, Geany), Qt4 (various proprietary software), Qt5 (Strawberry, music player, etc)... plus a ton of other toolkits (Juce, Fltk, TKinter, the various Windows APIs, Cocoa, ...). And unlike linux every app has the DLLs duplicated.

It causes exactly zero problems.

Re:When “Progress” Is Backwards by CameronNemo on Sunday November 08, 2020 @02:11PM (#25028080)
Also FWIW gtk is not difficult to build/package, distros like Void Linux no longer have Qt 4, and gtk2 should be an uncommon dependency with GIMP, Inkscape, and Firefox dropping it or already having dropped it.
Re:When “Progress” Is Backwards by Spivak on Sunday November 08, 2020 @02:07PM (#25028049)
The problem with the systemd showcase is that it is progress, it just doesn’t look like it on the surface.

When you use “kernel names” you’re implicitly relying on the fact that your network cards initialize in the same order on boot which isn’t guaranteed. It’s the same reason you should prefer disk UUIDs over /dev/sda. For a long time sysadmins have used udev to pin eth0, eth1, etc. to specific network interfaces to solve this problem but it’s clunky.

systemd changed this in a very elegant way. The BIOS already assigns fixed names to network devices! If you use those you don’t have to query the device for its MAC to figure out its identity like we do with partuuids and diskuuids. The crazy names come from your vendor — nothing stops them from being eth0 eth1. Dell uses eno1 ens1 and enp0s1 depending on the kind of card.

Now by default network device names are fixed and if you want eth0 eth1 like you’re used to the process hasn’t changed.

Re:When “Progress” Is Backwards by josephcsible on Monday November 09, 2020 @11:52AM (#25036731)
Most systems that aren't servers only have one Ethernet adapter, which you used to be able to count on being named eth0. "Predictable" is a huge misnomer. They're stable, sure, but they couldn't be further from predictable.
Re:When “Progress” Is Backwards by bertr4nd on Sunday November 08, 2020 @02:30PM (#25028228)
Autotools vs cmake is just no contest from a developer’s perspective. I set up one project with autotools a few years back and the experience was horrible: lots of weird incantations, obfuscated syntax, piles of m4 macros to do what feel like straightforward things, and just a general feeling that I was being forced to learn obtuse technologies for basically no purpose.

Cmake isn’t always the easiest thing either but it’s a vast improvement over autotools.

Re:When “Progress” Is Backwards by josephcsible on Monday November 09, 2020 @11:48AM (#25036674)
There's definitely one advantage to autotools, though: anyone who wants to compile a program that uses CMake needs CMake on their system, but you don't need autotools to compile a program just because its build process was set up with it.
Re:When “Progress” Is Backwards by jopsen on Sunday November 08, 2020 @01:59PM (#25027982)
Did the author just make baseless accusations that high churn in the Linux desktop eco-system is a conspiracy?

Haven't there always been a high churn? And shouldn't we expect to that to continue until the "Year of the Linux Desktop" finally happens :)

Re:When “Progress” Is Backwards by formerly_proven on Sunday November 08, 2020 @02:14PM (#25028098)
Gnome/Gtk has high churn, KDE/Qt is rather stable, perhaps in part because Qt is used by lots of commercial applications.
Re:When “Progress” Is Backwards by umvi on Sunday November 08, 2020 @01:46PM (#25027866)
Do we really want "the year of the Linux desktop" though? I can only imagine if Linux went mainstream (for non technical users), big corps would be scrambling to put tons of black boxes and DRM enablement into the core OS
Re:When “Progress” Is Backwards by bigbubba on Sunday November 08, 2020 @02:05PM (#25028037)
You've been downvoted but I agree. We've had a decade of mainstream Linux based smartphones and it sucks. Locked bootloaders, bloatware, proprietary hardware drivers that don't get updates... this is what mainstream Linux usage looks like.

"Year of the Linux Desktop" makes people daydream about a world in which everybody is a console cowboy using and loving FOSS software. That's what I used to believe in, but Android convinced me that's a fantasy. If Linux ever won the desktop it would be a pyrrhic victory, like Linux 'winning' smartphones with Android or DVRs with Tivo. Software for the masses would still be locked down proprietary trash, no matter what kernel was used.

Re:When “Progress” Is Backwards by elitepleb on Sunday November 08, 2020 @02:15PM (#25028111)
We already have that and call it Android.

Just wait til all web sites run WASM and WebGL to draw their content, so you can't even copy or hide the text on your screen.

Re:When “Progress” Is Backwards by CameronNemo on Sunday November 08, 2020 @11:35PM (#25031493)
There are already efforts to integrate DRM deep into the graphics stack, in the kernel and mesa.
Re:When “Progress” Is Backwards by josephcsible on Monday November 09, 2020 @11:49AM (#25036698)
There are? Are you sure you're not getting Digital Rights Management and Direct Rendering Manager mixed up?
Re:When “Progress” Is Backwards by CameronNemo on Tuesday November 10, 2020 @11:57AM (#25048089)
Yep I'm sure. I'm talking about HDCP.
Re:When “Progress” Is Backwards by diffrinse on Sunday November 08, 2020 @01:54PM (#25027940)
So is the lesson here for people working lower in the desktop stack to try to appreciate other people's limited time?
Re:When “Progress” Is Backwards by jopsen on Sunday November 08, 2020 @02:00PM (#25028000)
Or that we need an application containerization technology to capture dependencies..

Maybe: AppImage, snap, flatpak, docker or one of the others will eventually win out.

Re:When “Progress” Is Backwards by elitepleb on Sunday November 08, 2020 @02:12PM (#25028086)
>I don't like the state of software other people wrote

The idea of a Linux desktop is stupid to the core, and has crippled Linux more than anything Pottering will come up with next.

Everything past the kernel is software you choose to install and use, stop using it if you don't like it and learn to deal without it.

Re:When “Progress” Is Backwards by m-zuber on Sunday November 08, 2020 @03:20PM (#25028626)
It would seem that the constant change is a good thing, makes the gatekeeping all that much easier.