2,516 Matching Annotations
  1. Nov 2020
    1. Microbundle also outputs a modern bundle specially designed to work in all modern browsers. This bundle preserves most modern JS features when compiling your code, but ensures the result runs in 90% of web browsers without needing to be transpiled. Specifically, it uses preset-modules to target the set of browsers that support <script type="module"> - that allows syntax like async/await, tagged templates, arrow functions, destructured and rest parameters, etc. The result is generally smaller and faster to execute than the esm bundle
    1. If I understand the problem correctly, just changing the imports to point to svelte/internal isn't enough because they could still point to different packages depending on how your components are bundled. It solved your specific issue, but if you had two completely unrelated Svelte components compiled to vanilla javascript bundled with Svelte, you'd still hit issues with mismatching current_component when using slots or callbacks.
    2. It sounds like another case of multiple svelte/internal modules? I think we need to look into reworking how svelte/internal keeps track of the current component since it breaks when mixing components not bundled with the app. It sounds like we need to find a way to pass Svelte's internal runtime state when instantiating components, since slots and callbacks end up mixing different svelte/internal together.
    1. As mentioned in #2937, this is the sort of thing that happens when you have two copies of Svelte's internal scheduler running. If you're importing the compiled version of an external Svelte component into another Svelte component, this is what you end up with. There's a svelte field in package.json that's respected by rollup-plugin-svelte and which is intended to point at the uncompiled Svelte source, so that the external component can be bundled together with the main app, without any duplicated internals.
    1. I agree to the terms and conditions of the software, and hereby sign away my life just to check my freaking messages.
    1. but know I know what I don't want to do. I definitely know I want to be an Engineer now, and it makes it more clear that I should start my own business.
    1. Express - 19 $ 🏃‍♀️ Skip the Review Queue 🕒 Published in 3 days 💌 Full Customer Support 💚 Support the team

      Wow, after seeing how this site works, I don't like much like it anymore.

      Esp. this below:

      Choose your preferred publish date - 9 $ Feature your project on top for 14 days and get an additional tweet - 19 $

      I hope there is/will be soon a more open/free alternative (like the "awesome" lists that use GitHub PRs instead of an opaque/proprietary submisison form).

    1. We expect a certain pattern when validate devtool name, pay attention and dont mix up the sequence of devtool string. The pattern is: [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map.
    1. The resolve.alias option is used to make sure that only one copy of the Svelte runtime is bundled in the app, even if you are npm linking in dependencies with their own copy of the svelte package. Having multiple copies of the internal scheduler in an app, besides being inefficient, can also cause various problems.
    1. We all know that real business logic does not belong in the presentation layer, but what about simple presentation-oriented things like coloring alternate rows in table or marking the selected option in a <select> dropdown? It seems equally wrong to ask the controller/business logic code to compute these down to simple booleans in order to reduce the logic in the presentation template. This route just lead to polluting the business layer code with presentation-oriented logic.
    2. Templates with logic versus "logic-less" templates is a hotly debated point among template language designer and users. Dust straddles the divide by adopting a "less logic" stance.
    1. Obviously we shouldn't rush into anything. But changes like these are best made earlier on in a project's lifecycle, so I'm eager to hear what people think so that we can start making some progress.
    2. The success of JSX has proved that the second curly is unnecessary. Moreover, a lot of people — particularly those who have been exposed to React — have a visceral negative reaction to double curlies, many of them assuming that it brings with it all the limitations of crusty old languages like Mustache and Handlebars, where you can't use arbitrary JavaScript in expressions.
  2. Oct 2020
    1. Please don't copy answers to multiple questions; this is the same as your answer to a similar question

      Why on earth not? There's nothing wrong with reusing the same answer if it can work for multiple questions. That's called being efficient. It would be stupid to write a new answer from scratch when you already have one that can work very well and fits the question very well.

    1. Description: The authors discuss the usage of blogs in political science classrooms at a university level. There are five skills (critical thinking, political awareness, background research, essay writing, and reflection) which are improved through the use of blogging and the article dedicates a segment to each skill. The last section of the article discusses two types of blogging students can attempt: response to news clippings or experiential blogging. The first kind is available to all students and requires learners to find and respond to news articles. The second is more reflective of a current opportunity students might have such as studying abroad or an internship.

      Rating: 7/10

      Reason for the rating: The article gives detailed explanations for the impact blogging has on student achievement. It gives examples of each type of blogging to help the reader fully understand the writers ideas. Yet, the article focuses only on political science students while blogs-- and four out of the five skills mentioned above-- can be applies to the majority of university classes.

    1. Australia's Cyber Security Strategy: $1.66 billion dollar cyber security package = AFP gets $88 million; $66 million to critical infrastructure organisations to assess their networks for vulnerabilities; ASD $1.35 billion (over a decade) to recruit 500 officers.

      Reasons Dutton gives for package:

      • child exploitation
      • criminals scamming, ransomware
      • foreign governments taking health data and potential attacks to critical infrastructure

      What is defined as critical infrastructure is expanded and subject to obligations to improve their defences.

      Supporting cyber resilience of SMEs through information, training, and services to make them more secure.

    1. Yeah I see what you're saying. In my case, I had a group of classes that relied on each other but they were all part of one conceptual "module" so I made a new file that imports and exposes all of them. In that new file I put the imports in the right order and made sure no code accesses the classes except through the new interface.
    2. manually specifying the order isn't really a great solution (as tempting as it sounds) because you'll probably have broken behaviour if you subsequently move away from Rollup.
    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. Specifically, since Root, Rule and AtRule all extend Container, it's essential that Container is evaluated (and therefore, in the context of a Rollup bundle, included) first. In order to do this, input.js (which is the 'gateway' to all the PostCSS stuff) must import root.js, root.js must import rule.js before it imports container.js, and rule.js must import at-rule.js before it imports container.js. Having those imports ensures that container.js doesn't then try to place Root, Rule or AtRule ahead of itself in the bundle.
    3. 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. Many black business owners blamed the problem on lowerclass peoples’ affliction with the “white man’s psychology,” namely, that migrantshad been brainwashed into thinking they had to shop in a white-owned store, eitherbecause whites would punish them if they didn’t or because white stores were nec-essarily higher quality than black ones.48Whether this was the case or not, therewere several other things complicating black consumers’ willingness to shop inblack-owned businesses.

      Breakout Group 02: The evidence above demonstrates the "integration of rural Southern culture into urban African American consciousness" where foodways are a "natural vehicle for the expression…of freedom" because it shows the complication within the black community. Where an expression of freedom is an African American having a grocery store. One would think that the Black owned grocery store would be successful due to "black authenticity" but many Black people feared blacklash from White people for even attempting to be independent but also because many Black people were brainwashed to believe that the white businesses have better quality products over the black owned business.

    1. Accordingly, our results strongly suggest thatonlineinstructionin keyintroductorycollege-level courses, at least as currently practiced, maynot be aseffectiveasface-to-faceinstructionat2-yearcommunitycolleges.

      According to a study done across all Virginia Community Colleges, students who signed up for gatekeeper courses (basic English and Math) online did less well in those courses than did their peers who took the same classes in person. There was a higher attrition rate in the online classes as well. Students who came in with good GPAs tended to do well in online courses, but those who were struggling with academics did worse than they probably would have in person. Many statistics are included. 9/10

    1. that will advance justice and opportunity for college athletes. The proposal will guarantee fair and equitable compensation, enforceable health and safety standards, and improved educational opportunities for all college athletes.

      Parts of the College Athletes Bill of Rights (CABR)

    1. Note that the <WarningEngine/> component must be at the bottom of the form to guarantee that all the fields have registered.
    1. Higher education institutions need to address these challenges, and technological tools — even some surprisingly simple ones — can go a long way toward enhancing the college experience for older students, says Brian Fleming, executive director of the Sandbox ColLABorative at Southern New Hampshire University.

      Older students (over 25) are often changing careers. They tend to have more responsibilities than traditional college students, and a lower threshold for micro-frustrations like bureaucracy, form. Colleges should accommodate them with things like digital signatures and virtual meeting availability. Technology should be platform-agnostic for them (and everyone). 5/10

    1. While our program still faces some challenges around engaging our students and keeping them enrolled in programs long enough to complete their goals, technology has allowed us to make some remarkable strides.

      A school system that extends to adult education utilizes online apps as an option (but doesn't require internet access, as many people lack it at home). They have found them to be helpful, especially because people who work odd shift jobs and have burst of time at odd hours can get some practice in. This is most helpful for ESL learners. 6/10

    1. Online learning environments have a promising future for researchers, practitioners, and learners. However designing and developing more effective and efficient online learning environments is possible with ongoing research and development. This paper offers four research goals and matches four existing methodologies to improve student outcomes in online learning environments defined as learner achievement, engagement, and retention.

      The authors outline four general research goals, and then go into detail on some of the questions that should be researched within those areas. They then suggest four methodologies to use in designing students to research those questions: formative, developmental, and experimental research and activity theory. All of these could help include online learning in terms of learner achievement, engagement, and retention. 9/10

    1. Technology integration has also been shown to help create more authentic learning environments where the students are more motivated to attend, have a greater chance of communication and collaboration and have more opportunities to use higher order thinking and problem solving skills connected to real world applications (Fouts, 2000) This has led some to believe that new theories in learning needed to be developed that would help to support the creation of such learning environments. The three emerging theories discussed in this paper all possess the ability to support the creation of such learning environments.  They all support the idea that learning is through action.  They all support that cognition happens through communication and collaboration with others.  They all support the use of technology to help in the creation of such learning environments. It is through these new theories that learning environments, which support the development of these higher-level learning skills, can be created.  

      This appears to be a paper written by an upper-level undergraduate (based on the writing), describing the importance of technology in 21st century education and describing three cognitive theories, all requiring collaborative learning, The author highlights the importance of student engagement through technology, which students like, and assumes its importance in the workplace. 5/10

    1. Research about adults as learners can inform the design of effective digital learning experiences. Although there is no one principle that can be applied to all adults, the design principles outlined here are based on five of the prevailing theories about how adults learn: andragogy, experiential learning, self-directed learning, transformational learning, and neuroscience.

      This article applies the principles of andragogy, self directed learning, experiential learning, transformational learning, and neuroscience (all of which seem rather similar), to low-skilled adults, who are likely to lack confidence about learning and who may be learning in bits of free time via cell phone. Emphasizes the importance of an instructor or coach, along with good use of technology. 8/10

    1. Faculty need to focus on learning theory in the design of instructional technology so that they can create lessons that are not only technology-effective but that are meaningful from the learner’s standpoint.

      Fidishun, a librarian and Penn State's satellite campuses, expands Knowles' 6 assumptions of andragogy, and draws out some of their implications for technology-based instruction for adults. This is short and to the point, but readers would benefit from the writer going into greater details. 7/10

    1. just saying that if you're going to try to go with a markup approach, at least go all the way, instead of the frankenstein that is JSX
    2. I'm okay with an overall design that allows people to plugin the parts they need in order to be able to generically support a compile-to-javascript language, but to bake in support for one singular solution because its popular is simply bad engineering.
    3. One of the primary tasks of engineers is to minimize complexity. JSX changes such a fundamental part (syntax and semantics of the language) that the complexity bubbles up to everything it touches. Pretty much every pipeline tool I've had to work with has become far more complex than necessary because of JSX. It affects AST parsers, it affects linters, it affects code coverage, it affects build systems. That tons and tons of additional code that I now need to wade through and mentally parse and ignore whenever I need to debug or want to contribute to a library that adds JSX support.
    4. Yes, you can embed loops in it and compose lots of small repeated JSX snippets, but that almost never happens in practice because mixing the turing complete of javascript with the markup of HTML eliminates the readability of JSX so that it is actually harder to parse than a solution like hyperscript (the syntactical approach taken by virtual-dom).
    5. 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.
    6. This is the problem with baking in support for frameworks with special cases in the codebase. You can never support all the frameworks. :-(
    1. The problem is that not all tooling supports adding new dependencies from a transform. The first step is figuring out how this can be done idiomatically in the current ecosystem.
    2. It's much easier to iterate on new versions by deploying npm packages than updates to the compiler toolchain. Therefore, it might be best if the actual implementation still lives in the react package.
    1. Incurring high-cost changes isn't evolutionary design-it's oscillation caused by poor planning and requirements specification on a high cost-of-change component-it tips the anticipation/adaptation balance too far towards adaptation.
    1. That is, we envision a cuisine and an attendant lifestyle that is more au-thentic and less stressful, more "natural," than the world in which we live.

      ~Group 4~ Anne Meneley is discussing how olive oil is becoming an increasingly more sought after ingredient because of its praise as a natural ingredient. Though olive oil is seen as a traditional and authentic ingredient, due to media, it is an industrialized product and is only widespread because of that- despite the misconceptions to make people think otherwise. There are many reoccuring themes within the article such as distinction, naturalness, processed, and industrialization to name a few. The quote that is highlighted connects to themes because people truly seem to worship this idea of being and living naturally. The idea of being natural also includes eating naturally and there's this distinction between people who live naturally and who don't. People who idolizes this natural lifestyle seem to think they are being authentic when they are failing to realize that transformations and growth are necessary. Meneley seems to want the reader to think about what industrialization and processed foods mean exactly.

    1. I think logic-less templates are overrated. We already have logic in components with {#if} so I don't see what the concern is about logic in templates.

    2. Arguably, it leans into JSX land—including logic in the templates.
    3. I could imagine people putting a more complex expression in an @const than we typically find in svelte expressions today, which might create more demand for those blocks to have TypeScript support, which I don't think they have now.
    4. About the argument against it, "{@const will make code less consistent ": I think the same is true now, since people can come up with very different ways of dealing with the "computed value inside each loop/if function" problem. Some extract components, some use functions, some will prepare the array differently beforehand.
    5. Also a vote against, for the simple reason that logicless templates would be the ultimate goal for me.
    6. one of the reasons people sometimes balk at mustache-like syntax is just that: logic in the templates.
    7. it also allows for more divergence in how people write there code and where they put their logic, making different svelte codebases potentially even more different due to fewer constraints. This last point is actually something I really value, I read a lot of Svelte code by a lot of different people and broadly speaking things look the same and are in the same places.
    1. IMO svelte does have a responsibility to teach/demo the basics of "functional javascript" probably as a docs/tutorial/demos chapter on "the power of javascript expressions"
    1. Description: This text describes adult learning theories best used in a workforce training. It describes the environmental factors which lead to success in an adult student (such as a positive atmosphere) as well as techniques like heterogeneous learning groups. It attempts to persuade the reader to address the personal needs of each student while still moving the class towards the trainings goal. As a whole, this article covers the basics of what trainers need to know when teaching adults in a workface setting.

      Rating: 6/10

      Reason for rating: This article is very quick and direct. It discusses each technique, skill, or factor with examples and reasoning for the suggestions. Each suggestion is well-thought out and logical. Yet, the article cites few other texts which discredits it a little. The article was found through JSTOR which only sources peer-reviewed texts.

    1. Every new variation to the view requires updating both the view model and the template. This holds true even for simple variations.
    2. Writing a logic-less template requires a bloated view model with comprehensive getters for the raw data. As a result, a messy and difficult-to-maintain view model usually accompanies logic-less templates.
    3. Full-of-logic, logic-less, and less-logic solutions
    4. that does not mean that I am advocating the other extreme–i.e., a templating language that allows a lot of logic. I find such templating languages, especially those that allow the host programming languages to be used inside the template, to be hard to read, hard to maintain, and simply a bad choice.
    1. Mustache is described as a "logic-less" system because it lacks any explicit control flow statements, like if and else conditionals or for loops
    2. Here, when x is a Boolean value then the section tag acts like an if conditional, but when x is an array then it acts like a foreach loop.
    1. Graeber has a great deal more to say about money and its unique capacityto store value, and also about the ideology of the market with its highlyindividuated notion of human desires (e.g. 2001: 257). His analysis opensup an intriguing question. If in market societies money is a measure, amedium and above all an end in itself (2001: 66) and value-for-moneydominates what we conventionally call the economy, how do other valuescoexist with this monetarized realm and its rationality of quantificationand self-interest? Graeber points out that, in our view of society, marketprinciples can be balanced by family values and altruistic charity (2001:257), but he views these as just ‘two sides of the same false coin’

      In this capitalistic society money makes the world go round. Graeber has a pessimistic view in regards to the idea that family and altruism can balance out greed because he believes that they are in direct conflict to capitalism. Graeber expands further on his thoughts

    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. let:hovering={active}

      It seems like it should be the other way around:

      let:active={hovering}
      

      to make it look like a regular let assignment.

      It's only when you consider what/how let:hovering on its own means/works that it makes a bit more sense that it is the way it is. When it's on its own, it's a little clearer that it's saying to "make use of" an available slot prop having the given name. (Very much like bind, where the LHS is also the name of the prop we're getting the data from.) Obviously we have to identify which prop we're wanting to use/pull data from, so that seems like the most essential/main/only thing the name could be referring to. (Of course, as a shortcut (in this shorthand version), and for consistency, it also names the local variable with the same name, but it wouldn't have to.)

      Another even simpler way to remember / look at it:

      1. Everything on the left hand of an prop/attribute [arg] corresponds to something in the component/element that you're passing the [arg] to. Usually it's a prop that you're passing in, but in this case (and in the case of bind:) it's more like a prop that you're pulling out of that component, and attaching to. Either way, the name on the LHS always corresponds to an export let inside that named component.
      2. Everything on the right side corresponds to a name/variable in the local scope. Usually it passes the value of that variable, but in the case of a let: or bind: it actually "passes the variable by reference" (not the value) and associates that local variable with the LHS (the "remote" side).

      Another example is bind: You're actually binding the RHS to the value of the exported prop named on the LHS, but when you read it (until you get used to it?) it can look like it's saying bind a variable named LHS to the prop on the RHS.

    1. Basically, the idea is that a train tried to start with the caboose brakes stuck on. After releasing the caboose, the train still could not start. The problem was that when the train attempted to start with the caboose brake on, it stretched all the inter-car couplings so that the whole train was just like one big car. At this point, the friction from the engine train wheels was not enough to get the whole thing going. Instead, you need to just get one car moving at a time - this is why there is space between the couplings.
    1. I don't understand why it just launches the mutation once and then it throws the error Function called outside component initialization, the only way to make it work is to do something like $: result = mutation(...) but it doesn't make sense, I don't want to run the mutation after each keystroke.
    2. We’re still working on idiomatic Svelte APIs so this one’s also on our list to figure out what the best way forward is
    1. I think Svelte's approach where it replaces component instances with the component markup is vastly superior to Angular and the other frameworks. It gives the developer more control over what the DOM structure looks like at runtime—which means better performance and fewer CSS headaches, and also allows the developer to create very powerful recursive components.
    1. I was… not one of those assigned to watch our chosen one, so I can’t say much about exactly what happened within the walls of that house, but it seems the fight scarred the place in a way far deeper than simple fire. A scar in reality, that I believe has since been compounded by the interferences of other powers.
    2. Regardless, the effect it had on Agnes was unanticipated. As far as we could tell, she had destroyed the place utterly. And yet she remained bound to it, tied to it in some vital way. I knew when Arthur told me she had kept Raymond Fielding’s hand, that he was worried. But none of us could know what you were going to do.
    1. I was now about to form another being of whose dispositions I was alike ignorant; she might become ten thousand times more malignant than her mate and delight, for its own sake, in murder and wretchedness.

      No one knows what someone will be like after they've been brought into the world, but we don't lament every single person who is born. When someone you know is having a kid you don't say to them: "remember H.H. Holmes? Are you sure you want to have kid? They might be ten thousand times worse than H.H. Holmes!" Because that would be ridiculous.

    1. Your styles are scoped to the component. No more leakage, no more unpredictable cascade.
    2. It's fashionable to dislike CSS. There are lots of reasons why that's the case, but it boils down to this: CSS is unpredictable. If you've never had the experience of tweaking a style rule and accidentally breaking some layout that you thought was completely unrelated — usually when you're trying to ship — then you're either new at this or you're a much better programmer than the rest of us.
    3. It gets worse when you're working on a team. No-one dares touch styles authored by someone else, because it's often unclear what they're doing, what markup they apply to, and what disasters will unfold if you remove them. The consequence of all this is the append-only stylesheet. There's no way of knowing which code can safely be removed, so it's common to undo some existing style with another, more specific style — even on relatively small projects.
    1. I didn’t quite understand that until I saw this tweet from Ryan Florence, who is a genius when it comes to explaining the React programming model in ways that normal people can understand — ‘the question is not when does this effect run, the question is with which state does this effect synchronize with?’

    1. When the woman saw that the fruit of the tree was good for food and pleasing to the eye, and also desirable(AT) for gaining wisdom, she took some and ate it.

      Despite being told by God that she and her husband were not allowed to eat the fruit from the tree of the knowledge of good and evil, Eve gave into her temptations. The idea of the "forbidden fruit" has been carried into other pieces of literature, using an apple to symbolize a character's temptation leading to downfall.

      For example, in the fairy tale, Snow White and the Seven Dwarfs, when Snow White eats the poisoned apple, offered by the evil witch, who parallels the serpent, she falls into a death-like sleep.

    1. While I am not homosexual, I have always felt that discrimination against homosexuality is completely ludicrous because I think people should love who they love. This belief that I have has giving me an idea for my research topic for my bibliography project where I look over the state of homosexuality in 2020. I decided to annotate this article because it gave a lot of good information about the state of homosexuality in 2020 and it has some links to other articles about homosexuality.

    1. Considerable research indicates that college students are bothmore likely to persist and to perform at high academic levelswhen they perceive themselves to be members of a cooperativeand supportive learning community (Kuh, 2009; Tinto, 2006;Zhao & Ku, 2004)

      For another study, being a member of a cooperative and supportive learning environment may moderate the rates for persistence and academic performance in college.

    1. This giant machine can be your best friend as long as you’re good for the business. But if you accidentally happen to get in its way, it’ll simply screw you over and won’t even notice. If tomorrow a corporate lawyer decides they need to cover their corporate ass more tightly — be it international sanctions, dodging any potential lawsuits from vocal minorities, or anything else — they won’t think twice: they’ll readily dispose of anyone and betray any “ideals” you might have thought they stand for.
    1. A final strand of the development of the prosperity gospel was the development of charismatic Pentecostal churches in America. An umbrella term for a decentralized group of churches — comprising over 700 denominations — Pentecostal churches are characterized by an emphasis on what is known as “spiritual gifts” (or charisms, from which the term “charismatic” is drawn). A worshipful Christian might experience, for example, the gift of healing, or might suddenly start speaking “in tongues.” This tradition of worship meant that, for a believer, the idea that God would manifest Himself to the faithful in concrete, miraculous ways in the here and now was more prevalent than it would be in, say, a mainline Episcopalian church. In addition, the decentralized nature of these churches also meant that individual leaders, many of whom practiced faith healing or similar practices, had a particularly strong effect on their congregations and could build up individual personal followings.

      Take a look at the potential relationship with these ideas and those described by Colin Woodard in American Nations and the overlap with Kevin Phillips' viewpoints.

  4. Aug 2020
    1. Allows batch updates by silencing notifications while the fn is running. Example: form.batch(() => { form.change('firstName', 'Erik') // listeners not notified form.change('lastName', 'Rasmussen') // listeners not notified }) // NOW all listeners notified
    1. Chen, Y., Yang, W.-H., Huang, L.-M., Wang, Y.-C., Yang, C.-S., Liu, Y.-L., Hou, M.-H., Tsai, C.-L., Chou, Y.-Z., Huang, B.-Y., Hung, C.-F., Hung, Y.-L., Chen, J.-S., Chiang, Y.-P., Cho, D.-Y., Jeng, L.-B., Tsai, C.-H., & Hung, M.-C. (2020). Inhibition of Severe Acute Respiratory Syndrome Coronavirus 2 main protease by tafenoquine in vitro. BioRxiv, 2020.08.14.250258. https://doi.org/10.1101/2020.08.14.250258

    1. The timescales on which a system’s processes run have critical consequences for its ability to predict and adapt to the future.

      A layer of architecture that is too slow to change: technical debt. (Pace layering)

    2. We also know that if individuals are bad at collecting good information – if they misinterpret data due to their own biases or are overconfident in their assessments – an aggregation mechanism can compensate.

      "wisdom of crowds"

    1. Salahudeen, A. A., Choi, S. S., Rustagi, A., Zhu, J., O, S. M. de la, Flynn, R. A., Margalef-Català, M., Santos, A. J. M., Ju, J., Batish, A., Unen, V. van, Usui, T., Zheng, G. X. Y., Edwards, C. E., Wagar, L. E., Luca, V., Anchang, B., Nagendran, M., Nguyen, K., … Kuo, C. J. (2020). Progenitor identification and SARS-CoV-2 infection in long-term human distal lung organoid cultures. BioRxiv, 2020.07.27.212076. https://doi.org/10.1101/2020.07.27.212076

    1. I don't doubt that we will soon treat the process of logging in as a figurative point of entry, meaning that log into will make full conceptual sense (cf you don't physically delve into a problem or pile into an argument, yet both are correct grammatically because they are semantically [i.e. figuratively])
    1. Ruby is the programming language used in Translation Proxy. For Sarah, Object Oriented Design “done the Ruby way” is so enjoyable and is the part of her work that she likes most.
    1. Hewitt, J., Carter, B., Vilches-Moraga, A., Quinn, T. J., Braude, P., Verduri, A., Pearce, L., Stechman, M., Short, R., Price, A., Collins, J. T., Bruce, E., Einarsson, A., Rickard, F., Mitchell, E., Holloway, M., Hesford, J., Barlow-Pay, F., Clini, E., … Guaraldi, G. (2020). The effect of frailty on survival in patients with COVID-19 (COPE): A multicentre, European, observational cohort study. The Lancet Public Health, 5(8), e444–e451. https://doi.org/10.1016/S2468-2667(20)30146-8

    1. Alfred Russel Wallace, who came up with the idea of natural selection independently of Charles Darwin, was an implacable opponent of the smallpox vaccine during the late 19th Century

      Being an anti-vaxxer makes sense from an evolutionary standpoint.

      Fixing any disease that could kill an individual before his/her childbearing age is only helping weaknesses (diseases) propagate in the human populous.

  5. Jul 2020
    1. The meta charset information must also be the first child of the <head> tag. The reason this tag must be first is to avoid re-interpreting content that was added before the meta charset tag.

      But what if another tag also specified that it had to be the first child "because ..."? Maybe that hasn't happened yet, but it could and then you'd have to decide which one truly was more important to put first? (Hopefully/probably it wouldn't even matter that much.)

    1. A growing number of platforms, vendors, and partners support the AMP Project by providing custom components or offering integration with AMP pages within their platforms.

      I guess AMP is actually open-source software, but it still feels like it's something non-standard. I guess it's just an alternative open standard to the "main" web open standards.

    1. If you have worked with emails before, the idea of placing a script into an email may set off alarm bells in your head! Rest assured, email providers who support AMP emails enforce fierce security checks that only allow vetted AMP scripts to run in their clients. This enables dynamic and interactive features to run directly in the recipients mailboxes with no security vulnerabilities! Read more about the required markup for AMP Emails here.
    1. Because the Web IDE is based on the Monaco Editor, you can find a more complete list of supported languages in the Monaco languages repository. Under the hood, Monaco uses the Monarch library for syntax highlighting.
    1. Introducing Module#const_source_locationUsing Method#source_location made finding the location of any method fairly easy. Unfortunately, there wasn’t an equivalent for constants. This meant that unless the constant you needed to find was defined in your codebase, finding its source location was not easy.
    1. In your environment you may want to always configure internationalization, routers, user data etc. If you have many different React roots it can be a pain to set up configuration nodes all over the place. By creating your own wrapper you can unify that configuration into one place.
  6. Jun 2020
    1. According to our understanding of the inconsistencies, the feature was likely trying to support too many edge cases. All caching strategies have weaknesses and eventually break down if the usage is not properly scoped.
    1. If people search through your website, will you guide them to topics first, or will they get a list of individual stories and updates to stories? Does your front page even hint at the fact that people can get more than just the daily news at your site?