// TODO: Leave the code cleaner than you found
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
The first rule of the Loaf Club…
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.
Also, teenagers are poorer, so any gift would carry more weight.
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.
You would expect that from the author of The Dispossessed. She’s an anarchist (Paul Goodman leaning) through and through. She also wrote the preface to Murray Bookchin’s The Next Revolution.
There are USB-C headphones.
Bingo!
There’s always next time.
Doctor prescribed Zelda Minish Cap tho
I took the middle road: use cable zip ties to bundle them and put all in a bag. Since finding a cable is infrequent, you don’t need to optimize for that case.
You are literally designed to eat craps found on the ground.
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!
For true immutability, burn something like tails on a read-only CD.
Well, that already happened for Reagan and Arnold Schwarzenegger.
Now don’t look at the lamp next to your sofa too closely.