34 karma · joined March 8, 2024
As I stated before, this error wouldn't even exist in the first place in no codebase ever: look how the method that fails returns a `FileError` and not an `anyerror`
It could be rightly argued that it still shouldn't compile though.
The error presented in this example would not be written by any zig developer. Heck, before this example i didn't even knew that you could compare directly to the global error set, and i maintain a small library.
zig and rust do not have the same scope. I honestly do not think they should be compared. Zig is better compared to C, and rust is better compared to C++.
If the author had written `FileError.AccessDenid`, this would not have compiled, as it would be comparing with the `FileError` error set.
The global error set is pretty much never used, except when you want to allow a user to provide his own errors, so you allow the method to return `anyerror`.
Polls have never been faithful of actual public sentiment on any political subject since the end of times. People will not give their true opinions in polls on any subject that could be perceived as complex. Also it is actually very hard to have a good representation of the entire population of your country.
Just take the crosstabs of the survey you linked: about the 2024 election vote, in this survey, 70% of people polled are negative toward trump. The 2024 election results gave almost 50% of the popular vote to trump.
My point is only that this poll do not bring any valuable information here, just like any poll. The public sentiment toward Luigi Mangione seems favorable in appearance, but twitter is not representative of the US population either. So, who knows?
Right, just like if I were to write in english while only following the grammar rules, but without making any sense, it would be "english compatible" i guess.
It's called _semantic_ versioning, and trunkver loses the whole point of it.
The whole concept would have been better if it didn't even try to mention semver in the first place.
This tool builds an epub file from a let's play from lparchive.
Installation is through pip, it requires python >= 3.12.
Boatmurdered has been built with it for the occasion on https://github.com/Arwalk/lparchive2epub/blob/master/prebuil... (click on raw to get it) , but i wouldn't advise on downloading stuff from the internet without prior verifications, of course.
I'd love to have some feedback on it and its output, considering i've been the only one using it so far, afaik.
Some genius realized that you can actually embed valid win32 programs inside valid posix shell scripts, and found a way to make a C cross-platform solution out of it, meaning that you can write C programs that compile to a single executable that will run on (quoting the site) Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS
It all started from this post.