26 Matching Annotations
  1. May 2021
    1. Trucking and logistics industry is an ever-growing and ever-changing landscape. From old traditions to new trends, the transportation industry has it all with a ton of money. The transportation and warehousing market size in the US has already crossed $1.2 trillion.
  2. Oct 2020
    1. Hooks save timeIt gets even better.When hooks are the first part of your article, you have a critical opportunity to ask others for feedback: “After reading my intro, do you want to keep reading?”If they say no, you saved yourself from writing an article no one cares about.If they say yes, you'll have confidence you've found an interesting perspective.
    2. Question examplesIf you’re writing about bodybuilding, interesting questions might include: Can you build a significant amount of muscle within three months? How do all the celebrities playing superheroes do it?Turn this into a hook → Yes, you can build a significant amount of muscle in three months. I’ll walk you through how celebrities do it.Is it possible to build all that muscle without going to the gym? Can you buy affordable home equipment instead?Turn this into a hook → You can build that muscle without going to the gym. There’s affordable home equipment that makes it possible.‍
    3. How to generate hooksYou create hooks by finding questions you want answers to:Ask yourself, “If someone else wrote my intro, what are the most captivating questions they could pose to make me excited to read this?”Write those questions down. Even if you lack the answers. Rank your questions by how much they interest you.The top questions become your hooks: Pose them in your intro and don't reveal their answers.You and your audience evolved the same storytelling machinery in your heads, so questions that hook you will hook most of them too. When generating hooks, you discover what both you and your audience genuinely care to learn about.
    4. What exactly is a hook?A hook is any half-told story:Questions — Pose an intriguing question, but don’t give the answer.Narratives — Share the beginning of a narrative, but withhold the conclusion.Discoveries — Highlight new findings, but only a portion.Arguments — Present your case, but not how you arrived at it.Hooks tease your best talking points. They urge readers to keep reading by triggering the storytelling machinery in their heads.
    5. Your real objective is to hook readers into reading more. It doesn’t matter how you hook them, so long as you later fulfill your hook. A hook is not a gimmick. It’s a fundamental psychological principle: A great intro — like an electrifying opening to a film — buys goodwill with your audience.
  3. Mar 2020
    1. useEffect serves the same purpose as componentDidMount, componentDidUpdate, and componentWillUnmount in React classes, but unified into a single API

      useEffect将几个功能给统一在一起了。

  4. Dec 2019
    1. Rubydoc.info can automatically fetch and rebuild your docs from your github project everytime you commit! To add a post-receive (commit) hook to Github, simply select the official Rubydoc.info service hook from the list of service hooks in your project settings.
  5. Nov 2019
    1. It makes sense that the incoherent render would not be committed to browser and that it would not have any consequences most of the time. But that means that you render logic must be ready to manage incoherency between props and states without crashing. E.g. a list of resource ids in props that doesn't match a list of http requests from a previous id list in the state could lead to weird situations. This is a worry that didn't exist in class components.
  6. Sep 2019
    1. The equivalent ways in functional components using Hooks:In a state variable: useState or useReducer. Updates in state variables will cause a re-render of the component.In a ref: Equivalent to instance variables in class components. Mutating the .current property won’t cause a re-render.
    1. make the entire course relevant to students’ daily lives. All of the labs center around chemicals and materials that students interact with regularly. For instance, they evaluate bottled water versus tap water, test both for pH, conductivity, and taste, and then debate why so many people choose bottled over tap
    2. You can also make class activities relevant to contemporary social movements, to future careers in your major, or to some transcendent purpose
  7. Aug 2019
  8. Mar 2018
    1. No guarantees are made as to the order in which the different scripts are executed unless the prereqs are setup in the script. Please notice that PREREQ is only honored inside a single directory. So first the scripts in /usr/share/initramfs-tools are ordered according to their PREREQ values and executed. Then all scripts in /etc/initramfs-tools are ordered according to their PREREQ values and executed.

      PREREQ is used to determine the execution order of hook scripts

  9. Jan 2017
  10. Dec 2016