5,638 karma · joined April 24, 2009
Are you sure about that? Until a few years ago my residential ISP was IPv4 only. I definitely couldn't connect to an IPv6-only service back then.
(Short version of email: Yes please!)
(You might meet PaulRobinson while you're there, looking for the same issues!)
Thanks again for even considering it. Much appreciated! My email address is my HN username at gmail.
I have since contacted the British Library and they have the eight issues I was looking for, but I live way up north and it would take a little planning and spending whole day to get there, but if you'd be willing to do that, yes please. I've narrowed it down to these eight which are in the right timeframe and are missing from the archive.org collection. I do remember my mention was right at the end of that month's column, right before the usual sign-off and the address in Bath to send in contributions.
My email address is my HN username at gmail.
"What does JS stand for?" "It stands for itself."
"And the cook?" "What?"
"The cook wants in on the no-tax-on-tips so we're asking how much you'd like to tip him. We're also going to ask for the cleaner and the guy who delivered the ingredients earlier this morning."
Imagine you ad a standard library string-to-integer parser that didn't know about minus signs. Sure, you could write your own function that wrapped the parser to allow for negative numbers, but wouldn't it be better if the standard library one did it?
Is it though? String-to-float parsers are quite flexible in the range of inputs they allow. "1000", "1E3", "10E2", "0.1E4", "1000.0", "00000001000.00000000000000" all return the same float value. https://dotnetfiddle.net/K08vk5
(See also sibling comment by "someone".)
If your question is "Is this string the canonical representation of some number?" then a parser function on its own is the wrong tool.
For a 32 bit signed integer the limit is 2E9. This means that the exponent is fine 0-8, or if the exponent is 9, then only if the mantissa is 1 or 2. This only works with a single digit mantissa.
For adding more digits to the mantissa, while a robust range check can be done, it gets more complicated. String-to-Integer functions are very conservatively written pieces of code designed to be quick.
Suppose the Table family type their son Bobby's name into a form. The Perl program now has a "tainted" string in memory - "Robert'; DROP TABLE Students --".
The Perl code passes this string through a regex that checks the name is valid. Names can include apostrophes (Miles O'Brien) and hyphens (Jean-Luc Picard) along with spaces and normal ASCII letters, so the regex passes and the string is now untainted.
I have (had) a +1-423 Skype number to receive calls (twice a month or so) that took messages that I could play in the Skype web-app.
I think we can do better by building vats to perform the same chemical reactions those cows perform.
I'll take a cheque.