Live data from Hacker News

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

harthur.wordpress.com

241–250 of 826 posts

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

#241
post #175

Maybe before we spend a lot of time complaining about how federal prosecutors are unsympathetic assholes, we should start by examining our own community.

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

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

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

To my (naive) eyes, your examples act as a compelling advertisement for her library. The sed/xargs/etc. examples look increasingly like impossible-to-memorize line noise to me, while the --include, --exclude etc. options in `replace` are comprehensible and seem to follow standard command line argument practices. Again, this is from a very entry-level unix tools perspective, but there it is. It also seems to me that r…

Impossible to memorize? I wrote all these examples from memory. I tested them in a shell and had a single error (sed -ir needed to be changed to sed -ri because -i takes a glued "suffix" argument). I really don't think it is that hard to memorize the basic find/xargs options. You only have to memorize them once in your lifetime. They are a basic cornerstone of a Unix skillset. By comparison, I often forget the custom syntax of my custom scripts I wrote years ago.

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

#244
post #97

Earlier quoted context omitted.

Here's the thing, when someone like Linus Torvald says things like that, we applaud him for it.

Linus doesn't say things like that. If you don't understand the difference of context, well, look again!

Linus has in the past called OpenBSD folks a bunch of "masturbating monkeys" because of their stickler like attitude towards security.

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

#245
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 can think of no better advertisement for replace than this post.

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

#246
post #223

Earlier quoted context omitted.

Am I the only one who finds replace's syntax much nicer? I haven't spent much time learning unix utilities, so that might explain it. But I can't help but shudder at find . -type f ! -name ' .min.js' ! -name ' .py' -print0 | xargs -0 sed -ri 's,var,let,g'

She was able to simplify her command line interface in order to support only the features she needed, so of course her syntax is nicer. Whereas sed/find/xargs can do a lot more things, so of course they come with a more evolved syntax. It is the usual tradeoff between simplicity and features.

Right... she had different requirements, so she wrote a different tool. Which is why I find your near-rant above somewhat disturbing. It seems predicated on a (seemingly) very arrogant belief on your part, that you know more about what harthur needs, then she does. Personally, I am very sceptical on that point.

There is only one case that justifies reimplementing things

Or, um, how about the one that goes "I felt like it"? That's sufficient justification in my book.

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

#247
post #223

Earlier quoted context omitted.

Am I the only one who finds replace's syntax much nicer? I haven't spent much time learning unix utilities, so that might explain it. But I can't help but shudder at find . -type f ! -name ' .min.js' ! -name ' .py' -print0 | xargs -0 sed -ri 's,var,let,g'

She was able to simplify her command line interface in order to support only the features she needed, so of course her syntax is nicer. Whereas sed/find/xargs can do a lot more things, so of course they come with a more evolved syntax. It is the usual tradeoff between simplicity and features.

Yeah, who needs TextMate when you have vim, right? Or Ruby when you've got Perl?

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

#248
Here are some of Heather Arthur's other projects on Github:

https://github.com/harthur/brain - neural network https://github.com/harthur/classifier - bayesian classifier https://github.com/harthur/clusterfck - clustering https://github.com/harthur/glossary - term extraction

You can see more here:

https://github.com/harthur?tab=repositories

Nice stuff.

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

#249
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 little peculiarities of arcane syntax, such as which sed flags to invoke, or whether to use exec or xargs.

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

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

sed -i the way you use it is not portable. BSD (and therefore Mac OS X) requires a mandatory argument to -i (the suffix to use for the backup files). In Linux sed the suffix is optional.
Post reply on HN