19 Matching Annotations
  1. Apr 2023
    1. ’instruction obligatoire peut être donnée aux enfants âgés de trois à six ans dans un établissement d’accueil soit collectif recevant exclusivement des enfants âgés de plus de deux ans dit “jardin d’enfants” géré, financé ou conventionné par une collectivité publique, soit associatif, ouvert à la date d’entrée en vigueur de la loi n° 2019‑791 du 26 juillet 2019 pour une école de la confiance

      c'est pour favoriser les structures privées et DDSP ?

    2. sur des fondations et sur des associations.

      encore de la DSP

  2. Nov 2022
    1. A SimpleDelegator instance can take advantage of the fact that SimpleDelegator is a subclass of Delegator to call super to have methods called on the object being delegated to. class SuperArray < SimpleDelegator def [](*args) super + 1 end end SuperArray.new([1])[0] #=> 2
  3. Aug 2022
    1. For instance, some projects have time locks so that a coin can’t be used to vote for some period of time after it has been exchanged.

      Similar idea to the"eloboosting" that is happening in esport games like csgo and lol <--this is a great angle to explain the "time lock" mechanism and why it makes sense.

  4. Jul 2022
  5. Feb 2022
  6. Aug 2021
    1. You need to explicitly delegate keyword arguments. def foo(*args, **kwargs, &block) target(*args, **kwargs, &block) end
    2. you can use the new delegation syntax (...) that is introduced in Ruby 2.7. def foo(...) target(...) end
    3. In Ruby 2, you can write a delegation method by accepting a *rest argument and a &block argument, and passing the two to the target method. In this behavior, the keyword arguments are also implicitly handled by the automatic conversion between positional and keyword arguments.
  7. Apr 2021
    1. When we hand things off, there are usually a set of concerns that we communicate explicitly. But as humans, the things that stoke our anxieties and erode our confidence in others are often the tacit concerns that we’ve failed to communicate but somehow expect people to ‘just know’
  8. Mar 2021
    1. Using ::delegates works exactly like the Forwardable module in Ruby, with one bonus: It creates the accessors in a module, allowing you to override and call super in a user module or class.
  9. Feb 2021
    1. One of the main reasons to work with components is re-usability and portability, but also a delegation of responsibilities. Adding a component should be as easy as simply adding the component without having to know the inner workings (or markup) of this component. A consumer should only be aware of the properties, methods and events of a component. In order to style a child component one has to be aware of the markup as well, which violates this 'delegation of responsibility'-principle.
  10. Oct 2020
    1. ToléranceL’école ou le médecin finissent parfois par accepter l’intervention du beau-parent.Sauf délégation d’autorité parentale, le beau-parent n’a aucun droit sur les enfants de son partenaire. La vie commune, l’affection ou, tout simplement, les contraintes du quotidien ne font rien à l’affaire. Pas question de donner un coup de main en allant chercher un petit à l’école ou en l’emmenant chez le médecin. L’instituteur ou le praticien seraient d’ailleurs dans leur droit en fermant la porte au nez de l’intrus. Et ils auraient raison, du moins théoriquement, car leur responsabilité est en jeu (pourtant, une nounou ou une fille au pair, sortes d’aides familiales, est souvent acceptée).>> A lire aussi - Après une séparation, comment bénéficier des aides et allocations de l’EtatFaute d’existence juridique, le beau-parent ne peut donc compter que sur une reconnaissance de fait. Ainsi, le médecin ou la maîtresse d’école qui feint de vous ignorer finira sans doute par vous accepter si vous avez été vu à plusieurs reprises auprès du vrai parent ou, mieux encore, si vous êtes inscrit sur une liste vous autorisant à accompagner l’enfant (liste n’ayant d’ailleurs aucune valeur légale).
    2. Délégation d'autorité parentaleAutorisée par le juge dans des conditions très strictes., Cette procédure judiciaire permet aux parents, séparés ou non, de transférer tout ou partie de leur autorité parentale à un tiers. Elle suppose la signature d’un accord écrit entre le ou les parents et le tiers, appelé "délégataire", accord qui doit être homologué par le juge aux affaires familiales. Le délégataire en question peut être un membre de la famille, un proche digne de confiance, un établissement agréé pour recueillir des enfants ou encore le service départemental de l’aide sociale à l’enfance.
  11. Aug 2020
  12. Jul 2019
    1. “Your most important task as a leader is to teach people how to think and ask the right questions so that the world doesn’t go to hell if you take a day off”.