Live data from Hacker News

I hate compilers

xeiaso.net

111–120 of 182 posts

Re: I hate compilers

#111
post #77

Could have sworn the author was a nix(os) user already. I know it’s a meme but what all the problems they’re describing literally is solved by nix. The nix sandbox even catches calls for time for example to replace it with 0 for determinism.

This was my first thought, use a declarative system like Nix.

Re: I hate compilers

#112
post #81
post #77

Could have sworn the author was a nix(os) user already. I know it’s a meme but what all the problems they’re describing literally is solved by nix. The nix sandbox even catches calls for time for example to replace it with 0 for determinism.

They stopped using Nix due to disagreements with how the project was run. https://xeiaso.net/blog/2024/much-ado-about-nothing/

What about Guix? May be more their tempo.

Re: I hate compilers

#114
post #110

Earlier quoted context omitted.

it does not answer if it's a conscious design choice or just a technical limitation of the PoW, or just a "patch welcome" issue.

It's a conscious design choice. Doing that gets you considered a botnet/malware. I don't want Anubis to be considered a botnet/malware.

OK, I don't think it would be the case if it was one of many algorithms offered by Anubis, especially if it's enabled by the webmaster.

That being said I don't know any crypto that would technically fit as a lightweight PoW.

Re: I hate compilers

#115
> There are a shocking number of ways to accidentally create nondeterministic output when doing C/C++ development. One of the easiest is to use the builtin __DATE__ and __TIME__ macros to stamp a build with the time the compiler was executed at:

Am I missing something here? Yes, if you use a feature that intentionally inserts the build time and date into the code, the every build is going to be different. That's the whole point of these macros. It's a feature. If you don't want that behavior, don't use that feature.

Re: I hate compilers

#116
post #115

> There are a shocking number of ways to accidentally create nondeterministic output when doing C/C++ development. One of the easiest is to use the builtin __DATE__ and __TIME__ macros to stamp a build with the time the compiler was executed at: Am I missing something here? Yes, if you use a feature that intentionally inserts the build time and date into the code, the every build is going to be different. That's the…

Surprisingly, cherry-picked examples to prove a point are cherry-picked examples to prove a point.

Re: I hate compilers

#117
post #110

Earlier quoted context omitted.

it does not answer if it's a conscious design choice or just a technical limitation of the PoW, or just a "patch welcome" issue.

It's a conscious design choice. Doing that gets you considered a botnet/malware. I don't want Anubis to be considered a botnet/malware.

I already consider Anubis to be malware and I'm just some dude who likes to play with computers.

If it mined crypto instead of just burn clock cycles, then that could not in any way serve to lower its ranking in my book. It's already at minimum.

Re: I hate compilers

#118
post #76

So to avoid those energy-hungry LLM companies from scraping your website, you force each browser to compute a lot of hashes in a necessarily energy-hungry loop, creating, at the same time, all the kind of accessibility problems?

I don’t get how people believe there’s a PoW function that both: 1. Allows access in reasonable time/battery use to me on my phone 2. Poses any meaningful challenge to the most compute-resourced organizations on the planet I wonder how many cumulative hours of human life have been wasted waiting on Anubis.

> I wonder how many cumulative hours of human life have been wasted waiting on Anubis.

"How dare that mugging victim fight back".

The choice is not between Anubis and no Anubis, the choice is between Anubis and my website going offline because I can't afford the $400/month that AI scrapers would cost me (yes, I checked, and yes, that's the real figure) if Anubis wasn't in front.

Re: I hate compilers

#119
post #117
post #110

Earlier quoted context omitted.

It's a conscious design choice. Doing that gets you considered a botnet/malware. I don't want Anubis to be considered a botnet/malware.

I already consider Anubis to be malware and I'm just some dude who likes to play with computers. If it mined crypto instead of just burn clock cycles, then that could not in any way serve to lower its ranking in my book. It's already at minimum.

That's great. I love that for you. Please leave me alone.
Post reply on HN