I don't think this is what really matters at the end, since whatever is the implementation the goal should be to provide a library that people actually like to use.
- Dec 2020
-
github.com github.com
-
-
I personally think that starting from google's components makes easier to keeping update to material specs updates.
Tags
- being the thing that people are looking for
- doesn't matter
- implementation detail
- usability
- MDC
- build upon the work of others
- keeping in sync with changes to the standard/specification
- not following the standard/specification
- ergonomics (software API)
- easy to use
- technical details
- pleasant/enjoyable to use
- something people like to use
Annotators
URL
-
-
Local file Local file
-
Ariela had written a book about the history of theeveryday law of slavery in the U.S. Deep South that emphasized localculture and law,
2019-12-30 12:12:53 AM
-
Martha S. Jones,Birthright Citizens: A History of Race and Rights in AntebellumAmerica
-
-
implicit.harvard.edu implicit.harvard.edu
-
I'd really like to take this.
Tags
Annotators
URL
-
-
yalebooks.yale.edu yalebooks.yale.edu
-
p. 198:
Given any five points on a sphere, show that some four of them lie on a hemisphere that includes its boundary.
I'll admit, I already looked at the hint for this problem, and yes, my initial approach did indeed consist of trying to find the 'worst' configuration.
I can think of two ways to determine whether or not two points on a sphere lie within the same hemisphere:
- First off, since any two points on a sphere may be connected by a great circle, they're in the same hemisphere if they're separated by no more than \(\frac{\tau}{2}\) radians along this shortest path.
- Equivalently, the length of the line segment connecting them must be less than or equal to \(2r\), where \(r\) is the radius of the sphere.
One other note:
- It's always possible to divide the sphere in half in such a way that any two points lie within the same hemisphere. (This is a corollary of the first point, above. Note that two antipodal points must necessarily fall on the boundary of such a division.)
So, I have a picture in my mind of the sphere divided into eight regions of equal area by way of three great circles which intersect one another at right angles. (Think the Equator, the Prime Meridian, and a third great circle drawn through the poles at 90 degrees longitude.) My thinking now tends more toward combinatorics and the pigeonhole principle than geometry proper.
-
-
register.gotowebinar.com register.gotowebinar.com
-
-
But something about the comforting rigidity of the process, its seductive notation, but perhaps mostly its connotations of intellectual privilege, has drawn a diverse selection of disciplines to the altar of mathematical reasoning. Indeed, the widespread misappropriation of the language of mathematics in the social and biological sciences has to be one of the great tragedies of our time.
The deliberate misappropriation of the language of mathematics.
-
-
open.spotify.com open.spotify.com
Tags
Annotators
URL
-
-
www.apple.com www.apple.com
-
-
www.joshwcomeau.com www.joshwcomeau.com
-
- Nov 2020
-
scholarship.claremont.edu scholarship.claremont.edu
Tags
Annotators
URL
-
-
www.123articleonline.com www.123articleonline.com
-
Mold allergy is caused by mold spores, which are microscopic fungi that are present everywhere in the air. In a few cases, indoor mold allergy can get more serious leading to breathing-related problems like bronchitis and asthma. Before anything else, the only way to treat an allergy to mold is by taking preventive measures to avoid exposure to triggers of mold allergy. Whenever you suspect mold allergy symptoms, do consult your doctor or a leading allergist for your condition.
-
-
arxiv.org arxiv.org
-
-
news.ycombinator.com news.ycombinator.com
-
There's a huge area of seemingly obvious user-centric products that don't exist simply because there isn't a working business model to support it.
-
-
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
-
-
stackoverflow.com stackoverflow.com
-
If you want a reference to the global object that works in any context, you can read this from a directly-called function. const global = (function() {return this})();. This evaluates to window in the browser, self in a service worker and global in nodejs.
-
emphasizing that 'this' and 'global object' are two different things not only in Node.js but in JavaScript in general
-
-
stackoverflow.com stackoverflow.com
-
delete myObject.regex; // or, delete myObject['regex']; // or, var prop = "regex"; delete myObject[prop];
-
-
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.
-
-
github.com github.com
-
All projects here are completely frozen, though feel free to fork and continue using them on your own.
-
-
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
-
You already have the reason: to raise distinction
-
So I assume the main reason is for distinction from regular text.
-
-
uxdesign.cc uxdesign.cc
-
Note: Yes, it is sentence case, and yes, there should be a full stop if it was true sentence case — but for the love of all things good and designy, please don’t add a full stop.
-
Secondary buttons are the ‘go back’ to the primary button’s ‘next’, or the ‘cancel’ button to the ‘submit’ button
-
-
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
-
I open this issue to announce that i'm actively working on a rewrite of this library to accomplish these goals:
-
I hope @hperrin you're still alive to discuss about this and eventually for a pull request.
-
Preview/beta release (I wish @hperrin allows it to pull request it here)
-
For use$ since svelte is never going to support actions for components, i designed something that reminds React hooks that will in some ways replace this feature.
Isn't that what use$ is trying to do already? How is that "something that reminds React hooks" any different? Will be interested to see...
-
It is very important that "production ready" UI libraries are available because otherwise the use of Svelte cannot be argued. A key point would be to make it easy possible that people can contribute
-
@monkeythedev can your work be used already? I would suggest not yet, i'm still doing core changes every day
-
@monkeythedev I am curious how do you "organize" your work - You forked https://github.com/hperrin/svelte-material-ui and https://github.com/hperrin/svelte-material-ui is not very active. Do you plan an independent project ? I hope the original author would return at some times, if not, i'll see
-
This one gets the SEO, so I hope you're successful @raythurnevoid.
I assume this gets search traffic because people hope/assume that since there's a React "material-ui" that there might already be a "svelte-material-ui" port/adaptation available. So they search for exactly that (like I did). That and being the first to create that something (with that name).
-
I agree, it would be great to join forces and speed up development... Svelte really needs one safe material library option.
-
Maybe @hperrin would be able to make an appearance and select a few additional maintainers to help out.
Tags
- maintainer: should add additional maintainers to help out
- stability (works well enough / has few enough bugs)
- avoid forking if possible
- getting/attaining wide reach/audience/popularity due to being first to market
- community effort
- issues/factors hindering adoption
- design goals
- getting feedback/consensus before starting work
- announce intention/plans early in order to get feedback
- is it too early to use software/product? (pre-release / stability)
- fragmented community
- should they fork and create new alternative independent project?
- web search for something brings me here
- explicit goals
- Svelte: problem: use actions on component
- maintenance status uncertain
- react hooks
- having a name containing a search term that people are looking for
- maintainer: more maintainers needed
- Svelte: action (use:)
- pre-release
- maintainer is missing (uncertain if they plan to continue maintaining)
- Svelte
- no good alternative
- important to community
- expect it to break / be broken frequently
- alternative to:
- forked because no longer maintained
- getting/attaining wide reach/audience/popularity due to being or having a name containing a search term that people are looking for
- excellent name
- comparison
- being the thing that people are looking for and hoping/assuming already exists
- port (adaptation/translation)
Annotators
URL
-
-
github.com github.com
-
There is no rerender, when you call listen, then all scroll events will warn on chrome. See this entry from svelte: breaking the web
Even the author of this library forgot this about Svelte?? :) (Or maybe he didn't and this response misunderstood/falsely assumed that he had.)
-
You can also see this repo: default-passive-events.
-
-
github.com github.com
-
If you continue to have trouble though, feel free to open a new issue so we can keep this one focused on the theme color palette documentation problem. 1 Pick your reaction
-
-
www.686.com www.686.com
Tags
Annotators
URL
-
-
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.”
-
-
timdeschryver.dev timdeschryver.dev
-
Svelte makes the pit of success larger because it hides all of this from us at compile time.
-
At the start this is hard to get right, and bad practices will sneak into the codebase.
-
-
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
-
-
Another difference is that context in Svelte does not insert anything into the visual component tree. There is no <Context.Provider> element like in React
Tags
- Svelte: context
- react: context
- component tree
- port from another language
- examples
- Svelte
- React
- +0.9
- equivalent/analogous/alternative ways to do something between 2 libraries/languages/etc.
- better/superior solution/way to do something
- comparison
- react hooks
- port (adaptation/translation)
Annotators
URL
-
-
www.sunypress.edu www.sunypress.edu
Tags
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
Tags
Annotators
URL
-
-
boardgamegeek.com boardgamegeek.com
-
It's remarkable how much strategy and screwage can derive from just a pair of actions
-
-
nbdev.fast.ai nbdev.fast.ai
-
I'd love to take this for a spin. Maybe I could rewrite Demeter or
micdropusing it.
-
-
-
Learn how to create a dating app that will rival Tinder. Get step-by-step guide, learn about monetization strategies, and find out what it takes to build a dating app in 2020.
-
-
-
Wondered how to make an online selling app? Here’s a guide with tech & business details, technologies and processes for 2020 on how to develop a successful eCommerce app and drive maximum sales.
-
-
-
So handling the interop upfront will avoid users writing invalid ES6 and make sure that they write ES6 that loads CommonJS in the right way.
-
-
github.com github.com
-
Not being cancelable makes validating dialog content impossible - eg a login dialog or anything that takes user input. Of course, it's easy enough to get around - but I think this should be a requirement of a dialog.
-
-
github.com github.com
-
To bundle this in your own code, use a Sass processor (not a Sass Svelte preprocessor, but a Sass processor)
-
-
www.youtube.com www.youtube.com
-
If everyone did this, the repair shops would be out of business.
-
-
www.verisign.com www.verisign.com
-
Why let other websites and social platforms tell your story? Share the real, authentic you the way you want to, and when you want to.
-
-
laniewski.me laniewski.me
-
It is important to notice that if you are planning on making your application a PWA, you don’t have to rewrite all the logic.
-
-
github.com github.com
-
I wonder if it's worth archiving the repository (while leaving the site running) with a message that we're transitioning the content to MDN (so folks don't get the wrong idea and a bad experience when filing issues).
-
-
www.klaviyo.com www.klaviyo.com
-
Chevy tried an all-emoji press release about a new car that came across as very forced, proving that less is more when it comes to using emojis in emails. Not to mention, it’s almost impossible to decipher the message they’re trying to communicate.
-
-
en.wikipedia.org en.wikipedia.org
Tags
Annotators
URL
-
-
support.google.com support.google.com
-
kafka.apache.org kafka.apache.org
-
-
gist.github.com gist.github.com
-
I'm excited for the RTM of webpack 2!
I assume this is just a more polite variant of RTFM?
-
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
-
-
-
Do you want to know how to make an app like Uber? Read this 2020 guide to learn about business and technical sides of uber-like app development.
-
-
github.com github.com
-
-
kensartisan.com kensartisan.com
-
-
scroll.in scroll.in
-
“Let’s say a trial is listed and I have to cross examine a witness,” he said. “Now, what is the guarantee that the witness would be willing to go all the way to the court in such a time?” If witnesses do not appear, then the matter would merely be adjourned.
access to justice
-
-
final-form.org final-form.org
-
if the value given in value is contained in the array that is the value for the field for the form
distinction:
- the value given in
valueprop ofField - the value for the field for the form (formState.values[field_name])
- the value given in
-
-
stackoverflow.com stackoverflow.com
-
I think you meant a different set of arguments to Object.assign ? should be Object.assign({}, api.headers, headers) because you don't want to keep adding custom headers into hash of common api.headers. right?
-
-
stackoverflow.com stackoverflow.com
-
Never use x && y || z when y can return a non-zero exit status.
-
-
unix.stackexchange.com unix.stackexchange.com
-
I think what the author intended to do was check if the second argument was a non-empty string (which is not the same thing as checking whether there are more than 1 argument, as the second argument could be passed but be the empty string).
-
-
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.
-
Some people try to use && and || as a shortcut syntax for if ... then ... else ... fi, perhaps because they think they are being clever.
-
Tags
- should not infer as a general rule
- clever
- shell scripting
- distinction
- not:
- not the same thing (but easy to assume they are)
- easy to get wrong
- shorthand
- false assumptions
- list of examples
- bash
- caveat
- trying to make a general rule out of something that only works for certain specific cases
- how to do it correctly and avoid common mistakes/pitfalls
Annotators
URL
-
-
-
You could decide to trust yourself and your teammates to always remember this special case. You can all freely use short-circuiting, but simply don't allow a short-circuit expression to be on the last line of a script, for anything actually deployed. This may work 100% reliably for you and your team, but I don't believe that is the case for myself and many other developers. Of course, some kind of linter or commit hook might help.
-
This is the kind of bug we don't want to have, since it can be subtle, non-obvious, and hard to reproduce.
-
-
www.tuttlepublishing.com www.tuttlepublishing.com
-
uwapress.uw.edu uwapress.uw.edu
Tags
Annotators
URL
-
-
github.com github.com
-
It is open to the community to help set its direction.
-
-
github.com github.com
-
It might seem too obvious but I've been struggling long time with this until I got that you need to include the base image too
Thanks for the tip
-
the "trick" is to pass to --cache-from the image you are rebuilding (and have it pulled already) and ALSO the image that it uses as base in the FROM.
-
at least in the meantime allow users to bypass the security protections in situations where they are confident of the source of the layers
-
-
github.com github.com
-
This decorators proposal deliberately omits these features, in order to keep the meaning of decorators "well-scoped" and intuitive, and to simplify implementations, both in transpilers and native engines.
-
It took us a long time for everyone to get on the same page about the requirements spanning frameworks, tooling and native implementations. Only after pushing in various concrete directions did we get a full understanding of the requirements which this proposal aims to meet.
-
However, this coalescing was very complicated, both in the specification and implementations, due to the dynamism of computed property names for accessors. Coalescing was a big source of overhead (e.g., in terms of code size) in polyfill implementations of "Stage 2" decorators.
-
-
stackoverflow.com stackoverflow.com
-
# Run once, hold otherwise if [ -f "already_ran" ]; then echo "Already ran the Entrypoint once. Holding indefinitely for debugging." cat fi touch already_ran
-
Edit this file (corresponding to your stopped container): vi /var/lib/docker/containers/923...4f6/config.json Change the "Path" parameter to point at your new command, e.g. /bin/bash. You may also set the "Args" parameter to pass arguments to the command. Restart the docker service (note this will stop all running containers):
-
-
github.com github.com
-
If the document is uncontroversial and agreement is reached quickly it might be committed directly with the "accepted" status. Likewise, if the proposal is rejected the status shall be "rejected". When a document is rejected a member of the core team should append a section describing the reasons for rejection.
-
-
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)
Tags
- open-source projects: allowing community (who are not on core team) to influence/affect/steer the direction of the project
- build concensus
- allowing sufficient time for discussion/feedback/debate before a final decision is made
- attracting contributors
- welcoming feedback
- feeling blindsided
- have discussion/feedback/debate in public (transparency)
- soliciting feedback
- change proposal workflow: RFCs
Annotators
URL
-
-
github.com github.com
-
I know this is existing code but we can probably use this as an opportunity to "fix" it: it is discouraged to use the async exists method to check for a file and try operating on it.
-
How about renaming this to something more meaningful:
-
If nobody objects or can come up with improvements, I'll approve.
-
Test plan You need a large NPM package in a private org on the npmjs.org registry. 10MB download size is ideal.
-
-
blog.readwise.io blog.readwise.io
-
How many times have you heard the cliché, for example, read between the lines? It turns out, the key to reading between the lines is actually to write between the lines. Once you start, you'll discover a whole new reading experience, elevated from that of a one-sided lecture to a two-sided conversation.
reading as a conversation between myself and the text.
-
-
restofworld.org restofworld.org
Tags
Annotators
URL
-
-
yalebooks.yale.edu yalebooks.yale.edu
-
button.dev button.dev
-
i like working on application frameworks, compilers, interpreters, and emulators.
-
-
www.beacon.org www.beacon.org
Tags
Annotators
URL
-
-
jimmy.schementi.com jimmy.schementi.com
-
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.
-
-
-
How do free apps make money? Learn how to make money from an app. Best strategies to make money from free apps in 2020 and beyond.
-
-
-
Do you want to know how much it costs to make an app? Learn the cost to develop iOS & Android apps in 2020 and about the main influencing factors and indicators.
-
-
www.apollographql.com www.apollographql.com
-
benfoster.io benfoster.io
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Thanks so much for the reply! Due to space limitations for comments, I have appended my reply to my original question. Thanks again! (P.S. I can't up-vote your reply until my rep hits 15... Sorry about that.)
-
-
dev.to dev.to
-
web applications embed too much code. This is a reality and it has a big impact on their performances. The time lapse before a possible interaction with the web application you want to access, the famous "time to interactive", is not only related to the network time needed to download the application's content but also to the time spent by the JavaScript engine to parse and interpret the code.
-
-
imfeld.dev imfeld.dev
-
Converting Angular components into Svelte is largely a mechanical process. For the most part, each Angular template feature has a direct corollary in Svelte. Some things are simpler and some are more complex but overall it's pretty easy to do.
-
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.
-
-
stackoverflow.com stackoverflow.com
-
addevice.io addevice.io
-
Want to know how to create a workout app? Learn about trending fitness app types and features, how to make money with such apps, and how much it will cost you.
If you want to know How to Create a Workout App with our team for a free consultation and mobile application estimation.
-
-
-
How to Create a Messaging Application from Scratch
How to create a messaging app from scratch - what tools and technologies are used in messaging and chat application development process.
If you want to know How to Create a Messaging Application from Scratch with our team for a free consultation and mobile application estimation.
-
-
www.washingtonpost.com www.washingtonpost.com
-
political scientists Keith Poole and Howard Rosenthal, who have long tracked historical trends in political polarization, said their studies of congressional votes found that Republicans are now more conservative than they have been in more than a century. Their data show a dramatic uptick in polarization, mostly caused by the sharp rightward move of the GOP.
-
-
github.com github.com
-
I see this issue has 2 open PR's is this going to be finalized anytime soon?
-
...Then I just make sure that all my $: reactive statements also check whether the values are initialized or not. It's hacky, but it avoids the double render.
-
-
docs.microsoft.com docs.microsoft.com
-
stackoverflow.com stackoverflow.com
-
Things that cause the error to go away If I change any one of the following factors (which should not make any difference), then everything works fine:
-
-
github.com github.com
-
github.com github.com
-
Furthermore, how come there's a PR open since 3 months, at what seems to be the authoritative repo for Svelte?
-
-
github.com github.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
-
-
stackoverflow.com stackoverflow.com
-
can you not also use a .babelrc?
-
-
github.com github.com
-
Dart is substantially easier to learn than Ruby
-
-
-
Dart Web enables running Dart code on web platforms powered by JavaScript. With Dart Web, you compile Dart code to JavaScript code, which in turn runs in a browser
Tags
Annotators
URL
-
-
-
Dart Sass is the primary implementation of Sass, which means it gets new features before any other implementation. It’s fast, easy to install, and it compiles to pure JavaScript which makes it easy to integrate into modern web development workflows.
-
-
-
github.com github.com
-
All standard UI events are forwarded.
-
class: '' - A CSS class string.
-
-
-
Feel free to subscribe to the issue (there's button in the right hand column) but do not comment unless you are adding value to the discussion. "Me too" and "+1" are not valuable, nor are use cases that have already been written in the comments (e.g., we know that you can't put <tr> or <dd> elements with a <div>).
-
It won't work in all use cases, but it's better than the div soup.
-
I run into this on almost every project and end up doing this as a workaround: :global([slot="content"]) This allows me to style that extra div in the component that contains the slots but it would be super nice to have <MyComponent slot="content"/> and eliminate that extra div
-
If this is getting implemented, I think I'll love to see both implemented. I can see a lot of use cases where I would like to encapsulate the component with additional wrappers and in another scenarios I would like to just use the component. Now i work around this using empty div but then at times it breaks the structure because of the div element and I'll have to add more class utilities to make it work. This will be a great addition for Svelte.
-
I don't like adding unnecessary divs.
-
-
github.com github.com
-
webpack sure wastes a lot of time when things go wrong.
-
-
github.com github.com
-
// replace css-loader with typings-for-css-modules-loader environment.loaders.get('moduleSass').use = environment.loaders.get('moduleSass').use.map((u) => { if(u.loader == 'css-loader') { return { ...u, loader: 'typings-for-css-modules-loader' }; } else { return u; } });
-
-
github.com github.com
Tags
Annotators
URL
-
-
web.archive.org web.archive.org
-
prettier.io prettier.io
-
Prettier’s printWidth option does not work the same way. It is not the hard upper allowed line length limit. It is a way to say to Prettier roughly how long you’d like lines to be. Prettier will make both shorter and longer lines, but generally strive to meet the specified printWidth. Remember, computers are dumb. You need to explicitly tell them what to do, while humans can make their own (implicit) judgements, for example on when to break a line. In other words, don’t try to use printWidth as if it was ESLint’s max-len – they’re not the same. max-len just says what the maximum allowed line length is, but not what the generally preferred length is – which is what printWidth specifies.
-
-
-
I also tried to use <!-- svelte-ignore unused-export-let --> before the script tag but still no chance.
-
-
github.com github.com
-
You can only adopt a workaround, which can be one of
-
-
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
-
Note that you can also use dynamic partials, that conditionally select the partial to render based on the value in the JSON.
-
-
github.com github.com
-
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.
-
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.
Tags
- visceral reaction
- ability to use any arbitrary expression
- syntax
- expressions in templates
- major changes are easier/best made earlier in project's life
- Svelte
- unnecessary
- connotations
- negative connotations
- JSX
- do it right/well the first time because it may be too hard to clean up/fix later if you don't
Annotators
URL
-
-
www.benkuhn.net www.benkuhn.net
-
When you’re implementing a bad plan yourself, instead of having a mentor bail you out by fixing it, a few really useful things happen:You learn many more details about why it was a bad idea. If someone else tells you your plan is bad, they’ll probably list the top two or three reasons. By actually following through, you’ll also get to learn reasons 4–1,217.You spend about 100x more time thinking about how you’ll avoid ever making that type of mistake again, i.e., digesting what you’ve learned and integrating it into your overall decision-making.By watching my mistakes and successes play out well or badly over the course of months, I was able to build much more detailed, precise models about what does and doesn’t matter for long-term codebase health. Eventually, that let me make architectural decisions with much more conviction.
There's a benefit to embarking on a challenge without a more experienced authority to bail you out.
- You learn many more details about why it's a bad idea.
- The lessons you learn in terms of how to avoid the mistakes you made stick with you longer
(I would add that the experience is more visceral, it activates more modalities in your brain, and you remember it much more clearly.)
These types of experiences result in what the author calls more "detailed, precise models". For me they result in a sort of intuition.
-
-
-
Some of the verbs implemented by systemctl are designed to provide a high-level overview in a human readable format. All that information is available over dbus, and/or journalctl, systemctl show. We could provide that information in json format, but there's a second problem. Information and format of information printed by e.g. systemctl status is not stable. Since the output is not suitable for programmatic consumption anyway, there's no need to provide it in a machine readable format.
-
In principle, this information is already available through other means, but it is actually a fair amount of work to gather it in this form, and I think it could be useful to open it up to programmatic consumption.
-
Although I agree that -o json should return proper JSON, believe the proper way for external tools like SaltStack etc. to talk to systemd is DBus. See also saltstack/salt#20392 - everything else is more or less just hack-ish and prone to break easily.
-
-
github.com github.com
-
I'm not sure what's the best solution, but it could be a good idea to print the full path only at the end of the line, since it takes a lot of space, or to move it to a separate line.
-
-
jonudell.info jonudell.info
-
http://jonudell.info/h/tag-rename-02.mp4
Most people would embed a YouTube video. Nice to see no dependency on 3rd-party service here.
-
-
www.facebook.com www.facebook.com
-
People want to be able to choose which service they use to communicate with people. However, today if you want to message people on Facebook you have to use Messenger, on Instagram you have to use Direct, and on WhatsApp you have to use WhatsApp. We want to give people a choice so they can reach their friends across these networks from whichever app they prefer.We plan to start by making it possible for you to send messages to your contacts using any of our services, and then to extend that interoperability to SMS too. Of course, this would be opt-in and you will be able to keep your accounts separate if you'd like.
Facebook plans to make messaging interoperable across Instagram, Facebook and Whatsapp. It will be opt-in.
-
-
whatever.scalzi.com whatever.scalzi.com
- Oct 2020
-
www.julian.com www.julian.com
-
But what should you write about? Simply ask yourself, What's bothering you most right now? Write a post where you work through that—and get to a conclusion. This is how I start every time. Writing is therapy that you publish for the world to learn from.
-
-
www.julian.com www.julian.com
-
First, choose your topicThe best topic to write about is the one you can’t not write about. It’s the idea bouncing around your head that urges you to get to the bottom of it.You can trigger this state of mind with a two-part trick. First, choose an objective for your article:Open people’s eyes by proving the status quo wrong.Articulate something everyone’s thinking about but no one is saying. Cut through the noise.Identify key trends on a topic. Use them to predict the future.Contribute original insights through research and experimentation.Distill an overwhelming topic into something approachable. (This guide.)Share a solution to a tough problem.Tell a suspenseful and emotional story that imparts a lesson.Now pair that objective with a motivation:Does writing this article get something off your chest?Does it help reason through a nagging, unsolved problem you have?Does it persuade others to do something you believe is important?Do you obsess over the topic and want others to geek out over it too?That’s all that's needed: Pair an objective with a motivation. Now you have something to talk about.
-
-
www.scispike.com www.scispike.com
-
I came up with this solution by piecing together man pages and random google result. I was surprised at how many incomplete and inaccurate answers were out there. What may have been more surprising was the complete lack of a full intact solution.
-
-
meta.stackoverflow.com meta.stackoverflow.com
-
Looking at all those bearing, heading, orientation, navigation, position, direction, etc. I think we have a bigger problem here. Someone has decided how to use tag (e.g. orientation is about page orientation), but there are 100 other cases. Imho, to disallow misusing there should be no "heading", but rather "html-heading", "gps-heading", "whatelse-heading", which make mistakes impossible. So yes, "heading" should go.
-
-
github.com github.com
-
It took a lot of searching around to find that variable.
-
-
hub.docker.com hub.docker.com
-
docs.microsoft.com docs.microsoft.com
-
I'll want to generate, upload, and store a certificate for publishing NuGet packages.
-
-
www.typelit.io www.typelit.io
-
-
docs.gitlab.com docs.gitlab.com
-
By using deploy keys, you don’t have to set up a fake user account.
-
-
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/
-
If you have a better/simpler/"more official" solution, I'd still love to see it!
The "official" solution is to use submitErrors (see Erik's answer).
-
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)
-
is this solution considered a hack or is something that we can use as an approved workaround in scenarios where we need to manually trigger validations?
-
The only tricky part is that the error will come back as meta.submitError, so you need to check for both when displaying your error.
-
The more official way to do this would be to run the check (you could even reuse this.validate) in onSubmit.
Tags
- I _guess_ this is how we do it (uncertainty; wish I knew the recommended/best way but for now I just need a way that works)
- missing feature leading to less-than-ideal workarounds
- official preferred convention / way to do something
- kludge
- abuse of feature
- easy to forget
- downsides/cons
- react-final-form: mutator
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- not officially supported / you're on your own
- validation schema
- caveat
- cheating
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!
-
-
www.basefactor.com www.basefactor.com
-
Focus on your application: forget about forms details like I'm dirty, field touched...
-
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.
-
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:
-
You can try to build a solution to tackle these issues on your own, but it will cost you time and money... why not use a battle-tested solution to handle all this complexity?
-
If you want to implement a form with a superb User Experience, you have to take care of many variables:
-
Form validation can get complex (synchronous validations, asynchronous validations, record validations, field validations, internationalization, schemas definitions...). To cope with these challenges we will leverage this into Fonk and Fonk Final Form adaptor for a React Final Form seamless integration.
-
Managing Form State (holding field information, check if a control has been touched, if the user has clicked the submit button, who owns the current focus...) can be tedious and prone to errors. We can get help from React Final Form to handle these challenges for us.
Tags
- too hard/difficult/much work to expect end-developers to write from scratch (need library to do it for them)
- a lot of things to consider
- can't support everything / all cases
- reinventing the wheel / not invented here
- don't write your own
- adapter
- complexity
- extensibility
- can't keep entire system in your mind at once (software development) (scope too large)
- react-final-form
- difficult/hard problem
- fonk (form validation library)
- flexibility
- integration
- form validation
- user experience
- form design
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- easy to get wrong
- tedious
- not considering all use cases
- form validation library
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); }
-
-
english.stackexchange.com english.stackexchange.com
-
In the context of software engineering, I've always used "dependent" and "dependee".
-
-
-
Oops, I had not read your original description closely enough.
-
But it sounds like the library could use some way to setTouched()
-