834 karma · joined February 20, 2014
let lock = Promise.resolve()
return (...args) => {
const result = lock.then(() => f(...args))
lock = result.catch(() => {})
return result.then(v => v)
}
}Publicly traded companies have some pressures that are unhealthy, so moving back into private ownership might be good.
From my casual browsing of their Wikipedia article, Permira doesn't seem to be a vulture capital firm.
shrug emoji
Electric car batteries are tuned much more conservatively than phone batteries and are massively over-provisioned because US consumers are nervous about exactly the thing you're talking about. That's not too surprising because to a large degree the car IS the battery, but battery wear is generally very well mitigated (with the exception of the Nissan Leaf).
If there's already a protocol built into CCS for vehicle-to-grid then that's great news, but manufacturers would still need to enable it.
There have been some test deployments of vehicle-to-grid in the US from Leafs since they use CHAdeMO.
You can die from being poor in a bunch of different ways in this country, but this is one we could easily eliminate.
My favorite test framework of all time, rspec-given[1] (by the late, great Jim Weirich) solved this a different way by using AST introspection to extract both sides of a boolean expression and give a helpful message even with an assertion like: `Then { result == 7 }`
It's the right decision for the long-term, but some people are going to be really angry with them. I hope they can pull it off.
Is that right? And is it just specifically 10.5?