Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xxgreg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
xxgreg
12y ago
The carbon in the fuel comes from CO2 which is captured out of sea water. The problem with fossil fuels is that they transfer old carbon which used to be stored underground into the atmosphere. This process only uses carbon that is already
122.
▲
by
xxgreg
12y ago
Thx ;)
123.
▲
by
xxgreg
12y ago
Github has some nice features that chromium.googlesource.com lacks, like being able to list all of the commits that have changed files in a specific sub directory. Synchronising a mirror automatically is pretty trivial so I imagine they
124.
▲
by
xxgreg
12y ago
And since git is distributed it can be hosted on both, and already is https://github.com/v8/v8-git-mirror
125.
▲
by
xxgreg
12y ago
> No private pub server. If you want to host Dart packages internal to your company locally; you're out of luck. You can store packages on a private git server, see the pubspec.yaml docs here: https://www.dartlang.org
126.
▲
by
xxgreg
12y ago
I'd like to see strong evidence too. Where I live there have been a far larger number of pedestrians seriously injured by cars than cyclists - but you're right far more time is spent walking.
127.
▲
by
xxgreg
12y ago
Ok that leaves pedestrians, who have twice as many head injury's per km. Most likely due to being hit by cars - perhaps cars should have airbags on the outside too...
128.
▲
by
xxgreg
12y ago
He also cites an Australian study, which concludes risk of head injury per million hours travelled: Cyclist 0.41, Pedestrian 0.80, Motor vehicle occupant 0.46, Motorcyclist 7.66. So if you want to be consistent you should update your commen
129.
▲
by
xxgreg
12y ago
Does this mean you will now wear a helmet while driving, because it gives you 85-88% less chance of serious brain injury?
130.
▲
by
xxgreg
12y ago
Did you read this bit: Risk of head injury per million hours travelled Cyclist - 0.41 Pedestrian - 0.80 Motor vehicle occupant - 0.46 Motorcyclist - 7.66 "but that doesn't mean your not an idiot for doing it without any go
131.
▲
by
xxgreg
12y ago
I think the title is wrong - it should be: "Why it makes sense to drive wearing a helmet" Based on: We can also approach it from the perspective of injuries per million hours from a 1996 Australian study looking at head injury ris
132.
▲
by
xxgreg
12y ago
Very cool. However inverters are DC->AC. I think the correct term for AC->DC converter like Dart is a "rectifier".
133.
▲
by
xxgreg
13y ago
It's called pumped storage. It exists, but only at larger scales than a household system. It's ~80 efficient. http://en.wikipedia.org/wiki/Pumped-storage_hydroelectricity
134.
▲
by
xxgreg
13y ago
"get the maximum energy during the year." There are already countries where the cost of electricity from PV is below the cost of electricity bought from the grid. In these countries every Watt you generate yourself saves you money
135.
▲
by
xxgreg
13y ago
To be fair the Tesla is aiming for a Model E range of ~200 miles, vs ~100 for the i3. So getting double the miles for the same price is a good deal. (Though the i3 does have an ICE range extender option which gives it ~200 miles too)
136.
▲
by
xxgreg
13y ago
I remember using one of those mid nineties - I think is was a Sun workstation. It had a metallic mouse pad with a grid pattern etched into it.
137.
▲
by
xxgreg
13y ago
"if the VM eventually becomes much faster than the dart2js path, Google can essentially force other browsers' hands by adopting Dart on Google sites" Or all of the browser vendors could sit down and design a new language base
138.
▲
by
xxgreg
13y ago
It works. There are a few people using it server side. There is a Heroku build pack. The HTTP server is a bit slow, sounds like this is being addressed, and shouldn't be a limiting factor. I wrote a postgresql driver, which works ok. M
139.
▲
by
xxgreg
13y ago
The best bit about Dart is not new features, but many of the footguns that have been removed compared to JS. Note: Dart doesn't have generators, and Ecmascript is not planning on adding optional types.
140.
▲
by
xxgreg
13y ago
One big advantage of top-level declarations is it is possible for the VM to use a snapshot for fast start up. This is not really possible if you must interpret top level code to build up your top-level declarations, as done in JS. Using sna
141.
▲
by
xxgreg
13y ago
FYI - the Angular team have ported Angular to Dart.
142.
▲
by
xxgreg
13y ago
"pushing comp-sci forward" nit - The Dart team have explicitly said that they are not doing any features based on new computer science research. The Dart project is built on pragmatic engineering decisions, rather than "pushi
143.
▲
by
xxgreg
13y ago
Nikolay has also ported the Richards and Tracer benchmark. http://bonovox.be/blog/dart-vs-java-richards-and-tracer/
144.
▲
by
xxgreg
13y ago
Yes - benchmarks need to be ported very carefully to make sure they measure something meaningful. What makes you think that there are problems with this port? It is an old well used benchmark, used for benchmarking object-oriented code with
145.
▲
by
xxgreg
13y ago
Sure, take all benchmarks with a grain of salt. However it's worth noting that deltablue has been used to benchmark polymorphism in Smalltalk, Self, the JVM, and V8. Some of Nickolay's numbers are from a version of the code written at Sun l
146.
▲
by
xxgreg
13y ago
Yes - It's difficult to describe the difference in one sentence ;) I agree that there are many shades of the rainbow between a JIT and an interpreter. "V8 compiles JavaScript source code directly into machine code when it is first executed.
147.
▲
by
xxgreg
13y ago
"Dart is purely object oriented" Languages such as Java and C# have a distinction between objects and primitives such as int and bool. In Dart all types are objects - even null! This is why Dart is pureOO. Dart has some of the classic highe
148.
▲
by
xxgreg
13y ago
Dart can run in production mode where type annotations have no effect, or in checked checked mode where they will trigger a runtime error (i.e. behave like an assert). So you're both right ;)
149.
▲
by
xxgreg
13y ago
> It would be nice if Google maintained mirrors on Github and accepted pull requests and such, but I don't see that ever happening. Actually, external contributors John Evans and Ladislav Thon submitted and landed patches via github. h
150.
▲
by
xxgreg
13y ago
Yeah - it would be nice if dart2js supported externs as in the closure compiler. I imagine that will happen at some stage.
More ›