26 Matching Annotations
  1. Oct 2022
    1. streamed requests should have the best performance on a per-message basis

      This is actually wrong. The maintainer of gRPC (Eric Anderson) has said:

      We don't generally recommend using streaming RPCs for higher gRPC performance. It is true that sending a message on a stream is faster than a new unary RPC, but the improvement is fixed and has higher complexity. Instead, we recommend using streaming RPCs when it would provide higher application (your code) performance or lower application complexity.

  2. Nov 2019
    1. hardware complexity, manages computational resources, and provides isolation and protection. Most importantly, it directly has privilege access to the underlying hardware.

      Hardware abstraction, isolation and management

  3. Aug 2019
    1. 1. Nurturing their careers—strategizing and focused work 2. Nurturing their relationships—giving their families and friends their best 3. Nurturing themselves—exercise and spiritual and creative practices

      Careers, relationship, health

    1. Baumeister ran an experiment testing willpower. To one group, he gave a glass of glucose-containing lemonade. The other group used an artificial sweetener. The group that got the real drink performed better on tests of self-control and willpower than the control.

      I learnt this intuitively. I feel energetic after eating loads; hence I'm unfit! I could've chosen to be tired, unproductive, but I chose intellectual performance.

    1. Getting a broad, scientific understanding of a field can’t answer all questions, but it can avoid the worst kinds of errors.

      So instead of asking someone for advice at first, you need to research the field without bias.

    2. Much of the potential source of books and blogs to become a distraction seems to me to come from this entertainment aspect. Just like anything else you enjoy for its own sake, it can become a distraction.

      I'm guilty of being 'entertained' by self-improvement. And maybe self-improve a little less than I should be.

    3. Since a lot of this testing and tweaking is low-profile, many of the people who seem to be able to consistently take huge bets and win, are actually engaged in a sophisticated process of risk minimization by gathering more information.

      Then the difference between achievers and others is the skill in getting information for a good price. (good value)

    1. Or take what happens on Smashing Magazine’s JAM‐stack site: each time a user comments on an article, a simple func‐tion commits the comment to the site’s repository and triggers a newbuild (as long the comment passes moderation).

      Is this not extremely resource intensive? Surely accessing a database for all comments could sometimes be less resource intensive than regenerating the entire website?

  4. Jul 2019
    1. “The first principle is that you must not fool yourself—and you are the easiest person to fool.”

      How I fool myself: When studying something new, I may revert to passive consumption rather than active (questioning, making mistakes, trying unwritten things). e.g. Watching lectures, tutorials, youtube videos with no thought to practice and prototype afterwards.

    1. Note that webpack will not alter any code other than import and export statements. If you are using other ES2015 features, make sure to use a transpiler such as Babel or Bublé via webpack's loader system.

      The difference between webpack and transpilers!

    1. Start simple Work on things that you like If you have no clue what to do, fiddle around Don't be afraid to experiment Find a friend to work with, share ideas! It’s OK to copy stuff (to give you an idea) Keep your ideas in a sketch book Build, take apart, rebuild Lots of things can go wrong, stick with it

      Learning principles

    1. Ultralearning, with its focus on aggressiveness, therefore is about seriously answering the question, “what activities should I do to learn this well?” Those activities are often more effortful than the default, but they are also more effective. This is what I’m trying to advocate in encouraging ultralearning—picking activities that actually let you learn and not filler ones that feel good but have no value.

      We naturally tend to take shortcuts. Doing difficult things is difficult, but thats where we learn. Its like mindfulness, when you realise you're going down the bad path (distraction -> easy route), bring yourself back to the better state (focusing on your breath -> attempting that challenging task head on)

    1. (step, move)

      The most confusing section. We must understand what map actually does. Map takes a function with 2 arguments. The first is the object, the second is the index. NOT key and value! So step is the entire object (from inside history), and move is the index of an individual item in the object.

      MDN Documentation on arr.map()

  5. Jun 2019
    1. they might be tackling the activity simultaneously, or they might engage asynchronously across a few days.

      How do you enforce careful thought? Being 'thoughtful' was the only challenge. It still is. Being thoughtful takes energy. A successful student knows this, and will find arguments (being resourceful), and understand it, maybe challenge that perspective.

      I see! The platform makes understanding and challenging ideas easier, making thoughtfulness more accessible to students.

    1. Elderly British people (the majority of whom voted to leave) must deal with dropping pensions and potentially worse healthcare due to reduced funding.

      Ahah! So they're the ones who voted 'leave'!

    2. “Do not be ashamed to make a temporary withdrawal from the field if you see that your enemy is stronger than you; it is not winning or losing a single battle that matters, but how the war ends.”— Paulo Coelho, Warrior of the Light

      Cut the ego. Back down if it is beneficial.

    3. “Grand strategy is the art of looking beyond the present battle and calculating ahead. It requires that you focus on your ultimate goal and plot to reach it.”— Robert Greene, The 33 Strategies of War

      Being quick with determining 2nd. 3rd+ order consequences is important. Otherwise, plotting to reach the end game could take a very long time. Also, outcomes are not yes or no, but a continuum, and probabilities have to be assigned to the range of outcomes.

    1. (2) I’m not smart enough to figure everything out myself, so I want to ‘master the best of what other people have already figured out.’

      Stand on the shoulders of giants. Don't reinvent the wheel, but question it none the less.

    2. (1) Go to bed smarter than when you woke up

      Everyday should be filled with learning experiences: making mistakes, asking questions, doing something unfamiliar, being comfortable being uncomfortable

    1. By shouldering some of readers’ self-monitoring and regulation, these authors’ efforts can indeed lighten the metacognitive burden. But metacognition is an inherently dynamic process, evolving continuously as readers’ own conceptions evolve. Books are static. Prose can frame or stimulate readers’ thoughts, but prose can’t behave or respond to those thoughts as they unfold in each reader’s head. The reader must plan and steer their own feedback loops.

      Reading books is just a form of transmission from author to reader. Even if the reader is thoughful and takes deep thought, it may not coincide with the book's pre-planned path. i.e. I read this section in the article, I think deeply and at length, but now, I return to the article, and the next paragraph is not related to my thoughts...

      i suggest a network of information, which ties to neurons of information to each other. If someone was tired or mentally fatigued, they could follow these networks (drawn by previous thinkers). The network is every increasing at each node. This network can be thought of a mind map, but breaks conventional mind map rules. Nodes can reconnect back to each other. Branches are not made, instead, every path in the network is equal in weight/ thickness.

      Part 1: Capture network someone travels down. Part 2: Draw network (Mind map) Part 3: Suggest/ display network and journey a 'reader' can take.

    2. weave unfamiliar new forms—not from paper, and not from pixels, but from insights about human cognition.

      New forms of knowledge? Maybe it is knowledge that is the problem. To teach someone without telling them is more difficult (more time), but in the end, it is the only thing that works?