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

In an enthusiastic tone of an AI enthusiast: Thankfully, now that we have ChatGPT, this feature is obsolete and the curl executable doesn't have to contain half-baked quines in it anymore!


I'd never change --libcurl and gengetopt[0] with some output from some artificial thingy which babbles semi-truths which doesn't understand what it's doing.

They are deterministic tools which does what you want in a battle tested way, and will let me sleep well at night, which is an underappreciated feature of mature programs.

[0]: https://www.gnu.org/software/gengetopt/gengetopt.html


Hurray for deterministic tools! Yes, there is no reason to risk using an LLM when you have a code generator that you can trust.


A code generator needs neither hundreds of GPUs nor an internet access to work. Not having to train a code generator in ethically questionable ways is also a huge plus, too.


First I've heard of gengetopt, thanks!


You're welcome! It's a great tool IMHO.


It's not a quine though, as it's not producing curl itself


In Italian, it's common to append 'ino' or 'ina' to something when you want to imply it's a smaller or cuter version of itself.

So 'quinino' might work here.


Reading this comment gave me a fever... I wish a plant could help me get better...


If you want something with more rhyme, poco-quine can also work, I guess, pq for short.


libpq is taken by PostgreSQL though ;)


One could argue it's a half-baked quine.


mm parbaked quine, just pop it in the compiler add a main driver and serve with some gengetopt for a delicious webcrawler!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: