Recent submissions

Comment · 1 year ago
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.
Comment · 1 year ago
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.

Comment · 1 year ago
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".
Comment · 1 year ago
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.

Comment · 1 year ago
Agreed. What does this tell us in the context of this discussion?

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

Comment · 1 year ago
More grass -> more rabbits -> less grass -> less rabbits -> (loop). You can mix different rabbits in, but the cycle is fundamental.
Comment · 1 year ago
Because making even more people to nowhere to live is a popular no-brainer.
Comment · 1 year ago
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.

Comment · 1 year ago
Can it guess Senegal by sky color though?
Comment · 1 year ago
Comment · 1 year ago
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.
Comment · 1 year ago
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.

Comment · 1 year ago
Dang's analysis was funny:

don't site comment we here post that users against you're

Quite a stance, man :)

And me clearly inarticulate and less confident than some:

it may but that because or not and even these

I noticed that randomly remembered usernames tend to produce either lots of utility words like the above, or very few of them. Interestingly, it doesn't really correlate with my overall impression about them.

Comment · 1 year ago
The dilemma as old as stacker and {double,drive}space. This is just a leaking abstraction. Leave it be cause there's no good solution for it. The best place for zfs-aware backup code is in a backup tool that cares.
Comment · 1 year ago
Then it's of little use imo. Library decimals already exist in multiple optimized forms.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton