Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
titzer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
titzer
4mo ago
Well don't accept code from anyone ever then. But seriously, if your format requires extensibility to the point that it embeds a bytecode, especially a Turing-complete bytecode, what format are you going to choose? Just design a new on
92.
▲
by
titzer
4mo ago
But Wasm has deterministic execution, so if decode fails for you, it should have failed for them. I.e. it's not a problem that your system has introduced; they should be able to reproduce the failure independent of any client.
93.
▲
by
titzer
4mo ago
Many can, even if they have JITs, e.g. Wasmtime. Failing that, it's not that hard to add bytecode instrumentation that will count instructions and terminate early. Some execution platforms that utilize Wasm just inject bytecode instrum
94.
▲
by
titzer
4mo ago
And many of them have built-in gas metering, so you can time out the decode if it runs too many instructions.
95.
▲
by
titzer
4mo ago
That exploit targeted an integer overflow in a bespoke Apple sandboxing mechanism. Bespoke sandboxing mechanisms have weird bugs. Not that Wasm engines don't have bugs, but the whole point is to have an extremely solid, well-specified
96.
▲
by
titzer
4mo ago
They will almost certainly get more than $1/month in ad revenue for someone interacting with the AI for hours a day.
97.
▲
by
titzer
4mo ago
The coming AI enshittification is going to be epic. For those of us who have been on the web for more than five minutes, we can see this a mile away. If you think search ads are annoying, pre-roll YouTube ads are annoying, streaming ads are
98.
▲
by
titzer
4mo ago
Fuel taxes are "in theory" the mechanism to price these in, but today, they are not, and how this money eventually has the opposite effect! Revenue from fuel taxes is usually funneled to more transportation infrastructure (> 80
99.
▲
by
titzer
4mo ago
> cost is the only metric that matters. Negative externalities like pollution and climate change are not even priced in. Even if they were priced in, there are non-monetary factors that we could consider once in a while, but the conver
100.
▲
by
titzer
4mo ago
Hi Mike, I think your work on luajit is really cool. I worked on JavaScript for some time and among all of the JS engines out there, a lot of ideas were tried. TraceMonkey in particular did explore trace compilation for JavaScript and ben
101.
▲
by
titzer
4mo ago
Interesting. I think numerical computing is a narrow enough domain where programs have very well-behaved control flow, which avoids most of the problems of trace compilation. Loops over branchy code, which are really common in general progr
102.
▲
by
titzer
4mo ago
Yeah, it is conceptually interesting. I like giving students perspective and in 770 ( https://www.cs.cmu.edu/~wasm/cs17-770/fall2025/ ) I might spend half or less of a lecture on tracing and I don't pull p
103.
▲
by
titzer
4mo ago
The section on dynamic compilers is more or less all about trace compilation. Generally, trace compilation is a dead end and has been abandoned repeatedly. The more important concepts here are type feedback and speculation and deoptimizatio
104.
▲
by
titzer
4mo ago
> DEI schemes were deeply political, and depended on who can claim to be the biggest victim. Disagree. This is just defaulting to "it makes one of the political poles angry, it must be political". DEI isn't about achieving
105.
▲
by
titzer
4mo ago
When someone is skeptical and wants ask questions, it's reasonable to hear them out. When said person fails to listen or accept basic facts (that allow establishing a shared reality), we should turn the volume down on them. If Tommy, a
106.
▲
by
titzer
4mo ago
FTA > The lack of diversity among professors is problematic for both education and research, ostensibly the overriding purposes of universities. I basically did a spit-take here. Lack of diversity is suddenly--and only--a problem when it
107.
▲
by
titzer
4mo ago
One not-so-bad outcome would be that open weight models get better, smaller, more efficient, and easier to use while hardware gets faster, more efficient, and more widespread. Imagine when mobile CPUs have the GPU/NPU power of today&#x
108.
▲
by
titzer
4mo ago
Oh, I agree. I don't think we should be miserable. We'd be a lot less miserable with less stuff and more friends. Less internet (probably), more music and hobbies. Yet here we are :)
109.
▲
by
titzer
4mo ago
Not sure if you happen upon a late reply, but I took some of your suggestions and did a v0.3: https://htmlpreview.github.io/?https://github.com/titzer/Rif... It has the horizontal keyboard, highlighting
110.
▲
by
titzer
4mo ago
People share a terrifyingly large amount of DNA with mice and apes and other creatures that can become hopelessly addicted to self-destructive behaviors. What is also interesting is the susceptibility of many people to believe really insane
111.
▲
by
titzer
4mo ago
Oh, this is already the case. As they say, the future is already here, it's just not evenly distributed yet. What's broken is accountability. No one will hold those in power accountable, so instead they mutate into criminals becau
112.
▲
by
titzer
4mo ago
How astonishingly tone deaf. Per Paul Graham, you become a billionaire by working really hard for 9 months with the growth rate is jacked at 93%. Or you work five years to keep a growth rate jacked to 15%. Literally nothing else to it. He l
113.
▲
by
titzer
4mo ago
All interesting suggestions. I might add a toggle for horizontal mode, but would probably retain both modes to not lose functionality. For my other apps I have forks of each version, with the idea that if it changes radically from one versi
114.
▲
by
titzer
4mo ago
Yeah, I work in programming languages and always liked the idea of notation do-overs. But after getting more into music these days, I've returned to learning and appreciating musical notation. For better or for worse, it is the stand
115.
▲
by
titzer
4mo ago
This is a great domain for vibe-coding your own apps. I put together a combined music notation / ear trainer app as a single HTML app: https://htmlpreview.github.io/?https://github.com/titzer/Rif...
116.
▲
by
titzer
4mo ago
We have international treaties that ban biological and chemical weapons. Other weapons that are regulated include anti-personnel mines, cluster bombs, and blinding lasers. Expanding bullets are banned in military uses as are incendiary weap
117.
▲
by
titzer
4mo ago
I guess nuclear weapons were just inevitable the moment the first quarks were assembled into a proton, right?
118.
▲
by
titzer
4mo ago
Unlike most places in Europe, America has never had a revolution where they deposed the ruling class and those with political power. Americans tell themselves they live in a free country with a government run by the people. It is increasing
119.
▲
by
titzer
4mo ago
I've been vibe coding some music tools and after some researching let Claude get going with imgui ( https://github.com/ocornut/imgui ) to build a tool I use for local authoring. It's pretty pixel-dense and look
120.
▲
by
titzer
4mo ago
Fool me once.
More ›