2,370 karma · joined April 11, 2021
https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...
- 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
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.
- 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 not :set {:job "Engineer"}
:where |(= ($ :job) "Developer")
What is going on there in that where syntax? 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
- 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.
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.
If you pass NULL as the destination pointer, it doesn't write any string. If you combine this with %n at the end of the format string, you can get the exact length that the output string would be. Then you allocate that, then you print again, into the actual destination buffer this time.
The worst is growth stocks that are a wrapper around actual dividend stocks. Beyond number going up, what actual concrete utility are you getting? Beyond waiting for the line to go up to eventually sell it to a greater fool, what can you _actually_ do with it? It's not real.
It is only real because enough people believe it is real. And they believe it because they want to believe it, because they are greedy and want easy money.
Once the market tanks and the greed turns into fear, there will be bagholders and the brokers will be laughing. The people who skim fees and percentages will be cozy.
"Now is the time to invest" they will say, because from here the line can only go up! And it will, eventually, because people want to believe, because they are greedy.
The only thing the stock market makes money on is greed. That is the thing that drives stock value. Not the economy.
Why would it be? Non dividend stocks only have value because other people think they have value (i.e. greater fool theory).
Only dividend stocks have some base value connected to how well the company does. (Higher dividend if it does well, lower if it does poorly.) But they still also have a lot of "greater fool" value.
Beyond dividend, stocks have no intrinsic value. Nowadays you don't even get a piece of paper to wipe your ass with anymore, it's all digital.