AdrienLemaire
Joined 7 years ago
Joined 7 years ago
From wiki: > Memory safety is the state of being protected from various software bugs and security vulnerabilities when dealing with memory access, such as buffer overflows and dangling pointers
Dart has isolates, so I thought it was memory-safe. But searching for buffer overflow or dangling pointer on dart's github repo returns results, so I'm still left wondering.
Wikipedia puts it well:
> It's a cognitive bias in which people assess their cognitive ability as greater than it is. It is related to the cognitive bias of illusory superiority and comes from the inability of people to recognize their lack of ability. Without the self-awareness of metacognition, people cannot objectively evaluate their competence or incompetence.
> User NSs permit novel applications; for example: > Running Linux containers without root privileges > Docker, LXC
This seems to answer yes to your question.
edit: oh, it's also mentioned in the document slide 53 along with Flatpak
This is great news, because I can't switch over to OpenBSD (docker, bluetooth, etc) or more folkloric distributions like VoidOS and Qubes. Going to make a bunch of Anki cards today to remember these namespaces and how to use them!
It neatly explains the differences between processes, threads, and context, and I learned about the fact that Linux has an extremely low cost of context switching and mode switching compared to other systems.
Yet, I'm still not sure what to do with this ctx_sw value from glances. Anyone using it? How can I define whether the number is too large? What actions should I then take? debugging the processes causing a large number of switches, rebooting, other? I would love to hear from experienced linux users!
> escape with the servants and the gold
You run to the servants' room and grab the gold and the servant's bodies. The soldiers fire arrows at you but miss. They fire their crossbows at the corpses but they also miss. You throw your gold into the air and jump up and down as loud as you can
---
My servants became corpses before the large army even arrived xD
https://gist.github.com/AdrienLemaire/33663e9100c009b8ec3409...