8,273 karma · joined Apr 1, 2013 (13y ago) · 5,114 submissions
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.)
comment 2d ago · link · parent
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 4d ago · link · parent
comment 4d ago · link · parent
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
A real world approximation, where the fluid started to be "weird", for some definition of "weird", would be the ultimate Exploratorium exhibit.
comment 2w ago · link · parent
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
comment 2w ago · link · parent
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 3w ago · link · parent
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
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
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
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.