In recent git versions (>2.23), git restore
and git restore --staged
are the preferred ways to discard changes in the working tree (git checkout -- .
) and staged changes (git reset --
) respectively.
In recent git versions (>2.23), git restore
and git restore --staged
are the preferred ways to discard changes in the working tree (git checkout -- .
) and staged changes (git reset --
) respectively.
My point today is that, if we wish to count lines of code, we should not regard them as “lines produced” but as “lines spent”: the current conventional wisdom is so foolish as to book that count on the wrong side of the ledger.
——On the cruelty of really teaching computing science - E.W. Djikstra
If you are looking at learning CS in a more holistic manner, there’s Path to a free self-taught education in Computer Science!. It’s a list of courses, categorized by topics, which are exactly what a CS undergraduate would learn. It might feel daunting at first, but you can pick any interesting topic and dive in.
I especially recommend CS50P for beginners.
The true fediverse: in JPEG we trust.
One problem with exceptions is composability.
You have to rely on good and up-to-date documentation or you have to dig into the source code to figure out what exceptions are possible. For a lot of third party dependencies (which constitute a huge part of modern software), both can be missing.
Error type is a mitigation, but you are free to e.g. panic in Rust if you think the error is unrecoverable.
A third option is to have effect types like Koka, so that all possible exceptions (or effects) can be checked at type level. A similar approach can be observed in practical (read: non-academic) languages like Zig. It remains to be seen whether this style can be adopted by the mainstream.
What happened to their defensive prayers?
Bingo!
What happened to the beeping anti-stalking feature?
The article cited the 2025 budget [PDF]. It’s under the section “Proposes a Minimum Tax on Billionaires”.
To finally address this glaring inequity, the Budget includes a 25 percent minimum tax on the wealthiest 0.01 percent, those with wealth of more than $100 million.
Though the Harris campaign is not directly mentioned, I think we may assume it’s coming from both Harris and Biden.
You are literally designed to eat craps found on the ground.
Reminds me of the robo chicken skit on the Libertarian Party.
This is perfectly captured in the recent Civil War movie, the Jesse Plemons’ scene, “What kind of American are you?”.
Comments on toilets of France, England, and Germany by Slavoj Zizek: https://youtube.com/watch?v=8mtZmBvat4k
Another good bit (not in the video) is that Zizek thinks that’s why Germans can endure great pain and sacrifices for an ideal…if you are strong enough to observe your shit for health reasons, there’s nothing you can’t do!
“No one is above the law” seems a bit of circular with the fact that the law is what the Supreme Court says it is. Similarly, who would decide whether a Supreme Court judge violates the purported Code of Conduct?
I guess it would all come to the legislation branch, but even if the reform goes through, I’m afraid that the political division in the Congress would limit its effectiveness.
They are also band names.
The problem is their retail politics style being more costly.
Let me introduce you to The Melancholy of Haruhi Suzumiya
// TODO: Leave the code cleaner than you found