4,310 karma · joined May 17, 2016
https://www.nber.org/system/files/working_papers/w27058/w270...
He was not convicted of that.
What was your favorite Albanian dish?
git switch -c some-new-branch-name
git branch -f master HEAD~1. Always use `git switch` instead of `git checkout`
2. Avoid `reset --hard` at all costs. So for the "accidentally committed something to master that should have been on a brand new branch" issue, I would do this instead:
# create a new branch from the current state of master
git branch some-new-branch-name
# switch to the previous commit
git switch -d HEAD~
# overwrite master branch to that commit instead
git switch -C master
# switch to the work branch you created
git switch some-new-branch-name
# your commit lives in this branch now :)
3. I'd apply the same to the `cherry-pick` version of "accidentally committed to the wrong branch": git switch name-of-the-correct-branch
# grab the last commit to master
git cherry-pick master
# delete it from master
git switch -d master~
git switch -C master
4. And also to the "git-approved" way for "Fuck this noise, I give up.": # get the lastest state of origin
git fetch origin
# reset tracked files
git restore -WS .
# delete untracked files and directories
git clean -d --force
# reset master to remote version
git switch -d origin/master
git switch -C master
# repeat for each borked branch[1] https://www.efsa.europa.eu/en/topics/topic/food-colours
[2] https://www.fda.gov/food/color-additives-information-consume...
> As a parent, if I notice a correlation between an action and subsequent behavior, are you saying that my lived experience is irrelevant because... nobody bothered to include me in a specific double blind study? How many things do you do every day that have not been studied through exhaustive scientific research?
"Noticing a correlation" could very well just be confirmation bias. For decades, parents thought that giving kids sugar made them more energetic, but the scientific consensus is that there is no link between the two.
https://play.rust-lang.org/?version=stable&mode=debug&editio...
Delayed the release of vital, proven medicines to the public, leading to hundreds of thousands of people needlessly dieing.
The reporting on this is highly debatable. SC justices are allowed to have friends, just like any other person.