Hacker News new | ask | show | jobs
by zensayyy 1048 days ago
What? I have the black bar on every HN Page... Dont think this is what he thinks
2 comments

That's how it works. It's exactly what he says it is.
I still don't get how it is done.

1. How do you track which day had a black bar? By web.archive?

2. How do you associate the day to a specific post? I guess this should be fairly easy, albeit kinda manual.

The page itself says

This list was compiled using a simple Python script that recursively requested HN's Algolia search API for posts containing "has died". For each relevant hit, I pulled in snapshots from the Wayback Machine to see if the HTML document contained the black bar element at the end of the day the post was created. It's possible there are names missing.

https://github.com/minimaxir/hacker-news-undocumented#thin-b...

> Occasionally, there will be a thin black bar at the top of the top bar, in memoriam of a significant figure in the tech/science community dying. A Hacker News submission about the death will usually be on the front page at that time.

Thank you for explaining. The thin black bar looks like a bug with layout to be honest. I would rather get rid of orange for the sake of clearly indicating that something sad has happened.