- Nov 2020
-
stackoverflow.com stackoverflow.com
-
emphasizing that 'this' and 'global object' are two different things not only in Node.js but in JavaScript in general
-
-
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.
-
-
developer.mozilla.org developer.mozilla.org
-
Fallback values aren't used to fix the browser compatibility. If the browser doesn't support CSS custom Properties, the fallback value won't help.
-
-
uxdesign.cc uxdesign.cc
-
So if you are designing for an app
If you're designing a web app, you still have hover.
-
-
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.)
-
-
github.com github.com
-
After i've stabilized the library i can start to discuss about adding new components and features!
-
-
github.com github.com
-
Many of you will not be able to use this if you depend on custom import types or other fancy loaders. This project is just not for you!
Tags
Annotators
URL
-
-
www.thecodebuzz.com www.thecodebuzz.com
-
GET is the primary mechanism of information retrieval and the focus of almost all performance optimizations.
-
-
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.
-
-
github.com github.com
-
It is open to the community to help set its direction.
-
-
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
- change proposal workflow: RFCs
- build concensus
- soliciting feedback
- have discussion/feedback/debate in public (transparency)
- allowing sufficient time for discussion/feedback/debate before a final decision is made
- attracting contributors
- welcoming feedback
- feeling blindsided
- open-source projects: allowing community (who are not on core team) to influence/affect/steer the direction of the project
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
All browers handle 302 incorrectly. Chrome 30, IE10. It became the de facto incorrect implementation; that cannot be changed because so many web-sites issue mistakenly issue 302. In fact ASP.net MVC incorrectly issues 302, depending on the fact that browsers handle it incorrectly.
-
-
github.com github.com
-
Tell you why tree-shaking fails, if it does.
-
What it doesn't do
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
But using internal api's is dangerous as these may change when you update svelte. If you decide to use this, add a line to your project Readme.md mentioning which internal api's you used and why. Try to write it using other methods when you can.
-
-
github.com github.com
-
I see this issue has 2 open PR's is this going to be finalized anytime soon?
-
-
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
-
github.com github.com
-
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.
-
This is not an MDC Web component. It is an addition that SMUI provides.
Tags
- reuse/leverage existing _ when possible
- wrapper
- don't reinvent the wheel
- keeping core small
- build upon the work of others
- extension of standard format
- just because you can doesn't mean you should
- keep things simple
- additional/extra/bonus feature not present in original/upstream/specification
- differences
- added/extra benefit/bonus
- not:
Annotators
URL
-
-
-
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>).
-
-
www.npmjs.com www.npmjs.com
-
Note that when using sass (Dart Sass), synchronous compilation is twice as fast as asynchronous compilation by default, due to the overhead of asynchronous callbacks.
If you consider using asynchronous to be an optimization, then this could be surprising.
-
-
github.com github.com
-
When you do import '../scss/application.scss', you're telling webpack to include application.scss in the build. This does not mean it's going to be compiled into your javascript, only that webpack now compiles and knows how to load this file.
Not necessarily the case that importing something into a JS file means the thing being imported is also JS.
-
-
-
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.
-
- Oct 2020
-
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
-
I don't think the heading/bearing split is as clear-cut as that.
-
-
-
In summary TLS uses PKI to secure information over the internet. However, it is important to note that TLS supports other encryption standards which are not part of PKI.
-
-
stackoverflow.com stackoverflow.com
-
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?
-
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
- kludge
- different way of thinking about something
- author of software answering questions in community (support)
- invalidating one's assumptions
- not considering all use cases
- can't support everything / all cases
- official preferred convention / way to do something
- testing/challenging one's assumptions (either validating or invalidating them)
- sincere
- they've thought of everything
- surprising
- assumptions
- not officially supported / you're on your own
- learning from others
- not:
Annotators
URL
-
-
www.basefactor.com www.basefactor.com
-
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!
-
Of course you can start implementing your own thing, but you will waste a lot of precious time reinventing the wheel. Why not take advantage of a validation library that takes care of all this complexity for you?
-
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?
Tags
- complexity
- extensibility
- don't write your own
- can't support everything / all cases
- too hard/difficult/much work to expect end-developers to write from scratch (need library to do it for them)
- reinventing the wheel / not invented here
- flexibility
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- not considering all use cases
Annotators
URL
-
-
english.stackexchange.com english.stackexchange.com
-
Logistically speaking, I suppose "depender" and "dependee" would be more accurate, though neither of those are proper english words as far as I know.
-
In the context of software engineering, I've always used "dependent" and "dependee".
-
-
hypothes.is hypothes.is
-
Every pastor is called to be a theologian.
-
-
medium.com medium.com
-
We don’t need to apply refactorings we don’t want.
-
This does solve the problem, but now our project and API is structured differently. In large projects it might be very hard to determine how to pull this trick off, or even impossible!
-
-
-
Especially when rollup is configured with multiple outputs, I find this particular onwarn to be helpful in reducing warning clutter. It just displays each circular reference once and doesn't repeat the warning for each output:
-
I think my personal preference would be to see them all at once. Or maybe limit it to up to 10 messages and then list the count of how many more messages were not displayed. Pick your reaction
-
Another thing we could do to limit output would be to only every show the first circular dependency warning. I think we already do this for other types of warnings. Then you would need to tackle the warnings one-by-one, though.
-
-
medium.com medium.com
-
These are fine and do not cause any issues.
-
-
icla2020b.jonreeve.com icla2020b.jonreeve.com
-
Why will you children insist on giving parties!”
I doubt the children had much to do with this, consider Laura's apathy for the silly boys she dances with, or Laura's desire to end the party on the account of Scott, or how Jose felt it was too late to call it off, rather than feeling like she would be personally upset to call it off. These parties are the adults ideas, but Sheridan likely has trouble accepting such a vapid pass-time as worth while, her ego is a mess, because its such a pointless endeavor, and that's why she must convince herself that it's the children's idea.
-
-
-
Note that these are not hyperlinks; these URIs are used for identification. This is a machine-readable way to say “this is HTML”. In particular, software does not usually need to fetch these resources, and certainly does not need to fetch the same one over and over!
-
-
-
if you’re just the casual web surfer type, learning about Internet terminology might not be of much real use to you
-
-
github.com github.com
-
{#with someExpression as someVariable} <p>{someVariable}</p> {/with}
-
-
final-form.org final-form.org
-
Wondering how to get field state from multiple fields at once? People coming from Redux-Form might be wondering where the equivalent of Redux Form's Fields component is, as a way to get state from several fields at once. The answer is that it's not included in the library because it's so easy to write one recursively composing Field components together.
-
-
ponyfoo.com ponyfoo.comPony Foo1
-
I’ll try to answer them over email and I may publish them here, with your approval.
-
-
masteringjs.io masteringjs.io
-
However, objects are generally easier to work with than maps, because not all JavaScript functions, frameworks, and libraries support maps. For example, the JSON.stringify() function doesn't serialize maps by default.
-
-
-
Windows: Shift + Delete
On Linux, it's this:
Linux: Shift + Delete
Thanks for listing us, too. It's like we don't even exist.
-
-
github.com github.com
-
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
-
This isn’t to say that multiplying code is good or bad – it’s a characteristic of all code regardless of quality.
-
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.
Tags
- time wasters
- when you're not looking
- good analogy
- prolific
- not necessarily good or bad
- avoid extra/needless work
- characteristic/property/attribute/feature
- bunny theory of code
- applicable
- inevitable
- better/superior solution/way to do something
- duplication
- ubiquity
- inherent
- funny
- analogy
- duplication of work/effort
- inherent to all
- most efficient way
Annotators
URL
-
-
-
just saying that if you're going to try to go with a markup approach, at least go all the way, instead of the frankenstein that is JSX
-
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.
-
Of all the compile-to-languages, the one that strikes me as having the least merit is JSX. It's basically a ton of added complexity for the sake of what boils down to syntax. There are no real gains in terms of language semantics in JSX.
-
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).
-
Without elegant ways of expressing loops/iterators (like angular does with directives), the primary way to keep JSX readable thus becomes copying and pasting.
I'm not quite sure I understand this (so until I do, I'm not sure I agree)...
Why does he think copying and pasting is the only way to make it readable? Like he pointed out, you can extract JSX snippets and use loops within JSX. But maybe he means (his previous point), that people often don't do that. Hmm. 
-
The react community has become a big cargo cult. There are some good ideas in the community and many Bad Ideas™. Paving the bad idea cowpaths lends a sense of legitimacy to these bad technical ideas that is not merited.
-
I agree that "it feels gross" is a bad reason. "not paving a bad cowpath" is a much better reason.
-
hyperscript is much simpler to refactor and DRY up your code than with JSX, because, being vanilla javascript, its easier to work with variable assignment, loops and conditionals.
-
The only "issue" it has is that its unfamiliar. People have been working with HTML for years and are comfortable with it. That's basically the only reason that people find it more readable. If you make an effort to spend sometime with hyperscript, it becomes as familiar and readable as jsx.
Tags
- cargo cult
- not enough advantages/merits/pros to make it worthwhile
- not a real/actual problem
- comfortable because familiar
- is it worth the effort?
- do pros outweigh/cover cons?
- have a good reason
- not merited
- template language: bad: by not reusing existing language constructs; forced to reinvent equivalents which are inferior and unfamiliar
- I have a differing opinion
- not necessarily the case
- not
- can't do everything
- extensibility
- elegant
- plugins
- can't support everything / all cases
- excellent writing
- special cases
- subjective
- adding special cases only for certain popular things but not others
- expressiveness
- readability
- legitimize
- bad engineering
- advantages/merits/pros
- paving cow paths
- familiar syntax
- readability: depends on familiarity
- getting stuck in a rut
- it's just _
- commit fully / go all in
- hard to make it work in _all_ cases
- not good enough reason/rationale/explanation
- unfamiliar
- making it easy for later refactoring
- JSX
- not:
- javascript
- bad combination/mixture/hybrid/frankenstein
- comparison with:
- can in theory but not commonly done in practice
- investing time to really understand something
- favoring/catering to the needs of … over …
- minimal benefits
- template language vs. reusing existing language constructs
- reuse existing language constructs
- extracting small reusable snippets of code
- hyperscript
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
-
However, in function components there really isn't much need for this pattern since you can just use JS default arguments
-
-
leiss.ca leiss.ca
-
Good risk management is inherently simple; adding too many complexities increases the likelihood of overlooking the obvious.
-
-
github.com github.com
-
Node doesn't have a DOM available. So in order to render HTML we use string concatenation instead. This has the fun benefit of being quite efficient, which in turn means it's great for server rendering!
-
-
facebook.github.io facebook.github.io
-
Why not just use that instead of inventing a syntax that's not part of ECMAScript?
-
Why not Template Literals?
-
-
medium.com medium.com
-
This is a very dangerous practice as each optimization means making assumptions. If you are compressing an image you make an assumption that some payload can be cut out without seriously affecting the quality, if you are adding a cache to your backend you assume that the API will return same results. A correct assumption allows you to spare resources. A false assumption introduces a bug in your app. That’s why optimizations should be done consciously.
-
Moreover, React team even removed the “highlight updates” feature from dev tools because people used to obsessively haunt wasted renders with no reasoning behind it
-
In the vast majority of cases there’s nothing wrong about wasted renders. They take so little resources that it is simply undetectable for a human eye. In fact, comparing each component’s props to its previous props shallowly (I’m not even talking about deeply) can be more resource extensive then simply re-rendering the entire subtree.
Tags
- risky/dangerous assumptions
- time wasters
- false assumptions
- fast (software performance)
- premature optimization
- risk
- not good enough reason/rationale/explanation
- rationality
- good/preferred/recommended behavior
- bugs: less attack surface/possibility for bugs
- assumptions
- the optimization costs more than not having the optimization
- not adding feature because of the risk it may be abused / shoot self in foot
Annotators
URL
-
-
github.com github.com
-
"The Map is not the territory" —Alfred Korzybski
-
-
en.wikipedia.org en.wikipedia.org
-
-
Alfred Korzybski remarked that "the map is not the territory" and that "the word is not the thing", encapsulating his view that an abstraction derived from something, or a reaction to it, is not the thing itself.
-
"The menu is not the meal."
-
A map is not the territory it represents, but, if correct, it has a similar structure to the territory, which accounts for its usefulness.
-
-
tech.ebayinc.com tech.ebayinc.com
-
Every new variation to the view requires updating both the view model and the template. This holds true even for simple variations.
-
-
dylanvann.com dylanvann.com
-
Our custom useEffect is not idiomatic Svelte.
-
Beautiful, except that switching albums does not update the PhotoGrid. This is not the automatic reactivity we were promised by Svelte.
-
-
github.com github.com
-
I'm not sure I understand the problem, everything you are describing is already possible.
-
-
dylanvann.com dylanvann.com
-
Disclaimer: I’m new to Svelte so this isn’t so much a recommendation as it is a “I guess this is a way to do it 🤷♂️”
-
-
github.com github.com
-
Why struggle with custom Syntax DSLs when you can use one so widely supported?
-
JSX is an XML-like syntax extension to EcmaScript (https://facebook.github.io/jsx/). It is not a language or runtime.
-
-
-
Unfortunately people lack the the time to invest to really understand those things
-
People constantly suggest that I should have just worked with a different library instead of writing another one.
-
If you are interested in a library that has the discipline of React, transparent implementation that doesn't cut corners for easiness, and all the performance to back it up maybe SolidJS is the library for you.
-
Very few were interested in furthering the platform in the places they just took for granted.
-
-
stackoverflow.com stackoverflow.com
-
Always fascinated to discover a use case I'd never have considered.
-
-
online.mines.edu online.mines.edu
-
Class participation vs. attending class.The quantity andquality of online class participation replaces on-siteattendance
The flexibility is nice!
-
-
-
But maybe this PR should still be merged until he finds time for that?
Tags
- waiting for maintainers to review / merge pull request / give feedback
- open-source software: progress seems slow
- don't let big plans/goals get in the way of integrating/releasing smaller changes/improvements
- big change/rewrite vs. continuous improvements / smaller refactorings
- not a blocker (issue dependency)
- pull request stalled
- iterative process
Annotators
URL
-
-
github.com github.com
-
I created a pull request to have the if (node.parentNode) conditional added to detach. It was not applied due to the desire to find the root cause of the <meta> tag manifestation of this issue.
-
- Sep 2020
-
github.com github.com
-
I don't think we need more tooling here.
-
-
devblogs.microsoft.com devblogs.microsoft.com
-
Unfortunately, this only worked because of a feature called import elision. When TypeScript outputs JavaScript files, it sees that Options is only used as a type, and it automatically drops its import. The resulting output looks kind of like this:
-
-
final-form.org final-form.org
-
The onBlur function can take a SyntheticFocusEvent like it would if you had given it directly to an <input/> component, but you can also just call it: props.input.onBlur() to mark the field as blurred (inactive).
-
-
github.com github.com
-
To be clear, I have a reasonable workaround. I'd only like it to be less difficult to discover. At a minimum, this issue should help others find it...
-
-
final-form.org final-form.org
-
You probably want initialValue! ⚠️ The value of the field upon creation. This value is only needed if you want your field be dirty upon creation (i.e. for its value to be different from its initial value).
-
-
www.javascriptjanuary.com www.javascriptjanuary.com
-
The problem I have with this approach to state and prop variables is that the difference between them is very blurry. In React you can clearly see that a prop is an input to component (because of clear function notation), and that state is something internal. In Svelte they are both just variables, with the exception that props use export keyword.
This is something I've seen before: people noticing that Svelte is missing some kind of naming convention.
React has use___ convention, for example. Without that, it makes it hard to see the difference between and know just from the name that a function is an (mentioned in the other article I read) action and not a event handler or even component, for example.
-
-
svelte.dev svelte.dev
-
Because Svelte is a compiler, we're not bound to the peculiarities of JavaScript: we can design a component authoring experience, rather than having to fit it around the semantics of the language.
-
-
discuss.rubyonrails.org discuss.rubyonrails.org
-
Insisting on a specific implementation, rather than proposing a clear problem, suggesting a possible solution, and “not being married” to your initial preferred solution.
-
-
medium.com medium.com
-
In my opinion, because Webpack was one of the first bundlers, is heavily packed with features, and has to support swathes of legacy code and legacy module systems, it can make configuring Webpack cumbersome and challenging to use. Over the years, I’ve written package managers, compilers, and bundlers, and I still find configuring Webpack to be messy and unintuitive.
-
-
engineering.mixmax.com engineering.mixmax.com
-
But this is only a halfway decent way to clarify that this is an external dependency, because the only way to resolve a peer dependency warning is to install react from npm—there's no way to notify npm that you resolve the dependency to a browser global. So peer dependencies should be avoided in favor of external declarations. Then Rollup will take care of warning about "unresolved dependencies", even if external declarations can't express a particular version range with which your library is compatible like peer dependencies can.
Interesting. Didn't realize. From my perspective, I usually do install packages via npm, so wouldn't have known about this problem.
npm and rollup both try to solve this problem but in different ways that apparently conflict? So if a lib author lists peerDependencies then it can cause problems for those getting lib via browser (CDN)? How come so many libs use it then? How come I've never heard of this problem before?
-
You can see that Rollup mapped browser globals called "React" and "ReactDOM" to variables called "React" and "ReactDOM". The latter are what you imported by writing import React and import ReactDOM. (The variable names don't have to be the same as the browser globals, but it's common.)
-
-
www.changelogs.md www.changelogs.md
-
Move svelte into dependencies, as it was accidentally stuck in peerDependencies
"accidentally stuck in": well, not really accidentally; it's in the change log so I assume it was intentional
-
-
codingwithspike.wordpress.com codingwithspike.wordpress.com
-
To make this “if you install me, you better also install X, Y, and Z!” problem easier, peerDependencies was introduced.
-
-
medium.com medium.com
-
Everyone has an idea about how to make it easier to find needles in the haystack, but no-one bothers to ask what all this hay is doing here in the first place.
-
-
github.com github.com
-
Can you re-open this until we fix it?
-
-
stackoverflow.com stackoverflow.com
-
(Note that you're responsible for handling any race conditions that arise as a result of the component being destroyed before the promise resolves, though assigning state inside a destroyed component is harmless.)
-
-
-
We don't want to rely on there being a single root element - or prevent ourselves from ever implementing named slots without a single root node - and so there's not anything to apply the class to or the transition to.
-
-
-
Also Svelte is so great because developer do not need to worry about class names conflict, except of passing (global) classes to component (sic!).
-
Just throwing in <div class="{$$props.class || ''} otherChildClass"></div> seems the easiest, and it'll avoid undefined classes. I feel like many aren't noticing the undefined values getting inserted in their classes.
-
TBH It is a bit disheartening to see this issue closed when all proposed solutions do not sufficiently solve the issue at hand, I really like svelte but if this is how feature requests are handled I am probably not going to use it in the future.
Tags
- easy mistake to make
- framework taking care of responsibility so users can leverage it and not have to worry about that responsibility themselves
- frustrating when maintainers stubbornly stick to opinions/principles/decisions and won't change despite popular user support
- common mistake
- user can always abandon/quit/leave your site/app
- features
- consistency
- feature request
- missed opportunity
- caveat
- easy to miss / not notice (attention)
- not adding features that users really want/often request
- unfortunate
Annotators
URL
-
-
github.com github.com
-
The main rationale for this PR is that, in my hones opinion, Svelte needs a way to support style overrides in an intuitive and close to plain HTML/CSS way. What I regard as intuitive is: Looking at how customizing of styles is being done when applying a typical CSS component framework, and making that possible with Svelte.
-
-
github.com github.com
-
Lets not extend the framework with yet another syntax
-
and one which you don’t need to use and won’t add any code to your app if you choose not to use
-
-
github.com github.com
-
And of course, if you don't use them you don't pay for them
-
Why not just do something like this?
-
I'm still confused about the need for this, so at the expense of continuing to be that obnoxious kid at the playground, I'm going to stick my neck out again.
-
Devil's advocate: I'm not convinced the functionalities you list can't already be done within the JS of the component. Example: autofocus can simply be done w/ a method or oncreate.
-
Actions aren't necessary, otherwise they would have been implemented from the start. But they do allow for easier code-reuse and better shared libraries without exploding/complicating the ecosystem.
-
I'm just pushing on the "is this really a good idea" front
-
You must: reference each element you are extending using refs or an id add code in your oncreate and ondestroy for each element you are extending, which could become quite a lot if you have a lot of elements needing extension (anchors, form inputs, etc.)
-
This is where hooks/behaviors are a good idea. They clean up your component code a lot. Also, it helps a ton since you don't get create/destroy events for elements that are inside {{#if}} and {{#each}}. That could become very burdensome to try and add/remove functionality with elements as they are added/removed within a component.
-
This can and should be done with other components, IMHO.
-
I'm a lot softer on this feature now - I'm starting to believe that every single use case that you would use a hook for, you could/should use a component for.
Tags
- feature not needed; better to use a different approach/feature instead
- just use/do...
- difficult/hard
- reusability
- Svelte
- framework taking care of responsibility so users can leverage it and not have to worry about that responsibility themselves
- why this feature is needed
- too hard/difficult/much work to expect end-developers to write from scratch (need library to do it for them)
- not strictly necessary but helpful / nice to have
- could be easier / more difficult than it needs to be
- no cost if feature not used (only included in bundle if used)
- from different perspective/point of view
- scalability
- design goals
- you aren't going to need it
- svelte
Annotators
URL
-
-
-
But some sort of official way to do that in the language would make this nicer - and would mean I would have to worry less about destroying components when their parent is destroyed, which I'm certainly not being vigilant about in my code.
-
-
github.com github.com
-
I think we could even broadly caveat that by saying “do whatever element you want” but don't expect Svelte to care about following any HTML spec, etc.
-
Maybe good for some cases but not a general solution for this I think.
-
-
etc.usf.edu etc.usf.edu
-
yet when I thought of my beloved Elizabeth, of her tears and endless sorrow, when she should find her lover so barbarously snatched from her, tears, the first I had shed for many months, streamed from my eyes,
It's interesting to me that Victor only cries when thinking of how upset Elizabeth is going to be when he's the one who's going to die. He fits the whole "man be rational and women emotional" cultural phenomenon of the time to a tee. He's stone faced going into losing battle, but Elizabeth will be just soooooooooo sad and sooooooooo sorrowful. While I'm on the topic, the characterization of Elizabeth TOTALLY fits in while the "passive wife who's in charge of the emotional side of family," to a point where Mary Shelley is a satirist. Also the use of barbarous to describe the Creature is just textbook Othering in the way that demotes the Creature to a irrational and animalistic creature.
-
-
github.com github.com
-
The feature is highly likely to be implemented, the API and implementation are the only real topics of discussion right now.
-
-
-
Your solution is a very basic. The case above is more complex because using your solution you can't manipulate with fetched data outside of template and even outside {#await / } tag. So, if you need a read-only solution it's good but otherwise, it won't help you.
-
-
github.com github.com
-
Why make another UI component kit when we already got Smelte and SMUI? What's so special about Svelta?
-
-
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
-
Please focus on explaining the motivation so that if this RFC is not accepted, the motivation could be used to develop alternative solutions. In other words, enumerate the constraints you are trying to solve without coupling them too closely to the solution you have in mind.
Tags
- answer the "why?"
- iterative process: building on previous attempts/work
- okay for proposal to not be accepted
- contribution guidelines: should explain motivation for change
- defining the problem clearly is as valuable coming up with specific implementation/solution
- iterative process
Annotators
URL
-
-
-
I wonder at what point Svelte would add this feature if, for example, a majority of their users ended up migrating to a fork that added this missing feature (like this one)?
Would they then concede and give in to popular demand in order to avoid a schism of the community?
Kind of like Rails swallowed / consolidated with Merb after they saw how great its ideas were?
-
-
github.com github.com
-
-
I understand what you're getting at, but we shouldn't miss out on useful features just because a few developers will abuse it...
-
-
github.com github.com
-
The code is short and simple, if you have specific needs you will probably be better off writing something custom for your application.
-
-
pitt.edu pitt.edu
-
Abby's favorite subject in high school
Math
-
-
readit.plus readit.plus
-
They write their own function because it’s easier and more fun than figuring out how the old function works.
-
- Aug 2020
-
english.stackexchange.com english.stackexchange.com
-
As a web designer, I hate that "log in" creates a visual space between the words. If you line up "Log In Register" - is that three links or two? This creates a Gestalt problem, meaning you have to really fiddle with spacing to get the word groupings right, without using pipe characters.
Sure, you can try to solve that problem by using a one-word alternative for any multi-word phrase, but that's not always possible: there isn't always a single word that can be used for every possible phrase you may have.
Adjusting the letter-spacing and margin between items in your list isn't that hard and would be better in the long run since it gives you a scalable, general solution.
"Log in" is the only correct way to spell the verb, and the only way to be consistent with 1000s of other phrasal verbs that are spelled with a space in them.
We don't need nor want an exception to the general rule just for "login" just because so many people have made that mistake.
-
-
github.com github.com
-
The problem is that opting out of mime type negotiation simply because there is a catch-all in there is wrong according to the specifications of HTTP.
-
-
-
Or, to echo @jeremy in #24417 (comment 215479841): Yay for hotkeys, but I had no idea until ... Let's make this useful feature more discoverable!
-
"2 years ago": Note that you can already automatically quote part of a previous comment by selecting it and pressing the r key. Me: Wait, what, you mean this feature — which I have often wished for, and people keep asking for (#217171, opened 2 months ago) — has already existed in GitLab for over 2 years and I just didn't realize it?! In fact, I was just coming to suggest this feature when I found these existing open issues. :)
-
Yes I agree. No one brother to find this feature except system admin and no one know a R shortcut.
-
-
gitlab.com gitlab.com
-
I just learned (from #24417 and #21316) that this feature actually exists already — it's just only available via a hot key (select some text and press r to quote some text for reply) so it's not easily discoverable.
-
-
gitlab.com gitlab.com
-
On a side note, I just learned that you can do this now by highlighting text in an issue and pressing r. Yay for hotkeys, but I had no idea until I read about it in https://gitlab.com/gitlab-org/gitlab-ce/issues/43716
-
-
unix.meta.stackexchange.com unix.meta.stackexchange.com
-
There is an observable widespread tendency to give an awk answer to almost everything, but that should not be inferred as a rule to be followed, and if there's (say) a Python answer that involves less programming then surely that is quite on point as an answer for a readership of users.
-
-
en.wikipedia.org en.wikipedia.org
-
Sun Microsystems chose not to use the ideas of JGL, because they wanted a compact framework, and consistency with C++ was not one of their goals
-
- Jul 2020
-
www.theregister.com www.theregister.com
-
"Other office suites are focusing on the 'power user' which is a valuable market, for sure, but the real power and range for an open-source office suite alternative is the vast majority which is the 'rest of us. Sometimes we all forget how empowering open source is to the entire world."
-
-
docs.gitlab.com docs.gitlab.com
-
Roll over month to month.
-
-
-
The carefully crafted Medium story can give the appearance that- at the nadir of your professional life- you are above it all, you are concerned about others, and you are a soulful human being moving on to an even more lucrative future.
-
-
addons.mozilla.org addons.mozilla.org
-
easy access/edit/backup and then restore saved data using the integrated Bookmark Manager (even on smartphone / tablet) even if the addon is not installed
-
Why save sessions as bookmarks? - all the data saved will be there no matter what addon you may use in the feature
-
-
api.rubyonrails.org api.rubyonrails.org
-
Why did Rails team decide they need to implement their own "version" of Timecop?
On the one hand, that's great to reduce dependencies, but on the other hand, small dependencies are great (and rails already has lots of them), it just bloats ActiveSupport more, and creates a needless "duplication" of an already popular de facto standard for this problem -- one which (unlike Timecop) can't be easily used outside of the Rails/ActiveSupport ecosystem. It doesn't seem different enough to warrant creating it...
Timecop: Works with Rails and non-Rails
ActiveSupport::Testing::TimeHelpers: for use outside rails, requires dependency on bigger gem, AS.
-
-
frontdeveloper.pl frontdeveloper.pl
-
en.wikipedia.org en.wikipedia.org
-
kentcdodds.com kentcdodds.com
-
Performance optimizations are not free. They ALWAYS come with a cost but do NOT always come with a benefit to offset that cost.
-
-
dmitripavlutin.com dmitripavlutin.com
-
Even having useCallback() returning the same function instance, it doesn’t bring any benefits because the optimization costs more than not having the optimization.
-
-
stackoverflow.com stackoverflow.com
-
Creating and calling a default proc is a waste of time, and Cramming everything into one line using tortured constructs doesn't make the code more efficient--it just makes the code harder to understand.
The nature of this "answer" is a comment in response to another answer. But because of the limitations SO puts on comments (very short length, no multi-line code snippets), comment feature could not actually be used, so this user resorted to "abusing" answer feature to post their comment instead.
See
-
-
www.youtube.com www.youtube.com
-
Refrigerator Evaporator Fan Motor - How it Works & Installation TipsTroubleshooting a No Cool Refrigerator - Part 1
-
- Jun 2020
-
www.humblebundle.com www.humblebundle.com
-
medium.com medium.com
-
According to our understanding of the inconsistencies, the feature was likely trying to support too many edge cases. All caching strategies have weaknesses and eventually break down if the usage is not properly scoped.
-
-
-
A most wide-spread interpretation of "peace, not light."
-
-
forum.xda-developers.com forum.xda-developers.com
-
It's really not enough space. I have two 16 Gbyte phones, and I'm constantly deleting and restoring apps to make space, or getting the "not enough space to update" message. My other tablet with 32 Gbytes is fine.
-
-
edgeguides.rubyonrails.org edgeguides.rubyonrails.org
-
Please don't put "feature request" items into GitHub Issues. If there's a new feature that you want to see added to Ruby on Rails, you'll need to write the code yourself - or convince someone else to partner with you to write the code. Later in this guide, you'll find detailed instructions for proposing a patch to Ruby on Rails. If you enter a wish list item in GitHub Issues with no code, you can expect it to be marked "invalid" as soon as it's reviewed.
-
-
www.quora.com www.quora.com
-
No, the term has nothing to do with racism, in current significance or historically. I am assuming the reference in the question is to racism based on skin color.
-
Though metaphorical uses of the word “black” - and “dark” - can become racist, they usually don’t, and they are not usually racist per se.
Tags
Annotators
URL
-
-
desktop.github.com desktop.github.com
-
Download for macOS or Windows
Tags
Annotators
URL
-
- May 2020
-
nypost.com nypost.com
-
The administration and its allies fear that the more people gravitate toward the successful, free-market self-insurance approach, the worse their government-engineered health “reform” will look. We’re already seeing the beginning of this trend.
-
-
github.com github.com
-
However, distributing such Ruby apps to inexperienced end users or non-Ruby-programmer end users is problematic. If users have to install Ruby first, or if they have to use RubyGems, they can easily run into problems. Even if they already have Ruby installed, they can still run into problems, e.g. by having the wrong Ruby version installed. The point is, it's a very real problem that could harm your reputation.
-
-
www.typescriptlang.org www.typescriptlang.org
-
you honestly don’t have the time to decide which of these options is better.
-
-
ltcwrk.com ltcwrk.com
-
The Map is Not the Terrain
As George Box said, "All models are false, some are useful." Understanding the importance and value of mental models is vital, but it must be balanced with an understanding that they are, at best, an approximate representation of reality, not reality itself - the map is not the terrain
-
-
about.gitlab.com about.gitlab.com
-
Technical and general support for those using our free options is “Community First”. Like many other free SaaS products, users are first directed to find support in community sources such as the following:
-
-
-
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.
-
-
about.gitlab.com about.gitlab.com
-
Account Support If you haven't received your confirmation email, you can request to resend your confirmation instructions via our confirmation page.
This Account Support section only includes one possible problem related to account support
If you haven't received your confirmation email, you can request to resend your confirmation instructions via our confirmation page.
What about if you have any other issue with your account? How would you get support then? This would be a good opportunity/place to describe what to do in that case.
Presumably the answer is to submit support requests at <del>https://gitlab.com/gitlab-com/support-forum</del> (to be shut down) or in the community forums.
-
-
gitlab.com gitlab.com
-
Just to make this clear, I'm on the side that adding strict rules doesn't necessarily improve a situation. Especially with something that is subjective like a commit message.
-
-
app.termly.io app.termly.ioTermly1
-
Disclaimer: Termly LLC is not a lawyer or a law firm and does not engage in the practice of law or provide legal advice or legal representation. All information, software, services, and comments provided on the site are for informational and self-help purposes only and are not intended to be a substitute for professional legal advice.
-
-
weather.com weather.com
-
These options have almost deceptively similar wordings, with only subtle difference that is too hard to spot at a glance (takes detailed comparison, which is fatiguing for a user):
- can use your browser’s information for providing advertising services for this website and for their own purposes.
- cannot use your browser’s information for purposes other than providing advertising services for this website.
If you rewrite them to use consistent, easy-to-compare wording, then you can see the difference a little easier:
- can use your browser’s information for providing advertising services for this website and for their own purposes.
- can use your browser’s information for providing advertising services for this website <del>and for their own purposes</del>.
Standard Advertising Settings
This means our ad partners can use your browser’s information for providing advertising services for this website and for their own purposes.
Do Not Share My Information other than for ads on this website
This means that our ad partners cannot use your browser’s information for purposes other than providing advertising services for this website.
-
-
support.iubenda.com support.iubenda.com
-
By bundling AddThis with other Experience enhancement cookies, it makes it impossible to opt in to other Experience enhancement cookies without also opting in to these (what could also be categorized as) Targeting/Advertising cookies (id 5).
-
-
jamstack.org jamstack.org
-
When is your site not built with the Jamstack? Any project that relies on a tight coupling between client and server is not built with the Jamstack.
-
-
stackoverflow.com stackoverflow.com
-
Sure, anti-spam measures such as a CAPTCHA would certainly fall under "legitimate interests". But would targeting cookies? The gotcha with reCAPTCHA is that this legitimate-interest, quite-necessary-in-today's-world feature is inextricably bundled with unwanted and unrelated Google targeting (cookiepedia.co.uk/cookies/NID) cookies (_ga, _gid for v2; NID for v3).
-
-
gist.github.com gist.github.com
-
iandunn.name iandunn.name
-
Unfortunately, the WordPress.org plugin repository doesn’t provide a way to maintain your plugin with Git.
-
-
teleogistic.net teleogistic.net
-
Some months ago, I wrote about using Git and Github with the wordpress.org plugin repository.
-
-
en.wikipedia.org en.wikipedia.org
-
In natural languages, some apparent tautologies may have non-tautological meanings in practice. In English, "it is what it is" is used to mean 'there is no way of changing it'.[1] In Tamil, vantaalum varuvaan literally means 'if he comes, he will come', but really means 'he just may come'.[2]
-
-
www.iubenda.com www.iubenda.com
-
there’s no need to send consent request emails — provided that this basis of processing was stated in your privacy policy and that users had easy access to the notice prior to you processing their data. If this information was not available to users at the time, but one of these legal bases can currently legitimately apply to your situation, then your best bet would be to ensure that your current privacy notice meets requirements, so that you can continue to process your user data in a legally compliant way.
-
Here’s why sending GDPR consent emails is tricky and should be handled very carefully.
-
-
wayks.com wayks.com
-
You have the right to withdraw from this contract within 14 days without giving any reason.
-
-
en.wikipedia.org en.wikipedia.org
-
a person can withdraw from research at any point of time and it is no binding of participant to reveal the reason of discontinuation
-
-
-
Where a processing activity is necessary for the performance of a contract.
Would a terms of service agreement be considered a contract in this case? So can you just make your terms of service basically include consent or implied consent?
-
“Is consent really the most appropriate legal basis for this processing activity?” It should be taken into account that consent may not be the best choice in the following situations:
-
-
www.iubenda.com www.iubenda.com
-
It’s useful to remember that under GDPR regulations consent is not the ONLY reason that an organization can process user data; it is only one of the “Lawful Bases”, therefore companies can apply other lawful (within the scope of GDPR) bases for data processing activity. However, there will always be data processing activities where consent is the only or best option.
-