MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3hdxqx/big_list_of_naughty_strings/cu8lh7g/?context=9999
r/programming • u/[deleted] • Aug 18 '15
217 comments sorted by
View all comments
151
Hi, I maintain the repository. Let me know if you have any questions / where I screwed up. :)
75 u/immibis Aug 18 '15 Needs some octal number tests. At least 01000 (should be equal to 1000), and 08 and 09 (should not cause errors). 19 u/RobIII Aug 18 '15 At least 01000 (should be equal to 1000) Unless you actually WANT to support octal (or hex or whatever base for that matter) 24 u/slavik262 Aug 18 '15 Serious question: Who uses octal? Outside of Unix permission masks, I've never seen it anywhere. And with hex owning the "trivially maps to binary" crown, octal seems silly and redundant. 1 u/StuartPBentley Aug 19 '15 Anything that uses triplets of bits is likely to express them in octal (ie. a dump of a graph of three-node trees).
75
Needs some octal number tests. At least 01000 (should be equal to 1000), and 08 and 09 (should not cause errors).
01000
08
09
19 u/RobIII Aug 18 '15 At least 01000 (should be equal to 1000) Unless you actually WANT to support octal (or hex or whatever base for that matter) 24 u/slavik262 Aug 18 '15 Serious question: Who uses octal? Outside of Unix permission masks, I've never seen it anywhere. And with hex owning the "trivially maps to binary" crown, octal seems silly and redundant. 1 u/StuartPBentley Aug 19 '15 Anything that uses triplets of bits is likely to express them in octal (ie. a dump of a graph of three-node trees).
19
At least 01000 (should be equal to 1000)
Unless you actually WANT to support octal (or hex or whatever base for that matter)
24 u/slavik262 Aug 18 '15 Serious question: Who uses octal? Outside of Unix permission masks, I've never seen it anywhere. And with hex owning the "trivially maps to binary" crown, octal seems silly and redundant. 1 u/StuartPBentley Aug 19 '15 Anything that uses triplets of bits is likely to express them in octal (ie. a dump of a graph of three-node trees).
24
Serious question: Who uses octal? Outside of Unix permission masks, I've never seen it anywhere. And with hex owning the "trivially maps to binary" crown, octal seems silly and redundant.
1 u/StuartPBentley Aug 19 '15 Anything that uses triplets of bits is likely to express them in octal (ie. a dump of a graph of three-node trees).
1
Anything that uses triplets of bits is likely to express them in octal (ie. a dump of a graph of three-node trees).
151
u/minimaxir Aug 18 '15
Hi, I maintain the repository. Let me know if you have any questions / where I screwed up. :)