Better HN
topnewbestaskshowjobs
Log inSign up

realharo

1,000 karma · joined Oct 11, 2013 (13y ago) · 463 submissions

https://www.holak.net/
Submissions

comment 2w ago · link · parent

By "can't be used as a regular value", I meant that it would be a compile-time error. That you have to explicitly opt into skipping the check, e.g. with `unwrap` in Rust, or with something like `!` in languages where `string` and `string?` are different types (like TypeScript, Kotlin, Swift, C#, etc.)

Trying to change a function return type from e.g. `string` to `string?` would make the backwards-incompatible breaking change immediately visible, and break the builds of all code that relied on not having to check it back when it was `string` - at compile time.

comment 2w ago · link · parent

The type of the value in C is `char*`.

That's what led some people to write code where it crashes without checks. Which is still their mistake. But if the type was something that can't be implicitly used like an always-present value, that would have prevented the situation, even with those same people.

comment 2w ago · link · parent

>because crypt in musl started returning "*" in some cases some years ago

In Rust, the type of the return value would be a `Result<T, E>`, which means the chain of events that led to this would never have started in the first place.

comment 1mo ago · link · parent

I have just one app I published way back in 2014 or so, and I think there were only 2 updates (only counting changes that required uploading new builds) since then that were like "do this or we're taking the app down".

One of them was requiring a privacy policy, even for a fully offline game that doesn't even have the internet permission. The other one was having to update the target platform version if I remember correctly.

comment 1mo ago · link · parent

China is facing many of the same problems that the rest of the world is, with demographic decline, slowing growth, etc.

comment 1mo ago · link · parent

I don't just mean software engineers, more like entire companies.

Their demos are getting awfully close to the point where all the things just run themselves. It's only by choice that they didn't demo it that way.

comment 1mo ago · link · parent

I wonder at what point they'll have to answer the inevitable question: "why does the agent even need me anymore"?

comment 2mo ago · link · parent

Tapo C125 has a built-in physical shutter. Also, every PTZ camera can just turn to face the wall, that would maybe defeat this too (not sure).

For the typical indoor WiFi cameras without battery backup, a simple way to detect them could be to turn all breakers off and on, and listen for their motors rotating on startup. Or make the room dark and listen for the click of the IR cut filter switching to night mode or back.

comment 3mo ago · link · parent

Flashy features often seem more targeted at tech reviewers and impressive demos than actual day-to-day use. Like movies having some scenes purely because they look good in a trailer.

comment 3mo ago · link · parent

On the other hand, it's also much less effort to do at least some rudimentary review.

Or make a fork with only the minimim set of parts that your agent cherry picks.

comment 3mo ago · link · parent

Maybe that's because back then it just didn't affect enough people at the same time.

They weren't too big to fail.

comment 6mo ago · link · parent

With regards to b), what is the evidence that they actually deliver on this promise?

comment 6mo ago · link · parent

Yeah, that's just a copium answer from people who simply want to hand wave away the issue instead of admitting they have no good answers.

Like a politician who's asked about this in a town hall, but thinks that "our plan is to do absolutely nothing" doesn't sound very appealing.

comment 6mo ago · link · parent

If that's how you feel, maybe the applications you're making are too simple to need any of your unique contribution.

The answer could be to just push further, and try solving harder problems.

comment 6mo ago · link · parent

This depends entirely on your local laws and the kinds of loans banks offer.

In most places, you can only get recourse mortgages. You will be liable for the rest of the mortgage, if the value of the house drops so much that selling it doesn't cover the remaining debt.

House values dropping a lot is something that happens fairly rarely, but it tends to happen exactly during the times when you are most likely to be unable to pay your mortgage (recessions, industry downturns, etc.)

comment 7mo ago · link · parent

>working bid/ask spread when factories buy or sell on the market to make pricing dynamic and realistic

Does it deliver on the "realistic" part? My experience with most models is they make something that technically fulfills the ask, but often in a way that doesn't really capture my intent (this is with regular Claude Code though).

comment 7mo ago · link · parent

>The point of Bitcoin is to avoid exactly that sort of trust relationship, otherwise use the banking system.

Most participants don't care about this. For almost everyone, the point of Bitcoin is to go up. As long as they can find enough buyers that also believe it will go up, the rest is optional. Especially if it's temporary, for a one-time migration.

comment 7mo ago · link · parent

Ah, then yeah, in that case, it'd be basically over.

Maybe large exchanges would try to step in to make a fresh chain based on their combined account data, and just drop the people relying on self-custody. But I doubt the market would go for it - the uncertainty would crash it hard enough that it would never recover.

comment 7mo ago · link · parent

In practice, what you really need is consensus. As long as enough of the important participants agree, that's how it will be.

And since there are millions of identical copies of the entire pre-attack ledger out there, this should not be that difficult.

Potential future buyers might reevaluate whether this whole thing has any monetary value, but that's a separate concern. Bitcoin's market value was never about the technical details.

comment 8mo ago · link · parent

Yeah, it makes it sound like your attention is given as an act of charity. A lot of online discourse tends to be very "creator-first" framed, rather than "audience-first".

comment 8mo ago · link · parent

This has to be intentional, right?

comment 8mo ago · link · parent

And yet almost all of the most popular sports leagues in the US have a salary cap rule.

comment 9mo ago · link · parent

"Local history" is a very popular feature in the JetBrains IDEs (just search HN comments), and I remember similar tools appearing on HN several times in the past (for example https://news.ycombinator.com/item?id=29784238), so clearly there is demand for such functionality (or at least was in the past, when almost all code edits were manual).

comment 9mo ago · link · parent

Yeah, but that's not the same, as most readers will just skip over that. What I said is more similar to HN's monthly "who's hiring" threads or "what are you working on" threads. Like https://news.ycombinator.com/item?id=46937696. I find those much more interesting.

comment 9mo ago · link · parent

I think the problem with such places is, they just become a dump for self-promotion by people who otherwise don't participate at all. The opposite of an actual community. That's why even reddit used to have a 10-to-1 rule of thumb about posts like that (which would be very easily gamed today).

comment 9mo ago · link · parent

Usually online communities have dedicated days for such things. Like a "side project Sunday" or such, with one large thread.

comment 10mo ago · link · parent

Even if you trust the intentions of whoever you're giving your data to, you may not trust their ability to keep it safe from data breaches. Those happen all the time.
12345
16