There are many reasons a specialized allocator can be better, but just saying "write your own" doesn't really add much value to the discussion.
15,229 karma · joined November 20, 2013
There are many reasons a specialized allocator can be better, but just saying "write your own" doesn't really add much value to the discussion.
Request amplification via retries is a different problem that causes large amounts of traffic (but it is generally more steady than spiky)
So if your software needs to make HTTP requests and read the filesystem then the malware will be able to make HTTP requests and read the filesystem, which is enough for a ton of malware. Sure, maybe you can limit the directories it can access a bit and possibly some sort of network filtering, but it isn't a silver bullet.
Capability security in-language would make a huge difference, because the more granular you "sandbox" the less likely it is that the compromised component has the access it wants. For example if the HTTP client library is compromised maybe it can't access the filesystem so can't steal your cookies. Or maybe like in this case no permissions were needed at all and despite the process having enough capabilities for malware this malware can at worst return bad values and try to chain this to an exploit which is far more difficult than just running it itself.
The main downside is if you need to affect the dialog from "outside". For example data that refreshes and needs to update the form (although in most cases a changing form is an anti-pattern anyways). But also any form of dynamically updating data (a clock) or lazy loading (maybe for a dropdown that depends on others) you are going to want a full UI library rather than a one-shot declarative form.
When I used this I had a separate call to create the dialog and await the result. This way there is a handle you can use to update the data if you need to. But even then if you are using React it probably doesn't integrate as cleanly as a "regular" component would.
But still, I think in most cases this is what you need and the easiest way to get it. I wouldn't take a more complicated approach until you need to.
On one end they are trying to fight the requirements for alternative app stores and making them as hard as possible to use.
On the other end they are trying to put hooks so that they can block installations of apps from other app stores.
Then they hope that regulation will take longer to dislodge the various methods they are using to retain control.
That isn't malicious compliance, it is just non-compliance. If the equally difficult rule wasn't there then it would be malicious compliance.
What I would like to see is something like this:
- The detectors have a per-determined list of suspect faces and only record information when those faces are spotted.
- These detectors keep only a fixed length of recording that is permanently deleted unless it is actively linked to a crime and explicitly held as part of that investigation.
But it says nothing concrete. Just some nonsense about "focus" which doesn't mean anything.
You can use SSS to encrypt the signing key, but then you need to fully materialize the signing key to actually sign the release. Which makes the exact situation that occurred here possible.
The only way to do multi-signer PGP is outside of the PGP protocol, you just need to sign the artifact multiple times then have the verifier assert that a sufficient number of signatures are present. But again, this isn't supported by the regular PGP tools.
In previous testing the Q8 was better but still had the same problem frequently enough to be very difficult to use. I don't know if it is a runner bug or model bug but at least with llama.cpp this seems to always happen and I haven't seen an issue like this with any other model.
I can only think of a few other optimizations that affect memory usage. Register spilling (arguably not really an optimization but a necessity), Rust's niche filling for enum discriminants and C++'s std::vec<bool> (a language-level optimization, arguably a different thing entirely).
I often think about how few memory optimizations we have. The reason is most likely that they tend to be non-local so are much harder to apply than CPU optimizations that generally have no effect outside of the function they are in.
You are right about the wok, it isn't quite the same on the induction stove (at least the flat ones, there are wok-shaped ones but these are generally only found in professional units). If you cook most of your meals in it then you are probably right to go gas (or get a gas burner).
So it is definitely a tradeoff, but I am happy I picked a stove with touch controls. Although I did pay attention that they were good touch controls (touch anywhere on the arc to set that temperature directly for example). Although there is a small annoying delay after turning on before you can set the temperature. Almost perfect.
Of course safeAtomicCopy only ensures that the output is atomic, it doesn't lock the database in anyway. So yes, you will get corruption. It also attempts to support WAL but just copies the extra files afterwards without any locking so even more corruption.
So I would definitely heed the warnings that this is not for production use.
Basically this is an incredibly rare case but a feature that they want to support.
It seems to me that you would need a step to select useful landmarks but the code doesn't seem to do this and I don't see it discussed.