Better HN
topnewbestaskshowjobs
Log inSign up

modmodmod

189 karma · joined Jul 23, 2020 (6y ago) · 83 submissions

Submissions

comment 1y ago · link · parent

Agreed

comment 1y ago · link · parent

Sarcasm made of gold is not well seen on HN

3.

Ask HN: Alternatives to Cloudflare for DNS?

9 points · by modmodmod · 1y ago · 8 comments

4.

Growing Systems Towards DDD, Event-Sourcing and Event-Driven Architecture(joebew42.github.io ↗)

1 points · by modmodmod · 1y ago · discuss

comment 1y ago · link · parent

isn’t this basically survivorship bias?

comment 1y ago · link · parent

love you too

comment 1y ago · link · parent

hey scosman, let me give it a try: I don't really know if it could work, but I have a feeling it won't work mainly due to CORS (regardless if the app is served from http or file protocol) in the browser

comment 1y ago · link · parent

tried to find a solution for your 3rd point, would love to get your feedback

comment 1y ago · link · parent

if you don't get the sarcasm, I can't help you.

comment 1y ago · link · parent

good point

comment 1y ago · link · parent

it seems that in private browsing (or generally if you're not logged in to GitHub) it doesn't show

comment 1y ago · link · parent

Thanks! It is definitely not the cleanest code I've written but I'm slowly making it cleaner and ready for OSS contributions. Learned a ton along the way too, which makes this all worth it nevertheless.

I'll use the common excuse: I jotted this project down for myself without the thought of publishing it ^^

comment 1y ago · link · parent

eventually

comment 1y ago · link · parent

does it work on iOS?

comment 1y ago · link · parent

Absolutely

comment 1y ago · link · parent

Thanks for the feedback! Some of the new additions are already wip :)

comment 1y ago · link · parent

Awesome! Have some things cooking for the future, hope to see your feedback if you can

comment 1y ago · link · parent

Yesss, let’s generalize everything, that’s how we got where we are right now. Bravo!

comment 1y ago · link · parent

lol so poetical

comment 1y ago · link · parent

It should work out of the box by just changing the server port of the llm service you’re contacting

LMStudio 1234 ollama 11434

comment 1y ago · link · parent

so, essentially, what you are saying is that yt-dlp should have never been open-sourced/published and ever posted on HN (so that not even you would have found out about it)?

comment 1y ago · link · parent

Done

comment 1y ago · link · parent

copied it from someone else, can't remember who :)

comment 1y ago · link · parent

a lot for sure.

but the more the better, right?

comment 1y ago · link · parent

the project currently supports cookies (never use your own though, of your google profile), just place them in cookies.txt in the root of the project. but it didn't seem to work well on my server, on a residential IP it works well

comment 1y ago · link · parent

Just recently I stumbled upon these options of yt-dlp, but haven't had the chance to dig deeper (sorry in advance for the formatting):

  SponsorBlock Options:
    Make chapter entries for, or remove various segments (sponsor, introductions, etc.) from downloaded YouTube videos using the SponsorBlock API (https://sponsor.ajay.app)

    --sponsorblock-mark CATS                                         SponsorBlock categories to create chapters for, separated by commas. Available categories are sponsor, intro, outro,
                                                                     selfpromo, preview, filler, interaction, music_offtopic, poi_highlight, chapter, all and default (=all). You can prefix the
                                                                     category with a "-" to exclude it. See [1] for descriptions of the categories. E.g. --sponsorblock-mark all,-preview [1]
                                                                     https://wiki.sponsor.ajay.app/w/Segment_Categories
    --sponsorblock-remove CATS                                       SponsorBlock categories to be removed from the video file, separated by commas. If a category is present in both mark and
                                                                     remove, remove takes precedence. The syntax and available categories are the same as for --sponsorblock-mark except that
                                                                     "default" refers to "all,-filler" and poi_highlight, chapter are not available
    --sponsorblock-chapter-title TEMPLATE                            An output template for the title of the SponsorBlock chapters created by --sponsorblock-mark. The only available fields are
                                                                     start_time, end_time, category, categories, name, category_names. Defaults to "[SponsorBlock]: %(category_names)l"
    --no-sponsorblock                                                Disable both --sponsorblock-mark and --sponsorblock-remove
    --sponsorblock-api URL                                           SponsorBlock API location, defaults to https://sponsor.ajay.app

comment 1y ago · link · parent

haha who cares :) the missed opportunity would have been if I kept it for myself instead of releasing it

comment 1y ago · link · parent

good question. I don't think I have a definitive answer but I'll try:

- pure luck. sometimes I discover a channel/creator/blog by pure accident, I'm an avid rss reader and HN adept so content comes to me naturally, so to speak.

- following a feed (be it a website's rss feed, reddit/YouTube) sometimes made me discover related feeds, simply because someone wrote about a cool project a peer made and links their YouTube/github/blog

comment 1y ago · link · parent

will do, thanks for the suggestion

comment 1y ago · link · parent

thanks!
123