arp242 / arp242.net

This is my site. There are many like it, but this one is mine.

Home Page:https://arp242.net

Repository from Github https://github.comarp242/arp242.netRepository from Github https://github.comarp242/arp242.net

Typo in 'yaml probaly not so great'

kirk-clover opened this issue · comments

The parsed version of the YAML should be
{13: 'Tilburg', 'Effenaar': 'Eindhoven'}

013 is a popular music Venue in Tilburg, but YAML will send you the wrong way:

{11: 'Tilburg', 'Effenaar': 'Eindhoven'}

https://raw.githubusercontent.com/Carpetsmoker/arp242.net/master/_posts/2016-09-04-yaml_probably_not_so_great_after_all.markdown

013 gets parsed as an octal number, which is 11 in decimal. Try it here: https://yaml-online-parser.appspot.com/?yaml=Effenaar%3A+Eindhoven%0A013%3A+Tilburg%0A&type=json

I'll clarify this a bit, since you're not the first person who got confused by this :-)

Thanks!