Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    FUZE4-Quine 150 chars

    Work In Progress
    coding-art philosophy geek
    8
    13
    682
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vinicity
      vinicity F last edited by

      A quine is a computer program which takes no input and produces a copy of its own source code as its only output.

      1 Reply Last reply Reply Quote 2
      • M
        Mechanical last edited by

        I don't really get the point of this... care to explain?

        1 Reply Last reply Reply Quote 0
        • pianofire
          pianofire Fuze Team last edited by

          There is no point really. It is an academic exercise. To write a program that outputs itself

          https://en.wikipedia.org/wiki/Quine_(computing)

          1 Reply Last reply Reply Quote 0
          • spikey
            spikey F last edited by pianofire

            My apologies for giving the impression, this is something useful to know, when learning to code. It is as useless as art. I just explored my geeky side a bit (and I was so proud that it worked :-) because first I thought "oh, an easy one" and then it took me quite a while.

            I just got inspired by this video about

            .

            waldron 1 Reply Last reply Reply Quote 6
            • spikey
              spikey F last edited by

              Ok, I was thinking a long time before posting the next quine. Maybe its gonna cost my reputation points, but hey, Monty Python did not care about reputation points and they made the world laugh. Get ready for #2:

              1 Reply Last reply Reply Quote 9
              • xevdev
                xevdev F last edited by

                That's thinking outside the box. I like that.

                1 Reply Last reply Reply Quote 1
                • waldron
                  waldron F @spikey last edited by

                  @spikey enjoyed that genuinely interested to dive a bit deeper into code thanks for that

                  1 Reply Last reply Reply Quote 1
                  • PickleCatStars
                    PickleCatStars F last edited by

                    Yeah okay that last one got a chuckle from me :)

                    1 Reply Last reply Reply Quote 1
                    • M
                      Mechanical last edited by

                      I have read that you can write ouroboros programs with quines.
                      (snakes that bite themselves)

                      Seems like you can output a Java quine in c++ and convert it back to Java. Dunno what's that worth for but seems funny

                      1 Reply Last reply Reply Quote 1
                      • spikey
                        spikey F last edited by

                        Fix for FUZE 2.15 ;-)
                        a="print(chr(97)+chr(61)+chr(34)+a+chr(34)+a)update()sleep(9)"print(chr(97)+chr(61)+chr(34)+a+chr(34)+a)update()sleep(9)

                        1 Reply Last reply Reply Quote 4
                        • First post
                          Last post