33 Matching Annotations
  1. Jul 2023
    1. And so when we have this simplistic view of power, we're missing the story. What you really need is a system that attracts the right kind of people 01:18:20 so that the diplomats who are clean and nice and rule-following end up in power. Then you need a system that gives them all the right incentives to follow the rules once they get there. And then if you do have people who break the rules, there needs to be consequences. So the study from UN diplomats and their parking behavior actually, I think, illuminates a huge amount of very interesting dynamics around power,
      • how to create a system that mitigates abuse, based on the UN diplomat parking example
        • create a system that attracts the right kind of people so that the people who are clean and nice and rule-following end up in power.
        • Give them all the right incentives to follow the rules once they get there.
        • If you do have people who break the rules, there needs to be consequences.
  2. Jun 2023
    1. you nailed it! A consumer should only be able to set an object's state at initialization (via the constructor). Once the object has come to life, it should be internally responsible for its own state lifecycle. Allowing consumers to affect the state adds unnecessary complexity and risk.
    2. Making a property writable adds an order of magnitude in complexity. In the real world it's definitely not realistic for every class to be immutable, but if most of your classes are, it's remarkably easier to write bug-free code. I had that revelation once and I hope to help others have it.
  3. Sep 2022
  4. Mar 2022
  5. Feb 2022
  6. Jan 2022
  7. May 2021
  8. Apr 2021
    1. .mainContent {  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none;  user-select: none; }

  9. Mar 2021
  10. Feb 2021
  11. Jan 2021
  12. Dec 2020
  13. Oct 2020
  14. Sep 2020
    1. DX: start sapper project; configure eslint; eslint say that svelt should be dep; update package.json; build fails with crypt error; try to figure what the hell; google it; come here (if you have luck); revert package.json; add ignore error to eslint; Maybe we should offer better solution for this.
    2. When the message say function was called outside component initialization first will look at my code and last at my configuration.
    1. Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
  15. Jul 2020
  16. Jun 2020
  17. May 2020
    1. This is it. I'm done with Page Translator, but you don't have to be. Fork the repo. Distribute the code yourself. This is now a cat-and-mouse game with Mozilla. Users will have to jump from one extension to another until language translation is a standard feature or the extension policy changes.
    2. If any Firefox engineers are reading this, please don't try to subvert the above workaround, it requires multiple steps and administrator rights to set up, and we must all agree that it is of little sense for Firefox to try defending against unwanted programs or malware that has root access on the device.
    3. Mozilla will never publicly ask users to circumvent their own blocklist. But it's their actions that are forcing people to do so.
    4. So to me, it seems like they want to keep their users safer by... making them use Google Chrome or... exposing themselves to even greater danger by disabling the whole blocklist.