454 Matching Annotations
  1. Dec 2019
  2. Nov 2019
    1. However, in this case you would lose the possibility to render something in between. You are strictly coupled to the higher-order component's render method. If you need to add something in between of the currency components, you would have to do it in the higher-order component. It would be quite similar as you have done it previously by rendering the currency components straight away in the Amount component. If using a render prop component instead, you would be flexible in your composition.
    2. For the sake of completeness, the following code demonstrates that the problem could be solved with a higher-order component (HOC) as well:
    1. Revery is like flutter in that it does not use native widgets.
    2. We might have some dirty mutable objects for performance - but our high-level API should be purely functional. You should be able to follow the React model of modelling your UI as a pure function of application state -> UI.
    1. REST and GraphQL are wonderful tools to create an API that is meant to be consumed by third parties. Facebook's API, for example, is consumed by ~200k third parties. It is no surprise that Facebook is using (and invented) GraphQL; a GraphQL API enables third parties to extensively access Facebook's social graph enabling them to build all kinds of applications. For an API with that many consumers, GraphQL is the fitting tool. But, to create an internal API (an API developed and consumed by code written by the same organization), RPC offers a simpler and more powerful alternative. Large companies, such as Netflix, Google and Facebook, are starting to replace REST/GraphQL with RPC for their internal APIs. Most notably with gRPC which is getting popular in the industry.
    2. RPC is increasingly used to create backend APIs as most are internal: most of the time, a backend API is consumed only by frontends developed within the same organization. In general, REST and GraphQL are the right tools if you want to create an API consumed by code written by third parties and RPC is the right tool if you want to create an API consumed by code written by yourself / your organization.
    1. Whereas Webpack bundles all our JavaScript source code files into one bundle (including custom configured build steps), Babel enables us to use recent JavaScript features that are not supported by many browsers yet.
  3. Oct 2019
    1. I'm super stoked about Vue.js though...I'm kind of over Angular at this point since it left a bad taste in my mouth last year (it's a much larger framework and the 'official' build system isn't even being used anymore by programmers)
    2. I'm doing a newer project in Vue.js because it looks much lighter than Angular and just awesome all around
    3. Been there, done that. Vue.js takes the best ideas form Angular (and some from React), without putting you in ZoneAwareError hell.
    1. useMemo is similar to useCallback except it allows you to apply memoization to any value type (not just functions). It does this by accepting a function which returns the value and then that function is only called when the value needs to be retrieved
  4. Sep 2019
    1. The indicators are summarized in Table 4 [1,24,34,39,47,53,54,55,56,57,58,59,60,61,62,63] and discussed individually, with graphics where relevant to make key comparisons clearer.

      It is interesting that even though Lima has a pretty high percentage of non motorized transport users and the highest percentage of public transport users, we still have a higher traffic than those countries.

  5. Aug 2019
    1. I’m here to convince you that when wrapped in a 4 line custom hook, useState can be just as powerful as, if not more powerful than, useReducer when managing complex state.
    1. Let's briefly look at the libraries, use cases, and factors that might help in deciding which is right for you. Here's a high-level decision tree: If you want fast and easy setup and integration, then component-playground may be the ticket! If you want a smaller bundle, SSR, and more flexibility, then react-live is for you! Here are the various factors at play:
  6. Jul 2019
    1. It is this combination of features that also makes HyperCard a powerful hypermedia system. Users can build backgrounds to suit the needs of some system, say a rolodex, and use simple HyperTalk commands to provide buttons to move from place to place within the stack, or provide the same navigation system within the data elements of the UI, like text fields. Using these features, it is easy to build linked systems similar to hypertext links on the Web.[5] Unlike the Web, programming, placement, and browsing were all the same tool. Similar systems have been created for HTML but traditional Web services are considerably more heavyweight.
  7. Feb 2019
    1. These nine categories are then organised along a spectrum that identifies the relative potential capacity for transformative practice and professional autonomy inherent in each, the premise of this being that such conditions require teachers to be able to articulate their own conceptions of teaching and be able to select and justify appropriate modes of practice.

      A comparative spectrum can help classify different kinds of PD for different situations, depending on the goals.

  8. Nov 2018
  9. Apr 2018
    1. Good folk, I have no coin; To take were to purloin: I have no copper in my purse, I have no silver either, And all my gold is on the furze

      In these lines I noticed that Laura was speaking about money and she metaphorically connected it to being on the flowers in which she called the Furze.

  10. Mar 2018
    1. It would be fair to characterize Beaker as “a novel application of Bittorrent’s concepts to the Web platform.” If Beaker had been started in 2006, it would be using Bittorrent as its primary protocol. However, as of 2016, new variants have appeared with better properties.
  11. Jan 2018
    1. They are one and the same state.

      Very similar to the argument that we've encountered multiple times in the class so far. Whether it be Clark Kent/Superman or the Morningstar/Eveningstar. Knowing two separate understanding of a phenomenon does not mean they are not one and the same.

  12. Dec 2017
    1. Emmett Till died because a white woman lied about their brief interaction

      issue with the artist being a white women

    1. And, in general, to observe with intelligence & faithfulness all the social relations under which he shall be placed.

      It's refreshing to see an optimistic hope for people. In my Empirical Engagement (Thinking Like A Scientist) we discussed how people come to believe the things they believe, and how we can't really trust people to look at things with a healthy dose of skepticism. Jefferson here has hope that people will use their "intelligence & faithfulness" to carry them through social interaction. He believes in them because they're using their knowledge to their advantage by applying, as he knows they will.

    2. Statics, respect matter generally, in a state of rest, and include Hydrostatics, or the Laws of fluids particularly, at rest or in equilibrio Dynamics, used as a general term include Dynamics proper, or the Laws of solids in Motion and Hydrodynamics, or Hydraulics, those of fluids in Motion Pneumatics teach the theory of air, its Weight, Motion, condensation, rarifaction &c Acoustics or Phonics, the theory of sound Optics the Laws of Light & vision Physics or Physiology in a general sense, mean the doctrine of the Physical objects of our senses

      It is interesting to note that all these subjects, so succinctly explained here, are all under the umbrella term "Physics" now. During Jefferson's time, there probably wasn't a standard of learning to follow, so he had to list out the specifics here. We've come far in that now mentioning to physics to someone with some schooling will mean them considering some of these things instead of just "the doctrine of Physical objects of our senses."

  13. Sep 2017
    1. a happy married future can hold more of the same, not the wholesale change Elizabeth anticipates

      By comparing Pride and Prejudice's concerns of marriage to Emma and Mansfield Park, Moe improves her argument about Austen's comprehension of marriage by using relevant texts to apply to Charlotte and Elizabeth's respective situations.

  14. Jul 2017
  15. learn-us-east-1-prod-fleet02-xythos.learn.cloudflare.blackboardcdn.com learn-us-east-1-prod-fleet02-xythos.learn.cloudflare.blackboardcdn.com
    1. Mongols

      Modern Day Depiction of the Mongols in Marco Polo: One Hundred Eyes and W. Rubruck's Account:

      Marco Polo: One Hundred Eyes is a short special on Netflix loosely based off of the real Mongol General Bayan of the Baarin. In comparing Rubruck's primary account to this modern day portrayal of the Mongols in China under Kubilai Khan there are a few similarities and differences. Differences mainly arise from the time and geographic spaces; the special took place in 1262 in Kubilai Khan's China whereas Rubruck's was between 1253-1255 in the Mongol capital of Karakorum. Rubruck noted the nomadic lifestyle where the Mongols resided in non-fixed dwellings, but in the special this is not shown; the Khan is shown not in a tent, but in a permanent building. Both sources (and our textbook) depict the Mongols as fierce warriors, who used curved bows, horses, and fear (of being massacred) as a means of conquering people. In the special, the Khan states he takes conquered craftsmen, employing them to further his conquests. Our text repeatedly emphasized this unique aspect of the Mongols of using those they captured to create siege engines or help run their armies as the real Bayan of the Baarin did. Though Rubruck's account is a primary source unlike this Netflix special- which was most likely based off of a plethora of primary sources- they both provide different view of how Mongols functioned and lived in various areas within the same mammoth empire.

  16. Apr 2017
  17. Mar 2017
  18. Feb 2017
    1. f such women as are here described have t-.... once existed, be no longer astonished then, my s brethren and friends, that God at this eventful pe-5~ riod should raise up your own females to strive, ~' by their example both in public and private, to · assist those who arc endeavoring stop the strong current of prejudice that flows so profusely against us at present. No longer ridicule their ef-forts, it will be counted for sin. For God makes use of feeble means sometimes, to bring about his most exalted purposes.

      Here, Stewart is arguing that in many past respected societies (Greek, Roman, Jewish), women were well-respected in a religious sense. As a reference to her earlier claim, that she was visited by the Holy Spirit and therefore had the temerity and the right to speak publicly on religious grounds. I do find it interesting that she said: "For God makes use of feeble means sometimes, to bring about his most exalted purposes." Her use of the word "feeble" is interesting, because it seems like she is ascribing to the expected gender roles/personalities, in that women are the "softer sex," and not perceived as strong or powerful.

    1. Just as young children learn by comparison,

      I'm not picking up the meaning of this sentence. Thinking back to my younger years and different child studies, I assumed children learned by seeing, not comparison. If they are comparing, what are they comparing?

  19. Jan 2017
    1. affairs

      It's interesting that rhetoric started as this practical system for ancient Greek society, but then comes Bloom and other people Lanham talks about whose interpretation of humanism, rhetoric and the university is super apolitical, with the humanities in the university separate from society.

  20. Sep 2016
    1. Cuba has a one-party system; the United States is a multi-party democracy.  Cuba has a socialist economic model; the United States is an open market.  Cuba has emphasized the role and rights of the state; the United States is founded upon the

      President Obama is using parallelism to display the differences and compare America and Cuba. He is doing this to develop a relationship and promote trust between the two countries.

  21. Jun 2016
    1. p. 75

      Why my badges may be a bad idea:

      "These results suggest that teachers may discourage avoidance behaviour among their students when they encourage students to focus on mastering the material, improvement, and understanding the relevance of classroom work in their lives. Although it makes sense that students should be less concerned with protecting their image in classrooms that emphasize understanding the material and personal, individual standards of achievement, our results suggest that de-emphasizing performance goals may be more important than increasing the emphasis on mastery goals.... Even in classrooms that contain some of the curricular elements of a mastery goal structure, such as the constructivist principle of assigning open-ended, inquiry-based projects and tasks, students may avoid novelty and challenge if they believe that, ultimately, what matters is how their performance compares to their peers."

    2. p. 71

      Gheen and Midgely 1999 examined "how teachers' reports of social comparison practices related to avoiding novelty and chellenge. They found that teachers' reports of informative social comparison practices related to slightly higher levels of avoidance. However, these practices weakened the association between self-efficacy and avoiding novelty and challenge. In classrooms where teachers were high in their use of interstudent discussion about how to improve one's own work, low- and high-efficacy students were on a more equal footing when it came to avoiding novelty challenge. However, in classrooms where teachers reported using high levels of relative ability social comparison practices, low self-efficacy students' avoidance was higher than that of high self-efficacy students'"

  22. Aug 2015
    1. If you go to http://via.hypothes.is/bavatuesdays.com/a-long-short-history-of-reclaim-hosting/, you'll see eight line-by-line comments to his post.

      This is cool, I may have somehow missed the fact that annotations on an entire page could be made public like that. This was really useful for showing me the power of Hypothesis in a way that made sense (the comparison to Medium is dead on and resonates given the similarities in the workflow).

  23. Jan 2015
    1. "Burroughs’ output predicted the affective temporalities that social networks would make ubiquitous half a century after Naked Lunch appeared: a continuous stream of emissions less concerned with the definitiveness of any individual utterance than with the continued elaboration of a familiar presence."

      I get the click of recognition with this particular quote. The world isn't so much flat as that Pharisee Friedman asserts as it has been leveled like the top of a mountain, all the energy goodies ripped out and the overburden midden gravity fed below, holler fill.

  24. Mar 2014
  25. Feb 2014
    1. Comparing AES to CPR Both AES and CPR have advantages and disadvantages in the context of MOOCs. Figure 1 offers a comparison of generalized AES methods of assessment and CPR

      Comparison of Automated Essay Scoring to Calibrated Peer Review

  26. Jan 2014
    1. Now compare this to the stack. The stack is like the heap in that it is a big block of memory with a “high water mark”. But what makes it a “stack” is that the memory on the bottom of the stack always lives longer than the memory on the top of the stack; the stack is strictly ordered. The objects that are going to die first are on the top, the objects that are going to die last are on the bottom. And with that guarantee, we know that the stack will never have holes, and therefore will not need compacting. We know that the stack memory will always be “freed” from the top, and therefore do not need a free list. We know that anything low-down on the stack is guaranteed alive, and so we do not need to mark or sweep.