220 karma · joined Apr 13, 2025 (1y ago) · 140 submissions
comment 1mo ago · link · parent
Obviously this is untrue. Under GNU we have malloc_usable_size(3). What's true is that it never became standardized, but standards for just about anything in C are very bare, so it's not too surprising.
comment 2mo ago · link · parent
You uh, missed a decimal point there. A year at 40 hours/week would be 2000 hours, not 200. The quote "unless the sculpture was created slowly at odd moments over several months" seems accurate in light of that, but rather odd: why wouldn't it be created slowly at odd moments over several months, or even years? Was prehistoric man lacking in free time? The article eventually continues: "why would a community living on the edge of subsistence, whose primary concerns were finding food, keeping that fire going, protecting children from predators, allow someone to spend so much time away from those tasks?" Keeping a fire going or protecting from predators are tasks with rather a lot of down time. I can easily imagine a person doing either of those while also whittling on a piece of bone. It's also just ridiculous to assume that subsistence living meant being constantly on the verge of starvation. Sometimes times were bad, and many people died. Then later, times were good, food could be obtained easily, and plenty of time would be left over for leisure tasks.
comment 2mo ago · link · parent
comment 3mo ago · link · parent
comment 3mo ago · link · parent
I don't think it is. I think you could detect sandbox escapes reliably more often than you could actually prevent sandbox escapes (which is, itself, very high). If you had an external watchdog that looked for unusual processes running on your machine, that looked for unusual connections being made, you could detect even very sophisticated attacks.
> If you think about this in an evolutionary context, What you're doing is putting even stronger pressures on the AI to evolve in a manner you don't want it to
No, because we are using failed sandbox escapes as negative training examples. So >99.99% of the time when the AI attempts to escape the sandbox, that will produce another training example that will cause it to try and escape the sandbox less. The remaining <0.01% of the time it will be pushed to try and escape the sandbox. The 99.99% will have a much stronger influence than the 0.01%.
comment 3mo ago · link · parent
comment 6mo ago · link · parent
comment 6mo ago · link · parent
comment 6mo ago · link · parent
comment 6mo ago · link · parent
who is eluded? people absolutely love this answer and give it constantly, not realizing that it's begging the question. in order for their to be an illusion, there needs to be someone to perceive the illusion.
comment 6mo ago · link · parent
By assumption, you are using this url parameter. So you have a bug where you've forgotten to allow this parameter, which will quickly be discovered in your logs and fixed. Then the vulnerability, which you are thus far unaware of, will quickly be exposed. Those url parameters you are not using cannot hurt you.
comment 6mo ago · link · parent
This is how the vast majority of websites work. The practical reason is obvious: when we model the behaviour our code depends on, we want to create the simplest possible model that allows our code to work as expected. Placing requirements on it that our code doesn't actually depend on is useless, unneeded, complexity.
> As a web developer, you’re the like the guy standing with a clipboard outside a fancy club checking if people requesting entry are allowed or not. Basically, level 1 security.
there is no security benefit to filtering out unneeded url parameters.
comment 6mo ago · link · parent
comment 6mo ago · link · parent
That's not obvious at all. If I receive json data that contains a property I'm not aware of, i don't reject the entire document for that reason. In the case of query strings, extra query parameters might be used by other parts of the stack besides yours, so rejecting the entire document because someone somewhere else is trying to pass information to itself is the wrong approach.
comment 6mo ago · link · parent