News for hackers. Stuff that matters.

redwolf22

I personally have no problem with Copilot. To me every source should be open for personal use. For commercial use this might causes a problem, Github profiting from established sourcecode under restrictive licenses. For me a neural network is using the same principles as the human brain. A network of cells generating an output using complex logic. Would you disallow a human that has read a copyleft sourcecode file to write code of similar structure? To me the answer is no. So I have no problem with Copilot. This is more of an ethical problem for me than a moral one. Moral wise you could force Microsoft to only train copilot on permissive licensed projects.
Re:Absurd Trolley Problems on Wednesday July 06, 2022 @10:05AM (#32001122)
You could imply that this uncertainty also exists in the trolly problem or you could imply that it does not exist there.
Re:Ask HN: What tone to use in code review suggestions? on Tuesday June 28, 2022 @09:23AM (#31907365)
I would talk it out with the person. Such comments aren't helpful at all, unless the mistake made on that line is obvious.
Lesson learned:

- Don't rely on open source software. It's all FUD. Always use software from companys you can sue by a contract.

- If you need an an open source library to color your console output, pay them 6 figures per year.

SCNR

Re:Please don't use Discord for FOSS projects on Tuesday December 28, 2021 @05:34AM (#29712308)
Ah sorry. I did not see your comment while editing mine to include this argument as well.
Re:Please don't use Discord for FOSS projects on Tuesday December 28, 2021 @05:21AM (#29712224)
Its more likely that they just want the number for Multi-factor authentication. Not that I like, that every site now asks for a phone number. But it is more of a security reason. Otherwise there must be real people involved in oder to restore your account. It also insures that most of the user accounts are no sock puppets. Not every user has access to vast ammounts of mobile phone numbers.

Another great thread, describing this dilemma is "Don't build your castle in other people's kingdoms" https://news.ycombinator.com/item?id=29108662

In discords defense: It was never made for open source projects in mind, but gamers and small private communities. Having a free service provided might come with traps and pitfalls, but I would prefer that over having only paid online services. Choose your poison. I don't think discord is the right choice for FOSS communities.

Re:Structured programming: how to write proper if statements on Friday January 15, 2021 @05:01AM (#25788995)
I disagree. Using this technique will lead to more cyclomatic complexity. I aim to write small methods and readable code. In small methods, there is no problem using early returns. Early returns will also help in the readability, because you can stop reading as soon as you realise, that the method returns here, whereas you have to read the whole method in order to know if some other code is executed.