2,077 karma · joined October 28, 2012
http://spaceflightnow.com/2016/06/22/pslv-c34/
This launch includes 12 Earth imaging satellites from Planet (https://www.planet.com/pulse/flock-2p-launches-successfully-...) and a second generation satellite from Google's Terra Bella.
With some interesting images of Area 51, among other things: https://www.planet.com/gallery/groom-lake-april1/
When you install express, you install 40 dependencies. Each of these has separate maintainer(s) and coordination is optional. If we're going to allow this dependency mess to grow organically, npm needs to be strict about what gets published and we need to be really careful about depending on anything but a strongly pinned version.
I was recently asked to sign a receipt at a store when I'd used Apple Pay. My phone uses a fingerprint reader to authorize a one-time-use token for payment that's transmitted in a cryptographically secure way. But that signature - that's the real unfakeable proof.
- asynchronous/event-based programming
- importing C/native code from a DLL is trivial
- fantastic documentation (so good you don't need the Internet)
If you want a button that does something, you literally draw the button on your form, double click it, and write the code for that event. I agree - one day we'll catch up.
Also VB6 autocomplete rocked.
app.get('/thing', function (req, res) {
try {
await user = db.get({user: req.user});
res.send({user:user});
} catch {
res.send(400);
}
});
beats the hell out of: app.get('/thing', function (req, res) {
db.get({user: req.user}, function (err, user) {
if (err) return res.send(400);
res.send({user:user});
});
});
especially when you have conditionals or loops that can look like: if (user.name == 'abc') {
resp = 5;
} else {
await resp = db.get_resp({user:user});
}
await db.save(something);
I suppose it doesn't get rid of callbacks, just makes them readable. let fibonacci = {
[Symbol.iterator]() {
let pre = 0, cur = 1;
return {
next() {
[pre, cur] = [cur, pre + cur];
return { done: false, value: cur }
}
}
}
}
for (var n of fibonacci) {
// truncate the sequence at 1000
if (n > 1000)
break;
print(n);
}
I love how the only comment is explaining what "if (n > 1000) break;" doesI just feel like priority-wise, users would benefit most from modules (which made it), async/await, maybe class syntactic sugar, then everything else.
Also I appreciate Atlas-Centaur being one centaur.
Before the metric system was created, the US, which had recently won independence, was put in the position of selecting a standard system of weights and measures. Jefferson suggested a decimal system based off the seconds pendulum at 45° latitude. He did this in coordination with scientists in France with the direct goal of achieving a universal standard. Before congress could adopt this system, the French modified their standard:
Although French scientists working on a decimal system had originally supported using the seconds pendulum as a scientific basis, and Jefferson had deliberately matched his seconds pendulum proposal to the French one, based on a measurement at the latitude of Paris, the French decided to use the length of a meridian of the Earth instead of a seconds pendulum. This and other developments changed what had promised to be an internationally developed system into a strictly French project. Jefferson wrote, "The element of measure adopted by the National Assembly excludes, ipso facto, every nation on earth from a communion of measurement with them."
http://en.wikipedia.org/wiki/Plan_for_Establishing_Uniformit...
As a result the US wound up passing on Jefferson's system and eventually settling on US "customary" units.
The real benefit of adopting the metric system is to have a consistent, widespread system of units. The United States has had this for over 200 years and most sectors of the economy have been isolated enough from Europe and the rest of the world where adopting metric has not been worth it. Industries that are increasingly global (automotive, electronics, etc) have already effectively adopted metric.
This was the rationale behind Kal (https://github.com/rzimmerman/kal/), which effectively provides "await" (called "wait for") in ES5.
The ESA picture says its from a thermal and mass model, and the guy in question is hovering over a test fixture.
I can't say much about the ISRO video. I hope it's just press footage of something that isn't the actual flight unit. That would be pretty reasonable. Later in the video you can see the techs wearing gloves pulling the vehicle off a moment of inertia test. It's encouraging, but the fact that they're wearing hair nets while half the guys have giant, uncovered beards is not.
With Curiosity, NASA even went so far as to aim the initial trajectory to miss Mars. This was out of fear that the upper stage of the rocket, which did not have the same amount of contamination control, would collide with the planet.
MOM's orbit is fairly eccentric, so it's not likely to collide with Mars any time soon. I think we have a lot of time to study Mars before we worry about any potential contamination.
https://www.planet.com/gallery/
This one showing recent changes in reservoir levels is pretty neat: