Hacker News new | ask | show | jobs
by Drbble 5199 days ago
It's obviously possible to encode all phone numberd, since, you know, your landline doesn't have a dial button, but calls connect.

Timezone data is a (smaller) mess, but that has been encoded in a library.

1 comments

I very well might be mistaken. But I don't buy it.

My landline is constantly connected to the operator. My totally clueless understanding of this voodoo box called telephone is that each digit is passed on to 'the system', initiating a call when I hit a valid number (or resulting in an error tone).

I do not believe that it is possible (outside of the telephone network) to encode this information. You could create a huuuuge snapshot (a digital phone book..?) and by the time that data is on any device you care about it's already out of date.

Sorry, I don't believe you and don't think that it is obvious.

Edit: Stole the idea of checking the wikipedia link for DE from the UK sibling thread. See:

https://en.wikipedia.org/wiki/+49

Note things like

" (0xxxx) xxxxxxx

In area codes that use four digits, newly assigned numbers (for all locations from May 2010, some cities earlier: e,g, Heidelberg already in May 2003) have a length of seven digits, also yielding a total length of eleven digits. Grandfathered numbers may be as short as three digits (seven total) in very rural areas."

Reread the last sentence. Not feasible. End of story. You know if a number is valid if you try to call it.

You could say 'aaah, but new numbers follow scheme X so lets just have a database (phonebook) of all current numbers first and fallback to the rule later'. No idea if that would work and how it reacts to someone canceling his contract for one of these gazillion 3 or 4 digit numbers.