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

help-circle

  • For one, the United States lacks a good press corps of independent journalists with broad reach.

    Everything is either politicized or commercialized. Shock value sells. Balanced rational discourse does not. Polarization makes too much money for too many people.

    On top of that, a systematic destruction of education and a stranglehold of religion practically makes ignorance inevitable.

    Maybe we could repair it, but it would take Republicans being blocked from making any decisions for several decades at this point.




  • folekaule@lemmy.worldtoProgrammer Humor@lemmy.mlOld timers know
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    20 days ago

    It depends. I’ve done it a few different ways:

    • YOLO: especially with thugs like PHP you only affect one page at a time and with low traffic the odds of a problem is small
    • Maintenance page: temporarily show a page. Some servers like IIS have this built in. Otherwise it’s a simple update to httpd conf
    • In a cluster environment, just take the node you’re updating out of rotation, and only update one node at a time.
    • Copy and switch like you suggested. Can be combined with any of the above and is a smart move if upload is slow or can be interrupted, or it’s cumbersome to restore the old files

    Edit: spelling