Crony's Dungeon
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 1 year ago

Not incorrect.

mander.xyz

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

Not incorrect.

mander.xyz

cm0002@lemmy.world to Programmer Humor@programming.dev · 1 year ago
message-square
52
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • stetech@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    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
      ·
      1 year ago

      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
        ·
        1 year ago

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

        • 大きいBOY@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          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 year ago

            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 year ago

              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 year ago

                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.

  • 1.37K users / day
  • 3.19K users / week
  • 6.36K users / month
  • 15.6K users / 6 months
  • 1 local subscriber
  • 29.7K subscribers
  • 1.91K Posts
  • 59.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org