https://github.com/denoland/pm-benchmark
Check the run bench shell script (there's not much else in the repo anyways)
https://github.com/denoland/pm-benchmark
Check the run bench shell script (there's not much else in the repo anyways)
I do this sort of thing to see what tools are faster all the time. ripgrep, ag(silver searcher), grep, MongoDB was one we were arguing about for a while recently.
(I'm the author of ripgrep.)
I have a lot of subtitles. I'm partially hard of hearing and partially i can't stand the way everything is mastered, so i use volume normalization (sometimes called "night mode", vizio calls it this) and subtitles to make up for the fact that the audio tracks in most things is bad.
Well a side effect of subtitles is now i have context for every video that i can search. grep was grep.
you didn't think i'd leave you hanging https://i.imgur.com/Vs5AAT7.png
some other non-statistics from that day: 15GB sorted password list, newline delimited, UTF-8 from spinningrust drive 64 seconds (~234MB/s) to make a copy of the file. ag and rg took 3.2 seconds to search the copy. I'm actually hesitant to state that grep took 52 seconds...
Thanks for replying, thanks for making me remember the great conversations we had around those topics a couple months ago, and thanks for creating ripgrep, it's my go-to for anything non-trivial!
I've occasionally wanted to put the subtitles from all of my Simpson episodes into an easily searchable format. What do you use to extract subtitles?
I burn in the subtitles because "streaming media players" nearly universally are awful at handing anything except 100% perfect subtitles - and that's if they bother handling them at all, over the last 20 years. Also my best friend was dating a deaf person, so the impetus for burning in for streaming was because we'd watch movies together in my living room on a rear projection TV via wifi streaming from a WHS "plex-like" server in my room. The device was a western digital something TV.
I also own the first 20 seasons of the Simpsons on DVD. I'd own more but they stopped making them. Despite starting it decades ago, they took so long that the DVD (and disk format in general) has become obsolescent for the most part. But I've ripped all 20 seasons on to my network, including the commentary tracks, which I absolutely love.
I don't burn subtitles in though. I've never had a problem using them with vlc (since the early aughts) and then mpv (as of maybe 10 years ago). I don't use anything fancy though for viewing. I just have a handful of Intel NUCs running Archlinux hooked up to each TV in the house. I skipped all the Plex bullshit.
also when i get stuff from a website with yt-dlp for archival i use
```pwsh
$userInput = Read-Host -Prompt '480 video download script enter URL'
Write-Output "URL:`t`t$userInput"
yt-dlp.exe `
-f 'bestvideo[height<=480]+bestaudio/best[height<=480]' `
--write-auto-subs --write-subs `
--fragment-retries infinite `
$userInput
```