• 6 Posts
  • 1.04K Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle



  • Today, I noticed that my glasses case sticks to my work laptop like a magnet.
    I played around with it for a few seconds, then the thought struck me, that it might be my glasses case that’s magnetic, and I might be fucking up the electronics or the HDD or something by holding it close to my laptop. Pulled away real quick then. 😅

    I did try with my keys later, and well, turns out that it’s my work laptop that’s magnetic, so I guess, I wasn’t fucking anything up after all…







  • its a corp it cant just make claims and not follow on them

    I don’t see why you think that. They can’t wrongly advertise a product, but this is far away from product advertisement.

    Personally, I assume that there will be some flow, because you strictly need that for app development, but that they will try to make that as painful as possible for non-development use, because it helps to eliminate their competition.

    Ultimately, this should even fall under anti-competition laws, but people have no trust in that actually being enforced, at the very least not in a timely manner before the competition is dead. The only instrument we have is shitstorms, so as long as there is any doubt, it is safer to keep the shitstorm brewing.



  • Ephera@lemmy.mltoProgrammer Humor@programming.devTOML
    link
    fedilink
    English
    arrow-up
    1
    ·
    16 days ago

    Well, I assume they had other concerns, too. For example, it adds a bunch of complexity for reformatting a JSON from single-line to pretty-print, if comments can appear in there. I’m certainly not saying that I’m always best friends with the decision to remove comments, just that I can somewhat understand it.


  • I’m always surprised to hear people believe in ghosts, not because I consider it particularly ridiculous, but rather because ghosts have no relevance in my life. I don’t need them to exist to explain what’s happening around me.

    Every few years or so, I might hear a noise where I don’t have an explanation, but that always feels adequately explained by me not knowing things. I’m constantly surrounded by living beings as well as materials that are subject to gravity, temperature, humidity etc.. Occasionally, they’ll make noises quite naturally.


  • Their point is that one could come up with a billion hypotheticals for what might theoretically exist, because we cannot disprove it. If we spent as much time humming and hawing whether each one actually does exist as we do for ghosts, souls, gods, Big Foot etc., then you won’t be doing anything else in life.
    That’s why it’s a typical position to just say that they don’t exist until proven otherwise.

    Or in the more general sense, this is Occam’s Razor: If there’s multiple possible explanations for something, then one should assume the simplest explanation until proven otherwise.
    And if you hear a door slamming shut in your house, then wind is a much simpler explanation than ghosts.


  • Ephera@lemmy.mltoProgrammer Humor@programming.devTOML
    link
    fedilink
    English
    arrow-up
    9
    ·
    17 days ago

    They’re not supposed to contain data, but some parsers will allow you to access what’s written into comments. And so, of course, someone made use of that and I had to extract what was encoded basically like that:

    <!--
        Host: toaster,
        Location: moon,
    -->
    <data>Actual XML follows...</data>
    

    My best guess is that they added this data into comments rather than child nodes or attributes, because they were worried some of the programs using this XML would not be able to handle an extension of the format.



  • Ephera@lemmy.mltoProgrammer Humor@programming.devTOML
    link
    fedilink
    English
    arrow-up
    11
    ·
    17 days ago

    I don’t feel like it will stray very far from what’s dubbed “TOML 0.1” in the meme. Yes, it has inline tables and as of TOML 1.1, they’re allowed to span multiple lines, so it’s technically not anymore illegal to do what’s in the meme. But all things considered, this is still a miniscule change compared to TOML 1.0.