• Zagorath
        link
        fedilink
        English
        585 months ago

        Lemmy supports subscript! H~2~O~2~ displays as H2O2.

        • @Opisek
          link
          English
          265 months ago

          Now all I want is inline TeX.

          • Zagorath
            link
            fedilink
            English
            135 months ago

            I do quite like how clear TeX is. The curly braces make it completely unambiguous how everything is supposed to be parsed, which means even though it’s a little more awkward to write, it’s still a lot easier to write if your comments are getting more complicated. Plus it’s so much easier for the parsing libraries to get right.

            • @Opisek
              link
              English
              8
              edit-2
              5 months ago

              I just love how universal it is. Sure, it has its flaws, but its strength is how many different applications use it. Once you know how to write TeX, you can express any equation you want clearly and understandably, as opposed to trying to write it with Unicode. Bonus points for how easy it is to add TeX rendering to the web with libraries like KaTeX (my personal favourite) or MathJax. I was able to add TeX support to my blog in 10 minutes.

              I’m a bit of a sucker for TeX as might be apparent from my infodumping. If anyone’s as passionate and doesn’t know of it yet: You should try the https://texnique.xyz game. It’s a timed TeX typing game. I can get up to 70-80 points in it fairly consistently :D

              • @marcos
                link
                English
                45 months ago

                I just love how universal it is.

                Lol!

                Half of the stuff people expect to work is library code that isn’t even bundled at the default TeX context. Most of the symbols don’t even come packaged with the TeX interpreter.

                Somebody should really make a “standard TeX” and LaTeX should adopt it.

                • @Opisek
                  link
                  English
                  4
                  edit-2
                  5 months ago

                  Yes, universal. Many websites, apps, communicators etc. implement a flavour of TeX. They will differ in some more complex features or commands, but your $a^2+b^2=c^2$ will work. And that’s the point. For most times, you’ll just want to communicate some simple concepts.

                  We could do better, for sure. For example, there’s been some development around Typst, which tries to resolve many of those quirks, annoyances, and inconsistencies that come with TeX. It makes sense, since TeX evolved rather naturally and outgrew what it was initially comprised to be. While I’d love to see Typst come far, for now TeX is something that I take for granted, which perhaps better encompasses my thoughts than the word “universal”.

        • @T4V0
          link
          English
          115 months ago

          Works on Voyager at least.

        • qaz
          link
          English
          45 months ago

          Your example is also rendered

          • Zagorath
            link
            fedilink
            English
            115 months ago

            Huh? I know some clients fail to properly display superscript and subscript (which shouldn’t be a problem since it would be the same for my text as for the above text anyway), but I didn’t think there were any clients that would choose to render code snippets as formatted text. Anyway, here’s a screenshot of how it should look:

        • @danc4498
          link
          English
          05 months ago

          deleted by creator

    • @AEsheron
      link
      English
      65
      edit-2
      5 months ago

      The setup is the same as another joke, where the second person asks for H2O too, which the bartender parses as H2O2, and gets served poison.

  • @[email protected]
    link
    fedilink
    English
    565 months ago

    So does the would-be assassin expect the cops to say “Oh he asked for Hydrogen peroxide? Then it must be suicide!”

    • @dohpaz42
      link
      English
      255 months ago

      Only if the victim was Epstein or a Boeing whistleblower. But I digress…

    • @paddirn
      link
      English
      165 months ago

      Or that the bartender will know what he’s talking about and would just serve a customer a glass of hydrogen peroxide as if it were a drink.

    • @pyre
      link
      English
      85 months ago

      they’ll say anything if it means they won’t have to do much

    • @rockSlayer
      link
      English
      145 months ago

      Need a moment to look through the tap menu

      • @jaybone
        link
        English
        -45 months ago

        Don’t most bats not allow teenagers? Unless it’s a restaurant + bar.

        • @unreasonabro
          link
          English
          145 months ago

          in most of the world, the drinking age is 18, and the USA doesn’t matter

        • @[email protected]
          link
          fedilink
          English
          45 months ago

          The USA is the USA and the rest of the world is the rest of the world. There are plenty of bars here where teens and children are allowed, they often come with their parents and get served toasts and juice or a smoothie, while their parents get beers.

  • @OldManBOMBIN
    link
    English
    75 months ago

    Little Johnny was a boy, but now he is no more; what Johnny thought was H2O was H2SO4.

  • @platypus_plumba
    link
    English
    35 months ago

    If I had to present this as an anti-humor joke:

    I’ll have H2O.

    I’ll have H2O… also.

    The water was very refreshing.

  • @Telodzrum
    link
    English
    05 months ago

    Why do Catholics kneel when they pray?

    Because there’s no syn elimination in the chair confirmation.