937 Matching Annotations
  1. Oct 2020
    1. This would be like an executable proposal. I understand that it's beyond the original intent of having canonical patterns on the Svelte site, but it would facilitate the community to express their own patterns. Now that we have markdown preprocessors , the documentation itself can be an app.
    1. An example for a dialectical alternative media strategy is the Canadian Adbusters magazine. It is financed by donationsand sales and has a paid circulation of about 120.000.

      The authors cite the Canadian Adbusters magazine as an example of an alternative media that is radical while remaining separate for commoditization of its readership to capitalistic ends. And also Mother Jones. THey both reach broad audiences.

    2. Indymedia. Indymedia uses a ‘‘democratic open-publishing system”,is‘‘collectively run”, and ‘‘a decentralized and autonomousnetwork”(Indymedia, 2009).

      giving an example of alternative type of media and characterizing it.

    Tags

    Annotators

    Tags

    Annotators

    1. all reacting in the same way to the like need of protection from the rain-

      Social action that is related to an event, but not related to collective benefit.

      Narrows here the idea of social action.

  2. Sep 2020
    1. This is pretty good, but I don’t love that $contactStore.length bit. If we wanted to change the shape of the store from an array to a key-value store or something, we’d have to remember to update this component too. Instead, we can define a new derived store: contactCountStore. It’ll always track the count, which lets this component have less knowledge about the structure of the store. That refactor looks like this:
    1. "The First Amendment and Supreme Court decisions protect the news media in their reporting on matters of public interest, so you really have to show actual malice and disregard for the truth that would be very blatant and very provable," said Gene Policinski, senior vice president of the First Amendment Center.

      https://web.archive.org/web/20200901145543/https://www.freedomforuminstitute.org/first-amendment-center/

      Our mission: providing resources to help the public understand how their First Amendment freedoms of speech, press, religion, assembly and petition work, and how they can be protected.

      FIRST AMENDMENT EXPERTS The First Amendment Center’s nationally recognized experts David Hudson, Lata Nott, and Gene Policinski regularly provide the media with information and commentary on First Amendment and free expression issues. Interested in contacting one of our experts? Please email media@newseum.org or call 202/292-6200.

  3. Aug 2020
    1. Corporate social media has been dominating the online space so significantly that the newest generation of Internet users now thinks that is what the "web" actually is. Fortunately, with WordPress as your platform, you can not only take back your online identity and presence, but you can use it to have a richer and fuller experience than the locked-down experience you get with the limits of Facebook, Twitter, Instagram, etc.

      make a note

    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. Perhaps someone should give an example of when 'into' is ever correct. "Turn into bed" is definitely incorrect, unless one is morphing into the form of a bed. But what about "he fell into the hole", "she went into the house", or "Star Trek Into Darkness"?
  4. Jul 2020
    1. When downloading a lifestyle mobile app, the app asks for consent to access the phone’saccelerometer. This is not necessary for the app to work, but it is useful for the controller who wishesto learn more about the movements and activity levels of its users. When the user later revokes thatconsent, she finds out that the app now only works to a limited extent. This is an example of detrimentas meant in Recital 42, which means that consent was never validly obtained (and thus, the controllerneeds to delete all personal data about users’ movements collected this way).
  5. Jun 2020
    1. including Oracle (since 1984 [4]), Postgres(since 1985 [41]), and MySQL’s InnoDB engine (since 2001). Butwhile there are plenty of contemporaries to these older systemsthat use a single-version scheme (e.g., IBM DB2, Sybase), almostevery new transactional DBMS eschews this approach in favor ofMVCC [37]. This includes both commercial (e.g., Microsoft Heka-ton [16], SAP HANA [40], MemSQL [1], NuoDB [3]) and academic(e.g., HYRISE [21], HyPer [36]) systems
  6. May 2020
  7. developer.chrome.com developer.chrome.com
    1. If a user clicks on that button, the onclick script will not execute. This is because the script did not immediately execute and code not interpreted until the click event occurs is not considered part of the content script, so the CSP of the page (not of the extension) restricts its behavior. And since that CSP does not specify unsafe-inline, the inline event handler is blocked.
  8. Apr 2020
    1. In December 2006, 34,000 actual user names and passwords were stolen in a MySpace phishing attack. The idea of the attack was to create a profile page named "login_home_index_html", so the URL looked very convincing. Specially-crafted HTML and CSS was used to hide the genuine MySpace content from the page and instead display its own login form.
    1. If you don't—or can't—lock your users in, the best way to compete is to innovate at a breakneck pace. Let's use Google Search as an example. It's a product that cannot lock users in: users don't have to install software to use it; they don't have to upload data to use it; they don't have to sign two-year contracts; and if they decide to try another search engine, they merely type it into their browser's location bar, and they're off and running.
  9. Mar 2020
    1. The phrase is often used at the beginning of meetings, conferences, etc to indicate that the speaker is going to tell those present about the fire exits, where the toilets, first-aid box etc are and any other administrative issues that have nothing to do with the actual content of the meeting. etc
  10. Feb 2020
  11. Dec 2019
    1. Feed iguana +Personal @Home (A) Ask doctor about ticks +Personal @DoctorsOffice Write elephant touchscreen post +HowToGeek @Home @Laptop (B) Research laptop prices +Personal @Home @Laptop (C) Clean the damn kitchen +Personal +Cleaning @Home
    1. if 𝑛nn does not divide 𝑚mm evenly, then the answer is the greatest common divisor of 𝑛nn and the remainder of 𝑚mm divided by 𝑛nn.

      m = 20, n = 10 20 / 10 = 2 CASE 1

      m = 100, n = 70 100 / 70 CASE 2 gcd(100, 100 % 70) =

      gcd(100, 30) gcd(100,30) CASE 2 gcd(100, 100 % 30) =

      gcd(100, 10) 100 / 10 = 10 CASE 1

      gcd(100, 70) = 10

  12. Nov 2019
    1. const setRefs = useRef(new Map()).current; const { children } = props; return ( <div> {React.Children.map(children, child => { return React.cloneElement(child, { // v not innerRef ref: node => { console.log('imHere'); return !node ? setRefs.delete(child.key) : setRefs.set(child.key, node)

      Illustrates the importance of having unique keys when iterating over children, since that allows them to be used as unique keys in a Map.

  13. Oct 2019
    1. the branching timeline in Charles Renouvier’s 1876 Uchronia (Utopia in History): An Apocryphal Sketch of the Development of European Civilization Not as It Was But as It Might Have Been, depicting both the actual course of history and the various alternative paths that might have been if other actions had been taken.

      example of successful multiple timeline paths

    1. Based on examples given in https://github.com/Microsoft/TypeScript/issues/29049

      Specific link: http://www.typescriptlang.org/play/#code/LAKAZgrgdgxgLgSwPZQARigRgDwBVUCmAHnAVACYDOqlcATglAOYB8AFEQFyq4CU3+AN6hUqOgTgQ6aAEQALAgBtFSVAHckdReQCEM1AHoDAQ2q4A3KAC+oOAE8ADgVQBleseaoAvKnkIZoDAotDT0jEzcbnQeTN6+cv6BwUiKBAB0KkxsGJhstAzMvLygoJCwiCjoUABMeIQkZFSoABK4ALIAMgCiqQC2ZHDsSABGAFYC-DyowiCi4pLSqFAEai3tHQAiCMaZPQT9UHBsRaimPJYgNiCl0PDIaBgAzHXEpBTUw0gpBB5DYwJxMA7SgEXjTaw3cr3KoAFheDXeqE+31+bBG4x4kyEIkMBnmUjQ6Jx+MWQMUIIhIHsTh4dAgBFwjmcPno9IuQSgIWRilwdIIAj5jJpLL57OSqQySCyGBhbG5vPpRRKIDIEF6qC64NmolQAA0ADSoACahoAWtYgA

      and: http://www.typescriptlang.org/play/#code/LAKAZgrgdgxgLgSwPZQARigRgDwBVUCmAHnAVACYDOqlcATglAOYB8AFEQFyq4CU3+AN6hUqOgTgQ6aAEQALAgBtFSVAHckdReQCEM1AHoDAQ2q4A3KAC+oOAE8ADgVQBleseaoAvKnnH9AD6+csbKSDKgMCi0NO7M3G50Hkzewf6R0UiKBAB0KkxsGJhstEnMvLygoJCwiCjoUABMeIQkZFSoABK4ALIAMgCi2QC2ZHDsSABGAFYC-DyowiCi4pLSqFAEal29fQAiCKFITEMEo1BwbBWopjyWIDYg1dDwyGgYAMwtxKQU1JNILIEDwTGYCVJgUKUAi8RbWZ61N4NAAs3zaf1QAKBILYU1mPHmQhEhgMqykaDxxLJ60himh8JA9icPDoEAIuEczh89DZ9yiUBiWMUuFZBAEoo5zO5or5mWyeWOhSgyLYQpFbIqVRAZAgw1QAzhy1EqAAGgAaVAATQtAC1rEA

    1. type Type = 'a' | 'b'; type AShape = { a: 'a' }; type BShape = { b: 'b' }; type Props<T extends Type> = { type: T, shape: T extends 'a' ? AShape : BShape, }; class Test<T extends ID> extends React.Component<Props<T>> { render() { const { type, shape } = this.props; switch (type) { case 'a': return <>{shape.a}</>; // Ideally would narrow `shape` here, instead of `AShape | BShape` default: return <>{shape.b}</>; } } } <T type="a" shape={{ a: 'a' }} /> // No error in ideal case <T type="a" shape={{ b: 'b' }} /> // error in ideal case
  14. Sep 2019
    1. It is also possible to use this annotator to annotate fields other than the NamedEntityTagAnnotation field by and providing the header

      Zrejme sa jedná o možnosť anotovať aj iné ako NER tagy, že to TokensRegex umožňuje. Nižšie mi chýba príklad presne na toto.

  15. Aug 2019
    1. Demonstrates how label text will wrap at a point that appears to narrow when shrunk (the label can't even be as wide as the input it is labeling!), and how to work around this problem by adding styles:

        '& label': {
          whiteSpace: 'nowrap'
        }
      

      Of course, you would only want to do this if you are going to only be showing the label in shrunk state (which I think is safe to say is the case for date picker inputs), since it would look bad to actually have text overflowing outside of the input box. But if it's in "shrink" state, then it's actually above the input, so as long as there isn't another input/label directly to the right, and/or as long as we adjust the width so the right side of the label mostly lines up with the right side of the input, then I think we should be safe.

      Reference

      The input label "shrink" state isn't always correct. The input label is supposed to shrink as soon as the input is displaying something. In some circumstances, we can't determine the "shrink" state (number input, datetime input, Stripe input). You might notice an overlap.

      To workaround the issue, you can force the "shrink" state of the label.

      You need to make sure that the input is larger than the label to display correctly.