Better HN
topnewbestaskshowjobs
Log inSign up

robrichard

59 karma · joined Apr 27, 2013 (13y ago) · 15 submissions

Submissions

comment 2y ago · link · parent

Here in New Jersey, paper bags were banned

comment 3y ago · link · parent

And New Jersey banned paper bags!

3.

Improving Latency with defer and stream Directives(foundation.graphql.org ↗)

1 points · by robrichard · 5y ago · discuss

comment 7y ago · link · parent

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 7y ago · link · parent

Is there any email client that supports bundles like Inbox did?

comment 7y ago · link · parent

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 8y ago · link · parent

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.

8.

HomePod arrives February 9, available to order this Friday(apple.com ↗)

62 points · by robrichard · 8y ago · 102 comments

comment 9y ago · link · parent

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.

10.

Modeling form state in React(beautifulcode.1stdibs.com ↗)

9 points · by robrichard · 9y ago · 1 comment

comment 10y ago · link · parent

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.

12.

Simple URL Routing for Redux and React(beautifulcode.1stdibs.com ↗)

12 points · by robrichard · 10y ago · discuss

13.

Backbone Models and Collections to GraphQL(beautifulcode.1stdibs.com ↗)

17 points · by robrichard · 10y ago · discuss

comment 10y ago · link · parent

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 10y ago · link · parent

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?