3,122 Matching Annotations
  1. Oct 2020
    1. Sometimes, you may be tempted to write that wrapper. Because all your (React or Vue or insert your reactive framework here) instincts tell you so.Resist the temptation. There is a better way. A svelter way. Introducing: the use-directive (a.k.a. “actions”).
    1. There’s an entire category of products commonly known as Platform as a Service (PaaS) that endeavors to make this possible. But, so far, these services have largely fallen short of what developers need. Many of our customers have come to DigitalOcean after their PaaS became too expensive, or after hitting various limitations.
    1. He says that he sees the combination of long form pieces and Q&A as a new level of support. “We used to have level one, which was sending a ticket to the help desk, and it was something we could easily resolve for you. Level two was a more complex problem that maybe required an engineer or specialist from a certain team to figure out. I look at this new system as a level zero.” Before sending us a ticket, folks can search Teams. If they find a question that solves the problem, great. If they need more details, they can follow links to in-depth articles or collections that bring together Q&A and article with the same tags.“
    1. Les élèves ayant débuté leur formation en septembre pourront ainsi changer de secteur professionnel, ou de voie d'orientation en rejoignant la voie générale et technologique s'il s'avère que la formation qu'ils suivent ne leur correspond pas. Ces ajustements se limiteront à la correction des erreurs manifestes d'orientation vers la voie professionnelle, vers un niveau de diplôme ou vers une spécialité.
    1. perhaps, imo this would make more sense. but it would slow down Parcel significantly as packages who don't have a browserslist or something similar will all get compiled (and most packages actually do target commonjs, which makes this prob not such a good idea). Which unfortunately is way too many packages. It would be great if tools like babel actually enforced a similar pattern to Parcel and use browserlist file or package.json instead of allowing defining target env in babel. Or at least not encourage it.
  2. Sep 2020
    1. Actually just returning the loginDaoCall works fine. I dont really get what's different as it is the looked like it was the same instance, but probably not.

      So the posted answer wasn't necessary/correct? Which part of the answer was incorrect/unneeded?

      I wish this OP comment included the full version of code that worked.

      I don't understand this OP comment. Wasn't OP already returning loginDaoCall? So maybe the only thing they could mean is that they just needed to change it to return loginDaoCall.then(...) instead...

      That would be consistent with what the answer said:

      the promise returned by the further .then() does also get rejected and was not handled.

      So I guess the unnecessary part of the answer was adding the return true/false...

    1. concept de « distant reading » proposé par Franco Moretti

      One of the central principles of distant reading is that literary history and literary criticism can be written without necessarily resorting to the kind of careful, sustained reading encounter with individual texts that is fundamental to close reading. Commonly, distant reading is performed at scale, using a large collection of texts. [...] Empirical approaches to literary study are a regular characteristic of distant reading, and are often accompanied by a reliance on quantitative methods » (WIKIPEDIA, « Distant reading, consulté le 30 septembre 2020).

    1. Unfortunately, this simple, lifesaving practice has become part of a political debate that says: If you’re for Trump, you don’t wear a mask; if you’re against Trump, you do... The stakes are much too high for that.”

      Honestly it is upsetting the debate about wether you wear a mask or you don’t because it is not political. You should be wearing a mask and taking precautions because it is literal human lives in danger. And if you don’t want to wear a mask then stay at home.

    1. Many people recently are complaining about bundler performance. But I don’t think any tool is going to solve performance problems. Bundlers can try innovative ideas such as multi-threading and improved caching, but you’re always going to hit a limit. If you’re having performance problems, it’s more likely because you’re not keeping tabs of what you’re importing, and haven’t considered splitting your project into multiple projects.
    1. Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
    2. Web developers are well aware of the mess you can get into with global CSS, and the action of writing <Child class="foo"/> and <div class={_class}>` (or similar) in the child component is an explicit indication that, while taking advantage of all the greatness of style encapsulation by default, in this case you have decided that you want a very specific and controlled "leak", of one class, from one component instance to one component instance.
    1. I can’t sleep at night. Everything requires careful consideration if one is to understand it.Those people, some of whom have been pilloried by the magistrate, slapped in the face by the local gentry, had their wives taken away by bailiffs, or their parents driven to suicide by creditors, never looked as frightened and as fierce then as they did yesterday.The most extraordinary thing was that woman on the street yesterday who spanked her son and said, “Little devil! I’d like to bite several mouthfuls out of you to work off my feelings!” Yet all the time she looked at me. I gave a start, unable to control myself; then all those green-faced, long-toothed people began to laugh derisively. Old Chen hurried forward and dragged me home.He dragged me home. The folk at home all pretended not to know me; they had the same look in their eyes as all the others. When I went into the study, they locked the door outside as if cooping up a chicken or a duck. This incident left me even more bewildered.A few days ago a tenant of ours from Wolf Cub Village came to report the failure of the crops, and told my elder brother that a notorious character in their village had been beaten to death; then some people had taken out his heart and liver, fried them in oil and eaten them, as a means of increasing their courage. When I interrupted, the tenant and my brother both stared at me. Only today have I realized that they had exactly the same look in their eyes as those people outside.Just to think of it sets me shivering from the crown of my head to the soles of my feet.They eat human beings, so they may eat me.I see that woman’s “bite several mouthfuls out of you,” the laughter of those green-faced, long-toothed people and the tenant’s story the other day are obviously secret signs. I realize all the poison in their speech, all the daggers in their laughter. Their teeth are white and glistening: they are all man-eaters. It seems to me, although I am not a bad man, ever since I trod on Mr. Ku’s accounts it has been touch-and-go. They seem to have secrets which I cannot guess, and once they are angry they will call anyone a bad character. I remember when my elder brother taught me to write compositions, no matter how good a man was, if I produced arguments to the contrary he would mark that passage to show his approval; while if I excused evil-doers, he would say: “Good for you, that shows originality.” How can I possibly guess their secret thoughts—especially when they are ready to eat people? Everything requires careful consideration if one is to understand it. In ancient times, as I recollect, people often ate human beings, but I am rather hazy about it. I tried to look this up, but my history has no chronology, and scrawled all over each page are the words: “Virtue and Morality.” Since I could not sleep anyway, I read intently half the night, until I began to see words between the lines, the whole book being filled with the two words—”Eat people.” All these words written in the book, all the words spoken by our tenant, gaze at me strangely with an enigmatic smile.I too am a man, and they want to eat me!

      I think here the madman is raving about cannibalism and fear. The narrator responded by saying that he is treated as if he's insane and kept inside. He's even convinced that his caretakers are working together to dive him to suicide so can remain blameless as they cannibalize him.

    2. Tonight the moon is very bright.I have not seen it for over thirty years, so today when I saw it I felt in unusually high spirits. I begin to realize that during the past thirty-odd years I have been in the dark; but now I must be extremely careful. Otherwise why should that dog at the Chao house have looked at me twice?

      I think at this point in the story the man is hallucinating because he is so paranoid that he believes everybody is suspicious of him for one reason or the other.

    1. Le dernier débat aura lieu sur l'article 5. Il stipule qu'en cas de liste unique pour les élections des parents délégués le vote est supprimé et la liste déclarée élue. Pour C Rilhac c'est un moyen de diminuer le travail des directeurs. Le PS, LFI et le PC soulignent que ce n'est pas pareil d'être élu même si le résultat est le même. Il s'agit de défendre le principe démocratique dans l'école  déjà mise à mal par un directeur sur emploi focntionnel.   Finalement C Rilhac appelle la technologie à son secours. " A titre expérimental, dans les départements volontaires, pour trois ans , en présence d'une liste unique, l'élection des représentants des parents d'élèves a lieu par la voie électronique."
    1. yet when I thought of my beloved Elizabeth, of her tears and endless sorrow, when she should find her lover so barbarously snatched from her, tears, the first I had shed for many months, streamed from my eyes,

      It's interesting to me that Victor only cries when thinking of how upset Elizabeth is going to be when he's the one who's going to die. He fits the whole "man be rational and women emotional" cultural phenomenon of the time to a tee. He's stone faced going into losing battle, but Elizabeth will be just soooooooooo sad and sooooooooo sorrowful. While I'm on the topic, the characterization of Elizabeth TOTALLY fits in while the "passive wife who's in charge of the emotional side of family," to a point where Mary Shelley is a satirist. Also the use of barbarous to describe the Creature is just textbook Othering in the way that demotes the Creature to a irrational and animalistic creature.

    2. They might even hate each other; the creature who already lived loathed his own deformity, and might he not conceive a greater abhorrence for it when it came before his eyes in the female form? She also might turn with disgust from him to the superior beauty of man; she might quit him, and he be again alone, exasperated by the fresh provocation of being deserted by one of his own species.

      A lot of misogyny is radiating from these lines. Victor is implying that his female creation might be so ugly that even his male creation will be offended by her existence one he sees her. But on the other hand, what if his creation isn't her type and just abandon's him? It's interesting to see how much thought Victor puts in when it comes to making a female creation...I thought he was trying to create a new species?

    1. La apropiación social del cono-cimiento es el fundamento de cual-quier forma de innovación, porque el conocimiento es una construcción compleja, que involucra la interacción de distintos grupos sociales (De Greiffy Maldonado, 2010). La producción de conocimiento no es una construc-ción ajena a la sociedad; se desarrolla dentro de ella, a partir de sus intereses, códigos y sistemas. Por otra parte, la innovación entendida como la efectiva incorporación social del conocimiento en la solución de problemas o en el establecimiento de nuevas relaciones, no es más que la interacción entre grupos, artefactos y culturas sociales de expertos y no expertos. La apropiación no es una recepción pasiva; involucra siempre un ejercicio interpretativo y el desarrollo de unas prácticas reflexivas.
    1. À cette fin, comme le prévoit l'article D. 111-8 du Code de l'éducation, les directeurs d'école et les chefs d'établissement doivent communiquer aux associations de parents d'élèves qui en font la demande la liste des parents d'élèves de l'école ou de l'établissement scolaire mentionnant leurs noms, adresses postale et électronique, à la condition que ceux-ci aient donné leur accord exprès à cette communication.
    1. Further discussion can take place when this has a PR.

      That's funny that he mentions a PR being a prerequisite for having further discussion, when elsewhere ( ), someone said that instead of talking about the

      So is a specific proposed implementation (how to built it) necessary/useful in order to have a general discussion about a feature proposal? I would say no.

    1. he will crush[j] your head,(BL)    and you will strike his heel.”

      God curses the serpent after deceiving Eve in the garden, and creates "enmity between [the serpent] and the woman." In the "Harry Potter" series by JK Rowling, the serpent is a symbol of evil, and near the end of the books, is the only piece of evil left to destroy before good can truly be restored.

    1. Afin de mieux promouvoir en télévision un certain nombre de causes sociales, humanitaires et d’intérêt général tout au long de l’année, le Syndicat National de la Publicité TéléVisée (SNPTV) a mis en place pour les associations, ONG et/ou leurs intermédiaires (agences de publicité, agences média) une procédure de traitement de l’ensemble des demandes d’espaces gracieux faites aux grandes chaînes nationales et à leur régie publicitaire.
    1. NoteN° 19.35 – Octobre 2019d’informationd’informationDirectrice de la publication : Fabienne RosenwaldÉdition : Bernard JavetMaquettiste : Frédéric Voirete-ISSN 2431-7632DIRECTION DE L’ÉVALUATION,DE LA PROSPECTIVEET DE LA PERFORMANCEDEPP-DVE61-65, RUE DUTOT75732 PARIS CEDEX 15Une typologie des communes pour décrire le système éducatifUne typologie des communes en neuf catégories a été établie par la DEPP pour décrire le système éducatif. Cettecaractérisation du territoire, basée sur un croisement d’approches morphologique et fonctionnelle, permet de distinguer plusieurs types de communes rurales et urbaines. Cette nouvelle typologie apparaît adaptée pour décrire lesconditions de scolarisation, mais aussi les parcours des élèves. Dans les communes les plus rurales, plus de la moitié des élèves du premier degré ne disposent pas d’une école dans leur commune et sont scolarisés dans une autre commune, notamment dans le cadre d’un réseau pédagogique intercommunal. Dans le premier degré, le type de commune de résidence correspond à celui de la commune de scolarisation pour 92% des élèves. Dans le second degré, cette proportion est de 65%, compte tenu de la localisation des établissements dans des communes plus urbaines. Les territoires se distinguent également selon les conditions socio-économiques des élèves et les conditions d’accès à l’offre scolaire. Celles-ci peuvent infl uer sur leurs parcours et leurs résultats. Ainsi, les élèves des communes les plus rurales s’orientent moins fréquemment vers l’enseignement général et technologique et davantage vers l’enseignement professionnel; néanmoins, ils sortent aussi souvent avec un diplôme que la moyenne nationale.
    1. Au niveau national, la dépense d'investissement par élève d'un collège public s’élevait en 2002 à 819 euros, cette dépense variant d'un département à l'autre de 225 à 1730 euros. Dans l'académie, la dépense a été de 931 euros pour les Yvelines, de 746 pour l'Essonne, 1730 pour les Hauts-de-Seine (soit deux fois plus que la moyenne de métropole) et 646 pour le Val-d'Oise

      les hauts de seine ont particulièrement investi semble t'il

    1. 2 - La Région s'engage pour la santé des jeunes  En 2017-2018, la Région a doublé l'aide à l'acquisition d'une complémentaire santé pour les étudiants boursiers âgés de 16 à 28 ans inclus, inscrits dans un établissement d'enseignement supérieur ou dans un institut de formation sanitaire et sociale francilien. Elle a porté cette aide au financement d'une mutuelle à 200 euros pour l'année universitaire ou scolaire, dès lors que le contrat est souscrit chez Harmonie Mutuelle. Certains jeunes souffrent en silence et se replient dans l’isolement ou les addictions. Grâce au Fonds de prévention santé jeunes et au travail du d'Île-de-France Prévention Santé Sida, la Région porte des actions de prévention auprès des jeunes sur les drogues, les IST, les conduites à risques, le tabagisme, le sommeil et sur l’ensemble des questions de bien-être. À travers l’iPass contraception, la Région offre aux jeunes une plateforme en ligne qui leur permet de géolocaliser ce dont ils ont besoin : une pharmacie, un centre du planning familial, des informations sur la contraception...
  3. Aug 2020
    1. D'autres "barrières" sont prescrite mais pas forcément réalisables. Le protocole impose le lavage des mais pendant 30 secondes à l'arrivée, avant chaque repas, apres être allé aux toilettes, avant de renter chez "ou dès l'arrivée au domicile". Mais on sait qu'un quart des établissements n'a pas les installations suffisantes pour cela.
    2. Le plan invite les académies à constituer « un pool d’équipements informatiques mobiles homogènes (mêmes ordinateurs et applications) pour prêt aux élèves et professeurs pour l’enseignement à distance, sans qu’on sache bien d’où viendraient ces matériels. Les ordinateurs des établissements et des écoles appartiennent aux collectivités locales et non à l’éducation nationale. Et cela ne résout pas la question des accès Internet
    3. les 54 heures annuelles dédiées à l’orientation ne sont plus financées ce qui revient à ce que les établissements arbitrent entre l’éducation à l’orientation et le maintien d’options ou de dédoublements. Le même problème se pose au collège pour les 12 heures de 4ème et les 36 heures de 3ème.
    1. But it's easy to imagine that the caption was incorrect for too long because those who know the language, know where the mistake is, and those who don't, think that it's the correct way to spell it.

      those who know the language, know where the mistake is, In other words, they can easily spot the mistake and no better than to repeat it themselves, but either are powerless or too lazy to actually fix it on SE.

      and those who don't, think that it's the correct way to spell it. So those who should no better are inadvertently perpetuating the mistake and teaching others that it is an acceptable/correct usage.

    2. Can't upvote this enough. It is highly irritating to see language destroyed (and we wonder why kids bastardize the language..).
    1. my point is that using "into" in such a case is just as incorrect as using "inas" would be. The fact that people make mistakes doesn't change this.

      "Log in" is the only correct way to spell the verb, and the only way to be consistent with 1000s of other phrasal verbs that are spelled with a space in them.

      We don't need nor want an exception to the general rule just for "login" just because so many people have made that mistake.

    2. As a web designer, I hate that "log in" creates a visual space between the words. If you line up "Log In Register" - is that three links or two? This creates a Gestalt problem, meaning you have to really fiddle with spacing to get the word groupings right, without using pipe characters.

      Sure, you can try to solve that problem by using a one-word alternative for any multi-word phrase, but that's not always possible: there isn't always a single word that can be used for every possible phrase you may have.

      Adjusting the letter-spacing and margin between items in your list isn't that hard and would be better in the long run since it gives you a scalable, general solution.

      "Log in" is the only correct way to spell the verb, and the only way to be consistent with 1000s of other phrasal verbs that are spelled with a space in them.

      We don't need nor want an exception to the general rule just for "login" just because so many people have made that mistake.

    1. Les manifestations nautiquesArrêté interministériel du 3 mai 1995 modifié relatif aux manifestations nautiques ;Arrêté n° 2010/08 du préfet maritime de l’Atlantique du 18 février 2010 portant réglementation des manifestations nautiques dans les eaux relevant de la compétence du préfet maritime de l’Atlantique ;Arrêté n° 2011/37 du préfet maritime de l’Atlantique du 24 juin 2011 Tous les renseignements sur les manifestations nautiques sont disponibles sur le site de la préfecture maritime («Informations pratiques / démarches / déclaration d’une manifestation nautique»).
    2. L’utilisation de l’outil data.shom.fr est recommandée pour établir ces représentations. Des notices d’emploi de cet outil sont disponibles sur le site du SHOM :http://diffusion.shom.fr/ref/imagettes/AIDE/guide_dessin_data_simple.pdfhttp://diffusion.shom.fr/ref/imagettes/AIDE/guide_dessin_data_avance.pdf
  4. unix.meta.stackexchange.com unix.meta.stackexchange.com
  5. Jul 2020
    1. "that text has been removed from the official version on the Apache site." This itself is also not good. If you post "official" records but then quietly edit them over time, I have no choice but to assume bad faith in all the records I'm shown by you. Why should I believe anything Apache board members claim was "minuted" but which in fact it turns out they might have just edited into their records days, weeks or years later? One of the things I particularly watch for in modern news media (where no physical artefact captures whatever "mistakes" are published as once happened with newspapers) is whether when they inevitably correct a mistake they _acknowledge_ that or they instead just silently change things.
    1. This isn’t an accident. OpenOffice’s sidebar code was copied and incorporated into LibreOffice. The Apache OpenOffice project uses the Apache License, while the LibreOffice uses a dual LGPLv3 / MPL license. The practical result is LibreOffice can take OpenOffice’s code and incorporate it into LibreOffice — the licenses are compatible. On the other hand, LibreOffice has some features — like font embedding — that don’t appear in OpenOffice. This is because the two different licenses only allow a one-way transfer of code. LibreOffice can incorporate OpenOffice’s code, but OpenOffice can’t incorporate LibreOffice’s code. This is the result of the different licenses the projects chose.

      What part of LGPLv3 / MPL prevents LibreOffice code from being incorporated back into OpenOffice's Apache Licensed code??

    1. As mentioned earlier in these guidelines, it is very important that controllers assess the purposes forwhich data is actually processed and the lawful grounds on which it is based prior to collecting thedata. Often companies need personal data for several purposes, and the processing is based on morethan one lawful basis, e.g. customer data may be based on contract and consent. Hence, a withdrawalof consent does not mean a controller must erase data that are processed for a purpose that is basedon the performance of the contract with the data subject. Controllers should therefore be clear fromthe outset about which purpose applies to each element of data and which lawful basis is being reliedupon.
    1. In the Set class we already called this - and difference, which it is ok but not really accurate because of the previous explanation, but probably not worthwhile to change it.

      Is this saying that the name difference is inaccurate?

      Why is it inaccurate? You even called it the "theoretic difference" above.

      Is that because "relative complement" would be better? Or because the full phrase "theoretic difference" [https://en.wiktionary.org/wiki/set-theoretic_difference] is required in order for it to be accurate rather than just "difference"?

    1. Added `Array#union` and `Array#difference` instance method.

      It appears that this PR built on (was based on) https://github.com/ruby/ruby/pull/1747/files.

      That seems perfectly reasonably to me in this case. Better than creating 2 completely independent PRs that both modified some of the same lines (requiring/forcing a conflict).

      The only downside is that it arbitrarily chooses one PR to be the parent of the other, when they should more intuitively be thought of as siblings/co-equals.

      I like how both PRs both say that they "This solves partially https://bugs.ruby-lang.org/issues/14097"

    1. Matz, alas, I cannot offer one. You see, Ruby--coding generally--is just a hobby for me. I spend a fair bit of time answering Ruby questions on SO and would have reached for this method on many occasions had it been available. Perhaps readers with development experience (everybody but me?) could reflect on whether this method would have been useful in projects they've worked on.
    1. que nous confions à des machines presque toujours à portée de nos mains et dont les capacités doublent tous les dix-huit mois pour le même prix

      L'utilisation de la mémoire extérieur est devenue très simple et moins cher, notre mémoire extérieure est dans la poche. Le comportement human est pratique et c'est plus ecologique à prendre le portable pour voir un numéro que la mémoriser. Pourtant, il semble ça coute plus cher à long terme et on paye avec notre mémoire à long terme et, par conséquant, avec notre capacité mentale

  6. Jun 2020
    1. This means you no longer have to declare inverse_of on two associations which have good names.

      ... which have good names.

      This implies that those names where the inverse_of cannot automatically be inferred are bad names. I disagree that a "good name" is at all related/dependent on that ability.

      What they should say here instead is:

      ... which have names that allow the relationship to be easily inferred.

      Or refer to these names as the "default" or "Rails conventional" names for these associations.

      But it is not necessarily a better name. A better name is, quite often, one that is more descriptive and specific.

      For example, just because by default if you use rails generate with a User model, it might (I don't remember; can it even generate associations?) create a belongs_to :user association doesn't mean that's the best name for it. belongs_to :author or belongs_to :owner, for example, being more specific, are likely better names. The model still needs a generic name like User because it may be used in various relationships, but the relationships themselves should pretty much never be called user because there's almost always a more specific name that better reveals/describes the relationship.