I think it’s better to think about what swap is, and the right answer might well be zero. If you try to allocate memory and there isn’t any available, then existing stuff in memory is transferred to the swap file/partition. This is incredibly slow. If there isn’t enough memory or swap available, then at least one process (one hopes the one that made the unfulfillable request for memory) is killed.
If you ever do start swapping memory to disk, your computer will grind to a halt.
Maybe someone will disagree with me, and if someone does I’m curious why, but unless you’re in some sort of very high memory utilization situation, processes being killed is probably easier to deal with than the huge delays caused by swapping.
Edit: Didn’t notice what community this was. Since it’s a webserver, the answer requires some understanding of utilization. You might want to look into swap files rather than swap partitions, since I’m pretty sure they’re easier to resize as conditions change.
Userland malloc comes from libc, which is most likely glibc. Maybe this will tell you what you wanna know: https://sourceware.org/glibc/wiki/MallocInternals
Sounds like gin and tea, served hot with a twist of lemon.
It goes along with how they’ve stopped calling it a user interface and started calling it a user experience. Interface implies the computer is a tool that you use to do things, while experience implies that the things you can do are ready made according to, basically, usage scripts that were mapped out by designers and programmers.
No sane person would talk about a user’s experience with a socket wrench, and that’s how you know socket wrenches are still useful.
Mine is that a cellphone should be a phone first, instead of being a shitty computer first and a celllphone as a distant afterthought.
Here’s a random interesting car fact. The accelerator pedal only controls how much air makes it to the engine; it opens and closes a flap in the air intake called the throttle body. The car has a sensor that records how much air is coming in, the mass airflow sensor, which is just a wire in the airstream. Electrical resistance in metals is proportional to temperature, and the air rushing by cools the wire. The car’s computer is then programmed to inject fuel according to the estimated amount of air coming in, which is double checked with oxygen sensors in the exhaust (which detect uncombusted air, i.e., too little fuel).
This is proof of one thing: that our brains are nothing like digital computers as laid out by Turing and Church.
What I mean about compilers is, compiler optimizations are only valid if a particular bit of code rewriting does exactly the same thing under all conditions as what the human wrote. This is chiefly only possible if the code in question doesn’t include any branches (if, loops, function calls). A section of code with no branches is called a basic block. Rust is special because it harshly constrains the kinds of programs you can write: another consequence of the halting problem is that, in general, you can’t track pointer aliasing outside a basic block, but the Rust program constraints do make this possible. It just foists the intellectual load onto the programmer. This is also why Rust is far and away my favorite language; I respect the boldness of this play, and the benefits far outweigh the drawbacks.
To me, general AI means a computer program having at least the same capabilities as a human. You can go further down this rabbit hole and read about the question that spawned the halting problem, called the entscheidungsproblem (decision problem) to see that AI is actually more impossible than I let on.
Evidence, not really, but that’s kind of meaningless here since we’re talking theory of computation. It’s a direct consequence of the undecidability of the halting problem. Mathematical analysis of loops cannot be done because loops, in general, don’t take on any particular value; if they did, then the halting problem would be decidable. Given that writing a computer program requires an exact specification, which cannot be provided for the general analysis of computer programs, general AI trips and falls at the very first hurdle: being able to write other computer programs. Which should be a simple task, compared to the other things people expect of it.
Yes there’s more complexity here, what about compiler optimization or Rust’s borrow checker? which I don’t care to get into at the moment; suffice it to say, those only operate on certain special conditions. To posit general AI, you need to think bigger than basic block instruction reordering.
This stuff should all be obvious, but here we are.
The thing that amazes me the most about AI Discourse is, we all learned in Theory of Computation that general AI is impossible. My best guess is that people with a CS degree who believe in AI slept through all their classes.
I’ve been selling my Magic cards, and made like 20k off them.
I sometimes get mistaken for the human pope, while you can clearly see that I’m the raccoon pope.
While there are technical solutions to that problem, realistically it’s only a problem if people start thinking they’re celebrities. Personally I prefer a platform that lets people dunk on celebrities.
So uh… who put the house up for sale? Did the bank foreclose on the house?
Fun question, but it leads to other questions…
First, are vampires stopped at the property line, or only at the threshold of some appurtenance (e.g., a house)? After all, you’re asking about real estate, and real estate is primarily concerned with land, not buildings.
This sort of matters because, are we assuming that vampire law is coincident with human law? By this I mean, if vampires were to take control of the government and abolish real estate law, would they then be able to enter any property or building, anywhere, anytime?
If vampires do observe human law, then realistically, they probably wouldn’t be able to enter a leasehold without the tenant’s permission. The fundamental right of tenancy is peaceful enjoyment, and in fact tenancy is a legal property right, to access the property in question and do anything, without undue burden, allowed under the terms of the lease. It would be a violation of peaceful enjoyment for a landlord to allow vampires into the unit.
The right of inspection, by the way, is explicitly carved out in real estate law. The right to let vampires into the unit is, to my knowledge, not enumerated.
The other issue to consider is MBAs. Or at least the MBA way of thinking, that “caring about customers” actually means “leaving money on the table.” The relentless search for “business efficiency,” evaluated in pure accounting terms, can easily lead to destroying the core business due to a lack of understanding of how the core business shows up on a P&L statement.
You have to enjoy a hobby in itself, if you’re too focused on results then you’ll have problems with the gulf between your ability and your aspiration. Is there anything you’ve tried doing that you just enjoy doing? Like do you just enjoy banging on a piano or drawing or writing, regardless of the output?
Probably the biggest issue is getting all the “find a community” stuff together: the communities for new communities, and the crawlers that list communities and let you search them.
Glow-in-the-dark heating elements…
Setting aside stuff like Plan Nine and Manos and The Room and Birdemic, probably Star Trek XI, the one that JJ made. Splicing together test footage of Bela Lugosi and his chiropractor is one thing, but desecrating something beautiful is a sin.