Better HN
topnewbestaskshowjobs
Log inSign up

Ericson2314

8,273 karma · joined Apr 1, 2013 (13y ago) · 5,114 submissions

Focuses on program languages and systems programming, with the ideal of formal correctness always in mind.

x should be designed not by piling feature on top of feature, but by removing the weaknesses and restrictions that make additional features appear necessary. - R^nRS

Nothing is more important than good abstractions.

Haskell is practical; it pays my bills. (https://www.obsidian.systems/ is where I work.)

Submissions

comment 2d ago · link · parent

No you are still not missing my point, which is that it is conceivable that there is another "continuous universe" out there where continuum mechanics is not merely an approximation of some underlying particle-based reality, but actually how things work.

Just because it doesn't describe this universe doesn't mean it is bunk as a physics theory of some possible universe.

OTOH, violating conservation laws is a no-go for physics theories. It is still math, but it is not a possible-universe physics.

comment 2d ago · link · parent

The problem is then voters go turbo Nazi over gas prices

comment 2d ago · link · parent

Shouldn't this mention Baaja which just passed?

comment 4d ago · link · parent

I will allow you to use it the other way because of your username :D

comment 4d ago · link · parent

https://news.ycombinator.com/item?id=50581202 see that. The "atoms problems" is not so interesting to me. Conservation laws are not supposed to depend on these details. The theoretical problems are more interesting than the empiric problems.

comment 4d ago · link · parent

No it's fine. No one cares if some not-yet-comprehensive LLM thing beat a person a few fewer hours. Obviously the humans didn't cheat to finish their proof if it is totally different.

comment 4d ago · link · parent

It's perfectly conceivable that it both doesn't blow up, and is also not accurate to reality.

People forget that just because classical things are not true, doesn't mean that are not coherent, or that some other classical universe (which might be dull without chemistry etc. but whatever) isn't still "possible".

If I understand the result correctly, it means that the Navier–Stokes equations fail on classical terms, because they don't conserve energy in all cases. This is a theoretical failure, not just an empirical one.

comment 4d ago · link · parent

Think how the double-slit experiment shows that something is wrong at ~human scales. What I am hoping for is something like that for water.

comment 4d ago · link · parent

Water doing something other than Navier Stokes predicts is also weird! I would be perfectly happy with that.

This is why I wrote "for some definition of "weird'".

comment 4d ago · link · parent

I know we're not gonna get a perpetual motion machine from this or whatever, but I would still like someone to build a physical demonstration.

A real world approximation, where the fluid started to be "weird", for some definition of "weird", would be the ultimate Exploratorium exhibit.

comment 5d ago · link · parent

As some other people pointer out, th interesting question with fancy physics is whether the fake math can be turned into real math.

This is a rather creative problem so I think it's a very good AI benchmark.

comment 1w ago · link · parent

BTW the usual point of Conway's structure is to try to adjust the org / who is working on the software, so you don't get a bad software architecture.

The "objective" nature of code is revealing a flaw in the human division of labor.

comment 1w ago · link · parent

That's why I work on Nix. Let's make everything easy to install everywhere.

comment 1w ago · link · parent

This is why we forgot how to program long before AI slop :)

comment 2w ago · link · parent

We can formally verify the Verilog or equivalent too.

comment 2w ago · link · parent

Hers are strong too, but I meant the Representative with the concentration camp selfies.

comment 2w ago · link · parent

Good security policies always contain building blocks. If your security realies on low-privilage code been fully human-auditted, you've already lost.

Only select high privilege code, where we don't know how to make it "secure by construction", should depend on full audits.

The right use-case here is "custom homegrown Bloomberg Terminal add-ons", not autonomous trading software that can see everything and also isn't routed through trading risk software.

comment 2w ago · link · parent

Yeah it should be a dialogue with bankers / front office. It can even be "OK if you wanna do this, we gotta teach you at a high level how the computer works, so we can figure out broad company policy together". Done right the rest of company finally gives a shit (because they want to keep their cool new personalized toys), and it's never been a better time to be back office IT.

comment 2w ago · link · parent

Those notoriously weak Dem spines are improving! Have you seen the SC senator's posts?

comment 2w ago · link · parent

I dunno, I have a lot more sympathy for non-technical users writing slop than engineers. I think it's really great that more people get to "properly" use the computer, in that they experience a flexible programmable environment, rather than a fixed set of discreet programs "take it or leave it".

If the issue is security, a much more interesting problem for the engineering team to do is design the programming environment for the bankers so they cannot hurt themselves.

If the issue a performance, designing great abstractions that the bankers' agents can use is "low code done right".

I hope the bankers rebel hard against this policy change!

comment 2w ago · link · parent

Democrats will not take him back, but he will try.

comment 2w ago · link · parent

Uh by "specialized theories" you mean less general results. Such a straightjacket is totally against the spirit of math.

comment 2w ago · link · parent

Most of UK is surprisingly poor so of course there are no nice shops. Duh!

comment 2w ago · link · parent

Cause it's a big ball of C with no formal verification!

comment 2w ago · link · parent

You are assuming that garbage code makes us more productive.

That might be true on the margin, but highly doubt it was ever true once you escape a very shitty local optimum.

comment 3w ago · link · parent

See, that people are shocked by this is the problem. The whole field of AI has proceeded as alchemy, not science.

Some of this is because "the Bitter Lesson" type experience, but some of this is because of the idea that "we're making machines to do things we don't know how to do" bakes in inscrutability into the very definition of the field.

I was excited about the "Neural Networks Are Already Clean" piece not because alignment, which I don't think much about as a non-EA, but simply because we can do better engineering with whiteboxes than blackboxes. Now, here we are, doing it.

comment 3w ago · link · parent

> [code below]

    let dyn_array = fn (erased t : type) -> record { len : int @@ dynamic, data : pointer(array(len, t)) }
Yes, but array(len, t) has a dynamic layout. Your system needs to understand that that is OK because `pointer(array(len, t))` still has a static layout. You need to understand that pointee-monomorphization is not necessary. You can do special hacks for the `pointer` type constructor, but then you cannot eta-expand it (i.e. wrap in a one field struct). To make this work in a first-class way, so custom data types can have type parameters that do not need to be monomorphized, you need your type system to be layout-aware.

Also, you can do

    let dyn_array = fn (dynamic erased t : type) -> record { len : int @@ dynamic, data : pointer(array(len, t)) }
There is no need to force the element type to be static. The array itself doesn't care. The pointee is already dynamic-layout either way.

> [code below]

    let vtable = fn (erased t : type) -> record { print : pointer(t) -> string, ... }

    let dyn_print = record { t : type @@ dynamic erased, vtable : pointer(vtable(t)), data : pointer(t) }
The problem with this is that `vtable` is being called with a dynamic-erased argument, but it itself requires a static type. That means the whole thing is dynamic (well, depending on exactly how the modalities work). But do want to statically know it is a record with a print field, etc.

> static layout would require parameterizing on the layout of t, so I see your point

:) See https://docs.rs/stack_dst/latest/stack_dst/ for example, which tries to hack it in Rust. It would be much nicely to do it safely!

comment 3w ago · link · parent

I happen to agree that extreme inequality is bad for Capitalism, but I still think it is a moot point here.

The overall world carbon gini coefficient is less than the wealth coefficient. And this is totally expected: ultra-rich people cannot consume fast enough to pollute more in proportion to how much richer they are. For example, to do this would private jets, they would have to be paying for other people to ride separate private jets, as there is only so much time they want to spend in an airplane themselves.

A carbon tax might not hit private jets hard enough, but it would definitely hit "regular people's" (still rich by global standard's) air travel, and that would lower a lot of emissions.

comment 3w ago · link · parent

Yet another person confusing "allowed" vs "required"

comment 3w ago · link · parent

PBT testing and fuzzing are basically the same thing in my mind.

What's funny though is that the reasoning needed to say some sampling is comprehensive....makes it closer fo proofs! AFL — coverage-based fuzzing — was the original innovator here, but imagine an interpreter — code coverage in the interpreter itself isn't so good, you also want to explore the interpreted program!

This is why "is my testing comprehensive?" is actually an open-ended problem that, in the limit, is just as hard as formal verification.

I suspect we're basically going to see a convergence here. Randomized testing can be called "Monte Carlo formal verification" hehe.

12345
171