• go $fsck yourself
    link
    fedilink
    English
    71 month ago

    It looks like this is a photo taken by a potato of a magazine photo that was taken by a potato

  • @absGeekNZ@lemmy.nz
    link
    fedilink
    English
    111 month ago

    Well what the fuck is a machine language?

    Is is data transmitted between parties (machines) to convey information? HTML fits this definition.

    Do they mean machine code? Because some call machine code “machine language”.

    Either way the answer is D.

  • @MyNamesTotallyRobert@lemmynsfw.com
    link
    fedilink
    46
    edit-2
    1 month ago

    I fucking hate these kinds of questions. D is the CORRECT answer because TECHNICALLY html is a markup language and not a programming language but the average person irl will just call you a dipshit for trying to explain that. If this were a question on a shitty academic exam, its going to be a 50/50 toss up on which will get counted as correct because the Autograder Bot Knows All™ but you better not fucking use AI to get your low effort AI-generated homework done quicker because fuck you.

    • @tfm@europe.pub
      link
      fedilink
      71 month ago

      Thought exactly the same. I’d like to know how the legal side would look like. Let’s say you say D. Could you go to court if they say it’s wrong?

    • Fushuan [he/him]
      link
      fedilink
      81 month ago

      Bro if someone called me a dipshit for a technicality in a contest where money is at stake? They are a dipshit. Being serious about the questions is the point.

      • QubaXR
        link
        fedilink
        91 month ago

        A “Markup Language” to be precise. HyperText Markup Language.

        Yea my parties are the best parties, too.

  • @selkiesidhe@lemm.ee
    link
    fedilink
    351 month ago

    That question just gave me anxiety. That is exactly the type of question I would get. Technically it’s not but does the people who wrote that think that? Is it a trap question or a smart question? Omg I gotta not think about this anymore…

    • Camelbeard
      link
      fedilink
      21 month ago

      Exactly, maybe the person who wrote it thinks its a programming language, maybe machine language is defined as a language that can be interpreted by a machine.

  • @lugal@lemmy.dbzer0.com
    link
    fedilink
    61 month ago

    Is Machine Language even a well defined thing? I would think of assembly but I don’t know where to draw the line

  • @Rooty@lemmy.world
    link
    fedilink
    71 month ago

    WYSIWYG has been around so long that people forget markup languages and batch text processing have been around for a long time. LaTeX and Groff seem to be the sole survivors.

  • @Guidy@lemmy.world
    link
    fedilink
    751 month ago

    It’s right there in the name: it’s a markup language. Hyper Text Markup Language. HTML.

    • @chonglibloodsport@lemmy.world
      link
      fedilink
      171 month ago

      Don’t worry. They interview you before these shows. If you’re at all tech savvy then they would never ask you this question. They want you to be stumped by the question for legitimate reasons, not to loudly protest that you’ve been cheated by a bad question.

    • @Ethalis@jlai.lu
      link
      fedilink
      751 month ago

      It’s basically gambling on the nerdiness of the question’s writer. Do they think HTML is a programming language? Do they know that people think it’s a programming language and trying to trap them? Do they know it’s not a programming language but also know most people would think it is one and so are using the common, loose definition of a programming language in order not to trap people?

      My brain would melt

      • Ephera
        link
        fedilink
        English
        71 month ago

        If the question writer was aware, they would have formulated the question differently. It’s just not clear-cut whether HTML is a programming language or not, so you wouldn’t be quizzing their knowledge, but rather just whether they hold the same opinion as you. Or whether they meta-gamed correctly. Neither of which make for a fun show…

      • @Honytawk@feddit.nl
        link
        fedilink
        181 month ago

        Mine wouldn’t.

        It is a quiz, they know what they are talking about if they put the question in. And if they don’t, you get to call out the quiz master for being wrong.

        • @jaybone@lemmy.zip
          link
          fedilink
          English
          291 month ago

          But I’d rather have the million dollars than the satisfaction of calling out the show for being wrong.

          • Fushuan [he/him]
            link
            fedilink
            81 month ago

            I would challenge the question right there and demand an expert counsel to explain why HyperTextMarkupLanguage is classified as a programming language when it’s not even Turing complete. It’s a markup language. Security would have to drag me, I’d die on the specificity hill.

    • @Simulation6@sopuli.xyz
      link
      fedilink
      41 month ago

      How is Hyper Text Markup Language not a programming language? Now JavaScript and CSS are arcane rituals, but html is well behaved.

      • Shirasho
        link
        fedilink
        101 month ago

        It is in the name. It is a markup language, not a programming/scripting language.

      • @AndyMFK@lemmy.dbzer0.com
        link
        fedilink
        231 month ago

        How is it a programming language? It’s a markup language. There’s no logic, variables or any way to manipulate data.

        • @thesystemisdown@lemmy.world
          link
          fedilink
          English
          11 month ago

          It’s right there in the name, but then there’s CFML, which is unpopular, but it definitely features logic, variables, and data manipulation.

          • @invertedspear@lemm.ee
            link
            fedilink
            21 month ago

            CFML walks the line, but it exists to make HTML in a programmatic way, and be very approachable to non-programmers. It’s not really a markup language, it’s a programming language disguised as markup.

    • I would loudly go on the record for my reasoning that Hypertext Markup Language is not Turing Complete, and therefore fails to be a programming language by the only academic and theoretical definition that matters.

      They already are going to award me “lawyer up” money, so I’ll come after them for damages later if B is the "right’ answer.

        • @nef@slrpnk.net
          link
          fedilink
          English
          211 month ago

          It can also include inline JS. HTML alone cannot be turing complete, but HTML+CSS is.

          • Ziglin (it/they)
            link
            fedilink
            English
            51 month ago

            CSS can be included as a style property without requiring the script/style tag though.

            • Fushuan [he/him]
              link
              fedilink
              51 month ago

              I can write a .ini code where a value of a key is a binary that the interpreter runs. Are ini files a programming language? Hell no, and neither is html.

              Is R a compiled programming language because several of its built in functions run compiled C code? No.

              • Ziglin (it/they)
                link
                fedilink
                English
                11 month ago

                The point in that case would be that while not intended it could be used as a programming language. The R example seems unrelated. Every language must run compiled code at one point or else the CPU wouldn’t know what to do.

            • @filcuk@lemmy.zip
              link
              fedilink
              141 month ago

              Those are still two different languages. HTML isn’t an umbrella term for HTML+CSS in any form.

  • I don’t even know why it wouldn’t/shouldn’t be considered a programming language. It’s a language, and it’s used to code instructions for something… What more does it need?

    • @Venus_Ziegenfalle@feddit.org
      link
      fedilink
      English
      201 month ago

      When I tell you it’s gonna sound obvious but it’s because you don’t use it to write programs. It’s a formatting tool more than anything.

    • @tfm@europe.pub
      link
      fedilink
      41 month ago

      With a programming language you tell a computer what to do. With a markup language, which HTML is, you tell a computer what to show. Much different.

      You wouldn’t want to mix them up. The precise distinction is what the web makes so beautifully scalable.

        • @bstix@feddit.dk
          link
          fedilink
          4
          edit-2
          1 month ago

          Well, you can’t make Tetris in HTML without including some other language that has loops and variables.

          I’m also not sure if you can do it in Excel without using VBA, which is a programming language. Excel doesn’t do circular logic in the document sheets.

          Anyway the issue or joke is the lack of definition of “programming”.

          HTML is a text encoding system. It’s not that different form something like the Morse code. It’s only instructions for how to decipher a series of codes. It takes input and presents it as an output, starting from the beginning and working its way to the end.

          In my very unofficial opinion, a “program” is something that is able to “run” by itself, so that the code itself has instructions for which part of the code to run.

          If you decipher a morse code, it doesn’t suddenly have instructions that force you to go backwards in the code and decipher from there or to jump to different sections. The text output might tell you to do so, but if you follow the text, then you’re doing something else than deciphering morse code.

          HTML works the same. It start from the top and interprets its way down. It can have some conditional statements, but nothing that will make it go backwards and rerun the same instructions again.

          The interpretation is of course more advanced than Morse code and it can call other languages to do stuff, so HTML is basically a document describing a job procedure in that way. The individual jobs can be reoccurring tasks, but the document itself isn’t.

          So in my opinion it’s not “running” anything. It’s just a document being printed on screen.

          I’ll admit that “one-shot” programs are a thing, and documents with variables do exist, so it’s not clear cut. A programming language should be capable of those things though, and HTML isn’t one on its own.

            • @bstix@feddit.dk
              link
              fedilink
              11 month ago

              Good to know.

              It seems kind of half assed though.

              I’ve only used it briefly to access the filesystem. Having to paste code into the reference field in the name manager is a special kind of masochistic practice.

              • @filcuk@lemmy.zip
                link
                fedilink
                21 month ago

                It’s a huge pain, especially considering selection shortcuts are overwritten.
                I dont work with Excel anymore, but there are python scripts on github to help with lamba management via export/import.

        • @Honytawk@feddit.nl
          link
          fedilink
          101 month ago

          We aren’t talking about Excel, but about Word.

          We do that to explain that HTML is nothing more than to display text in a certain layout, just like a Word document. The only difference is that Word is designed to be printed, while HTML is designed to display on a website.

          Also, exclude VBA as well as macros. VBA is a programming language.

        • @jimmux@programming.dev
          link
          fedilink
          11 month ago

          Simon Peyton Jones is about as big an expert on programming languages as you can get, and he’s on the record as saying Excel is a functional programming language.