10,304 karma · joined Jun 5, 2017 (9y ago) · 6,297 submissions
comment 5mo ago · link · parent
IMHO LLMs are causing lots of issues in the software world, especially in the open source communities but I don't think Zig's blanket rejection of everything AI-related is a good thing.
comment 5mo ago · link · parent
(And honestly I don't see why it would have changed given that the hardware has been getting faster in the meantime).
comment 5mo ago · link · parent
I don't think Dang is responsible of that part, but I may be wrong.
HN used to run on a single server (source: https://news.ycombinator.com/item?id=16076041), and I don't see why that would have changed given that the hardware keeps getting better.
> Why does HN use Algolia for search
Algolia is a YC company, it's pretty much free marketing for their asset.
> That's almost enough to run a 3W device 24x7 for a year. Do you know any old phone or laptop that can serve as a reliable Jitsi server yet draws an average of 3W or less?
You don't need to run it for 24 hours a day, nor do you need it to be the only process running on your machine.
Jitsi is a bit heavy for a phone, but easily fits on an old M1 macbook/mac mini, whose idle power consumption is well below 10W (idle power consumption is what matters, since your machine isn't going to be handling calls all the time). If you shut it down at night, you're almost good. And for any additional service you serve from the machine, you reduce the cost per service further.
Modern computers are fast, and fascinatingly energy efficient.
comment 5mo ago · link · parent
A website that runs on an infra that could sit in a cupboard under the stairs serving hundreds of thousands of users with very small loading time.
> My friends and family aren't going to be convinced to use a Jitsi instance running in my house
> (where I pay $0.35/kWh).
Using an old phone or laptop as server means you'll end up with a single digit annual electricity bill for that.
comment 5mo ago · link · parent
That's what I'm saying, it's a general design principle for new developments, but that's it. (And I don't think that's a good one)
> It really isn't about the layout. It got abused for layout
It wasn't abused for layout, it was all about layout in the first place. If it was about data it would never have been possible to “abuse” it for layout, because an heterogeneous table with nested sub tables makes no sense from a “data” point of view. The fact that this was supported from the beginning shows what it was built for.
> but ideally the semantic meanings are useful. I have seen cases where "<strong>" emphasizes it by doing something other than bold for example
But I agree with that. I'm not saying we shouldn't have semantics elements in HTML, I'm saying that pretending that HTML “is only about data” is silly in a world were something like 80% of HTML tags in web apps are <div> and <span> that are here only for layout purpose.
comment 5mo ago · link · parent
Nope. It's a html tag to lay out data in a table form!
> but it's probably the only element that does such a thing.
<pre>, <b>, <i> all come with an associated layout implication. But the worst offender are <div> and <span>, which carry zero semantic meaning and just means “I'm a block element” and “I'm an inline element”, those are pure layout element. In fact are the ones I'm using as template for my demand of <flex> or <grid> elements.
And html isn't just tags, it's tags and attributes on these tags, and things like hidden, height or width are indisputably related to layout and not to data.
The idea of HTML as a pure semantic layer with no layout consideration may be a general design philosophy for the language, but that's by no way a faithful description of what HTML actually is in practice. And pretending it is, isn't helping.
comment 5mo ago · link · parent
Pet peeve of mine: there should really be `<grid>` and `<flex>` elements, as well as `<fi>` (flex item) and `<gi>` (grid item) for the child element instead of relying on a div soup with CSS attributes everywhere.
comment 5mo ago · link · parent
comment 5mo ago · link · parent
So of course, the (often paid) promoters of “YOLO agriculture” will use that as an argument, putting under the rug that the industry they defend is doing bullshit with people's health and the environment.
There ought to be a middle ground, but unfortunately we live in a permanent culture war so there cannot be reasonable discussion about anything, really.
comment 6mo ago · link · parent
comment 6mo ago · link · parent
No, quite the opposite actually. Like with speculative decoding this model will compute more tokens and discard the invalid ones.
> What's the catch?
LLMs[1] are limited by memory latency and not by compute[2]: because they process tokens one at a time, you spend more time loading and unloading the weights on the GPU registers from VRAM than waiting for compute to happen. Techniques like these allow to process multiple tokens in parallel instead of one by one, and as such exploit better the compute of your graphic card. They do so by predicting which tokens are likely to occur and then verifying that the guess was correct.
For instance if the previous token is “hello”.
A regular autoregressive LLM will compute:
“hello” => “! ”,
then “hello! ” => “how ”,
“hello! how ” => “are ”,
“hello! how are ” => “you”.
and finally “hello! how are you” => “?<end>”
One at a time. Loading and unloading every weights 5 times from the GPU memory to its compute units.
With speculative decoding (I'd say this one isn't strictly speculative decoding, but it's a variant of the same principle), you have something that guesses that the whole sentence is going to be “how are you today?”, so the LLM can generate
“hello” => “! ”,
“hello! ” => “how ”,
“hello! how ” => “are ”,
“hello! how are ” => “you”.
“hello! how are you” => “?<end>”
“hello! how are you today” => “?<end>”
In parallel. So each weight would have been loaded only once from the VRAM instead of 5.
The last token will be discarded though, as the prefix “how are you today” doesn't match what has actually been generated. So in that particular example, you'd have gotten your 5 tokens 5 times faster than with pure autoregressive inference, but at the expense of a 6th token being generated and discarded immediately. So 5 times more token throughtput, but 20% compute cost increase per token.
[1]: autoregressive LLMs, that is. Which are the ones everybody uses because they are the most performant.
[2]: at least when run at low batch size, on your own computer for your personal use. On a datacenter, with many concurrent users, GPUs are actually compute-bound.
comment 6mo ago · link · parent
[1]: https://www.lemonde.fr/en/international/article/2025/11/19/n...
comment 7mo ago · link · parent
In practice, you've never been anonymous while posting on the internet and AI isn't changing anything on that front. Or rather: if anything, AI can help you become more anonymous than before, since it can be used to hide your identity from stylometry by rewriting your prose before publishing.
comment 7mo ago · link · parent
Why the euphemism? What Anthropic did was an aggressive degradation of their model to save compute, and it's not just “perceived downtrend”, Anthropic themselves have acknowledged the quality of service degradation.
comment 7mo ago · link · parent
comment 7mo ago · link · parent
By the way, even with the current administration, there's no question about which is the more authoritarian with their own citizens between China and the US. But if you aren't American, then the US government is much more of a threat than the Chinese.
China cannot make the life of an official in Europe miserable for investigating their atrocities towards the Uighurs, meanwhile CPI judges are now forcedly unbanked and cannot work with American software because they investigated in US's ally's atrocities in Gaza.