3 comments

[ 2.6 ms ] story [ 20.2 ms ] thread
One additional option would be to use uBlock Origin if already installed and if one wished to not install userscript. I mention this because I know many here already have uBlock active.

Addons -> uBlock Preferences -> My Filters: Append something like

    # top (title / url)
    news.ycombinator.com##tr.athing span.titleline > a:has-text(/(lockchain|202[3-9]$)/):upward(tr)
    # bottom (stats / comments)
    news.ycombinator.com##tr.athing span.titleline > a:has-text(/(lockchain|202[3-9]$)/):upward(tr) + *
And/or adjust it to match the regex used in the linked article or adjust as desired. This example would block blockchain discussions and article titles that end in a year.

So from the article one would insert the following between the two //'s

    [Nn]eural [Nn]etwork|Bard|[Mm]achine [Ll]earning|[Aa]rtifical [Ii]ntelligence|[Aa]gents|A\.?I\.?|GPT|LLaMA|[Ll]anguage [Mm]odel|(deep|long) learning|[Ll]aid[- ]?off|[Ll]ayoff|[Ss]table [Dd]iffusion|LLM|ML|Co-?[pP]ilot|RL|[Rr]einforcement [Ll]earning|VR|AGI
Nice, today I learned of :upward CSS pseudo-class in uB, so I will change my old rules to that.

Still, it's better to add

  html:not([op="item"]) 
before overall selector so it wouldn't filter even in specifically opened threads with those titles.
Also I suggest to use:

  ):xpath(following-sibling::tr[1])
instead of:

  ) + *
as the latter bugs out sometimes if you use an autopagination browser script/extension.