118 Matching Annotations
  1. Nov 2020
    1. The delete operator does not directly free memory, and it differs from simply assigning the value of null or undefined to a property, in that the property itself is removed from the object.
    1. The same emoji will not look the same across every device. Each operating system has its own design language. For example, take a look at how the smiley face renders across various platforms:<img src="https://www.smartrmail.com/blog/wp-content/uploads/2020/03/image15.png" alt="smiley face across different mobile devices" class="wp-image-5429"/>The differences are subtle, but for some emojis the differences are much more pronounced. The t-shirt for instance completely changes color.<img src="https://www.smartrmail.com/blog/wp-content/uploads/2020/03/image6.png" alt="how t-shirt renders across different mobile devices" class="wp-image-5430"/>So one subject line you definitely don’t want to send your email with is “Flash Sale on Blue T-Shirts ”
    1. Content is what is passed as children usually to be projected at some <ng-content> element of a component. View is the template of the current component. The view is initialized after the content and ngAfterViewInit() is therefore called after ngAfterContentInit().
    1. This is Sass based, and therefore doesn't require Svelte components

      Just because we could make Svelte wrapper components for each Material typography [thing], doesn't mean we should.

      Compare:

      • material-ui [react] did make wrapper components for typography.

        • But why did they? Is there a technical reason why they couldn't just do what svelte-material-ui did (as in, something technical that Svelte empowers/allows?), or did they just not consider it?
      • svelte-material-ui did not.

        • And they were probably wise to not do so. Just reuse the existing work from the Material team so that there's less work for you to keep in sync and less chance of divergence.
    1. If you would like a process management tool with a lot of features, including tmux support, restarting and killing individual processes and advanced configuration, you should take a look at Hivemind's big brother — Overmind!
    1. If a lot of those features seem like overkill for you, especially the tmux integration, you should take a look at Overmind's little sister — Hivemind!
    1. Prettier’s printWidth option does not work the same way. It is not the hard upper allowed line length limit. It is a way to say to Prettier roughly how long you’d like lines to be. Prettier will make both shorter and longer lines, but generally strive to meet the specified printWidth. Remember, computers are dumb. You need to explicitly tell them what to do, while humans can make their own (implicit) judgements, for example on when to break a line. In other words, don’t try to use printWidth as if it was ESLint’s max-len – they’re not the same. max-len just says what the maximum allowed line length is, but not what the generally preferred length is – which is what printWidth specifies.
    1. apt-get upgrade is restricted to the case where packages are to be replaced by newer versions, but no package needs to be added or removed.

      from dist-upgrade

    1. On a user-defined bridge network, containers can resolve each other by name or alias.But, The containers on the default bridge network can only access each other by IP addresses, unless you use the --link option, which is considered legacy.
  2. Oct 2020
    1. Secondly, whether this works is highly dependent on the module bundler. For example, in codesandbox, when bundling our app with Parcel (or Webpack or Rollup), this solution doesn’t work. However, when running this locally with Node.js and commonJS modules this workaround might work just fine.
    1. Doing so also means adding empty import statements to guarantee correct order of evaluation of modules (in ES modules, evaluation order is determined statically by the order of import declarations, whereas in CommonJS – and environments that simulate CommonJS by shipping a module loader, i.e. Browserify and Webpack – evaluation order is determined at runtime by the order in which require statements are encountered).

      Here: dynamic loading (libraries/functions) meaning: at run time

    2. Replaced nested `require` statements with `import` declarations for the sake of a leaner bundle. This entails adding empty imports to three files to guarantee correct ordering – see https://github.com/styled-components/styled-components/pull/100
    1. One of the significant differences between the two is that a call to a partially applied function returns the result right away, not another function down the currying chain; this distinction can be illustrated clearly for functions whose arity is greater than two.
    1. A ponyfill is almost the same as a polyfill, but not quite. Instead of patching functionality for older browsers, a ponyfill provides that functionality as a standalone module you can use.
    1. The important goal here is that if we're going to introduce different semantics between classes and function components, we need to know before calling them which semantics we're going to apply.
    1. The Shadow DOM is a browser technology designed primarily for scoping variables and CSS in web components. The virtual DOM is a concept implemented by libraries in JavaScript on top of browser APIs.
    1. The second issue is that React's JSX uses className to denote the class property on an element, whereas Deku uses class. Therefor JSX written for Deku will always error when linted by standard.
    1. Unlike DOM events, component events don't bubble. If you want to listen to an event on some deeply nested component, the intermediate components must forward
    1. So while Solid's JSX and might resemble React it by no means works like React and there should be no illusions that a JSX library will just work with Solid. Afterall, there are no JSX libraries, as they all work without JSX, only HyperScript or React ones.
    1. Remember even though the syntax is almost identical, there are significant differences between how Solid's JSX works and a library like React.
    1. In Formik, validateOnBlur defaults to true and it allows you to tell Formik not to validate on blur. React Final Form validates on every change by default, and setting validateOnBlur to true is a way to tell React Final Form to only validate on blur (to not validate on change).
    1. t’s not clear why the sequence of the vaccines only mattered in girls, partly because there has been very little research into how male and female immune systems are different. “Somehow immunology has been blind to sex,” says Aaby. “If you read research about mortality in low income countries, there is no such thing as boys and girls – there are children. So we perceive that they have to be the same, and they are definitely not the same.”

      Take away: "Immune training" or bystander effects from other vaccinations may help to fight off Covid-19 or other infections, in spite of not being specific to that pathogen. Some of these effects are sex-specific.

      Claim: "Somehow immunology has been blind to sex"

      The evidence: This is not entirely true- there is actually a LOT of research into sex differences in the immune response, and it is well-known that women can generally mount stronger Th1-type immune responses against viral infections than men. This is thought to be partially linked to estrogen cycling, and partly due to the fact that women have 2 active copies of genes associated with immunity because those are encoded on the X chromosomes. Men only have 1 copy, and thus they don't generally mount as strong an inflammatory response. However, women are also more prone to autoimmune diseases as a consequence of having stronger inflammatory responses than men, which is seen in diseases such as multiple sclerosis, rheumatoid arthritis, and lupus.

      Sources: (https://www.nature.com/articles/nri.2016.90).

  3. Sep 2020
    1. Next.js is a React framework from Vercel (formerly ZEIT), and is the inspiration for Sapper. There are a few notable differences, however:
    2. It lives in a context="module" script — see the tutorial — because it's not part of the component instance itself; instead, it runs before the component is created, allowing you to avoid flashes while data is fetched.
    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. This is a framework and it comes with certain opinions about how things should be done, this isn't unique to Svelte. And before we can decide whether or not we will allow certain behaviour or encourage it with better ergonomics, we have to have a conversation about whether or not we should be doing things that way. You can't separate the can from the should in an opinionated framework. We want to make building UIs simpler, for sure, but also safer we don't want to add ease of use at the expense of component encapsulation, there has to be a balance
    1. Le Bert, N., Tan, A. T., Kunasegaran, K., Tham, C. Y. L., Hafezi, M., Chia, A., Chng, M. H. Y., Lin, M., Tan, N., Linster, M., Chia, W. N., Chen, M. I.-C., Wang, L.-F., Ooi, E. E., Kalimuddin, S., Tambyah, P. A., Low, J. G.-H., Tan, Y.-J., & Bertoletti, A. (2020). SARS-CoV-2-specific T cell immunity in cases of COVID-19 and SARS, and uninfected controls. Nature, 584(7821), 457–462. https://doi.org/10.1038/s41586-020-2550-z

  4. Aug 2020
  5. Jul 2020
    1. Where a slogan differs from a tagline is its scope: A tagline should represent your business, while a slogan represents a single product or is part of an advertising campaign.
    1. On Windows, wall time is measured using GetTickCount(), on MacOS by mach_absolute_time, on Linux by clock_gettime and otherwise by gettimeofday.
  6. Jun 2020
  7. May 2020
    1. For instance, cor does not distribute over cand: compare (A cand B) cor C with (A cor C) cand (B cor C); in the case ¬A ∧ C , the second expression requires B to be defined, the first one does not
    1. So what’s the difference between returning a product on the grounds of withdrawal and returning it on the grounds of a guarantee?
    2. A real-world example of this would be an e-commerce site that allows users to “hold” items in their cart while they’re using the site or for the duration of a session. In this scenario, the technical cookies are both necessary for the functioning of the purchasing service and are explicitly requested by the user when they indicate that they would like to add the item to the cart. Do note, however, that these session-based technical cookies are not tracking cookies.

      I'm not sure I agree with this:

      [the technical cookies] are explicitly requested by the user when they indicate that they would like to add the item to the cart.

      The only thing they requested was that the item be held in a cart for them. They didn't explicitly request that cookies be used to store information about items in the cart. They most likely don't understand all of the options for how to store data like this, and certainly wouldn't know or expect specifically that cookies be used for this.

      In fact, localStorage could be used instead. If it's a single-page app, then even that would be necessary; it could all be kept in page-local variables until they checked out (all on the same page); such that reloading the page would cause the cart data held in those variables to be lost.

  8. Apr 2020
    1. Finally, from a practical point of view, we suggest the adoption of "privacy label," food-like notices, that provide the required information in an easily understandable manner, making the privacy policies easier to read. Through standard symbols, colors and feedbacks — including yes/no statements, where applicable — critical and specific scenarios are identified. For example, whether or not the organization actually shares the information, under what specific circumstances this occurs, and whether individuals can oppose the share of their personal data. This would allow some kind of standardized information. Some of the key points could include the information collected and the purposes of its collection, such as marketing, international transfers or profiling, contact details of the data controller, and distinct differences between organizations’ privacy practices, and to identify privacy-invasive practices.
    1. For instance, if an IP address is sent with an ad request (which will be the case with almost any ad request as a consequence of internet protocols), that transmission will not breach any prohibition on sending PII to Google.
    2. Google interprets PII to exclude, for example: pseudonymous cookie IDs pseudonymous advertising IDs IP addresses
    3. data excluded from Google's interpretation of PII may still be considered personal data under the GDPR
  9. Mar 2020
    1. Piwik PRO is an independent organization. We diverged from our open source cousins, focusing on serving larger organizations with a multifaceted analytics and marketing suite distinct from our roots in straightforward analytics.
  10. Feb 2020
  11. Jan 2020
  12. Nov 2019
  13. Oct 2019
    1. The problem is that, once parenting becomes governed by fear and decisions based on what might happen,

      The fine line that separates between engaged and helicopter

  14. Feb 2019
    1. trivial detail

      I think our task is to find such small differences, which might give us a hint about where it went wrong.

  15. Jan 2019
    1. As white women and women and men of color have increasingly participated in public forums, they have begun to theorize lhc differ-ences race and gender make in language use.

      I'm so glad it's come to this head, since I've been making note of these types of differences throughout the piece.

  16. May 2018
    1. Here, the role as a dutiful spouse or parent or sibling obligates the proxy to execute decisions for the patient that the proxy would never stomach for himself or herself.

      Another story of a spouse making medical decisions for their partner shows that their values can override any medical professional's suggestion to withdraw life support and end the patient's suffering. This passage also suggests there could be a difference in how other cultures approach death, dying, and medical care.

  17. Apr 2018
    1. The fraught United States presidential election cycle of 2016 has revealed a country divided along geographical and ideological lines. It has also bolstered a narrative of haves and have-nots, pitting the so-called coastal elites against “heartland” America.

  18. Mar 2018
    1. Also, the existence of differences between men and women doesn’t necessarily mean they can’t be changed in the future, even some biological ones. How much of what we’ve inherited – biologically, psychologically or socially – is outdated and malleable?  

      Expand... posthumanism?

    2. There are factors other than sexism or discrimination that could in part explain why Google does not have 50 percent female representation. There are differences between men and women on average, based on population level statistics. (He qualifies this by noting a number of these differences are small and there is significant overlap between the genders.) These differences may in part explain the gender gap in tech. Women and men may differ partly because of biological reasons.

      Summary of Damore's claims.

  19. Nov 2017
    1. Education generates habits of application, order and the love of virtue; and controuls, by the force of habit, any innate obliquities in our moral organization.

      This is a very powerful statement regarding the purpose of higher education. The commissioners of the university clearly had a vision for how the education that the university provided should affect its students. However, the statement is somewhat idealistic in that it includes the idea that education will drive out any "innate" or subconscious deviations from morality. We all know that this was certainly not achieved at the time of the university's founding, when the practice of owning slaves was perceived as moral, and also has not been achieved today, although UVA has introduced many new efforts to combat this problem. Through the university's response to the Unite the Right rally this summer, the numerous implicit bias modules and presentations it offers, and the engagements themselves, our "innate obliquities" are being discussed and brought to light so that we as a university can take deliberate steps towards achieving this ideal view of education put forth by the commissioners of UVA. Claire Waterhouse

    2. Education generates habits of application, order and the love of virtue; and controuls, by the force of habit, any innate obliquities in our moral organization.

      I think this an interesting point considering how casually some may view education to be. Once we learn new information, especially that which sparks our interests we begin embedding it into our everyday actions and/or thoughts. And not only does it change our personal lives, but it contributes to how we treat those around us. - Kayla Thomas

    3. Education, in like manner engrafts a new man on the native stock, & improves what in his nature was vicious & perverse, into qualities of virtue and social worth; and it cannot be but that each generation succeeding to the knowledge acquired by all those who preceded it, adding to it their own acquisitions & discoveries, and handing the mass down for successive & constant accumulation, must advance the knowledge & well-being of mankind: not infinitely, as some have said, but indefinitely, and to a term which no one can fix or foresee.

      In my engagement "Individual and Society", we center our discussions around the importance of one over the other and its pros and cons. With this phrase, it is definitely obvious that the importance of unification is crucial to our human existence. We cannot survive off of merely being here but rather incorporating the values and teachings of those who come before us. Granted we use current knowledge and beliefs to tweak these ideologies and we often times make them our own. But it is imperative that we give credit to those who set the foundation for us to discuss and challenge what we hold as human truths. - Kayla Thomas

    4. What, but education, has advanced us beyond the condition of our indigenous neighbours?

      Personally, when I read this I interpret it as implying that their "indigenous neighbors" were not educated. I think this statement is slightly rude because education can be subjective. Not everyone is versed in the same fields. Morgan Negron

    5. In entering on this field, the commissioners are aware that they have to encounter much difference of opinion

      I interpret this as saying that in coming to the university, one will encounter many different people who may or may not agree with them. I can say, as being a current student, that this statement is true. In being election season, I have come to know this very well. Morgan Negron

  20. Oct 2017
    1. To understand his duties to his neighbours, & country, and to discharge with competence the functions confided to him by either.

      This idea seems to be really important in being a conscious and involved member of society in our time. In light of recent events, we can look to interpret the "duties to [our] neighbors" to mean that we need to care for and support each other, regardless of differences.

    2. The objects of this primary education determine its character & limits. These objects would be,

      The goals that are listed below basically are to make the university students a successful and contributing member of society. However this is quite contradictory because they are still kinda of teaching that the white race is superior than the black race. This may not be taught explicitly but it is already integrated into the minds of the teachers and the students that it comes out anyway. They failing even though they think they are not.

    3. It was the degree of centrality to the white population of the state which alone then constituted the important point of comparison between these places

      This could be one of the reasons for the recent protests. This says that the commissioners wanted to find a location that was in the center of the white population. This alludes to the fact that the University was made for white people.The protesters feel that they are justified by this because they are going back to what the original commissioners wanted when they made the University.

  21. Sep 2017
    1. 2d. The board having thus agreed on a proper site for the University to be reported to the legislature, proceeded to the second of the duties assigned to them, that of proposing a plan for its buildings; and they are of opinion that it should consist of distinct houses or pavilions, arranged at proper distances on each side of a lawn of a proper breadth, & of indefinite extent in one direction at least, in each of which should be a lecturing room with from two to four apartments for the accommodation of a professor and his family: that these pavilions should be united by a range of Dormitories, sufficient each for the accommodation of two students only, this provision being deemed advantageous to morals, to order, & to uninterrupted study; and that a passage of some kind under cover from the weather should give a communication along the whole range. It is supposed that such pavilions on an average of the larger & smaller will cost each about $5,000; each dormitory about $350, and Hotels of a single room for a Refectory, & two rooms for the tenant necessary for dieting the students will cost about $3.500 each. The number of these pavilions will depend on the number of Professors, and that of the Dormitories & Hotels on the number of students to be lodged & dieted. The advantages of this plan are, greater security against fire & infection; tranquillity & comfort to the Professors, and their families thus insulated; retirement to the Students, and the admission of enlargement to any degree to which the institution may extend in future times. It is supposed probable that a building of somewhat more size in the middle of the grounds may be called for in time, in which may be rooms for religious worship under such impartial regulations as the visitors shall prescribe, for public examinations, for a Library, for the schools of music, drawing, and other associated purposes.

      ndr3qd

      The planning on how the university would be constructed was something that I found very interesting. It was surprising to read the many considerations that went into initial design, which included, particularly infection and creating a unified community. When looking at the dormitories on the lawn today, it is hard to think that they were placed strategically in order to prevent the spread of infection. Modern medicine makes this of little concern today. Also the proximity of the dorms to the pavilions was significant because it better enabled interaction among students and professors. This was likely key to establishing a supportive and family oriented atmosphere. Those that we are surrounded by and those we learn from, play a major role in the formation of the individual.

  22. Feb 2017
    1. Not content with these opportunities to address her community in print, unusual and somewhat undecorous as they were for an early-nineteenth-century woman, Stewart began, in 1832, to give public speeches on the issues that con·

      Opposite of Astell, who said that women should not speak publicly and should instead speak in "appropriate spheres".

  23. Jan 2017
    1. With his 5 wives, 55 children and 80 grandchildren, 400 sheep, 1,200 acres of land and a small army of servants, Aga Mehmet Arslan would seem an unlikely defender of monogamy

      This is completely different to most people in our country today. This shows the total difference in cultural beliefs and social norms

  24. Aug 2016
    1. Page XVII

      Borgman on scholars access to information in the developed world

      Scholars in the developed world have 24/7 access to the literature of their fields, a growing amount of research data, and sophisticated research tools and services.

  25. Jul 2016
    1. page 182

      the sciences create a variety of objects the salt in the gray area between documents and data. Examples include Laboratorio field notebooks, slicer talks, composition objects such as graphic visualization of data. Laboratorio notebooks are often classified as data because their records research. Slides from talks, which were once ephemeral forms of communication, now our compost and competent person websites are distributed to accomplish proceedings. Graphic visualization data can be linked to scarlet documents to report research or to the underlying data.

    2. Page 182 Borgman on the disciplinary differences in scholarly practice

      Despite many common activities, both the artifacts and practices of scholarship very by discipline. The artifacts very as scholars make choices about the sources of data, along with what, when, where, and what form to disseminate the products of their work. Scholarly practices vary in the way that scholars create, use, and share documents, data, and other forms of information.

    3. Page 122

      Here Borgman suggest that there is some confusion or lack of overlap between the words that humanist and social scientists use in distinguishing types of information from the language used to describe data.

      Humanist and social scientists frequently distinguish between primary and secondary information based on the degree of analysis. Yet this ordering sometimes conflates data sources, and resorces, as exemplified by a report that distinguishes quote primary resources, ed books quote from quote secondary resources, Ed catalogs quote. Resorts is also categorized as primary wear sensor data AMA numerical data and filled notebooks, all of which would be considered data in The Sciences. But rarely would book cover conference proceedings, and he sees that the report categorizes as primary resources be considered data, except when used for text or data mining purposes. Catalogs, subject indices, citation index is, search engines, and web portals were classified as secondary resources.

    4. Page 29

      benefits of digital scholarship are expected to approve not only to The Sciences and Technology but also to the social sciences and Humanities. They will accrue in different ways, due to the different types of data, research methods, and practices in these fields. The social sciences are becoming more data of intensive as they assemble records of computer-based communication and mine databases of demographic and economic data produced by government agencies. The humanities are building large computational models of cultural sites, digitizing archival and Museum records, and Mining cultural records that are being generated or converted to digital form around the world.

  26. Jun 2016
    1. is wiseto avoid generalizations and to concentrate instead on show-ing how interactions between coworkers, specifically theorchestration of information exchange and coauthorship, aregrounded in local culture.

      "it is wise to avoid generalizations and to concentrate instead on showing how interactions between coworkers, specifically the orchestration of information exchange and coauthorship, are grounded in local culture."

    2. iomedical collaborations are moreheterogeneous and socially diffuse in character and do notappear to have the same degree of multilayered, internalreview as HEP research collaborations. T

      biomedicine is a less homogeneous group and so less internal trust

    3. TheHEP research community is thus characterized by highlevels of internal scrutiny, mutual trust—witness, for in-stance, the institutionalized practice of relying upon, andciting, preprints—and peer tracking, such that it is notsusceptible to systematic fraud. Contrary

      physicists live in a very trustful, observant, world; also they do a lot of internal, pre-referee, review

    4. The answer probably has to do with the relative intensityof socialization and oral communication (Traweek, 1992,pp. 120 –123), along with the character of the organizationalstructures and value systems, which define collaborations inlarge-scale, high-energy physics and biomedical research.

      Why is there less soul-searching about hyper-authorship in HEP? disciplinary differences

    1. The respondents also de- scribed a creative person as one who has a collectivistic orientation, such as one who "inspires people," "has contribution to the progress of society" and "is appreciated by others." These descriptions, found in this sample of Chinese people, did not occur in U.S. investigations (Rudowicz et al., 1995

      Chinese conceptions of creativity include collectivistic aspects of inspiration.

      Authors indicate these did not come up in U.S. studies, but these could be artefacts of design method.