←back to thread

183 points sebg | 2 comments | | HN request time: 0.421s | source
1. mariocesar ◴[] No.43644782[source]
If you're curious, the code in ellipsis results in executing:

    print('hello, world')
replies(1): >>43645158 #
2. mturmon ◴[] No.43645158[source]
Thank you!

I noticed some ** and * in the thing sent to eval(), which (given that the building blocks are small integers) seemed related to prime factorizations.

The initial %c is duplicated 21 times (3*7, if I read correctly), and then string-interpolated (%c%c%c...) against a long tuple of integers. These integers themselves are composed of products of factors combined using * and **.

There is also one tuple "multiplication" embedded within that long tuple of integers -- (a,b)*2 = (a,b,a,b). That is for the 'l' 'l' in "hello".

It's all very clever and amusingly mathy, with a winking allusion to the construction of natural numbers using sets. It made me Godel.