818 Matching Annotations
  1. Last 7 days
    1. If that one somehow ends up being deemed an intended behavior rather than a bug, then it should definitely get explained in the docs too.
    1. “"

      Which character is this referring to exactly?

      It looks like the empty string, which wouldn't make sense.

      https://www.postgresql.org/docs/13/functions-matching.html only lists these 2:

      If pattern does not contain percent signs or underscores, then the pattern only represents the string itself; in that case LIKE acts like the equals operator. An underscore (_) in pattern stands for (matches) any single character; a percent sign (%) matches any sequence of zero or more characters.

    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).
    1. Every URL is a URI; Every URN is a URI; URI and URL are NOT interchangeable – a URL is a URI, but a URI is not always a URL; URLs always contain an access mechanism.
    1. Handling all these requests costs us considerably: servers, bandwidth and human time spent analyzing traffic patterns and devising methods to limit or block excessive new request patterns. We would much rather use these assets elsewhere, for example improving the software and services needed by W3C and the Web Community.
    2. Identify your user agents When deploying software that makes requests to other sites, you should set a custom User-Agent header to identify the software and provide a means to contact its maintainers. Many of the automated requests we receive have generic user-agent headers such as Java/1.6.0 or Python-urllib/2.1 which provide no information on the actual software responsible for making the requests.
  2. Oct 2020
    1. Their trailer said "A video game for the home computer". Not sure why they said that instead of PC, but it was a refreshing new term for it.

    1. Subgroups of the computer underground with different attitudes and motives use different terms to demarcate themselves from each other. These classifications are also used to exclude specific groups with whom they do not agree.
    1. For all systems of structural incentive, the incentive of any actor (individual or group), must be rigorously aligned with the well-being of all other agents in the system and of the commons writ large. Ie, all externalities must be internalized – all the consequences of activity within the system must be included in the system’s accounting.

      Sure ...

      This is a bit "I want a million dollars"

      You can write this down and the devil is in how to implement it.

    1. Another example:

      const expensiveOperation = async (value) => {
        // return Promise.resolve(value)
          // console.log('value:', value)
          await sleep(1000)
          console.log('expensiveOperation: value:', value, 'finished')
          return value
      }
      
      var expensiveOperationDebounce = debounce(expensiveOperation, 100);
      
      // for (let num of [1, 2]) {
      //   expensiveOperationDebounce(num).then(value => {
      //     console.log(value)
      //   })
      // }
      (async () => { await sleep(0   ); console.log(await expensiveOperationDebounce(1)) })();
      (async () => { await sleep(200 ); console.log(await expensiveOperationDebounce(2)) })();
      (async () => { await sleep(1300); console.log(await expensiveOperationDebounce(3)) })();
      // setTimeout(async () => {
      //   console.log(await expensiveOperationDebounce(3))
      // }, 1300)
      

      Outputs: 1, 2, 3

      Why, if I change it to:

      (async () => { await sleep(0   ); console.log(await expensiveOperationDebounce(1)) })();
      (async () => { await sleep(200 ); console.log(await expensiveOperationDebounce(2)) })();
      (async () => { await sleep(1100); console.log(await expensiveOperationDebounce(3)) })();
      

      Does it only output 2, 3?

    1. La privation pour un enfant, notamment s’il souffre d’un handicap, de toute possibilité de bénéficier d’une scolarisation ou d’une formation scolaire adaptée, selon les modalités que le législateur a définies afin d’assurer le respect de l’exigence constitutionnelle d’égal accès à l’instruction, est susceptible de constituer une atteinte grave et manifestement illégale à une liberté fondamentale.
    1. Si l’on considère que l’œuvre exposée dans le musée n’est pas le sujet principal de la photographie réalisée par Alexandre, il semble alors possible de se prévaloir de la théorie dite de « l’accessoire » décrite en introduction de cet article. Ainsi, si Alexandre photographie un groupe de visiteurs contemplant des œuvres, on peut considérer que l’œuvre photographiée en cause ne constitue qu’un accessoire d’un plan plus large, et qu’il sera par conséquence permis de reproduire cette œuvre sans autorisation. Là encore, les règles juridiques pourront donc avoir un impact sur l’approche artistique qu’Alexandre retiendra, ce qui pourra au final être une force pour lui, en l’incitant à être créatif pour bénéficier de la règle de l’accessoire !
    1. Les tendances qui se dessinentL’évolution du droit européen en la matière semble entrevoir un cadre plus libéral, c’est notamment en ce sens que l’on appelle la liberté de panorama
    2. Qu’il s’agisse finalement d’images représentant l’intérieur ou l’extérieur, les pratiques actuelles devraient évoluer vers plus de liberté sous la pression du droit européen.
    1. If you define a variable outside of your form, you can then set the value of that variable to the handleSubmit function that 🏁 React Final Form gives you, and then you can call that function from outside of the form.
    1. En cas de conflitSi un conflit apparaît, il est utile d’encourager la famille à venir rencontrer ou prendre directement contact avec le directeur d’école, le professeur principal, le chef d’établissement, ou le parent délégué, afin de donner toutes les chances au dialogue. Le dialogue entre les familles et les équipes permettra en effet de rechercher l’origine d’une difficulté et de trouver des solutions pédagogiques ou éducatives.
    2. L’accompagnement individualisé n’est pas remis en cause : si l’élève a une notification d’aide humaine individualisée, il sera accompagné par un AESH individualisé pour le volume horaire indiqué et pour les domaines d’activités précisés dans la notification CDAPH
    3. outiller les parents pour l’accompagnement de leur enfant
    4. Le rôle du directeur ou du chef d’établissement au moment de l’arrivée d’un élève en situation de handicap est essentiel afin de préparer et de mettre en place les conditions nécessaires à sa scolarisation
    1. Of all the compile-to-languages, the one that strikes me as having the least merit is JSX. It's basically a ton of added complexity for the sake of what boils down to syntax. There are no real gains in terms of language semantics in JSX.
    2. Without elegant ways of expressing loops/iterators (like angular does with directives), the primary way to keep JSX readable thus becomes copying and pasting.

      I'm not quite sure I understand this (so until I do, I'm not sure I agree)...

      Why does he think copying and pasting is the only way to make it readable? Like he pointed out, you can extract JSX snippets and use loops within JSX. But maybe he means (his previous point), that people often don't do that. Hmm. 

    3. The react community has become a big cargo cult. There are some good ideas in the community and many Bad Ideas™. Paving the bad idea cowpaths lends a sense of legitimacy to these bad technical ideas that is not merited.
    4. I agree that "it feels gross" is a bad reason. "not paving a bad cowpath" is a much better reason.
    5. The only "issue" it has is that its unfamiliar. People have been working with HTML for years and are comfortable with it. That's basically the only reason that people find it more readable. If you make an effort to spend sometime with hyperscript, it becomes as familiar and readable as jsx.
    1. Because the code in question predates the introduction of the guideline and there is no other reason to be modifying that code.
    1. Then at some moment I just stumbled upon limitations and inexpressiveness of templates and started to use JSX everywhere — and because JSX was not a typical thing for Vue I switched to React over time. I don’t want to make a step back.
    1. I don't understand the need for the name "Open–closed principle". It doesn't seem meaningful or clear to me.

      Can't we just call it "extensibility" or "easily extendable"? Doesn't "extensibility" already imply that we are extending it (adding new code on top of it, to interoperate with it) rather than modifying its source code?

    1. Discussion is not necessary, but could be useful for critiquing a pattern. This would be useful for people who are proposing a pattern to the community or for people who want to gather feedback on an experiment.
    1. Don’t indent code blocks.

      Sure, we don't need to add any additional indent. But what if your code block contains indentation (function body)? It would look silly to remove all leading indentation.

    1. When I say that my experience is that it means it's time to split up your components, I guess I mean that there tends to be a logical grouping between all the things that care about (for example) sqr_n, and in Svelte, logical groupings are expressed as components.
    1. Les parents élus portent la voix et les préoccupations de chaque parent.
    2. joue un rôle de relais et de médiateur ; donne son avis et émet des suggestions sur le fonctionnement de l’établissement ; fait partie des instances de représentations
    1. Horaires des réunions Les heures de réunion des conseils d'école, des conseils d'administration, des conseils de classe et des conseils de discipline sont fixées de manière à permettre la représentation des parents.
    2. favoriser les échanges entre les professionnels et les parents en développant des partenariats, en particulier avec les associations, de manière à favoriser le croisement des regards et des savoirs
    1. This library takes inspiration from Tailwind and utilizes Otion to provide means of efficiently generating atomic styles from shorthand syntax and appending them to the DOM at runtime.
    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”).
    2. However, especially when starting out, it’s very easy to fall into the “this is how I did things in my previous framework” trap.
    3. It can feel like a breeze of fresh summer air.
    1. élaborer des projets éducatifs avec les parents et les partenaires
    2. Journée de la laïcité dans l’École de la République du 9 décembre
    3. Il est essentiel d’associer les parents aux restitutions de ces productions afin de consolider les connaissances communes de ce principe fondateur de l’École républicaine
    1. ‪if you’re ever feeling down, just remember that the greatest talents of our time were all once consistently fooled by peek-a-boo ‬
    1. helped me carve a niche for what would become SolidJS. I still see that space today, so I'm glad that I did.
    2. It was clear no one was interested in what I was working towards.
    3. Over time Adam, Surplus' creator, had less and less time to spend on the project and I decided to take my own shot.
    4. difference in our trajectories
    5. I started Solid years ago before I thought anyone would be interested in using it. I only started promoting it because it had already achieved the goals I had set out for it.
    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.“
    2. In an effort to rethink how documentation works, we recently introduced Articles, longer-form prose that can sit side by side with shorter Q&A.
    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.
  3. 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. The AOL helpline number would is the best option "How do I talk to a Live Person at AOL". Usually after dialing the number, stay on the line and move as prompted. It may take a while but you will get proper assistance. The process is quite long, if you think that the process is taking more time than expected it’s better to use chat help option.

    2. There might be an issue that you buy a new phone and wish to set up AT&T email in Outlook on your phone, but you are facing some serious technical glitch. If your AT&T is not working, you might want to connect to a live person to get the issue fixed. There are three common ways, How do I talk to a live person at AT&T.

    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. But when you’re using Svelte within a larger Rails app, you probably already have a CSS system in place and there’s no reason to change that. You can just use the same CSS classes as you do elsewhere in your app, and everything will be fine.
    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.
    2. In my opinion, because Webpack was one of the first bundlers, is heavily packed with features, and has to support swathes of legacy code and legacy module systems, it can make configuring Webpack cumbersome and challenging to use. Over the years, I’ve written package managers, compilers, and bundlers, and I still find configuring Webpack to be messy and unintuitive.
    1. Developing software is usually easier if you break your project into smaller separate pieces, since that often removes unexpected interactions and dramatically reduces the complexity of the problems you'll need to solve
    1. This isn't really a bug, because if you have an async function that returns a function, it doesn't really return a function - it returns a promise. I don't remember whether the Svelte internals currently check for the onMount callback's return being a function or whether they check for it being truthy. Maybe there's some adjustment to be made there.
    1. We don't want to rely on there being a single root element - or prevent ourselves from ever implementing named slots without a single root node - and so there's not anything to apply the class to or the transition to.
    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. new style RFC
    3. 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. Why not just do something like this?
    2. I'm still confused about the need for this, so at the expense of continuing to be that obnoxious kid at the playground, I'm going to stick my neck out again.
    3. Devil's advocate: I'm not convinced the functionalities you list can't already be done within the JS of the component. Example: autofocus can simply be done w/ a method or oncreate.
    4. I'm just pushing on the "is this really a good idea" front
    5. This can and should be done with other components, IMHO.
    6. I'm a lot softer on this feature now - I'm starting to believe that every single use case that you would use a hook for, you could/should use a component for.
    1. Can this word be used to describe the property in computing where a value can be dynamic? I feel like "dynamicness" would be a better term for this.

      It seems to refer more to personality:

      1a: marked by usually continuous and productive activity or change a dynamic city b: ENERGETIC, FORCEFUL a dynamic personality

      See also the same sentiment here: https://news.ycombinator.com/item?id=4137596

    1. I considered it, but dynamism refers to personality and philosophy, while dynamicity is just the condition of being dynamic.
    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.