frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Hacker News historic upvote and score data

https://hn.dunkirk.sh/
77•clacker-o-matic•1d ago
Hi yall!

I've been using hacker news for a while but one of the things I started wanting recently was the ability to have alerts for any stories I post.

The thing that pushed me over the edge was Hackclub's shipwrecked https://shipwrecked.hackclub.com/ (hackathon in the boston bay for anyone that can make 4 projects over the summer and get at least one of them to go viral). One of the options for "going viral" was to get to the front page of hacker news but I was constantly scared that I would miss it getting on there lol so I whipped up a quick slackbot to send alerts to a channel. It was dead simple but it did work.

Once I had the bot I realized I could do wayyyy more with the data I was collecting so I decided to add some historical data initially thinking I would generate graphs and then embed them in the message but decided to quickly try using Bun.serve to host a quick dashboard mainly since I wanted to see how the developer experience was. Spoiler it is amazing. I've gotten really inspired by web components and the idea of only using universally supported `html`, `css`, and `js`. Bun results in an amazingly nice developer experience where you can just import the `index.html` and assign it to your root route and be done. Sorry for shilling about bun but it truly was one of my favorite parts of building this besides drizzle.

The dashboard has a graph of the points earned and position on the leaderboard over time (updated every 5 minutes) and then the expected stats like peak points, peak position, author, and comment count.

Also btw all the code is open source ofc on both my tangled repo (https://tangled.sh/@dunkirk.sh/hn-alerts) as well as a github repo (https://github.com/taciturnaxolotl/hn-alerts) and you can try the hosted version at https://hn.dunkirk.sh I'm planning to add the ability to just install the slackbot to any workspace and have workspace specific leaderboards but that will require a bit of refactoring and probably abandoning the slack-edge package.

Also you can view specific item's data by simply replacing news.yc.com with hn.dunkirk.sh like: https://hn.dunkirk.sh/item?id=44115853

Comments

NAHWheatCracker•1d ago
Nice site, slick. Not sure what use the data has to me, but I don't make posts, so that's my fault.

It would be nice if the chart would move down or something when you select a post that's lower in the rankings. I had to scroll back to the top after clicking one of the bottom posts.

clacker-o-matic•1d ago
That’s a good idea; shouldn’t be terribly hard to implement
leoff•1d ago
it's easy:

1. add `position: relative;` to `main-container`

2. add `position: sticky; top: 0;` to `graph-container`

you need to figure out what to do in the mobile display though

clacker-o-matic•1d ago
Thanks!!! My sleep addled brain couldn’t quite figure it out last night
canterburry•1d ago
According to your stats, when is the best time to post to get noticed?
throw__away7391•1d ago
Behind this question is a road that leads to all kinds of horrible things.
nottorp•1d ago
When you have something to say. As opposed to meeting your "engagement" quota.
baxtr•1d ago
Nice site. Looks slick!

I wonder though how the data is actionable? What can I do with it?

clacker-o-matic•1d ago
Honestly nothing, i really made it to scratch an itch lol
jcmp•1d ago
You made it to the frontpage :D
clacker-o-matic•1d ago
I honestly cant believe it lol; first project of mine to make it
meghanafour•1d ago
fire dude
clacker-o-matic•1d ago
:)
bilekas•1d ago
Are you sure this data is correct ? There is a listing of the "Most Upvoted Story" at 390, but I feel like I have seen regularly items higher than that.

One example I see today is : https://news.ycombinator.com/item?id=44174965

with 393.

das_keyboard•1d ago
If I understand correctly it does only show stats for the current frontpage (aka top 30). So it's the "Most Upvoted Story (on the frontpage right now)".
clacker-o-matic•1d ago
Yeah it would probably be better to phrase it that way
TheEdonian•1d ago
Looking at the charts they all seem to take off. To me that begs the question, do they take off because they hit the front-page and get all the attention, or are some of them bought upvotes like on Reddit?
Zobat•1d ago
Isn't this because upvotes "early" are worth more than upvotes later?
clacker-o-matic•1d ago
Thats my guess; also survivorship bias. Those that make it have to show quick promise early on in order to hit the front page
bilbo0s•1d ago
It's probably all of it.

I mean professional influence campaigns exist. Especially on social media. And HN also has its own required dynamics with respect to reaching the front page.

qingcharles•22h ago
I've yet to see anyone selling HN upvotes on the usual dubious forums like BHW. I'm not saying it doesn't happen, but I don't believe there is any commercial service being advertised.
mocmoc•1d ago
This is done with claude . You know why I know. looks awesome.
clacker-o-matic•1d ago
Lol fair; i used this project as a bit of a playground for zed agent mode. My conclusion is that its okayish for ui but generally terrible at responsive design and really bad at db queries. I had to fix most of the ui since it would just flat out not work on mobile
clacker-o-matic•1d ago
I’m curious what specifically tiped you off; i know that border on the cards is pretty indicative of claude but curious what else
mocmoc•1d ago
Because Claude generated that exact dashboard for me more than 20 times
welder•1d ago
Related: https://hnrankings.info/
clacker-o-matic•1d ago
Oooh that has some nice graphs
namiwang•1d ago
nice job! I once created [Track HN](https://track-hacker-news.com) which does similar things! I've already archived historical data of scores/comments/ranks. It seems our projects overlap - maybe we can combine our efforts to hack something even cooler :).
clacker-o-matic•1d ago
Ooh! Id love to talk!
zX41ZdbW•1d ago
I'm also collecting this data, and it allows rendering beautiful heatmaps like here: https://github.com/ClickHouse/ClickHouse/issues/59020

Try: ssh play@play.clickhouse.com

    SELECT id, max(score) AS s, max(descendants), argMax(title, update_time), arrayStringConcat(arrayMap(x -> format('\x1b[38;2;{0};{1};{2}m\xE2\x96\x88\x1b[0m', least(greatest(sqrt(x / 10) * 255, 0), 255)::UInt8::String, least(greatest(sqrt((x - 10) / 50) * 255, 0), 255)::UInt8::String, least(greatest(sqrt((x - 50) / 250) * 255, 0), 255)::UInt8::String), arrayDifference(arrayFill(x -> x != 0, maxResample(now() - INTERVAL 2 DAY, now(), 3600)(score, update_time))))) AS bar FROM hackernews_changes_items WHERE id IN (SELECT arrayJoin(ids) FROM (SELECT ids FROM hackernews_top WHERE type = 'top' ORDER BY update_time DESC LIMIT 1)) GROUP BY id ORDER BY s DESC LIMIT 10
clacker-o-matic•1d ago
Oooh thats awesome
clacker-o-matic•1d ago
i'm actually pretty sure I remember you from a few months back. didn't you post this then? if not i might have seen it in a comment or smthing
zX41ZdbW•18h ago
It's likely I've posted a link to playground before, https://play.clickhouse.com/ but it's unlikely I've posted a way to connect to it with ssh and this particular query.

Feel free to share if you like!

ChrisMarshallNY•1d ago
> Highest Points 461 Most upvoted story

Not sure that's accurate. If you look at just yesterday, you have this story: https://news.ycombinator.com/item?id=44163063

Which has over 2200 points.

clacker-o-matic•1d ago
its highest out of the current data from the front page
jmyeet•1d ago
The problem with analyzing HN comment and submission voting is we don't (AFAIK) have access to downvotes and that changes everything. We used to know the net votes for comments but that was removed years ago. Only submissions have net votes.

But what you find is that position matters, both for submissions and comments. There's a world of difference between being on the front page or not and being on the first page of cvomments (nad the higher on that page the better) for getting eyeballs (because people only scroll so far) and thus votes.

I mention this because both submissions and comments are heavily curated. It's more obvious with submissions where one post can stick around for 12 hours with 30 net votes on the front page while another will disappear within 15 minutes with 200+. Part of this is known. For example, the moderation team tends to dislike "political" submissions. I put that in quotes because what is and isn't "political" can be open to interpretation. Often on the Internet in general something is "political" if you don't agree with it and it's not if you are. You might even hear descriptions like "common sense" about the latter.

Comments are heavily curated too. Some of this is just rotating the top comments for freshness. Some of it is some sort of commenter rating where their comments will tend to be ranked high or low when fresh. And some of it is simply downranking certain comments.

On Reddit this would all be both more transparent and easier to visualize and analyze because we could sort by different critera, we could see total votes and we could see up/down vote breakdowns.

To be clear, no shade to the moderation team here. Just observing what happens.

One side note: I believe Shipwrecked isn't you but as a general observation to anyone, it reverses the mousewheel direction. Don't mess with scrolling.

Good work here. Just a few comments about your graph:

1. This may be personal preference but I would find the chart more reasonable if there was a horizonal line for where the cursor is. The way you have it, it feels a bit "disconnected" but maybe that's just me. I'm thinking of, say, how Google Finance does their charts;

2. You can probably compact the header into a single row/line;

3. I'm visually impaired and would like more contrast in the colours used accessibility-wise;

4. You have the submitter's name. That could be a link to their profilee;

5. This may just be preference but the tooltip feels "off" to me. This may be related to the above point about not having a line for the cursor maybe? But also the dark background doesn't seem to fit. Maybe it's the color too. I could just be nit-picking here;

6. Show number of comments maybe?

And the dashboard:

1. The cards themselves have a lot of wasted space. Again, you could link to the profile in them;

2. If you're scrolled down the page, when you click on a card you don't see the graph;

3. There's no hover over effects on the dashboard graphs. There easily could be I suspect;

4. I'm not sure a graph for raw score makes sense. It can only go up. Maybe show how many upvotes gained in that period?

5. The legend has different styling on the dashboard graph for some reason;

6. If you scroll down, click a card then scroll up you see the graph but you can't see what submission it belongs to. Maybe put some indicator on the graph or rethink how the layout works in general so you can see both the graph and selected card at the same time regardles of scrolling.

Anyway, good work.

clacker-o-matic•1d ago
thats some amazing feedback! i'll try to implement that tonight. Agree with you on the scrolling for sure; I know the people that made the website so i'll pass that on to them :)
doodlebugging•1d ago
Malwarebytes warned me about this site.

Website blocked due to riskware. IP 37.27.51.34 port 443

Firefox error reported as Problem Loading Page:

>SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

Could be my machine. I'm on Win7Pro with FF 115.24.0 so old and out of date here.

Bender•1d ago
I see it on VT [1] "Bfore.Ai PreCrime"

[1] - https://www.virustotal.com/gui/url/eab0487f9da6dd832f69dbbe0...

areyourllySorry•1d ago
the firefox error is also caused by malwarebytes blocking.
clacker-o-matic•1d ago
oh hmm; the website is running off a tilde server I share with 500 ish other kids so something might have gotten flagged
tokai•1d ago
10 months is definitely not a while in my book.
jaspermayone•1d ago
so cool krn!

Potential Cure for Deadly Blood Cancer Multiple Myeloma

https://www.nytimes.com/2025/06/03/health/multiple-myeloma-car-t-immunotherapy.html
1•bookofjoe•1m ago•1 comments

Show HN: Claude Composer

https://github.com/possibilities/claude-composer
3•mikebannister•2m ago•0 comments

Growing the Topos Tech Team

https://topos.institute/blog/2025-05-29-software-team/
1•todsacerdoti•3m ago•0 comments

Machine Learning: The Native Language of Biology

https://decodingbiology.substack.com/p/machine-learning-the-native-language
1•us-merul•3m ago•0 comments

Take ChatGPT back to the 2010s and they'd think AGI arrived, says Altman

https://www.theregister.com/2025/06/05/openai_altman/
1•rntn•4m ago•1 comments

What a developer needs to know about SCIM

https://tesseral.com/blog/what-a-developer-needs-to-know-about-scim
1•noleary•7m ago•0 comments

Proxy Services Feast on Ukraine's IP Address Exodus

https://krebsonsecurity.com/2025/06/proxy-services-feast-on-ukraines-ip-address-exodus/
2•todsacerdoti•9m ago•0 comments

Can Europe Unplug from Trump's America?

https://www.thenewworld.co.uk/natasha-lomas-can-europe-unplug-from-trumps-america/
2•TechTechTech•12m ago•1 comments

Show HN: Explainr – Upload a research paper and get a learning roadmap

https://explainr.aryanbuilds.com
1•mulitet4•17m ago•0 comments

Tip: Put your Rails app on a SQL query diet

https://andyatkinson.com/tip-track-sql-queries-quantity-ruby-rails-postgresql
2•andatki•19m ago•0 comments

Layouts.dev – A notebook for building interfaces with Tailwind and Shadcn/UI

https://layouts.dev/
2•WillieCubed•21m ago•0 comments

Elon Musk Suggests Trump Is in Epstein Files, a Source of Endless Conspiracy

https://www.nytimes.com/2025/06/05/us/elon-musk-trump-epstein-files.html
3•donsupreme•23m ago•0 comments

OriginUI

https://originui.com/
3•handfuloflight•25m ago•1 comments

Building a Smarter Chatbot – Why You Need FAQ-Links and RAG

https://00f.net/2025/06/04/rag/
2•bohinjc•29m ago•0 comments

Phasing out Bazaar code hosting

https://discourse.ubuntu.com/t/phasing-out-bazaar-code-hosting/62189
1•progval•31m ago•0 comments

Accelerometer-Measured Physical Activity and Neuroimaging-Driven Brain Age

https://spj.science.org/doi/10.34133/hds.0257
1•gnabgib•32m ago•0 comments

You're not still using Windows XP, are you?

https://www.computerworld.com/article/2091600/youre-not-really-still-using-windows-xp-are-you.html
3•pipeline_peak•33m ago•1 comments

1k-year-old Native American fields defy limits of farming

https://phys.org/news/2025-06-archaeologists-uncover-massive-year-native.html
1•geox•33m ago•0 comments

Aurora – 500-watt SDR ham radio transceiver announced

https://www.flexradio.com/aurora/
1•cylinder714•40m ago•0 comments

Why I Let Wikipedia Block Me (So It Would Remember Me Forever)

https://lightcapai.medium.com/why-i-let-wikipedia-block-me-so-it-would-remember-me-forever-54300bee8e60
1•WASDAai•41m ago•0 comments

Woman sues IBM over lost job, claims she was passed over because she is white

https://www.universalhub.com/2025/boston-woman-charges-she-didnt-get-executive-job-ibm-because-shes
3•ilamont•42m ago•0 comments

Launching Kaizly – summer learning made simple for your child

https://kaizly.com
1•jetsrfast•47m ago•1 comments

Feds charge 12 more suspects in RICO case over crypto crime spree

https://therecord.media/feds-charge-12-suspects-in-rico-crypto-heist
3•PaulHoule•47m ago•0 comments

Show HN: String Flux – Simplify everyday string transformations for developers

https://stringflux.io
6•eaglepeak•49m ago•0 comments

Gleam JavaScript gets 30% faster

https://gleam.run/news/gleam-javascript-gets-30-percent-faster/
3•Alupis•51m ago•0 comments

Show HN: Dietnb – Prevent Jupyter notebooks from bloating with Base64 images

https://github.com/JinLover/dietnb
1•JinLover•52m ago•0 comments

How to Improve Data Quality

https://blog.engora.com/2025/03/how-to-improve-data-quality.html
3•Vermin2000•53m ago•0 comments

A short history of Greenland, in six maps

https://www.economist.com/graphic-detail/2025/06/04/a-short-history-of-greenland-in-six-maps
1•bookofjoe•1h ago•1 comments

Don't Settle for Mediocre Front End Testing

https://blog.thinkst.com/2025/06/dont-settle-for-mediocre-frontend-testing-build-stable-reliable-systems-instead.html
2•mslaviero•1h ago•0 comments

CEO Sundar Pichai says Google to keep hiring engineers

https://timesofindia.indiatimes.com/technology/tech-news/ceo-sundar-pichai-says-google-to-keep-hiring-engineers-because-/articleshow/121647784.cms
2•msolujic•1h ago•0 comments