Re:I couldn't debug the code because of my name
by kspacewalk2 on Thursday October 21, 2021 @12:58AM
(#28940455)
I find the very idea of putting an exclamation mark on one's username and not expecting eventual problems to be quite curious.
Re:I couldn't debug the code because of my name
by nextaccountic on Thursday October 21, 2021 @01:26AM
(#28940653)
I find the idea of expecting names from other cultures to follow the customs of one's culture to be quite curious.
https://shinesolutions.com/2018/01/08/falsehoods-programmers...
(but, in any case, this discussion here on HN https://news.ycombinator.com/item?id=18567548 provides some nuance)
Re:I couldn't debug the code because of my name
by kspacewalk2 on Thursday October 21, 2021 @09:38AM
(#28944161)
It should not cause issues. For regular users, it should be an expectation that, in well-written software, it won't cause issues. But in our world of power+ users... It will cause issues. It just will. Maybe in some number of decades that won't be the case, but it's irrelevant right now.
Re:I couldn't debug the code because of my name
by yjftsjthsd-h on Thursday October 21, 2021 @01:34AM
(#28940710)
With your programmer hat on, sure. But as a user and annoyed programmer, it's a disgrace that the contents of your username is treated as anything but a totally opaque string. It's like saying that of course putting semicolons into web forms will break them: not novel, still horrifying.
Re:I couldn't debug the code because of my name
by jmopp on Thursday October 21, 2021 @01:15AM
(#28940572)
The Nama language has a letter that is often replaced with an exclamation mark in common typography. The lead actor in the film The God's Must be Crazy was named N!xau ǂToma
Re:I couldn't debug the code because of my name
by skrebbel on Thursday October 21, 2021 @02:13AM
(#28940970)
When you start a Windows computer for the first time, Windows gives you a text box and asks you to choose a user name. It does not explain in detail what this means or what it is for.
Does it really surprise you that people are going to type just about anything into that box that it will allow?
Re:I couldn't debug the code because of my name
by vincnetas on Thursday October 21, 2021 @02:13AM
(#28940969)
i recommend reading this "Falsehoods Programmers Believe About Names". world is crazy place if you expect some system in how people name each other and are writing it down.
https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-...
Re:I couldn't debug the code because of my name
by edaemon on Thursday October 21, 2021 @01:10AM
(#28940540)
It can be used to indicate a click sound in some languages and the IPA. Probably not the most common reason to come across this bug but it's a case worth considering.
Re:I couldn't debug the code because of my name
by mkotowski on Thursday October 21, 2021 @08:15AM
(#28943304)
Quite a lot of languages use ! or ? as a letter. For example in Canada: https://en.wikipedia.org/wiki/Question_mark#Indigenous_langu...
Re:I couldn't debug the code because of my name
by account42 on Thursday October 21, 2021 @09:04AM
(#28943793)
That looks like an example of languages using ? to represent a different but similar looking character.
Re:I couldn't debug the code because of my name
by retrac on Thursday October 21, 2021 @10:40AM
(#28945134)
! is actually used as a regular letter with a phonetic value to write quite a few languages in Africa, usually representing a click sound. It's even in the name of some of them: https://en.m.wikipedia.org/wiki/%C7%83Kung_languages
Re:I couldn't debug the code because of my name
by bluecatswim on Thursday October 21, 2021 @02:45AM
(#28941172)
Really? If someone asked you if exclamation marks in usernames would cause problems before you were aware of this, would you have said yes? It's a very common special character, it's not like it's a control character or some obscure unicode thing. Besides, it's a common thing to add to usernames outside of services where you use your real name.
Re:I couldn't debug the code because of my name
by kspacewalk2 on Thursday October 21, 2021 @09:43AM
(#28944223)
Absolutely, I would have said yes to the question "do exclamation marks have the potential to cause problems in some piece of software or other, the likelihood going way up with the number and the obscurity of software you use on this machine".
Re:I couldn't debug the code because of my name
by fencepost on Thursday October 21, 2021 @01:28AM
(#28940671)
Whether this seems like an issue may depend on whether it's a significant character on OSes you've used.
Re:I couldn't debug the code because of my name
by pvillano on Thursday October 21, 2021 @08:40AM
(#28943545)
well, a username can reasonably be limited to [a-zA-Z0-9_] but a name field should take Unicode
Re:I couldn't debug the code because of my name
by selfhoster11 on Thursday October 21, 2021 @02:33AM
(#28941099)
I just find it annoying, much like the fact that Unix shell still has trouble dealing with spaces in things.
Re:I couldn't debug the code because of my name
by GoblinSlayer on Thursday October 21, 2021 @04:21AM
(#28941796)
Simply install the game into %ProgramData%
The bug in question [0] was reported in 2001 and remains unsolved 20 years later.
[0] https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4523159