Crony's Dungeon
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 9 个月前

Not incorrect.

mander.xyz

message-square
52
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
372

Not incorrect.

mander.xyz

cm0002@lemmy.world to Programmer Humor@programming.dev · 9 个月前
message-square
52
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    29
    ·
    9 个月前

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

    • BeardedGingerWonder@feddit.uk
      link
      fedilink
      English
      arrow-up
      14
      ·
      9 个月前

      Has anyone ported doom yet?

    • stetech@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      9 个月前

      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
        arrow-down
        3
        ·
        9 个月前

        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.

        • stetech@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          9 个月前

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

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

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

            • stetech@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              9 个月前

              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
                ·
                9 个月前

                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
                  ·
                  9 个月前

                  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.

  • 390 users / day
  • 2.91K users / week
  • 6.94K users / month
  • 17K users / 6 months
  • 1 local subscriber
  • 27.3K subscribers
  • 1.74K Posts
  • 53.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org