Recent submissions

Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Yes and no.

Browser differences are mostly disappearing, they have gained some very good APIs are CSS has gained significant layout capabilities with grids and flex. So the need for libraries like jQuery for dealing with DOM differences is disappearing. New standard libraries like Intl and now Temporal make libraries like Moment obsolete.

The web is also gaining a component model with Web Components that will help you get some level of sanity when building some mildly complex reusable stuff. This is probably very good for content heavy sites, which make the majority of the web.

The other part of the web is applications running on top of the Web platform. Those still heavily benefit from frameworks. Having some amount of sanity when managing state is very much welcome. And functional programming models have proven that a declarative way of approaching UIs is much better than dealing with browser APIs imperatively.

So for some years frameworks will still be useful for certain use cases. For the others, we should be embracing Web technologies. Maybe with some light libraries like Stencil and Catalyst.

Comment · 5 years ago
You don't need a zoned date. You can invert the question and ask if a zoned datetime falls within a plain date.

Temporal is very well designed thanks to building on years of prior art. Give it a try and you'll realize that it leads you to ask those questions the right way.

Comment · 5 years ago
If you're getting muscle spams, are you really "supplementing"?
Comment · 5 years ago
The industry is definitely dropping the ball on offline. To give us credit, legal/privacy issues don't make it easy.
Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Is this really a dark pattern? There's tons of truly deceptive practices but this is one where websites are plainly asking for permissions.
Comment · 6 years ago
It's not just about security. It's also about democracy. Who can verify that a voting system is secure? Only software engineers. And to be honest, only a small subset of them. Your own comment hints at that. Paper ballots allow anyone to verify the results of an election. It's supposed to be a universal process that everyone can be a part of.
Comment · 6 years ago
The parent-child problem you mention can be addressed with names. Children can say "grid-name: footer". This is just a hint for the parent to decide where to place it in the grid. Then the parent can use grid-template-areas to arrange its children. You no longer need to change the children if you're adding columns to the layout.

(I agree with you on this simple layout)

Comment · 6 years ago
Comment · 7 years ago
For $150 you get the console and 12 games. That's not too bad.
Comment · 8 years ago
I was also a bit disappointed to find basic arithmetic. There is more. I was expecting something like an algorithm for a tile layout like https://masonry.desandro.com/ or https://github.com/d3/d3-hierarchy#treemap. In terms of animations, understanding linear algebra can help you take full advantage of CSS matrix and matrix3d transforms. Certain parallax effects can be done done better with trigonometry...
Comment · 8 years ago
If I learned anything working at large companies is that hardware is never close to being as expensive as headcount.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton