Sapir. A. (2020) European Union economies so differently? Policy contribution. Retrieved from: https://www.bruegel.org/2020/09/why-has-covid-19-hit-different-european-union-economies-so-differently/?utm_content=buffer5fc94&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
- Dec 2020
-
www.bruegel.org www.bruegel.org
-
hypothes.is hypothes.is
-
Cleophas Pesant is the son of Thadee Pesant also known as the blacksmith, was already in light-coloured summer garments, and sported an American coat with broad padded shoulders. Beside him Egide Simard, and others who had come a long road by sleigh, fastened their long fur coats as they left the church, drawing them in at the waist with scarlet sashes. The young folk of the village, very smart in coats with otter collars, gave deferential greeting to old Nazaire Larouche; a tall man with gray hair and huge bony shoulders who had in no wise altered for the mass his everyday garb: short jacket of brown cloth lined with sheepskin, patched trousers, and thick woollen socks under moose-hide moccasins. Cleophas Pesant waited for Louisa Tremblay who was alone, and they went off together along the wooden sidewalk in the direction of the house. Samuel Chapdelaine and Maria had gone but a little way when a young man halted them. Samuel Chapdelaine and Maria were to dine with their relative Azalma Larouche. There was nothing to look at; in the settlements new houses and barns might go up from year to year, or be deserted and tumble into ruin; but the life of the woods is so unhurried that one must needs have more than the patience of a human being to await and mark its advance. Telesphore busied himself with the dog-harness and made believe not to hear.
-
-
github.com github.com
-
Also agree that <svelte:slot> is perhaps a little confusing since it replaces the slot attribute rather than the slot element, so <svelte:fragment> would make more sense
-
-
github.com github.com
-
Just to reiterate the discussion on the RFC, there was a suggestion that we change <svelte:slot slot="foo"> to <svelte:fragment slot="foo">, since it's the counterpart to a <slot> rather than an equivalent to it
-
-
github.com github.com
-
Our team is building open source community tools and Svelte fits our identity as an independent labor of love with an organic community.
-
With some frameworks, you may find your needs at odds with the enterprise-level goals of a megacorp owner, and you may both benefit and sometimes suffer from their web-scale engineering. Svelte’s future does not depend on the continued delivery of business value to one company, and its direction is shaped in public by volunteers.
-
Svelte’s aesthetics feel like a warm cozy blanket on the stormy web.
-
Making UIs with Svelte is a pleasure. Svelte’s aesthetics feel like a warm cozy blanket on the stormy web. This impacts everything — features, documentation, syntax, semantics, performance, framework internals, npm install size, the welcoming and helpful community attitude, and its collegial open development and RFCs — it all oozes good taste. Its API is tight, powerful, and good looking — I’d point to actions and stores to support this praise, but really, the whole is what feels so good. The aesthetics of underlying technologies have a way of leaking into the end user experience.
-
It's true that Svelte does not allow you to map over children like React, but its slot API and <svelte:component> provide similarly powerful composition. You can pass component constructors as props and instantiate them with <svelte:component>, and use slots and their let bindings for higher order composition. It sounds like you're thinking in virtual DOM idioms instead of Svelte's.
-
However, Svelte isn't React or Vue or any other framework, the same approach will not always work and given that Svelte has very different constraints and approach that works well in another framework is not suitable with Svelte. Trying to apply approaches use with other frameworks to Svelte will invariably end in frustration.
Tags
- organic community
- analogy
- fits nicely
- at odds with
- labor of love
- different way of thinking about something
- identity
- comparison
- Svelte
- co-op (organization/governance)
- conflict of interest
- a pleasure to use/work with
- excellent writing
- quotable
- feels good
- future of project depending on continued delivery of business value to one company
- business interests/needs overriding interests/needs of users
- organic
- picturesque
- community (for a project or product)
- React
- balance of power
- open-source projects: allowing community (who are not on core team) to influence/affect/steer the direction of the project
- aesthetics
- feels natural
- something people like to use
- more interested in their own interests
- open source community
- feels like a breath of fresh air
Annotators
URL
-
-
github.com github.com
-
locked and limited conversation to collaborators
Why do they punish the rest of us (can't even add a thumb up reaction) just because someone was "talking too much" or something on this issue?
-
-
github.com github.com
-
I think this issue can be closed and new issues be created / referenced here for any related functionality that isn't in yet.
-
-
www.quora.com www.quora.com
-
Each area requires specific learning and thinking in a certain way. Front-end is user centric, back-end is closer to algorithms and parallel programming, databases require thinking in streams of data based on a model (similar to set theory and model checking).
-
-
blog.kotlin-academy.com blog.kotlin-academy.com
-
To stay up-to-date with the new parts, just follow this medium or observe me on Twitter. In case you need some help, remember that I am open for consultation.
-
-
jamstack.org jamstack.org
-
Serving pages and assets as pre-generated files allows read-only hosting reducing attack vectors even further. Meanwhile dynamic tools and services can be provided by vendors with teams dedicated to securing their specific systems and providing high levels of service.
-
-
patthomson.net patthomson.net
-
Put yourself in the reader’s position and see if you can get a grip on how they might respond to your writing.
It seems like good advice but it's actually quite hard to divorce yourself from what you know. See the curse of knowledge.
This is why I think that having this list of questions is a good idea; you don't have to rely solely on putting yourself in the reader's shoes.
-
-
github.com github.com
-
I personally think that starting from google's components makes easier to keeping update to material specs updates.
-
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
-
All replication in R6K relies on the two essential components of a minimal replicon, the γ ori, and its cognate Rep, π protein, encoded by the pir gene
-
-
dl.acm.org dl.acm.org
-
; e-commerce sites have an economic incentiveto use personalization to induce users into spending moremoney
personalize of algorithm can make people spend more money, which help to improve the benifical of both website and merchant.
-
-
www.dailymail.co.uk www.dailymail.co.uk
-
A new study that found traces of coronavirus in US blood samples from December last year is adding to the growing evidence that the virus was circulating for months before China announced its existence, casting more shadows over the truth about the pandemic and fuelling suspicions of a cover-up by Beijing.
We know nothing about covid.
-
-
github.com github.com
-
It does not include any user interface at all (not even a terminal UI)
Tags
Annotators
URL
-
- Nov 2020
-
www.mattkaramazov.com www.mattkaramazov.com
-
The Thirteen Sources of Well-Being:More positive emotionsFewer negative emotionsLife satisfactionVitalityEnvironmental masteryPositive relationshipsSelf-acceptanceMasteryAutonomyPersonal growthEngagement in lifePurpose and meaning in lifeTranscendent experiences
The Thirteen Sources of Well-Being
- More positive emotions
- Fewer negative emotions
- Life satisfaction
- Vitality
- Environmental mastery
- Positive relationships
- Self-acceptance
- Mastery
- Autonomy
- Personal growth
- Engagement in life
- Purpose and meaning in life
- Transcendent experiences
-
-
www.theatlantic.com www.theatlantic.com
-
Selection by association, rather than indexing, may yet be mechanized. One cannot hope thus to equal the speed and flexibility with which the mind follows an associative trail, but it should be possible to beat the mind decisively in regard to the permanence and clarity of the items resurrected from storage.
It should be easy to surpass the mind's performance in terms of storage capacity as well as lossiness. It might be more difficult to surpass it in terms of the speed and flexibility with which it "follows an associative trail"
-
The real heart of the matter of selection, however, goes deeper than a lag in the adoption of mechanisms by libraries, or a lack of development of devices for their use. Our ineptitude in getting at the record is largely caused by the artificiality of systems of indexing. When data of any sort are placed in storage, they are filed alphabetically or numerically, and information is found (when it is) by tracing it down from subclass to subclass. It can be in only one place, unless duplicates are used; one has to have rules as to which path will locate it, and the rules are cumbersome. Having found one item, moreover, one has to emerge from the system and re-enter on a new path.
Bush emphasises the importance of retrieval in the storage of information. He talks about technical limitations, but in this paragraph he stresses that retrieval is made more difficult by the "artificiality of systems of indexing", in other words, our default file-cabinet metaphor for storing information.
Information in such a hierarchical architecture is found by descending down into the hierarchy, and back up again. Moreover, the information we're looking for can only be in one place at a time (unless we introduce duplicates).
Having found our item of interest, we need to ascend back up the hierarchy to make our next descent.
-
-
www.performancefunnels.com www.performancefunnels.com
-
Traditional online funnels — more often than not — require you to have a separate:Content management system (ex. WordPress, Joomla)Web host (ex. SiteGround, Bluehost)Page builder (ex. Elementor, Beaver)Email autoresponder (ex. MailChimp, Aweber, GetResponse)Order formShopping cartWeb analyticsOther marketing tools
-
-
en.wikipedia.org en.wikipedia.org
-
the adjective strong or the adverb strongly may be added to a mathematical notion to indicate a related stronger notion; for example, a strong antichain is an antichain satisfying certain additional conditions, and likewise a strongly regular graph is a regular graph meeting stronger conditions. When used in this way, the stronger notion (such as "strong antichain") is a technical term with a precisely defined meaning; the nature of the extra conditions cannot be derived from the definition of the weaker notion (such as "antichain")
-
-
www.reddit.com www.reddit.com
-
Svelte by itself is great, but doing a complete PWA (with service workers, etc) that runs and scales on multiple devices with high quality app-like UI controls quickly gets complex. Flutter just provides much better tooling for that out of the box IMO. You are not molding a website into an app, you are just building an app. If I was building a relatively simple web app that is only meant to run on the web, then I might still prefer Svelte in some cases.
-
Others have already said how Flutter renders inside a canvas and how it's difficult/impossible for it to interact with other JS libraries (and why would you want to... the whole thing is so different that even the issues are solved by completely different libraries).
-
-
stackoverflow.com stackoverflow.com
-
As was mentioned in the comments above, the material design spec for buttons specifies that the text should be uppercase, but you can easily override its CSS property: paper-button { text-transform: none; }
-
-
ux.stackexchange.com ux.stackexchange.com
-
However, in the all caps example the order of importance goes Title->Actions->Description (or even the actions before the title), while in the others this order is not as evident at first glance.
-
-
uxdesign.cc uxdesign.cc
-
That’s how developers create buttons — they add padding to their div containers, not heights.
-
-
github.com github.com
-
enables passive event listeners by default for some events (see list below). It basically will set { passive: true } automatically every time you declare a new event listener.
-
-
-
github.com github.com
-
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
-
-
github.com github.com
-
passive: true instructs chrome that no body will call e.preventDefault() so chrome can optimized scrolling just because no body will call e.preventDefault and so there is no need to wait listeners...
-
-
hackernoon.com hackernoon.com
-
Programmers working in different kinds of programming languages often come up with radically different solutions to problems.
-
-
material.io material.io
-
@use "@material/theme" with ( $primary: #FEDBD0, $on-primary: #442C2E);
-
-
www.grammarly.com www.grammarly.com
-
In the case of email, it can be argued that the widespread use of the unhyphenated spelling has made this compound noun an exception to the rule. It might also be said that closed (unhyphenated) spelling is simply the direction English is evolving, but good luck arguing that “tshirt” is a good way to write “t-shirt.”
-
-
-
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.
-
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.
-
-
-
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.
-
-
github.com github.com
-
When using the exact same Button code, the binding only works for the local Svelte module.
-
-
-
github.com github.com
-
You could totally just write your own name and not use the name in package.json, this template is made so the users wouldn't need to think about the UMD build.
-
-
github.com github.com
-
But seriously, give snowpack a read to understand the benefits of leaning on standard esm imports, allowing you to avoid a bundling process entirely.
-
I don't need to support non-esm browsers for most projects and I really like the idea of a super light build process. By removing the complexity of configuration and the overhead of bundling, svelvet makes the development process an optimal experience for myself and hopefully others
-
-
www.snowpack.dev www.snowpack.devSnowpack3
-
It replaces heavier, more complex bundlers like webpack or Parcel in your development workflow.
-
-
Who’s Using Snowpack?
-
-
material.io material.io
-
Depending on your needs, you can use the Simple Approach: Wrapping MDC Web Vanilla Components, or the Advanced Approach: Using Foundations and Adapters.
-
-
ell.stackexchange.com ell.stackexchange.com
-
Warning: Many native English speakers find who versus whom difficult and frequently get it wrong. This is also due to the fact that it is falling out of fashion and is often seen as archaic.
-
-
icla2020b.jonreeve.com icla2020b.jonreeve.com
-
I asked for leave to go to the bazaar on Saturday night. My aunt was surprised and hoped it was not some Freemason affair. I answered few questions in class
A sudden transition in space and time. The narrator asked for permission to got to the bazaar and suddenly went into school class. This sense of broken spacetime is one character of "stream of consciousness".
-
-
www.thoughtco.com www.thoughtco.com
-
Self-Actualization Self-actualization refers to feeling fulfilled, or feeling that we are living up to our potential. One unique feature of self-actualization is that it looks different for everyone. For one person, self-actualization might involve helping others; for another person, it might involve achievements in an artistic or creative field. Essentially, self-actualization means feeling that we are doing what we believe we are meant to do. According to Maslow, achieving self-actualization is relatively rare, and his examples of famous self-actualized individuals include Abraham Lincoln, Albert Einstein, and Mother Teresa.
[[self-actualization]] - this can fit in with [[[Intrinsic Motivation]] - the feeling of "living up-to your potential" can also align with [[motivation]] and [[Perceived abilities]]
-
-
www.healthline.com www.healthline.com
-
The most recognized theory of intrinsic motivation was first based on people’s needs and drives. Hunger, thirst, and sex are biological needs that we’re driven to pursue in order to live and be healthy.
these examples of [[intrinsic motivation]] line up with the [[Physiological needs]] in [[Maslow's Hierarchy of Needs]]
-
-
www.styled-components.com www.styled-components.com
-
stackoverflow.com stackoverflow.com
-
The project organization is a bit weird because we have a mono-repository that contains projects and libraries. The projects are grouped by company and by browser / server / universal.
-
-
stackoverflow.com stackoverflow.com
-
For future reference, webpack 2 removed everything but modules as a way to resolve paths. This means root will not work.
-
-
gist.github.com gist.github.com
-
There was a major refactoring in the resolver (https://github.com/webpack/enhanced-resolve). This means the resolving option were changed too. Mostly simplification and changes that make it more unlikely to configure it incorrectly.
Linked from: https://stackoverflow.com/a/36574982/47185
-
-
www.cl.cam.ac.uk www.cl.cam.ac.uk
-
Alexanderproposeshomesandofficesbedesignedandbuiltbytheireventualoccupants.Thesepeople,hereasons,knowbesttheirrequirementsforaparticularstructure.Weagree,andmakethesameargumentforcomputerprograms.Computerusersshouldwritetheirownprograms.KentBeck&WardCunningham,1987 [7]
Users should program their own programs because they know their requirements the best.
[7]: Beck, K. and Cunningham, W. Using pattern languages for object-oriented programs. Tektronix, Inc. Technical Report No. CR-87-43 (September 17, 1987), presented at OOPSLA-87 workshop on Specification and Design for Object-Oriented Programming. Available online at http://c2.com/doc/oopsla87.html (accessed 17 September 2009)
-
-
www.roambrain.com www.roambrain.com
-
Connected to this are Andy Matuschak’s comments about contextual backlinks bootstrapping new concepts before explicit definitions come into play.
What Joel says here about Contextual Backlinks is that they allow you to "bootstrap" a concept (i.e. start working with it) without explicit definitions coming into play (or as Andy would say, the content is empty).
-
Easily updated pages: don’t worry about precisely naming something at first. Let the meaning emerge over time and easily change it (propagating through all references).
Joel highlights a feature here of Roam and ties it to incremental formalisms.
In Roam you can update a page name and it propagates across all references.
-
Cognitive Overhead (aka Cognitive Load): often the task of specifying formalism is extraneous to the primary task, or is just plain annoying to do.
This is the task that you're required to do when you want to save a note in Evernote or Notion. You need to choose where it goes.
-
The basic intuition is described well by the Shipman & Marshall paper: users enter information in a mostly informal fashion, and then formalize only later in the task when appropriate formalisms become clear and also (more) immediately useful.
Incremental formalism
Users enter information in an informal fashion. They only formalize later when the appropriate formalism becomes clear and/or immediately useful.
-
It’s important to notice something about these examples of synthesis representations: they go quite a bit further than simply grouping or associating things (though that is an important start). They have some kind of formal semantic structure (otherwise known as formality) that specifies what entities exist, and what kinds of relations exist between the entities. This formal structure isn’t just for show: it’s what enables the kind of synthesis that really powers significant knowledge work! Formal structures unlock powerful forms of reasoning like conceptual combination, analogy, and causal reasoning.
Formalisms enable synthesis to happen.
-
-
notes.andymatuschak.org notes.andymatuschak.org
-
Systems which display backlinks to a node permit a new behavior: you can define a new node extensionally (rather than intensionally) by simply linking to it from many other nodes—even before it has any content.
Nodes in a knowledge management system can be defined extensionally, rather than intensionally, through their backlinks and their respective context.
-
-
journals.plos.org journals.plos.org
-
Replication begins
Rolling circle replication overview
Replication begins when the Rep protein, which is encoded on the plasmid (ORF A), recognizes a specific site on the plasmid (double-strand origin, or DSO) and catalyzes the nicking of one DNA strand. The Rep protein remains bound to the 5′ phosphate after the nicking action. The newly released 3′ hydroxyl on the opposite end serves as a primer for DNA synthesis. The host DNA polymerase uses the unnicked circular strand as a template, so that a single replication fork moves around a plasmid until it regenerates the DSO. A second copy of Rep protein catalyzes the cleavage of the newly formed DSO, effectively releasing a single stranded copy of the plasmid. In the absence of Rep, the replication fork continues to move around the template, forming a single stranded concatemer. The single strand origin (SSO), a non-coding element that forms extensive secondary structure, is required for synthesis of the lagging strand. SSO sequences vary considerably among different RCR plasmids, but are extremely important for robust replication of the plasmid in the cell [10]. Here we describe the engineering of the pWV01 RCR origin to create pBAV1K-T5, a very broad-host range expression vector.
-
-
-
“Diversity of Thought” without Diverse Representation is Status Quo
[[diversity of thought]] needs [[diverse representation]] - diversity of thought should be an outcome, by not the goal.
-
-
github.com github.com
-
We don't have clear visibility on which issues the VSCode team is planning on fixing & we would like to avoid duplicating work.
-
-
marcin-piela.github.io marcin-piela.github.io
-
Do we need such a big abstraction for this? Many would just use
fetchdirectly. Why not just usefetchdirectly? In Svelte, for example, you would probably never see something like this ... right?
-
-
mywiki.wooledge.org mywiki.wooledge.org
-
However, this construct is not completely equivalent to if ... fi in the general case.
The caveat/mistake here is if you treat it / think that it is equivalent to if a then b else c. That is not the case if b has any chance of failing.
-
What's not obvious here is how the quotes nest. A C programmer reading this would expect the first and second double-quotes to be grouped together; and then the third and fourth. But that's not the case in Bash. Bash treats the double-quotes inside the command substitution as one pair, and the double-quotes outside the substitution as another pair.
subshell > quotes
-
Tags
- trying to make a general rule out of something that only works for certain specific cases
- caveat
- how to do it correctly and avoid common mistakes/pitfalls
- list of examples
- order of operations (operator precedence)
- shell scripting
- should not infer as a general rule
- not the same thing (but easy to assume they are)
- bash
Annotators
URL
-
-
wresch.github.io wresch.github.io
-
Important caveat: in the combined expression, if the middle command has a non-zero exit status, then both the middle and the rightmost command end up getting executed.
I don't think that is surprising, is it? Since && and || have the same order of precedence. So I think this is more of a clarification than a caveat.
I think this is just because:
a && b || c is equivalent to: (a && b) || c (so of course c gets evaluated if
(a && b)is false (that if eitheraorbis false).I think they just mean, in this case:
bedmap && mv || failif
mvfails, thenfailstill gets executed.Easier to see with a simpler example:
⟫ true && false || echo 'fail' fail ⟫ false && true || echo 'fail' failBetter example/explanation here: https://hyp.is/-foxmCVXEeuhnLM-le_R4w/mywiki.wooledge.org/BashPitfalls
The caveat/mistake here is if you treat it / think that it is equivalent to if a then b else c. That is not the case if b has any chance of failing.
-
-
stackoverflow.com stackoverflow.com
-
I just learned here that || and && have equal precedence in bash (different from C, Java, etc.)
-
-
-
When you email me, please include a minimal bash script that demonstrates the problem in the body of the email (not as an attachment). Also very clearly state what the desired output or effect should be, and what error or failure you are getting instead. You are much more likely to get a response if your script isn't some giant monster with obtuse identifiers that I would have to spend all afternoon parsing.
-
-
github.com github.com
-
It is open to the community to help set its direction.
-
-
en.wikipedia.org en.wikipedia.org
-
Broadly speaking, modularity is the degree to which a system's components may be separated and recombined, often with the benefit of flexibility and variety in use.
-
-
github.com github.com
-
In Rust, we use the "No New Rationale" rule, which says that the decision to merge (or not merge) an RFC is based only on rationale that was presented and debated in public. This avoids accidents where the community feels blindsided by a decision.
-
I'd like to go with an RFC-based governance model (similar to Rust, Ember or Swift) that looks something like this: new features go through a public RFC that describes the motivation for the change, a detailed implementation description, a description on how to document or teach the change (for kpm, that would roughly be focused around how it affected the usual workflows), any drawbacks or alternatives, and any open questions that should be addressed before merging. the change is discussed until all of the relevant arguments have been debated and the arguments are starting to become repetitive (they "reach a steady state") the RFC goes into "final comment period", allowing people who weren't paying close attention to every proposal to have a chance to weigh in with new arguments. assuming no new arguments are presented, the RFC is merged by consensus of the core team and the feature is implemented. All changes, regardless of their source, go through this process, giving active community members who aren't on the core team an opportunity to participate directly in the future direction of the project. (both because of proposals they submit and ones from the core team that they contribute to)
-
also, should RFCs include working code (basics for the IETF work)?
Tags
- allowing sufficient time for discussion/feedback/debate before a final decision is made
- have discussion/feedback/debate in public (transparency)
- the value of working code
- attracting contributors
- welcoming feedback
- open-source projects: allowing community (who are not on core team) to influence/affect/steer the direction of the project
- change proposal workflow: RFCs
- soliciting feedback
- feeling blindsided
- build concensus
Annotators
URL
-
-
github.com github.com
-
If this PR merges and it has unforseen bugs / issues, I'm not sure anyone would have the time to jump in and fix it. So, that's why I'm being cautious about approving/merging it.
-
-
boardgamegeek.com boardgamegeek.com
-
I refuse to back anything from Queen games. Their kickstarters, IMO, are meant to get people to have FOMO instead of something being worth the price.
-
-
github.com github.com
-
This plugin was designed as a proof-of-concept for a feature that's destined for Rails 4. It has only been tested on Rails 3.2+, but may work on earlier versions as well.
Tags
Annotators
URL
-
-
github.com github.com
-
Avoid transpilers like Babel and Bublé (and if you're using TypeScript, target a modern version of JavaScript)
-
-
dlholf.wordpress.com dlholf.wordpress.com
-
Reviewing pre-prints with hypothes.is?
After conversion using the hypothes.is API tool: https://jonudell.info/h/CopyAnnotations/ , this annotation has been copied to a public annotation (which I subsequently edited).
Drawback: you can only use it with one user log-in and on a single web domain (so you'd have to run it for every single article someone has reviewed).
Original annotation (see in group—that one stays there, usefully!)
This annotation should be private to the group only.
Tags are permitted, they can be any free text.
-
-
stackoverflow.com stackoverflow.com
-
{#key} was introduced in Svelte v3.28, before that you needed to use a keyed {#each} block with only one item When the key changes, svelte removes the component and adds a new one, therefor triggering the transition.
-
-
www.irfanview.com www.irfanview.com
-
by Irfan Skiljan
IrfanView named after author
-
-
dev.to dev.to
-
Coming from stuff like jQuery, a lot of devs who used React were like "wow", and coming from React, Svelte feels amazing too! People just need to try it, it's so incredibly simple too!
-
-
imfeld.dev imfeld.dev
-
Svelte's advantage here is that it indicates the need for an update at the place where the associated data is updated, instead of at each place the data is used. Then each template expression of reactive statement is able to check very quickly if it needs to rerender or not.
-
We don't use "attribute directives" much which makes things easier.
-
Svelte slots are much easier to use and reason about than Angular transclude, especially in cases where you don't want an extra wrapper element around the slot content.
-
-
plato.stanford.edu plato.stanford.edu
-
first-personal thought and language is irreducible to non-first-personal thought and language, and is essential to the explanation of action
Is the author implying that, on a 'Referent' and 'Thought and Language' Grid, 'Referent" ("I" as Subject) as a content of the 'Thought and Language' ("My pants are on fire") calls for action enablement. Whereas 'Referent' ("Smith" as Subject) as content of the 'Thought and Language' ("Smith's pants are on fire") is not self-locating, for being non-first personal thought?
== Two Lines of Thinking == (1) Smith's pants are on fire. He should put it out. (2) Smith's pants are on fire. He should put it out. I am Smith. Therefore, my pants are on fire. Therefore, I should put it out.
== unless, I come to believe 'I = Smith', only then it calls for action. Unless and until, 'Smith' becomes first-personal in the mind, it is unable to self-locate.
-
-
github.com github.com
-
I guess I was just waiting for some interest from a maintainer, since there's not much point in wasting my time on developing this if the maintainers aren't even interested in this feature.
-
-
stackoverflow.com stackoverflow.com
-
linuxfud.wordpress.com linuxfud.wordpress.com
-
I realise this is old, but as it isn’t a forum i see no problem in replying
-
-
github.com github.com
-
I've only done components that need to/can be Svelte-ified. For some things, like RTL and layout grid, you can just use the MDC packages.
-
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.
-
You can support my work on this project through my other project, Tunnelgram.
-
This is not an MDC Web component. It is an addition that SMUI provides.
Tags
- additional/extra/bonus feature not present in original/upstream/specification
- added/extra benefit/bonus
- not:
- differences
- keep things simple
- wrapper
- don't reinvent the wheel
- just because you can doesn't mean you should
- build upon the work of others
- extension of standard format
- reuse/leverage existing _ when possible
- keeping core small
- don't do more work than is necessary
- self-promotion of something they created
Annotators
URL
-
-
tunnelgram.com tunnelgram.com
-
Tunnelgram is fully open source (server and client) and uses the Tunnelwire Encryption Scheme, so you can see all of the code it's built on.
Tags
Annotators
URL
-
-
-
github.com github.com
-
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.
-
If your Svelte components contain <style> tags, by default the compiler will add JavaScript that injects those styles into the page when the component is rendered. That's not ideal, because it adds weight to your JavaScript, prevents styles from being fetched in parallel with your code, and can even cause CSP violations. A better option is to extract the CSS into a separate file. Using the emitCss option as shown below would cause a virtual CSS file to be emitted for each Svelte component. The resulting file is then imported by the component, thus following the standard Webpack compilation flow.
-
-
news.ycombinator.com news.ycombinator.com
-
Frontend frameworks are a positive sum game! Svelte has no monopoly on the compiler paradigm either. Just like I think React is worth learning for the mental model it imparts, where UI is a (pure) function of state, I think the frontend framework-as-compiler paradigm is worth understanding. We're going to see a lot more of it because the tradeoffs are fantastic, to where it'll be a boring talking point before we know it.
-
Quick self-promotion plug (but in the name of altruism)
-
-
-
overmind is basically foreman but done "well"
-
-
github.com github.com
-
I understand your point and yes, at least as of now, the issue is purely related to #4652 (can’t exclude that others will find different uses in the future, however).
-
-
github.com github.com
-
Just coming here to voice my agreement that these warnings are annoying and exist in other libraries as well. For me this happened with svelma. I didn't write the library code, so I don't have complete control over it even though I agree there is an argument to be had around whether I should be notified anyway. In either case, these warnings should be easily disabled since libraries don't always get updated over night.
-
-
github.com github.com
-
Maybe it's also a bug because every warning should be ignorable? Not sure.
-
I would like the compiler to add a property like canIgnore: false to the warning, if the warning cannot be disabled.
-
-
github.com github.com
-
Thanks for the PR @RedHatter. I think it's important to be able to specify which warnings are being disabled, and I'm nervous about the use of the code frame for this sort of thing (feels brittle), so I've opened a new PR, #3351. Will close this in favour of that
-
-
-
Since 'using decorators' has come to mean 'smothering your code in @ symbols' it's probably no longer a great name.
-
-
github.com github.com
-
Note that you can also use dynamic partials, that conditionally select the partial to render based on the value in the JSON.
-
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.
-
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.
-
-
www.bio-rad.com www.bio-rad.com
-
To detect foreign DNA in 5 ml of lake water, 15 ml of lake water must be screened.
Why is this multiplied by 3? Related to statistical error of subsampling - rule of three)
-
- Oct 2020
-
www.theguardian.com www.theguardian.com
-
'Sleeping giant' Arctic methane deposits starting to release, scientists find
Overall scientific credibility: 'low' according to the scientists who analyzed this article.

Find more details in Climate Feedback's analysis
-
-
rob-blackbourn.medium.com rob-blackbourn.medium.com
-
Much better API than using openssl CLI directly (yuck).
-
-
security.stackexchange.com security.stackexchange.com
-
As of OpenSSL 1.1.1, providing subjectAltName directly on command line becomes much easier, with the introduction of the -addext flag to openssl req
-
-
www.getcloudapp.com www.getcloudapp.com
-
Over 4 million people trust CloudApp
-
Win back your calendar and stop wasting time in meetings. Our screen recorder can provide the context and connection of a meeting without the time commitment.
-
-
icla2020b.jonreeve.com icla2020b.jonreeve.com
-
the azaleas
My grandma used to grow these in our backyard, and I grew up anticipating their bloom, only to see them shrivel up and brown a couple weeks later...for the plant to stay alive, they must be vigorously pruned and cut back regularly...so this choice of flowers, I think, is pretty apt for the themes of youth/entering society/the fear of age.
-
-
www.techopedia.com www.techopedia.com
-
A spreadsheet may be represented as a directed acyclic graph, with each cell a vertex and an edge connected a cell when a formula references another cell. Other applications include scheduling, circuit design and Bayesian networks.
-
-
hub.docker.com hub.docker.com
-
"We should try to find a replacement for omgwtfssl, which is currently used to generate self-signed certificates. The name is inappropriate and unprofessional."
-
-
docs.gitlab.com docs.gitlab.com
-
Instead of this, you can use a File type variable.
-
Previously, a common pattern was to read the value of a CI variable, save it in a file, and then use that file in your script:
-
Here is a simplified example of a malicious .gitlab-ci.yml
-
-
docs.docker.com docs.docker.com
-
there are superior ways to share environment variables
-
-
stackoverflow.com stackoverflow.com
-
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.
-
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
-
Schmid, P., Schwarzer, M., & Betsch, C. (n.d.). Weight-of-Evidence Strategies to Mitigate the Influence of Messages of Science Denialism in Public Discussions. Journal of Cognition, 3(1). https://doi.org/10.5334/joc.125
-
-
stackoverflow.com stackoverflow.com
-
I use a mutator and use it's changeValue function to 'change' the value of the relevant field (I supply the same value). This in turn notifies all relevant parties of the change to the form's state, and a validation is triggered.
Nearly duplicate annotation here: https://hyp.is/I2t56hjLEeuPXIsZG-jYog/xtzmf.csb.app/
-
we update the validation schema on the fly (we had a similar case with a validation that needs to be included whenever some fetch operation was completed)
-
Library author here. I'm always fascinated by new ways people can invalidate my assumptions. I mean that in a sincerely positive way, as it results in learning.
Tags
- not:
- missing feature leading to less-than-ideal workarounds
- abuse of feature
- different way of thinking about something
- testing/challenging one's assumptions (either validating or invalidating them)
- cheating
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- assumptions
- sincere
- author of software answering questions in community (support)
- react-final-form: mutator
- learning from others
- validation schema
- surprising
- invalidating one's assumptions
- not considering all use cases
- can't support everything / all cases
- they've thought of everything
Annotators
URL
-
-
codesandbox.io codesandbox.io
-
export const validationSchema = { field: { account: [Validators.required.validator, iban.validator, ibanBlackList], name: [Validators.required.validator], integerAmount: [Able to update this schema on the fly, with:
React.useEffect(() => { getDisabledCountryIBANCollection().then(countries => { const newValidationSchema = { ...validationSchema, field: { ...validationSchema.field, account: [ ...validationSchema.field.account, { validator: countryBlackList, customArgs: { countries, }, }, ], }, }; formValidation.updateValidationSchema(newValidationSchema); }); }, []);
-
-
github.com github.com
-
I'd be happy to take on this issue, if no one else has up to this point!
-
-
Local file Local file
-
The great ones have a thought pro-cess, philosophy and habit all rolled into one that overshadows the rest: I am responsible.
-
-
www.basefactor.com www.basefactor.com
-
Separation of concerns: You will avoid having your business logic being tied up to the UI
-
What would happen if we get the list from a rest api when the form component is mounted? That's an interesting topic, you can add a rule once a component has been mounted and update the associated validation schema.
-
const countriesRegExp = countries.reduce( (regex, country, i) => (i === 0 ? `(${country})` : `${regex}|(${country})`), "" )
-
Ok, I have seen that there are lot of built-in and third party validations, but sooner or later I will face a validation rule not covered by this buffet. Can I build a custom one? Of course you can!
-
On the other hand, handling form validation on your own can be tempting, but you have to cover scenarios like:
-
If you want to implement a form with a superb User Experience, you have to take care of many variables:
Tags
- separation of concerns
- form design
- too hard/difficult/much work to expect end-developers to write from scratch (need library to do it for them)
- example of: reduce
- extensibility
- user experience
- a lot of things to consider
- can't keep entire system in your mind at once (software development) (scope too large)
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- not considering all use cases
- difficult/hard problem
- flexibility
- can't support everything / all cases
- easy to get wrong
Annotators
URL
-
-
xtzmf.csb.app xtzmf.csb.app
-
Use the same value that was submitted, which ensures that a 'change' is triggered even though the value itself doesn't change. Therefore, the same value gets validated again.
Calling it "change" even though it didn't change is kind of cheating/abuse ... but I guess it's okay...??
mutateValue([name], state, { changeValue }) { // change the value to the same value, thus // triggering a revalidation of the same value changeValue(state, name, value => value); }
-
-
www.youtube.com www.youtube.com
-
Unfortunately, it is an expression mired with a negative context because of how Rumsfeld used it to lie.
-
-
wikidiff.com wikidiff.com
-
In agent-oriented programming the antonym is depender, though in general usage the common term dependent is used instead. There is no common language equivalent for dependee', however – other metaphors are used instead, such as parent/child. The circumlocutions “A depends on B” and “B is depended on by A” are much more common in general use than “A is the depender, B is the ' dependee ”.
-
-
english.stackexchange.com english.stackexchange.com
-
In the software industry we use "dependency" to refer to the relationship between two objects. We say "looking for dependents" for relationships to dependent things and "looking for dependencies" for relationships to prerequisite things, so it gets that connotation, but the literal meaning is the relationship itself, not the object. Finding a better word is exactly the point of the question
-
-
-
This is a philosophical issue, I think. People (and presumably form libraries) have different definitions of what "dirty" means. Yours: "The field has ever been edited" Mine: "The value of the field is different from the initial value"
-
-
twitter.com twitter.com
-
Rent Strike Bristol on Twitter. (n.d.). Twitter. Retrieved October 27, 2020, from https://twitter.com/RentStrikeBris/status/1317073795291729921
-
-
-
I'm afraid there's only so much the docs & tutorials can do about something like this actually. When you first read them, you don't get Svelte well enough (since you're reading a tutorial...) for this to make sense to you. Then you try something, encounter a behaviour, question it, understand better... That's learning.
-
-
jamanetwork.com jamanetwork.com
-
Woolf, S. H., Chapman, D. A., Sabo, R. T., Weinberger, D. M., Hill, L., & Taylor, D. D. H. (2020). Excess Deaths From COVID-19 and Other Causes, March-July 2020. JAMA, 324(15), 1562. https://doi.org/10.1001/jama.2020.19545
-
-
australiancybersecuritymagazine.com.au australiancybersecuritymagazine.com.au
-
journals.sagepub.com journals.sagepub.com
-
Structural Racism as SDH: -Examples: 1) Home Health workers not eligible for paid leave causing disproportionate harm when injured 2) Nursing Home: SSA funded private long term care for the elderly and prohibited funding for institutions for AA individuals Laws 1) Often don't address root causes. For example, anti-discrimination laws legitimizes existing structures
-
-
medium.com medium.com
-
withindex.js, we have a single source of truth, giving fine grained control on what we expose to the outside world.
-
Here are few, real-life commits of refactorings that make use of this solution:
-
Examples of this include: requiring base classes or reading from imported variables that have not been initialized yet.
Tags
- circular dependency
- refactoring
- list of examples
- be specific
- good example
- single source of truth
- specific examples
- code organization: internal module pattern
- symptom of bug/problem
- fine-grained control
- illustrating problem before showing solution
- advantages/merits/pros
- exports (functions/etc. exposed to outside world) (modules)
- +0.9
- having enough control over something
Annotators
URL
-
-
-
Human empathy in the perception of nature
Many people seem to think that a universal conception of morality requires that we find moral principles that admit no exceptions. If, for instance, it is indeed wrong to lie, it must always be wrong to lie—and if one can find a single exception, any notion of moral truth must be abandoned. However, the existence of moral truth—that is, the connection between how we think and behave and our well-being—does not require defining morality in terms of unvarying moral precepts. Morality could be a lot like chess: some principles generally apply, but they might admit to essential exceptions. If you want to play good chess, a principle like “Do not lose your Queen” is almost always worth following. Nevertheless, it admits exceptions: sometimes sacrificing your Queen is a brilliant thing to do; occasionally, it is the only thing you can do. However, it remains a fact that from any position in a game of chess, there will be a range of objectively right moves and objectively bad ones. Suppose there are objective truths to be known about human well-being—if kindness, for instance. It is generally more conducive to happiness than cruelty is—then science should one day be able to make exact claims about which of our behaviors and uses of attention are morally right, which are neutral, and worth abandoning (Harris 2010).
Harris, Sam. The Moral of Landscape. New York: Free Press, 2010.
-
-
-
To silence circular dependencies warnings for let's say moment library use: // rollup.config.js import path from 'path' const onwarn = warning => { // Silence circular dependency warning for moment package if ( warning.code === 'CIRCULAR_DEPENDENCY' && !warning.importer.indexOf(path.normalize('node_modules/moment/src/lib/')) ) { return } console.warn(`(!) ${warning.message}`) }
-
-
medium.com medium.com
-
Modules from the following layer can require anything from all the previous layers, but not vice versa.
-
-
danielmiessler.com danielmiessler.com
-
When communicating, being more specific is usually better, and a “URL” is a specific type of URI that provides an access method/location.
-
-
en.wikipedia.org en.wikipedia.org
-
Venn diagrams are a more restrictive form of Euler diagrams
-
-
-
Handling all these requests costs us considerably: servers, bandwidth and human time spent analyzing traffic patterns and devising methods to limit or block excessive new request patterns. We would much rather use these assets elsewhere, for example improving the software and services needed by W3C and the Web Community.
-
-
learn-us-east-1-prod-fleet02-xythos.content.blackboardcdn.com learn-us-east-1-prod-fleet02-xythos.content.blackboardcdn.com
-
For the law ofnature, like every law concerning men in this world, would befutile if no-one had power to enforce it and thereby preservethe innocent and restrain offenders
agrees with Hobbes in that laws of nature need an enforcer- just instead says every man has this power
-
-
svelte.dev svelte.dev
-
A simple rule of thumb: the name of the updated variable must appear on the left hand side of the assignment. For example this... const foo = obj.foo; foo.bar = 'baz';...won't update references to obj.foo.bar, unless you follow it up with obj = obj.
-
-
www.tiktok.com www.tiktok.com
-
you are granting us the right to use your User Content without the obligation to pay royalties to any third party
-
You or the owner of your User Content still own the copyright in User Content sent to us, but by submitting User Content via the Services, you hereby grant us an unconditional irrevocable, non-exclusive, royalty-free, fully transferable, perpetual worldwide licence to use, modify, adapt, reproduce, make derivative works of, publish and/or transmit, and/or distribute and to authorise other users of the Services and other third-parties to view, access, use, download, modify, adapt, reproduce, make derivative works of, publish and/or transmit your User Content in any format and on any platform, either now known or hereinafter invented.
-
-
johnstoniatexts.x10host.com johnstoniatexts.x10host.com
-
He took three paces—with the fourth he reached his goal,
Interesting depiction of the actual size of gods here. If Poseidon was this large, how large would other gods appear such as Zeus? Or even Cronus, as literature suggests he too has a physical form. Would gods be able to show their true form to humans? Or is this why Zeus often appears as other beings when interacting with mortals.
-
-
github.com github.com
-
Adding an API for something is an endorsement of that approach.
-
-
-
I'm more inclined towards an {@ tag than a {# tag because the indentation could quickly get out of control
Contrast with: https://hyp.is/U_7sXhGREeumDJvbgTImjQ/github.com/sveltejs/svelte/pull/4601
-
-
final-form.org final-form.org
-
-
Listening for External Changes By wrapping a stateful ExternalModificationDetector component in a Field component, we can listen for changes to a field's value, and by knowing whether or not the field is active, deduce when a field's value changes due to external influences.
-
-
stackoverflow.com stackoverflow.com
-
I run s.search() by typing into an input box, and if I type gibberish very quickly, the console prints out "making search request" on every key press, so many times per second -- indicating that it hasn't been debounced at all.
-
-
codesandbox.io codesandbox.io
-
// Make a HOC // This is not the only way to accomplish auto-save, but it does let us: // - Use built-in React lifecycle methods to listen for changes // - Maintain state of when we are submitting // - Render a message when submitting // - Pass in debounce and save props nicely export default props => ( <FormSpy {...props} subscription={{ values: true }} component={AutoSave} /> );
-
-
medium.com medium.com
-
but the design pattern is so simple that it takes hardly any effort to implement it on any existing reducer, so I rejected abstraction for abstraction's sake.
-
-
github.com github.com
-
Link to https://ponyfill.com in your readme. Example. Add ponyfill to the keywords section in package.json.
-
-
humanmooc.pressbooks.com humanmooc.pressbooks.com
-
Cognitive Presence “is the extent to which learners are able to construct and confirm meaning through sustained reflection and discourse” (Community of Inquiry, n.d, para. 5). Video is often used as a unidirectional medium with information flowing from the expert or instructor to the learner. To move from transmission of content to construction of knowledge, tools such as Voice Thread (VoiceThread, 2016) support asynchronous conversation in a multimedia format.
The author, Kendra Grant, is the Director of Professional Development and Learning for Quillsoft in Toronto Canada. Grant helps business succeed in education design and support. In this article Grant discusses how quickly the learning environment has changed through technological development. Grant explores the RAT Model, which guides instructors in the "use of technology to help transform instructional practice." Grant then examines the Community of Inquiry model, which seeks to create meaningful instruction through social, cognitive and teaching presence. Grant concludes by providing general principles for creating a positive video presence.
Rating: 8/10
-
-
www.insidehighered.com www.insidehighered.com
-
15 Fall Scenarios
The authors, Edward J. Maloney and Joshua Kim, wrote a total of 15 articles describing various scenarios for the university learning environment during COVID-19. This article summarizes each of these more detailed plans including "normal" and moving the Fall term to the Spring. They also describe various learning models including HyFlex, modularity, virtual, and remote.
Rating: 7/10
-
-
opentextbc.ca opentextbc.ca
-
Online learning, blended learning, flipped learning, hybrid learning, flexible learning, open learning and distance education are all terms that are often used inter-changeably, but there are significant differences in meaning. More importantly, these forms of education, once considered somewhat esoteric and out of the mainstream of conventional education, are increasingly taking on greater significance and in some cases becoming mainstream themselves. As teachers and instructors become more familiar and confident with online learning and new technologies, there will be more innovative methods developing all the time.
The author, Anthony Bates, holds a BA in Psychology and a Ph.D. in Educational Administration. He holds over 40 years of teaching experience. In this chapter he proposes online learning is a mode of delivery versus a teaching method. In this chapter Bates compares teaching delivery methods, defines which mode students need, and weighs in on the choice between face-to-face and online teaching.
Rating: 10/10
-
-
en.wikipedia.org en.wikipedia.org
-
github.com github.com
-
You might be interested in my products:
-
-
humanwhocodes.com humanwhocodes.com
-
Once again, this isn’t good or bad, it’s just the most efficient way to create something that is similar to something else
-
For years, I’ve shared with friends and clients what I call the bunny theory of code. The theory is that code multiplies when you’re not looking, not unlike bunnies that tend to multiply when you’re not looking.
-
-
Anyone who’s ever worked with me knows that I place a very high value on what ends up checked-in to a source code repository.
-
Checking in is akin to sharing your code with others, and once out in the world, it’s hard to predict what that code will do.
Tags
- analogy
- duplication
- prolific
- valued highly
- quality
- quality of what is pushed/published to repository
- duplication of work/effort
- code quality
- bunny theory of code
- Nicholas Zakas
- funny
- time wasters
- once published/shared/online can't control what happens to it (copied/used)
- better/superior solution/way to do something
- when you're not looking
- can't effectively predict/forecast
- not necessarily good or bad
- outside of our control
- avoid extra/needless work
- good analogy
- excellent technical writing
- most efficient way
Annotators
URL
-
-
-
nzaka's theory of bunny code is relevant here
-
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
-
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.
-
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.
-
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).
-
Supporting JSX out of the box is the engineering equivalent of Mozilla supporting DRM out of the box in FireFox.
-
If the react cargo cult didn't have the JSX cowpath paved for them and acclimated to describing their app interface with vanilla javascript, they'd cargo cult around that. It's really about the path of least resistance and familiarity.
-
I'm personally open to any other solutions, especially in how we might be able to untie from React, but, for now, inline-XML markup (JSX) is OK with me.
Tags
- due to historical reasons
- separation of concerns
- implementation complexity
- unintended consequence
- JSX
- complexity
- infectious problem
- primary task/job/responsibility
- DRM
- path of least resistance
- semantics (of programming language)
- plugins
- bad engineering
- cargo cult
- avoid complexity
- the cost of changing something
- supporting something/feature
- hard to make it work in _all_ cases
- mentally filter/ignore
- React
- extensibility
- paving cow paths
- UI library: syntax
- familiar syntax
- it's just _
- good point
- decoupled
- favoring/catering to the needs of … over …
- good analogy
- missing out on the benefits of something
- too complicated
- fundamental
- can't support everything / all cases
- for-reaching consequences
- UI library
- doing something without knowing why/how it works
- familiarity
- relevant
- bad combination/mixture/hybrid/frankenstein
- analogy
- engineers
- comparison with:
- high-cost changes
- extracting small reusable snippets of code
- can't keep entire system in your mind at once (software development) (scope too large)
- Turing complete
- react-hyperscript
- hypothetical/alternate history
- it's just plain JavaScript
- hybrid/mixture
- bunny theory of code
- Nicholas Zakas
- applicable
- syntax
- JavaScript
- mental bandwidth
- can in theory but not commonly done in practice
- special cases
- can't do everything
- equivalent
- hyperscript
- engineering (general)
- adding special cases only for certain popular things but not others
- out of the box
Annotators
URL
-
-
github.com github.com
-
Other frameworks, which use a template syntax built atop HTML — Svelte, Vue, Ractive, Glimmer etc — have historically been fragmented, meaning those tools need to be reinvented many times.
-
-
github.com github.com
-
Create HyperText with JavaScript
I assume that's where the name "HyperScript" came from? A portmanteau?
-
-
github.com github.com
-
For the sake of best compatibility we convert the className attribute to class for svelte.
Svelte refuses to standardize on any way to pass a CSS class. I thought className was actually the most common name for this prop though even in Svelte...
-
-
github.com github.com
-
In the next major, we'll start copying the ref onto both the props and the element.ref. React will now use the props.ref as the source of truth for forwardRef and classes and it will still create a shallow copy of props that excludes the ref in these cases. At the same time, we'll add a getter for element.ref in DEV that warns if you access it. The upgrade path is now to just access it off props if you need it from the element.
-