716 karma · joined Dec 3, 2017 (8y ago) · 308 submissions
comment 2y ago · link · parent
But it has to be GB to actually make a difference. If your swap is not full of GB of data, then obviously you don't need it (or it just becomes a reserve when you are in an OOM situation - but this is where you don't want to be with swap avaible either)
comment 2y ago · link · parent
Then you obviously have a workload where having swap make sense (and you could even add swap on the fly in such a case). But that is not typical at all.
comment 2y ago · link · parent
Yes, but the author is most likely optimizing for a metric that I don't care so much in my per personal computer while dismissing metrics that I care about.
> It was always the case. but then a TB of disk isn't that expensive anymore.
But swapping out GB of RAM is expensive in terms of latency.
comment 2y ago · link · parent
This is true, but it still takes time. What kind of workload do you have where you swap out 32GB of RAM? If you are in this situation you almost certainly need to buy these additional 32GB of RAM.
comment 2y ago · link · parent
And I have time to think about better problems than "You can achieve better swap behaviour under memory pressure and prevent thrashing by utilising memory.low and friends in cgroup v2."
The core problem with swap is that nowadays you need gigabytes of swap to actually make a difference (when you have 32GB of RAM, 1GB of swap is 1/32 of a difference). And you certainly don't want to system to swap in and out gigabytes of memory.
comment 2y ago · link · parent
Well, in principle, the frontend just has to distinguish between HTTP status 500 (something broken in the backend, not the fault of the user) and some HTTP status code 4xx (the user did something wrong).
comment 2y ago · link · parent
Then these transactions will be delayed anyway. You could still process 99.99% of the transactions on Sunday.
Visa, Mastercard, Paypal as operate 24/7. ATMs operate 24/7. Neo banks allow intra-bank transfers 24/7. And they deal with the fraud and AML stuff.
comment 3y ago · link · parent
I'd also rather pay the Macbook by card due to practicality, but I don't understand your second sentence. Why would you walk around with a Macbook worth 3k but not with 3k in cash? Nobody knows that you have 3k in cash with you, whereas everybody can see you walking out of the Apple Store with the Macbook.
comment 3y ago · link · parent
This was the beginning of the thread: If you have a non-constructive proof that P=NP, it still means you cannot solve all NP problems quickly until someone actually finds a program to do so.
comment 3y ago · link · parent
You get your money from the prediction market if you are better at predicting.
comment 3y ago · link · parent
You need the same feature for visiting EU government websites:
https://www.consilium.europa.eu/ (best example)
comment 3y ago · link · parent
This is fine for many use cases, but totally different from the paypal experience.
comment 3y ago · link · parent
I just check some web pages from diffrent organs of the EU:
https://commission.europa.eu/select-language?destination=/no...
https://www.consilium.europa.eu/de/european-council/
https://european-union.europa.eu/institutions-law-budget/ins...
They all have cookie banners, some of them are super prominent and annoying. So maybe they as well are doing malicious things, maybe they don't understand they own regulation, or it is just impossible to have a non-trivial web page without a cookie banner in 2023. In either case, the regulation is totally dettached from reality and has become just some ritual.
comment 3y ago · link · parent
Of course it can only answer the next word, because there is only room in its outputs for the next word. But it has to compute much more. It a huge hidden internal state where it has to first encode what the given sentence is about, then predict some general concept in which the continuation goes, decide the locally correct syntactical structure and only from this you can predict the next word.
comment 3y ago · link · parent
This is exactly why I don't have swap for over a decade on my machines (since my machines have 16+ GB RAM). The mere 1/32 improvement is not worth the headaches of swap.
comment 3y ago · link · parent