327 Matching Annotations
  1. Sep 2020
    1. I love how they have this example with plain JS to show how slim and simple it can be even when not using react and react-final-form. It demystifies things so you can see how it works and how it would be if not using React (which in turn helps you appreciate what react/react-final-form do for you).

    1. Form validation is hard. That's why there are so many different form handling libraries for the popular web frameworks. It's usually not something that is built-it, because everyone has a different need and there is no one-fit-all solution.
  2. Aug 2020
    1. Allows batch updates by silencing notifications while the fn is running. Example: form.batch(() => { form.change('firstName', 'Erik') // listeners not notified form.change('lastName', 'Rasmussen') // listeners not notified }) // NOW all listeners notified
  3. Jul 2020
  4. Jun 2020
  5. May 2020
  6. Apr 2020
  7. Mar 2020
    1. The equality of all sorts of human labour is expressed objectively by their products all being equally values; the measure of the expenditure of labour power by the duration of that expenditure, takes the form of the quantity of value of the products of labour; and finally the mutual relations of the producers, within which the social character of their labour affirms itself, take the form of a social relation between the products.

      Every form of particular, useful labor, that which directs physiological energy towards specific outcomes, is grouped under the category of "abstract labor" under capitalism. The magnitude and duration of "abstract labor" is expressed as exchange value in commodities, which brings products into reducible, quantifiable relation to each other. It is because commodities are all equal to each other insofar as they are bearers of quantifiable exchange value that so many forms of human labor are equated as different magnitudes and durations of "abstract labor" (many value-form theorists and value critics have argued that "labor" as such is not a transhistorical category, but only a category under capitalism by virtue of its being the source of exchange value). The distribution of value amongst commodities indexes and organizes the division and distribution of labor, and this is what Marx means when he writes that "the mutual relations of the producers, [...] take the form of a social relation between the products." That "social relation" is the relation between producers, which is determined by the relations of value between commodities produced for the market.

  8. Jan 2020
    1. presents

      In Ben Fowkes translation in the Penguin edition, we find "The wealth of societies…appears as."

      In the German edition, Marx uses the verb erscheint ('scheint' shares an etymological link to the English word, shine.)

      On p. 127, Marx uses the Hegelian expression, Erscheinungsform (form of appearance). In this edition, it is rendered "the phenomenal form."

      Marx uses this term to describe the way that, in order for exchange-values to present an equivalence between two distinct use-values (i.e. x corn, y silk) they must possess some common element of identical magnitude. As exchange-values, commodities "cannot be anything other than the mode of expression, the 'form of appearance' [Erscheinungsform], of a content distinguishable from it," (Karl Marx. Capital, Vol. I, p. 127)

  9. Dec 2019
    1. The beauty of using Google Sheets or another spreadsheet tool for your to do list is that you have so many formatting options. Sometimes I change the color of a cell to indicate that it's high priority. Other times I bold it. And other times I just write IMPORTANT in front of it. Whatever works. But if you like to be more consistent, you can choose colors to indicate specific things: priority, level of effort, type of tasks, or anything else you want to be able to see at a glance. For example, I always highlight a row in blue if I'm going to be out of the office. That way, I don't overschedule the week. And I highlight a row in red if it's a non-negotiable—something I have to do the day it's scheduled because of an external deadline. And because you have text formatting options—which many to do lists don't—you can make your formatting as granular as you'd like. Bold certain types of tasks, italicize others, or even add a border around cells. Whatever stands out to you visually, go with that

      Free-form text formatting has its pros and its cons.

      Pros: It's very flexible. Since it's free-form, you can ad hoc make any new system you want, and designate, say, bold or blue to mean whatever you want it to.

      Cons: No way to enforce the rules you made for yourself. In fact, it may be hard to even remember the rules you made for yourself. You may have to create a key/legend for yourself to be safe.

      This is like why I dislike software where the only way to change font is to manually choose a font. I like it better when you can define a style/class (I think Word can do this, IIRC; and obviously HTML/CSS can), choose how that class should be formatted (font, etc.) and then can style any text with that class. This is a better way to go because classes have semantic meaning. This is the same dilemma I remember facing ~10 years ago when WYM editor was fairly new: It let you select use semantic classes/elements, whereas WYSIWIG editors were the norm (probably still are) and only let you do manual free-form formatting, with no semantic meaning conveyed.

    1. It's not for beginners, but it's extremely flexible once you get a handle on things. If sticking to a system is hard for you, I highly recommend giving this system a try.
    1. There are thousands of to-do list apps out there, in part because no system works perfectly for everyone. I’m not going to say todo.txt is the exception, and that it will work for everyone, because that would be crazy. But todo.txt is the most flexible tool I’ve come across. In part, this is because of the sheer number of clients available, but also because the simplicity lends itself to improvisation.

      First time I've seen improvisation used like this.

    1. The beauty of todo.txt is that it's completely unstructured; the fields you can attach to each task are only limited by your imagination.
  10. 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.

  11. Oct 2019
  12. 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.
  13. 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.
  14. 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.

  15. Oct 2018
  16. 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 下さい.

  17. Jan 2018
  18. 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.

  19. Feb 2017
  20. 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

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

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

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

  24. Feb 2015
  25. 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.

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