Hacker Newsnew | past | comments | ask | show | jobs | submit | ataylor32's commentslogin

Here is a relevant discussion: https://news.ycombinator.com/item?id=15256890


Here are a couple quotes from https://developer.chrome.com/articles/css-nth-child-of-s/#pr... :

New in CSS Selectors Level 4 is the ability to optionally pass a selector list into :nth-child() and :nth-last-child().

For example, :nth-child(2 of .highlight) selects the second matching element that has the .highlight class. Put differently: out of all children with the class .highlight, select the second one.


Do you do anything to handle "hidden tracks" (i.e. the last track has some audio, then some silence, and then some more audio)?


Are you sure? It's my understanding that screen readers know to ignore elements with display:none;


Not to be confused with https://github.com/microsoft/pyright


Agreed. Here is a video titled "How a simple Django application works" that is 8 minutes long. It has 29 likes and 27 dislikes. It's a pretty poor quality video, in my opinion.

https://www.youtube.com/watch?v=JU2SeliQvMM


56 total votes is a signal to me that is not a good tutorial. No need for a like/dislike ratio


On a video with 45,000 views I think the number of votes total doesn't matter as much as how many are up and down.


So if there was a similar video with the same views and likes but 0 downvotes you think it'd be significantly better? I'd guess the difference was noise.


I mean "maybe," right? It just seems like a sample-size problem rather than indicating any bias one way or another. And of course, as far as these things go, you only find out the quality after you watch some or all of it.


Yes, I agree. (I was just using the example given, which probably wasn't the best example for illustrating the value of public downvote counts.)

BTW, I should have known that if I questioned the value of public downvotes on a thread of downvoting enthusiasts that I would... get downvoted.


Take away the dislike count and you take away the total count too.


it's a video with low number of views though, 56 total votes is probably not a signal in that case.


56 samples on a stochastic process gives a pretty narrow normal curve...


Perhaps youtube is the wrong medium for a lot of things and dislikes may not be the best way to express that.

Youtube is borderline stupid right now for most channels that don't have organic growth... what they should do is re-open monetization and live streaming to everyone as its creating its own hell hole if you ask me with the 9 minutes of smash the like button and 1 minute of content we're seeing on every channel that isn't organically growing or making money through other means.


They've changed the sidebar algo/design in the past six months or so and I tell ya, I used to actually use it, but not anymore at all. It's basically been remodeled into the same "front page" business case as Soundcloud, Amazon, and any other "choose from a variety of things that may or may not be sponsored (but almost always are) and only ever relate to your watch history by chance."


> why not just do a bash script with a switch in it?

Here is another alternative:

https://github.com/TekWizely/run


Hey thanks for the bump !

I sometimes chime in on posts where OP makes a tool in the same domain as Run.

When I hit this article yesterday, the bash script convo hadn't started yet and I saw the OPs creation as not being in the same realm as Run, so didn't chime in.

But now that its been mentioned :)

Anyway I got a few extra subs from your call out, so thanks again for that!

(actually I just spent the last 30 mins reviewing 24 hours of HN posts to see where the call out might have come from, and finally found it :) -- Surprisingly google hasn't indexed this post yet so didn't show up in my saved search )


I wonder how it handles cases like this:

<sc<script>ript>alert('XSS')</sc</script>ript>

...and other strings from https://github.com/minimaxir/big-list-of-naughty-strings


  > (new Sanitizer()).sanitizeToString(`<sc<script>ript>alert('XSS')</sc</script>ript>`)
  "ript&gt;alert('XSS')ript&gt;"


I think if that was ever said by a core member, it was stated as a goal, not a for sure thing. I believe I've only ever heard it as speculation / wishful thinking.



There have been multiple links to the "how is prangent formed" video, but let's not forget about the "Curse of The Weggy Board" video:

https://www.youtube.com/watch?v=15nNY7uofNw


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: