185 Matching Annotations
  1. Last 7 days
    1. There may be times that required owned elements are missing, for example, while editing or while loading a data set. When a widget is missing required owned elements due to script execution or loading, authors MUST mark a containing element with aria-busy equal to true. For example, until a page is fully initialized and complete, an author could mark the document element as busy.

      "busy" here seems to = "loading" in most other programming contexts

    1. The graphs of ground state confinement energy againstsize (radius) for zinc sulfide nanoparticles in Figure 14 showthe dependence of confinement on the size of quantum dots.The result shows that ground state confinement energy is

      Las graficas de la energía de confinamiento en su estado fundamental en contra del tamaño (radio) por nanopartículas de sulfato de zinc en la Figura 14 muestran la dependencia de confinamiento en el tamaño de los puntos quánticos. El resultado muestra que el estado fundamental de energía en confinamiento es inversamente proporciona al tamaño (radio). Por lo tanto, cuando uno incrementa su radio (tamaño) la energía de confinamiento decrece pero nunca llega a cero. Eso es, el energía mas baja posible para el punto quántica de muestra no es cero. El confinamiento comienza cuando el radio del punto cuántico de muestra es comparable o del orden del radio exciton de Bohr.

    1. Instead of using classes and local state, Deku just uses functions and pushes the responsibility of all state management and side-effects onto tools like Redux.
  2. Oct 2020
    1. It's easy to persist the entire application state in a way that is backwards-compatible, so persisted states can survive application changes.
    2. We can treat navigation as a first-class concept, even encoding state transitions in links.
    3. State changes flow from the roots of this graph (which we call atoms) through pure functions (which we call selectors) and into components.
    4. Recoil defines a directed graph orthogonal to but also intrinsic and attached to your React tree.
    5. Component state can only be shared by pushing it up to the common ancestor, but this might include a huge tree that then needs to re-render.
    6. For reasons of compatibility and simplicity, it's best to use React's built-in state management capabilities rather than external global state.
    1. use Xstate which offers a finite state machine that adheres to the SCXML spec­i­fi­ca­tion and provides a lot of extra goodness, including vi­su­al­iza­tion tools, test helpers and much more
    2. The $ contract for auto-sub­scrib­ing is lovely in its sim­plic­ity and flex­i­bil­ity. You can adapt your own preferred state-man­age­ment pattern or library, with or without Svelte stores as helpers. Svelte does not fuss about how you want to manage your state.
  3. Sep 2020
    1. React Stately is a library of state management hooks for use in your component library.
    1. Provides state management for tree-like components. Handles building a collection of items from props, item expanded state, and manages multiple selection state.
    1. So why don't we extract the shared state out of the components, and manage it in a global singleton? With this, our component tree becomes a big "view", and any component can access the state or trigger actions, no matter where they are in the tree!
    1. There is interactive state as well. What about modals that come up because something is clicked? What is the active tab? Is this menu open or closed? What scroll position are they at? There are infinite permutations of this. Imagine a warning bar that shows up seven seconds after the user logs in to warn user about their expired credit card which contains a custom styled select menu which can be in an open or closed state, but only on the user settings page.
    2. Remember the timing thing? We might think of timing as one generic form of state. There are countless other things that could be state related. Is the user logged in or not? What plan are they on? Is their credit card expired thus showing some kind of special message? Do situational things like time/date/geolocation change state? What about real-time data? Stuff from an API?
    1. Slide 13:

      “No man ever steps in the same river twice, for it's not the same river and he's not the same man.”

      ― Heraclitus

      Of course it’s not the same river — the river, is, what? The water flowing past your feet? The sound that it makes? These things are different at every moment. Our idea of ‘the river’ doesn’t correspond to anything in the real world. Understanding this concept means getting closer to an understanding of reality itself — once you fully absorb the impact of this idea, it changes you, from a person who didn’t have that understanding into one who does.

      And as you bask in your newfound zen-like enlightenment, you discover an almost spiritually calming effect — the world as it is right now is the only thing that matters, not the state of the world as it was yesterday or as it will be tomorrow.


      Slide 39:

      “No man ever steps in the same river twice, for it's not the same river and he's not the same man.”

      ― Heraclitus

      And I think Heraclitus probably understood it all along. There’s a paradox contained in this statement. If the concept of identity over time is meaningless, then what do we mean by ‘it’ and ‘he’?

    2. It turns out that even the length of time an element has been mounted is an important piece of state that determines what pixels the user sees. And some of this state can’t simply be lifted into our application state.

      What this means is that our desire to express UI using pure functions is in direct conflict with the very nature of the DOM. It’s a great way to describe a state => pixels transformation — perfect for game rendering or generative art — but when we’re building apps on the web, the idea chafes against the reality of a stateful medium.

    1. While I am not homosexual, I have always felt that discrimination against homosexuality is completely ludicrous because I think people should love who they love. This belief that I have has giving me an idea for my research topic for my bibliography project where I look over the state of homosexuality in 2020. I decided to annotate this article because it gave a lot of good information about the state of homosexuality in 2020 and it has some links to other articles about homosexuality.

    1. Stores are global state. While context is local state.
    2. Notice it's not related to components. Another crucial difference is that it's accessible from outside of components. And good way to determine where goes where is to ask yourself, can this particular state and functionality still makes sense outside of the displayed component?
    1. Statecharts are a formalism for modeling stateful, reactive systems. This is useful for declaratively describing the behavior of your application, from the individual components to the overall application logic.
    1. The state is a data structure that starts with a default value when a Component mounts. It may be mutated across time, mostly as a result of user events.

      The state is a data structure with a default value at the start which can be mutated based on user events.

  4. Aug 2020
    1. How to Get into Flow States, Quickly

      1.Relax

      2.Coffee/Caffeine

      3.Something that inspires your work

      4.Warm-up - get your brain primed for the activity

      5.Sends chills down your spine - Watch something that Inspires you e.g. David Goggins

      6.Avoid distraction - Put phone away and noise cancelling headphones

    1. Safari sends following order application/xml (q is 1) application/xhtml+xml (q is 1) image/png (q is 1) text/html (q is 0.9) text/plain (q is 0.8) \*/\* (q is 0.5) So you visit www.myappp.com in safari and if the app supports .xml then Rails should render .xml file. This is not what user wants to see. User wants to see .html page not .xml page.
  5. Jul 2020
    1. In the Set class we already called this - and difference, which it is ok but not really accurate because of the previous explanation, but probably not worthwhile to change it.

      Is this saying that the name difference is inaccurate?

      Why is it inaccurate? You even called it the "theoretic difference" above.

      Is that because "relative complement" would be better? Or because the full phrase "theoretic difference" [https://en.wiktionary.org/wiki/set-theoretic_difference] is required in order for it to be accurate rather than just "difference"?

  6. Jun 2020
    1. State management is also easier. Instead of importing hooks and using setters, you just define a property within the script tags. You then change the value by re-assigning it (not mutating the original value).
    1. J efferson agreed, after some waver-ing, t o become the first US secretary of s tate i n George Washington’s inaugural a dministration. Beginning his t enure on March 22, 1 79

    Tags

    Annotators

  7. May 2020
    1. Sometimes plugins can conflict with a theme or with each other.  Disable all your plugins and see if the problem persists. If everything is working once the plugins were disabled it means there's a conflict with a plugin or maybe even a set of plugins. Enable the plugins one by one to identify the one that is creating the conflict.
    1. Right click on the /wp-content/plugins folder and rename it plugins.old. This will deactivate all of the plugins. In most cases, this will also lock the WordPress admin area as well.  You will still be able to perform these steps from within the File Manager.Reactivate the plugins folder by following the above instructions and renaming the folder plugins. This will allow you to reactivate each plugin individually to isolate the offending plugin and resolve the 500 Internal Server Error.  This should also allow access to the WordPress Dashboard again. From the WordPress Dashboard: Reactivate each plugin (one at a time) and refresh the website to see if the issue has been resolved.
    1. Chu, H. Y., Englund, J. A., Starita, L. M., Famulare, M., Brandstetter, E., Nickerson, D. A., Rieder, M. J., Adler, A., Lacombe, K., Kim, A. E., Graham, C., Logue, J., Wolf, C. R., Heimonen, J., McCulloch, D. J., Han, P. D., Sibley, T. R., Lee, J., Ilcisin, M., … Bedford, T. (2020). Early Detection of Covid-19 through a Citywide Pandemic Surveillance Platform. New England Journal of Medicine, NEJMc2008646. https://doi.org/10.1056/NEJMc2008646

  8. Apr 2020
  9. Feb 2020
    1. (b)(1) A representative form of annual or special meeting is a meeting of members elected by district to exercise the powers vested in the voters of the town to act upon articles. However, the election of officers, public questions, and all articles to be voted upon by Australian ballot as required by law or as voted under section 2680 of this title at a prior annual or special meeting, and reconsideration of articles under section 2661 of this title shall remain vested in the voters of the town. (2) An organizational resolution to adopt a representative form of annual or special meeting may be made by the legislative body of the municipality or by petition of five percent of the voters of the municipality. An official copy of the organizational resolution shall be filed in the office of the clerk of the municipality at least 10 days before the annual or special meeting at which the vote whether to adopt the organizational resolution shall take place, and copies thereof shall be made available to members of the public upon request.

      Exceptions to Representative form of gov't - VT Statutes

  10. Jan 2020
    1. no difference

      The nature of the wants that commodities satisfy makes no difference. This is perhaps somewhat surprising to readers, given the extent to which everyday critiques of capitalist society often center around the role that consumerism plays and the subjective effects that this produces, namely, the way that consumer society creates all sorts of desires (as well as the obverse--many will defend capitalism on the grounds that it is able to satisfy our inordinate appetite for novelty by producing an enormous proliferation of desirable commodities). Yet, for Marx, the nature of these desires "makes no difference."

      It is worth pointing out that the critique of the appetites that consumer society spawns is by no means new (a rather early moment in the history of consumer society). We find it already on display in Book II of Plato's Republic. In looking to shift the terrain of the analysis of justice from the individualistic, social contractualist theory of justice elaborated by Glaucon, Socrates founds a 'city' based on the idea that no one is self-sufficient, that human beings have much need of one another, and that the various crafts--farming, weaving cloth, etc.--fare best when each person specializes in that craft to which they are most suited by nature. After sketching out a kind of idyllic, pastoral community based on the principle of working together to satisfy our natural appetites, Socrates aristocratic companion Glaucon objects, describing this city as a 'city fit for pigs'. At this point, Socrates conjures what he calls the 'luxurious city', at which point a whole host of social ills are unleashed in order to satisfy Glaucon's desire for the luxuries to which he is accustomed. Currency and trade are introduced, along with a more complex division of labor (and wage labor!), and quite quickly, war. On the basis of the principle of 'one person, one craft', Socrates argues that making war is itself a craft that requires specialization (and thus a professional army).

      For Plato, this represents the beginning of class society, as the profession military becomes a class distinct from the class of producers and merchants.

      Plato thus anticipates a version of a view that becomes one of the key theses of the Marxist theory of the state, namely, the idea that the state exists only in societies that have become "entangled in an insoluble contradiction within itself" and which are "cleft into irreconcilable antagonisms which it is powerless to dispel," (Engels, The Origin of the Family, Private Property, and the State). The state emerges as "a power apparently standing above society...whose purpose is to moderate the conflict and keep it within the bounds of 'order'" Engels writes, "this power arising out of society, but placing itself above it, and increasingly separating itself from it, is the state." Lenin cites this passage in the first pages of State and Revolution in order to critique the 'bourgeois' view that the state exists in order to reconcile class interests. In Lenin's reading of Marx, the state exists as "an organ of classs domination, an organ of oppression of one class by another," a view articulated in The Communist Manifesto, (cf. V.I. Lenin, State and Revolution in V.I.Lenin: Collected Works, Vol. 25, pp. 385-497).

      Marx cites this same passage from Republic in a long footnote to his discussion of the Division of Labor and Manufacture on pp. 487-488, which also happens to be the sole place in Capital where Marx cites Plato.

      The fact that Marx here expresses indifference to the particular appetites that commodities satisfy is thus intriguing and ambiguous. Given that this question both clearly animates Plato's discussion of the origin of class society in Republic and, additionally serves as an alternative to the social contractarian view of justice that descends from Glaucon through Hobbes and the 18th century 'Robinsonades', this seemingly technical point also touches upon questions concerning Marx's engagement with both classical and modern political theory.

      If for Plato, the unruly appetites represent the seed of which class-divided society is the fruit, Marx's dismissal of the question of the nature of the appetites that are satisfied by commodities points to exchange-value and the social forms that it unleashes as being key dimensions of the particular form that class-antagonism takes in capitalist society.

  11. Dec 2019
    1. Basically, the standard said something, interpreters ignored it because the standard seemed illogical, but now interpreters like Bash have really confusing semantics, and no-one wants to fix it.
    1. Students are required to take one additional course of three or more credits from the General Education curriculum 

      Caution: Three Credits in Citizenship List D cannot be used to satisfy this requirement.

    1. Institutional Specific (must be chosen from one of the following four categories: communication, social sciences, arts and humanities, and/or mathematics/science & technology)
      • 3 or more credits more in General Education Elective
      • 3 Credits in Citizenship, global perspectives.

      NB: These general education credits must be from Citizenship Lists A, B, and C, or Critical and Creative Thinking Lists A, B, C, D, and E.

      Citizenship list D cannot be used to satisfy the institutional specific requirements.

    2. Mathematics, Science & Technology
      • 3 Credits in Citizenship, Technology List
      • 4 Credits in Critical and Creative Thinking, Natural Sciences List
      • 3 Credits in Critical and Creative Thinking, Mathematics List
    3. Arts & Humanities
      • 3 Credits of Critical and Creative Thinking Creative, Expressions List
      • 3 Credits of Critical and Creative Thinking, Literature List.
    4. Communications

      9 DSU Credits in Communication Group

    5. Social Sciences
      • 3 Credits in Citizenship; Human Behavior and Governance.List
      • 3 Credits in Critical and Creative Thinking, Social Sciences List
    6. 403.7 Common General Education Requirement and Transfer of General Education Credits
  12. Nov 2019
    1. However, again you would have to lift state up to the App component in order to pass the amount to the currency components. As you can see, the component composition on its own doesn't help us to solve the problem. That's the point where React's render props pattern comes into play which enhances React's component composition with an important ingredient: a render function.
    2. But it's not that simple, because the currency components don't know about the amount now. You would have to lift the state from the Amount component to the App component.
    1. Section 1.5 Online Learner Characteristics, Technology and Skill Requirements

      This website outlines Section 1.5 of Angelo State University's guide to instructional design and online teaching. Section 1.5 describes key characteristics of online learners, as well as the technology and computer skills that research has identified as being important for online learners. Successful online learners are described as self-directed, motivated, well-organized, and dedicated to their education. The article also notes that online learners should understand how to use technology such as multimedia tools, email, internet browsers. and LMS systems. This resource serves as a guide to effective online teaching. Rating 10/10

    1. Checked Indeterminate (checked) Unchecked Indeterminate (unchecked)

      Interesting that indeterminate is after the determinate. I would tend to think of the indeterminate state as being first, since that is the default/initial state of a form control like checkbox or radio button. Oh well...

    2. Change the cycle used to determine the next state of the checkbox when the user click the component, or when the toggle() method is called
    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.
    1. you can update the state right during rendering. React will re-run the component with updated state immediately after exiting the first render so it wouldn’t be expensive