12,056 karma · joined Aug 4, 2011 (15y ago) · 2,690 submissions
comment 3w ago · link · parent
[1]: https://github.com/wasm-micro-runtime/wasm-micro-runtime
comment 1mo ago · link · parent
The RCE was caused specifically by a custom Claude generated overlay, so finding the RCE did require using this vibe coded software.
comment 1mo ago · link · parent
If you can get by with canvas rendering, you could instead use HTML and eliminate tons of CSS and layout cost by using CSS containment and absolute positioning:
#my-container > * {
contain: strict;
position: absolute;
}comment 1mo ago · link · parent
I hope to see turnkey organization oriented PDSes that let an admin management multiple accounts, and also host web pages with the same content that's distributed on network. Then gov posts has a web home and can be subscribed to in AT Proto apps.
comment 1mo ago · link · parent
It's bad, and obviously shouldn't have happened, but the car is cautious around people and didn't hit anyone. It's a far better failure mode than the typical case of a human who drives into a crowd.
comment 1mo ago · link · parent
Control specifically is just a terrible modifier key for common things like edit commands. First, it sits near your pinky instead of your thumb, making chording it with Z, X, C, V, etc., really difficult.
But then... who decided that ctrl-c should be used for both copy and abort??? That's diabolical levels of messed up. In a terminal app ctrl-c aborts, so you need to use shift-ctrl-c to copy, and now you have two shortcuts for the same operation you need to remember based on context, except that in a web-based terminal in Chrome shift-ctrl-c opens "Inspect Element Mode" and now you have no way to copy!
Am I the only one who finds this astoundingly frustrating?
comment 1mo ago · link · parent
LLMs change the calculus a lot, the result seems faster, and it's possible that the TypeScript team might want to change directions. It'd be a big deal, but I bet they'll at least discuss it.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
Go having a garbage collector isn't necessarily bad, since Wasm has GC, but I think Go's GC can't easily use Wasm GC because Go has interior pointers.
comment 1mo ago · link · parent
It's very hard to say much about an absolute number. You need to compare against some alternative or control, and because of CPU load, throttling, GC, and a thousand other variables, you really should be comparing against that control _in the same run_, and importantly round robin across multiple runs to spread out the noise fairly across each implementation.
Then once you have a bunch of measurements you have a distribution and shouldn't just take a mean to compare, but should calculate something like the 95% confidence interval. If you see that those confidence intervals overlap, the you might not really know which is faster. If they don't overlap, then you probably do know which is faster.
If you have a good benchmark, then running it more times can narrow the confidence intervals and let you tease out very small improvements at the cost of longer runs. If confidence intervals don't narrow, then you hit the limits of signal-to-noise.
This is the only way I've been able to get reliable, actionable benchmarks outside of a very, very controlled hardware lab. It's what Google's Tachometer benchmark runner does, and I wish more runners did this: https://github.com/google/tachometer