Hacker GitHub

← All repos

harthur/replace

View on GitHub ↗ ★ 747 JavaScript archived

Command line search and replace utility

11 mentions on Hacker News by 11 people: 0 stories, 11 comments · first 2013-01-24 · latest 2022-11-07

Mentions per year 11 mentions · busiest year 2013 (9)
20082026
  1. for proper context you'd have to look at the repo has it was when the tweets went out https://github.com/harthur/replace/tree/431b1e183a4bd43046af... but it doesn't matter as those tweets are trash, specially coming from other OSS devs
  2. I can't help but feel like I'm missing context here. The project ( https://github.com/harthur/replace ) seems like a vaguely reasonable "grep with a simpler interface and a regex syntax I'm already familiar with" kind of utility. It's far…
  3. …delusions of persecution are staggering. [1] Here is what they saw, no indication of femaleness: https://github.com/harthur/replace > I’m not entirely sure what drives someone to the conclusion that because “harthur”, which turns out to be…
    comment by jorgenev · 2013-04-30 · in How A 17-Year-Old Girl Won a Hackathon
  4. …agr='ag -G ".*.rb"' Also if you are looking for an alternative to sed don't miss replace[1]. [1] https://github.com/harthur/replace
    comment by irrationalfab · 2013-02-27 · in Improved searching with The Silver Searcher
  5. I just gave the code a quick look and I find this `eval` usage not too cool: https://github.com/harthur/replace/blob/master/replace.js#L4... It relies on the fact that you can provide javascripts String#replace a "replace function" (1).…
    comment by fernandezpablo · 2013-01-24 · in If You Call Out Bad Code, Make Sure It's Bad First
  6. …sufficiently humorous to retain, for example. The nesting goes a little deeper than I would like: https://github.com/harthur/replace/blob/master/replace.js#L9... is 7 indents deep, for example, where I think something like 4 indents is a…
  7. …very unconstructive way. Here's his quote from twitter: > Ever wanted to make sed or grep worse? http://github.com/harthur/replace In the world I live in, that's called being an asshole. Look, I'm not saying these guys should apologize (in…
  8. …it for the next time I need feature detection in JS, and because it mentions HOG descriptors. https://github.com/harthur/replace is useful but not-brilliant. I'll bookmark the 'sed' or 'awk' manpage instead.
  9. …core developer dissing someone for gratuitious use of Node.js. Now I've seen it all. This project https://github.com/harthur/replace is some of the least sucky code you're likely to see in a month of reading Javascript.
  10. OK... I usually don't involve myself in drama, but I looked at the code: https://github.com/harthur/replace/blob/master/replace.js Out of all the code could say "eyes bleeding" that doesn't even come close? Only thing that stands out is…
    comment by chubot · 2013-01-24 · in I'm sorry
  11. First up a clickable link to the project: https://github.com/harthur/replace --- When I see a project that reinvents the wheel I tend to think that the author needed a very particular wheel and decided to start with first principles. And…