Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stupidcar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
751.
▲
by
stupidcar
12y ago
Hearing web developers discuss the dangers of abstraction is just about the craziest thing in computer science. JavaScript and the DOM sit atop layer upon layer upon layer of abstraction that hides an absolute mountain of complexity around
752.
▲
by
stupidcar
12y ago
Ehhhh, my society's pretty lame anyway.
753.
▲
by
stupidcar
12y ago
I was on the web ~1998-2004, and I still think you're being cynical, and are just flat wrong on certain points: - V8 (and Chrome, via Chromium) is an open source project: https://github.com/v8/v8-git-mirror . Try
754.
▲
by
stupidcar
12y ago
They already do. The standardised assembly language is called "javascript".
755.
▲
by
stupidcar
12y ago
The ES6 class system is literally just syntactic sugar for prototypal inheritance.
756.
▲
by
stupidcar
12y ago
Not really. It's a way to enable increased performance by disallowing certain hard-to-optimise constructs.
757.
▲
by
stupidcar
12y ago
Because many legal constructs in javascript preclude various optimisations that could otherwise deliver near-native performance. Compiling a more rigid language to JS doesn't help with this, because the runtime and JIT compiler has no
758.
▲
by
stupidcar
12y ago
Aren't Google now proposing a bunch of new pragmas? http://www.2ality.com/2015/02/soundscript.html
759.
▲
by
stupidcar
12y ago
The post I was replying to said that "current ML techniques aren't anywhere near creating general intelligence". I wasn't suggesting the doomsday scenarios are likely, just that some people, Jeff Hawkins at least, believ
760.
▲
by
stupidcar
12y ago
What about Numenta? They claim to have a general, neocortex-inspired learning algorithm. http://numenta.com/
761.
▲
by
stupidcar
12y ago
And object orientation wants you to think about your API as a graph of objects, but going too far down this rabbit hole is how you end up with a mess of AbstractSingletonProxyFactoryBeans[1]. Yes, it's possible to adapt any system into
762.
▲
by
stupidcar
12y ago
Pure REST is great for toy examples, where every domain entity fits neatly into a resource and every operation is a CRUD one that can be represented as an HTTP verb. So there is a million tutorials explaining how to build a REST API for a b
763.
▲
by
stupidcar
12y ago
Ohhh, I was confused because I know Node caches module objects, but I see the code in the V1 case is creating a new function each time it's used. Seems like it's not really a module issue per se though, just a general JS best prac
764.
▲
by
stupidcar
12y ago
I don't get it. Why would you care about the performance of your module boilerplate?
765.
▲
by
stupidcar
12y ago
It seems like the article maybe misrepresents what the thesis that inspired it says[1]. From the abstract: "... the device still has its freedom to control block-allocation decisions, enabling it to execute critical tasks such as garba
766.
▲
by
stupidcar
12y ago
While it's true that you only lose your license to the patents, not the code, I don't see how you can argue the grant isn't a restriction of your freedom? Surely any license whose conferred rights are predicated on the recipi
767.
▲
by
stupidcar
12y ago
Yeah, this discussion points out an important point that it's easy to miss if you scan Facebook's patent grant: The license Facebook grants you is invalidated by any action that even alleges that any of Facebook's patents
768.
▲
by
stupidcar
12y ago
Data centres don't create many jobs. In 2011, Facebook stated that its data centres create roughly 1 job per 790 m² [1]. Apple's planned data centre is 166,000 m². That gives us a figure of ~210 jobs for this data centre. But that
769.
▲
by
stupidcar
12y ago
Firstly, JS isn't just about browsers anymore. Developers using node.js and io.js can use new syntax as soon as their platform of choice supports it. For browsers, yes, compatibility means we have to transpile. But the day you need not
770.
▲
by
stupidcar
12y ago
I have never used Rust before, but I was able to install it and compile XSV on OS X in about 5 minutes. So maybe cross-compilation isn't straightforward yet, but building from source definitely is.
771.
▲
by
stupidcar
12y ago
As a Brit, I think this rather overstates the case. Take The Thick Of It. The article says there's no likeable protagonist, but Hugh Abbott, Nicola Murray, Peter Mannion are not unsympathetic characters, even if they're generally
772.
▲
by
stupidcar
12y ago
What is it you imagine Gladwell's "claim" to be? Because he's repudiated the idea that he or any other informed researcher claimed 10,000 hours was some magic number, or that practice alone is a substitute for talent: h
773.
▲
by
stupidcar
12y ago
I'm sure Babel will be supporting ES8 and beyond. The rename wasn't just about ES6/ES7 confusion, I believe, but to reflect the expanded ambition of the project to be a general transpiler from the edge ES version to the versi
774.
▲
by
stupidcar
12y ago
Prefer not to code everything in Brainfuck? STAGNATION!
775.
▲
by
stupidcar
12y ago
If anyone intends to try mirror gazing to induce a dissociative state, please be aware that it can also produce disturbing visual apparitions, particularly in low lighting: http://www.ncbi.nlm.nih.gov/pubmed/20866001
776.
▲
by
stupidcar
13y ago
Simpler, yes, but simplicity often comes at the expense of power. What happens in a year, when you have a bunch of experienced developers, struggling to overcome the limitations of ReactJS? Most likely you'll end up reinventing many of
777.
▲
by
stupidcar
13y ago
Your info is out of date, as they have already fixed the browser update issue. Modern IE will automatically upgrade when new versions are released - you can see this by looking at the adoption rates for IE9 -> 10 -> 11. However, there
778.
▲
by
stupidcar
13y ago
I really wish people would stop vomiting out articles about how Javascript, or some other language/framework je dure, is broken, and needs to be replaced, etc. It's just useless noise - a technological tantrum thrown because somet