Post 9yEpPMTrosuAGwhfAe by jaj@mastodon.social
(DIR) More posts by jaj@mastodon.social
(DIR) Post #9yEoKKwY0aQM6O9ssS by mastsec@noc.social
2020-08-18T06:08:26Z
0 likes, 0 repeats
YAML: probably not so great after all (and please, stop using it)https://www.arp242.net/yaml-config.htmlhttps://dev.to/jessekphillips/stop-using-yaml-3kecAgree?
(DIR) Post #9yEpPMTrosuAGwhfAe by jaj@mastodon.social
2020-08-18T06:20:32Z
0 likes, 0 repeats
@mastsec It's horrible. I abandoned setting up travis ci correctly because of yaml
(DIR) Post #9yEsFUBKdGYF7i13M8 by zensaiyuki@mastodon.social
2020-08-18T06:52:22Z
0 likes, 0 repeats
@mastsec “strict yaml” was created specifically to address the criticisms here. I wonder if it really goes far enough.
(DIR) Post #9yEzzkXArmOwq5EwLY by Steinar@snabelen.no
2020-08-18T08:19:08Z
0 likes, 0 repeats
@mastsec I probably shouldn't answer, since I have really, really disliked YAML ever since I browsed the spec the first time. Too complex, too many attempts at “Do What I Mean” instead of focusing on clarity. Or, as a friend likes to point out:# ruby -e "require 'yaml'; print YAML::load \"- YES\n- NO\""[true, false]%
(DIR) Post #9yF034IlpLHV145LUm by Steinar@snabelen.no
2020-08-18T08:19:46Z
0 likes, 0 repeats
@mastsec I probably shouldn't answer, since I have really, really disliked YAML ever since I browsed the spec the first time. Too complex, too many attempts at “Do What I Mean” instead of focusing on clarity. Or, as a friend likes to point out:# ruby -e "require 'yaml'; print YAML::load \"- YES\n- NO\""[true, false]
(DIR) Post #9yF05MCIGMTT669B7A by Steinar@snabelen.no
2020-08-18T08:20:08Z
0 likes, 0 repeats
@mastsec I probably shouldn't answer, since I have really, really disliked YAML ever since I browsed the spec the first time. Too complex, too many attempts at “Do What I Mean” instead of focusing on clarity. Or, as a friend likes to point out:# ruby -e "require 'yaml'; print YAML::load \"- YES\n- NO\""[true, false]
(DIR) Post #9yF0ASBrPNtD8GNIJM by Steinar@snabelen.no
2020-08-18T08:21:05Z
0 likes, 0 repeats
@mastsec I probably shouldn't answer, since I have really, really disliked YAML ever since I browsed the spec the first time. Too complex, too many attempts at “Do What I Mean” instead of focusing on clarity. Or, as a friend likes to point out:# ruby -e "require 'yaml'; print YAML::load \"- YES\n- NO\""[true, false]Which works really “great” for country codes if you have Norway in your data...
(DIR) Post #9yF1BHjBtPtKvYvPWa by Steinar@snabelen.no
2020-08-18T08:32:26Z
0 likes, 0 repeats
@mastsec I probably shouldn't answer, since I have really, really disliked YAML ever since I browsed the spec the first time. Too complex, too many attempts at “Do What I Mean” instead of focusing on clarity. Or, as a friend likes to point out:# ruby -e "require 'yaml'; print YAML::load \"- YES\n- NO\""[true, false]Which works really “great” for country codes too if you have Norway in your data...
(DIR) Post #9yFPe1suH5Oh5Wi0Po by 2ck@qoto.org
2020-08-18T13:06:32Z
0 likes, 0 repeats
@mastsec eh. any time I see these "stop using X" arguments, my counter is the same: unless "X" is literally malware, I'm not going to remove it from consideration just because it has limitations: all tools due.
(DIR) Post #9yHh2tKZIlS3Kr0YzY by electricsand@hackers.town
2020-08-19T15:30:57Z
0 likes, 1 repeats
@mastsec "did you know there are nine ways to write a multi-line string in YAML"[ Perl would like to know your location ]