Most of the tools assume opposite default (like xargs for example). Sure, you can specify a different order but why make life harder for no reason?
New tool from curl creator – trurl – for URL parsing and manipulation
11–20 of 40 posts
Re: New tool from curl creator – trurl – for URL parsing and manipulation
#12The readme should include a pronunciation guide for the name. tru-rul? tee-ru-rul?
Trurl is the name of a character in the science fiction short story collection "The Cyberiad" by Polish author Stanisław Lem. Trurl is a highly intelligent robot and inventor who, along with his friend Klapaucius, goes on various adventures throughout the universe. — via CGPT
“Have it compose a poem — a poem about a haircut! But lofty, noble, tragic, timeless, full of love, treachery, retribution, quiet heroism in the face of certain doom! Six lines, cleverly rhymed, and every word beginning with the letter S!!”
“Seduced, shaggy Samson snored.
She scissored short. Sorely shorn,
Soon shackled slave, Samson sighed,
Silently scheming,
Sightlessly seeking
Some savage, spectacular suicide.”
Re: New tool from curl creator – trurl – for URL parsing and manipulation
#13Oh, c'mon, “purl” was right there!
Re: New tool from curl creator – trurl – for URL parsing and manipulation
#14Re: New tool from curl creator – trurl – for URL parsing and manipulation
#15Pardone my ignorance, serious question: Why is this a big deal? I'm probably underestimting the work needed, but it doesn't look like a hard thing to write. What am I missing?
> URLs are tricky to parse and there are numerous security problems in software because of this. trurl wants to help soften this problem by taking away the need for script and command line authors everywhere to re-invent the wheel over and over.
Re: New tool from curl creator – trurl – for URL parsing and manipulation
#16Re: New tool from curl creator – trurl – for URL parsing and manipulation
#17Re: New tool from curl creator – trurl – for URL parsing and manipulation
#18Pardone my ignorance, serious question: Why is this a big deal? I'm probably underestimting the work needed, but it doesn't look like a hard thing to write. What am I missing?
Re: New tool from curl creator – trurl – for URL parsing and manipulation
#19Pardone my ignorance, serious question: Why is this a big deal? I'm probably underestimting the work needed, but it doesn't look like a hard thing to write. What am I missing?
I currently parse out this stuff using a flaky little bit of python I cooked up myself and it gives me no end of grief when scaled. So many awful edge cases.
The author wrote curl, so I know it's going to do what it says it does well.
That's why it's getting love. It's a rock star dev putting out open source code many of us will absolutely be using regularly.
Way classier than yet another "product" built on the OpenAI API that will be gone in a year.
Re: New tool from curl creator – trurl – for URL parsing and manipulation
#20Pardone my ignorance, serious question: Why is this a big deal? I'm probably underestimting the work needed, but it doesn't look like a hard thing to write. What am I missing?
Over the years, curl itself has had 9 CVEs relating to handling URLs [0] so this is most definitely not a trivial piece of code to write. The basic case is easy, yes. Getting everything in the spec right and then some is hard. [0] https://curl.se/docs/security.html