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


Thanks for sharing. I realised I have several userscripts I've written over time to tackle web browsing distractions. I found another one and this is probably the most effective for me because it hides Shorts at the CSS level. That means I don't need to rely on setTimeout(..., 1000) to catch elements that get inserted dynamically after the page loads.

  (function () {
    const css = `
      #secondary { display: none }
      .ytd-rich-shelf-renderer { display: none }
    `
    const style = document.createElement('style')
    style.textContent = css
    document.head.appendChild(style)
  })()


As a user that doesn't use uBlock, I was also kind of sick of youtube shorts shoving into my eyes. I just made my own firefox plugins forcibly remove them as well. It is good to see the filter list here. Looks like I missed out on the mobile ones.


yup, I agree. I should update it to use a faster hashing algorithm. That is the next step


The reasoning here is to improve getting hash of a large file (let say size > 100GB). Reading the file content sequently and hashing it will take a lot longer


I agree, but there is no way to compute the equivalent of the sequential hash using any parallel method.

This isn’t like gzip which can be parallelized.

Without standardization of a parallelized hash computation, it’s just a toy exercise in an embarrassingly parallel problem.


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

Search: