Better HN
topnewbestaskshowjobs
Log inSign up

nilliams

830 karma · joined Apr 9, 2012 (14y ago) · 563 submissions

Submissions

comment 9y ago · link · parent

The react ecosystem is massive, and includes impressive projects like the various backends/renderers: react-native, react-sketch.app, react-vr, react-pdf, ink, that have no equivalent in other frameworks (or at least to nowhere near the same level of maturity), so yeah people ditching it may well regret it.

comment 9y ago · link · parent

> The only event that license terminated

Patent grant terminated, not license

comment 9y ago · link · parent

Looks like they're working on moving away from bower: https://github.com/Polymer/polymer/issues/326#issuecomment-3...

A quick CDN get-started would be convenient I agree. There is Polymer-CDN for demos/code-pens: https://github.com/download/polymer-cdn

The 'native' stuff in your comment I don't agree with. You want browsers to start implementing native Android ListViews/Buttons etc? Browsers have a hard enough time implementing web standards.

comment 9y ago · link · parent

And also this (cross-plat React Native for Windows/iOS/Android): https://github.com/Microsoft/reactxp

comment 9y ago · link · parent

Yeah I don't have a stake/opinion, just posted that particular article because it's a recent, thorough take, by a lawyer.

comment 9y ago · link · parent

They're referring to the 'patent retaliation clause', see: https://medium.com/@dwalsh.sdlr/react-facebook-and-the-revok...

comment 9y ago · link · parent

Another premii fan here. Has some nice touches like the night mode mentioned and 'Appearance' settings (font/font-size/colour).

comment 9y ago · link · parent

> Bootstrap is so 2015.

BS 3 is still very valuable for responsive-site conventions within a team, especially if you use it 'properly' from Sass or LESS source. The main part looking dated at this point is the JS that still relies on jQuery. There're projects like boostrap.native [1] and e.g. ReactBootstrap to deal with that tho.

I'm in no hurry for BS 4 until IE (< Edge) completely dies.

[1] https://github.com/thednp/bootstrap.native

comment 9y ago · link · parent

> The plugin interface is a public interface too, right?

It didn't say 'plugin interface'. It said 'internal changes' that could affect some plugins. The way I read that is some plugins could be relying on internals (that they technically shouldn't, they may have good reason ofc).

comment 9y ago · link · parent

> From the list of JS libraries they're using alone, I'm guessing it's going to get even fatter and laggier than it already was :(

Why? Only 3 of the 'JS libraries' listed are actual run-time code (React, Redux, Immutable). And React + Immutable are typically paired together specifically for speed optimisation reasons.

> I just want a listview of requests that appears in under a second

I think calling it a listview is a little unfair, and clearly there has to be tool/library cohesion with the rest of the Firefox devtools too, which are also much more than the odd listview.

comment 9y ago · link · parent

Soon with the new webpack-cli, you'll just be able to 'webpack init':

https://medium.com/webpack/announcing-the-new-webpack-cli-75...

comment 9y ago · link · parent

Hell no :)

The Amazon downloads seem to all be 44.1 khz mp3 (just downloaded an album of mine to check).

comment 9y ago · link · parent

Webpack's HMR (hot reloading) of JS does work with create-react-app, but only if you use an external state store (like Redux), see [1].

The 'React Hot Loader' [2] module, which maintains local React component state is not included yet.

[1] https://github.com/facebookincubator/create-react-app/issues...

[2] https://github.com/gaearon/react-hot-loader

comment 9y ago · link · parent

Worth knowing most new vinyl records come with a copy of the digital download too.

Amazon will also automatically add (most?) vinyl purchases to your Amazon Music Library, and allow download.

comment 9y ago · link · parent

Here's Divvy doing this in 2010 [1], the question is if Divvy is related to the patent or if they too received a letter.

[1] http://lifehacker.com/5715221/divvy-window-organizer-lands-o...

comment 9y ago · link · parent

True for async code, but if you use something like ShellJS [1] (which would be an easy way to rewrite a bash script that was getting out of hand), all commands are synchronous, so error handling is just try/catch.

[1] https://www.npmjs.com/package/shelljs

comment 9y ago · link · parent

Awfully vague/FUDdy criticisms there:

- dynamic require()'s can't be tree-shaken: same is true of other langs, e.g. Python. Perfectly understandable IMO as Node was designed for the server, in a time tree-shaking (largely desirable for front-end code) wasn't a priority. Also it is a standard (CommonJS).

- long pathnames is a Windows only issue and afaik fixed by npm 3's "flattening".

- npm is worse than Maven because 'npm publish' is too easy?

- you don't need to run dedupe.

- you say npm isn't curated but I'm not aware those other registries are curated either?

- 'left-pad is a perfect example of why npm sucks' ... except the ability to delete packages has been fixed, so should that be 'sucked'?

(Edit: how on earth do you format lists correctly on HN?)

comment 9y ago · link · parent

In some cases here, he's talking about fixing bugs in a production. It's not so simple to attach a debugger to a live application serving 100s of requests. Break and you just 500'd all users.

In others granted he's working locally and probably could have found the problems without logging, but that just comes down to preference IMO.

Node does have a debugger though and recently added official (though experimental) support for attaching the Chrome DevTools debugger [1]. Doing so was doable via 3rd party packages previously.

Edit: updated as author wasn't only talking about in-production.

[1] https://nodejs.org/api/debugger.html#debugger_v8_inspector_i...

12345
19