Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arwalk
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
arwalk
1y ago
Sure. Did i dismiss the article? Or was I only saying that the example was bad?
2.
▲
by
arwalk
1y ago
`FileError.AccessDenied` is a unique value in a unique error set. `error.AccessDenid` has not been defined anywhere and hence is just given an integer value at some point by the compiler. As I stated before, this error wouldn't even ex
3.
▲
by
arwalk
1y ago
I'm not saying that zig has the same level of safety than rust, i'm just saying that grabbing a knife by the blade is not an argument for using a spoon. The error presented in this example would not be written by any zig developer
4.
▲
by
arwalk
1y ago
The real problem is not about the if-else, its that he's comparing to the global error set, and not to the FileError error set he created specifically to define AccessDenied.
5.
▲
by
arwalk
1y ago
The example is a bit dubious. Sure, it compiles just fine, because the author is not using errors properly in zig. Here, he uses the global error set with `error. AccessDenid`, and as stated, it compiles just fine because when you reach the
6.
▲
by
arwalk
2y ago
> Polling numbers (actual gauge of public sentiment) 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 b
7.
▲
by
arwalk
2y ago
> Semver compatible 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 trun
8.
▲
by
arwalk
2y ago
I don't know if that's appropriate, but that's an opportunity for me to boost this little tool I made : https://github.com/Arwalk/lparchive2epub This tool builds an epub file from a let's play from
9.
▲
by
arwalk
3y ago
I've been looking for a long time for a VPN solution that i can use without having to rely on third-party services for my home lab, and this is absolutely excellent. Sure it has no GUI but if you're already self-hosting stuff this
10.
▲
by
arwalk
3y ago
Missing post in previous comment, sorry. https://justine.lol/ape.html
11.
▲
by
arwalk
3y ago
Cosmopolitan https://github.com/jart/cosmopolitan and https://justine.lol/cosmopolitan/index.html Some genius realized that you can actually embed valid win32 programs inside valid posix shell scr