HNHacker News
TopNewBestAskShowJobs

lafrenierejm

10 karma · joined December 8, 2016

[ my public key: https://keybase.io/lafrenierejm; my proof: https://keybase.io/lafrenierejm/sigs/Ehdq-a7GberlZkx_XvmNZVIybgG3LVgTurbLhGCBnrg ]
submissionscomments
lafrenierejm··on Show HN: Terminal UI for AWS
> I probably would never trust a public commit history as some kind of source of truth

What _would_ you trust as a source of truth for source code if not a public commit log? I agree that a squash commit’s timestamp in particular ought not be taken as authoritative for all of the changes in the commit, but commit history in general feels like the highest quality data most projects will ever have.

lafrenierejm··on Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
> What dependencies does it install

For all of the built-in adapters to work, you'll need ffmpeg, pandoc, and poppler-utils. See the Scoop package [1] for a specific example of this.

> does it create a bunch of caches, that clog up storage and/or memory?

YMMV, but in my opinion ripgrep-all is pretty conservative in its caching. The cache files are all isolated to a single directory (whose location respects OS convention) and their contents are limited to plaintext that required processing to extract.

[1]: https://github.com/ScoopInstaller/Main/blob/master/bucket/rg...

lafrenierejm··on Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
I have an open PR [1] that's relevant. The proposed changes would allow users to process XLS and XLSX files like any other Zip archive.

[1]: https://github.com/phiresky/ripgrep-all/pull/247

lafrenierejm··on Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
See https://github.com/phiresky/ripgrep-all/issues/221 for an example of doing this via a custom adapter and `exiftool`.
lafrenierejm··on Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.
You are correct that rga doesn't ship with an Excel adapter out of the box. I have an open PR [1] to allow users to process XLS and XLSX files like any other Zip archive.

[1]: https://github.com/phiresky/ripgrep-all/pull/247

lafrenierejm··on Template Strings Make the Wrong Thing Easier
As a counterpoint, consider Emacs's rx (https://www.gnu.org/software/emacs/manual/html_node/elisp/Rx...) as a direct alternative to writing regular expressions.
lafrenierejm··on A Collection of Modern/Faster/Saner Alternative Unix Commands
You're probably thinking of https://github.com/tomnomnom/gron.
lafrenierejm··on Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz
If anyone is interested gron [0], I have an open PR [1] to add it as an adapter to ripgrep-all. The patch was based on the most recent release, since master is currently not functional.

0: https://github.com/TomNomNom/gron

1: https://github.com/phiresky/ripgrep-all/pull/77