5 ms·
Hi dang This was a good test but it failed some key characteristics to make it an excellent test message. You didn't put foo or bar anywhere in the test messa
by mothsonasloth 7y ago
Hi dang
This was a good test but it failed some key characteristics to make it an excellent test message.
You didn't put foo or bar anywhere in the test message.
There was no Cthulhu phrases.
Plus there was no pi or the numerical answer to the universe and everything.
I trust you will take this onboard for the next test.
- battery_cowboy 7y agoAlso, how does he know that number-containing strings will work if the title isn't "Test123"??
- _-___________-_ 7y ago"0123Test" is a better number-containing string for testing, to catch out things that try to interpret the string as a number first and then as a string if that fails. For example, JS's insane parseInt function will give you 123 for "0123Test".
- battery_cowboy 7y agoWow, I learned something in here and I was just "trolling" in the test thread! Thanks!
- yread 7y ago> parseInt("0123Test") 123 > 0123 83 parseInt is actually the adult in the room
- TeMPOraL 7y agoIn a way. The convention is that 0123 is "123" in octal.
- yread 7y agoYes, I know that's why I even tried it in console as I was a bit surprised that parseInt doesn't do octal. Why does js even support octal? I never found octal particularly useful. Speak hexadecimal or die
- sweeneyrod 7y agoBecause C does.
- hurflmurfl 7y ago> parseInt('0123Test', 8) 83 you could do it like this, otherwise it uses the default value for the base parameter.
- TeMPOraL 7y agoThat leading 0 is also useful for the things that try to interpret the string as number first and are able to understand octal.
- DonHopkins 7y agoNeeds more salty Russian Literature references!
- mothsonasloth 7y agoThis is new to me, is there a list of these quotes you can get?
- DonHopkins 7y agoIn the words of the great Netochka Nezvanova: https://web.archive.org/web/20010726003346/http://membank.org/dataset/inter.body/propaganda.html https://web.archive.org/web/20010726003346/http://membank.or... The beauty of a body, any body is both its singular uniqueness as a whole and its existence as a swarming chaotic symphony of smaller worlds; of organs and systems, muscles, bones and organs made up of molecules, of atoms and so on down to the tinniest particle. A world its own and within it multiple smaller worlds; the cardiovascular world, the auricular world moving out from the body, a larger body or world is created by that body and so many others orbiting in a confined space and time i.e. a city, a country, a planet, etc. /\/ d3knztrukz!on v relevant kontrl mdulez . br3vrbt- . m - konzp!rass!_ov-ekualz Netochka Nezvanova f3.MASCHIN3NKUNST smtp55o@m9ndfukc.com 17.hzV.tRL.478 e | | +---------- | | < \\----------------+ | n2t | > e leave - indelible traces on said troubled image\inations. kntent !d :baz!n.ov.atrakz!on [<]
- probably_wrong 7y agoAgreed on all points. Also, it's going to be very difficult for future HNers to find this test because the title is almost unsearchable. This will make it harder for it to grow organically.