Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 1 年前

Not incorrect.

mander.xyz

message-square
64
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
420

Not incorrect.

mander.xyz

cm0002@lemmy.world to Programmer Humor@programming.dev · 1 年前
message-square
64
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    32
    ·
    1 年前

    Assuming you’re talking about HTML5 & CSS it actually is Turing Complete.

    • BeardedGingerWonder@feddit.uk
      link
      fedilink
      English
      arrow-up
      18
      ·
      1 年前

      Has anyone ported doom yet?

    • stetech@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      1 年前

      Wrong. Well, at least incomplete.

      You need user interaction (e.g., clicking on a button) and HTML & CSS for Turing Completeness, apparently.

      • 大きいBOY@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 年前

        It’s a programming language regardless of it’s completeness. You give a computer instructions, in a DSL, it gets interpreted.

        Don’t gate keep.

        • mexicancartel@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          1 年前

          My voyager app is a programming laguage. When i click post, it gets interpreted and sends a comment to the server

          Btw, is english a programming language cuz AI interprets it and does something with it?

        • stetech@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 年前

          Who is “it” which interprets things? Is it part of HTML/CSS?

          • 大きいBOY@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            1 年前

            The browser. When it reads the HTML and creates a DOM based on the provided instructions.

            • stetech@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 年前

              So where in that can I encode an arbitrary program? Like one could do in JavaScript?

              • anton@lemmy.blahaj.zone
                link
                fedilink
                arrow-up
                2
                ·
                1 年前

                Create a table of checkboxes with the rule 110 CSS applied.
                Translate your program to a rule 110 program and put it in the top row of the table.
                Advance the computation by checking the marked (orange in the example) checkboxes row by row.

                Example

                • stetech@lemmy.world
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  1 年前

                  Well yeah, with CSS and user interaction it’s understandable… as I’ve linked above.

                  The question was if this is possible for purely-HTML markup descriptions without CSS nor clicks, and it was a rhetorical one.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 83 users / day
  • 3.28K users / week
  • 7.52K users / month
  • 17.4K users / 6 months
  • 198 local subscribers
  • 31.1K subscribers
  • 2.29K Posts
  • 90K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org