314 karma · joined April 11, 2020
Allows you to open chats directly in a neovim window. Also, allows you to select some text and then run it with certain prompts (like "implement" or "explain this code"). Depending on the prompt you can make the result appear directly inside the buffer you're currently working on. The request to the ChatGPT API also is enriched with the file-type.
I hated AI before I discovered this approach. Now I'm an AI fanboy.
If you choose the "no switching" strategy, you're probability of winning is 1/3. On the other hand, if you use the "switching" strategy, you win if you pick a goat at first and you loose if you pick the car at first. Thus, with the "switching" strategy, your probability of winning is 2/3.
So once you recognize that with the "switching" strategy you win if and only if you start on a goat, the only thing you're really doing with a simulation is to contribute to the carbon footprint of the world.
Without that realization, a simulation can be helpful, of course, since finding the right way to look at a problem is often so hard.
> Just look at the recent past. We've been pumping water into the lake since 08 without any appreciable flooding.
> Then the dam broke and BOOM! floodings rocket double digits.
The war-induced shortages may be the proximate cause of inflation, but maybe it wasn't a good idea to keep pumping that water in the first place, in particular, with the knowledge that dams always break sooner or later anyway.
64 minutes in an hour
64 seconds in a minute
This would make seconds 1.31835 times longer then what they are now.
``` ageNext = age.transform([] (const int age) { return age + 1; }); ```
if equally readable to
``` if (age) { ageNext = *age + 1; } ```
Maaaaaybe!
Also, I suspect an even better outcome for an individual would be achieved by essentially using the Kelly criterion, which means that you wager a certain fraction of year wealth on every coin-toss. The optimal fraction that should be wagered on each toss can be calculated with pretty basic math.
For the lefties: this doesn't mean that cooperation is bad, of course. It just means that the argument in the article can not be used in support of your ideology.
The people in the center of the crowd who die had plenty of opportunities to get out, but they didn't; they committed to their respective ideology.
Sure, if you find yourself in a mass of people that is so dense that you loose any sense of agency, it might help to remember that you're just a molecule in the mass and go with the flow. But if you find yourself in such a situation, it's usually a clear sign that you haven't always been reasonable on the way there.