3 ms·
How often do people even encounter this issue? I have been using YAML for 5+ years and have never had it before. Further, I use `yamllint` which points this out
by ashishb 2y ago
How often do people even encounter this issue?
I have been using YAML for 5+ years and have never had it before.
Further, I use `yamllint` which points this out as a lint issue "truthy value should be one of [false, true]".
- rat87 1y agoI have when getting an openapi yaml file from someone else.
- mongol 1y agoHas been encountered where I work. A global website with lots of country-specific config.
- hinkley 1y agoFractions are discriminatory when they happen to one individual or group every time or even just the first time. See also p95 but the same couple of users always see the p99 time, due to some bug.
- ashishb 1y agoIndeed, based on the comments, it is a scissor-bug. Most people never encountered it while some encountered it a lot.
- Y-bar 1y agoNever experienced it for the past 10+ years since the bug was fixed in the spec.
- speedgoose 1y agoI have encountered it once, though I live in Norway and worked in IT there for a decade.
- tetha 1y agoI don't recall encountering the norway problem in the wild. Ansible has a pretty common issue with file permissions, because pretty much every numeric representation of a file mode is a valid number in YAML - and most of them are not what you want. Sure, we can open up a whole 'nother can of worms if we should be programming infrastructure provisioning in YAML, but it's what we have. Chef with Ruby had much more severe issues once people started to abuse it. Plus, ansible-lint flags that reliably.
- peanut-walrus 1y agoI for one did encounter exactly this problem when configuring a list of countries via ansible for geoip whitelisting.
- jeltz 1y agoI have seen it twice but I work in Sweden where we often do things also for the Norwegian market.
- Y_Y 1y agoI don't think false is truthy.