Live data from Hacker News

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

harthur.wordpress.com

271–280 of 826 posts

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

#271
post #121

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…

At this point, I blame it on the assumption that Aspergers must run rampant and is severely underdiagnosed in the dev community.

Think about this: this statement, right here, is a completely unfounded (i.e. you have no evidence about any of the 3 people being ASD, and the probability of all of them being ASD is really low even among geeks like us), passive-aggressive (you are attacking people with ASD but making it appear sympathetic), pseudo-intellectual (how much do you really know that you didn't read in superficial internet threads) insult (oh yes it is) toward people with ASD. Ironically, presumably from a neurotypical, who by implication is supposed to be more sensitive than the alternative.

Congratulations. You bully in a thread about bullying being bad.

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

#272

David Cramer's response (via Twitter): "Are you mad that the Internet disagrees with you? Maybe get off the Internet?" https://twitter.com/zeeg/status/294305445521268736

Douche is as douche does.

I got into an online argument with David Cramer years ago about something truly meaningless, but the notion that he is an asshole just stuck with me for some reason.

He seems like a terrible representative for Disqus. I wouldn't be surprised if a few people were turned off from working there when they discovered they would have to work with him.

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

#274
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…

>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.

I would rather use my language of choice to implement the above (mine wouldn't be JavaScript, but it clearly was Heather's) than to research all of those arcane command lines.

Rather obviously YOUR language of choice for this kind of problem IS sed. So OF COURSE you would use a shell script wrapping sed etc. to implement these functions.

But guess what? To handle all of those options at the command line would still take a pretty large fraction of 173 lines of code, if you added in an equivalent level of parameter checking and option handling.

And if you want to make MY eyes bleed, hand me a file with ~150 lines of logic in shell script that spawns cryptic command lines. Despite not REALLY knowing JavaScript, I would much prefer to maintain the JavaScript than a shell script with the above commands.

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

#275
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…

I've been coding since 1993 and I have never made room in my brain for stuff like -print0. Moreover, there are times when you'll want to do this stuff from within another program. What are you going to do, shell out to a find(1) pipeline? Then people like me will be giving you shit. There's nothing wrong with rewriting sed in Javascript.

Please, tell me you're jocking: on your platform you cannot afford a pipe but you can launch node.js?

by the way: "-print0 | xars -0" is really idiomatic, you know? Lucky you didn't have a single filename with spaces to handle...

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

#276
post #78
post #12

Here's the Twitter discussion alluded to in the post: https://twitter.com/harthvader/status/293829635823792128 Main justification is the nicer syntax. I agree it's nicer, but would approach it by wrapping sed, not re-implementing in Node.js from scratch. I don't think that excuses the ridicule, though.

How would you get sed to output the files and lines on which replacements happened?

How about using diff and sed -i?

  # This version is obviously unsafe
  verbose_sed() {
    sed -i.old -e "$1" "$2"
    diff -u "$2.old" "$2"
    rm "$2.old"
  }
  
  verbose_sed s/vim/emacs/g rant.txt
You could then use all the tools that we already have for working with patches: colordiff to colorize the output, diffstat for a summary of changes, patch -R for reverting the changes, and so on.

Of course, you're more likely to than not already using version control, which gives you all this and much more, even if you were to use vanilla find+sed.

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

#277
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…

Honestly, I think you ended up really making the case for replace. The nix CLI examples are convoluted at best. I've used CLI tools for years, and it would probably take me 5-10 minutes of scanning the man pages to reproduce all but the simplest of those snippets. Granted, this boils down to the sporadic use-case, but that's the entire point. The replace examples are all clean. It would mean I would not be juggling l…

Then take the 5-10 minutes to scan the man pages. Write a simple shell script wrapper exposing a syntax as simple as "replace". And be done with it in 15 minutes top. It seems to me that writing all this js code would take a lot longer than 15 min.

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

#278
post #131

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…

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

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

#279

A quick scan of the project source doesn't suggest that "it makes my eyes bleed" was a fair criticism. It isn't going to cure cancer or solve deep problems, but who cares? The world is full of projects where people just snap a few cogs together and hit "Show HN" on their way to "... 3) Profit." If you are going to put something in the public space, you have to be ready for any trolls in the vicinity to take a dump on…

"It makes my eyes bleed" is never fair criticism. It's vapid and meaningless and if I can implore just one person to stop saying it, I will feel like I have achieved something with my life.

Never say never. Imagine, say, a contact lens solution...

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

#280
post #251

Earlier quoted context omitted.

Death, prison, and felony convictions are not the same as public ridicule and hurt feelings. Only a nazi would equate such things. What?

I'm also not seeing the connection here. A few mean tweets over code quality vs threatening someone with life sentences over downloading documents is a very poor analogy on how we should be spending our time.

Both of you seem to think he said "instead." Consider the clauses rephrased: "Maybe we should start by examining our own community, before ..."

Why? I'd guess because the blog post refers to celebrity hackers bullying another hacker. The community -- more than just these few guys -- can't even behave civilly. It's a case of the pot calling the kettle black.

Post reply on HN