Giter Club home page Giter Club logo

Comments (81)

mame avatar mame commented on June 1, 2024 1051

Why not? Why not? Why not?

from quine-relay.

i336 avatar i336 commented on June 1, 2024 264

WHYYYyyyyyy

Source

Was the first thing I thought of. Love this project

from quine-relay.

jmorais avatar jmorais commented on June 1, 2024 255

not because it is easy but because it is hard

from quine-relay.

dsoprea avatar dsoprea commented on June 1, 2024 226

It's awesome and inspired.

Computer Scientists and generally-terrific engineers often choose to do examples that are largely academic in nature because that engineer (or maybe -any- engineer) hasn't yet encountered that class of problem. They do this because the question can present a challenge to efficiency or elegance, or even defy a solution completely.

Often times, the journey produces lessons along the way that can be applied to other problems. On occasiona, it's a trainwreck that produces little fruit. However, when the answer is found, you might find new ways to do old things. If the answer is elegant, you can put another star next to your name attesting to the fact that there is one more question that you've never backed-down from, and answered beautifully.

I, for one, was astounded to find that, not only could he loop through fifty different languages, but that he ended up at the same code with which he began. This is a testament to how fundamental/efficient that each transient result was: there was no additional gibberish was produced by any specific one, which would likely produce more gibberish at one or more downstream steps.

As far as practicality is concerned, there is often a need to produce any number of libraries for programmers to develop against. The best of us find a way to define a structure that we can then permute to whatever language is required. Apache Thrift produces such a mechanism for client-libraries.

Thanks for doing this, Gabriel.

from quine-relay.

hauzer avatar hauzer commented on June 1, 2024 137

Autism.

from quine-relay.

mengzhuo avatar mengzhuo commented on June 1, 2024 72

Sheldon Cooper would say "Because we can"

from quine-relay.

Gabrielmtn avatar Gabrielmtn commented on June 1, 2024 56

George Mallory would say: "Because it was there"

from quine-relay.

i336 avatar i336 commented on June 1, 2024 48

image
Source
Just found this and immediately thought of this project

from quine-relay.

vccabral avatar vccabral commented on June 1, 2024 46

from quine-relay.

RoyTinker avatar RoyTinker commented on June 1, 2024 38

Because a quine is itself a fundamental problem type. Try writing one sometime -- a program in any language that prints its own source code. The most basic quine type prints a single line to stdout. Level 2 is to output source code to a .png file or some other format requiring additional processing. Level 3 is to build a mutual quine -- two programs that output each other's source code, in different languages.

Somewhere out there, there is level N. This is where the practitioner has achieved an unimaginably high level of mastery, so high that those who are still on early levels can't yet imagine the types of problems the master has not only met, but solved. Those who understand the difficulty of levels 1 and 2 can only stand back and gape at the incredible demonstration of mastery that is before them. That's what this project is.

Why should the top jiu jitsu master or world-renowned musician give a public performance? The answer is the same -- because mastery ought to be seen and appreciated.

from quine-relay.

phyw avatar phyw commented on June 1, 2024 30

mengzhuo, i would a button "like" for the comments.

from quine-relay.

mdesantis avatar mdesantis commented on June 1, 2024 27

"Why?" Because it's beautiful and funny. It's "nerd art" :-)

from quine-relay.

pczarn avatar pczarn commented on June 1, 2024 26

β€” Why, Mr. Anderson? Why, why, why? Why do you do it? Why? Why get up? Why keep fighting? Do you believe you're fighting for something? For more than your survival? Can you tell me what it is? Do you even know?

Is it freedom or truth?! Perhaps peace?! Could it be for love?! Illusions, Mr. Anderson, vagaries of perception! Temporary constructs of a feeble human intellect trying desperately to justify an existence that is without meaning or purpose! And all of them as artificial as the Matrix itself, although only a human mind could invent something as insipid as love! You must be able to see it, Mr. Anderson! You must know it by now! You can't win! It's pointless to keep fighting!

Why, Mr. Anderson?! Why?! WHY DO YOU PERSIST?!

β€” Because I choose to.

from quine-relay.

kaminskypavel avatar kaminskypavel commented on June 1, 2024 24

ultimate derping.

from quine-relay.

shas0408 avatar shas0408 commented on June 1, 2024 23

67049550

from quine-relay.

captainpete avatar captainpete commented on June 1, 2024 19

🌷 🐒

from quine-relay.

thierryrene avatar thierryrene commented on June 1, 2024 16

this is a piece of art!

from quine-relay.

rtheo avatar rtheo commented on June 1, 2024 15

Amazing achievement truly.
The next logical step of course would be to make this into a 100-step loop performing also some calculation like adding up from 1 to 100. That would be enough of a proof for the existence of Quine Combinators!

from quine-relay.

YossiCohen avatar YossiCohen commented on June 1, 2024 15

image
So naΓ―ve...

from quine-relay.

sheharyarn avatar sheharyarn commented on June 1, 2024 13

"Because I can, bitches!" πŸͺ

from quine-relay.

jkremser avatar jkremser commented on June 1, 2024 13

πŸ‘

from quine-relay.

Ranguna avatar Ranguna commented on June 1, 2024 13

After 6 years, this is still an open issue.

from quine-relay.

seclorum avatar seclorum commented on June 1, 2024 11

The skill required to accomplish this task is moderately high. And once you've done it yourself a few times, you will finally know the answer why:

Because it is immediately satisfying to gaze into ones navel and see the entire universe.

from quine-relay.

nishadhsingh avatar nishadhsingh commented on June 1, 2024 11

Either you die an Engineer or, you live long enough to see yourself become an academic .

from quine-relay.

dreamyguy avatar dreamyguy commented on June 1, 2024 10

Be cause

from quine-relay.

prijindal avatar prijindal commented on June 1, 2024 10

One of the applications can be to encrypt a program
Let's say someone writes program in X and quine it and convert it to Y which can't be used to give back the original code untill run through some kind of custom compiler

from quine-relay.

xypnox avatar xypnox commented on June 1, 2024 7

β€œThe reason anyone would, which they can't, is because they could, which they can't.” - Rick Sanchez

from quine-relay.

zarlo avatar zarlo commented on June 1, 2024 6

we do what we must because we can

from quine-relay.

 avatar commented on June 1, 2024 5

Because:

Programming is all about knowing when to boil the orange sponge donkey across the phillipines with an orangutang gorilla crossed with a ham sandwich to the fourth power of twelve across the nile with an awful headache from the previous night when all of alfred's naughty jalapeno peppers frog-marched the nordic elves across the loom-lined geronimo induced swamp donkey over and above the fortran fortified kilomanjaro fence past the meticulously crafted anti disgusting sponge cake scenario where all the hats doth quoteth the milk which is not unlike the super werewolf from the infinite realm of ninja-step. it's hard to define, really.

source: https://discourse.codinghorror.com/t/why-im-the-best-programmer-in-the-world/1341/20

from quine-relay.

pawlik avatar pawlik commented on June 1, 2024 5

We do what we must because we can

from quine-relay.

devalih avatar devalih commented on June 1, 2024 4

Shit happens

from quine-relay.

DaCuteRaccoon avatar DaCuteRaccoon commented on June 1, 2024 4

Because why not have an issue that questions why or why not why or why not, "Why or why not should we have the repo?"

from quine-relay.

chapmanjacobd avatar chapmanjacobd commented on June 1, 2024 4

to sell more RAM πŸπŸ’΄πŸ’΄πŸ’΄πŸ’΄πŸ’΄πŸ’΄

from quine-relay.

seclorum avatar seclorum commented on June 1, 2024 3

Why? Because. Because why? Because why because.

from quine-relay.

Ismael-VC avatar Ismael-VC commented on June 1, 2024 3

Beacuse it ...:feelsgood:!

from quine-relay.

amerllica avatar amerllica commented on June 1, 2024 3

So why? πŸ€”

from quine-relay.

RavianXReaver avatar RavianXReaver commented on June 1, 2024 3

goddammit! I love it!!!!

from quine-relay.

adamnejm avatar adamnejm commented on June 1, 2024 3

We don't ask why, we ask why not.

from quine-relay.

devmike01 avatar devmike01 commented on June 1, 2024 3

This is the craziest issue I have ever found on Github. I love it

from quine-relay.

busybox11 avatar busybox11 commented on June 1, 2024 2

I love the fact that this issue is still opened for no apparent reason.

from quine-relay.

Nahor avatar Nahor commented on June 1, 2024 2

Because the chicken wanted to cross the road.

from quine-relay.

 avatar commented on June 1, 2024 2

Now if we add text-to-speech, it could recite it's own source code to Google Home and ask Amazon Alexa to compile and run it.

from quine-relay.

nrdevau avatar nrdevau commented on June 1, 2024 2

This is honestly a beautiful thing. I look forward to learning a new language by looking at the language I know now and seeing what's different! πŸ‘ŒπŸ‘Œ

from quine-relay.

darth10 avatar darth10 commented on June 1, 2024 1

Why not? Maybe this could be useful for showing off all open source lanauges? πŸ˜„

from quine-relay.

bigday avatar bigday commented on June 1, 2024 1

"Because I can!"

from quine-relay.

jeffli678 avatar jeffli678 commented on June 1, 2024 1

Because the essence of programming is repeating.

from quine-relay.

radenmuaz avatar radenmuaz commented on June 1, 2024 1

"Actions are according to intentions, and everyone will get what was intended. " (Muhammad, pbuh)

Author has his own intention, implicit or explicit. He already get what he wants.

from quine-relay.

wayou avatar wayou commented on June 1, 2024 1

image

from quine-relay.

infibrocco avatar infibrocco commented on June 1, 2024 1

Why? Why? Why?

To get sweet internet karma of course

from quine-relay.

dipu-bd avatar dipu-bd commented on June 1, 2024 1

Because we can test those bazillions of compilers out there that we can never have time to test in the rest of our life.

from quine-relay.

TotallyNotSethP avatar TotallyNotSethP commented on June 1, 2024 1

Science isn't about why, it's about why not?

from quine-relay.

janfilips avatar janfilips commented on June 1, 2024 1

from quine-relay.

Rudxain avatar Rudxain commented on June 1, 2024 1

@dreamyguy

Be cause

So poetic. "Be the cause". Create a new branch in the infinite set of possible timelines where we didn't do what we wanted, because we were afraid of failure, or because we underestimated ourselves. Be the cause of this timeline being the one where you succeed

from quine-relay.

Rudxain avatar Rudxain commented on June 1, 2024 1

@jeffli678

Because the essence of programming is repeating.

Because_the_essence_of_programming_is_repeating = "Because the essence of programming is repeating".split()
while True:
  for word in Because_the_essence_of_programming_is_repeating:
    for _ in range(len(Because_the_essence_of_programming_is_repeating)):
      print(word)

Gist

from quine-relay.

mindvox avatar mindvox commented on June 1, 2024

This is so awesome!

from quine-relay.

Arugin avatar Arugin commented on June 1, 2024

Oh.

from quine-relay.

ignaciotcrespo avatar ignaciotcrespo commented on June 1, 2024

Love it! I was creating a program that generates a quine java code, and found this piece of art. Good job! πŸ‘

from quine-relay.

rtheo avatar rtheo commented on June 1, 2024

For the hell of it of course!

from quine-relay.

merlano17 avatar merlano17 commented on June 1, 2024

Great Work :-)

from quine-relay.

RedMasterN avatar RedMasterN commented on June 1, 2024

I was going to ask the same question... WHY

from quine-relay.

voidnull000 avatar voidnull000 commented on June 1, 2024

Just came here from wikipedia, and I just can't stop laughing.

amamama

from quine-relay.

yshavit avatar yshavit commented on June 1, 2024

Why? Because we like you.

Em oh you ess eeeeeeee.

from quine-relay.

Saederup92 avatar Saederup92 commented on June 1, 2024

Why? Because why the fuck not?

from quine-relay.

ichibrosan avatar ichibrosan commented on June 1, 2024

I think taking this a step further would be resolving calling protocols between all language versions of the code so you can call any language version of a function from any language. I guess with 100 languages trying to call 99 other languages that would be 100*99 = 9900 functional binding to verify. Kind of like doing 100,00 prostrations for Tibetan Budhism.

from quine-relay.

vs4vijay avatar vs4vijay commented on June 1, 2024

Because it is possible!

from quine-relay.

 avatar commented on June 1, 2024

why don't you compile it to mc an turn it back!

from quine-relay.

Nllii avatar Nllii commented on June 1, 2024

damn it @lemontghe, why have you summoned us here today? Let us sleep.

from quine-relay.

M507 avatar M507 commented on June 1, 2024

Art!

from quine-relay.

 avatar commented on June 1, 2024

https://i.kym-cdn.com/entries/icons/original/000/027/869/Screen_Shot_2018-12-14_at_2.09.02_PM.png (although quining is certainly more worthwhile than what the image refers to)

from quine-relay.

loxy avatar loxy commented on June 1, 2024

I love it!

from quine-relay.

Benjimanrich avatar Benjimanrich commented on June 1, 2024

because it had to be done I guess

from quine-relay.

hemanth-hk avatar hemanth-hk commented on June 1, 2024

because it had to be done I guess

but why?

from quine-relay.

Jonathan-R0 avatar Jonathan-R0 commented on June 1, 2024

To be the first.

from quine-relay.

ikramkharbouch avatar ikramkharbouch commented on June 1, 2024

Because they are still there.

from quine-relay.

off-by-zero-error avatar off-by-zero-error commented on June 1, 2024

yes

from quine-relay.

poiurewq avatar poiurewq commented on June 1, 2024

quality assurance

from quine-relay.

CrsiX avatar CrsiX commented on June 1, 2024

Love it

from quine-relay.

Rudxain avatar Rudxain commented on June 1, 2024

@prijindal

to encrypt a program

I once had the idea of an esolang where the program is allowed to modify itself, and the interpreter, at runtime. A lang where you can mutate a table of opcodes to make the interpreter execute an entirely different opcode when it finds it (basically, runtime operator overloading, with absolutely no constraints). The funniest thing is that you can mutate the table directly, or mutate via a pointer table where each pointer points to an opcode. So you can swap, delete, and shadow opcodes by value AND/OR by reference, because the interpreter only accesses the op-table via the pointer-table.

There's built-in multithreading, but no built-in mutexes, so you must implement it yourself. You can use GoTos to jump into arbitrary threads (I'm so evil!!). Actually, there are no gotos, you must mutate the instruction-pointer just like any other register (this lang has many registers, each one special, but there's no special handling, and there's no way to distinguish between them unless you've read the docs)

But hell doesn't stop there! Each thread has its own op and ptr tables, copied (inherited) from the parent thread. ALL THREADS CAN MUTATE THE CODE AND TABLES OF ANY OTHER THREAD!! At any time!

The lang is typeless, so you're always dealing with raw binary data. And each byte is 11 bits wide just for the sake of triggering OCD

from quine-relay.

Rudxain avatar Rudxain commented on June 1, 2024

@infinitygamer404

To get sweet internet karma of course

Found the redditor (I know because I'm a redditor myself)

from quine-relay.

Rudxain avatar Rudxain commented on June 1, 2024

@chapmanjacobd

to sell more RAM πŸπŸ’΄πŸ’΄πŸ’΄πŸ’΄πŸ’΄πŸ’΄

I prefer to download RAM

from quine-relay.

detrin avatar detrin commented on June 1, 2024

YEET

from quine-relay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.