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.
In this particular case, the server offered to pay for the meal, rather than give it for free.
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.
The paper only says it’s a collaboration. It’s pretty large scale, so the opportunity might be rare. There’s a chance that (the same or other) researchers will follow up and experiment in more schools.
The interviews revealed that data scientists sometimes get distracted by the latest developments in AI and implement them in their projects without looking at the value that it will deliver.
At least part of this is due to resume-oriented development.
Sorry I wasn’t being clear. AC is used for connecting within areas of densely populated cities, e.g. British National Grid. If we are talking about really long distances (> hundreds of kilometers), HVDC is indeed preferred.
I was talking about a trend of some factories replacing AC from power grids (possibility generated in nearby cities) with DC from solar panels on their rooftops. So it’s a long distance compared to that.
Power grids would mean long distance power transmission, so AC has an advantage. If the point of consumption is near the point of PV generation, DC can and is already being used.
I know factories with solar panels on their rooftops to cut down power bills and instead of converting to high voltage AC, a custom-built DC power system is used.
What happened to the beeping anti-stalking feature?
The problem with these token activism is that it’s hollow in content. The intent might be good, but the action is almost pure virtue signalling.
Slavoj Zizek pointed out in multiple interviews that there’s a pervert self-reflectiveness in the self-censorship: privileged people “enjoy” being guilty of their privilege, so it’s more about themselves rather than the people they claim to represent. “Sorry, but you were naive and unaware of people being racist when they use these words, so let me stop them and now you are protected (by me) in an inclusive atmosphere.”
A related radical freedom situation as an inverse to the above is that when friends get really close, even using racist slurs is treated as a gesture of intimacy, rather than racism. In an ideal world, the context in the public discourse would be so strong that even racist words lose their racist meaning (“oh, so you are joking as well”) rather than the opposite (assuming there’s ubiquitous “hidden” racism in the use of a word, even when there’s clearly none).
Another critique is that it presents itself as a substitute of real solutions. Instead of addressing real problems, it provides a simple “everyday” solution, very much similar to the recycling movement. Of course we need to recycle, but we should be aware that it’s not a substitute of radical real actions (e.g. stopping the big oil).
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.
I saw a streamer playing the demo and was looking forward to it. That being said, it’s too recent a game for a patient gamer like me! (Not really. I do buy new games :)
This is perfectly captured in the recent Civil War movie, the Jesse Plemons’ scene, “What kind of American are you?”.
For true immutability, burn something like tails on a read-only CD.
From my understanding, MV3 kills vital features of ad-blockers in that
Wikimedia Foundation (the org behind the Wikipedia and similar projects) does get more donations than their operational cost, but that’s expected. The idea is that they’ll invest the extra fund[1] and some day the return alone will be able to sustain Wikipedia forever.
Although, some have criticized that the actual situation is not clearly conveyed in their asking for donation message. It gives people an impression that Wikipedia is going under if you don’t donate.
Others also criticized that the feature development is slow compared to the funding, or that not enough portion is allocated to the feature development. See how many years it takes to get dark mode! I don’t know how it’s decided or what’s their target, so I can’t really comment on this.
They publish their annual financial auditions[2] and you can have a read if you’re interested. There are some interesting things. For example, in 2022-2023, processing donations actually costs twice as much as internet hosting, which one would expect to be the major expense.
Your money at least.