Brilliant! Makes a simple children's game very interesting. One aspect I really enjoy is that it makes clear the knee-jerk response towards action bias[0]. There are times when your opponent has two-in-a-row, but the probability of a frown on the third is > 50%, in which case it's in my interest to have my opponent click on the third square instead of me (but even knowing that cognitively, it's still hard to not action).
HN user
mbroshi
FYI, Sage is also the name of a mathematical programming language: https://www.sagemath.org/
There's an implicit assumption that the organizers would cancel the race if conditions are unsafe. E.g., when I go on a rollercoaster, I assume engineers have calculated the safety better than I could ever evaluate
Sounds like an interesting--although presumably not easily and quickly scalable--solution to fertilizer shortages. I am dubious about the environmental improvement. According to a meta-analysis[0], chemical fertilizers produce less ammonia emissions
However, ammonia emissions, nitrogen leaching and nitrous oxide emissions per product unit were higher from organic systems.
Basically, chemical fertilizers are much more efficient and have more uniform distribution of nutrients.
[0] https://www.sciencedirect.com/science/article/pii/S030147971...
I see a lot of doubters, but the bet is still open. If you're so doubtful, go ahead and put your money where your mouth is!
Did you use a regex to verify the data looks like a uuid before putting it into the database?
Is that really a thing? I have used UUIDs as primary keys many times in my life, and never had a need to do such a thing. I am struggling to even think of a valid use case.
This is something I have thought about a lot.
I have had coffee daily, gone months without any caffeine, and currently average about one cup of coffee every week or two.
I think the best approach is experimental and data-driven. Everyone has different genes, life circumstances, sleep quality, etc., so it's hard to deduce too much from others' anecdotes. Once a week, I do a version of the Beck Depression Inventory[0] to measure my mood over the previous week. For me, daily coffee definitely causes me to be slightly depressed. I have found a cup when I really need it (which is about once every week or two) is ideal. But, whatever it is you want to optimize for (lines of code, happiness, sleep quality, etc.), make sure you are measuring, and then start experimenting!
As Tyler Cowen always responds to headlines like this: "If it’s true, why isn’t the price of oil down?"
This is a great idea! I tried it on a 200-page document [1], and it took over a minute to process in my browser, and the result seems to be about 75% highlighted. Not sure if it's the "math-ese" or length that is the issue.
One cool thing is that it highlighted both the same sentences in English and French. I presume you translate the text before analyzing.
[1] https://www.math.mcgill.ca/darmon/theses/leahy/thesis.pdf
I love this post. This sort of thing happens to everyone, most people just are not willing to be so open about it.
I was once sshed to the production server, and was cleaning up some old files that got created by an errant script, one which file was '~'. So, to clean it up, I type `rm -rf ~`.
I think the link should be here: https://www.ezequiel.tech/2019/01/75k-google-cloud-platform-...
And the date should be (2019)
I wonder why the body needs to move to stay warm. Seems like a waste of energy. If I were to "design" the body, I'd make automatic heat generation one of my MVP features.
My favorite hidden feature in Firefox is having multiple profiles[0],[1]. Unlike containers, profiles have separate bookmarks, extensions, etc. I have found profiles even more useful than containers for development.
[0] about:profiles (paste into URL bar in Firefox)
[1] https://support.mozilla.org/en-US/kb/profile-manager-create-...
Somewhat perpendicular, but intermittent fasting has been a great recent lifehack for me. I skip breakfast every day, and sometimes skip lunch. Gives me back at least an hour every day. And gorging for dinner is a lot of fun.
There are functional benefits for having UUIDs as a primary key, but yes there are performance impacts on writes and ORDER BY. The best way to find out how it will impact your application is to have performance tests in place, and test out the primary key change in a development environment. I do not think you'll able to determine the impact on performance/scalability based on "pure thought".
It's pretty unlikely to get a collision[1], and the client should be able to handle the gracefully (regenerate the UUID and retry).
[1] https://www.quora.com/Has-there-ever-been-a-UUID-collision
I wonder whether the premise of your question is faulty. If you ask enough people: "In your last 100 flips of a coin, did you get more than 60 heads?" some will truthfully say "Yes." Unfortunately, that does not mean there's anything special about their coin-flipping strategy, or that you will be able to generate a successful coin-flipping strategy.
My guess is what you really want to know is "What is my expected gain if I try to employ an algorithmic trading strategy?" I have my suspicion of the answer to that question, but I don't believe your current question will shed any light on the answer.
Apparently some mice do menstruate[1]. Do mice have another mechanism for handling the issue the author raises: "What to do when the embryo died or was stuck half-alive in the uterus?"
[1] https://www.nature.com/news/first-rodent-found-with-a-human-...
I believe OP's point was that aggregating crowd-sourced reporting of outages is surprisingly accurate and prompt, not that there aren't any other tools for reporting outages.
Nice feature-level comparison.
Don't know how you'd pull it off in the current tabular format, but would be great to include some of the UX side of things: For example, I use rg almost exclusively because it has an easy-to remember syntax (`rg search-string` is a recursive search), attractively colored and well-organized output, and seems much faster compared to other tools in my use cases.
In order to open a new hospital in most jurisdictions, by law you need the permission of other local hospitals [0]. That's like being required to get the permission from Google to start a new search engine.
As pointed out in the comments section, the chart does not account for years of life lost, simply numbers of lives. I'd be interested with whether the ex-post explanation still applies if we did a simple transformation like weighted each category by average age of death. Suicide, homicide and drugs skew a lot younger than heart disease.
You've just rediscovered the premise of David Eggers's The Circle
For those looking, I believe the actual research article is here:
http://tobaccocontrol.bmj.com/content/early/2017/08/30/tobac...
A lot of people are remarking on particular ideas. Before you do this, make note of the following points:
1. The author is posting one of these lists EVERY DAY(!)
2. The author puts in the About: "Since ideas are useless if you don’t share them with the world, I decided to post them here. If you like any of them, go for it, make them."
3. Also in the About: "Sometimes interesting, sometimes thought provoking, and often enough pretty stupid. The point is to get the brain thinking, to exercise the brain muscle...All of them are original, as in I thought of them, but many may not be novel, as you know what they say, geniuses think alike :)"
This sounds ad hominem to me. While it's certainly worthwhile to consider Certsimple's motivations when reading the article, I actually found their case pretty compelling.
TLDR: Government makes trillions by auctioning off the interstates, and uses the money to fund a universal basic income. Should be equally popular for both free market and socialist sorts.
"The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment." - Warren Bennis
This is from the article:
"...the fact that they offer market-value estimates and 'are promoted as a tool for potential buyers to use in assessing [the] market value of a given property,' shows that they meet the definition of an appraisal under state law. Not only should Zillow be licensed to perform appraisals before offering such estimates"
It can be surprising when seemingly innocuous activities are in fact heavily regulated (cf. Stanford needing to remove all their learning videos from their website).