@tedmielczarek @junebug my god, this time it really was the compiler
×
@junebug somebody DEFINITELY asked chatgpt what -1^2 does
@lunalapin @junebug i lost all hope when you said this because i know this is what happened

@junebug how. what.

Like I guess surely the answer somewhere involves them letting an LLM change stuff but like

fucking hell the software industry is just like completely self-destructing at the moment in its quest to deskill and destroy the idea of expertise isn’t it

@junebug
V I B E
C O D I N G
C# Math.Pow(-1, 2) doesn't output correct value on Windows 11 Insider Preview, Canary channel (27881.1000) · Issue #117233 · dotnet/runtime

Description The following is copied with extra bits from https://aka.ms/AAwwjwl (Feedback Hub) to raise awareness of this issue: Hello, I'm a contributor to osu! (https://github.com/ppy/osu). A use...

GitHub
@antoinechambertloir @DeltaWye @junebug
I love the “for some odd reason” on the bug report!

@antoinechambertloir @DeltaWye @junebug
Of course, it's not.

This is Microsoft we're talking about. The company known for its very high standards of QA and for being behind marvels such as WinME. If anything, we should be impressed that it's not BSOD-ing randomly when you try to call `std::pow(-1,2);`

@dryak @antoinechambertloir @DeltaWye @junebug While working in banking for a decade or two, and looking after the quant (pricing) libraries, I can tell you that I formed very low opinions of M$'s ability (~NT4 times) to count up on its fingers and toes. We had to write our own versions of common key maths functions to be able to price and trade...

@antoinechambertloir @DeltaWye @junebug
In the linked issue:

If you need to contact us better, joining the osu! Discord server would be best (https://discord.gg/ppy).
Just to underscore the absurdity

Join the osu! Discord Server!

The only official osu! server. Focused on developing and improving the game and community. | 52318 members

Discord
@junebug yeah it was definitely AI
@junebug am i the only one to question these labels

@junebug (-1)^2 = -1
By definition, i^2 = -1
Therefore, i = -1

That'll make a lot of complex analysis a lot easier, right?

@junebug surprised that std:: doesn't have a public test suite, and that std::pow(-1, 2) isn't one of the obvious operations to assert on
@junebug "Why were they messing with pow()" really is the sharp edge of that question set. Like. Forget how they messed up doing it, WHY WERE THEY IN THERE? Did the team at Multiplication push a new major version?

Wasn’t it Microsoft that recently tried to use vibe coding on .NET runtime? Well, they seem to actually use it as extensive as they said.

https://github.com/dotnet/runtime/issues/117233

/cc @fefe_interim

C# Math.Pow(-1, 2) doesn't output correct value on Windows 11 Insider Preview, Canary channel (27881.1000) · Issue #117233 · dotnet/runtime

Description The following is copied with extra bits from https://aka.ms/AAwwjwl (Feedback Hub) to raise awareness of this issue: Hello, I'm a contributor to osu! (https://github.com/ppy/osu). A use...

GitHub
@teilweise @fefe_interim though as said in that thread, the root issue is in the C runtime, not the .NET runtime

@cinebox As I said: They seem to actually use it as extensive as they said. (They said “maybe 20 to 30 percent of the code that is inside of our repos today in some of our projects are probably all written by software”)

Seems like they went all in, no longer using it for some projects but everywhere: .NET runtime, base frameworks written in C, drivers, Windows kernel, …

@junebug how the fuck do you break something as basic as pow ​