News for hackers. Stuff that matters.
Re:Ask HN: Tools you have made for yourself? by themantri on Sunday June 13, 2021 @11:20AM (#27493326)
Could you please explain more about how the Decoder ring works? And how it's data is maintained?

Thanks for sharing!

Re:Ask HN: Tools you have made for yourself? by modeless on Monday June 14, 2021 @12:10AM (#27499220)
It's all client side. The entire database of error messages is downloaded up front and searched in JavaScript. The database is just a JSON file that I put together with some scripts to parse a few header files and other documentation. The whole thing is fewer bytes than a typical news article page these days, so why not download it all up front? I wish more sites worked this way.