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

They still nail "state" to element trees, which creates unbenchmarkable but real update costs. Svelte does better than react, but only within the same paradigm.


Can you describe what you mean by that a bit more? As I understand it, with the new signals-based system in Svelte, updating data directly updates the DOM.


It's also worth noting that the Svelte signals implementation is quite performant. [0]

[0] https://github.com/sveltejs/svelte/discussions/13277


Something is wrong with web developers culture, cause even in framework-free vanilla mode they cannot get rid of data localization and welding the data and "component" trees together irrepairably.

Rather than building a querySelector-able tree of elements to and monkey-patching mutiplexing nodes for syncing element counts, you invent the most bizarre ways to chain yourselves to the wall. For long time I couldn't understand what exactly drives this almost traumatic habit, and it's still a mystery.

For the interested, this is the outline I count as non-bizarre:

- make an html that draws your "form" with no values, but has ids/classes at the correct places

- singular updates are trivial with querySelector; write a few generic setters for strings, numbers, dates, visibility, disability, e.g. setDate(sel, date)

- sync array counts through cloning a child-template, which is d-hidden and locatable inside a querySelector-able container; make syncArray(array, parentSel, childSel) function

- fill new and update existing children through "<parent> :nth-child(n) <name>"

- update when your data changes

Data can change arbitrarily, doesn't require passing back and forth in any form. All you have to do is to update parts of your element tree based on your projections about affected areas.

And no, your forms are not so complex that you cannot track your changes or at least create functions that do the mass-ish work and update ui, so you don't have to. For all the forms you've done, the amount of work needed to ensure that updates are performed is amortized-comparable with all the learning cliffs you had to climb to turn updates into "automatic". Which itself is a lie basically, cause you still have to jump through hoops and know the pitfalls. The only difference is that rather than calling you inattentive, they now can call you stupid, cause you can't tell which useCrap section your code should go to.


At this point, graphics card MSRPs are just coolers for presentations. Like, look, we have such amazing cards for only $2k! Sounds much better than "you can't afford it anyway, otherwise expect $4-6k depending on bids in the long queue".


More grass -> more rabbits -> less grass -> less rabbits -> (loop). You can mix different rabbits in, but the cycle is fundamental.


Humans aren't rabbits. Humans tend to have children in inverse proportion to the amount of grass, poorer people having more children than richer ones. Of course it's not a direct correlation, or a simple one, but the effect is there.


Agreed. What does this tell us in the context of this discussion?

Returning to the initial point, should people just build more houses?


More houses in locations people want to live in, yes. In the end, even leaving house prices aside, a larger population needs more housing, and the UK has been underbuilding several tens of thousands of units a year for decades.


Because making even more people to nowhere to live is a popular no-brainer.


it's akin to an atheist proudly proclaiming there is definitely no such thing as god

Almost feels like you supposed that to sound bad.


Yes because agnostic atheism is a logically superior belief system, that's much more intellectually honest and ironically: humble.


Aren't beliefs secondary guests in discussions about substance?

Edit: I'm not even a strict atheist if that matters much, but I wouldn't talk about it in assertive/provemewrong tone anywhere, cause it's not even remotely logical.


Atheism is such a weird position to take. Why define a negation of something you don't believe to be real? I'm not "a-lochnes-monster-ist" or "ayettist". If someone thinks the idea of a deity is nonsensical why then use the label "atheist"?


Can it guess Senegal by sky color though?



I read half the article and little is told in it in general. You'd expect some deeper developer reflections on a 60kloc project. Like, much deeper. The part about "spacer" hints that the second half won't surprise either. There's just not enough general xp to make conclusions.


You can't upload much of what's rarely downloaded. The usual way to help the network is to download something popular that you don't need and to seed it. This removes some strain from big seeders and helps them seed other things you don't have.

But personally I believe you're not obliged to anything in torrents, especially with adsl. We got you covered with our multi-hundred u/d ratios. Everyone participating honestly and comfortably is enough, even if that means no upload. Just don't turn it off out of unnecessary principle after downloading.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: