67 karma · joined December 10, 2016
// your ordinary function declarations
int plus2(int i) { return i + 2; }
int times2(int i) { return i * 2; }
typedef int (*modfun)(int);
// a very reasonable syntax altogether
modfun get_modfun(bool mul) { return (mul ? times2 : plus2); }
Nests as well if you ever wanted to: modfun get_modfun_no_mul(bool mul) { return plus2; }
typedef modfun (*modfun_getter)(bool);
modfun_getter get_getter(bool allow_mul_opt) { return (allow_mul_opt ? get_modfun : get_modfun_no_mul); }Are there? To what extent?
I'd very much like to see the science to back up a blanket statement like that.
How did you come by that result? Assuming it wasn't from a magic hat, could you enlighten us a bit?
Bear in mind, that drivers pay much, much more tax for their fuel in Denmark, too, compared to the U.S. Fuel taxes are a major part of many European countries tax income.
Those who buy cars essentially buy cheaper cars for the same prices compared to the neighbouring countries with similar income levels.
Yes, I wouldn't one a tax policy like that, either. Where I live, we still have a car excise tax, although somewhat more reasonable, and I oppose to that too: taxing safety features for instance makes people buy less safe cars on average. In any case, road users pay their fair share in fuel taxes (which are high practically everywhere in Europe), not to mention the recurring car owner's tax. (Some car-opposing people from the U.S. tend not to understand how much taxes car owners pay in Europe, but it really covers all the externalities of providing service for cars, and then some; it's a cash cow for the tax man. Of course, you need to collect taxes somewhere...)
Energy requirements between commuter and heavy-duty commercial vehicles differ substantially, and batteries are of course the biggest hurdle against full electrification.
Light trucks could probably mirror SUV development, at least for part of the market. If they won't, it's probably due to demand side of the equation.
IMO it's a flaw in human-powered vehicles, although some purists will certainly vehemently disagree such a thing can even exist.
With very low traffic density, you might build the house closer to the road (maybe 10m off, separated with trees) for just that reason – to save land. (Not all rural houses are farms.)
What an utterly silly opinion, anyway.
AI is nowhere near the level of needing space.
Might it be that we tend to like what we're used to? When I jumped from WinXP to a Gnome2-desktop, I tried to make it a bit more like WinXP, even though these days I would probably want nothing of how WinXP desktop is laid about.
Poor me, I had no idea it was that bad committing to veganism.[1]
[1] https://archive.org/details/TheSpeciesBarrier35Antinatal
No human suffering, perhaps. More drastic measures would be needed to end all suffering altogether, at which point it might need more evidence to prove the claim that the Earth would still be “healthier”, or that the healthiness of a rocky planet really matters (you can't really leave it to the hands of evolution not the create more suffering by leaving “it” an easy way, can you?)
The average where I live for Nov is about an hour of sunlight per day, but to catch that you'd have to spend all the light hours of day outside (and for sure, November sunshine isn't quite the same as summer sunshine).
It's just pretty hard to create one. Same applies to automatic optimizations in the general case: what do you exactly know about what Java does beyond that it is capable of using SIMD instructions? Have you perhaps evaluated how and where it does so, or how the end result compares to more explicit manual use of stream operations?
edit: and for the record, the problem is not as easy as you seem to think it is, given how you described your astonishment.
I wish they even gave this, but at least in here, many mainstream flicks are of even worse quality (although this restriction on some content seems to apply even on Windows and Edge browser, at least on my computers). Not that it really matters what's the nominal resolution of a 1000 kbps stream anyway (and lately Netflix has removed the option to see the actual resolution of the video I think), however...
... selling out the free web got us so much indeed.
In any case, that lap records were beaten this year tells an altogether different story: the engines used don't matter that much for the lap times after a point. After all, they were running almost the same engines last year, a little development notwithstanding, and were much slower: what has changed, and what dominates the gains in lap times, is aerodynamics – which are severely restricted by the rules. That was also the case a dozen years ago when we had the similarly powerful, larger but lighter N/A V10 engines (no hybrid part to lug around back then), accompanied with a narrower track and grooved tyres to reduce the cornering speeds. Thus the comparison is moot: everything around the engine dominates the equation anyway, but that is hardly news.
(Btw, with title bars hidden Firefox and Chrome actually have pixel-for-pixel same size nagivation elements, at least with Ubuntu's defaults – of course only when you toggle on system title bars in Chrome.)
Glad they got rid of the old extension system now that the new one is so feature complete. I mean who needs spellchecker API anyway, if you miss spellchecking in your language, you can always start writing in another language, no? Perhaps they could introduce a Pocket API to compensate?
Edit: Just to be clear, a constant torque would imply a linearly increasing power output when increasing the revs. Of course Tesla doesn't have that – what they have is high torque, and thus significant power output already at very low revolutions. A typical small DC electric engine has an almost linearly decreasing torque curve (unless capped), although I don't really know specifics about Tesla's engines.