3 years of notes using Markdown + ripgrep (https://github.com/BurntSushi/ripgrep …) = winning the personal data game
-
Show this thread
-
future ideas for my personal website include fleshing out https://cdbattaglia.com/quote-the-walls and then adding my "clippings.txt" files from my Kindle somewhere so that I can refer people to things I've read
1 reply 0 retweets 0 likesShow this thread -
somewhat security concerns with using user input from web for ripgrep searching but I think I as long as I partition off a user group properly for my
@nodejs backend service and/or maybe further Sandbox with a custom mount for these files then I'll be all good1 reply 0 retweets 0 likesShow this thread -
Replying to @cdbattags @nodejs
Sandbox would be a good idea. AFAIK, nobody has tested ripgrep in untrusted scenarios. In theory, you should be fine, but you could definitely open yourself up to different forms of DoS attacks. regexes can consume lots of CPU. :-)
1 reply 1 retweet 2 likes -
Replying to @burntsushi5 @nodejs
hell yes,
@burntsushi5! thank you for the reply and cheers for@rustlang love! would this sort of feature maybe be a good value add/pull request? I'm thinking a "--safe" sort of query that does some time estimation and/or safe escaping?1 reply 0 retweets 0 likes
I'm honestly not sure how that would be implemented, and I don't think I understand what kind of escaping you have in mind here. I think this problem is most likely best solved out-of-process. That's not my area of expertise, but think ulimit.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.