My point is that everyone doing their own thing their own way means an attacker doesn't get the next thousand sites for free after finding a vulnerability in one site.
Having an LLM as sentry is a fun idea too.
1,685 karma · joined August 5, 2019
My point is that everyone doing their own thing their own way means an attacker doesn't get the next thousand sites for free after finding a vulnerability in one site.
Having an LLM as sentry is a fun idea too.
Genetic monocultures like bananas are at risk from a single species of fungus.
As an example, a black hat doesn't get 70% of web sites from one shared bug in PHP. They need to target specific sites, and the exploit isn't likely to work in very many other places.
I question Anthropic and OpenAI's motives every time they do a fear mongering press release, but I think it's smart to draw attention to local exploits. Basically, if you aren't running software you don't trust, there isn't the same immediate panic as remote exploits. It advertises the problem without ruining everyone's day.
On the other hand, most people are running code that shouldn't be trusted. Browsers and games normalized automatic software updates, and lots of other applications followed. It's not just a matter of whether your system has remote vulnerabilities, we should be concerned if that terminal emulator or compiler you like is being updated from a server with vulnerabilities.
France has nukes.
I've written a lot of text parsers for pet programming languages and other things, and several binary parsers for work related stuff. I agree that bad binary formats are really awful. I don't remember the details now, but I gave up on trying to deal with Matlab data files.
WASM made it pretty easy to parse though. Kind of like TIFF or WAV files, the section type and length is right there when you need it even if you're streaming, and it's easy to skip sections you don't know or care about. There's a little bit of error-prone grossness having both unsigned and signed LEB128 inside of some sections though.
We'd have to get pretty specific to have a real bake-off on size, and that's probably more effort than either of us wants to spend for a HN thread that's basically dead. I could invent scenarios where either of JS or WASM has the advantage.
Code-golfing that particular example though, the JS could be "const x2=a=>2*a;" (15 bytes). If you ignore the one-time (insignificant) costs for the WASM headers and sections, the comparable byte code for that export is about the same number of bytes. If JS wins, it doesn't win by a lot.
Maybe I misunderstand, but I'm not sure I see the point about hard working engineers or memory mapping. I'm sure the JavaScript JIT engineers had to work really hard to get good performance. Among many other things, JS Objects using "shapes" or "hidden classes" was a pretty clever way to compensate for not having structs at all. For both JS and WASM, end developers don't need to worry about it, and you can't mmap JS to execute the code either.
I agree the solution is to fix the vulnerabilities. I think "impenetrable" requires a radical shift in popular mindset about operating systems, applications, and devices connected to the network.
It seems like you're extrapolating from things you know to something you don't know at all, and you're spreading misinformation. WASM was designed to be compact.
We can't always pin the risks on the Chinese, so imagine a scenario where a disturbed insider at Anthropic smuggles out the weights for Claude Aprocrypha and runs them through abliteration. This is not super expensive to do on rented hardware. Then the disturbed human tells the refusal-free model to do anything necessary to launch nuclear weapons.
It'd probably only kill a few billion people though, so not really an "existential threat" in literal terms. :-)
const binary = Uint8Array.fromBase64(
"AGFzbQEAAAABBgFgAX8BfwMCAQAHBgECeDIAAAoJAQcAIABBAmwL"
);
const module = new WebAssembly.Module(binary);
const instance = new WebAssembly.Instance(module, {});
console.log(instance.exports.x2(3));
This is a trivial and useless example at 39 bytes, but a real example could be more compact than comparable minified JavaScript.Really though, I just wanted to point out that there's a difference between efficient use of limited resources and lower prices and convenience for consumers.
In the condo I used to own, I shared 5 out 6 faces of the box with neighbors. Cheapest electricity bills I ever had because you're mutually insulating your neighbors.
However, my HOA fees were more than that savings. The chairman noticed we had a lot of money in the reserves and pushed for a vote to do a multimillion dollar renovation. Popularity contest for things I don't value and HOA fees go up. Want to make a change or need to make a repair, need to get approval from the board.
Anyway, I'm sure the parallels are obvious with a little imagination, but I prefer a standalone house.
However, I'm a geek who sits online all day, and I don't pay for the top tier of bandwidth available to me. I also see occasional comments where people are saying they use Sonnet or Luna because they're good enough. Maybe in 20 years people will point to the incompetence and greed in data center build outs too.
I have no idea which way it will go. Maybe most people will be satiated once they can generate video on demand. They don't need many tokens to read and write their email, book a flight, or do their homework.
However, capability could plateau or reach a point where most of the market can't tell the difference and isn't willing to pay a premium.
The US absolutely could (and very well might) make Chinese models illegal, possibly open weight models in general, but all that will do is keep them out of the hands of law abiding US citizens.
Law breakers in the US and the entire rest of the world would still have access, and nothing in the US will be any safer. People who think regulation will solve the problem should be embarrassed by their ignorance.