5,618 Matching Annotations
  1. Aug 2021
    1. All answers here which mention scrollHeight/scrollWidth should be adjusted a bit to take body margins into account. Browsers apply default nonzero margins for documents' body element (and it's also applicable to content loaded into frames). The working solution I found is to add this: parseInt(window.getComputedStyle(this.contentDocument.body).margin.
    1. With JavaScript, you can actually calculate the width of the scrollbar and whether it’s visible by comparing two properties—window.innerWidth and document.body.clientWidth. If these are equal, the scrollbar isn’t visible. If these are different, we can subtract the body width from the window width to get the width of the scrollbar:const scrollbarWidth = window.innerWidth - document.body.clientWidthWe’ll want to perform this both on page load and on resize, in case someone resizes the window vertically and changes the overflow. Then, once we have the scrollbar width, we can assign it as a CSS variable:document.body.setProperty("--scrollbarWidth", `${scrollbarWidth}px`)

      missing feature: vw/vh can't be used "directly" because doesn't account for scrollbars

    1. Always use the word ‘Africa’ or ‘Darkness’ or ‘Safari’ in your title.

      I love the style in which this is written. While it appears to be a "how-to" guide, the author is doing nothing more than addressing the stereotypes that surround Africa. Turning this piece into a " how NOT to " guide.

    1. In recent decades there have been a number of stud-ies that have shown how humanist approaches to commonplacing not only evolved in tandemwith attempts to coherently arrange naturaliain studioli, wunderkammernand museums, butalso facilitated the conceptual development of natural history. Key works that led up to this rein-terpretation were Walter Ong’s work on Ramus, Frances Yates’s history of the art of memory,Tony Grafton’s defence of humanistic textual practices and, crucially, Paolo Rossi’s argumentthat Francis Bacon used topical logic to organize his lists and tables.7Once the topical box wasopened, a number of seminal studies on commonplacing natural knowledge followed. Keyentries in this canon are works written by Ann Blair, Ann Moss, Jonathan Spence and HowardHotson.8

      Lots of references to add or read here.

    1. Media and the Mind: Art, Science and Notebooks as Paper Machines, 1700-1830 (Chicago: University of Chicago Press, 2022), 550 pp + 60 figures.

      I can't wait to read Media and the Mind: Art, Science and Notebooks as Paper Machines, 1700-1830 (Chicago: University of Chicago Press, 2022)!

      I see some bits on annotation hiding in here that may be of interest to @RemiKalir and @anterobot.

      If you need some additional eyeballs on it prior to publication, I'm happy to mark it up in exchange for the early look.

    1. Now consider we want to handle numbers in our known value set: const KNOWN_VALUES = Object.freeze(['a', 'b', 'c', 1, 2, 3]) function isKnownValue(input?: string | number) { return typeof(input) === 'string' && KNOWN_VALUES.includes(input) } Uh oh! This TypeScript compiles without errors, but it's not correct. Where as our original "naive" approach would have worked just fine. Why is that? Where is the breakdown here? It's because TypeScript's type system got in the way of the developer's initial intent. It caused us to change our code from what we intended to what it allowed. It was never the developer's intention to check that input was a string and a known value; the developer simply wanted to check whether input was a known value - but wasn't permitted to do so.
    1. In the vast majority of cases when I'm using prettier-ignore I'm only really looking to prevent it from breaking my code into new lines, whilst keeping its other transformations such as switching quotes and adding space between brackets. When ignoring single lines, fixing these formatting problems by hand is very manageable. With the ability to have Prettier ignore entire blocks of code I think the ability to specify what you want it to ignore is essential.
    1. The Simplified Spelling Board of the early 1900s in the United States made gauge one of its targets in the early 1920s, urging the replacing of au with a to yield gage. From Simplified Spelling Board, Handbook of Simplified Spelling (1920): Principles Adopted Its [the Board's] recommendations, accordingly, have been based on the following principles : 1) When current usage offers a choice of spellings, to adopt the shortest and simplest. EXAMPLES : blest, not blessed ; catalog, not catalogue; center, not centre; check, not cheque or checque; gage, not gauge; gram, not gramme; honor, not honour; license, not licence; maneuver, not manoeuvre; mold, not mould; plow, not plough; quartet, not quartette; rime, not rhyme; tho, not though; traveler, not traveller.
    1. Zoom told its users that their video calls were end-to-end encrypted when actually they were protected by TLS encryption. Zoom generated and stored the keys to its users’ encrypted information on its servers rather than on its users’ devices, meaning anyone with access to those servers could monitor the unencrypted video and audio content of Zoom meetings. These servers are located around the world, often in countries where companies can be forced to share user data with law enforcement organizations. What’s worse is that, according to the most recent lawsuit, Zoom’s response made it clear that it “knew that it did not use the industry-accepted definition of E2E encryption and had made a conscious decision to use the term ‘end-to-end’ anyway”.
    1. Due to the paucity of research and significant heterogeneity in studies, definitive conclusions about the effects of these micronutrients on HRV cannot be made at this time. However, there is accumulating evidence suggesting deficiencies in vitamins D and B-12 are associated with reduced HRV, and zinc supplementation during pregnancy can have positive effects on HRV in offspring up until the age of 5 y.

      Odd they don't mention vitamin E or other antioxidants. They do cite that placebo-controlled vitamin E study in diabetics. I ought to see what other important information they've left out of the abstract.

    Tags

    Annotators

    1. Using Boolean Search on LinkedInLast updated: July 6, 2018You can run a Boolean search on LinkedIn by combining keywords with operators like AND, NOT, and OR during your search.Here are some ways to use Boolean logic and construct your searches: Quoted searches: For an exact phrase, enclose the phrase in quotation marks. For example, type "product manager". You can also use quotation marks if you want to find someone with a multi-word title. LinkedIn search only supports standard, straight quotation marks ("). Other software or websites may use special symbols that our system does not recognize. Curly quotation marks (“), also known as smart quotes or typographer's quotes, aren't supported. In order to optimize overall site performance, stop words such as "by", "in", "with", etc. aren't used. NOT searches: Type the word NOT (capital letters) immediately before a search term to exclude it from your search results. This typically limits your search results. For example, "programmer NOT manager". OR searches: Type the word OR (capital letters) to see results that include one or more items in a list. This typically broadens your search results. For example, "sales OR marketing OR advertising”. AND searches: AND searches: Type the word AND (capital letters) to see results that include all items in a list. This typically limits your search results. For example, "accountant AND finance AND CPA".. Note: You don't need to use AND. If your search has two or more terms, you'll automatically see results that include all of them. Parenthetical searches - To do a complex search, you can combine terms using parentheses. For example, to find people who have "VP" in their profiles, but exclude "assistant to VP" or SVPs, type VP NOT (assistant OR SVP). When handling searches, the overall order to precedence is: Quotes [""] Parentheses [()] NOT AND OR Important: The + and - operators are not officially supported by LinkedIn. Using AND in place of + and NOT in place of - makes a query much easier to read and guarantees that we'll handle the search correctly. When using NOT, AND, or OR operators, you must type them in uppercase letters. We don't support wildcard "*" searches. Boolean search will work in the keyword field in Recruiter and Linkedin.com, and will work in the Company, title, and keyword field in Sales Navigator.

      Search operators on LinkedIn

    1. U.S. Senate Subcommittee on Communications, Technology, Innovation, and the Internet, "Optimizing for Engagement: Understanding the Use of Persuasive Technology on Internet Platforms," 25 June 2019, www.commerce.senate.gov/2019/6/optimizing-for-engagement-understanding-the-use-of-persuasive-technology-on-internet-platforms.

      Perhaps we need plurality in the areas for which social data are aggregated?

      What if we didn't optimize for engagement, but optimized for privacy, security, or other axes in the space?

  2. Jul 2021
    1. Finally, Real America has a strong nationalist character. Its attitude toward the rest of the world is isolationist, hostile to humanitarianism and international engagement, but ready to respond aggressively to any incursion against national interests.

      Humanitarianism and international engagement are definitely important, but their value is often made invisible to "Real America" or "middle America".

      How can this value be made more apparent? How could we account for it to make it easier to see?

      The issue is compounded when large corporations receive massive bailouts as it's an additional cost weighing down the system. Would humanitarianism and international engagement be easier to uphold if we left off corporate costs? Do most of the value of humanitarianism and international engagement redound to corporations as an additional value primarily to them rather than everyday people? Is their perceived problem that they're another method of privatizing profits to major corporations and elites and socializing the losses to the average person?

  3. datatracker.ietf.org datatracker.ietf.org
    1. The WebSocket Protocol is designed on the principle that there should be minimal framing (the only framing that exists is to make the protocol frame-based instead of stream-based and to support a distinction between Unicode text and binary frames). It is expected that metadata would be layered on top of WebSocket by the application Fette & Melnikov Standards Track [Page 9] RFC 6455 The WebSocket Protocol December 2011 layer, in the same way that metadata is layered on top of TCP by the application layer (e.g., HTTP). Conceptually, WebSocket is really just a layer on top of TCP that does the following: o adds a web origin-based security model for browsers o adds an addressing and protocol naming mechanism to support multiple services on one port and multiple host names on one IP address o layers a framing mechanism on top of TCP to get back to the IP packet mechanism that TCP is built on, but without length limits o includes an additional closing handshake in-band that is designed to work in the presence of proxies and other intermediaries Other than that, WebSocket adds nothing. Basically it is intended to be as close to just exposing raw TCP to script as possible given the constraints of the Web. It's also designed in such a way that its servers can share a port with HTTP servers, by having its handshake be a valid HTTP Upgrade request. One could conceptually use other protocols to establish client-server messaging, but the intent of WebSockets is to provide a relatively simple protocol that can coexist with HTTP and deployed HTTP infrastructure (such as proxies) and that is as close to TCP as is safe for use with such infrastructure given security considerations, with targeted additions to simplify usage and keep simple things simple (such as the addition of message semantics).
    1. Blogging about your work hits both of those marks. It also means that you have to translate your work from academese to language that non-academics will understand (i.e. jargon) and also foreground the relevance of your work. You have to tell people why your work is important and what it adds to the world.

      This is such an important point. Donald Trump did such an excellent job speaking at a level a lay person could understand when downplaying the seriousness of the Covid-19 virus thus undermining the scientific and medical community voices, that many Americans are refusing to vaccinate. This puts the world at risk for future variants that might be much worse than the ones we have now. More academics simplifying knowledge will help stem the tide of fake news, political propaganda and truly harmful misinformation.

    1. John Bowers, Elaine Sedenberg, and I have described how that might work, suggesting that libraries can again serve as semi-closed archives of both public and private censorial actions online. We can build what the Germans used to call a giftschrank, a “poison cabinet” containing dangerous works that nonetheless should be preserved and accessible in certain circumstances. (Art imitates life: There is a “restricted section” in Harry Potter’s universe, and an aptly named “poison room” in the television adaptation of The Magicians.)

      I love this idea of a poison cabinet or giftschrank.

      How might this work in an oral society? How would it be designed?

    1. The Swedish 18th-century naturalist Carolus (Carl) Linnaeus is habitually credited with laying the foundations of modern taxonomy through the invention of binominal nomenclature. However, another innovation of Linnaeus' has largely gone unnoticed. He seems to have been one of the first botanists to leave his herbarium unbound, keeping the sheets of dried plants separate and stacking them in a purpose built-cabinet. Understanding the significance of this seemingly mundane and simple invention opens a window onto the profound changes that natural history underwent in the 18th century.

    1. The relationship between Phillips — one of whose most famous works is A Humument, an ongoing-for-decades collage/manipulation/adaptation of a Victorian book — and Eno is a fascinating one in the history of aleatory or, as I prefer, emergent art.

      Humument sounds interesting, particularly the descriptions of collage/manipulation

      aleatory is a great word that one sees infrequently and all too randomly

  4. Jun 2021
    1. How to work hard with clearly defined, externally imposed goals?

      1. learn not to lie to yourself (i.e. avoid the truth) (e.g. procrastinate is a form of refusing to acknowledge the deadline)
      2. not to get distracted
      3. not to give up when things go wrong
    1. npm install <folder>: Install the package in the directory as a symlink in the current project. Its dependencies will be installed before it's linked. If <folder> sits inside the root of your project, its dependencies may be hoisted to the top-level node_modules as they would for other types of dependencies.
    1. Giving peers permission to engage in dialogue about race and holding a lofty expectation that they will stay engaged in these conversations throughout the semester or year is the first of the four agreements for courageous conversation. While initially, some participants may be eager to enter into these conversations, our experience indicates that the more personal and thus risky these topics get, the more difficult it is for participants to stay committed and engaged." Singleton and Hays

    2. "Music education students enter universities from diverse backgrounds that include musical experiences in “subaltern” musical practices (rock bands, music theatre, hip hop, and other genres). After four years or so in the institutional environment, we send them out to the world somehow convinced that what they ought to be teaching is the Western canon."

    3. "Although in the United States it is common to use the term multiculturalism to refer to both liberal forms of multiculturalism and to describe critical multicultural pedagogies, in Canada, Great Britain, Australia, and other areas,anti-racism refers to those enactments of multiculturalism grounded in critical theory and pedagogy. The term anti-racism makes a greater distinction, in my opinion, between the liberal and critical paradigms of multiculturalism, and is one of the reasons I find the anti-racism literature useful for analyzing multiculturalism in music education."

    4. "Many North American music education programs exclude in vast numbers students who do not embody Euroamerican ideals. One way to begin making music education programs more socially just is to make them more inclusive. For that to happen, we need to develop programs that actively take the standpoint of the least advantaged, and work toward a common good that seeks to undermine hierarchies of advantage and disadvantage. And that, inturn, requires the ability to discuss race directly and meaningfully. Such discussions afford valuable opportunities to confront and evaluate the practical consequences of our actions as music educators. It is only through such conversations, Connell argues, that we come to understand “the real relationships and processes that generate advantage and disadvantage”(p. 125). Unfortunately, these are also conversations many white educators find uncomfortable and prefer to avoid."

    1. Oversharing. Crying, disclosing intimate details, and telling long (unrelated and/or unsolicited) stories about one’s personal life may indicate the lack of an essential social work skill: personal boundaries.

      Testing out the annotate feature. Student 1 will highlight sections according to the prompts, as shown HERE.

      For example: "This is me during interviews. I say too much and veer off topic."

    1. We should think about the number of simultaneous connections (peak and average) and the message rate/payload size. I think, the threshold to start thinking about AnyCable (instead of just Action Cable) is somewhere between 500 and 1000 connections on average or 5k-10k during peak hours.
      • number of simultaneous connections (peak and average)

      • the message rate/payload size.

    1. ​La forme de cet écrit est multisupport : à l’écran et imprimée, mettant en action les outils développés par les designers que j’étudie dans cette réflexion. Et, le propos sur l’édition à plusieurs est actionné par les commentaires de chaque lecteur disponibles sur la version numérique.

      Les commentaires et échanges ne sont donc visibles que sur la version numérique ? Puisqu'on parle de web to print, ce serait intéressant que l'écrit augmenté soit aussi présent dans la forme imprimée. En terme de mise en page, cela pourrait donner lieu à une forme intéressante des échanges : en fin d'ouvrage ? ou entrecoupant les différents chapitres ? ou encore directement en face de l'écrit d'origine pour confronter deux textes ? Chaque nouvelle impression serait comme une réédition, une édition qui s'écrirait sans cesse dans le temps.

    1. Other treatises exemplifying the retreat of imagery from the fourth canon include Henry Herdson’sThe Art of Memory Made Plaine, which saw two printings in 1651 and another in 1654, and ThomasFuller’s 1641 bookThe Holy State and the Profane State, which contains a section“On Memory.”

      Add these to our list.

    2. Willis’s primary interest was shorthand writing—he is chiefly noted forArt of Stenographie—andhis memory treatise is clearly influenced by shorthand’s mechanism of one-to-one correspondence.

      John Willis's Mnemonica (Latin 1618, English 1621, 1654, and 1661) covers memory, but he was apparently more interested in shorthand writing and also wrote Art of Stenographie.

      I'll have to read this for a view into the overlap of memory and shorthand with respect to the development of the major system. Did this influence others in the chain of history? It definitely fits into the right timeline.