• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle


  • fiasco@possumpat.iotoSelfhosted@lemmy.worldHow much swap?
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    4
    ·
    edit-2
    1 year ago

    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.




  • 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.








  • 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.



  • This phenomenon is as old as history.

    Socrates was killed because he made fun of powerful people. Anaxagoras was exiled from Athens for arguing that the sun and moon are just fire and rock, rather than gods. Galileo was persecuted because he got into a pissing match with the Jesuits over the nature of comets, then when the Pope’s support for Galileo’s (geocentric) views wavered (…they wavered for political reasons), Galileo wrote a treatise ridiculing the Pope. Hearst and Pulitzer propagandized the US into the Spanish-American War. Mondale lost the election because the media decided he looked ridiculous.

    Yeah the internet is terrible for discourse, but the more basic fact is that almost all humans suck at discourse. Even, or maybe especially, Galileo.





  • I guess the important thing to understand about spurious output (what gets called “hallucinations”) is that it’s neither a bug nor a feature, it’s just the nature of the program. Deep learning language models are just probabilities of co-occurrence of words; there’s no meaning in that. Deep learning can’t be said to generate “true” or “false” information, or rather, it can’t be meaningfully said to generate information at all.

    So then people say that deep learning is helping out in this or that industry. I can tell you that it’s pretty useless in my industry, though people are trying. Knowing a lot about the algorithms behind deep learning, and also knowing how fucking gullible people are, I assume that—if someone tells me deep learning has ended up being useful in some field, they’re either buying the hype or witnessing an odd series of coincidences.