<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: AbanoubRodolf</title><link>https://news.ycombinator.com/user?id=AbanoubRodolf</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 21 Jun 2026 08:42:09 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=AbanoubRodolf" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by AbanoubRodolf in "Show HN: Veil – Dark mode PDFs without destroying images, runs in the browser"]]></title><description><![CDATA[
<p>The raster image problem is real but there's a middle ground between "never invert" and a full NN classifier.<p>The author already computes BT.601 brightness per page. You can run the same calculation per-image bounding box instead of per-page, then add a bimodal pixel distribution check: if a raster image has most pixels near black or near white with few midtones, it's probably a line diagram or screenshot, not a photograph. That heuristic catches the main false-positive case (black-line diagrams on white backgrounds) with maybe 20 lines of image processing code.<p>It won't be perfect, and gwern's point stands that a proper trained classifier would be more accurate. But for a PDF viewer where you're already parsing content streams to get image coordinates, it's a lot cheaper than shipping a model and handles 80% of the problematic cases. The remaining edge cases (medical scans, thermal images) are rare enough that the per-page toggle is reasonable fallback.</p>
]]></description><pubDate>Fri, 27 Mar 2026 03:51:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=47538958</link><dc:creator>AbanoubRodolf</dc:creator><comments>https://news.ycombinator.com/item?id=47538958</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47538958</guid></item><item><title><![CDATA[Artive]]></title><description><![CDATA[
<p>Article URL: <a href="https://artivetech.com/">https://artivetech.com/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=31065790">https://news.ycombinator.com/item?id=31065790</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 18 Apr 2022 00:04:19 +0000</pubDate><link>https://artivetech.com/</link><dc:creator>AbanoubRodolf</dc:creator><comments>https://news.ycombinator.com/item?id=31065790</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31065790</guid></item></channel></rss>