News for hackers. Stuff that matters.
Re:CheatGPT by grogenaut on Monday February 20, 2023 @06:37PM (#34874383)
One of the smartest I ever felt was hearing some teammates a cube wall over saying "this one customer from poland says he's crashing a lot" (in our ui). I was like "is he in the polish locale/language? They asked.... yes... "I bet polish has different seperators and our split("/")[1] is crashing"... they checked, had him change to english, crash went away. I felt real yoda like. We had customer on chat so much easier to debug.
Re:CheatGPT by hgsgm on Monday February 20, 2023 @06:44PM (#34874440)
Debugging is easy when you know you are coding incorrectly.

But why would Polish have a different path separator? That's a filesystem choice not a language choice.

Re:CheatGPT by lmm on Monday February 20, 2023 @07:04PM (#34874643)
Windows uses 0x5C as the path separator, and the character rendering of that codepoint is locale-dependent (most famously in Japanese encodings it's ¥). Apparently in most Polish encodings it's still \, although there's one obscure one where it becomes Ś.
Re:CheatGPT by grogenaut on Monday February 20, 2023 @07:08PM (#34874680)
This was actually on date/time I believe... we had the date in the path