159 Matching Annotations
  1. Last 7 days
    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. But it’s really hard to see, because our human brains struggle to think about this Clock function as something for generating discrete snapshots of a clock, instead of representing a persistent thing that changes over time.

    3. 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.

  2. Sep 2020
    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.

  3. 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.
  4. 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"?

  5. 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

  6. 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

  7. Apr 2020
  8. 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

  9. 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.

  10. 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
  11. 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
  12. Oct 2019
    1. However, if more control is needed, you can pass any of these pieces of state as a prop (as indicated above) and that state becomes controlled. As soon as this.props[statePropKey] !== undefined, internally, downshift will determine its state based on your prop's value rather than its own internal state.
  13. Sep 2019
    1. The question is not “when does this effect run” the question is “with which state does this effect synchronize with”
    1. One way to guarantee write consistency is by utilizing the event store’s optimistic concurrency control. A proper event store provides a way for the user to say “save this event only if the version of the entity is still x”.
    2. One alternative would be to have one topic per entity

      Other alternative: have a consumer group write a read model to a database, indexed by entity id.

    1. Variation in Rates of Fatal Police Shootings across US States:the Role of Firearm Availability

      Hello! This article is about the relationship between firearm prevalence (the IV) and the rates of fatal police shootings (the DV). The authors hypothesize that the greater the prevalence of firearms, the grater the rates of fatal police shooting.

      This article follows the classical structure of social science research -- abstract, introduction, literature review/theory, research design, findings, and conclusions.

  14. Jul 2019
  15. Jun 2019
    1. In 99.3% of the time under unstressed conditions,

      Danism: A cell in a diseased state does not respond the same way as a cell in a non-diseased state. This is essential and has many roots. Translation Regulation being the most controversial.

  16. Apr 2019
  17. Mar 2019
    1. nontraditional students. The education department at OSU-M is housed within the School of Teaching and Learning and the Integrated Teaching and Learning (ITL) section. The Integrated Teaching and Learning section of the College of Education serves those preservice teachers who are studying to be teachers of children age 3 to Grade 8. The Ohio State University Master of Education degree, the degree that offers course requirements for licensure in elementary and middle childhood, is a five-quarter, graduate licensure program. Students enter the program with a B.A. in Elementary Education or a similar field. We license approximately 24 teachers per year. Class size ranges from 12 through 24 students. During the bachelor’s program, student studies are focused on theories of child development and learning, primary reading and language courses, general liberal arts courses, content courses, and two beginning field courses. At least one field placement during the undergraduate coursework takes place in an urban school. Following admission to the graduate program in education, students begin their coursework in general pedagogy and specific methods: social studies, mathematics, language arts, reading, and science. During this year and a half of studies, students are in the field each week for 4-10 hours and have a 12- to15-day period toward the end of the two methods block quarters when they create and implement lessons in their field classroom. All students complete two separate placements in teams of two. Field placements are primarily in suburban and rural schools. Following these field placements, students have one quarter of student teaching and one quarter for a master’s project, including a comprehensive portfolio and a research paper. Experiences With Technology During the undergraduate program students take one technology course. This course is intended to provide students with exposure to the basic knowledge of computer hardware and an introduction to traditional educational software. During this course, students are required to complete an “All About Me,” project (see Powerpoint 1) for which students familiarize themselves with tools such as the scanner, digital camera, clipart, and presentation software. Figure 1. The technology teaching lab After students are admitted to the master’s licensure program, they take one basic technology course that covers other technologies available to elementary education teachers (e.g., Ellison cutters, laminating machines, filmstrip projectors, video projectors, enlargers), and they continue their development of computer knowledge. The two courses, one in the undergraduate program and the other in the graduate program, are the only two stand-alone courses on technology. After students have completed the basic technology course in the graduate program, they begin their methods courses. Throughout the methods coursework, students are asked to use technology when appropriate to enhance their teaching. In addition to this expectation, instructors of the methods courses integrate technology into their teaching to serve as a model of ways in which technology can enhance learning in the particular subject areas. During the two methods course quarters, students attend a lab course entitled the Technology Teaching Lab (TTL). The goal for this course is to increase the use of technology in students’ lessons in ways that will enhance their teaching. The TTL is a series of 2-hour labs that runs concurrently with our methods blocks. The purpose of this lab is to provide the preservice teachers in our elementary education program opportunities to create, with assistance, technology-enhanced lessons for their field placements. The lab course provides the students with instruction, opportunities, and equipment to take their technology-enhanced lessons directly to the field.

      The Ohio State University is now integrating technology into their Education Master's program. Students are expected as undergraduates to take an introductory technology course. As part of the master's program, students are required to take another technology course. Students are also expected to integrate technology into their two methods courses. To help with this they have a "lab" (which is traditionally thought to parallel science courses) with technology instructors to help them with their methods courses.<br> Instructors are expected to model the technology integration and help students plan a curriculum that integrates technology to aid in the learning of most students.

      Rating 9/10

  18. Feb 2019
    1. Is the freedom of the individual served by neoliberalism? Centrality of the state for this freedom, which NL denies. “neoliberal thinkers deliberately sustain the fiction that ‘the market economy’ is a natural and spontaneous order that must be placed beyond politics … The question of how authority can be something other than domination and private power shaped the ideas and action of those who built the tradition of constitutional democracy in western societies from the 16th to the 20th centuries … basic needs were those that had to be met before the individual could practically enact the status of a free subject or person. It was such needs provision that made it possible for individuals to be both personally secure and to enjoy an equality of opportunity to develop as individuals free to discover their talents and gifts … the representation of market society as a spontaneous order is pitched to the punters while, within the tent of the doctrine’s initiates, it is fully understood that the state has to be both a strong state, and to be re-engineered in order to impose neoliberal institutional design.” YeatmanFreedom.pdf
    1. Sekera says that “unsubstantiated axioms of mainstream economics have lent pseudo-scientific support” in (quoting James Galbraith) a “purposeful, systemic campaign by private interests to “suck the capacity from government and deplete it of the ability to govern.”
    2. “Faced with declining tax revenues, counties and municipalities are turning over the operation of parts of the criminal justice system to private corporations that promise to provide legally mandated services at “no cost to taxpayers”. These companies then charge fees for these same services to individuals accused of crimes or on probation – fees higher than what states would charge for equivalent services, if they charge at all. Often already impoverished, those many who can’t pay the fees are now being imprisoned for debt.” “Contracting-out is a vast and growing part of the federal government. Contract spending mushroomed from $200 billion in 2000 to $530 billion in 2011. The total cost of federal contract employees is twice that of federal civil servants… The POGO study – Bad Business 55 … found that “billions of dollars [are] wasted on hiring contractors” based on “a misguided assumption that market economies enable contractors to be more cost efficient than the government. On average, contractors charged the federal government more than twice the amount it pays federal workers.”
    3. “Public performance measurement systems often have unfortunate or disastrous unintended consequences. Most recently, a pay-for-performance scheme at the Veterans Health Administration (V.A.) led to falsified wait-time records and care so delayed that, in some cases, patients died awaiting medical attention. Twenty-five years of studies have shown that “pay-for-performance” doesn’t work in either the public or private sector: such systems smother creativity, crowd out intrinsic motivation and invite gaming and generally fail to achieve intended results.”
    1. The opposition of suburban whites to the welfare state (“entitlements”), beginning with the 1970s tax revolts (Burton rails at having to pay high school taxes and then see his son be forced to go to school in the inner city, and against “welfare freeloaders”), only intensified as the “hard-working” (white) “common man” in his orderly suburban family saw the New Deal dream evaporate. Burton declared in 1974: “I wanted to be somebody”, and in the economic environment symbolized by the oil price shock of that year, his identity became more and more at odds with the desire of the excluded in US society to also “be somebody”. By 1976, Burton had abandoned the Democratic party and the New Deal ethos, seeing in Ronald Reagan someone who could “deliver the nation out of its malaise”, with a reprise of Wallace’s “freshness, independence, backbone and scrappy spirit”. This is not a new story. It is rather a reflection of US history as a whole, where a frontier-spirit, classless liberalism is organically bound up with anti-democratic exclusion and an ethic of private responsibility. It is but one facet of American racialized, gendered neoliberalism.
  19. Local file Local file