Better HN
topnewbestaskshowjobs
Log inSign up

amw-zero

1,251 karma · joined Jun 27, 2016 (10y ago) · 662 submissions

Submissions

comment 5d ago · link · parent

> Third one is when you learn that the behavior of any imperative language (down to the working of the microprocessor data paths) can be fully represented in a pure functional rewrite language (without destructive assignment / cell state changes).

What no one is ever able to explain is: why is this a good thing?

The underlying machine does destructive assignment. The whole thing is a big mutable array. Why should we represent it in another way?

comment 1w ago · link · parent

What are you proving in Lean if you don't have the semantics of the thing that you're writing a proof about?

comment 2w ago · link · parent

I'm not seeing that in practice. It's another infinite space. We don't know what the best techniques are at all, and there are many many different ways to apply it.

What I can confidently tell you is writing a 2-sentence description of an application you want built does not work in any sense of the word. And, the difference between vibe coding and agentic engineering is vast.

comment 2w ago · link · parent

But then you won't know how to efficiently use AI, so you'll still end up spending more money when you start using it, nullifying any of the micro-optimization you were trying to do in the first place.

comment 2w ago · link · parent

We are not in the singularity. We currently can only produce reliable code / formalizations that have reliable checkers. If there wasn't an oracle that could tell Claude "yes" or "no," it would not be able to prove anything like this.

comment 2w ago · link · parent

Because Postgres hasn't adopted that yet, and I'm not aware of any actual plan to adopt it? Tom Lane just did an interview where he said he doesn't see any world where they move away from dead tuples and vacuuming.

comment 3w ago · link · parent

If you had to pick a default, an arena allocator would definitely be it. Although even better would be a fixed-size arena that can never grow, like Tigerbeetle does.

I don't think the footguns you're talking about are real by the way.

comment 1mo ago · link · parent

Why is that baffling? You usually have to diagnose what's going on before summarizing it into a status update.

Or do you mean you want to see: "Something is wrong, we're looking into it."

comment 2mo ago · link · parent

I totally agree. I have this nagging feeling that LLMs push things like this past the breaking point. Effects and contracts are _obviously_ useful to humans as well, we've just gotten by without them for a long time. But when you have intelligence on demand, context building is a huge bottleneck, and local reasoning becomes way more useful from an efficiency perspective.

I'd love to see some actual experiments with LLMs in this area. There are a fair number of languages with effect implementations at this point.

comment 5mo ago · link · parent

You can use them for dev environments.

You just have to finish development in 8 hours.

comment 5mo ago · link · parent

It would not, and you would know that if you actually evaluated the results.

comment 6mo ago · link · parent

It's not weird, since 99% of rentals are apartments, right?

comment 6mo ago · link · parent

I agree in principle, but I think the 2-5% estimate is extremely low. I could be sold on most developers spending ~25%, up to 40% of their time on code. But very few people are spending 2% of their time on it. Unless you're some sort of super senior staff / advisor to the CTO at a gigantic company, which has already placed you on rare terrain.

comment 6mo ago · link · parent

This is a really, really, really bad comparison. I used to say the same thing. But the semantic distance between compiling a for loop to equivalent assembly instructions is much smaller than the distance between "I'd like a web application that can store and retrieve todo items." The space of the latter is practically infinite in what can be "compiled."

comment 6mo ago · link · parent

Yes you're missing something: the snake oil.

16.

Bug Bash 2: Attack of the Clones(concerningquality.com ↗)

2 points · by amw-zero · 6mo ago · discuss

comment 7mo ago · link · parent

I think so, yea.

comment 7mo ago · link · parent

Give it a shot

comment 7mo ago · link · parent

It 100% implies that it's looking for locally installed binaries.

20.

Analyzing round trip query latency(datadoghq.com ↗)

3 points · by amw-zero · 7mo ago · discuss

comment 8mo ago · link · parent

So is human coding.

comment 8mo ago · link · parent

To say "Rob Pike wrote Unix" is completely inaccurate. He joined after v7, in 1980.

comment 8mo ago · link · parent

TLA+ is around 30 years old.

comment 10mo ago · link · parent

There is no such thing as a robust helm chart. Null was not the billion dollar mistake: templating languages were.

comment 10mo ago · link · parent

That’s literally what the post is about. I don’t see your point. The post is saying that formal tools currently do not handle performance and reliability problems. No one said otherwise.

comment 10mo ago · link · parent

I’m starting to think this take is legitimately insane.

As said in the article, a conservative estimate is that Gen AI can currently do 2.5% of all jobs in the entire economy. A technology that is really only a couple of years old. This is supposed to be _disappointing_? That’s millions of jobs _today_, in a totally nascent form.

I mean I understand skepticism, I’m not exactly in love with AI myself, but the world has literally been transformed.

comment 10mo ago · link · parent

Super interesting, but I think this will be very difficult in practice due to the gigantic effect of nondeterminism at the hardware level (caches, branch prediction, out of order execution, etc.)

comment 10mo ago · link · parent

Who brought up static analysis?

I think simulation is definitely a promising direction.

comment 10mo ago · link · parent

I think this is less about guarantees and more about understanding behavioral characteristics in response to different loads.

I personally could care less about proving that an endpoint always responds in less than 100ms say, but I care very much about understanding where various saturation points are in my systems, or what values I should set for limits like database connections, or how what the effect of sporadic timeouts are, etc. I think that's more the point of this post (which you see him talk about in other posts on his blog).

comment 10mo ago · link · parent

This is the single most impactful blog post I've read in the last 2-3 years. It's so obvious in retrospect, but it really drove the point home for me that functional correctness is only the beginning. I personally had been over-indexing on functional correctness, which is understandable since a reliable but incorrect system isn't valuable.

But, in practice, I've spent just as much time on issues introduced by perf / scalability limitations. And the post thesis is correct: we don't have great tools for reasoning about this. This has been pretty much all I've been thinking about recently.

12345
23