Live data from Hacker News

What It's Like To Be Ridiculed For Open Sourcing A Project

harthur.wordpress.com

411–420 of 826 posts

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#411

Earlier quoted context omitted.

Hear hear! I've had a sed book on my shelf for years and I've used it more than once, but 99% of the time I end up giving up on sed and using a GUI-based tool instead of trying to concoct the cryptic lines given above as examples. I absolutely would rather use the clean interface of replace, written in JavaScript or anything else, than to memorize that steaming pile of cruft.

Two reasons why it's better to memorize the cruft: 1. You can pipe find/sed/grep/cut/awk/whatever to other utils. Today you might be replacing, tomorrow you might be analyzing text logs, and the more core utils you learn the more things you can do with them. 2. When you're ssh'd into another box that doesn't have that spiffy replace utility, now you don't know how to do an inline replace.

> 1. You can pipe find/sed/grep/cut/awk/whatever to other utils. Today you might be replacing, tomorrow you might be analyzing text logs, and the more core utils you learn the more things you can do with them.

Fair.

This boils down to an individual's needs. I think most people in a position to be making this choice are fairly well aware of what's possible with standard nix CLI tools, and can decide whether or not to invest the time to learn them.

In my experience the ROI for nix wizardry is fairly high at first, but begins tapering off. There are a half dozen or so command chains I use daily without which I could hardly see myself working, and the rest I may not touch for weeks or months on end. YMMV.

> 2. When you're ssh'd into another box that doesn't have that spiffy replace utility, now you don't know how to do an inline replace.

It doesn't make sense to optimize a workflow around an edge case. You don't often hear this brought up as an argument against dotfiles, key bindings, vim plugins or what have you.

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#412
post #278
post #131

Earlier quoted context omitted.

Corey Haines wrote a thoughtful apology here: http://programmingtour.blogspot.com/2013/01/im-sorry.html Only one of the three to do so thus far.

David Cramer just doesn't get it: https://twitter.com/zeeg/status/294307568019464192 https://twitter.com/zeeg/status/294306974248607745 All that despite confessing that he doesn't understand why the project was written: https://twitter.com/zeeg/status/293829856381255681

Clearly. He also wrote:

"Are you mad that the Internet disagrees with you? Maybe get off the Internet?"

https://twitter.com/zeeg/status/294305445521268736

He's now gotten off the Internet because he's upset. Ironic.

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#413
post #400

Earlier quoted context omitted.

Your argument that it wouldn't be available on other boxes can be applied against any new command, no matter how fantastic, so it doesn't seem very constructive to me.

I think it is a good argument to learn basis before reinventing the wheel. When using unix, there are already far too many commands to learn. Not having to learn useless commands is a bonus.

And yet, it's not useless to so many.

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#414

What the fuck. (And I rarely say that word.) We've got to grow up. This is 9th grade all over again. You know, those weird people that do things that you don't understand? They're the ones that grow up and make big impacts on the world. Why can't we get over our negativity? We can't stop ourselves from thinking horrible things, or even saying them out loud to people around us, but surely we can restrain ourselves fro…

the hell are you talking about? every person that created something worthwile in this world has been ridiculed. for good reason. i hate the fact that people here spout that uber positivity crap. you know what, you mess up -> you get ridiculed, what do you do? you make something better. The world is not this pretty flower place where everyone can be happy and strive at the same time. there is no rich without poor, and…

So explain to me how she messed up. Because I don't see any messing up on her part. I see a number of assholes (and some generally good folks who did mess up) unable to get out of their own headspace and into someone else, but that's about it.

And there is a large gulf between "patting on the back" and being an asshole.

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#415
post #278

Earlier quoted context omitted.

David Cramer just doesn't get it: https://twitter.com/zeeg/status/294307568019464192 https://twitter.com/zeeg/status/294306974248607745 All that despite confessing that he doesn't understand why the project was written: https://twitter.com/zeeg/status/293829856381255681

Clearly. He also wrote: "Are you mad that the Internet disagrees with you? Maybe get off the Internet?" https://twitter.com/zeeg/status/294305445521268736 He's now gotten off the Internet because he's upset. Ironic.

Nope, still here.

I'm just not replying to you on Twitter because lol

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#416
post #408
post #200

Heather, I agree that people are unnecessarily rude to you. Don't sob. Your code shows you are already a more capable programmer than most of the ones I interview. No one has given you a clear answer as to why your code is reinventing the wheel, so allow me to do it politely. I took every single example from your README, and show you below how everything can be reimplemented with sed -r (nice extended regex syntax, m…

Some of my examples can be further simplified (no -print0, no xargs), without a perf issue ("{} +" passes multiple filenames as arguments), with GNU find which is standard on Linux: replace 'var' 'let' . -r find . -type f -exec sed -ri 's,var,let,g' {} + replace 'var' 'let' . -r --include="*.js" find . -type f -name '*.js' -exec sed -ri 's,var,let,g' {} + replace 'var' 'let' . -r --exclude="*.min.js,*.py" find . -typ…

You are still wrong, she is still right. If we wouldn't have to care about either 1) the resource use or 2) the easiness of use, then most of the programming would be unnecessary. Her solution is better than yours on 2) always, and on 1) as soon as you need that functionality in node.js contexts.

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#417
I see absolutely nothing wrong with this approach of writing your own tools. If a person feels that it's better, why ridicule it? Noone is forcing you to use it. If you feel it's not for you, that's fine.

On the other hand, some people are advocating this approach as a way to improve your programming skills: http://www.rodrigoalvesvieira.com/copy-unix/

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#418

Earlier quoted context omitted.

> Regarding the actual program, I don't write shell > utilities in JavaScript so I can't say whether it's a > good or a bad implementation. It's just not my space. According to some other posts here, the quoted mockers are Ruby programmers. I believe the Twitter posts are about the concept of writing sed in Node-Javascript, not necessarily the implementation. As I understand it there's something of a rivalry between…

So there is some truth to the stereotype of the angry asshole Rubyist? I thought the community had moved on since those days. I've been tossing up whether to learn Ruby or Clojure next, and this kind of crap is a real turn-off for Ruby.

I'm not a regular user of either, but I've much more enjoyed my time playing with Clojure and lurking in the community. For the most part they seem like solid people.

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#419
post #375

What the fuck. (And I rarely say that word.) We've got to grow up. This is 9th grade all over again. You know, those weird people that do things that you don't understand? They're the ones that grow up and make big impacts on the world. Why can't we get over our negativity? We can't stop ourselves from thinking horrible things, or even saying them out loud to people around us, but surely we can restrain ourselves fro…

> If I ever start a company the #1 thing I will look for in others is positivity. Good luck with ever hearing about any problem before it's too late to fix it then...

Now hold on... you can, in fact, raise issues in a positive way.

"Hey Larry, after I spoke yesterday I checked and we've got corruption on our RAID array... I think I can work towards resolving it, but if not then we need to come up with a mitigation plan."

vs.

"Larry, we've got corruption on our RAID array. I told you yesterday and you didn't work fast enough on my suggestions, so now we're all screwed. I can't believe your stupidity!"

Re: What It's Like To Be Ridiculed For Open Sourcing A Project

#420
post #200

Heather, I agree that people are unnecessarily rude to you. Don't sob. Your code shows you are already a more capable programmer than most of the ones I interview. No one has given you a clear answer as to why your code is reinventing the wheel, so allow me to do it politely. I took every single example from your README, and show you below how everything can be reimplemented with sed -r (nice extended regex syntax, m…

In his(her?) own words: http://harthur.wordpress.com/2011/06/06/replace/
Post reply on HN