97 Matching Annotations
  1. Last 7 days
  2. Dec 2019
  3. Nov 2019
    1. So the main thing this gives us is a way to set indeterminate property of input via an indeterminate property?

      This is misnamed. Doesn't actually give us a tri-state checkbox. Just a binary checkbox.

    1. input.indeterminate = indeterminate

      So the main thing this gives us is a way to set indeterminate property of input via an indeterminate property?

      Not sure how that supposedly gives us a tri-state checkbox.

    1. Instead of using the empty_data option – which is only called if we create an object, but not if we update it – we will implement a custom data mapper. Symfony's data mappers are responsible for mapping the data of a form to its fields and back. For our MoneyType, Symfony's default data mapper will call the following methods when we display a form with an existing Money instance: $form->get('amount')->setData($money->getAmount()); $form->get('currency')->setData($money->getCurrency()); The properties of the Money are copied to the form simply by calling the appropriate getters. When we submit the form, the data mapper inverts that behavior: $money->setAmount($form->get('amount')->getData()); $money->setCurrency($form->get('currency')->getData()); That's where the data mapper fails. The setters setAmount() and setCurrency() don't exist. To create a custom data mapper we need to implement DataMapperInterface. Let's look at this interface: namespace Symfony\Component\Form; interface DataMapperInterface { /** * Maps properties of some data to a list of forms. * * @param mixed $data Structured data. * @param FormInterface[] $forms A list of {@link FormInterface} instances. */ public function mapDataToForms($data, $forms); /** * Maps the data of a list of forms into the properties of some data. * * @param FormInterface[] $forms A list of {@link FormInterface} instances. * @param mixed $data Structured data. */ public function mapFormsToData($forms, &$data); } These methods correspond to the two previous code blocks. The method mapDataToForms() calls setData() on all passed forms by reading the passed $data. Conversely, mapFormsToData() updates $data by reading the data of the passed forms.

      This is so important & useful, when working in DDD & immutability, where setters are avoided.

  4. Oct 2019
  5. Sep 2019
    1. types.refinement might be what you're looking for, you could combine that with for example react-final-form. it is not depending on redux anymore. a form component of react-final-form wrapped by an @observer and using an action within onSubmit callback of it to actually persist the state has worked out well for me recently.
  6. Aug 2019
    1. Designers can group related fields into sections. If your form has more than six questions, group related questions into logical sections. Don’t forget to provide a good amount of white space between sections to distinguish them visually.Generally, if your form has more than six questions, it’s better to group related questions into logical sections. Put things together that make sense together. (Large preview)
    2. This rule has a few exceptions: It’s helpful to validate inline as the user is typing when creating a password (to check whether the password meets complexity requirements), when creating a user name (to check whether a name is available) and when typing a message with a character limit.
    3. Ideally, inline validation messages should appear around 500 to 1000 milliseconds after the user has stopped typing or after they’ve moved to the next field.
  7. Feb 2019
    1. You know very well 'tii-inlinitcly better lo be good than to .�eem so.

      This separation of the inner self (human) versus how others interpret your humanity is still audience focused (as mentioned above), but seems antithetical to feminism. One of the ways to receive equal treatment is to be respected--to "seem" good or, at least, worthy of respect.

  8. Oct 2018
  9. Mar 2018
    1. By asking questions, the listeners feel that they have a choice to say no and thus are not offended by your request. In Japanese, you should also ask questions when you ask for a favor.

      When you ask a question, you give the other person(s) the choice to say "Yes" or "No." This is much more polite than any order using 下さい.

  10. Jan 2018
  11. Sep 2017
    1. Their path to that goal just looks—well, sounds—a bit different. It’s less a reinvention of the wheel, more a technological advancement. “The successful long-form print piece, the successful television documentary, the successful podcast will all be built around storytelling and narratives of people who are affected by what’s being investigated,” says Stephen Smith, executive editor and host of APM Reports.

      The medium will change, the basics of journalism and storytelling have not. Now all we need is CNN to do more storytelling and use AJ+ for some source material.

  12. Feb 2017
  13. Jan 2017
    1. To me, that sense of complete commensurability between form and content at the level of the individual sentence is really what writing is all about.

      Power's sentence-level interest: form and content

  14. May 2016
    1. 26This Temple, being in My Image and Likeness, and composed of My Thought Substance,surrounding and clothing My Idea, is consequently your Real body. It is therefore indestructible,immortal, perfect. It is My complete, imagined (imaged in) Thought, containing My LivingEssence, awaiting the time when it can come into outer expression and take on material form

      The body as a temple...

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

  16. Nov 2015
    1. As things seem to take on some definition in our life, I want you to beware of the idea that the form which is taking shape is in any way connected with You as a product of your intellect, or your good sense, or you, yourself, in any way. You must remain clear in the fact that form is fluid and not fixed, that it serves to identify what your Being is being. You must remember that if the form became “fixed,” that your Being would become fixed, static, immovable, and unmoving. And, thus, it would cease to be Being.

      Form is related to Being in that it is an expression of what Being is being.

      Beware of the idea (Belief) that forms taking shape in your life are in anyway connected with you - for example a job, house, marriage, family, car, etc.

      When you identify yourself with form you are acting as the pedestal, lost in illusion, insisting the form is separate from all other forms and special.

      Form is always changing because it is an expression of Being infinitely expanding.

    1. Form does not supply Being with anything, whereas Being supplies Itself with all form. It is the initial misidentification of form as function that fouls everything up. Our limited viewpoint, taking itself as the center and circumference, is the flaw.

      It is when I identify with form that I loose sight of the truth of who I am which is Being.

    2. Form does not supply Being with anything, whereas Being supplies Itself with all form. It is the initial misidentification of form as function that fouls everything up. Our limited viewpoint, taking itself as the center and circumference, is the flaw.

      The identification of Form as function is the Error. Being supplies itself with all form, It is the Alpha and Omega. The Belief that Form is the center and circumference is the flaw.

  17. Feb 2015
  18. Nov 2013
    1. But we produce these representations in and from ourselves with the same necessity with which the spider spins. If we are forced to comprehend all things only under these forms, then it ceases to be amazing that in all things we actually comprehend nothing but these forms.

      All that we comprehend exists in context to the forms and concepts we create and the webs we weave.

    2. schema

      definition: • (in Kantian philosophy) a conception of what is common to all members of a class; a general or essential type or form.

    3. We obtain the concept, as we do the form, by overlooking what is individual and actual; whereas nature is acquainted with no forms and no concepts, and likewise with no species, but only with an X which remains inaccessible and undefinable for us.

      That which is beyond rhetoric is beyond our conceptual reach

    4. tautology

      Definition 3: Logic a statement that is true by necessity or by virtue of its logical form.

  19. Oct 2013
    1. The Epilogue has four parts. You must (1) make the audience well-disposed towards yourself and ill-disposed towards your opponent (2) magnify or minimize the leading facts, (3) excite the required state of emotion in your hearers, and (4) refresh their memories.
    1. Chapter 13 (1414b) (B) Arrangement. A speech has two essential parts: statement and proof. To these may be added introduction and epilogue. Chapter 14 (1415a, 1415b, 1416a) Introduction. The introduction corresponds to the prologue in poetry and the prelude in flute-music. The most essential function and distinctive property of the introduction is to indicate the aim of the speech. An introduction may (1) excite or ally prejudice; (2) exalt or depreciate. In a political speech an introduction is seldom found, for the subject is usually familiar to the audience.

      Not much has changed.