triarius

joined 1 year ago
[–] triarius 12 points 1 year ago* (last edited 1 year ago) (4 children)

They scanned open source repos and made an LLM out of it. Now companies can profit from open source code without contributing back to the ecosystem. The only contribution they make is the money they pay to Microsoft for Copilot. So Microsoft is profiting from OSS code and stifling its community.

Does this outweigh the free hosting of the code? IDK

[–] triarius 2 points 1 year ago

Agreed, this reads like a list of things I miss from rust when I'm writing go to me.

[–] triarius 14 points 1 year ago (1 children)

It was Google, they Embraced, Extended, and Extinguished it with Google Chat. Then they killed that themselves.

[–] triarius 2 points 1 year ago

I think the meat being more prominent in the second one is subjective. If I were writing a method to do something like this with ifs, I would handle the edge cases first and return early from them. The meat would be what's left after the edge cases. So this lines up with the first form.

[–] triarius 6 points 1 year ago* (last edited 1 year ago) (1 children)

I see so many educated people not realising this. The maths involved is something we learnt in ~ 5th grade, and I distinctly remember doing exercises on marginal rates in primary school in maths class. It's even simpler than compound interest - which is a staple of maths class later on.

Yet so many people say there's a problem with the education system that it doesn't teach practical skills like these. It clearly does, kids just don't remember it. Maybe it's because they don't need to use this knowledge until almost a decade later.

[–] triarius 4 points 1 year ago

They're interchangeable for branches. Checkout works with arbitrary refs like commit hashes and tags as well. For these, switch needs the --detach flag. You can also use it to create a new branch from the current commit with ’git switch -c $branch_name’.

[–] triarius 5 points 1 year ago (2 children)

That's basically what their evil.py file is. So they're essential complaining that co-pilot forced them to have follow a good practice.

[–] triarius 6 points 1 year ago

In mod 3 they're all 0.

view more: ‹ prev next ›