6 ms·
Falsehoods Programmers Believe About Phone Numbers (2016)
- vgatherps 5y agoThere’s another obvious one that seems to be often ignored - users have phone numbers that aren’t formatted like they are where your company is located (looking at you, Silicon Valley). I left the USA, and have had huge amounts of trouble with a non-usa phone number. It ranges from unusable web uis to complete lockout (usually around 2fa).
- treeman79 5y agoA phone one is nursing homes. When selling medical insurance, you may discover that 10-40 people all have the same phone number. Extra attention is needed to ensure your not spamming them.
- Nextgrid 5y ago> Extra attention is needed to ensure your not spamming them. And simply the fact that a phone number can belong to multiple people and thus should not be used as a canonical user ID. Your system should consider phone numbers purely as a contact/second factor method and should allow multiple accounts to share the same number.
- tpmx 5y agoIn Egypt, it is common for phone numbers to be written in native digits. Huh.
- formerly_proven 5y agoMany languages have different symbols for the digits (1, 2, 3, ...).
- Sharlin 5y agoIn this case it may be unexpected because [0-9] are called "Arabic numerals" after all. But Western Arabic and Eastern Arabic numerals have diverged even though they share the same ancestry.
- ainar-g 5y agohttps://en.wikipedia.org/wiki/Eastern_Arabic_numerals https://en.wikipedia.org/wiki/Eastern_Arabic_numerals, I assume.
- tpmx 5y agoYeah, can be seen e.g. here: https://www.egyptair.com/ar/contact-us/Pages/DomesticOffices.aspx https://www.egyptair.com/ar/contact-us/Pages/DomesticOffices...
- taejo 5y agoUnfortunately this redirects to the front page in English for me. I had to set the country to Egypt and language to Arabic before clicking your link again. (And for anyone looking for the numbers, you have to click on the items to see the phone numbers)
- vbezhenar 5y agoAbout #7 (Each country calling code corresponds to exactly one country) and Russia, Kazakhstan. While it's true that +7 corresponds both to Russia and Kazakhstan, following 3 digits uniquely identify a particular country (e.g. +7 701, +7 702, +7 777 are Kazakhstan, +7 499 is Russia). So for this case you can distinguish between those countries, you just have to use a big database of longer prefixes. If this is important for software, of course. Maintaining that kind of database might be hard.
- SebaSeba 5y agoI've been involved in trying to create services and authentication for two web applications with the help of SMS API services from several of the largest international providers of such services. It has been amazing to see how large portion of the authentications SMSs and other messages do not reach the receiver at all. Some numbers don't seem to be reachable at all and some numbers can be reached most of the time, even though the numbers are totally valid mobile phone numbers. At least in Finland this is the case when using the international SMS API service providers.
- SebaSeba 5y agoThis is particularly sad from the perspective of PWAs because in many cases SMSs could act as an easy replacement when push notifications are needed.
- stuffynose123 5y agoFrom their page: An individual has a phone number Some people do not own phones, or do not wish to provide you with their telephone number when asked. Do not require a user to provide a phone number unless it is essential, and whenever possible try to provide a fallback to accommodate these users. How does that apply to gmail? Nowadays you can't register a gmail address if you don't provide a phone number.
- Sharlin 5y agoWell, it's not like it's illegal to require a phone number. Google has simply decided that a phone number is a requirement due to security considerations.
- noduerme 5y agoSecurity has nothing to do with why they want your phone number. Your account is far less secure if it can be stolen with a sim card than if there's no 2fa at all.
- Sharlin 5y agoUm, Google’s ulterior motives aside, how is it less secure to require a physical artifact in order to authenticate? SMS may not be the most secure channel ever, and SIM swap scamming is a thing, but seems to me that breaking even SMS-based 2FA requires quite a lot of effort per victim.
- idiotsecant 5y agoIf I want your account and you have SMS based password reset I can do some social engineering and get in in a couple hours (if multiple tries required). If I want your account and there is no SMS password reset I'm done unless I have previously compromised your backup email.
- Sharlin 5y ago
- abdullahkhalids 5y agoI wish there was a similar list: Falsehoods Programmers Believe About Human Names. Billions of people don't follow GivenName SurName format that is common in the Western English culture. Yet most places online believe this to be true.
- grardb 5y agoShameless plug: I have given a talk about this a couple of times: https://www.youtube.com/watch?v=NfKhY3sAQ9E https://www.youtube.com/watch?v=NfKhY3sAQ9E But also, such a list does exist! https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-...
- arkitaip 5y agoApparently programmers don't know much about anything because there are lots of falsehood lists [0]. [0] https://github.com/kdeldycke/awesome-falsehood https://github.com/kdeldycke/awesome-falsehood
- jiggawatts 5y agoI should start one for "falsehoods programmers believe about colour"...
- notenoughhorses 5y agoI have a - in my name, and while I’m used to websites not accepting this, it’s always interesting which ones give a neutral error like “only letters and numbers allowed” vs an insulting error of “please enter a valid name” when I try to see if their firm will accept my correct name.
- richrichardsson 5y agoThat's quite incredible to learn, so many French (or Belgian/French-Canadian) names contain hyphens. I find it amazing that this wouldn't be taken into account worldwide; who hasn't heard of Jean-Claude Van Damme for instance?
- mikro2nd 5y agoAnother one: Mobile phones always received SMS texts. This may be untrue because of reception issues (phones out of coverage areas or on their fringes) or because the phone number is associated with a non-phone device (e.g. LTE modem) that is not able to deal with SMS traffic. This one is particularly galling for me, as I live in a fringe reception area (because topography happens!) but so many corporate devs labour under the illusion that we can all receive texts, and receive them instantly. This can have serious real-world consequences. (Try telling a certain bank's debt-collection department that text messages delivery is unreliable.)
- SebaSeba 5y agoYes, it's surprising how large amount of the SMSs get lost. At least in Finland this has been the case when using the most popular international SMS API providers. I previously thought also that eventually the messages will be received but have learned otherwise after trying several providers for two different apps. And I have not even found any good explanations for the SMSs getting lost. I think this is sad from the perspective of Progressive Web Applications because often SMSs could act as an easy replacement for push notifications (which are kind of unavailable/unreliable for PWAs).
- thereddaikon 5y agoWhen you realize that SMS is a hack and not a service that was designed from the ground up to do what it does it isn't all that surprising really.
- mikro2nd 5y agoThis is true. However, email is explicitly not a reliable/guaranteed delivery system, so, despite the fact that is is really quite reliable, we keep that in mind when designing systems that make use of that channel of communication. SMS? Not so much. Idiots persist in thinking of it as reliable/guaranteed.
- NateEag 5y ago
- billpg 5y agoFor a long time (and maybe still) you had to have a phone number to register a .com domain. This was a particular annoyance when I wanted to do this but I didn't have a phone number. It was the days before cell phones were really cheap and I used a public payphone whenever I wanted to call anyone.
- aivisol 5y ago18. Phone numbers contain only digits This one was not obvious, but sure it is possible. DTMF [0] encodes digits 0-9, symbols * and # as well as letters A to D. [0] https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_sign...
- zinekeller 5y agoOkay, both * and # do have meanings in certain areas (and still are), but outside of US military (and this is actually already historical, nowadays priority is linked to the specific handset and some lines are always reserved) Priority A (Flash Override (FO), for Presidential use), Priority B (Flash (F), for breaking events), Priority C (Immediate (I), for urgent but non-life and security-threatening events), and Priority D (Priority (P), officers versus ordinary soldiers) are never used because a) due to the possibility of confusion with numbers like 1-800-ALPHABET and b) AT&T have invented Priority signals specifically for US military's use (although standardised now internationally for some reason: https://www.itu.int/rec/T-REC-Q.955.3-199303-I/e https://www.itu.int/rec/T-REC-Q.955.3-199303-I/e).
- grantla 5y agoIf we are talking about phone numbers for humans - maybe true. Phone network routing numbers can and do contain A-E.
- zinekeller 5y agoI mean, for the purposes of `libphonenumber`, PrioA-D is not used. Also, as far as I know most things are sent out-of-band anyways, but I wouldn't be surprised if there's some legacy system out there which work only on DTMF.
- bpicolo 5y agoLove libphonenumber. Have taken advantage of it for every company I’ve worked at across half a dozen languages. The APIs are designed such that you need to dig into the subtlety of phone numbers a bit, which is really great.
- jiggawatts 5y agoMy gimmick with it was to wrap it in a PowerShell module and then use it to clean up the phone numbers in Active Directory. It's oddly satisfying seeing a bunch of randomly formatted phone numbers suddenly convert to perfectly aligned, nice clean international standard format numbers.
- wildmanx 5y agoUm, I didn't believe any single of those.
- bckdjsnfjd 5y agoClearly you're not a programmer.
- wodenokoto 5y ago> An individual has a phone number > Some people do not own phones, or do not wish to provide you with their telephone number when asked. Do not require a user to provide a phone number unless it is essential, and whenever possible try to provide a fallback to accommodate these users. Does anyone know how to create an Apple ID without a phone number?
- yardie 5y agoSomeone should send a copy of this to the Microsoft Teams group. If you want to signup with your personal account to Teams you need a unique phone number. Not a unique email, a unique phone number. Someone else registered to Teams with your same number, you can't sign in. Have kids and they need to attend an online class, you can't sign in. Also, their solution is for you to simply get another phone number, hopefully one that isn't being used by a Teams account.
- scrollaway 5y agoTIL about Universal International Freephone Numbers (+800 country code) https://en.wikipedia.org/wiki/Toll-free_telephone_number#Universal_International_Freephone_Service https://en.wikipedia.org/wiki/Toll-free_telephone_number#Uni...
- France_is_bacon 5y agoThis drives me up the wall. I have tried to conduct business with companies many times, but they require that I have a mobile phone - Looking at you, Stripe, as well as other companies doing the same that I've had problems with. I do not own a mobile phone, because the f-ck if I am going to give some company my location for my entire life. Thanks, but no. It's just how I roll. I also never been on social media from the start for the same reasons. People called me paranoid back 15 years ago, but now I just laugh when I see people losing jobs and careers from a careless post 20 years ago. Nope, not me, no to social media or mobile phones or any other tracking devices. And no, I will never buy a car with tracking on it. I'll continue to buy older cars before I do that. So, I have a VIOP, but these companies do not allow using my VOIP. Or a burner phone either. So now I might have to break down and get one because so many companies are starting to require it, so I might get a Mint Mobile phone as it is $15/month. I'll get mobile phone with a removable battery and when not using it I'll remove the battery and sell as store it in a Faraday bag, in case removing the battery doesn't work, and then on top of all that I will leave the phone in my office and never bring it anywhere or use it ever except for those rare circumstances when I need to verify I'm me. Try tracking me now, bitches. But it pisses me off that I will have to spend $250 for a phone and a year's worth of air time for nothing. Fluck you, Stripe, and other companies requiring a mobile phone.