Better HN
topnewbestaskshowjobs
Log inSign up

edwinvdgraaf

15 karma · joined May 21, 2012 (14y ago) · 13 submissions

Submissions

comment 3y ago · link · parent

I enjoyed reading this write-up. Used this technique in the past and have seen similar improvements as they mentioned in this article. [1] This was pre the FCP, LCP, CLS metrics so it considers the onload timings. Would be interesting to know on which percentiles this increase is seen and if this is measured with real user metrics (RUM) or captured by a synthetic tool such as lighthouse or web page test.

[1]: https://techlab.bol.com/en/blog/our-ride-to-peak-season-fron...

comment 8y ago · link · parent

Something like this? https://gist.github.com/gaearon/6668a1f6986742109c00a581ce70...

comment 11y ago · link · parent

A bit of a plug but we once made a CSS only tic-tac-toe using the same technique: http://html5advent2011.digitpaint.nl/23/index.html

comment 12y ago · link · parent

Guessing that it's interesting when using an uniform endpoint for both forms and js-driven requests.

comment 12y ago · link · parent

Actually the javascript source of itself can be tested: https://raw.githubusercontent.com/delight-im/Javadoc-to-Mark...

Works well, but how is this different from JSDOC[1]?

[1]: http://usejsdoc.org/

comment 12y ago · link · parent

What are reasons to use bower over NPM? I know that bower mainly focusses on front-end libraries (such as jQuery or Bootstrap). But does it offer functionality NPM doesn't have?

comment 12y ago · link · parent

While I can't speak for the author, one benefit of packaging your app with node-webkit[1]; is that your app is always used inside this container, that bundles a very recent version of Chromium and has a node.js backend with file system access.

[1]: https://github.com/rogerwang/node-webkit

comment 12y ago · link · parent

Some more information: https://docs.google.com/a/famo.us/document/d/1aC461kM855a66S...

and https://docs.google.com/a/famo.us/document/d/1DE_26fh9nYbU2x...

Source: https://twitter.com/befamous

comment 13y ago · link · parent

RequestAnimationFrame[1] would solve that, however it wouldn't trigger in the background, which may, or may not be wanted.

[1]: http://www.paulirish.com/2011/requestanimationframe-for-smar...

comment 13y ago · link · parent

Source can be found on: https://github.com/leaverou/animatable/

comment 13y ago · link · parent

Besides the argument about JS, the thing that is holding me back the most is their "cloud service".

"The Relay connects WigWag and third party devices to our cloud service, which allows your stuff to interact with many Internet services, such as email, Dropbox and Twitter. It also makes your sensors work together, so they and the rules they activate are smarter."

I can't really understand why this cloud connectivity is required? But personally I feel quite some reservation towards storing this kind of data remote.

comment 13y ago · link · parent

Very nice work. The trending topics per country would also be informative when shown, but that may be personal.