McOkapi

joined 2 months ago
[–] [email protected] 2 points 1 month ago

Wish I could help with the strategy. I don't deal with this in any way, I genuinely don't care if someone likes me or not. I actually don't think about it. I understand this can be a problem and mess with one's confidence in a situation like yours, but the numbers speak for themselves - you are in a good place.

 

Taking accurate screenshots with Puppeteer has been a real pain, especially with pages that don’t fully load when the standard waitUntil: load fires. A real pain. Some sites, particularly SPAs built with Angular, React, or Vue, end up half-loaded, leaving me with screenshots where parts of the page are just blank. Peachy, just peachy.

I've had the same issue with waitUntil: domcontentloaded, but that one was kind of expected. The problem is that the page load event fires too early, and for pages relying on JavaScript to load images or other resources, this means the screenshot captures a half-baked page. Useless, obviously.

After some digging accompanied by a certain type of language (the beep type), I did find a few workarounds. For example, you can use Puppeteer to wait for specific DOM elements to appear or disappear. Another approach is to wait for the network to be idle for a certain time. But what really helped was finding a custom function that waits for the DOM updates to settle (source). It’s the closest to a solution for getting fully loaded screenshots across different types of websites, at least from what I was able to find. Hope it will help anyone who struggles with this issue.

[–] [email protected] 3 points 1 month ago (1 children)

I haven't heard about mitochondria in so many years (obviously. why would I?) and I can't explain why it feels so good reading this now.

[–] [email protected] 2 points 1 month ago (1 children)

I wasn't aware of this, when did it start? So far, it has never happened to me not to be able to view reddit threads

[–] [email protected] 4 points 1 month ago

Same here. Maybe it partly has to do with age, but definitely not only. I get super nostalgic about very few things - this game is one of them.

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

I use the ChatGPT Google Sheets extension pretty much every day to create tables, charts, and all kinds of lists for various clients and projects. The results are excellent, and it saves me a significant amount of time.

[–] [email protected] 1 points 1 month ago

I agree, people don't really pay attention or bother to read about stuff like How to check if a QR code is safe. Honestly, I've been dealing with QR codes for quite a while, and I still occasionally spend time looking things up, reading about quishing, and whatever new scam/term appears.

[–] [email protected] 2 points 1 month ago (1 children)

This is actually not a bad idea at all. Although no hope for skipping unhealthy snacks.

[–] [email protected] 1 points 2 months ago

Just make sure that busy comes with money and that it ends at some point.

Excellent point.