- Oct 2020
-
github.com github.com
-
Svelte doesn't re-render, so you need to respond to component mount/dismount and prop changes separately as they are distinct concepts and never tied together, unlike in React.
Tags
- UI library: reacting to prop changes
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- distinction
- lifecycle callbacks
- different way of thinking about something
Annotators
URL
-
-
medium.com medium.com
-
Sometimes, you may be tempted to write that wrapper. Because all your (React or Vue or insert your reactive framework here) instincts tell you so.Resist the temptation. There is a better way. A svelter way. Introducing: the use-directive (a.k.a. “actions”).
-
However, especially when starting out, it’s very easy to fall into the “this is how I did things in my previous framework” trap.
Tags
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- Svelte: action (use:)
- paradigm shift
- getting a fresh perspective
- overcoming preconceived opinions
- Svelte
- different way of thinking about something
Annotators
URL
-
-
github.com github.com
-
So while Solid's JSX and might resemble React it by no means works like React and there should be no illusions that a JSX library will just work with Solid. Afterall, there are no JSX libraries, as they all work without JSX, only HyperScript or React ones.
-
- Sep 2020
-
github.com github.com
-
Since this issue seems to pop up periodically, it would be useful to turn this into a warning. It may not be elegant, but it prevents surprise blank screens due to a navigation error.
Not an actual fix.
-
-
github.com github.com
-
The node-resolve plugin doesn't like failing to resolve module IDs (because it usually indicates a bug, like you forgot to install the package in question), so it will throw an error rather than letting Rollup print a warning.
-
-
github.com github.com
-
using modulesOnly behaves exactly as expected when it warns you that the listed npm libraries do not use the ES6 format and are in fact ignored. This option is meant as a way to determine if you still have commonjs libraries in your dependencies that require special treatment via rollup-plugin-commonjs. Your code will probably not work since the listed dependencies will be missing. You should remove modulesOnly and instead add rollup-plugin-commonjs.
-
-
engineering.mixmax.com engineering.mixmax.com
-
User experience above all
-
balancing developer and user experience
-
You oftentimes see packages list react as a peer dependency. Since this prevents react from being installed into that package's node_modules, this is another way of preventing Rollup from bundling the module. This is also nice _if_ you want the application to install react from npm, because if an application forgets to install a peer dependency, npm will issue a warning.
-
-
medium.com medium.com
-
But library users are more numerous, and so their needs are more important.
-
-
github.com github.com
-
When the message say function was called outside component initialization first will look at my code and last at my configuration.
-
-
github.com github.com
-
i feel it should get a runtime warning / error, if it returns something besides function or undefined.
-
-
github.com github.com
-
There is a good amount of properties that should mostly be applied from a parent's point of view. We're talking stuff like grid-area in grid layouts, margin and flex in flex layouts. Even properties like position and and the top/right/left/bottom following it in some cases.
-
The main reason using classes isn't a great solution is that it completely breaks encapsulation in a confusing way, the paren't shouldn't be dictating anything, the component itself should. The parent can pass things and the child can choose to use them or not but that is different: control is still in the hands of the component itself, not an arbitrary parent.
-
The RFC is more appropriate because it does not allow a parent to abritrarily control anything below it, that responsibility still relies on the component itself. Just because people have been passing classes round and overriding child styles for years doesn't mean it is a good choice and isn't something we wnat to encourage.
-
Ideally: Only let a parent control those specific CSS properties, and never let a child use them on the root element.
-
margin, flex, position, left, right, top, bottom, width, height, align-self, justify-self among other is CSS properties that should never be modified by the child itself. The parent should always have control of those properties, which is the whole reason I'm asking for this.
-
new style RFC
Tags
- confusing
- make it a link if can be made a link to something useful/relevant
- Svelte: components are their own boss (encapsulation)
- breaking encapsulation
- limiting how much library consumers/users can control/override
- whose responsibility is it?
- missed opportunity
- control (programming)
- constraints are helpful
- missed opportunity: link to what you are referring to
- who should have control over this? (programming)
- Svelte: how to affect child component styles
- programming: who is responsible for this concern?
- which component/tool/organization/etc. is responsible for this concern?
Annotators
URL
-
-
-
the notion that any given component should be in charge of its own thing, and not do something outside of itself. I.e., loosely coupled components in a sandbox, not tightly coupled to something outside of its own scope.
-
-
oneheglobal.org oneheglobal.org
-
when choosing community building activities that ask students to disclose information about themselves, and especially about how they are feeling, it is important to recognise the risk of unintended harm.
Most faculty in a teaching setting chooses to do certain activities that can make a student very uncomfortable. In high school my teachers would do "icebreakers" and I would hate them because that meant I would have to talk in front of people and sometimes the topic would be a little too personal.
-
-
github.com github.com
-
In a similar vein to (#33), it is arguably just something that compensates for the lack of power in the template language relative to JavaScript.
-
-
github.com github.com
-
The complaint is that by choosing less powerful languages, template-based frameworks are then forced to reintroduce uncanny-valley versions of those constructs in order to add back in missing functionality, thereby increasing the mount of stuff people have to learn.
-
-
github.com github.com
-
Personally, I think class is too blunt an instrument — it breaks encapsulation, allowing component consumers to change styles that they probably shouldn't, while also denying them a predictable interface for targeting individual styles, or setting theme properties globally
-
...but ultimately the component itself has control over what is exposed, and can specify its own fallback values using normal CSS custom property syntax:
-
-
github.com github.com
-
A component should be in complete control of itself. Not only should a component's styles not leak out but other component's style should never leak in. Consider this 'Encapsulation part 2' if you will. When writing a component, you have certain guarantees that not only will the styles you write be contained within the component, but nothing from the outside should affect you either. You have a certain confidence that if it works in isolation, then it will continue to work when embedded within a complex application.
-
By adding constraints, we have managed to create a simple API and a performant output.
-
-
svelte.dev svelte.dev
-
Instead, my purpose is to illustrate why an alternative approach — based on Single File Components with real CSS — is so damn delightful.
-
-
www.americanyawp.com www.americanyawp.com
-
I think this is such a fantastic viewpoint. Sometimes in order to reach our overall goal, we have to "cast down our bucket" in compromise or be the first to extend the olive branch. I like that he used this same analogy for the white southerners as well. We all have to compromise to some degree to reach progress.
-
-
exploringjs.com exploringjs.com
-
JavaScript for impatient programmers
-
-
tailwindcss.com tailwindcss.com
-
Designing with constraints. Using inline styles, every value is a magic number. With utilities, you're choosing styles from a predefined design system, which makes it much easier to build visually consistent UIs.
-
- Jul 2020
-
-
First, let's make it clear that NODE_ENV has no explicit relationship to RAILS_ENV. Setting one of the ENV variables will have no effect on the other.
-
-
svelte.dev svelte.dev
-
You must opt in to continue. If you're not paying, you're the product.
-
-
www.wordpress-web-designer-raleigh.com www.wordpress-web-designer-raleigh.com
-
It’s an established fact that most people don’t really read the content of a website – they scan it
-
- Jun 2020
-
www.forbes.com www.forbes.com
-
“The alarming truth,” warned the researcher, “is that the average number of permissions requested by a flashlight app is 25.”
-
“Asking for too many permissions is dangerous,” ESET malware researcher Lukas Stefanko explains. “These permissions can be misused as an exploit to access more device components, such as call logs, phone numbers, and browsing history.”
-
At the heart of Google’s challenge has been so-called permission abuse—millions of apps requesting the rights to access device data and functions beyond those needed to deliver their own functionality.
-
The security feature in Android 11 is a long overdue crackdown on this permission abuse.
-
-
www.forbes.com www.forbes.com
-
Google’s novel response has been to compare each app to its peers, identifying those that seem to be asking for more than they should, and alerting developers when that’s the case. In its update today, Google says “we aim to help developers boost the trust of their users—we surface a message to developers when we think their app is asking for a permission that is likely unnecessary.”
-
- May 2020
-
support.gitlab.com support.gitlab.com
-
Requested Dormant Username Enter the username you would like to request, without the preceding URL (e.g., "User" instead of "gitlab.com/User")
Problem Type: Dormant Username Requests
-
-
about.gitlab.com about.gitlab.com
-
The GitLab.com support team does offer support for: Account specific issues (unable to log in, GDPR, etc.) Broken features/states for specific users or repositories Issues with GitLab.com availability
-
Out of Scope The following details what is outside of the scope of support for self-managed instances with a license.
-
-
-
For general questions, use cases, or anything else that does not fit into one of the above cases, please post in the GitLab Forum or on a third-party help site.
-
- Apr 2020
-
en.wikipedia.org en.wikipedia.org
-
Some conventions reverse the order of priorities, considering lower values to be higher priority
-
-
-
Having said all that, I think this is completely absurd that I have to write an entire article justifying the release of this data out of fear of prosecution or legal harassment. I had wanted to write an article about the data itself but I will have to do that later because I had to write this lame thing trying to convince the FBI not to raid me.
-
I could have released this data anonymously like everyone else does but why should I have to? I clearly have no criminal intent here. It is beyond all reason that any researcher, student, or journalist have to be afraid of law enforcement agencies that are supposed to be protecting us instead of trying to find ways to use the laws against us.
Tags
- a government for the people?
- intent to commit/facilitate a crime
- journalist rights
- researcher rights
- laws/law enforcement agencies are supposed to be protecting us
- fear of prosecution/legal harassment
- chilling effect
- don't turn innocent people into criminals (through bad laws)
- good intentions
- absurd
Annotators
URL
-
-
lnakamur.files.wordpress.com lnakamur.files.wordpress.com
-
User subjects and data objects are treated as programmable matter, which is to say extractable matter.
yes.
-
- Mar 2020
-
www.quora.com www.quora.com
-
It doesn’t.What it does do is teach AI to recognize various things and fool you into thinking you’re getting better security.When you get something for free, you are the product.
-
-
-
For mainly two reasons: I pay for things that bring value to my life, and when something's "free", you're usually really just giving away your privacy without being aware.
-
-
news.humanpresence.io news.humanpresence.io
-
Rojas-Lozano claimed that the second part of Google’s two-part CAPTCHA feature, which requires users to transcribe and type into a box a distorted image of words, letters or numbers before entering its site, is also used to transcribe words that a computer cannot read to assist with Google’s book digitization service. By not disclosing that, she argued, Google was getting free labor from its users.
-
-
www.wikihow.com www.wikihow.com
-
Get phrasebooks to start studying basic terminology. Phrasebooks are lists of expressions made for travelers to foreign countries. These lists give you an example of the sentence structure a language uses and what kind of words are useful. Find a phrasebook in the language you wish to learn and treat it as a foundation you can build upon as you learn more.
-
-
www.argotrans.com www.argotrans.com
-
Are you telling your customers that you are willing to invest $0 in providing them with a proper translation? Are you prepared to signal that those markets or languages aren’t a priority for your organization? That is a dangerous message to send, primarily if you rely on your global audience for significant amounts of your total revenue.
-
- Jan 2020
-
unix.stackexchange.com unix.stackexchange.com
-
I'm really not sure what the best choice would be (I'd use sed, but that's because I don't know perl well enough.
-
-
-
Which is included in the question, but bears repeating for the "I can't read this /whole/ page" folks.
-
- Dec 2019
-
www.howtogeek.com www.howtogeek.com
-
There are thousands of to-do list apps out there, in part because no system works perfectly for everyone. I’m not going to say todo.txt is the exception, and that it will work for everyone, because that would be crazy. But todo.txt is the most flexible tool I’ve come across. In part, this is because of the sheer number of clients available, but also because the simplicity lends itself to improvisation.
First time I've seen improvisation used like this.
-
-
hypothes.is hypothes.is
- Aug 2019
-
www.macrumors.com www.macrumors.com
-
Now, I'd rather pay for a product that sticks around than have my personal data sold to use a free product that may not be around tomorrow. I value my privacy much more today. If you're not paying for the product... you are the product being sold.
-
- Oct 2018
-
www.youtube.com www.youtube.com
Tags
Annotators
URL
-
-
www.youtube.com www.youtube.com
Tags
Annotators
URL
-
- Sep 2018
-
mashable.com mashable.com
-
Snapchat says it reaches 28.5 to 30 million 18-24 year old users in the U.S. According to a recent survey of Instagram users, approximately 32 percent of its 1 billion-strong user base is 18-24.
Snapchat reaches around 30 million 18-24 year old users; important ages that are more recently able to vote and take political action. Instagram and snapchat are most popular amongst younger users.
-
-
cnx.org cnx.org
-
City officials can actually help if they go out into the streets and ask real people what actually is going on. Something on blogs and on polls arent true, they dont always speak the truth. If they were to go out to communities and build relationships with people, they would have a clearer understanding of what is going on.
Tags
- City officials cannot fix problems if they do not know anything is wrong to begin with. Responding to public opinion polls, actively contributing to a political blog, or starting a new blog are all examples of different ways to be involved.
- group: F18-51-Hybrid
- https://hypothes.is/groups/q2jXEin4/f18-51-hybrid)
Annotators
URL
-
- Aug 2018
-
inst-fs-iad-prod.inscloudgate.net inst-fs-iad-prod.inscloudgate.net
-
the kids are all right
Given danah's age, I would suspect that with a copyright date of 2014, she's likely referencing the 2010 feature film The Kids are Alright.
However that film's title is a cultural reference to a prior generation's anthem in an eponymous song) by The Who which appeared on the album My Generation. Interestingly the lyrics of the song of the same name on that album is one of their best known and is applicable to the ideas behind this piece as well.
-
-
archive.is archive.is
-
<small> <table bgcolor="gold" width="100%"> <tbody><tr><td align="left"> #absence_explorer </td> <td align="right"> ABOUT </td> </tr></tbody></table> </small><table bgcolor="#c7dfe6" width="100%"> <tbody><tr><td align="center"> <br> Your search for "ideas are not humans" yielded:
No results
<br> </td> </tr> <tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr> </tbody></table><table align="center" bgcolor="#c4c4c4" width="100%"> <tbody><tr> <td> </td> <td> </td> </tr><tr> <td> </td> <td> </td> </tr> </tbody></table><table bgcolor="#f3f3f3" width="100%"> <tbody><tr><td align="center"> click buttons for archived results <br> ◁ Search Again for changes on the materials that <br> directly make out the "world" presented before us <br> </td> </tr></tbody></table>
-
- Feb 2018
-
hypothes.is hypothes.is
-
My daughter will be brought up to understand her true value. That’s a promise. As for all the little girls to be born around the world, the creation of these ads is an effort to show how imagination can change the conversation around their lives.
-
-
www.wired.com www.wired.com
-
This is unsettling. Why are the world’s greatest public technocrats also its greatest private technophobes? It seemed as if they were following the cardinal rule of drug dealing: never get high on your own supply.
-
-
archive.org archive.org
-
or
"I have, in the following little volume, collected a few of these, the Love-Songs of a single province merely, which I either took down in each county of Connacht from the lips of the Irish-speaking peasantry - a class which is disappearing with most alarming rapidity - or extracted from MSS, in my own possession, or from some lent to me, made by different scribes during this century, or which I came upon while examining the piles of modern manuscript Gaelic literature that have found their last resting-place on the shelves of the Royal Irish Academy." (iv)
The way Hyde makes reference to sources is casual and non-specific. It would be difficult for a reader to access his sources. Because we have such little insight, it is important to be alert to potential biases in the collecting and editing process.
If we can identify consistencies among the anthologized songs in terms of their depiction of love and lovers, and/or among songs which are excluded from the anthology, we will have reason to regard the very partial disclosure of sources with suspicion.
As I have already noted, part of Hyde’s project is to bring the reader into contact with language which has an ‘unbounded’ power to excite the Irish Muse. Perhaps part of the way he contrives this encounter is to control the kind of subject matter that will appear to the reader as that which occurs most naturally in the Irish language.
-
- Oct 2017
-
genomebiology.biomedcentral.com genomebiology.biomedcentral.com
-
TIA-1 has been described as an ARE-binding protein and binds both U-rich and AU-rich elements.
-
-
engagements2017-18.as.virginia.edu engagements2017-18.as.virginia.edu
-
Some good men, and even of respectable information, consider the learned sciences as useless acquirements; some think that they do not better the condition of men; and others that education like private & individual concerns, should be left to private & individual effort
In this quote, there is this all or nothing mentality; many of the founders seem to take different stances. The question: is the teaching and education of "learned sciences" beneficial? Universities in the 21st century seem to promote goals aimed at developing deeper thinkers, people with a desire and curiosity to continue learning, even after college. The fact that there was such a debate over whether "learned sciences" were an important factor of the UVA curriculum is shocking to me since the University seems to be so centered around creating "informed citizens" nowadays. I have a hard time understanding how learned sciences are useless since I believe they do "better the conditions of men." Learned sciences promote engagement throughout all disciplines and create better students and sharper thinkers as they have stronger abilities to collaborate with others. I think they included this statement to avoid criticism; they decided to ultimately leave the decision of whether or not to include learned sciences to the “private and individual effort,” exhibiting that this decision would be less contested if left to the specific individuals (i.e. professors and students). This surprised me to read because it’s easy to see how much values have changed to bring us to today’s version of the University of Virginia. From my “Doing Fieldwork” engagement, it is easy to see how much other people influence our own perceptions and ideas, so I think that Learned Sciences are an essential part of a college education.
-
- Sep 2017
-
www.mnemotext.com www.mnemotext.com
-
It is up to me, not the state, what beliefs I adopt, what opinions I voice, or what religion I practice.
Except not really. Social institutions like school, religion, saluting the flag, etc. socialize us into acceptable thought/behavior. We are free, to an extent, to rebel against these socializations, but rarely without backlash from friends, family, community, etc. See also: Red Scare
-
- Aug 2017
-
docsouth.unc.edu docsouth.unc.edu
-
wholly destitute of all education but what he received in common with other domesticated animals, enjoying no advantages that could lead him to suppose himself superior to the beasts, his fellow servants.
This is an accurate description of chattel slavery. Slaves were dehumanized to justify treating them inhumanely. They could be bought, sold, traded, and inherited just as livestock.
-
- Jul 2017
-
inst-fs-iad-prod.inscloudgate.net inst-fs-iad-prod.inscloudgate.net
-
Teachers are coaches of understanding, not mere purveyors of content knowl-edge, skill, or activity. They focus on ensuring that learning happens, not just teaching (and assuming that what was taught was learned); they always aim and check for successful meaning making and transfer by the learner.
-
- Apr 2017
-
thisibelieve.org thisibelieve.org
-
Believing there is no God means the suffering I’ve seen in my family, and indeed all the suffering in the world, isn’t caused by an omniscient, omnipresent, omnipotent force that isn’t bothered to help or is just testing us, but rather something we all may be able to help others with in the future. No God means the possibility of less suffering in the future.
Opinions are one thing but when it comes down to this crazy world we live in, I would have to say that God is not the only reason people are suffering. We face our own difficulties and challenges and there is more then one reason to everything. That's just my opinion.
Tags
Annotators
URL
-
- Feb 2017
-
clalliance.org clalliance.org
-
s, and characters from the fictional story world, in ways that powerfully resonate with fans of the series. Participants are mobilized as “Dumbledore’s Army of the real world” in campaigns such as Not In Harry’s Name which pressures Warner Brothers into using Fair Trade chocolate for its Harry Potter Chocolates.
Fair trade chocolate is a topic that i recently learned about after a long discussion with my sister. It essentially is a Standerd that certifies that the chocolate is not made from plantations that make children and work under unfair conditions and wages.Its amazing how they were able to stand up to cooperates to a issue that most people are not even aware of, Great Work
-
- Jan 2017
-
marginalsyllab.us marginalsyllab.us
-
There is little order of one sort where things are in process of construction; there is a certain disorder in any busy workshop; there is not silence; persons are not engaged in maintaining certain fixed physical postures; their arms are not folded; they are not holding their books thus and so. They are doing a variety of things, and there is the confusion, the bustle, that results from activity. But out of occupation, out of doing things that are to produce results, and out of doing these in a social and coöperative way, there is born a discipline of its own kind and type.
This is what my classroom looks like everyday, all day long. Students are in my art classes to produce, problem solve, learn from mistakes, learn from one another. They are actively engaged, the room gets messy. If an admin were to walk in, I'd hope they'd take a moment to observe and realize that what they are seeing is learning! Luckily I do have great admins so they do.
-
-
plantsinaction.science.uq.edu.au plantsinaction.science.uq.edu.au
-
A plant science manifesto
During the Spring 2017 semester, students taking a plant physiology course at Dickinson State University will be publicly annotating chapters from this online textbook.
-
- Dec 2016
-
cft.vanderbilt.edu cft.vanderbilt.edu
-
In terms of Bloom’s revised taxonomy (2001), this means that students are doing the lower levels of cognitive work (gaining knowledge and comprehension) outside of class, and focusing on the higher forms of cognitive work (application, analysis, synthesis, and/or evaluation) in class, where they have the support of their peers and instructor. This model contrasts from the traditional model in which “first exposure” occurs via lecture in class, with students assimilating knowledge through homework; thus the term “flipped classroom.”
-
- Nov 2016
-
lti.hypothesislabs.com lti.hypothesislabs.com
-
Gabby Douglas i
-
Hardy Williams
-
ommie Smith a
-
- Oct 2016
-
school.bighistoryproject.com school.bighistoryproject.com
-
Eventually cells stuck together to form creatures with many cells. Plants and animals came out of the sea onto land and became ever more complex and aware
-
- Sep 2016
-
www.jcgmo.com www.jcgmo.com
-
Added photos Should I remove the quote?
-
-
www.nytimes.com www.nytimes.com
-
“But the question is ‘What are you?’ and the answer is I’m white.”
im white....?
-
- May 2016
-
developer.mozilla.org developer.mozilla.orgRegExp1
-
Standard built-in objects
something like this http://www.publicrecordcenter.com/canada_courts.htm and other stuff like https://duckduckgo.com/?q=parliaments+list&ia=web
-
- Mar 2016
-
mikealger.com mikealger.com
-
VR Interface Design Pre-Visualisation Methods
Meeeoow!!!
-