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

help-circle


  • boatswain@infosec.pubtoLinux@lemmy.mlWhat is PID 0?
    link
    fedilink
    arrow-up
    21
    ·
    2 months ago

    The tl;dr from the article (which is actually worth a read):

    The very short version: Unix PIDs do start at 0! PID 0 just isn’t shown to userspace through traditional APIs. PID 0 starts the kernel, then retires to a quiet life of helping a bit with process scheduling and power management. Also the entire web is mostly wrong about PID 0, because of one sentence on Wikipedia from 16 years ago.



  • If XSS is your concern, check out Firefox’s Container Tabs. They allow you to set up tab groups that restrict access to cookies to only tabs in that group, so you can just, eg, set up a group for your bank and restrict it to just your bank’s site. Your session cookie etc are then not available to any other tab groups.

    I pair that with the Temporary Containers extension, so any random tab I open is in its own container. Everything is always separate.


  • boatswain@infosec.pubtomemes@lemmy.worldA lot.
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Having that kind of tracking for other ships is actually something I remember from twenty years ago or so: it was called AIS, and you could use it to very easily tell if you were going to get close to another ship with it; pretty much all the big ships had it at the time. It was particularly nice because it would tell you the name of The ship, which made it a lot more likely that you could raise them in the radio.

    One interesting note is that steering will actually change when you lost engine power even if the rudder remains in place (which I believe it does) because the propellers are no longer driving the water across the rudder, which lessens its effect…

    The effects of wind and current are another factor to consider, especially closer to shore. I’m sure it’s possible to model the course of a vessel, but it’s a big and constantly changing problem.


  • boatswain@infosec.pubtomemes@lemmy.worldA lot.
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    To alert to, sure. It makes car-like automatic braking infeasible though, unless we’re looking exclusively at stationary objects like bridges, which are only present for a miniscule fraction of a container ship’s travels; they won’t have time to react when a sailboat suddenly tacks across your bow, for example. And it certainly won’t help when the ship is without power and drifting, like the one that hit the Key bridge.


  • boatswain@infosec.pubtomemes@lemmy.worldA lot.
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I wouldn’t think anti-collision systems would be feasible on a container ship: they’re too big with too much inertia. It can take miles to slow to a stop or execute a turn. It’s not like a car, where you can just hit the brakes and have immediate results. All that extra braking and re-accelarating would burn a bunch more fuel, too.