Live data from Hacker News

Razer made to pay $1.2M over 'N95' face mask that wasn't

theregister.com

61–65 of 65 posts

Re: Razer made to pay $1.2M over 'N95' face mask that wasn't

#61

Earlier quoted context omitted.

I suspect this is the comment mentioned: https://youtu.be/_Sd608uzI0Q?t=710

Exactly! I am really curious, how did you find this? Was it memory, or search?

Oh, my memory isn't nearly that good. I thought you were right, but I couldn't remember it more than that.

I cobbled together the correct yt-dlp command to get all the subtitles and a little Python glue to search them.

Re: Razer made to pay $1.2M over 'N95' face mask that wasn't

#62

Earlier quoted context omitted.

Exactly! I am really curious, how did you find this? Was it memory, or search?

Oh, my memory isn't nearly that good. I thought you were right, but I couldn't remember it more than that. I cobbled together the correct yt-dlp command to get all the subtitles and a little Python glue to search them.

OMGosh. Thank you. I did actually try to find it, but I put in much less effort via Google searches, and obviously failed.

Thanks for taking the time. Now I need to learn more about yt-dlp.

Would you mind sharing the yt-dlp command which helped you get all the subtitles?

Re: Razer made to pay $1.2M over 'N95' face mask that wasn't

#63

Earlier quoted context omitted.

Oh, my memory isn't nearly that good. I thought you were right, but I couldn't remember it more than that. I cobbled together the correct yt-dlp command to get all the subtitles and a little Python glue to search them.

OMGosh. Thank you. I did actually try to find it, but I put in much less effort via Google searches, and obviously failed. Thanks for taking the time. Now I need to learn more about yt-dlp. Would you mind sharing the yt-dlp command which helped you get all the subtitles?

Sure, this was the command I used:

    ./yt-dlp --skip-download --write-sub --write-auto-sub --sub-lang en --sub-format json3 "https://www.youtube.com/playlist?list=PL8mG-RkN2uTw7PhlnAr4pZZz2QubIbujH"
That'll grab all the WAN shows (that's the playlist LTT provides for the WAN) of the autogenerated subs in a rather, uh, unique, JSON based format. From there I wrote some throw away quality Python to find razor or blade near percent:

    import os, json

    hits, files = 0, 0
    for cur in [x for x in os.listdir(".") if x.endswith(".json3")]:
        files += 1
        with open(cur) as f:
            data = json.load(f)
        words = []
        for event in data["events"]:
            at = event["tStartMs"]
            for seg in event.get("segs", []):
                words.append((len(words), at, seg["utf8"].strip().lower()))

        span = 10 * 1000
        for i, at, word in words:
            if word in {"razor", "blade", "razors", "blades"}:
                span_min = min(x[0] for x in words if abs(x[1] - at) 
It found some false positives (maybe one, don't remember), and the hit shared above.

Re: Razer made to pay $1.2M over 'N95' face mask that wasn't

#64

Earlier quoted context omitted.

OMGosh. Thank you. I did actually try to find it, but I put in much less effort via Google searches, and obviously failed. Thanks for taking the time. Now I need to learn more about yt-dlp. Would you mind sharing the yt-dlp command which helped you get all the subtitles?

Sure, this was the command I used: ./yt-dlp --skip-download --write-sub --write-auto-sub --sub-lang en --sub-format json3 "https://www.youtube.com/playlist?list=PL8mG-RkN2uTw7PhlnAr4pZZz2QubIbujH" That'll grab all the WAN shows (that's the playlist LTT provides for the WAN) of the autogenerated subs in a rather, uh, unique, JSON based format. From there I wrote some throw away quality Python to find razor or blade ne…

Thank you very much.

Re: Razer made to pay $1.2M over 'N95' face mask that wasn't

#65

Earlier quoted context omitted.

I'll tell you this. This website, just like reddit since about 2006-07, shadowbans popular right-leaning posts and leaves ones that the community down rates up. You are on what is very likely a site infiltrated by China...

You still have not provided any examples. Where are your URLs?

I have no doubt you are the smartest person you know.
Post reply on HN