1,434 karma · joined December 9, 2020
I'd reckon that in a language where stuff is done by indentation but optional braces exist that are just ignored so many errors would also have been caused by braces being misplaced by the programmer to queue other programmers who thought some scope happened as a consequence but the compiler disagreed due to the indentation, which by the way was caused by tabs and spaces being mixed in the code and it not properly showing up for another programmer with tab with set differently.
Also, famously `do { x ; y ; z }` is just syntactic sugar for `x >> y >> z` in Haskell where `>>` is a normal pure operator.
There are many other examples. It exists to give people freedom. Also, while humans only go by intendation it's very hand for text editing and manipulation without requiring special per-language support to move the cursor say to the nearest closing brace and so forth.
Yes, just as the idea of “We will start anew because the codebase is a mess and this time we'll make it clean.”. 10 years ago, whenever I saw something like that I would've said that person has zero actual experience working as a programmer. I've seen teams go through this multiple times but at the end, the new codebase when all the features are added is just as much of a mess as the old, at best a slight improvement. People who say this just underestimate the scope. But these people have experience. They're just optimistic and full of wishful thinking maybe?
> See, I don't think you're giving them enough credit. Or is it too much credit? These are not stupid people. I say they do understand this, they just don't care about your time enough to do anything about it.
I disagree. I've talked with many of those people both online and in real life who don't understand that for most people time has value. They really just don't get it. They're not stupid; they just don't really think about it that way and don't have much to do in their lives aside from this one specific hobby.
Others said in this thread that Wayland in many ways was more so trying to solve issues for developers than for users and that's true.
Well, we also enjoy the issues. When you talk to them they are extremely uncompromising in practice and extremely tribalistic. I think “tribalistic” is maybe a better word for what I feel is an issue. “Not invented here syndrome” reigns supreme in open source and in general it's full of extreme fanboys who aren't willing to admit anything is wrong with “their tribe” and aren't willing to acknowledge any issue whatsoever and defend everything to the death.
The opposite is also just as true though. Many of the users and figureheads will believe everything is wrong with “other tribes” and refuse to acknowledge any of the merits and good ideas.
Proprietary developers have no allegiance but to money and there's something to be said for that. They just work for a company because it pays them and will switch to another company when they get a better contract there and in many ways that makes far less loyal and thus level headed about many things when talking to them.
Prophetic words were once spoken and mocked long ere.
The issue is that free software is fundamentally a political thing and it seems to attract very political people who treat software like an ideology rather than a product who are out to wage war.
By comparison, Rust with its edition system understands this.
But this is the major issue. They don't understand that even if Wayland had feature-parity with X11. The simple fact that it works differently means that if I am to migrate I would have to rewrite a tonne of scripts that hook into X11 that just organically grew over time that I've now become dependent on for my workflow. It has to be substantially better and have killer features for me to switch and yes, fractional scaling per-monitor is that killer feature for many, but not for me, and the simple fact that XMonad runs on X11 and not on Wayland is a killer feature for others.
The real issue with Wayland and “setting back” isn't what the article says, but just that like 15 years was taken just to get Wayland on semi-decent feature-parity with X11 during which time development on X11 came to a standstill. That time could've been used to improve X11 and it's still not real feature parity.
And part of it was just the devs refusing to believe that people needed those features. I talked with them around 2010-ish and about some of the things they cut out claiming that no one ever used them. These were things related to mouse acceleration that is pretty essential to video games and image editing, certain forms of screen capture, various things with fonts and color management that are essential to many professionals and they actually believed that no one used those things. Eventually they came around and added many of those things back in, in doing so basically making many of the initial security promises complete void again but so much time has been put in what isn't much of an improvement to justify the time spent on it.
The line is quite thin and ambiguous though. If they want to get someone they will and find that various remarks “encourage violence”.
Almost any opinion that isn't nice can be argued to encourage violence.
Also, the existence of crippleware, where companies actually invest resources into removing features from a product is interesting. It would be interesting if we were to live in a world were both advertisement and crippleware are forbidden. It's already forbidden in many jurisdictions for various public function professions such as medical services or legal services so it's not as though it couldn't be implemented.
No, just if you want it to be used with anything that isn't that exact same GPL licence.
> Otherwise, when releasing your project under GPLv3+, you don't have to put blind faith into the FSF; you can designate a proxy which will decide whether the new version should be allowed for your project or not. This proxy can be yourself, or it can be a different organisation you choose to trust. Plus, I'm pretty sure the GPL allows you to make linking exceptions of your liking.
That's the same as just licencing under the GPLv3 and later retroactively deciding to also give the GPLv4 option when liking that licence. The issue is, what if you don't? Then your code can't be combined with any GPLv4 library.
The simple reality is that crates that have incompatible licences, and GPLv2 and GPLv3 are incompatible, cannot be used together in one distributed project without committing copyright infringement. The thing with MIT is that it's compatible with about every single licence out there.
If one library be GPLv2 and the other GPLv3 they couldn't be used together in one project. LGPL solves nothing because it's all statically linked anyway. And yes, one could licence under both under the user's choice but then GPLv4 comes out and the process repeats itself, and yes one could use GPLv2+ but people aren't exactly willing to licence under a licence that doesn't yet exist and put blind faith into whoever writes it.
Using anything but a permissive licence is a good way to ensure no one will lose your library and someone will just re-implement it under a permissive licence.
C is a completely different landscape. Libraries are larger and the wheel is re-invented more often and most of all dynamic linking is used a lot so the LGPL solves a lot.
I think a big issue is also that it's hard to show actual damages with this kind of copyright violation. It's obviously copyright violation but what damages are there really? Also, there are so many dubious cases where it's not clear whether it is a violation or not.
Even the paid professionals often started to work for free and then were hired by some company and the reality is that someone who is good at something and willing to do it for free is either a very good Samaritan, or there is some other issue at stake and in the end prominent free software figures often have fairly heated public keyboard wars over things with each other and most of all seem strangely fiercely loyal tribalists who suffer from an extreme case of n.i.h.-syndrome.
This really feels like they first decided they wanted to make their own distribution for no reason, and then went to search for the niche for it to fill which is the wrong way to do it. Usually someone, who typically does not do anything else at the moment, realizes there is a certain niche that needs to be filled and then decides to make a distribution that fills that niche.
The idea of a distribution for this specific purpose is best left in the hands of some organization with experience with this specific purpose, not KDE whose experience is developing desktop environments.
How exactly is it “awkward” for them and how exactly does distributing this in any way improve the development process of KDE? They can't even dogfood it obviously.
In fact, from what I understand it is in fact not really Gentoo based but Portage-based, as in they for the most part write their own ebuilds and software and from what I know have their own custom init system and display system that's not in Gentoo but they found that Portage was simply very convenient for automating their entire process. The claim that “gentoo is just Portage” is not entirely true, there's still a supported base system that's configured as offered by Gentoo but it's far more flexible than that of most systems of course, granting the user choice over all sorts of fundamental system components.
You will also rarely build a better implementation of these things than whatever is in the standard library or even some other library that already exists. If anything, it's better to, if one have a better idea, to contribute one's patches there.
As for overflow, the reality is that most compilers simply assume it won't happen at this point. They do this because the consumers want it because it simply generates far faster code being able to assume that it won't happen. Yes, people often come with pathological examples to show why this is a bad idea of ridiculous optimizations being made no one expects because compilers assume it won't ever happen, but those are pathological, in practice it really comes down to loops. In many loops, compilers having to assume that loop variables can overflow in theory disables all sorts of optimizations and elisions and in practice they won't overflow and if they overflow that's an unintended bug anyway.
Obviously a a very basic example is a loop adding some counter value to a counter and stopping when the counter is past a certain value. Assuming that integers can overflow, and that thus adding a value can make the counter less than what it used to be in theory obviously disables many optimizations in streamlining the logic. Just in general, assuming overflow can't occur means being able to make the assumption that adding a positive integer to another integer will always produce a larger integer than the original, that is a very powerful assumption for optimizations to be able to make obviously, assuming that overflow can happen removes it that's why it's undefined behavior. Compilers are free to assume it will never happen.