72 Matching Annotations
  1. Last 7 days
  2. Oct 2021
  3. Sep 2021
    1. Analytics modules that run in the background, monitor user interaction, and send the data to a server.
    2. Many jQuery plugins attach themselves to the global jQuery object.
    3. A polyfill for example, might not do anything, because it finds that the feature that it enables is already supported by the browser.
    4. A module with side-effects is one that changes the scope in other ways then returning something, and it's effects are not always predictable, and can be affected by outside forces (non pure function).
  4. developer.mozilla.org developer.mozilla.org
    1. Import a module for its side effects only Import an entire module for side effects only, without importing anything. This runs the module's global code, but doesn't actually import any values.
  5. Aug 2021
  6. Jul 2021
    1. has the same effect (that is no side effect)
    2. The difference between PUT and POST is that PUT is idempotent: calling it once or several times successively has the same effect (that is no side effect), whereas successive identical POST requests may have additional effects, akin to placing an order several times.
    1. Gargano, J. W., Wallace, M., Hadler, S. C., Langley, G., Su, J. R., Oster, M. E., Broder, K. R., Gee, J., Weintraub, E., Shimabukuro, T., Scobie, H. M., Moulia, D., Markowitz, L. E., Wharton, M., McNally, V. V., Romero, J. R., Talbot, H. K., Lee, G. M., Daley, M. F., & Oliver, S. E. (2021). Use of mRNA COVID-19 Vaccine After Reports of Myocarditis Among Vaccine Recipients: Update from the Advisory Committee on Immunization Practices — United States, June 2021. MMWR. Morbidity and Mortality Weekly Report, 70(27), 977–982. https://doi.org/10.15585/mmwr.mm7027e2

    1. Jesse O’Shea MD, MSc on Twitter: “Okay Twitter! Here is the new vaccine side effect chart (aka reactogenicity) for FDA submitted COVID19 vaccines vs Shingrix & Flu. J&J’s Ad26.COV2.S has the least side effect profile of the COVID vaccines so far. Https://t.co/MFGzWDqQKZ” / Twitter. (n.d.). Retrieved July 2, 2021, from https://twitter.com/JesseOSheaMD/status/1364645966826070016?s=20

    1. Dr. Jeff Benyacar on Twitter: “@AlexBerenson ‘Even if a link between myocarditis and the vaccine holds up, the condition is usually mild, requiring treatment only with anti-inflammatory drugs, whereas COVID-19 infection can also cause serious disease and long-term side effects, even in young people.’ https://t.co/3VQprF7bIz” / Twitter. (n.d.). Retrieved July 2, 2021, from https://twitter.com/jbenyacar/status/1399851524487106562?s=12

  7. Jun 2021
    1. Michael Makris on Twitter: “The cumulative incidence of VITT after AZ first vaccination in the UK is continuing to increase with the latest data being 1 in 81,000. However this is rather misleading because VITT is age related with a higher incidence in the young. Https://t.co/CSjshAoRsN” / Twitter. (n.d.). Retrieved June 27, 2021, from https://twitter.com/ProfMakris/status/1395457748721184777?s=20

  8. May 2021
  9. Apr 2021
    1. ReconfigBehSci. ‘@sarahflecke “Reports Emerging of Rare Types of Multiple Thrombosis, Bleeding, and Thrombocytopenia .. Similar to Disseminated Intravasc. Coagulation ... in Otherwise Healthy Individuals Shortly after Receiving ..AstraZeneca ..Vaccine. These Outcomes Are Not Included in the Present Analysis.”’ Tweet. @SciBeh (blog), 2 April 2021. https://twitter.com/SciBeh/status/1377984798422077446.

  10. Mar 2021
    1. Michael Bang Petersen. (2021, March 17). This is worsened as costs of #covid19 are not mentally similar to costs of side effects, even if the latter are less risky. People prefer controllable risks to uncontrollabe risks, even if less lethal (https://t.co/kSIcObWYmT). That is why you fear flying but not driving. [2/2] [Tweet]. @M_B_Petersen. https://twitter.com/M_B_Petersen/status/1372103708218159109

    1. Kai Kupferschmidt. (2021, March 16). “I’m not here to give you the outcome of any scientific review”, says EMA director Emer Cooke at start of press conference on AstraZeneca vaccine safety. ‘I’m here to explain the steps in the process, what we’re doing, and when you can expect us to come to a conclusion.’ [Tweet]. @kakape. https://twitter.com/kakape/status/1371811123197001729

    1. Responders don't use valid? to check for errors in models to figure out if the request was successful or not, and relies on your controllers to call save or create to trigger the validations.
  11. Feb 2021
    1. Also, in non-functional programming, a function without arguments can be meaningful and not necessarily constant (due to side effects).
    1. The IO monad wraps computations in the following context: "This computation can read information from or write information to the terminal, file system, operating system, and/or network". If you want to get user input, print a message to the user, read information from a file, or make a network call, you'll need to do so within the IO Monad. These are "side effects". We cannot perform them from "pure" Haskell code.
    1. I have a Post object that has_one :schedule with accepts_nested_attributes_for :schedule as well. The latter method sets autosave: true, which unfortunately has the effect of hoisting up errors into the parent object so that the errors object on Post looks like this: (byebug) post.errors.details {:"schedule.publish_at"=>[{:error=>:blank}]}
    1. My only concern with this approach is that if someone calls #valid? on the form object afterwards, it would under the hood currently delete the existing errors on the form object and revalidate. The could have unexpected side effects where the errors added by the models passed in or the service called will be lost.
    2. My concern with this approach is still that it's somewhat brittle with the current implementation of valid? because whilst valid? appears to be a predicate and should have no side effects, this is not the case and could remove the errors applied by one of the steps above.
    1. However, sometimes actions can't be rolled back and it is unfortunately unavoidable. For example, consider when we send emails during the call to process. If we send before saving a record and that record fails to save what do we do? We can't unsend that email.
    2. I typically save everything I can first, and then call the side-effects afterwards. If the side-effects fail I can handle them elsewhere and retry when necessary.
  12. Dec 2020
  13. Nov 2020
    1. If tree-shaking still fails, it's because Rollup thinks that there are side-effects somewhere in your code.
  14. Oct 2020
    1. Instead of using classes and local state, Deku just uses functions and pushes the responsibility of all state management and side-effects onto tools like Redux.
    1. Data fetching, setting up a subscription, and manually changing the DOM in React components are all examples of side effects.
  15. Sep 2020
    1. preserve: this preserves all imports whose values are never used. This can cause imports/side-effects to be preserved.
    1. Rather than thinking of useEffect as one function doing the job of 3 separate lifecycles, it might be more helpful to think of it simply as a way to run side effects after render – including the potential cleanup you’d want to do before each one, and before unmounting.
    1. By bringing both designers and non-designers alike into Figma, they create a cross-side network effect. In a direct network effect, a homogenous group gets more value from a product as more of them join. In contrast, a cross-side network effect involves two (or more) distinct groups that grow in size and value as the other group does, too. Figma’s cross-side network effect between designers and non-designers is one of the primary and under-appreciated sources of their compounding success over the last few years. As more designers use Figma, they pull in the non-designers they work with. Similarly, as these non-designers use Figma, they encourage the other designers they work with to use Figma. It’s a virtuous circle and a powerful compounding loop.

      By bringing non-designers into the design process, Figma created cross-side network effects for itself.

      Where typically the designers would get their designer peers to use the tools they're excited about, now non-designers would experience the value and recommend Figma to designers and non-designers alike.

  16. Aug 2020
    1. Anything that is added to a system to improve it (or make it more reliable!) increases complexity, thus uncertainty and risk. We have a bad habit of trying to add “more” to fix a problem, increase the layers of safety, band-aid over a system vulnerability, etc. We don’t often evaluate this, but this added complexity can (and does) make things worse. Wherever possible — and I know it isn’t always possible — remove something isntead of adding it. This is not usually politically favorable, something that Sr. Software Engineers who reduce the codebase size have often heard, but has far fewer side effects.
  17. May 2019
  18. May 2017
    1. RESULTS: After adjustment for potential confounders, use of azithromycin (adjusted odds ratio [OR] 1.65, 95% confidence interval [CI] 1.34–2.02; 110 exposed cases), clarithromycin (adjusted OR 2.35, 95% CI 1.90–2.91; 111 exposed cases), metronidazole (adjusted OR 1.70, 95% CI 1.27–2.26; 53 exposed cases), sulfonamides (adjusted OR 2.01, 95% CI 1.36–2.97; 30 exposed cases), tetracyclines (adjusted OR 2.59, 95% CI 1.97–3.41; 67 exposed cases) and quinolones (adjusted OR 2.72, 95% CI 2.27–3.27; 160 exposed cases) was associated with an increased risk of spontaneous abortion.

      This shows between a 65% to 272% increased risk of miscarriage from use of common antibiotics.

      The risk is being characterized as "small' - http://www.cnn.com/2017/05/01/health/antibiotics-miscarriage-study/

      I'm not sure any pregnant woman would characterize more than doubling of the risk as small, and we can assume that if this data was shown for a natural substance, it would be characterized differently.

  19. Aug 2016