Live data from Hacker News

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

harthur.wordpress.com

191–200 of 826 posts

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

#191

Earlier quoted context omitted.

The tool is simpler than sed because it misses a lot of stuff that sed actually does. That's what you and the people mocking this project have missed. Well, there's also the old idea of "if you don't have anything nice to say, don't say it." Or the idea of constructive criticism. Or the idea of contributing useful patches to the project. So yes, there is something you and the armchair experts missed: software doesn't…

I disagree, slightly. Mockery is sometimes the only way to make the powerful, oblivious or powerfully oblivious pay attention. I agree that it is not a reasonable tool against someone who isn't hurting anyone.

Or downvoting. I guess mockery, /and/ downvoting.

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

#192

Earlier quoted context omitted.

Steve Klabnik: "I find it incredibly hard not to be judgmental. I'm not sure what part of my personality makes this happen, but even when I try to curb tearing down other people, I end up doing it anyway. I'm not sure if it's just me, but I think part of the problem is that these kinds of things are rewarded." http://blog.steveklabnik.com/posts/2010-09-24-trolling-is-a-...

Textbook weasel apology.

I don't think textbook weasel apologies are usually done several years in advance.

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

#193

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…

A good test of character is how one treats those that they perceive to be lower status than them. I'd say these guys fail that test.

It might be better to say that they failed last night and leave a more general judgment open.

It's a good thing that people are calling this out and giving the participants cause to reflect on the problems with that kind of conversation (along with the rest of us). But I think it's also good if we don't rush to reduce people to some of their meaner moments. A lot of the participants have done a number of good things in the past, and they may well apologize and make this the exception rather than the rule.

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

#194
post #2

I'm curious : what is the use case for this utility ? If I look at the README, it says : > Modifies files when matches are found Just like sed's -i option (except that -i allows you to specify a backup extension just in case) > Recursive search on directories with -r I usually use find with sed, so it's not so much a problem (and it actually allows to filter the files by extension, exclude directories, etc, which is…

The problem is that being abusive and belittling to others is harmful to the open source community, especially when it revolves around someone who has gone and contributed to the community actual working code.

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

#195
Then I see these people’s follower count, and I sob harder. I can’t help but think of potential future employers that are no longer potential.

There's a big responsibility that comes with being well-liked and nice. When someone with a good reputation and the means to broadcast it speaks negatively about someone, it matters much more than someone who is routinely rude, frequently negative, or unknown. I know that if the most well-liked and nice person in my lab were to criticize my ability as a scientist (in the same manner), I would worry about what everyone else thought about me now, that someone who never seems to say mean things would so something like that.

These individuals do good things: they contribute voluntarily to communities, they help high school kids learn to code, etc. And these individuals are visible. And if you search steveklabnik on HN, his comments don't seem mean or negative.

It's easy to forget, and it's a little paradoxical, but when you're really nice, there's a different standard. Perhaps there shouldn't be, but it does have a different impact.

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

#198

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.

Do Clojure. Ruby suffers from a number of serious basic errors in its design. I'm in the middle of the long task of writing a clear, substantive criticism of them, but why they were bad choices is quite subtle, though it has large implications. That and Ruby has a culture of little or no documentation, even of the standard library, no attempt at consistency in APIs, even for something as basic as different kinds of network socket, and a community with rather more noise and rather less experience than makes me comfortable.

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

#199
post #136

Earlier quoted context omitted.

I understand your point, but "makes my eyes bleed" is not a typical comment from a neuro-atypical person. The neuro-typical can be assholes too.

Neuro-typical people can be assholes, but they tend to understand that they are being an asshole when they act asshole-ish. I think a big problem in the dev community is a lot of asshole behavior out there from people who don't intend to, or even _understand_ that they are being an asshole. Regardless of intent, this asshole behavior has consequences on neuro-typical and atypical people alike. I think nerdy/geeky/dev…

> Unfortunately the recent asberger pride movement doesn't help.

The word is "Asperger's". 'Asperger pride' is an attempt to reduce the hateful ignorant bigotry that the neuro-atypical face every day. The kind of ignorance that leads to early death, reduced job opportunities, reduced educational opportunities etc.

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

#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, mostly like js regexs), and find/xargs:

  replace 'var' 'let' *
  sed -ri 's,var,let,g' *
 
  replace 'var' 'let' . -r
  find . -type f -print0 | xargs -0 sed -ri 's,var,let,g'
 
  replace 'var' 'let' test/file1.js test/file2.js
  sed -ri 's,var,let,g' test/file1.js test/file2.js
 
  replace '(\w+)_(\w+)' '$1-$2' *
  sed -ri 's,(\w+)_(\w+),\1-\2,g' *
 
  replace 'var' 'let' . -r --include="*.js"
  find . -type f -name '*.js' -print0 | xargs -0 sed -ri 's,var,let,g'
 
  replace 'var' 'let' . -r --exclude="*.min.js,*.py"
  find . -type f ! -name '*.min.js' ! -name '*.py' -print0 | xargs -0 sed -ri 's,var,let,g'
 
  replace 'var' 'let' . -r --preview
  find . -type f -exec sh -c "echo == {}; sed -r 's,var,let,g' {}" \;
  (not sure if --preview does exactly that, I echo the filename followed by the modified content)
There is only one case that justifies reimplementing things: if your tool has the requirement of supporting the exact js regex syntax, then yes you did the right thing to reimplement this in js. I have run into similar situations myself. One time I had to support Perl regexs, and I started by simply using Python's standard regex module, thinking that it would work because both Perl and Python use PCRE. Well as it turned out the regexs I encountered used some advanced features (such as negative/postive look-behind/look-ahead, etc) that Python's regex module plainly did not suppport. So I ended up rewriting part of my implementation in Perl.

Edit: I spoke too fast. As a commenter pointed out, other legitimate cases for reimplementing this in js would be when you can't afford to or don't want to fork a process to run find/xargs/sed. It sounds like you were running the tool from the command line, so I didn't think that would be your situation.

Edit 2: Yes, the exercise of reinventing the wheel is also useful for learning... I am not going to argue that.

Edit 3: If you care about simplicity, I would personally rather write a small shell script wrapping find/xargs/sed and hiding their arcane options, as opposed to writing 173 lines of js.

Post reply on HN