52 Matching Annotations
  1. Last 7 days
  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:
    3. 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.
    1. React guarantees that setState function identity is stable and won’t change on re-renders. This is why it’s safe to omit from the useEffect or useCallback dependency list.
  3. Oct 2019
    1. export function A(param: string): void export function A(param: { param: string, otherProp?: string }): void export function A(paramOrObj: string | { param: string, otherProp?: string } = { param: "initial"}): void {
    1. async function createRequest( url: URL | string, { az, queries, ...parameters }: Params & { az: "text" } ): Promise<string>; async function createRequest<R>( url: URL | string, { az, queries, ...parameters }: Params & { az?: "json" } ): Promise<R>; async function createRequest<R>( url: URL | string, { az, queries, ...parameters }: Params ): Promise<R | string> {
    1. the generator and discriminator losses derive from a single measure of distance between probability distributions. In both of these schemes, however, the generator can only affect one term in the distance measure: the term that reflects the distribution of the fake data. So during generator training we drop the other term, which reflects the distribution of the real data.

      Loss of GAN- How the two loss function are working on GAN training

  4. Sep 2019
    1. // If we want to perform an action, we can get dispatch from context. const dispatch = useContext(TodosDispatch);
  5. Jul 2019
    1. linear regression function

      This is linear regression model. Function is the deterministic (systematic) part of it without the error term.

    1. Note that, three often used transformations can be specified using the argument fun: “log”: log transformation of the survivor function, “event”: plots cumulative events (f(y) = 1-y). It’s also known as the cumulative incidence, “cumhaz” plots the cumulative hazard function (f(y) = -log(y))
    1. Thesurvival function gives,for every time,the probability of surviving(or not experiencing the event) up to that time.The hazard function gives the potential that the event will occur, per time unit, given that an individual has survived up to the specified time.
    1. 8.3.2 Business Function A business function is a collection of business behavior based on a chosen set of criteria (typically required business resources and/or competencies), closely aligned to an organization, but not necessarily explicitly governed by the organization. Just like a business process, a business function also describes internal behavior performed by a business role. However, while a business process groups behavior based on a sequence or flow of activities that is needed to realize a product or service, a business function typically groups behavior based on required business resources, skills, competencies, knowledge, etc. There is a potential many-to-many relation between business processes and business functions. Complex processes in general involve activities that offer various functions. In this sense a business process forms a string of business functions. In general, a business function delivers added value from a business point of view. Organizational units or applications may coincide with business functions due to their specific grouping of business activities. A business function may be triggered by, or trigger, any other business behavior element (business event, business process, business function, or business interaction). A business function may access business objects. A business function may realize one or more business services and may be served by business, application, or technology services. A business role may be assigned to a business function. The name of a business function should clearly indicate a well-defined behavior. Examples are customer management, claims administration, member services, recycling, or payment processing. Figure 57: Business Function Notation

      Definition

  6. Dec 2018
  7. Oct 2018
    1. In contrast to his concept of a simple circular orbit with a fixed radius, orbitals are mathematically derived regions of space with different probabilities of having an electron.

      In this case, the QM model allows for probabilistic radii, not fixed radii, and the quantization is the energy level. An electron with principal quantum number n = 2 will always have quantized energy corresponding to \( E = R(1/n^2) \), but the exact minimal and maximal radial distance from the nucleus is not specified as in the Bohr model of the atom. Similar to the Bohr model though, the most probable radial distance is quantifiable, and that is the radius the electron is most likely to inhabit, however it will be found elsewhere at other times.

  8. Mar 2018
    1. if i != 0

      这个部分:

      if i != 0
      

      会被 compiler 自动解析为 PF 的 isDefinedAt() 函数,这个函数返回 boolean,用来确定 PF 的定义域。

    2. a val function, all you’re really doing with code like this is assigning a variable name to an anonymous function

      val function like

      val f = (a:Int, b:Int) => a+b
      

      就是定义了一个 literal function, 然后给他一个名字 : f

    3. A block of code with one or more case expressions is a legal way to define an anonymous function

      用 case 构建 literal function

  9. Nov 2017
    1. To understand his duties to his neighbours, & country, and to discharge with competence the functions confided to him by either.

      I agree with this statement because even though educating the youth is important there are other things in life that are more significant to being a person. In this case, it mentions how crucial it is for the person to work with others to achieve something greater. In addition, it states that we have to be together as a country and help each other in times of need. This can be related to current day such as voting and self run student government and honor system. -Alexander An

  10. Oct 2017
    1. len

      len(s) is built-in function

      Return the length (the number of items) of an object. The argument may be a sequence (such as a string, bytes, tuple, list, or range) or a collection (such as a dictionary, set, or frozen set).

  11. Jul 2017
    1. Partial loss-of-func- tion alleles cause the preferential loss of ventral structures and the expansion of remaining lateral and dorsal struc- tures (Figure 1 c) (Anderson and Niisslein-Volhard, 1988). These loss-of-function mutations in spz produce the same phenotypes as maternal effect mutations in the 10 other genes of the dorsal group.

      This paper has been curated by Flybase.

    1. ideologies are systems of beliefwhich:legitimate the class-based system of production by making it appear right and just, and/orobscure the reality of its consequences for those involved.

      A set of beliefs that justifies the division of labor, wealth and social relations in society. They act to explain away the real negative experiences with the system it underlies while glorifying it. Functions to maintain subordination of the productive class to the owner class.

  12. Feb 2017
    1. SVM only cares that the difference is at least 10

      The margin seems to be manually set by the creator in the loss function. In the sample code, the margin is 1-- so the incorrect class has to be scored lower than the correct class by 1.

      How is this margin determined? It seems like one would have to know the magnitude of the scores beforehand.

      Diving deeper, is the scoring magnitude always the same if the parameters are normalized by their average and scaled to be between 0 and 1? (or -1 and -1... not sure of the correct scaling implementation)

      Coming back to the topic -- is this 'minimum margin' or delta a tune-able parameter?

      What effects do we see on the model by adjusting this parameter?

      What are best and worst case scenarios of playing with this parameter?

  13. Sep 2016
    1. ategory consists of objects and arrows that go between them

      Based on the arrow being a morphism/function (see below), it seems that the domain and the co-domain should be able to be disjoint.

      Also, here A->B and A->C; the dual map means that an arrow is not a function.

  14. Jun 2016
  15. screen.oxfordjournals.org screen.oxfordjournals.org
    1. can easily imagine a culture wherediscourse would circulate without any need for an author. Dis-courses, whatever their status, form, or value, and regardless of ourmanner of handling them, would unfold in a pervasive anonymity.No longer the tiresome repetitions: 'Who is the real author?' 'H

      Great epigraph for article on scientific authorship

      We can easily imagine a culture where discourse would circulate without any need for an author. Discourses, whatever their status, form, or value, and regardless of our manner of handling them, would unfold in a pervasive anonymity. No longer the tiresome repetitions: 'Who is the real author?' 'Have we proof of his authenticity and originality?' 'What has he revealed of his most profound self in his language?' New questions will be heard: 'What are the modes of existence of this discourse?' 'Where does it come from; how is it circulated; who controls it,' 'What placements are determined for possible subjects?' 'Who can fulfill these diverse functions of the subject?' Behind all these questions we would hear little more than the murmur of indifference: 'What matter who's speaking?'

    2. author-function' is tiedto the legal and institutional systems that circumscribe, determine,and articulate the realm of discourses; it does not operate in auniform manner in all discourses, at all times, and in any givenculture; it is not defined by the spontaneous attribution of a textto its creator, but through a series of precise and complex pro-cedures; it does not refer, purely and simply, to an actual individualinsofar as it simultaneously gives rise to a variety of egos and to aseries of subjective positions that individuals of any class may

      Four characteristics of the "author-function":

      1. "the 'author-function' is tied to the legal and institutional systems that circumscribe, determine,and articulate the realm of discourses;"
      2. "it does not operate in a uniform manner in all discourses, at all times, and in any given culture";
      3. "it is not defined by the spontaneous attribution of a text to its creator, but through a series of precise and complex procedures";
      4. it does not refer, purely and simply, to an actual individual in so far as it simultaneously gives rise to a variety of egos and to aseries of subjective positions that individuals of any class may come to occupy"
    3. ight object that thisphenomenon only applies to novels or poetry, to a context of 'quasi-discourse', but, in fact, all discourse that supports this 'author-function' is characterized by the plurality of egos. In a

      There you go: he means that grammar changes in all texts that support the "author-function". Somehow he distinguishes this from simply "poetic texts," but I'm not sure why or how.

    4. ave a different bearing on texts with an author and 23on those without one. In the latter, these 'shifters' refer to a realspeaker and to an actual deictic situation, with certain exceptionssuch as the case of indirect speech in the first person. When dis-course is linked to an author, however, the role of 'shifters' is morecomplex and variable. It is well known that in a novel narrated inthe first person, neither the first person pronoun, the presentindicative tense, nor, for that matter, its signs of localization referdirectly to the %vriter, either to the time when he wrote, or to thespecific act of writing; rather, they stand for a 'second self whosesimilarity to the author is never fixed and undergoes considerablealteration within the course of a single book. It

      Grammar has different meaning with fictional author and non-author texts: in the second case (not fiction), the grammar is deictic; in the former, it is literary.

      This is a really interesting point, by I think MF is confusing terms a little. the issue has to do with the deictic nature of the text rather than the availability of an author-attribution (unless he means "literary author of the kind I've been discussing as an author-function").

    5. First, they are objects of appropriation; the form of propertythey have become is of a particular type whose legal codificationwas accomplished some years ago. It is important to notice, aswell, that its status as property is historically secondary to thepenal code controlling its appropriation. Speeches and books wereassigned real authors, other than mythical or important religiousfigures, only when the author became subject to punishment andto the extent that his discourse was considered transgressive. Inour culture - undoubtedly in others as well - discourse was notoriginally a thing, a product, or a possession, but an action situatedin a bipolar field of sacred and profane, lawful and unlawful, reli-gious and blasphemous. It was a gesture charged with risks longbefore it became a possession caught in a circuit of property values.But it was at the moment when a system of ownership and strictcopyright rules were established (toward the end of the eighteenthand beginning of the nineteenth century) that the transgressiveproperties always intrinsic to the act of writing became the force-ful imperative of literature. It is as if the author, at the momenthe was accepted into the social order of property which governsour culture, was compensating for this new status by revivingthe older bipolar field of discourse in a systematic practice of trans-gression and by restoring the danger of writing which, on anotherside, had been conferred the benefits of property

      Importance of "author" for commerce and control. This is true of scientific writing, but in a slightly different way. The type of thing he is talking about here has to do with Oeuvre.

    6. nsequently, we cansay that in our culture, the name of an author is a variable thataccompanies only certain texts to the exclusion of others: a privateletter may have a signatory, but it does not have an author; acontract can have an underwriter, but not an author; and, similarlyan anonymous poster attached to a wall may have a writer, buthe cannot be an author. In this sense, the function of an author isto characterize the existence, circulation, and operation of certaindiscourses within a society

      Very useful statement of where foucault applies in this case: to literary discussion, not advertising, not letters, and so on.

      Science would fall into the "not this" category, I suspect.

    7. We can conclude that, unlike a proper name, which moves fromthe interior of a discourse to the real person outside who producedit, the name of the author remains at the contours of texts -separating one from the other, defining their form, and character-izing their mode of existence. It points to the existence of certaingroups of discourse and refers to the status of this discourse withina society and culture. The author's name is not a function of aman's civil status, nor is it fictional; it is situated in the breach,among the discontinuities, which gives rise to new groups of dis-course and their singular mode of existence. C

      Again, an "Implied Author" type idea that is completely not relevant to science--although ironically, the H-index tries to make it relevant. In science, the author name is not the function that defines the text; it is the person to whom the credit it to be given rather than a definition of Oeuvre. This is really useful distinction for discussing what is different between the two discourses.

    8. The name of an author poses all the problems related to thecategory of the proper name. (Here, I am referring to the work ofJohn Searle,3 among others.) Obviously not a pure and simplereference, the proper name (and the author's name as well) hasother than indicative functions. It is more than a gesture, a fingerpointed at someone; it is, to a certain extent, the equivalent of adescription. When we say 'Aristotle', we are using a word thatmeans one or a series of definite descriptions of the type: 'theauthor of the Analytics', or 'the founder of ontology', and so forth.Furthermore, a proper name has other functions than that of sig-nification: when we discover that Rimbaud has not written LaChasse spirituelle, we cannot maintain that the meaning of theproper name or this author's name has been altered. The propername and the name of an author oscillate between the poles ofdescription and designation, and, granting that they are linked towhat they name, they are not totally determined either by theirdescriptive or designative functions. Yet - and it is here that thespecific difficulties attending an author's name appear - the linkbetween a proper name and the individual being named and the linkbetween an author's name and that which it names are not iso-morphous and do not function in the same way; and these dif-ferences require clarification.

      And, of course, it is an economic and reputational thing as well

      What is the purpose of an author's name?

    9. It is obviously insufficient to repeat empty slogans: the authorhas disappeared; God and man died a common death. Rather, weshould re-examine the empty space left by the author's disappear-ance, we should attentively observe, along its gaps and fault lines,its new demarcations, and the reapportionment of this void; weshould await the fluid functions released by this disappearance.In this context we can briefly consider the problems that ari

      It is obviously insufficient to repeat empty slogans: the author has disappeared; God and man died a common death. Rather, we should re-examine the empty space left by the author's disappearance, we should attentively observe, along its gaps and fault lines,its new demarcations, and the reapportionment of this void; we should await the fluid functions released by this disappearance.In this context we can briefly consider the problems that arise in the use of an author's name. What is the name of an author? How does it function? Far from offering a solution, I will attempt to indicate some of the difficulties related to these questions.

      Great epigraph for an article on scientific authorship. Also relevant, especially the bottom bit.

    10. Another thesis has detained us from taking full measure of the 17author's disappearance. It avoids confronting the specific event thatmakes it possible and, in subtle ways, continues to preserve theexistence of the author. This is the notion of icriture. Strictlyspeaking,.it should allow us not only to circumvent references toan author, but to situate his recent absence. The conception oficriture, as currently employed, is concerned with neither the actof writing nor the indications, as symptoms or signs within a text,of an author's meaning; rather, it stands for a remarkably profoundattempt to elaborate the conditions of any text, both the conditionsof its spatial dispersion and its temporal deployment

      écriture is a fasle way of stepping around the problem in literary criticism, because it simply defers the identity of the author, without stopping treating the author as a unit. But it might be a solution to science writing, in that a credit system, for example, doesn't need an author-function to exist.

    11. en now, when we studythe history of a concept, a literary genre, or a branch of philo-sophy, these concerns assume a relatively weak and secondaryposition in relation to the solid and fundamental role of an authorand his works

      On extent to which we assume the author is real and solid even if we are doubtful about the nature of the field in which the author is working.

  16. Dec 2015
    1. If “form follows function,” then it is imperative that your attention be on the function and not the form. What is the Function which you see as the unfolding of daily activities? It is the unfolding of Your Being, identifying and fulfilling Itself as Itself. Activity, money and profit are all aspects of that identification. Money—income—is not the end goal of it all. Every aspect of your day identifies your Being, and not any one is more important or less important than another. Work does not generate income. Being generates work and income and leisure and growth. Yet, not any one of these things exist for their own independent purpose or identity. They identify Being, and Being is the Alpha and Omega—that which is and is identifying Itself completely and successfully. It is the flow of Being which is the Function. It is identified by the forms which constitute your daily activities. Your need is to identify yourself as Being and not as form.

      The Function of your daily activities is the unfolding of Your Being Identifying itself as Itself.

      Every aspect of your day identifies your Being and not any one part is more important than another.

      The Flow of Being is the Function. It (the Flow?) is identified by the forms of your daily activities.

      Your Need is to identify yourself as Being, not form.

  17. Nov 2015
    1. Remember that every activity, and every apparent result of that activity in your daily affairs, does not constitute a cause and effect at all. More properly, it is the apparent activities and their apparent results that constitute the “effect” or “form” that follows the Function that is You, Your Being.

      Your activities and their results constitute the effect or form that follows the Function of your Being.

      Being is cause, form is effect.

    2. Every aspect of your day identifies your Being, and not any one is more important or less important than another. Work does not generate income. Being generates work and income and leisure and growth. Yet, not any one of these things exist for their own independent purpose or identity. They identify Being, and Being is the Alpha and Omega—that which is and is identifying Itself completely and successfully. It is the flow of Being which is the Function. It is identified by the forms which constitute your daily activities. Your need is to identify yourself as Being and not as form.

      I love how Raj speaks in such a practical way..."Being generates work and income and leisure and growth."

      And Raj clearly shares that "the flow of Being which is the Function".

    1. PAUL: What is the function of Substance? RAJ: Its function is congruency, integrity, confluency, and inseparable Oneness, the inviolable substantiality of Infinity, of Reality. It is the constituting indivisibility of Conscious Being. It is the Absolute Law of the intelligent, harmonious blending of the infinite manifestations which constitute the experience of being as Conscious Being. Substance is Omnipotence. There is nothing passive, whatsoever, about it. It is the adhesion, cohesion, and attraction which constitute the immutable orderliness of the Totality of Being.

      The function of Substance"is congruency, integrity, confluency, and inseparable Oneness, the inviolable substantiality of Infinity, of Reality. It is the constituting indivisibility of Conscious Being...."

    2. PAUL: How does Substance function? RAJ: It functions by being the omnipresent omniaction of Being. The substance of Mind is Consciousness. The substance of Truth is Principle. The substance of Principle is Intelligence/Law. The substance of Soul is Love. The substance of Love is Life. And the substance of Life is Mind.

      "Substance functions by being the omnipresent omniaction of Being. The substance of Mind is Consciousness. The substance of Truth is Principle. The substance of Principle is Intelligence/Law. The substance of Soul is Love. The substance of Love is Life. And the substance of Life is Mind."

  18. Sep 2015
    1. A function can have multiple parameters or no parameters at all. In the following example, makeNoise does not list any parameter names, whereas power lists two:

      Readress var power after reading chapter, a t m parameters seem most important.

  19. Mar 2015
    1. an objective set for the Sprint that can be met through the implementation of Product Backlog. It provides guidance to the Development Team on why it is building the Increment. It is created during the Sprint Planning meeting. The Sprint Goal gives the Development Team some flexibility regarding the functionality implemented within the Sprint. The selected Product Backlog items deliver one coherent function, which can be the Sprint Goal. The Sprint Goal can be any other coherence that causes the Development Team to work together rather than on separate initiatives.

      an objective set for the Sprint that can be met through the implementation of Product Backlog. It provides guidance to the Development Team on why it is building the Increment. It is created during the Sprint Planning meeting. The Sprint Goal gives the Development Team some flexibility regarding the functionality implemented within the Sprint. The selected Product Backlog items deliver one coherent function, which can be the Sprint Goal. The Sprint Goal can be any other coherence that causes the Development Team to work together rather than on separate initiatives.

  20. Feb 2014
    1. If the Riemann hypothesis is true, Im tn = 0 for all n, and the function f(u), constructed from the primes, has a discrete spectrum; that is, the support of its Fourier transform is discrete. If the Riemann hypothesis is false, this is not the case. The frequencies tn are reminiscent of the decomposition of a musical sound into its constituent harmonics. Therefore there is a sense in which we can give a one-line nontechnical statement of the Riemann hypothesis: "The primes have music in them."

      The frequencies are reminiscent of the decomposition of a musical sound into its constituent harmonics; the primes have music in them.

    1. Functions of case briefing A. Case briefing helps you acquire the skills of case analysis and legal reasoning. Briefing a case helps you understand it. B. Case briefing aids your memory. Briefs help you remember the cases you read (1) for class discussion, (2) fo r end-of-semester review for final examinations, and (3) for writing and analyzing legal problems.

      Briefing a case helps you understand it and acquire skills of:

      • case analysis
      • legal reasoning

      Case briefing is good for:

      • aids memory
      • class discussion
      • end-of-semester review for final exams
      • writing and analyzing legal problems
  21. Oct 2013
    1. As birds are born to fly, horses to run, and wild beasts to show fierceness, so to us peculiarly belong activity and sagacity of understanding

      This little diddy here smacks of Aristotle: what distinguishes humans from all other creatures are their cognitive faculties.