Remix.run Logo
lucumo 5 hours ago

> Then a brick hits you in the face when it dawns on you that all of our tools are dumping crazy amounts of non-relevant context into stdout thereby polluting your context windows.

Not just context windows. Lots of that crap is completely useless for humans too. It's not a rare occurrence for warnings to be hidden in so much irrelevant output that they're there for years before someone notices.

jaggederest 3 hours ago | parent | next [-]

The old unix philosophy of "print nothing on success" looks crazy until you start trying to build pipes and shell scripts that use multiple tools internally. Also very quickly makes it clear why stdout and stderr are separate

titzer an hour ago | parent | next [-]

It never felt crazy to me, with the exception that are many situations where having progress and diagnostic information (usually opt-in) made sense.

I guess it comes down to a choice of printing out only relevant information. I hate noisy crap, like LaTeX.

sgarland 2 hours ago | parent | prev [-]

Also becomes rapidly apparent that most modern tooling takes an extremely liberal view of logging levels. The fact that you’ve successfully processed a file is not INFO, that’s DEBUG.

adwn 23 minutes ago | parent [-]

"Finished conversion of xyz.mp3 to xyz.ogg" is valuable progress information to a regular user, not just a developer, so it belongs in INFO, not DEBUG.

5 hours ago | parent | prev | next [-]
[deleted]
kubanczyk 3 hours ago | parent | prev [-]

Yeah. Maybe we only need:

   BATCH=yes    (default is no)

   --batch   (default is --no-batch)
for the unusual case when you do want the `route print` on a BGP router to actually dump 8 gigabytes of text throughout next 2 minutes. Maybe it's fine if a default output for anything generously applies summarization, such as "X, Y, Z ...and 9 thousand+ similar entries".

Having two separate command names (one for human/llm, one for batch) sucks.

Having `-h` for human, like ls or df do, sucks slightly less, but it is still a backward-compatibility hack which leads to `alias` proliferation and makes human lifes worse.