Donald Trump Is Right to Downplay the Threat of the Coronavirus
- Donald Trump downplayed the seriousness of the coronavirus during his Wednesday press conference, and that's likely the right thing to do.
- Donald Trump is facing backlash for downplaying the seriousness of the coronavirus.
- While his own scientists have refuted many of his claims, Trump might be right to downplay the virus in general.
- According to a study by the Chinese Center for Disease Control and Prevention, only 2.3% of the 44,672 coronavirus cases reported in China as of February 11 have been fatal.
- Ongoing stress makes us susceptible to illness and disease because the brain sends defense signals to the endocrine system, which then releases an array of hormones that not only gets us ready for emergency situations but severely depresses our immunity at the same time.
Undiscoverable UI Madness
- We have a couple Mac users in the office so I went around and asked them how to do some things on macOS, which as we all know, is much better than iPadOS at making important, useful UI elements easily discoverable.
- When I asked them how to right click on a folder, and 1 knew how with the Magic Mouse, but the other 2 agreed they needed to do it on their trackpad because Apple’s mouse only has a single click.
- No one was able to, and telling them that they could by hitting Cmd+up arrow or Cmd+clicking on the directory name in the title bar was deemed the most hidden thing thus far.
- I stopped there because we had to get back to work, but without even leaving the Finder and Desktop I was able to find a bunch of things that long-time Mac users had never known about because they never discovered them in their daily use.
You can't make C++ not ugly, but you can't not try (2010)
- In contrast, let's take, say, python's strings: refcounted, passed by reference, nullable, compatible with string constants, no templates, trivially easy debugging, always the same character type (although they changed it in python 3, sigh), include a sprintf-like operator, the + append operator works fine and multiple appended constants can be optimized at compile time (python's interpreter compiles to a metalanguage and can do basic optimizations like this).
- They even have an optimized non-constant append operator in newer versions of python that's more efficient than making a whole new copy every time.
- But because the C++ people so desperately wanted this sort of thing to be fast, they allowed the compiler to optimize out the creation of x and the copy operation; instead, they just tell f() to construct its return value right into x.
What's the secret to a happy marriage? Science says the most successful relationships have 13 things in common
- Numerous studies, including a 2014 survey of 5,000 people in long-term relationships, show that childless couples (married or unmarried) are happiest.
- In fact, Goldberg argues that couples should have "rough and ragged" beginnings where they work things out, and then look forward to a long and happy incline in the state of the relationship.
- Research agrees: A Florida State study found that couples who are able to be openly angry in the beginning are happier long-term.
- Anyone who has been in a relationship can attest to this one, but now there's research to confirm it: A 2009 study in The Journal of Personality and Social Psychology showed that when couples celebrate their partner's accomplishments as if they were their own, they're more satisfied in the relationship.
The Morning After: NTSB chair criticizes Tesla over 2018 Model X crash
- On Tuesday, Disney abruptly announced that CEO Bob Iger would leave his post, "effective immediately." That follows a run of developments over the last few years that have seen Disney corner the market on content from Marvel, Lucasfilm, Fox and more, all culminating in the launch of its "direct-to-consumer" plan that centers on services like Disney+.
- The new batch of tickets are likely to go on sale sometime later in 2020, but CEO George Whitesides warned that prices might climb substantially from the $250,000 for early customers.
- The challenge with fast charging devices and chargers has been the mismatch: If they're not compatible (and they're often not, with different standards from companies confusing everyone), then charging will default to a lower rate, defeating the point of the thing.
The Myth of Sisyphus, Failure, & the Meaning of Imperfect Code
- While coming to this acceptance, I was able to draw some notable comparisons to one of my favorite ancient Greek myths, the tale of Sisyphus the king, who was tasked with rolling a boulder up a hill for all of eternity only to have it fall back to the bottom, all because of a con he attempted where he tried to cheat death.
- Software development is a lot like the myth of Sisyphus; it is never-ending, is always pushing forwards, and has the potential to hand you big failures when you are least expecting it.
- I've come to accept that challenges of software development, my own weak points, and my past failures, but as many times as I've seen my personal & professional boulder roll down the hill, I always come back hoping to go farther, learn more, and be better.
The Best Frameworks to Build a Minimum Viable Product
- We'll look at the best frameworks to build your minimum viable product currently.
- You can build a minimum viable product with a decent interactive front end with some frameworks and libraries.
- React is very popular as a front end library because we can build a lot with it in a short time.
- We can use it to build a UI quickly with all the libraries that are available.
- To make building back ends easy, we can use frameworks to do this.
- You have to add your own database manipulation solution and it doesn't come with any way to debug things easily on its own, so it's good for simple apps, which a minimum viable product should be.
- To create a minimum viable product, we've to use frameworks to build a prototype fast.
- It's good to stick with the popular frameworks that let us build things fast.
29 things you can do for a lower carbon footprint that will hardly change your day
- Washing clothes takes up energy, and 75% of that energy comes from just heating up the water, according to the New York Times.
- One of the easiest ways to reduce your carbon footprint is to buy in foods bulk and use your own containers, so there's no unnecessary packaging involved in your grocery shopping.
- Turning your thermostat down two degrees in the winter and up two degrees in the summer could save 2,000 pounds of carbon dioxide a year because it takes energy to heat and cool a home.
- If public transportation is not an option for you, there are many ways you can drive efficiently to reduce your carbon footprint, starting with chilling on the gas and breaks.
- Not only is fuel used to get the goods from a warehouse to your door, but the products are also packaged in cardboard, which the Guardian says is the third-largest industrial use of energy on Earth.
Functional Programming Interview Questions
- They liked your CV.
- You’ve got the date in your calendar.
- Very soon you’ll be sitting in a room about to do the interview.
- Multiple things can happen.
- Maybe you won’t be a culture fit.
- Maybe you’ll hit it off straight away.
- The main thing is that you nail the technical part.
- Of course there’s an infinite amount of questions that can be asked, but after asking our network and speaking with our own team, these are some of the more common questions that you should know….
- or at least be aware of.
- Now who wants to write all the answers for us??
Implement with Types, Not Your Brain
- But my favorite part is that having a strong type system means I don’t need to use my brain to do programming.
- In most cases doing that in one step is unfeasible, but we can often write a little more of expression, and use a type hole in that.
- It’s truly amazing just how far you can get by writing down the right type and making sure you use every variable.
- The reason why this works is known as theorems for free, which roughly states that we can infer lots of facts about a type signature (assuming it’s correct.) One of those facts we can infer is often the the only possible implementation.
- Which means you can slowly use type holes to chip away at a difficult implementation, without ever really knowing what you’re doing.