Canadian software engineer living in Europe.

  • 4 Posts
  • 252 Comments
Joined 2 years ago
cake
Cake day: June 7th, 2023

help-circle
  • Daniel Quinn@lemmy.catoComic Strips@lemmy.worldKrampus
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    5
    ·
    1 day ago

    So long as politicians are all painted with the same negative brush, there’s no room for anyone with a genuine interest in improving things. There are some truly great, caring people in politics working hard to do the right thing. It’s not their fault the public keeps voting for assholes.


  • You can’t really make them go idle, save by restarting them with a do-nothing command like tail -f /dev/null. What you probably want to do is scale a service down to 0. This leaves the declaration that you want to have an image deployed as a container, “but for right now, don’t stand any containers up”.

    If you’re running a Kubernetes cluster, then this is pretty straightforward: just edit the deployment config for the service in question to set scale: 0. If you’re using Docker Compose, I believe the value to set is called replicas and the default is 1.

    As for a limit to the number of running containers, I don’t think it exists unless you’re running an orchestrator like AWS EKS that sets an artificial limit of… 15 per node? I think? Generally you’re limited only by the resources availabale, which means it’s a good idea to make sure that you’re setting limits on the amount of RAM/CPU a container can use.








  • TL;DR: if you’re an adult and live within transit distance of a hospital in Vancouver, Calgary, Toronto, or Montreal, the costs are probably manageable. For anyone else though, it’s not.

    Honestly, this sounds low.

    My niece was diagnosed with stage IV neuroblastoma at 8 years old. She lives in Peachland, roughly an hour from Kelowna, and about 5 hours from Vancouver. Her parents both work, and one had to either give up work altogether so my niece could be accompanied to Vancouver for weeks and months, while the other worked the few days they could in the Okanagan then drive down to the cost to be with their daughter while she was on chemo.

    The costs were brutal. Transport was a big one, and since they both ran their own business, both companies cratered. They stayed at Ronald McDonald House for much of their time in Vancouver (thankfully) but they couldn’t stay the whole time and had to pay Vancouver rents for the remainder of her treatment.

    They have two kids, so the other needed regular care. This was handled by her retired grandmother, who moved to Vancouver and took a job so she could help out.

    My niece survived and is now turning 12. She’s just been diagnosed again though, so they’re all back on the treadmill. Thankfully this time it was found a lot earlier, so the prognosis is a lot better. She may only need to be in Vancouver for a short time this time.








  • Daniel Quinn@lemmy.catoLinux@lemmy.mlDo you use Gnome or KDE Plasma?
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    3
    ·
    14 days ago

    I used KDE for about 10 years, but switched to GNOME when 3 came out and haven’t looked back. It’s a little unusual if you’re coming from Windows, but I’ve found that once I let go of old paradigms like a start bar and icons and embraced multiple workspaces, that GNOME is pretty damned amazing.


  • Daniel Quinn@lemmy.catoCanada@lemmy.caCanada should become 51st state
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    edit-2
    18 days ago

    So the argument is that there’s no winning, so no one will play. I can see the appeal in the idea, but doubt its viability. Should the US ever decide to take Canada in whole or in part, it would be through salami tactics (Wikipedia link you want something more serious) rather than a full scale invasion. The Americans could annex Toronto tomorrow and the rest of Canada would be scared and angry for sure, but would we demand that Ottawa launch our nuclear arsenal promising our annihilation? What if the Americans took Ottawa, and Montreal a few weeks later? How 'bout then? Would Alberta even care?

    The MAD doctrine was developed as a deterrent to nuclear attacks, not conventional ones. Sure, if the US were to attempt a first strike nuclear volley, having nukes on-hand might deter them from targetting us, but assuming that having nukes would protect us from conventional invasion doesn’t make any sense to me.

    Consider your reference to Ukraine. If Ukraine had nuclear weapons, what makes you think that Russia wouldn’t have annexed Donetsk anyway and claimed “liberation”? They had all manner of cover: local Russian-speaking population, strong separatist factions. They could invade claiming that they’re simply “protecting Russian interests/citizens” etc. Would the world expect Ukraine to launch their nukes then? What would be the inevitable outcome of such a choice to both parties? How many Ukranians would be left a few days later?

    So now you have a poorly trained local military (all your money has gone to developing and maintaining a nuclear arsenal you don’t expect to use after all) and the Russians have taken an entire region and are angling for Kharkiv next. Kiev calls for help from the world community but as their rhetoric is also coloured with threats of nuclear retribution, the world isn’t keen on helping either side. Maybe the Russians take Kharkiv because they’re feeling audacious and stop there, or maybe they try and Kiev launches a nuke on Moscow and everyone dies. There’s no scenario here where nuclear weapons make things better.




  • Daniel Quinn@lemmy.catoCanada@lemmy.caCanada should become 51st state
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    18 days ago

    How does a nuclear weapons programme help Canada’s sovereignty? In what situation would it be advantageous to us to actually launch a nuclear attack against our literal neighbour? Even if it wasn’t intercepted, and we somehow managed to land it on a high-value target like DC, the US would simply liquify every Canadian city from East to West in a matter of hours. And even if they somehow showed restraint in the face of a nuclear attack and didn’t counter with their own massive arsenal, the fallout alone would kill or injure millions of Canadians and destroy our economy for a generation… assuming our initial volley didn’t trigger automated MAD policies around the world and end the world in a nuclear winter.

    It’s an objectively terrible idea.

    Now, if you really are concerned about invasion from our crazy neighbours (a reasonable position to take), then a more effective approach would be a mandatory service model, where everyone is trained in small weapons fire and counter insurgency. If the Americans choose to invade, they should know going in that they’ll pay dearly for every hectare.