Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Challenge 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!





I'll admit it does look a bit like an IOCCC [0] entry. Can someone please do it for us?

[0]: https://www.ioccc.org/


Let's ask an LLM as a test!

Gemini 3 Pro gave some rather unimpressive answers: https://gemini.google.com/share/3cbcbe1fd64c

ChatGPT 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.

Try four leading spaces?

    Test, is this monospaced?
    012345678901234567890123456789

A screenshot and a link to the resulting JPG?

I 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!

Perl time

Exactly, looks like Perl code to me. :)

It’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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: