Recent submissions

Comment · 8 years ago
When did HN become so... radicalized? There's nothing inherently wrong with these companies being big. The problems are with them being too board. Should Google own the creation of content (Blogger, Youtube), finding content (search) and transmitting content (fiber)? Should Comcast transmit content (TV, Xfinity) and create content (NBC, Hulu)? This is where the problems arise like conflicts of interest, diminished competition, etc. We saw this clearly in Argentina, when as soon as the government started working on legislation to prevent the telecoms from becoming monopolies, since they own newspapers and TV news, they started bombarding the public with negative press.

It shouldn't be hard to regulate this. Just split them up.

Comment · 10 years ago
> If you're running code on the server, there's no reason to compile down to ES5

Actually, ES6 is not running at full speed in Node yet. So there are still some performance benefits on transpiling.

Comment · 11 years ago
Comment · 11 years ago
Maybe you can change that for the remake of Cosmos.
Comment · 11 years ago
Comment · 11 years ago
The book The Martian, big-budget movie coming soon, has some pretty awesome fictional-yet-very-well-informed situations of things that were so unimaginable to have an impact on anything and still caused things to go terribly wrong. Highly recommended.
Comment · 11 years ago
In my country the potential employee would have to be registered as an independent contractor before being able to charge for the provided service. And then if he wanted to become a full time employee he'd have to unregister as a contractor.
Comment · 11 years ago
Comment · 11 years ago
This is an area where the new syntax for modules in EcmaScript 6 does really well. Since exports are static, a dead code elimination tool can figure out which exports from a module are being used and remove the ones that are not being used. As mentioned in comments about how the Closure Compiler works, you can't really do this with purely dynamic code, but you can do it with static imports/exports.
Comment · 12 years ago
You can do this in the current dev tools by setting a conditional breakpoint. Conditional breakpoints allow you to write an expression which you can force to always be falsy. For example, "console.log()" returns undefined so it's falsy and it won't actually break.
Comment · 12 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton