43 Matching Annotations
  1. Last 7 days
  2. Oct 2020
    1. I'm personally open to any other solutions, especially in how we might be able to untie from React, but, for now, inline-XML markup (JSX) is OK with me.
    1. In 1972 David L. Parnas published a classic paper entitled On the Criteria To Be Used in Decomposing Systems into Modules. It appeared in the December issue of the Communications of the ACM, Volume 15, Number 12. In this paper, Parnas compared two different strategies for decomposing and separating the logic in a simple algorithm. The paper is fascinating reading, and I strongly urge you to study it. His conclusion, in part, is as follows: “We have tried to demonstrate by these examples that it is almost always incorrect to begin the decomposition of a system into modules on the basis of a flowchart. We propose instead that one begins with a list of difficult design decisions or design decisions which are likely to change. Each module is then designed to hide such a decision from the others.”

      Parnas published a paper in 1972 about what heuristics are best to decide when to decompose a system into modules.

      His conclusion is that it is almost always wrong to start with a representation such as a flowchart (because things change).

      Instead he recommends focusing on a list of difficult design decisions, or decisions, once made, that will likely change. Then design each module is designed to hide such decisions from others.

    1. "Let me try to explain to you, what to my taste is characteristic for all intelligent thinking. It is, that one is willing to study in depth an aspect of one's subject matter in isolation for the sake of its own consistency, all the time knowing that one is occupying oneself only with one of the aspects. We know that a program must be correct and we can study it from that viewpoint only; we also know that it should be efficient and we can study its efficiency on another day, so to speak. In another mood we may ask ourselves whether, and if so: why, the program is desirable. But nothing is gained —on the contrary!— by tackling these various aspects simultaneously. It is what I sometimes have called "the separation of concerns", which, even if not perfectly possible, is yet the only available technique for effective ordering of one's thoughts, that I know of. This is what I mean by "focussing one's attention upon some aspect": it does not mean ignoring the other aspects, it is just doing justice to the fact that from this aspect's point of view, the other is irrelevant. It is being one- and multiple-track minded simultaneously.

      Dijkstra posits that a characteristic of what he calls "intelligent thinking" is the tendency to practice a "separation of concerns". By this he means thinking about concepts separate of one another for the sake of their own consistency, rather than simultaneously, which doesn't help in ordering your thinking.

  3. Sep 2020
    1. React Aria separates the behavior and accessibility implementation for many common UI components out into React Hooks, which enables them to be reused easily between design systems. You remain in complete control over the rendering and styling aspects of your components, but get most of the behavior, accessibility, and internationalization support for free.
    1. what may be nice here would be to allow the user to specify an event to run validation with, and to remove it from the exported handleChange. This way handleChange is responsible exclusively for updating the value in the store, and actions are responsible for updating the error state.
  4. Jul 2020
    1. As a result, web browsers can provide only minimal assistance to humans in parsing and processing web pages: browsers only see presentation information.
    1. The key to successfully creating reusable components using both render props and scoped slots is being able to correctly separate behavior from presentation. Each time you create a new UI component, think “What is the core behavior of this component? Can I use this anywhere else?”
  5. May 2020
    1. The task of "making a thing satisfying our needs" as a single responsibility is split into two parts "stating the properties of a thing, by virtue of which it would satisfy our needs" and "making a thing guaranteed to have the stated properties". Business data processing systems are sufficiently complicated to require such a separation of concerns and the suggestion that in that part of the computing world "scientific thought is a non-applicable luxury" puts the cart before the horse: the mess they are in has been caused by too much unscientific thought.

      Dijkstra suggested that instead of concerning ourselves with a software system that meets the user's needs, we should first separate our concerns.

      We should first concern ourselves with the user's needs and draw up careful specifications – properties to which the system should adhere should it satisfy the user's needs.

      With those specifications in hand we can concern ourselves with making a system guaranteed to have stated properties.

      The problem with this thinking, which the software industry would later discover, is that a user's needs cannot be accurately or completely determined before building the system. We learn more about what is needed by the process of building.

      This is an instance of the [[Separation of concerns]] not working.

      This is also why the industry has settled on a technique to build iteratively (Agile), always leaving the option open to change course.

    2. Some time ago I visited the computing center of a large research laboratory where they were expecting new computing equipment of such a radically different architecture, that my colleagues had concluded that a new programming language was needed for it if the potential concurrency were to be exploited to any appreciable degree. But they got their language design never started because they felt that their product should be so much like FORTRAN that the casual user would hardly notice the difference "for otherwise our users won't accept it". They circumvented the problem of explaining to their user community how the new equipment could be used at best advantage by failing to discover what they should explain. It was a rather depressing visit.... The proper technique is clearly to postpone the concerns for general acceptance until you have reached a result of such a quality that it deserves acceptance. It is the significance of your message that should justify the care that you give to its presentation, it may be its "unusualness" that makes extra care necessary.

      When you've developed an idea, you will typically want to communicate that idea so that it can be understood and used more generally. Dijkstra calls this reaching "general acceptance".

      To do so, you must communicate the idea in a way so that it can be properly understood and used. For certain ideas this becomes a challenging problem in and of itself.

      Many forgo this challenge, and instead of figuring out what new language they need to invent to most accurately communicate the idea, they use legacy language and end up communicating their idea less effectively, in pursuit of general acceptance.

      Dijkstra says that the proper way of dealing with this dilemma is to separate your concerns. You separate your concern of the solution from the concern of communicating the solution.

      When you've reached a solution that is of such high quality that it deserves communicating – and only then – do you concern yourself with its presentation.

    1. presentation was nearly always considered separately, rather than being embedded in the markup itself
    2. This concept is variously referred to in markup circles as the rule of separation of presentation and content, separation of content and style, or of separation of semantics and presentation.
    3. First proposed as a somewhat less unwieldy catchall phrase to describe the delicate art of "separating document structure and contents from semantics, presentation, and behavior"
  6. Apr 2020
  7. Mar 2020
    1. InanearlierversionofKyberweinstantiatedH,G,andPRFallwithSHAKE-256.WedecidedtochangethistodierentfunctionsfromtheFIPS-202familytoavoidanydomain-separationdiscussion.

      Random oracle cloning by using different hash functions.

    1. These domain separators have bit patterns (0x5F=01011111,0x96=10010110) that were chosen to make it hard to use individual or consecutive bit flipping attacks to turn oneinto the other

      Interesting point when choosing prefixes. Sounds like this is meant to harden against fault injection.

  8. Dec 2019
  9. Nov 2019
    1. React Native has also used this pattern in TouchableWithoutFeedback
    2. we use a LOT of injector components to abstract out logic and nicely separate concerns like style, animation, and interactions from our layout components.
    1. optical nanostructures, surface enhanced Raman spectroscopy, flow cytometry, etc.) have shown promise as sensitive detection methods, they typically process only small, relatively clean samples. The true bottleneck to rapid detection methods remains the separation of a target analyte from a large complex matrix.
  10. Oct 2019
    1. Rack middleware is more than "a way to filter a request and response" - it's an implementation of the pipeline design pattern for web servers using Rack. It very cleanly separates out the different stages of processing a request - separation of concerns being a key goal of all well designed software products.
    1. “There’s no uniform process for determining parental fitness,” and the child's best interest, said Laura Peña, the attorney who authored the Texas Civil Rights Project's report and represented Perez-Domingo.That’s a high-stakes determination that Border Patrol agents are not equipped to make, Peña and other immigrant advocates told The World. CBP’s justifications for separating families are often vague or unsubstantiated, and could violate the Ms. L court order, they say.“We are seeing an overuse of separations based on what they call ‘law enforcement’ purposes,” said Eleanor Acer, senior director for refugee protection at Human Rights First. “And in some cases, there is really no basis for that. There’s no process for any of this, or independent review for any of this.”

      I agree with Laura Pena an attorney and author of the Texas Civil Rights Project as well with Eleanor Acer Sr Director for the Refugee protection at Human rights first; Border patrol agent have been given too much power to determine if the adult accompanying the child is related or fit to parent with out endangering the minor. where is the proof or basis for this decision?

  11. Apr 2018
    1. Nay if we may openly speak the Truth and as becomes one Man to another; neither Pagan, nor Mahumetan, [59] nor Jew, ought to be excluded from the Civil Rights of the Commonwealth, because of his Religion.158

      I was taken by just how clearly Locke, in the 17th century, speaks in support of religious diversity and a separation between church and state (I highlighted many remarks and passages in this work). This will be a powerful document to allow students to read in conjunction with the first amendment.

  12. Jul 2017
  13. Oct 2016
    1. The world, like your mind, can be a terrifying place to be. Its appearances are frightening and threatening, and it is in chaos with great, insurmountable problems-just like your mind.

      The two reciprocal conjugate artificial realities:

      • the outer virtual world (The Separation) and
      • the inner virtual world (the personal mind)
    2. The more you try to be God without God, the more isolated, alone and estranged you are.

      Hell is separation. Hell is being disconnected from God. And this disconnection can lead to deeper and deeper states of fear, anger and depression.

      http://www.newmessage.org/wiki/Hell

    3. People want to be God without God. That is what has produced the world.
  14. Dec 2015
    1. RAJ: This would mean that the conscious experience of Being is not existent someplace in an objective, three-dimensional universe. It means that the Universe of Mind is peopled with infinite ideas which are perfectly tangible to Consciousness. Therefore, they are not bodiless in the sense of having no visible, tangible outline, form, or colour. It means that everything is identified and identifiable, minus the finite sensation of space and time, minus the sense of separation between subject and object, which is unavoidable in the three-dimensional frame of reference. It is also minus the sense of the beholder being located somewhere in that which is beheld. Man is as incorporated as God, and yet “all is infinite Mind and Its infinite manifestation.” Mind is never minus Its manifestation.

      Conscious experience of Being is not found in the objective 3d universe.

      Reality is found in the Universe of Mind that is peopled with infinite ideas that are perfectly tangible to Consciousness. There is no sensation of space and time or sense of separation between subject and object.

  15. Nov 2015
    1. RAJ: Paul, that statement was made within the illusion of three-dimensional existence. In the first place, there is no man separate from God for God to give anything to. Secondly, it is only from within the finite frame of reference that there can seem to be an “earth” separate from “man” for man to have dominion over. Any apparent success that the human concept (ego) has of being able to exercise dominion over an earth “out there” only succeeds in further deepening the illusion that life is going on objectively.

      Raj's description of Being and wholeness is so completely divergent to that of my lived experience of my world that I'm beginning to get a deeper appreciation for a statement he made earlier -

      No matter what you believe, it's wrong.

    2. When you are observing the three-dimensional universe, and you are interpreting it as existing and functioning on its own, then substance, as you are seeing it, has absolutely nothing to do with Substance as It Is. The flaw in your interpretation—the distortion of this partial or finite view—causes what is seen, heard, felt, tasted, and smelled to seem to be capable of sickness, decay, and death. These are dysfunctions which the Actuality of what you see, hear, taste, smell, and feel is totally incapable of. The shift we have been discussing for the past few months involves a shift of the point of awareness from an objective placement to a subjective placement, wherein each and every Actual idea of Mind is experienced and recognized as being absolutely mental.

      3d Perception of Reality is a partial or finite view that includes the distortion of sickness and death that is not present in Reality.

      To shift perception from 3d Illusion to what is Real involves a shift in awareness from an objective to subjective placement where every Actual idea of Mind is experienced as being absolutely mental.

    1. RAJ: Very well, Paul. I want you to consider the fact that “pedestals” are for show. They exist for the purpose of exhibiting whatever is resting upon them. As a matter of fact, the pedestal itself has become an object of art. I want you to consider the fact that a pedestal is used to set something apart from everything else. It is a divisive structure, three-dimensionally speaking. It is also divisive from an inner standpoint, wherein it equates with “ego”—”a liar and the father of it.“1 It is the liar, in that it holds up that which is not separate and says, “This is separate.” It is the father of the lie, in that what it holds up as separate is concocted of its own fantasy. The pedestal, together with what it shows off, is total illusion. One truly does not exist without the other.

      The pedestal is used as metaphor for ego and specialness. It is divisive in its claims as separate a thing that is not separate.

      The pedestal along with that which it holds as separate, is total illusion.

    1. RAJ: Separateness is a three-dimensional concept, Paul.

      Paul is attempting to clarify the meaning of Oneness and Being in his experience (and mine!!) that he is having a conversation with Raj, a seemingly separate being.

      The whole section is about that.

    1. You have been concerned in the last few days that you are not making the connection between what I have been discussing with you and your daily experience. The simple fact is that you have been trying to relate infinite ideas to finite beliefs. There is no connection. There is no connection between Mind and Its manifestation. They are one. It is only from the standpoint of ego—of finite, three-dimensional misperception—that there can seem to be a “connection.” Since ego separates itself from what it sees, it divides things into subject and object, “in here” and “out there,” me and thee, and all the rest of the dualism. This prompts the attempt to manipulate all of these disconnected aspects, so that they will harmonize in such a way as to not destroy the basic illusion of the existence of “ego.” Thus, from the three-dimensional standpoint, it seems obvious that the misidentification of Identity called “ego” must become, do, initiate, manipulate, and achieve. One cannot bring these endeavors into that Place where Self is properly identified and experienced as Conscious Being or Fourth-dimensional Man, since the basic illusion of separateness has no existence there.

      Quote: Only from the standpoint of ego can there seem to be a "connection".

      Quote: There is no connection between Mind and its manifestation. They are one.

      The ego must become, do, initiate, manipulate, and achieve in order to find a connection between disconnected parts. These endeavors are not aspects of Conscious Being because the illusion of separation does not exist there.

  16. Mar 2015
    1. Therefore, I learned — and learned well — that forgiveness is an essential key to healing. The opposite of forgiveness is judgment, and judgment always creates separation and guilt. Judgment will evoke a sense of guilt in the one who has been judged, unless, of course, they are perfectly awake. But more than this, each time that you judge anything or anyone, you have literally elicited guilt within yourself, because there is a place within you, yet still, that knows the perfect purity of your brother and sister, and sees quite clearly that all things within the human realm are either the extension of Love, or a cry for help and healing.
  17. Feb 2014
    1. the Persians claim Asia for their own, and the foreign peoples that inhabit it; Europe and the Greek people they consider to be separate from them.

      Hdt. 1.4 The Persians separate themselves distinctly as people of Asia from the people in Europe.