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
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.
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).
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.
They are already invented: 😱 and 😱😱😱
The link to the study is just a “Paid Search Ad” page. Ouch for the professionalism of Forbes.
Sean k strikes it again.
They tried to build this abomination in London and it got shot down.
Basically it’s two people saying “Is it falling? Wouldn’t it explode? I’m recording it. Fuck the rocket is falling!”
From 5-8 seconds, the person seems to be saying争着争着中火大了, which doesn’t mean anything to me, but it may be something of the local dialect.
Yes for OCaml. Haskell’s inequality is defined as /=
(for ≠). <>
is usually the Monoid mappend
operator (i.e. generalized binary concatenation).
The Chinese Great Firewall (GFW) has already been using machine learning to detect “illegal” traffics. The arms race is moving towards the Cyberpunk world where AIs are battling against an AI firewall.
It’s not that the author picked Rust for scripting. All Rust game engines (e.g. Bevy) use Rust as the scripting language.
Compare this with Godot, which is implemented in C++, but supports GDScript and many other languages for scripting.
Also, only supporting Rust is not considered a limitation, but a feature here. Bevy’s ECS is tied up with Rust’s trait system, therefore it’s impossible to use a different language.
So if Rust as a system programming language should not be used for game scripting, then projects like Bevy are fundamentally flawed. The author is willing to go there, but I don’t know if many people would go that far.
There could be a Godot-like engine written in Rust that supports easier scripting languages, but I think that space is not explored due to the fact that Godot already exists.
u/Dangerous-Pizza7054 from the article,
Seems like the user tracking “special promotion” overrides the premium. They don’t even say whether it’s expected or not. But my take away is that paying for premium may or may not show you ads, but you are definitely tracked and harvested for data. (Maybe even more so, since, well, you are more valuable to them.)