Hacker Newsnew | past | comments | ask | show | jobs | submit | speleding's commentslogin

I agree. But I am disappointed that none of the initiatives to put another language in the browser came to fruition (except WASM). Something like Ruby would have been nice.

I think WASM managed to fall between two stools - it couldn't decide whether it wanted to be a high performance runtime analogous to NaCL that allowed you to run code at native speeds, or a generic bytecode language that other languages can target (analogous to Java or .NET bytecode), while having the same access as JS.

It mananged neither - the runtime is both slower to load, run and is significantly more complex than NaCL ever was, while suffering from lots of limitations, meanwhile WASM code exists separated from the JS runtime. It's high level features like garbage collection, aren't really usable by language runtimes.

Imo the best thing would be, if you could compile Ruby to a generic bytecode, which has extended features to support dynamic objects. .NET kinda managed this back then, and there were things like IronRuby, which supported a decent subset of real Ruby code, but wasn't really popular afair.


> the runtime is both slower to load, run and is significantly more complex than NaCL ever was, while suffering from lots of limitations, meanwhile WASM code exists separated from the JS runtime. It's high level features like garbage collection, aren't really usable by language runtimes.

Basically everything in this sentence is false. Wasm runtimes are simpler than NaCl, which required an entire LLVM. They start faster, with lazy compilation, interpreters, parallel concurrent compilation, and dynamic tier up. It has fewer limitations than NaCl--it supports SIMD, can access all JS and browser APIs, and didn't require rearchitecting the browser. It's not separated from the JS runtime--all the browser engines use the same compilation, GC, and runtime infrastructure. The high-level features like GC that you mention not being usable from language runtimes are being used by Scala, Kotlin, and OCaml, with more coming.

I shipped the first versions of Wasm in Chrome, and it's true startup wasn't great. Initially, we compiled all Wasm with the top tier before starting. V8 doesn't do that anymore, nor do any other runtimes. Startup is better, topline performance is better, and integration with JS is better.

And did I mention that Wasm also runs in lots of other places?


> can access all JS and browser APIs

That's highly misleading.

The crippling problem with WASM is that all data must be serialized prior to calling a JS library. You can't just call the API directly. It causes massive overhead and performance problems, making a data-intense "pure" WASM application very slow.

Edit: The problem is very evident if you need to graph 1000s of points. Calling fetch (js-space API) has to translate data to something your WASM language can handle, then after parsing it in WASM there's overhead either for serializing the data into something the JS graphing library can handle, or overhead for passing raw HTML through js-space.


It's true that there are plenty of APIs that require JS objects, but for anything that takes an ArrayBuffer, you can get export a Wasm memory that has a .buffer property and then slice it however you like; no copying and no serialization.

I agree: I'm shipping a product built in WASM, and the performance issues and lack of direct browser API access are real limiting factors. Even I wonder if transpiling to JavaScript would be better overall than WASM.

Not even WASM, because the tooling still sucks, and if you need a GC, JavaScript is still better than dealing with WASM GC, a MVP that only suits languages with the same GC semantics as JavaScript.

Shutting down Apache is perhaps overcautious? Simply doing `sudo a2dismod http2` and then restarting Apache should be enough as far as I can tell

For us it started on November 6th, and has been increasing on 7th and 8th


Interesting that no one seems to have been notified of this change. Did setting DMARC solve it for you?


I have a standing instruction telling the agents to prefer to use ruby wherever possible. Ruby uses fewer tokens than Bash and is easier to read, especially when condensed into a single line.

Of course, that only helps if you’re familiar with ruby. And the agents sometimes still choose Bash regardless of the instruction.


I read an article about a house that was converted to use DC instead of AC as a trial. The most surprising part to me was that most household appliances simply kept working because they already contain a AC/DC rectifier anyway which works fine if you connect it to DC.


That depends. Anything with a transformer will not work on DC. Some power supplies don't have a transformer directly connected to mains and they will just work. A large number of appliances use universal motors (anything in your kitchen) and so they will just work. Heaters are typically just resistance and again will just work.

However there are a lot of things that won't work on DC as well. Since very few people are running mains voltage DC labels often will not tell you if it will work. (I've toured ships with mains voltage DC and those outlets are labeled - I assume the crew is trained - or perhaps was since this is just a museum now and I'm not sure if current ships use DC)


"just work" depends on the DC voltage, right? A heater works just fine on 120V DC but less well on 48 and probably pointless on 5.


I get what you're saying, but there are some hand warmers that just charge off of USB 5V.


Right it works if it's designed for it. But hooking up a 5V source to a stove element isn't going to cause much heat.


V=IR applies. I've seen 900 watt heaters running on just 3 volts. You need big wires and low resistance to pull it off but it works


Right it works if it's designed for it. But hooking up a 5V source to a stove element isn't going to cause much heat


wait what. rectifiers will just seamlessly work on DC? TIL thats wild


Although I agree inference will become cheap (probably not zero), it's quite possible that there is a moat they can build around understanding customer context.

With each query OpenAI and Anthropic get more context about their users. When I compare answers between AIs the ChatGPT answer often includes useful things it inferred from earlier conversations. Losing that context could be a meaningful barrier for a customer to switch to a cheaper service.


> With each query OpenAI and Anthropic get more context about their users.

Not unless they break their own TOS. The temptation must be very large to do so and is probably why those settings keep mysteriously shifting back to 'yes, I give all my data to you to do with as you please'.


I don't think that's what GP meant. I think the point is maybe they could build a moat by "knowing you" in a way that makes you care about using Claude rather than, say, Gemini.


I don't actually want them to know me. And if they build a file on me without telling me that's actionable under the GDPR.


The Claude sandbox has a slightly different ENV compared to ChatGPT (LC_CTYPE set to C instead of UTF8 I believe) which upsets some scripts we have.

So in the CLAUDE.MD we tell it about that and then tell it continue reading AGENTS.MD. Not very hard to work around if CLAUDE.MD goes away, but just to support your point that the split did have its uses for some.


That balance probably depends on the human, and the context. If you are a beginner in a field the model should not assume you know what you are doing. On the other hand, for an expert it should try to work out what you mean with your vaguely worded order.

What I think should happen is that it should update its memory with notes on the proficiency level of the user, so it gets the balance right over time.

This is a problem if you allow your kids to use your ChatGPT account for homework (and silly pictures), like I do.


> What I think should happen is that it should update its memory with notes on the proficiency level of the user, so it gets the balance right over time.

Which can also involve just asking for the users level of experience


There are holding companies with zero employees. They typically pay a management fee to someone.


They now updated it. That bit is indeed gone.


Still says

>Independence: We are fully founder-owned and not externally funded. Our priorities align with the long-term health of the project and its users.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: