News for hackers. Stuff that matters.
Re:Being Ridiculed for My Open Source Project (2013) by sgentle on Monday November 07, 2022 @03:57AM (#33503132)
If you're a real Linux user, you can build such a system yourself quite trivially by combining xargs, sed and grep. You see, nodejs is the pumpkin spice latte of languages. I, a sophisticate, insist upon the fine single malt whiskey of Perl, paired with a delectable shell script charcuterie. Anything less is the fare of unsophisticated lusers, who are often (purely coincidentally) women or other outgroups.
Re:Being Ridiculed for My Open Source Project (2013) by machinawhite on Monday November 07, 2022 @07:03AM (#33504757)
A real Linux user can build their own xargs, sed and grep in an arbitrary environment, be it node, windows scripting host or the python interpreter in some washing machines firmware
Re:Being Ridiculed for My Open Source Project (2013) by acdha on Monday November 07, 2022 @07:21AM (#33504877)
… and the subtle errors in my simple example were, of course, left as an exercise for the student so you’d learn how to fix them.
Re:Being Ridiculed for My Open Source Project (2013) by imtringued on Monday November 07, 2022 @09:12AM (#33505970)
I once used cygwin to accidentally create files with binary data as their file name that couldn't be deleted in the windows file explorer. I wrote another cygwin program that deleted these files.

The only difference between me and the author of this blog post is that I didn't upload my program to the internet where people could ridicule it for its simplicity.

Re:Being Ridiculed for My Open Source Project (2013) by jonnycomputer on Monday November 07, 2022 @09:25AM (#33506126)
Was this supposed to be a command line tool used in a Linux environment, where grep, sed, etc. are already available? Doesn't excuse their behavior, not at all, but I can see exactly how that might provoke their derision. The mistake was quite worse than I thought. But it is foolish to be provoked by the foolishness or ignorance of others. They could have remained silent, or could have reached out constructively (e.g. by introducing them to those widely distributed set of really powerful command line tools).

Or is there some JavaScript additional functionality that I'm missing?

Re:Being Ridiculed for My Open Source Project (2013) by petepete on Monday November 07, 2022 @10:11AM (#33506802)
Even if sed and grep are available their weird syntax is enough to make people write modern replacements.

I don't care if they're not 100% feature complete, the fact I can remember how to use them for my simple everday tasks (searching, finding/replacing across many files) without needing to consult a manpage or search online for answers is enough.

I used grep daily for years and _still_ it didn't feel like it made sense. I remember reading about Ack (https://beyondgrep.com/) some time in 2009-2010 , installing it and switching over entirely within about five minutes.

Modern sed:

https://github.com/chmln/sd

Modern grep:

https://github.com/ggreer/the_silver_searcher

https://github.com/BurntSushi/ripgrep

Re:Being Ridiculed for My Open Source Project (2013) by remram on Monday November 07, 2022 @10:10AM (#33506776)
Node is not a Linux-only platform. It's easy to imagine reasons you might need this tool in your software project, that works on all the platforms your project does.