home.social

#stderr — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #stderr, aggregated by home.social.

fetched live
  1. 🔍 Ah, the cryptic "2>&1"—an enigma wrapped in a riddle and served with a side of Stack Overflow jargon salad! 🥗 Apparently, the answer to #piping #stderr to #stdout involves a detour through a smorgasbord of corporate buzzwords and beta testing invites. 🤦‍♂️ Who knew redirecting output could be such a journey? 🚀
    stackoverflow.com/questions/81 #StackOverflow #techjargon #corporatebuzzwords #codinghumor #HackerNews #ngated

  2. LLM的弱点——不能很好的讲笑话? 元旦节长途旅行,无聊,我问娃,AI的弱点是什么?答:没有嗅觉,这个的确是物理限制,我之前吹的。哈哈哈。AI...

    #stderr

    Origin | Interest | Match
  3. Файловые дескрипторы 0, 1, 2: полное руководство по работе с потоками

    Привет, Хабр! Конструкции вроде 2>&1 и &> встречаются повсюду — в мануалах, скриптах, инструкциях. Их используют постоянно, но редко понимают до конца. Почему ошибки продолжают появляться в терминале, хотя, казалось бы, должны уходить в файл? Почему конвейер передаёт только часть вывода? В статье разберём всё от базового синтаксиса до работы с tee и /dev/null - каждая часть будет разобрана и показана на практических примерах.

    habr.com/ru/articles/960564/

    #linux #stdin #stdout #stderr #bash #tee

  4. Sigh. So, github.com/neovim/neovim/pull/ (released in 0.11.0) made Neovim display stderr highlighted with ErrorMsg.

    Which _might_ be considered a good thing, but CLI applications use stderr for all sorts of things, not just errors. For example, `git push` will print status to stderr by default.

    It completely defeats the purpose of highlighting errors in red if non-errors are red as well.

    Yes, I'll probably open an issue about that. (Edit: done, github.com/neovim/neovim/issue)

    #Neovim #ErrorMsg #stderr

  5. Управляем потоками в Linux: от stdin до stderr

    Привет, Хабр! Сегодня рассмотрим работу с потоками в Linux: stdin, stdout, stderr и, конечно, все эти оператора редиректа.

    habr.com/ru/companies/otus/art

    #linux #stdin #stderr #разработка #bash

  6. #TodayILearned that #Unix #stderr was created because early troff sent both document output and errors to the typesetting machine, wasting consumables! en.wikipedia.org/wiki/CAT_(pho

  7. What's your best practice for #logging progress and errors from a #DOS #Batch file?

    Currently we echo progress into designated log files, and have the Windows Task Scheduler forward #StdErr into a different error log.

    What's your preferred method?