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

help-circle

  • folekaule@lemmy.worldtoProgrammer Humor@lemmy.mlOld timers know
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    5 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




  • Since unity is c# I think maybe you phrased that opposite of what you meant?

    Anyway, I work in an enterprise environment. We use both Java and .Net, and it largely depends on which group you’re in. Neither Java nor .Net is going away anytime soon.

    You really don’t get to stick with just one thing in a developer career. Learn a little of everything, especially multiple paradigms, and specialize in a few related to the business you work for.

    A key skill is adaptability, learning as you go. If you make yourself too specialized, you’ll set yourself up for being laid off when your skills become obsolete. I have interviewed a few older IT people in that situation, only a few years from retirement.











  • It isn’t terribly different in practice from state and local regulations in the US, except the rules in Norway are the same nationwide.

    For example, where I live in Ohio, I can buy beer at the grocery store with some restrictions on Sundays. I can also buy harder liquor in the state store, which is located in a physically separated section of the grocery store and where you have to be 21 (legal drinking age) to shop. Alcohol is subject to special taxes here, as well.

    In Norway I would buy beer at the grocery store then go across the street to Vinmonopolet and buy some wine. I could do that at age 18, though some harder liquor is/was restricted to 21.

    So it’s not all that different, except in the US the limits are a little different, it’s more likely to be regulated at a local level, and typically run by some private for-profit entity.