• 0 Posts
  • 52 Comments
Joined 2 years ago
cake
Cake day: July 5th, 2023

help-circle



  • ebc@lemmy.catohomeassistant@lemmy.worldZigbee Device Reviews
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    Yeah, my experience with Aqara has been like that: flawless out of the box, pairs quickly with no issues, reports state correctly, all good. Then after a random while (at least a few hours, but within a day) they just drop off the network never to be seen again until I re-pair them.

    I even got an Aqara smart plug just to act as a router and pair the Aqara stuff through it, it was better but this time it dropped off after a few weeks. Might’ve been the battery though, it was a temperature sensor in -20°C.


  • Running a bunch of services here on a i3 PC I built for my wife back in 2010. I’ve since upgraded the RAM to 16GB, added as many hard drives as there are SATA ports on the mobo, re-bedded the heatsink, etc.

    It’s pretty much always ran on Debian, but all services are on Docker these days so the base distro doesn’t matter as much as it used to.

    I’d like to get a good backup solution going for it so I can actually use it for important data, but realistically I’m probably just going to replace it with a NAS at some point.




  • I’m no Python expert either and yeah, from an outsider’s perspective it seems needlessly confusing. easy_install that’s never been easy, pip that should absolutely be put on a Performance Improvement Plan, and now this venv nonsense.

    You can criticize javascript’s ridiculous dependencies all you want (left-pad?), but one thing that they absolutely got right is how to manage them. Everything’s in node_modules and that’s it. Yeah, you might get eleven copies of left-pad on your system, but you know what you NEVER get? Version conflicts between projects you’re working on.




  • I am one. I’m a pretty weak monarchist, though, it’s just that I look south and I’m glad that there’s a “higher level” looking over our politicians. Even if the GG nominations aren’t always ideal, at least in theory they aren’t beholden to popular opinion. The fact that they’re nominated and not elected ensures that they don’t have the legitimacy to push their own agenda either. So it’s a powerful position, but mostly symbolically and there would be a lot of backlash if some ambitious GG tried to use this power for anything other than extreme cases.

    In my opinion, this is partly why our politics haven’t yet devolved to the point of getting a Donald Trump. You can say what you want about Trudeau, but at least the government doesn’t shut down every so often just because they can’t agree on a budget.








  • By that same logic, can Russia ask Japan to extradite a US citizen because they advocated for LGBTQ+ rights while they were in South Korea? Because that’s basically what’s happening here, I just swapped the offence and the countries involved.

    Dude isn’t a US person, wasn’t in the US when he committed the alleged crime, and said alleged crime isn’t a crime where he allegedly committed it. US law isn’t world law.

    EVEN IF the guy might’ve been rapist asshole (allegations were fishy as heck), this extradition proceeding is a gross overreach by the US, and the UK should have laughed it out of court. If a country has any leg to stand on regarding extradition, it’s Sweden (I think that’s where he was when he committed all the alleged crimes, both the sexual ones and the wikileaks ones).


  • shove some text into stdout

    That’s not what this operator does normally, and if you try to “shove” something into anything else (an int into a variable? a function into an object?) you’ll get surprises… Basically it’s “special” and nothing else in the language behaves like it. Learning hello world in C++ teaches you absolutely nothing useful about the language, because it doesn’t generalize.

    C, in contrast, has many instances of complex functions like printf (another commenter mentioned variable arguments), and learning to call a function is something very useful that generalizes well to the rest of the language. You also learn early enough that each different function has its own “user manual” of how to use it, but it’s still just a function call.