3 ms·
Thought it was obfuscated C code, then I realized it’s a tree or something
by e-dant 9mo ago
Thought it was obfuscated C code, then I realized it’s a tree or something
- devsda 9mo agoChallenge issued. I wouldn't be surprised if someone comes up with obfuscated C code that looks like a christmas tree and prints out wishes by the end of the day/season. Merry Christmas!
- DrewADesign 9mo agoPerl time
- Jnr 9mo agoExactly, looks like Perl code to me. :)
- DrewADesign 9mo agoIt’s tragic that having a language as flexible and unopinionated as Perl is admittedly terrible for novice programmers because Learning Perl is easily one of the greatest introductory programming books.
- epicureanideal 9mo agoLet's ask an LLM as a test!
- deleted 9mo ago[deleted]
- mckn1ght 9mo agoI did recently try to use an LLM to make a twinkling christmas tree quine in the style of qlobe. It didn’t get close, maybe next year!
- deleted 9mo ago[deleted]
- Wyverald 9mo agoGemini 3 Pro gave some rather unimpressive answers: https://gemini.google.com/share/3cbcbe1fd64c https://gemini.google.com/share/3cbcbe1fd64c
- jb1991 9mo agoChatGPT did much better but I cannot paste it into this text box no matter how many times I try with different formatting to get the white space preserved. chatGPT also could not figure out how to format it for pasting here.
- a022311 9mo agoI'll admit it does look a bit like an IOCCC [0] entry. Can someone please do it for us? [0]: https://www.ioccc.org/ https://www.ioccc.org/
- deleted 9mo ago[deleted]
- deleted 9mo ago[deleted]
- deleted 9mo ago[deleted]
- onion2k 9mo agoPretty sure it's a regex to match email address strings.
- snarf21 9mo agoThank you kind stranger for a wonderful laugh on Christmas!
- marginalia_nu 9mo agoIt's a red-green tree. Your task is to invert it in O(n) operations.
- cs02rm0 9mo agoI thought it was unobfuscated perl code. Merry Christmas ya filthy animals.