News for hackers. Stuff that matters.
Re:Poll: Where do you live? by gabrielsroka on Sunday February 06, 2022 @04:34PM (#30237242)
I posted these:

https://news.ycombinator.com/item?id=30213991

https://news.ycombinator.com/item?id=30215244

Edit (this version subtracts 1 to see the real score and pops open in a new window):

  javascript:open().document.write('<meta name=viewport content="width=device-width, initial-scale=1.0"><table>' + [...document.querySelectorAll('.fatitem table .athing')].map(el => ({place: el.textContent.trim(), score: parseInt(el.nextSibling.textContent) - 1})).sort((a, b) => b.score - a.score || a.place.localeCompare(b.place)).map(e => `<tr><td>${e.place}<td align=right>${e.score}`).join('') + '</table>')

There are no comments on this comment yet.