Recent submissions

Comment · 2 years ago
Here in New Jersey, paper bags were banned
Comment · 3 years ago
And New Jersey banned paper bags!
Comment · 7 years ago
What I miss most is not the auto-bundling, but writing rules to tag emails with a label and the viewing (and archiving) everything that matched as a bundle.

Seems like all the backend that’s needed is built into gmail, what’s needed on the client is knowing which labels to display as a bundle.

Comment · 7 years ago
Is there any email client that supports bundles like Inbox did?
Comment · 7 years ago
Formatting dates with a format string is an anti-pattern. Format strings are too easy to get wrong and don't scale when you need to account for different locales. JavaScript's Intl functions do this correctly by providing an api that accepts a locale and options like weekday: narrow|short|long, year: numeric|2-digit, etc.
Comment · 8 years ago
On the AppleTV go to Settings > General > Accessibility > Display Accommodations > Light Sensitivity.

Then you can assign it to the Accessibility Shortcut and turn it on or off by triple pressing the Menu button.

Comment · 9 years ago
This was a great podcast! I would love a follow up episode where you get into more details on that and the other topics there weren't time for.
Comment · 10 years ago
const only guards against changing the reference that it was assigned to. This won't break because info is still assigned to the same array. It doesn't matter that the array was mutated.
Comment · 10 years ago
I think this article ignores that JavaScript's standard library has been growing in pace with new language features. The author mentions underscore as a good place to draw inspiration, but a ton of it's functionality has already been added to the language. forEach, map, reduce, filter, every, some, and others were added in ES5. ES6 brings find, includes, isArray, Object.assign and others. Promises were also added, make a library for them now unnecessary. Many of the current proposals aren't just for syntax additions to language, but to implement more standard library type of stuff (including string padding).
Comment · 10 years ago
Does this cause the HTML sent over the wire to be bloated, i.e. the svg for the same icon could be repeated multiple times on the same page?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton