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).
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.
> 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.
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!
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.
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 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)
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".
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?"
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.
[0]: https://en.wikipedia.org/wiki/Action_bias