• 1 Post
  • 687 Comments
Joined 3 年前
cake
Cake day: 2023年6月28日

help-circle


  • You have it mostly backwards. XML has like 40+ types that are all standardized. JSON only has the basic JS types. XML is a superset of JSON when it comes to types.

    How would you represent a double float, or binary data, or a datatime in JSON. You would have to use strings in JSON. In XML you would use the xsd:double, xsd:binary, and xsd:dateTime.

    JSON only works if you think in JavaScript. For languages with more complete / complex data systems it does not do unless you resort to the string thing.

    For your information:

    Easier to read: https://www.ibm.com/docs/en/jfsm/1.1.2.1?topic=queries-xsd-data-types

    The official spec: https://www.w3.org/TR/xmlschema-2/

    As for validation I think “right tool for the right job” is the best approach here. How do you know your validator is validating correctly? That’s the beauty of XML. Validation is part of the spec. XML is more complicated, but only because it’s more capable than json. Just like protobuf is more complicated than JSON. It’s also more complicated and not centered on JSON types.




  • I mean this in the most caring way I can. That way you describe things reminds me of an ex I had that had suicidal thoughts and tendencies.

    I’m not saying your case is similar, but staying alive just because there is a feeling of letting people down if you don’t, was a red flag that helped my ex get into therapy and eventually a medication that improved their life.

    Just a thought. Healthy brains don’t generally don’t wish for death, only holding back due to guilt. In the case of my ex it was a chemical imbalance that was able to be fixed.

    Again not saying this is the case for you. But the way you talk here really reminded me of some important talks I had with someone going through a very particular mental health situation.












  • mholiv@lemmy.worldtoGaming@lemmy.worldThe steep descent
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    18 天前

    But at the time the concept of a hero shooter didn’t really exist. You had things like dota and league of legends. You also had things like cs go. All of which were not really hero shooters. Team fortress was closer but it was just cs go with humor and abilities added across 5? Characters. Not the modern select from X champs across 12 genres that the modern hero shooter has.

    Overwatch really was the popular birth of the hero shooter.

    The idea at the time was you could play your call of duty hero vs a western hero for the first time while a player playing a turret building hero prepped the area.

    The tropes were tropes but it was a unique at the time arrangement.

    It was balanced in my experience. Other teamhad a niche hard to kill set up? Your team reacts by changing what hero’s you use. There was always something that would work. No set of 6 would be perfect vs all other possible sets of 6.


  • mholiv@lemmy.worldtoGaming@lemmy.worldThe steep descent
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    19 天前

    The OG one time purchase version of Overwatch 1 was top tier in my book. 40 USD got me a game that I got hundreds of hours out of. Maybe thousands.

    Rereleasing Overwatch as Overwatch 2 was just bilizzard realizing they didn’t want to miss the live service boat. They microtransactioned and season passed the crap out of the game and re released it again while shutting down the original.