2,379 karma · joined Apr 11, 2021 (5y ago) · 1,211 submissions
comment 4w ago · link · parent
https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...
comment 2mo ago · link · parent
- A: can I change the value
- B: can something else change the value (can I depend on a predictable stable value)
Because the axes are orthogonal, hierarchical based subtyping (inheritance) breaks, but type classes (interfaces), ad hoc polymorphism, would work.
In C, const answers A
In rust, due to pointer aliasing restrictions (either one mut pointer xor any amount of read only pointers), (lack of) mut answers both A and B
comment 2mo ago · link · parent
comment 4mo ago · link · parent
It is. That kind of money would change my life and this guy spends it on prompts that "really force him to think".
I use LLMs. So far, 20 bucks per month has me covered. I hit the limit sometimes. I just take a walk. Forces me to think.
comment 4mo ago · link · parent
- why is single URL crawl with 20+ redirects not flagged as problematic and/or aborted?
There could be legitimate use cases for interacting with a website like this that could serve the user. - why is a query about a coffee place based on its public URL even seeded with the users' context and confidential information?
Because it provides context in how the agent interacts with the site (in this case to detrimental effect) - why dont they just look up the coffee place on a trusted source like google maps and continue from there?
The ai was explicitly instructed to check the given url - why is the basic "social" engineering style attack working?
because ai can not separate prompt from information, they share the same input channel. state of the art ai has some amount of "common sense" as to when it is being prompt injected or engineered, but this isn't exhaustive - why is the cloudflare impersonation not challenged if the website is clearly not from cloudflare and there are zero references from cloudflare to this website in the training corpus?
because the ai didn't think to check if the website is truly behind some sort of cloudflare product or notcomment 5mo ago · link · parent
if c
x=1
else
x=2
If I ever want to change x, or refactor this code some other way, its a more brittle process over x=c?1:2The ternary expression also takes up much less space so there is less of an emphasis on it, this can be a stylistic tool in a programmer's toolbox
comment 5mo ago · link · parent
- wider wheels are marginally less efficient but almost negligible
- rims with larger diameter have larger air resistance. Probably because the rim patterns intersects the air in weird ways but it's not explained. Tire walls are relatively smooth, so tires with higher aspect are way more aero-efficient despite having more marginally lower rolling resistance.
comment 5mo ago · link · parent
comment 5mo ago · link · parent
comment 5mo ago · link · parent
But on a database it's practically a matter of running a copy command and uploading it or exfiltrating it. And there will always be software vulnerabilities.
Computer processes have no inherent rate limiter to them, and they even allow you to run stuff from a distance.
comment 5mo ago · link · parent