News for hackers. Stuff that matters.
Re:Elementary OS is imploding by bodge5000 on Wednesday March 09, 2022 @04:50AM (#30612709)
Always thought that Aesprite were onto something good. Assuming I've got this right, the source code is out there and free, but you need to pay for the compiled binaries. Most people can't be bothered doing the latter, so paying a bit for it is worthwhile
Re:Elementary OS is imploding by badsectoracula on Wednesday March 09, 2022 @05:09AM (#30612833)
Note that Aseprite is source-available but not FOSS, the license explicitly forbids redistribution. It used to be FOSS at the past though.
Re:Elementary OS is imploding by dwohnitmok on Wednesday March 09, 2022 @05:24AM (#30612928)
I'd be worried about perverse incentives. The company is now incentivized to make the build process more difficult, or at least not incentivized to try to make the build process easier for end users, which goes against the point of open source.
Re:Elementary OS is imploding by tommyage on Wednesday March 09, 2022 @05:38AM (#30613039)
> I'd be worried about perverse incentives. The company is now incentivized to make the build process more difficult, or at least not incentivized to try to make the build process easier for end users, which goes against the point of open source.

Open Source doesn't imply anything on the code. It assumes to benefit from a wide range of people (and outsiders views). Open Source projects, which would reject PRs on improving the build process will suffer contributions in the long run, risking their acceptance in the community. It should aid itself. At least this is the philosophy I proclaim myself :)

Re:Elementary OS is imploding by dwohnitmok on Wednesday March 09, 2022 @05:45AM (#30613091)
> Open Source doesn't imply anything on the code.

No, but if we imagine the incentive taken to the extreme, where you have an arcane build process that makes it essentially impossible for any person who's not on the original team to build the software, then the software devolves to effectively just a source-available project, since the users have no way of actually building their own versions, which also precludes being able to make any modifications even on their own forks.

I guess the major difference vs truly only source-available is that you can still copy and paste chunks of code to use in other projects?

Re:Elementary OS is imploding by moron4hire on Wednesday March 09, 2022 @05:52AM (#30613145)
I am struggling to think of any open source project of any size beyond small NPM packages that I've experienced that do not have an arcane build system. At least all of the ones I've encountered have been incredibly obtuse, to the point that I've mostly just given up. Anything Mozilla, Google, or Facebook writes. Actually, come to think of it, the only open source projects of non-trivial size I've ever been able to build without dedicating several weeks of time to have been from Microsoft.
Re:Elementary OS is imploding by badsectoracula on Wednesday March 09, 2022 @06:48AM (#30613467)
I've built a bunch of software from source myself and pretty much all of it is

    ./configure [options]
    make
    make install
...or the closest equivalent (e.g. some use meson or cmake).
Re:Elementary OS is imploding by dwohnitmok on Wednesday March 09, 2022 @07:13AM (#30613607)
To be fair, these steps can go wrong when the project doesn't make clear that there are a lot of implicit dependencies for the configure step to even work (and then make can sometimes break if those implicit dependencies aren't the expected version).

But to your point, there are a lot of projects for which those steps work just fine.

Re:Elementary OS is imploding by badsectoracula on Wednesday March 09, 2022 @09:03AM (#30614471)
Sure and in fact it did happen with one of the software i was trying to build, but the (first) error is usually along the lines of "cannot open include file foobarlib.h" - so i can search for that library (and many package managers let you search for the header files directly) or "this struct doesn't have that field" (common with -IIRC- libjpeg that at some point made some structs opaque). The latter is a bit more work (fixing the code) but it is also very rare.
Re:Elementary OS is imploding by ModernMech on Wednesday March 09, 2022 @09:18AM (#30614615)
Indeed which is why I like rust so much. The best thing they did was to make every program statically linked, so the build process succeeds 99% of the time. The only time I’ve had it fail for me really is when a project depends on OpenSSL and I don’t have it configured to it’s liking. Those time bring me back to the “make” days when I’d have to spend an afternoon installing some tool with all its dependencies, and even then sometimes I’d sometimes give up in frustration.
Re:Elementary OS is imploding by badsectoracula on Wednesday March 09, 2022 @09:50AM (#30614994)
The problem with static linking is that if all you have is a binary (e.g. closed source program) you do not get any new fixes or features from the libraries you depend on.

For example many early 2000s games that used SDL 1.x can be made to work on modern Linux simply by removing the SDL so file they were bundled with and let them use the one the system provides (most common issue would be audio but also mode setting or full screen support).

This isn't a thing only on Linux btw, SDL games that have an old DLL can also have issues on Windows (in fact a game of mine was like that :-P) but be made to work by simply replacing the DLL with a newer one.

Re:Elementary OS is imploding by ModernMech on Wednesday March 09, 2022 @10:58AM (#30615861)
That’s surely a problem but I try to avoid closed source software for this very reason. Obviously there are a million and one ways closed source software can leave you high and dry, and static linking is one of those but really I think the operative word driving the sadness here is “closed” rather than “static”.
Re:Elementary OS is imploding by badsectoracula on Thursday March 10, 2022 @05:53AM (#30625495)
This can be an issue with open source programs as well from a practical perspective. For example let's say i modified Gtk to use a sane file dialog - i'd rather replace the system installed shared object once and have everything use it rather than recompile everything that uses Gtk.
Re:Elementary OS is imploding by dwohnitmok on Wednesday March 09, 2022 @06:04AM (#30613223)
If I think about the software that I use on a regular basis that I've built from scratch at least once, quite a few of them are fairly straightforward and basically just the two lines I indicated. Just off the top of my head all of these were just those two lines (download build tool then run the install step):

1. Kubernetes

2. git-annex

3. The new generation of replacements for various core command tools (e.g. ripgrep, fd, etc.)

EDIT:

> several weeks of time

Out of curiosity, what projects were those that took several weeks? My presumption is probably very GUI heavy ones?

Re:Elementary OS is imploding by umanwizard on Wednesday March 09, 2022 @07:47AM (#30613842)
I don’t know about weeks, but I remember LibreOffice, Firefox, and Clang all having their own ad hoc build systems requiring some amount of custom configuration.

Debezium is also very Byzantine, or maybe it’s just that I don’t understand maven.

Re:Elementary OS is imploding by ramses0 on Wednesday March 09, 2022 @01:05PM (#30617900)
apt source hello

apt build-dep hello

dpkg-buildpackage ...

https://wiki.debian.org/BuildingTutorial#Building_the_source...

https://ostechnix.com/how-to-build-debian-packages-from-sour...

https://buildd.debian.org/

https://buildd.debian.org/stats/

...all hail distribution package maintainers!

There's a little more to it (deb-src into /etc/apt/sources.list), but it's super-instructive to do it on something like 'busybox' and be able to make legitimate changes to something like 'ls' ... or do it to 'coreutils' and make modifications to the "real ls".

Although the "speed-bump" to being able to build packages for the first time is a bit rough, the benefit is that the documentation is outstanding and the process is pretty seamless for most/all packages, regardless of complexity.

The docs and tools are written by engineers and maintainers for people just like you... an independent consumer/programmer, sitting at their computer, trying to (re-) build a package to add a feature or fix a bug.

The other benefit is that the process is relatively consistent across literally thousands of packages and there's a lot of docs + tools +features to handle almost any scenario that Debian (Ubuntu) supports. If you learn it for one use case, your investment pays dividends across all other packaged software.

Re:Elementary OS is imploding by moron4hire on Wednesday March 09, 2022 @05:46AM (#30613095)
Have you tried building any open source projects? It's not exactly a good landscape to begin with.
Re:Elementary OS is imploding by dwohnitmok on Wednesday March 09, 2022 @05:51AM (#30613139)
It depends on the ecosystem (especially for tools without GUIs, I've found it usually is just two lines at the terminal: one to install the build tool for a given ecosystem and then the other to run it), but sure there are plenty of open source projects which are difficult to build from scratch. However, for most of them this is an acknowledged shortcoming that they try to fix when given the time and resources. It might be a much different world if there was a financial incentive to magnify that shortcoming.
Re:Elementary OS is imploding by Gigachad on Wednesday March 09, 2022 @05:25AM (#30612941)
FOSS can’t really work like this because anyone is free to compile it and stick it in a flatpak or on the distro repos. It only really works for something like iOS where there is only one store.
Re:Elementary OS is imploding by waplot on Wednesday March 09, 2022 @04:56AM (#30612748)
I've seen the pay-for-binaries model in a few places. Not sure if it's scalable since someone can write a build script and share it with the community.
Re:Elementary OS is imploding by gmemstr on Wednesday March 09, 2022 @05:07AM (#30612816)
It depends -- with a community build script, you're relying on (and trusting!) a third party to maintain it and not do anything malicious. Much easier to pay a few bucks for first party binaries. At least in my eyes.
Re:Elementary OS is imploding by Gigachad on Wednesday March 09, 2022 @05:25AM (#30612945)
This is how every distro repo works and likely where you would get that binary from.
Re:Elementary OS is imploding by dikei on Wednesday March 09, 2022 @08:00PM (#30622021)
In Windows, people willingly download shady binary from piracy sites all the time to avoid paying for software.

I think you underestimate the incentive of free (beer) stuffs.

Re:Elementary OS is imploding by torginus on Friday March 11, 2022 @12:29PM (#30643023)
I'm not sure Aseprite is an example to follow - just as they made this license change, a fork of the previous license - LibreSprite - has popped up. It lacks a lot of the features and bugfixes of Aseprite, but hey it's free, and many open source enthusiasts view it as the morally superior version.

This simultaneously shows the weakness of the open-source development model - a non-monetizable passion project can rarely match the quality of something with full-time devs behind it, and probably isn't something that the Aseprite dev(s) are happy about - it sucks to compete against your own product sold for $0.

Re:Elementary OS is imploding by torginus on Wednesday March 09, 2022 @07:43AM (#30613815)
This business model relies on the build tooling being arse, though.

git clone && npm run build is not worth $20 to most people.