Ask HN: What small library or tool do you want that doesn’t exist?
11–20 of 145 posts
Re: Ask HN: What small library or tool do you want that doesn’t exist?
#12I wish VLC, plex, video players in general had the ability to automatically sync subs to audio. ( automatically , not manually) We have the technology; everything we need to do this exists. It's just not done automatically, and when using slightly off-sync subs, you have to fiddle with sub timing for ages until you find the right sync. Even more so when the subtitles have different off-sync issues for the whole movie…
> Ctrl+Shift+Left and Ctrl+Shift+Right
> Adjust subtitle delay so that the next or previous subtitle is displayed now. This is especially useful to sync subtitles to audio.
This works in 9/10 cases. :)
----
Re: Ask HN: What small library or tool do you want that doesn’t exist?
#13Re: Ask HN: What small library or tool do you want that doesn’t exist?
#14 swizel - takes csv input, selects columns and arbitrarily selects output order
OPTIONS change the field delimiter (default comma)
handle trimming whitespace per field (or an arbitrary set of chars, e.g. quotes)
ignore or transform a prefixed one-line header or comment (default #)
[bonus points] handle numeric fields (e.g. precision or float/int conversion)
OBLIGATORY while all of this can already be done with a combination of cut, sed, tr and/or awk, it's a common task when working with columnar data and could be made more intuitive and less error prone. transforming columnar data mostly boils down to clean up and basic sanity checks. good karma on this one.Re: Ask HN: What small library or tool do you want that doesn’t exist?
#15I use MS SQL Server a lot at work. I interact with instances via SSMS usually. I'd love a tool that would log to file every query that I execute. Including a customisable comment line with info including when it was run and the server/db it was run against. I'd move to a command line tool, e.g. a sqlcmd variant or shell voodoo, if it could do that.
They have a log already: https://intellij-support.jetbrains.com/hc/en-us/community/po...
Re: Ask HN: What small library or tool do you want that doesn’t exist?
#16Re: Ask HN: What small library or tool do you want that doesn’t exist?
#17I wish VLC, plex, video players in general had the ability to automatically sync subs to audio. ( automatically , not manually) We have the technology; everything we need to do this exists. It's just not done automatically, and when using slightly off-sync subs, you have to fiddle with sub timing for ages until you find the right sync. Even more so when the subtitles have different off-sync issues for the whole movie…
I don't know about 'automatic', but in mpv[1] you have this: > Ctrl+Shift+Left and Ctrl+Shift+Right > Adjust subtitle delay so that the next or previous subtitle is displayed now. This is especially useful to sync subtitles to audio. This works in 9/10 cases. :) ---- [1] https://mpv.io/
Re: Ask HN: What small library or tool do you want that doesn’t exist?
#18Re: Ask HN: What small library or tool do you want that doesn’t exist?
#19AWS has their own crontab syntax, slightly different from regular Cron. But there is no validation tool before you submit something. It just rejects it. I want something like crontab.guru but for cloudwatch syntax. It's such a small usecase but it'd be great.
At a quick glance, the syntax looks similar to the one used by Quartz Scheduler, so you can almost use this: https://freeformatter.com/cron-expression-generator-quartz.h...
I say "almost" because Quartz Scheduler expressions have one additional field: seconds. And there are more than likely differences in how nontrivial expressions and corner cases are handled by different tools.