Firefox 2.0.0.11 Released
BrianAU writes "Firefox 2.0.0.11 has been released, the Release Notes show the only major change as a correction of a compatibility issue with some websites and extensions as discovered in Firefox 2.0.0.10."
← Back to Stories (view on slashdot.org)
No, "I" do not "deserve" to be "fouled-up". There is nothing wrong with ad-hoc analysis.
Furthermore, how is it possible to honor a format? That makes no sense to me. Shall we give the format high rank, respect and dignity?
The format of an IPaddress is specific enough that most times if you see a 4 number set with periods in it, an the values are 0-255, then you can assume it is an IPaddress - in any text. These version numbers break that assumption. It is extremely convenient to strip out IPaddresses out of any text, including structured log files. All sorts of fun statistics and feedback are possible on the command line piping inputs and outputs and creating counts and graphs of locations, frequencies, and such. Yes, this is done ad-hoc. Yes, you might judge it as "half-assed". Usually these are questions that are infrequent - so writing systems that handle corner cases is not worth the time. I posted this message because scripts to identify IPaddresses fails when there are examples of number strings that look like addresses but are not, regardless of the structure of the input source.
Can you explain why you would try to undercut that point by taking one counter-example and asserting that my technique must be flawed?
You sound knowled-e-geable in parsing test. I would love it if you would post a script, runnable in Perl, Python, or Ruby that will parse input text lines from STDIN and spit out IPAddresses to STDOUT, and spit out ALL the IPaddresses (1.0 recall) and as few (or none) of version numbers from software as possible (high precision).
http://en.wikipedia.org/wiki/Precision_and_Recall
Here is the one I've been using since 1998
http://pastie.caboo.se/124182
that now stumbles regualarly on Friefox version numbers.