• 0 Posts
  • 1.2K Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle

  • tylertoProgrammer Humor@lemmy.mlEvil Ones
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 day ago

    JSON schema is not a standard lol. 😂 it especially isn’t a standard across languages. And it most definitely isn’t an ISO standard 🤣. JSON Data Interchange Format is a standard, but it wasn’t published until 2017, and it doesn’t say anything about 1.0 needs to auto cast to 1 (because that would be fucking idiotic). https://datatracker.ietf.org/doc/html/rfc8259

    JSON Schema does have a draft in the IETF right now, but JSON Schema isn’t a specification of the language, it’s for defining a schema for your code. https://datatracker.ietf.org/doc/draft-handrews-json-schema/

    Edit: and to add to that, JavaScript has a habit of declaring their dumb bugs as “it’s in the spec” years after the fact. Just because it’s in the spec doesn’t mean it’s not a bug and just because it’s in the spec doesn’t mean everywhere else is incorrect.


  • tylerto196@lemmy.blahaj.zoneOperating sysrule
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    It’s a lot simpler to say Linux to keep the conversation going than it is to say Mac is BSD based and therefore is a Unix system and has all the exact same benefits of a Unix based system. There is no joke here, maybe you just like correcting people when they’re trying to have a conversation.




  • tylerto196@lemmy.blahaj.zoneOperating sysrule
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    For me an os needs to do basic stuff by default, not by adding a billion 3rd party apps that inevitably break the next os update because they were using undocumented apis

    So you make up a strawman

    Sure, you can do that with (mostly paid) third party apps, but I don’t like wasting 3 days on setting an operating system in an usable state

    And then add another strawman onto it, in order to make your argument make any sense. None of the programs I listed are paid, they’re all open source, and it’s just as normal as doing any of the apt installs you have to do on Linux.

    Setting up my Mac is literally as simple as running dot from my dotfiles, which sets up every Mac setting, including things like making hidden files visible by default, hiding the Mac Dock by default, and more. On the other hand dealing with windows setup is a pain in the ass.


  • tylertoProgrammer Humor@lemmy.mlEvil Ones
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    JavaScript only has a single number type, so 0.0 is the same as 0. Thus when you are sending a JS object as JSON, in certain situations it will literally change 0.0 to 0 for you and send that instead (same with any number that has a zero decimal). This will cause casting errors in other languages when they attempt to deserialize ints into doubles or floats.


  • tylerto196@lemmy.blahaj.zoneOperating sysrule
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    2 days ago

    Half the people in this thread just have learned helplessness. They think that just because the OS doesn’t support what they want in the very first few seconds of using it that it doesn’t support it at all, yet those same people will spend hours fixing driver issues in Linux no problem. With karabiner-elements, hammerspoon, UnnaturalScrollWheels, and AltTab, you literally get everything you have on Linux and windows and you don’t get any of the jank from the other systems.

    Mac is still terrible for gaming, and you don’t want to be running servers on it, so I actually use all three systems daily, but people consistently complain about Mac like it isn’t a Linux system.



  • tylerto196@lemmy.blahaj.zoneOperating sysrule
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    2 days ago

    Yeah, you take it back in and they fix it. Or you fix it yourself. Just like any other computer. If your issue is something hardware related, Apple will still fix it, it just costs a lot because you’re paying for it in every part of the engineering. You can also go to third party repair shops and have them fix it for cheaper.

    I gave a friend a powermac g5 that I had gotten for free as a teen, gave it to them 10 years ago, and it still works too, it’s just slow. That means nothing.


  • tylerto196@lemmy.blahaj.zoneOperating sysrule
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    2 days ago

    Mac is Linux? You debug it the exact same way, except unlike Linux, you don’t have to worry about 50 different distros, so it’s a lot easier to find solutions. Debugging a hardware issue is just as hard as any other platform… what are you even trying?