Recent submissions

Comment · 9 days ago
Same here, I'm so awake after 10... But my kids get up at 6-7 in the morning so I need to change my sleep schedule. Also, everything is designed for early risers, breakfast in hotel, from 6-9. But when I'm on vacation, I sleep till 9.

Same with work, getting to the office at 7 is fine, at 10 is frowned upon.

What helps is circadian lighting, I have homeassistant and it changes the color temperature of my ikea smart lights to yellow in the evening, and white during the day. The yellow lights prepare me for the sleep.

Comment · 1 month ago
Ah, I've read what the problem is (90% sure).

Aqara sensors use zigbee, but NOT the full protocol, like Ikea ones for example. So they work fine, until they lose a connection to a router. Zigbee protocol dictates that it will need to try connecting to another router, but aqara does not.

I have a lot of these sensors in my home, normally the connection is fine (5+ years) but sometimes I lose one. Because somebody turned off the lamp (ikea one, acting as a router) (by cutting the electricity to it) by mistake. Then, the connection is lost to that router and it will not try to reconnect.

When the router does not switch, the connection stays. I don't even need to re-pair when changing the batteries!

I've read this somewhere, take it with a grain of salt and validate it yourself if possible.

Comment · 1 year ago
> Also, if the data in chat is being held hostage, the org might be using chat wrong.

This is so important these days. A lot of project send users to discord, slack for documentation and help but they are not made for this purpose. Searching in chat channel for a specific problem is not a good way to handle documentation. I can't even use search engines to search that.

Comment · 1 year ago
I hear a lot of astrophotographers take many short-exposure (5-10s) photos and then stich them together in POST. Missing 1 of possible 100 photos in OK I think?

Keeping in mind that you photographing a specific thing in the sky, not the startrails, as missing a frame will be very visible there.

Comment · 2 years ago
Can't thank you enough for photopea. Very good (and impressive) job that you've done with it! It's very useful as a frontend developer that wants to quickly edit an image!
Comment · 2 years ago
Great, thanks!
Comment · 2 years ago
A bit off topic, but I was interested in Nvidia Shield but I have an (5.1) amplifier hooked on my TV with Optical Cable. As I understood, Shield doesn't have any Optical out. Is it possible to connect Shield to TV and let TV (LG with WebOS) pass audio through optical to the amplifier?

My amplifier is quite old, so it doesn't have HDMI in or something.

Comment · 2 years ago
You are right, this would not cause layout to recalculate, only repaint. And propably repaint only a section of the screen, not the whole window.
Comment · 2 years ago
Strange to see this, as the animation should NOT trigger a layout recalculation (transform is done on it's own "layer", is GPU accelerated and that's why it's more performant).

The article mentions "The computer is doing a lot more work and recomputing the layout of the entire page.", but it's not true. As you see in his example, the square image is getting rotated but layout of the table does not change (the image clips out the table), so no layout recalculation is done.

So the "bug", must be somewhere else?

Comment · 2 years ago
Comment · 2 years ago
Maybe I'm missing something about your question, but:

``` .parent {display: flex; flex-direction: column;} .rest {flex-grow: 1; overflow-y: auto;} ```

Comment · 3 years ago
Comment · 3 years ago
You can't believe from how much bugs TypScript has saved me. When it was "first released" (when it became more popular), I have ported our starter kit to TypScript and was amazed on how much stuff it was detecting as not safe.

Since then, I can't image working without TS. As for Third Party libraries, I have a different experience from other devs here, it works very well for most (if not all) big libraries/frameworks, and the autocomplete saves me so much time in digging in the docs.

Comment · 5 years ago
* SponsorBlock for YouTube - Skip Sponsorships

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton