• 0 Posts
  • 268 Comments
Joined 3 years ago
cake
Cake day: June 21st, 2023

help-circle

  • So if I take a glass, fill it with cream, and put ice on top, am I now eating ice cream?

    Even if I decided to call it that, you’d probably tell me that no one else would think of that as ice cream, even if I call it such or even if it’s the technically correct name, and that arguing that it is ice cream is very pedantic for no discernable reason.








  • Or by configuring your parser.

    I do agree there are plenty of annoyances that shouldn’t exist in YAML but do because someone had an opinionated belief at one point, though. For example, it shouldn’t try to guess that “yes”, “no”, “y”, and “n” are truthy values. Let the programmer handle that. If they write true/false, then go ahead and consider those truthy. Times can also be a bit of a pain - iirc writing 12:00 is supposed to be interpreted as 0.5 - but at least that’s something you can work around.

    But there’s plenty in that article that are only problems because the writer made them problems. Every language lets you make mistakes, markup languages aren’t any different. It’s not a bad thing that you can write strings without quotes. It’s not forcing you to do so. Anchors also make it simple to reuse YAML and they’re completely optional. The issue with numbers (1.2 stays as 1.2 while 1.2.3 becomes "1.2.3" is very nitpicky. It’s completely reasonable for it to try to treat numbers as numbers where it can. If type conversion is that big of an issue for you, then I really doubt you know what you’re doing.

    On top of all this, YAML is just a superset of JSON. You can literally just paste JSON into your YAML file and it’ll process it just fine.

    I’m not saying it’s perfect, but if you want something that’s easy to read and write, even for people who aren’t techy, YAML is probably the best option.


  • It doesn’t have to be fire stations. But they are commonly used for a few good reasons.

    They’re relatively ubiquitous. It shouldn’t be hard for someone to locate a fire station. They’re almost always staffed 24/7. They’re trained on basic first aid. Quite often, they’ll even have medics on staff.

    Very importantly, though, they don’t have a lot of people coming in and out of them. One of the big benefits of this program is that there are zero questions asked and it’s as anonymous as you wish. The people who use these are often afraid they’ll be judged as a failure. The lockboxes have a built-in time delay so you can leave before the station is alerted.







  • droans@lemmy.worldtoMicroblog Memes@lemmy.worldHuh
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 months ago

    Oxford states that the first known use of Gypsy was in 1514. It was popularized by Edmond Spenser and Shakespeare and has its entomological root from the Middle English word gypcian due to the misbelief that Romani people were from Egypt.

    So, to answer your question, no. The only Europeans in the Americas at this time were the Spanish.