3 ms·
With agents in the house now, we don't use curl at all. Slowly they all are becoming implementation details.
by the_arun 4mo ago
With agents in the house now, we don't use curl at all. Slowly they all are becoming implementation details.
- VladVladikoff 4mo agoProbably curl is safer than whatever cobbled up bash script your agent invented. Battle tested for years, and free, why replace that?
- flyingshelf 4mo agoWhy? Your agents knows rhyme but no reason.
- cinntaile 4mo agoHe probably means using curl directly. Indirectly it's still curl the LLM will default to, but that is an implementation detail.
- nijave 4mo agoAlso considering libcurl which is an excellent, feature rich, high performance, and battle tested http client.
- sargstuff 4mo agoGuess streams was a mixed analog / digital world thing[0]. Is 'curl' the higher order wave crest of LC_NETWORK (aka 'sane' http protocol reference to type bundled 0,1,2 file descriptors) One can have curl as a bash loadable routine without the need to recompile bash. Headless or not, much more sane[4] than ctypes.sh[1] as curl binary epilog/prolog handle the non-http protocol items within the context of curl module/program. More relevant logic level related to topic beyond http protocol only curl : socat[2] and gnu netcat[3]. Ah, HN doesn't provide a way to conjure up * data tapes (comments not withstanding). Ebnf being battle tested for years & grepping the ANTLER[7] by the horns: awk interpeting http stream via http protocol[5] via ebnf of http protocol likely to better handle the different protocal layers more gracefully than bash script. Would need to make sure awk is in bit mode and not character/byte mode to avoid line discipline issues / 'stty sane'[4]. Note: Perl/python provide better layers of abstraction than shell coding for the different levels of protocols used in/with http protocol/ ebnf,Kleene* coding.[6] In shell, having a different command programm for every ebnf set/protocol level vs. awk, different ebnf for each Kleene* protocol level) --------------------------------------------------------------------------------------------- [0] : Your trerminal is not a terminal: An Introduction to Streams : https://www.lucasfcosta.com/blog/streams-introduction https://www.lucasfcosta.com/blog/streams-introduction [1] : ctypes.sh : https://github.com/taviso/ctypes.sh https://github.com/taviso/ctypes.sh [2] : socat : https://github.com/3ndG4me/socat/releases https://github.com/3ndG4me/socat/releases [3] : gnu netcat: https://netcat.sourceforge.net/ https://netcat.sourceforge.net/ [4] : stty sane : https://real-world-systems.com/docs/stty.1.html https://real-world-systems.com/docs/stty.1.html https://jaredgorski.org/notes/unix-tty/ [5] : https://www.rfc-editor.org/rfc/rfc9110.pdf https://www.rfc-editor.org/rfc/rfc9110.pdf [6] : https://grokipedia.com/page/Kleene_star https://grokipedia.com/page/Kleene_star [7] : https://en.wikipedia.org/wiki/ANTLR https://en.wikipedia.org/wiki/ANTLR