News for hackers. Stuff that matters.
Re:Why modern software is slow by jiggawatts on Thursday September 29, 2022 @10:45PM (#33030273)
> licensing it so that they couldn’t even look at it

https://github.com/cmuratori/refterm/blob/main/LICENSE

It’s just GPL 2.0, what are you talking about!?

Are Microsoft employees vampires that will burn up instantly if they merely glance at GPL code or something?

This is sour grapes nonsense from Microsoft. “We don’t like your tone so we won’t even dignify your argument by considering it.”

At one point an MS employee said they would love to fix their code as suggested by Casey but he refused to even look at the YouTube video!

“I would love to hear your arguments but I refuse to listen to the sound of your voice.” is next-level dismissive.

Re:Why modern software is slow by naikrovek on Thursday September 29, 2022 @11:13PM (#33030455)
> just GPL 2.0

perhaps you are not familiar with what the GPL requires of its users, and how wildly incompatible that is with what a company like Microsoft does.

Microsoft employees are forbidden from looking at GPL code (as well as other virally licensed code) because they may unwittingly reproduce some GPL code they saw in a large Microsoft codebase.

If that happens, and they are taken to trial over it, and lose, that entire codebase is now GPL. This is enough of a risk to them that MS employees have computers which simply can not view GPL code.

that is also why they would not watch the video; it isn’t about his voice, it is about the code visible on stream. additionally, watching a video of GPL code being written could be perceived as an attempt to circumvent the restrictions on viewing GPL code, and would likely get the viewer into trouble.

you not already knowing this bothers me a lot, given all the things you’ve said in this discussion. you are making a lot of assumptions that are just not true and basing your opinions on the belief that those assumptions are true.

this is very similar to why software at microsoft is as bad as it is generally; a lot of people assuming they know things they don’t know, and producing results which are more flawed than they needed to be.

Re:Why modern software is slow by seba_dos1 on Friday September 30, 2022 @12:04AM (#33030789)
There's no reason other than lack of will for something like Windows Terminal to not be GPL compatible. The limits Microsoft places upon themselves are results of their own conscious choices.

Also, Microsoft employees work on GPL2-licensed Linux just fine, so something seems off in your story.

Re:Why modern software is slow by naikrovek on Friday September 30, 2022 @12:38AM (#33031016)
other Microsoft libraries are used in Windows Terminal, optionally in code form. cmd.exe is in the same source tree, and other proprietary code of Microsoft's relies on that code; it's a non-zero portion of the command-line stuff that ships in Windows.

stuff that is not Windows Terminal but that lives in the Windows Terminal repo on GitHub gets shipped with Windows.

so, yes, there are very good reasons they can't license Windows Terminal via GPL.

WSL kernel folks get that repo whitelisted.

Re:Why modern software is slow by seba_dos1 on Friday September 30, 2022 @12:58AM (#33031166)
None of what you said inherently prevents GPL licensing. I'm not sure you understand the implications of GPL license at all.

Also, it's not just WSL people who work on GPL software inside Microsoft. I guess they are magically expected not to subconsciously reproduce any GPL code in their work ever ;)

Re:Why modern software is slow by naikrovek on Friday September 30, 2022 @08:14AM (#33033838)
you're right, nothing i said inherently prevents GPL licensing, but the existing license terms of the code they write themselves and license from others does inherently prevent GPL licensing. I thought that was clear, but apparently I need to be more deliberate with my comments.
Re:Why modern software is slow by jiggawatts on Thursday September 29, 2022 @11:24PM (#33030518)
IF THEY COPY IT VERBATIM.

They're free to look at the approach and simply rewrite it.

They'd have to anyway to fit in with their codebase.

Re:Why modern software is slow by forgotpwd16 on Friday September 30, 2022 @03:50AM (#33032171)
>They're free to look at the approach and simply rewrite it.

If by "look at the approach" you mean the "look at the code", then no. You're giving a step for your code to be considered a derivative work. If by "look at the approach" you mean someone read the code, made a specification, and then someone else that hasn't looked the code, made a program based on the specification, then yes. But arguably this isn't "simply rewrite".

Those aren't even baseless considerations. ReactOS project had paused development due to concerns that derived (read: rewritten) parts of leaked Windows code may have been used. It took years for ReactOS to show that everything was in fact a clean-room implementation (basically doing what wrote above). If they hadn't, they'll have made themselves open to be sued by Microsoft.

Re:Why modern software is slow by naikrovek on Friday September 30, 2022 @08:20AM (#33033882)
can you, as a lawyer for Microsoft, make a guarantee to the business that if allowed, a software developer at Microsoft who works on the Windows source code will not ever reproduce a method they saw in a GPL codebase in the code they write for their job?

You can not. So what do you do to prepare for a lawsuit which alleges that you've copied GPL code into the Windows codebase? You have technical and legal barriers in place so that those developers can't see GPL code where you can control that, and make them promise that they won't do anything to compromise the license of the Windows code that they work on. Technical and legal (read: contractual) measures to prevent this are the defense that one needs to have in order to defend against a case like this, in court.

So, because you, as a Microsoft attorney, can't guarantee that GPL code won't be reproduced verbatim in any quantity in the Windows codebase, you do what you can to dissuade your developers from looking at GPL code.

please think for 2 seconds on your own and I won't have to ELI5.

Re:Why modern software is slow by ikiris on Friday September 30, 2022 @12:06AM (#33030795)
Do you just not understand copyright? That is totally in violation.
Re:Why modern software is slow by the_af on Friday September 30, 2022 @12:13AM (#33030845)
Wait, I'm also confused. I thought completely rewriting the implementation of an algorithm would not violate copyright. It may run afoul of other laws, but not copyright. Am I mistaken?

I don't mean simply renaming variables or changing a couple of lines.

Re:Why modern software is slow by ikiris on Friday September 30, 2022 @12:47AM (#33031082)
It does, but only if you can show its not a derivative work. See also the concept of clean room reimplementation.
Re:Why modern software is slow by kragen on Friday September 30, 2022 @05:15PM (#33040898)
"Derivative work" doesn't mean "a work made with knowledge of another work". WP explains, "In copyright law, a derivative work is an expressive creation that includes major copyrightable elements of an original, previously created first work (the underlying work)." Canonical examples include translations into another language, dramatizations of novels, or phonorecords of sheet music.

Algorithms, being purely functional, are not copyrightable in any country that I know of. So a new implementation that uses the same algorithm as the original, but without copying any of its non-functional aspects, is not a derivative work of the original and does not infringe its copyright.

Cleanroom reimplementation is a defense against allegations of copying, because under, for example, US copyright law, access plus substantial similarity is sufficient to show copying. The "He's So Fine" lawsuit is one of the most extreme examples of this doctrine. Cleanroom reimplementations are a defense against copying by eliminating the access element. But copying the functional aspects of a program does not meet the "substantial similarity" bar.

Re:Why modern software is slow by seba_dos1 on Friday September 30, 2022 @12:20AM (#33030892)
> Am I mistaken?

No.

Re:Why modern software is slow by jcelerier on Thursday September 29, 2022 @11:50PM (#33030691)
Uh, no. You cannot e.g. listen to a Radiohead song and "look at the approach and simply rewrite it" for instance if you want to be entirely clear of copyright liability - same applies for software.
Re:Why modern software is slow by the_af on Friday September 30, 2022 @12:12AM (#33030834)
Isn't copyright about copying verbatim (or with trivial enough changes that it remains recognizably the same) large enough sections of the protected work?
Re:Why modern software is slow by jcelerier on Friday September 30, 2022 @12:20AM (#33030887)
At least not in my country (France). At the very least changing the pitch, and rhythm and interpretation of a melody is not enough to make it an original work there.

To give a very concrete example: french singer Claude François made the song Comme d'habitude: https://youtu.be/avr5nvY4wxg

It was translated and rewritten a few times but he still is recognized as one of the copyright owners on those covers, e.g. https://youtu.be/qQzdAsjWGPg which are definitely not just a mechanical rewrite of the original score

Re:Why modern software is slow by seba_dos1 on Friday September 30, 2022 @02:41AM (#33031715)
There's a difference between creating a derivative work and analyzing how something is done in order to create something new based on that knowledge. You can make songs in style of Led Zeppelin that sound like they could be written and performed by Led Zeppelin without violating any copyrights (and to be able to do that you obviously need to know some Led Zeppelin songs beforehand), but you can't take "Dazed and Confused", change the guitar solo and part of the lyrics and call it done...

Well, at least unless you end up as big as Led Zeppelin was before someone catches you, I guess ;)

Re:Why modern software is slow by jcelerier on Friday September 30, 2022 @08:56AM (#33034220)
> Well, at least unless you end up as big as Led Zeppelin was before someone catches you, I guess ;)

Are you talking about the Led Zeppelin who get entangled in judicial pursuits for plagiarism every couple years? If it was as clear cut as you say it is it would never reach any judge.

There is even one case where someone was condemned for not copying any specific song but the general style of another musician : Pharrell Williams had to pay 5M to the Marvin Gaye estate because of this

https://rpjlaw.com/blurred-lines-copying-songs-musical-style...

https://www.jonesday.com/en/insights/2018/07/blurred-lines-b...

Yes, this is extremely shitty but this is the world we live in

Re:Why modern software is slow by seba_dos1 on Friday September 30, 2022 @09:30AM (#33034586)
> Are you talking about the Led Zeppelin who get entangled in judicial pursuits for plagiarism every couple years?

Yes, I intentionally mentioned a song "by Page – inspired by Jake Holmes": https://en.wikipedia.org/wiki/Dazed_and_Confused_(song)#Led_...

> The Ninth Circuit stated that the appeal was decided “on narrow grounds” and that the “decision does not give license to copyright a musical style or ‘groove.’”

What a pile of bullshit. I wasn't aware of that case.

Re:Why modern software is slow by seba_dos1 on Friday September 30, 2022 @12:09AM (#33030815)
Of course you can. That's what a huge chunk of art ever created does. You're only (potentially) in trouble when you make it obvious.
Re:Why modern software is slow by userbinator on Thursday September 29, 2022 @11:58PM (#33030738)
No, otherwise authors of books would be suing everyone who read them and learned their ideas.
Re:Why modern software is slow by Ygg2 on Thursday September 29, 2022 @10:54PM (#33030334)
> Are Microsoft employees vampires that will burn up instantly if they merely glance at GPL code or something?

More like will legal drain life from developers if they hear they looked at GPL code.

We had to switch DB drivers because legal didn't want to deal with GPL. Imagine writing code based on it...