3 ms·
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 l
by grogenaut 4y ago
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.
- hgsgm 4y agoDebugging 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.
- lmm 4y agoWindows 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 Ś.
- grogenaut 4y agoThis was actually on date/time I believe... we had the date in the path