1,155 karma · joined February 16, 2013
Sure, global variables make debugging difficult when you don't know which function changed them where and when and why. But that doesn't happen if you keep your functions pure and only make changes from within reducers – at least that's my experience.
(Boilerplate, yes, Redux adds that. But at least it's all in one place, and not scattered throughout your app.)
2. For sure, 150sqft is unreasonably small, even if it's a very luxurious 150sqft. But that's a strawman. If all of the sensationalism around this extreme end of the spectrum inspires Joe Public to reconsider his American dream of owning a 2600sqft home, and maybe opt for 700sqft instead, then that's a massive win both on the sustainability and on the household debt fronts. We should be celebrating, celebrating, celebrating anyone stretching the Overton window on this topic.
"Embracing experiences and minimalism over material possessions" is precisely what philosophers and spiritual teachers have been advocating for millennia. The material excesses of our parents' generation are a historical anomaly. Earth Overshoot Day is on August 1st – we shouldn't be able to afford that culture in the first place.
Awful headline. This isn't about "how does my dog see the world", but about an energy-preservation mechanism in the retina.
They found that when it's dark out, the neurons in the optical nerve fire less frequently, effectively reducing the bandwidth of information because most of it is noise anyway, and that this regulation is based on the signal of ambient light receptors [0] (which make up only about 1%, compared to rods and cones), which the authors chemically stimulated to confirm the hypothesis.
[0] https://en.wikipedia.org/wiki/Intrinsically_photosensitive_r...
[0] http://www.fsec.ucf.edu/en/publications/pdf/FSEC-PF-464-15.p...
[0] https://www.phcppros.com/articles/5312-water-heater-regulati...
That's one potential issue right there – would this arrangement put airlines or airports into a position to squeeze concessions out of ATCs that might reduce safety? At the very least, minimum ATC pay would need to be federally regulated.
We've had 40 years of unmistakable data, and at this point, anyone pushing this "the science isn't settled" talking point – adopted from the tobacco industry – either has a vested interest in denialism or simply falls really far left on the Dunning-Kruger curve.
One can admit to degrees of model uncertainty without insinuating that climate change is a matter of opinion.
1. Learn about the best ways to get carbon out of the atmosphere [0]
2. Help build the political will for carbon pricing, ideally via Fee & Dividend. The vast majority of economists agree that once GHG pollution costs are internalized, the problem will solve itself quickly. The most effective organization in this regard is Citizens' Climate Lobby [1] – I highly recommend getting in touch with a local chapter. We all tend to be much more cynical about politics than is warranted; I was surprised how rewarding it feels to participate in the political sausage-making.
3. (Optional) Learn about/work on/invest in future carbon removal technologies [2]
[0] Rank list of the Top 100 carbon removal strategies: https://www.drawdown.org
[1] Citizens' Climate Lobby: https://citizensclimatelobby.org/
And that apparent silver lining's actually got a downside, too. Plants working hard to draw up water is a Good Thing, because that water is the only source of nitrogen and other elements needed to make proteins and vitamins.
CO2 just gets turned into carbs; it makes plants grow big and tall but less nutritious. This won't be a problem for us overfed gluttons in the West, but it is going to exacerbate malnutrition issues in poorer regions of the world.
See e.g.:
https://www.nature.com/scitable/knowledge/library/effects-of...
Typescript is (and feels) bolted-on, and can fail in dozens of ways. ReasonML's type checker is 100% airtight. It also has pattern matching and piping, to help make your code more concise.
Typescript is easy: it's just ES6. ReasonML is (and feels) very much unpolished. Conflicts and overlaps between ReasonML's and Bucklescript's and JS's standard libraries, poor documentation, very flexible but very unintuitive JS interop syntax, frequent updates that break your code, etc.
One big advantage is that ReasonML's compiler is lighting fast. As in, it compiles a big project in an instant. I don't know how it works behind the scenes, but the sheer speed changes how you develop. With JS/TS, you hit save, wait a few seconds for the iterative recompilation, refresh your browser, check your work. With Reason, you code, hit save, immediately get a helpful error message, rinse and repeat, and eventually you open up your browser and everything works 100%. It's pretty cool.
Carbon pricing is what really is going to set things in motion on a large scale.
The decay over distance should be roughly exponential: every x millimeters, you're left with only half of the radiation. Given the radiation caused by a cellphone in your pocket, how many microns of water do you need to attenuate the intensity to a non-mutagenic level?
Regenerative Agriculture is ranked #11 in Project Drawdown's list of solutions to climate change, higher than offshore wind turbines (#22), nuclear (#20), or electric cars (#49) [0].
This will be a political battle first and foremost, as so much farming activity depends on subsidy incentives favouring conventional methods.
[0] https://www.drawdown.org/solutions/food/regenerative-agricul...
The book isn't so much about "why we sleep" but rather "why you should sleep more" – 350 pages of Walker telling you about study after study after study after study comparing well-slept to underslept people, and all of the afflictions the latter suffer from, often without even noticing it (and the consequences for industry and society).
While I found his contrived writing style annoying at times, the content is the kind of eye-opening that makes you want to buy a dozen copies just to give to your family and friends.
Brief is atrocious-looking out of the box, but you can enter your own CSS to override the styling. I've been pretty happy with it for the last few years.
CP solvers are less sophisticated in their search (although some are getting more clever [1]), but they instead delegate to graph-theoretical algorithms [2] that can efficiently deal with more high-level constraints, for instance "I only want solutions where all these variables have different values", which in the MIP world would translate to tons of auxiliary linear constraints and variables that would slow down your solver.
So it really depends on how you write your model, and it's not even always obvious whether MIP or CP is better – which is why Minizinc is so useful. There are even attempts to automatically choose the algorithm to use based on the problem structure [3].
[1] https://github.com/chuffed/chuffed [2] http://www.emn.fr/x-info/sdemasse/gccat/sec5.html [3] https://github.com/CP-Unibo/sunny-cp