75 points · by OberstKrueger · 8y ago · 38 comments
"There’s a function called Hash in the Wolfram Language, and for example applying it to the previous paragraph of text gives 8643827914633641131."
I was a bit saddened to see that this was not "applying it to this paragraph of text gives…", which would have been quite the party trick.
https://en.wikipedia.org/wiki/Quine_(computing)
Here is an example: s = 's = %r\nprint(s%%s)' print(s%s)
https://softwareengineering.stackexchange.com/questions/1113...
More generally, https://stackoverflow.com/a/1764933/1462221 points out that DNA implements a very big and complicated quine.
The interesting "practical" application is in proving that such a thing can exist in given formal system. By the way the concept of fixed-point combinators (of which Y-combinator is particular implementation) is essentually the same thing. (And in fact such combinators are notionally better match to problem "produce string that contains result of this function applied to it in its contents" than quines)
[Edit: functional->fixed-point and reworded the Y-combinator remark slightly]
On a 32-bit system, yes, someone could probably do it.
http://m.wolframalpha.com/input/?i=2%5E64+things+%2F+%281+bi...
"By combining open source principles, blockchain integration, and leading minds in machine learning we will make AI a global commons for all."
>The two have been able to leverage JD’s expertise in the application of artificial intelligence (AI), blockchain, big data and other new technologies to protect consumers...Recent testing by Walmart showed that applying blockchain reduced the time it took to trace a package of mangoes from the farm to the store from days or weeks to two seconds.
[1] https://www-03.ibm.com/press/us/en/pressrelease/53487.wss
I am also pretty prejudicial against anything that includes the term "singularity." That term sets of my bullshit detector.
Wouldn't there be divergence, the further back in history you go between picks, due to collisions? Or is this what the reversible nature of the hashes take care of?