Better HN
topnewbestaskshowjobs
Log inSign up

Denvercoder9

5,570 karma · joined Oct 5, 2013 (13y ago) · 1,210 submissions

Submissions

comment 3y ago · link · parent

There's also NetDaemon for those who prefer C#: https://netdaemon.xyz/

comment 3y ago · link · parent

> I too balked at the absurd complexity in the HomeAssistant stack

You can ditch their whole OS, management and orchestration/containerization stack, and just run it as a Python application in a virtualenv (they call it "Home Assistant Core"). I recommend it, it's much better than trying to keep up with their (mediocre, imo) distribution. Even if you don't want to manually setup a virtualenv, you can run it as a single container.

comment 3y ago · link · parent

Do you have an example of an x86 SBC with similar or better price, processing power and power consumption? I tried to find one a while back, but couldn't really find anything suitable, they mostly seem to be in the $100-$150 range.

comment 3y ago · link · parent

> Throughout my life, I've been a player, coach, and referee. In each of those roles, I have been in tournaments where this was the way the tournament was scored.

Where? I've never seen or heard of this scoring system being used in continental Europe (not even in the little kids leagues), and it's also not what's used in the professional tournaments (World Cup, Euros, Copa America, Champions League, etc).

comment 3y ago · link · parent

> For example, any library consumed by systemd (such as openssl) usually requires pid1 to relaunch.

That does not require a reboot, `systemctl daemon-reexec` is enough.

comment 3y ago · link · parent

> Still, I have rarely seen C++ compilers for embedded systems.

What kind of embedded systems? Even AVR has a C++ compiler.

comment 3y ago · link · parent

Isn't that just an intrinsic property of the news? If things are unchanging, there's nothing new, so it's almost by definition not news.

comment 3y ago · link · parent

Regardless of pollutants, agriculture uses way too much water for this to be practical. Average seawater salinity is 35 g/L, and the WHO recommends a salt intake of at most 5 g/day, so from one liter of water you get enough salt for seven people for a day. Approximating global population at 7 billion people, that means we could consume the salt from about 0.365 km^3 of water per year.

Just the US alone uses about ~110 km^3 of water for irrigation per year.

comment 3y ago · link · parent

> toggle switch in control panel before restart

Ah yes, let's brick the OS when hardware fails and has to be replaced without advance notice.

comment 3y ago · link · parent

> that's "shadowsocks"

I'm not familiar with the software, but according to Wikipedia it's a client to connect to a SOCKS5 proxy:

> Shadowsocks is not a proxy on its own, but (typically) is the client software to help connect to a third-party SOCKS5 proxy, which is similar to a Secure Shell (SSH) tunnel.

Are you saying that's incorrect?

comment 3y ago · link · parent

In what way is WireGuard easier to block than SOCKS?

comment 3y ago · link · parent

Lots of roads and bridges have a limit on axle load permitted on them. You can't do that with pedestrian bridges.

comment 3y ago · link · parent

That's true, but in practice you sometimes encounter such strings and it's nice if you can use the regular string functions with them, instead of having to special-code something.

comment 3y ago · link · parent

One drawback of these functions is that the return value is the length of the source string. This is seldomly useful, as it's mostly a micro-optimization to avoid an extra string scan when using static buffers for small strings, but dynamic buffers for large ones. However, it prevents these functions from being used with input that might not be null-terminated, and causes performance to be bounded by the size of the source (which usually isn't controlled by the caller), instead of the destination (which usually is).

comment 3y ago · link · parent

Up with respect to what? They can't go up relative to wages forever without making housing unaffordable.

comment 3y ago · link · parent

> If some particular eBPF program is a derived work of the kernel, then whether it's loaded or not doesn't matter.

IANAL, but as eBPF programs are distributed as bytecode and only JIT-compiled and linked when they are loaded into the kernel, I think there's an argument to be made that it doesn't become a derivative work until it's loaded.

comment 3y ago · link · parent

> We have no idea what the final cost will be. But doesn't matter since NASA is the one paying.

The HLS contract SpaceX has gotten from NASA is a fixed-fee contract (like most contracts NASA gives out these days), so the final cost absolutely matters to SpaceX's bottom line. Anything they spend beyond the contracted amount they'll have to come up with themselves. A good example of this is Boeing, which is now booking losses on the Starliner program every quarter because it has gone over time and budget.

comment 3y ago · link · parent

Zero, given that the launch corridor doesn't pass over land, and all rockets are equipped with a Flight Termination System that blows up the rocket if it deviates from that corridor.

comment 3y ago · link · parent

> Can't believe it took that long for FTS to end things.

There's no reason to activate the Flight Termination System until it leaves the launch corridor and safety becomes a factor. It's a test launch, you want to gather as much data as possible, even if the test doesn't go as you hoped.

comment 3y ago · link · parent

> I read this and if I understand it, someone wants to add some kind of automatic key exchange kind of like what happens with 'https:' ?

SSH already does an automatic key exchange when you start a session (and has for decades); the private/public keys used for authentication aren't the same keys as used for encryption of an established session.

comment 3y ago · link · parent

> Given that it hasn't been done yet, evaporation must not be a major issue, so we shouldn't bother.

Because of the droughts and increased population, preventing evaporation has become a lot more important today than it was 50 or even 20 years ago.

comment 3y ago · link · parent

A lot has happened since 2012. Libav is dead now, and everybody has switched back to ffmpeg.

comment 3y ago · link · parent

> By default, those requests are denied.

This depends on your bank, mine allows them by default.

comment 3y ago · link · parent

> What makes it work is that, under the SEPA Direct Debit framework, the risk of fraud and insufficient funds is 100% on the party initiating the direct debit.

Additionally, you need to have a direct debit agreement with your bank to be able to initiate a direct debit. You need to show at least some legitimate banking history (and a government-issued ID) to get one, and they come with limits on how many and how much you can debit per period, and your bank will terminate the agreement if your reversal rate is higher than normal.

comment 3y ago · link · parent

> Just a guess but since apps can fail to free memory correctly

That's not relevant here; from the perspective of the kernel pages are either assigned to a process, or they're not. If an application fails to free memory correctly, that only means it'll keep having pages assigned to it that it no longer uses, but eventually those pages will always be released (by the kernel upon termination of the process, in the worst case).

comment 3y ago · link · parent

If we're going to regulation route, we could also require those emergency broadcasts to move to FM.

comment 3y ago · link · parent

> anyone under 30 will expect this content

I'm under 30, and I absolutely do not expect my OS to push this crap on me.

comment 3y ago · link · parent

> In a vacuum, what Excel does is straightforward, and there's lots of free alternatives.

That's true in theory, but Excel executes it so much better than Google Sheets or LibreOffice Calc.

comment 3y ago · link · parent

No, as far as I can quickly find this proposal is propagated by a single (electrical) engineer, and does not have backing from any NGO's, governments or political parties.

comment 3y ago · link · parent

> novices should just learn embedded programming

For people that think this is a significant barrier, I'd suggest to take a look at MicroPython (on something like a ESP32 or RP2040 -- there's no reason to bother with the classic 8-bit Arduinos anymore). It gives you an environment that's surprisingly similar to what you'd use on a Pi.

1
111213
41