Recent submissions

Comment · 10 years ago
Yeah, the JS world currently is very pro-modularization, but I already saw some discussions on Twitter from the React/Flux people how that creates too big barrier of entry for the newcomers. One of the things that draw people to Angular is that it has almost everything that you need included - it's easier to say to someone "just use Angular", than "try React, with Redux, and Router, and Webpack - it will take some time to configure it, but it's worth it".
Comment · 10 years ago
Someone should make an opinionated, batteries-included JS/TS framework like Elm, based on TS, React, Flux.
Comment · 11 years ago
can you link to any such research? that's a topic I'd love to read more about, but don't know where to start even. thx!
Comment · 11 years ago
OK, this looked rather scary and also rather unbelievable so I did a quick research and unsurprisingly it turned out this is blown way out of proportion (if not downright wrong).

The article claims DiagTrack collects "your name, email address, preferences and interests; browsing, search and file history; phone call and SMS data; device configuration and sensor data; and application usage". That description is credited to Microsoft itself ("As Microsoft explained"). But if you follow the link it turns out it's not really Microsoft's explanation, but just what some user on official Windows forum wrote. My guess: Windows Technical Preview did (or had ability to do) that and user confused one thing with another.

Next thing, DiagTrack came to Windows (TP) via update KB3022345, so let's check that update: https://support.microsoft.com/en-us/kb/3022345

"The Diagnostic and Telemetry service collects diagnostics information about functional issues on Windows systems that participate in the Windows Customer Experience Improvement Program (CEIP). CEIP reports don't contain contact information, such as your name, address, or telephone number. This means CEIP won't ask you to participate in surveys or to read junk email, and you won't be contacted in any other way."

Of course, it's still possible there's some foul play here, but I'd prefer it would be investigated first and accusations thrown later, not the other way around.

Comment · 11 years ago
Comment · 11 years ago
I think not, but Meteor or Keystone.js might get there some day.
Comment · 11 years ago
Possibly decorators proposed for ES7 would be a solution here? Babel and TypeScript already support them.

By the way, TypeScript recently (in nightly) gained support for JSX, so we can now have all of this ES6 stuff + types on top of it.

Comment · 11 years ago
Comment · 11 years ago
that happens now already, so we need to fight with it anyway
Comment · 11 years ago
When I was using Angular I thought doing something like

  setTimeout(function() { $scope.$digest(); }, 0);
was an ugly hack and a sign of angular's leaky abstractionism showing up. Is this considered a good practice now (or always was)?

Edit: just to clarify, I'm asking because in OP this was given as a one of the way to fix Angular speed issues.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton