70 karma · joined Oct 12, 2021 (5y ago) · 15 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
> Each of the seven sections on the image represents a browser tab that Puppeteer needs to keep open in order to fetch screenshots. Remember that the Node.js server was running on a Raspberry Pi, it didn’t have an excess of memory to operate in and Chrome is not known for its svelte-ness.
> I picked Node.js for the first server because I was using Puppeteer. I don’t particularly like Javascript, so given the ability to start from scratch I happily pivoted to Rust.
> Next, since we’re not relying on a browser engine to render the display, we will be using a 2D graphics library to render a PNG directly. This should have a much lower resource cost than using an entire browser engine, at the cost of some decreased flexibility.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
> What I fear more than losing my site, being sued, or dealing with police is living in a world where fat eunuchs can groom little boys into castrating themselves and nobody is allowed to say anything about it.
Wow very neutral site with no agenda here