- Nov 2024
-
www.youtube.com www.youtube.com
-
we have all of these huge applications that are gathering all this data uh and it's out there and theoretically is our data sort of but in reality they control it and you can't actually link the data to each other you only link to accessing the data through their application
for - quote - silos - internet limitations - location addressed server architecture limitations - silos - cannot link data from each silo - Juan Benet - IPFS
-
if I send you a Google doc and we start all collaborating in the same same thing and it's amazing we're sharing all this data um it's kind of silly that we have to move the updates through the backb to some server out there and shipping them back here when we now have really sophisticated algorithms that can do um you know smart Conflict Free resolution that allows us to collaborate in real time and yet we're still moving all the updates to the backbone right this is very silly and it gets worse when you think about the network falling apart
for - internet limitations - example - need for offline or local networking - Google docs used by a local group - unnecessary to communicate to the backbone
-
let's go and and create all this great software to deploy it and kind of equalize the the the disparity of wealth across the world and ends up being locked out for by stupid issues like latency and bandwidth
for - internet limitations - server-based location addressing - limits software's capacity to uplift people and address inequality - bandwidth and latency issues affect those who need it most at the edge
-
something like Gangam Style has been viewed to the tune of like almost or over two billion times and when you just when you count just the data coming out of Google servers let alone all the links we're dealing with something close to 500 pedabytes of data that's a lot for a video right I mean this is clearly an issue there's no reason we should be moving around all of this data constantly through the network
for - internet limitations - inefficient bandwidth use - example - music video - Gangam Style
Tags
- internet limitations - example - need for offline or local networking - Google docs used by a local group - unnecessary to communicate to the backbone
- internet limitations - inefficient bandwidth use - example - music video - Gangam Style
- internet limitations - server-based location addressing - limits software's capacity to uplift people and address inequality - bandwidth and latency issues affect those who need it most at the edge
- quote - silos - internet limitations - location addressed server architecture limitations - silos - cannot link data from each silo - Juan Benet - IPFS
Annotators
URL
-
-
willruddick.substack.com willruddick.substack.com
-
The notion of pure altruism attempts to create a dichotomy between the self and others, implying that true selflessness is possible. Yet, in reality, individuals exist within a web of relationships and mutual dependencies.
for - adjacency - pure altruism - selflessness - self / other dualism - individual / collective gestalt - Deep Humanity - biological limitations - evolutionary limitations
adjacency - between - pure altruism - selflessness - self / other dualism - individual / collective gestalt - Deep Humanity - biological limitations - evolutionary limitations - adjacency relationship - From an evolutionary and biological perspective, - the individual organism is district from other organisms and the environment - The individual is defined by a separating boundary and it must exchange energy and materials with it's environment as a necessary condition of survival. It must - receive and input nutrients inputs and - transmit, output and eliminate waste byproducts - The word 'selfless' is a polar abstraction. No individual can be 100% selfless or it would be an act of self-annihilation, a self-destructive act of denying 100% of all inputs necessary for its own survival - Existing as a living, individual organism requires some degree of individual self care - At the same time, the process of sexual reproduction, - in contrast to asexual reproduction - involves two organisms with sperm and egg, and is inherently social - In multi cellular organisms with highly complex social behaviours - such as our species - there is a strong learned component of concern for other as well - Pure selflessness is as rare as pure selfishness - Most of us have degrees of self care and degrees of care for others - Self and other are intertwingled, hence the Deep Humanity terms: - individual / collective gestalt - self / other gestalt
-
-
www.gezondleven.be www.gezondleven.be
-
Een chunk (letterlijk ‘brok’) is een verzameling elementen die sterke associaties met elkaar hebben. Samen vormen ze een betekenisvolle informatie-eenheid. Die chunks, groot of klein, gebruiken we in ons interne informatieverwerkings- en geheugensysteem. Ons brein houdt namelijk van logica en voorspelbare patronen. Het opdelen van informatie gebeurt automatisch en continu, maar kan ook bewust worden ingezet. Dat heet doel-georiënteerde chunking.Ons brein kan slechts een aantal zaken opslaan in het kortetermijngeheugen. Maar door veel gegevens te groeperen in kleinere brokjes informatie, kunnen we de limieten van ons geheugen uitdagen. En dus meer informatie verwerken en onthouden.
Chapeau! Een Belgische website kaart dit aan in de context gezond leven.
-
- Sep 2024
-
dl.acm.org dl.acm.org
-
Positionality
in this section, the authors explain how they are academically positioned and make clear that their work is informed by their own backgrounds, assumptions, etc; they offer up their limitations for this research, including that the scope is limited to computing and digital tools; as well as drawing for a US-centric perspective.
Tags
Annotators
URL
-
-
-
The snag is that when the top-level match grabs the published_at value and applies it to the be_within(...), it is working with a string representation of the timestamp. We first need to parse that into a date object and there is no affordance for that here.
-
- Jul 2024
-
journals.sagepub.com journals.sagepub.com
-
There have been many attempts over the years to address the limitations of an overly ‘linear’ approach to ToC diagramming
for - ToC diagrams - limitations - too linear - attempts to address
-
- Jun 2024
-
github.com github.com
-
On Windows, that interface doesn't really exist (and is really difficult to emulate properly)
Tags
Annotators
URL
-
- Apr 2024
-
www.researchgate.net www.researchgate.net
-
As Ramadiro worked his way through this period, he reached severaloverarching conclusions about the available materials. He concluded that muchof the available materials had been written in English, and back-translated toisiXhosa, and as such were not based on the linguistic logic of isiXhosa. They didnot take advantage of the home (oral) language resources of children in isiXhosaas the basis to build reading and writing skills. Second, taken together they didnot constitute a balanced reading programme guided by contemporary readingresearch (Pressley, 2006). There was no set of materials that combined a wholereading approach with systematic language skills (phonics, grammar etc.) inBefore... After...
Much of the available resources have been written in English and then back-translated, which is a problem; I need to find a way to ensure that's not a problem when doing my master's. I will need linguistic experts in each language. Where do I find these unicorns?
Tags
Annotators
URL
-
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
-
Certainly, multimedia technology brings about improvement in teaching and learning, however, there are a number of limitations in this technology for educational purposes. Some of these limitations include unfriendly programming or user interface, limited resources, lack of required knowledge and skill, limited time and high cost of maintenance among others (Al-Ajmi and Aljazzaf, 2020; Putra, 2018).
Limitations of multimedia learning.
Tags
Annotators
URL
-
- Mar 2024
-
-
Abstract
结论:预测结果,好于MOST(MO估计系统地低估了湍流通量的大小,改善了与观测值和减小与观测通量偏离的总幅度。),不同地点的泛化能力 不足:不含物质通量,预测结果待提升,结果因稳定性而异常,不同季节的泛化能力,运用了不易获得的变量(找到最小观测集)
Tags
Annotators
-
-
-
Multiline scripts (we mostly target one-liners)
-
-
- Feb 2024
-
github.com github.com
-
“…” would be cool, but (unless I’ve missed something in Ruby 3.2+), it can only delegate all args, and foo(1, …) is impossible.
-
- Jan 2024
-
-
whitehead says that philosophy is an attempt to express the infinity of the universe in terms of the limitations of language
for - Whitehead's philosophy - Whitehead - limitations of language - Indra's Net - Whitehead - process relational ontology
-
Whitehead says that
- philosophy is an attempt to express the infinity of the universe
- in terms of the LIMITATIONS OF LANGUAGE
- philosophy is an attempt to express the infinity of the universe
-
And i think this image of the spiderweb with the dewdrops each reflecting the others is the perfect analogy for whitehead's ontology
- You may have heard of indra's net from madhyamaka buddhism
- the idea of dependent co-origination of all things
- that nothing has independent abiding existence
- but is rather caught up in a network of
- relations or
- causes and conditions
- but is rather caught up in a network of
- and so you can't remove any of the nodes in the network without destroying the node and totally changing the rest of the network that it was embedded within
- that nothing has independent abiding existence
- the idea of dependent co-origination of all things
- This is the key to what a process RELATIONAL ONTOLOGY is trying to reveal to us about the nature of reality
- Dependent co-origination or you could say
- the inter-penetration of all things
- though in Whitehead's cosmology there really are no
things
- if by thing you mean an inert isolated entity
- Whiteheads ontology is really composed of events or processes
- You could say and these processes for whitehead are
- drops of experience
- So for whitehead, there's no node in the network of reality that is not there for itself
- It is not enjoying some degree of experience or subjectivity or has some degree or capacity for feeling
-
-
-
gitlab.com gitlab.com
-
A user notices that an unchanged part of the diff already has features that are being implemented in the changes in the MR. The user leaves a comment on the unchanged part of the diff, telling the author that what they're trying to do is already present. Problem: The author cannot see that comment in the Changes tab, because the comment is outside the understood scope of the diff.
-
-
-
It can sort of be achieved with the current setup (via labels), but I really like where this is going -- turning everything into a similar "object" in a hierarchy rather than separate standalone structures that connect and get "labeled" to show what they are.
-
- Dec 2023
-
gitlab.com gitlab.com
-
Enable ActiveRecord unsigned integers to use 8 bytes instead of 4. This fixes the ActiveModel::RangeError problem where AR models with perfectly fine 8 bytes primary keys are taken for ActiveModel::Type::Integer with a default limit of 4 bytes.
-
- Sep 2023
-
stackoverflow.com stackoverflow.com
-
Annoyingly, git fetch --depth=<N> won't pick up new tags
-
- Aug 2023
-
hirok.io hirok.io
-
While this works, it’s not a great developer experience. In development, we don’t always know ahead of time all the packages that need to be linked. Or keep track of the previously linked packages.This confusing behavior compounds to the poor usability and predictability of npm link.
Tags
Annotators
URL
-
- Mar 2023
-
stackoverflow.com stackoverflow.com
-
I know that Devise offers these capabilities, but it's hard to make out how to do it without hitting their preconfigured (view?) routes.
-
-
library.oapen.org library.oapen.org
-
At the same time, the vision of a good life for all integrates our in-dividual pursuit of this goal with an immediate concern for others.In other words, we can enjoy and exercise freedoms only to the extentthat doing so does not impinge on others. Achieving this vision under-lines both the crucial role of freedom but also the necessity of limitsfor this freedom to exist. Thereby, pursuing the vision of a good lifefor all has the potential of bridging current political divides, as it is avision that all people can adhere to.
// - Baked into the Good Life for All within Limits approach is human INTERbeing - It is something that is familiar to us - we already know and live under such limitations. This is what laws are, limitations of freedom and nobody is above the law, and the law is written to enforce social harmony, - Social harmony is the ability for people to live together - for each individual to enjoy freedoms, but not at the expense of taking away freedoms of others
-
-
nesslabs.com nesslabs.com
-
Common sense is actually a pretty bad indicator of truth. Because of cognitive biases and preconceived opinions, ideas that sound right are often wrong. “Common sense is actually nothing more than a deposit of prejudices laid down in the mind prior to the age of eighteen,” Einstein presumably said.
-
- Feb 2023
-
attachment.rrz.uni-hamburg.de attachment.rrz.uni-hamburg.de
-
we have onlyvery limited capabilities of predicting emissions fu-tures due to the inherent complexities and contin-gencies of social dynamic
= limitations of the study
-
- Jan 2023
-
www.sciencedirect.com www.sciencedirect.com
-
Using a modified version of Köhler’s method, recent research has found that in 2015 drain from the South through unequal exchange amounted to $2.1 trillion (constant 2011 dollars), represented in Northern prices (Hickel et al., 2021). Köhler’s proxy approach is limited in several respects, however. It relies on PPP figures that do not adequately account for the comparatively high prices of Northern exports; it relies on GDP figures that are affected by the low prices of imports from the South; and it compares Southern exports to prices across whole economies, rather than to those of only traded goods. All of this leads to underestimating the scale of drain (see Hickel et al., 2021).
!- comment : recent history of calculating unequal exchange - The authors, particularly Hickel have tried to estimate the drain in the past using other techniques but the recent technique of EORA I/O tables proves to be the most accurate to date, revealing a true and larger figure that previous estimates
-
- Dec 2022
-
agupubs.onlinelibrary.wiley.com agupubs.onlinelibrary.wiley.com
-
Human choices and actions could narrow or widen the safe and just corridor for human development. Considering the complex interactions, feedbacks, and non-linearities within and between societal activities and Earth system behavior, we need to advance beyond previous frameworks such as the “donut” (Raworth, 2018) to understand when “safe” and “just” ranges do and do not overlap.
!- limitations of : doughnut economic model - the interactions, feedbacks and nonlinearities between societal activity and earth system behavior is far too complex for the doughnut economic model
-
-
en.wikipedia.org en.wikipedia.org
-
Aleatoric music (also aleatory music or chance music; from the Latin word alea, meaning "dice") is music in which some element of the composition is left to chance, and/or some primary element of a composed work's realization is left to the determination of its performer(s). The term is most often associated with procedures in which the chance element involves a relatively limited number of possibilities.
-
-
github.com github.com
-
I understand that multiple -f options fits almost the bill, but it doesn't always work. For example, I rather often change the name of the abstract service into something that is more meaningful in the context of the project at hand. This is something that the overriding that occurs with multiple -f options does not support.
-
-
stackoverflow.com stackoverflow.com
-
Procs can't accept blocks as implicit arguments (the format you're trying). A proc can receive other proc objects as arguments, either explicitly, or using & arguments. Example: a = Proc.new do |&block| block.call end a.call() {puts "hi"}
-
yield is a bit of laguage level magic that only works in the context of a method.
-
-
github.com github.com
-
Note: it is not possible to apply a boolean scope with just the query param being present, e.g. ?active, that's not considered a "true" value (the param value will be nil), and thus the scope will be called with false as argument. In order for the scope to receive a true argument the param value must be set to one of the "true" values above, e.g. ?active=true or ?active=1.
Is this behavior/limitation part of the web standard or a Rails-specific thing?
-
- Nov 2022
-
stackoverflow.com stackoverflow.com
-
Do you know about lacolhost.com? as in, do something like blerg.lacolhost.com:3000/ as your url and it'll resolve to localhost:3000, which is where your tests are running.
-
-
stackoverflow.com stackoverflow.com
-
As you note, Activity diagrams inherently can include concurrency and timing. If you look at this example cribbed from Wikipedia, shown below, you can observe the section with two heavy horizontal bars, and two parallel activities of "present idea" and "record idea". That is read as "start these activities in parallel, and continue only when both are complete." Flowcharts can't express this within the notation. Practically, using activity diagrams lets you think clearly about concurrent processes. I think you'll find that anyone who can read a flowchart will quickly adapt.
-
-
bera-journals.onlinelibrary.wiley.com bera-journals.onlinelibrary.wiley.com
-
Examining some assumptions and limitations of research on the effects of emerging technologies for teaching and learning in higher education
-I will download the full article through EBSCO.
-This article will give me perspective on the limitations of current research on teaching and learning with technology in higher education settings.
-rating 8/10
Kirkwood, A., & Price, L. (2013). Examining some assumptions and limitations of research on the effects of emerging technologies for teaching and learning in higher education. British Journal of Educational Technology, 44(4), 536-543.
-
-
nickjanetakis.com nickjanetakis.com
-
That’s fine and dandy if you’re running in production and have a publicly accessible address such as your domain name but what about during development?You can’t just tell Stripe to access http://localhost because that address isn’t publicly accessible to the internet.
-
Lucky for us, it’s super easy to use subdomains in development nowadays. http://lvh.me is a free service that resolves itself along with all subdomains to localhost.
-
- Oct 2022
-
stedolan.github.io stedolan.github.io
-
Multiplying two objects will merge them recursively: this works like addition but if both objects contain a value for the same key, and the values are objects, the two are merged with the same strategy.
Unfortunately, it doesn't merge/concatenate arrays. Sometimes that's what you want (you want the 2nd value to override the 1st but sometimes not.
If you want it to concatenate instead, here are some workarounds:
-
https://stackoverflow.com/questions/53661930/jq-recursively-merge-objects-and-concatenate-arrays
-
If you only need/want to concatenate for some fixed list of keys, you could do it more simply like this (but could get repetitive to repeat for each key you want it for):
⟫ jq -n '[{hosts: ["a"]}, {hosts: ["b"]}] | .[]' | jq -s '.[0] * .[1] * {hosts: (.[0].hosts + .[1].hosts)}' { "hosts": [ "a", "b" ] }
-
-
-
github.com github.com
-
var a = document.createElement("a"); a.href = blob; a.target = "_blank"; setTimeout(function() { click(a); });
-
- Sep 2022
-
github.com github.com
-
When we do release a final version of JSON Schema, please do not use JSON Schema to guarantee an OpenAPI document is valid. It cannot do that. There are numerous constraints in the written specification that cannot be expressed in JSON Schema.
-
-
stackoverflow.com stackoverflow.com
-
the problem with docker builds is the made-up concept of "context". Dockerfiles are not sufficient to define a build, unless they are placed under a strategic directory (aka context), i.e. "/" as an extreme, so you can access any path (note that that's not the right thing to do in a sane project either..., plus it makes docker builds very slow because docker scans the entire context at start).
-
I would not change the project structure to accommodate Docker (or any build tools).
-
- Aug 2022
-
docs.gitlab.com docs.gitlab.com
-
Issues are starting to become cluttered as we add more capabilities to them, and they are not perfect
-
Using labels to show issue types is cumbersome and makes reporting views more complex.
-
- Apr 2022
-
stackoverflow.com stackoverflow.com
-
I was wondering particularly whether there is a way to have a comment on the same line as the backslash
-
-
noeldemartin.com noeldemartin.com
-
I was already aware that images cannot be inserted in the DOM like you would any normal image. If you write <img src="https://my-pod.com/recipes/ramen.jpg">, this will probably fail to render the image. That happens because the image will be private, and the POD can't return its contents without proper authentication.
-
-
jahed.dev jahed.dev
-
hopefully feed readers can treat permanent redirects as a sign to permanently update their feed URLs, then I can remove it. They probably don't, much like bookmarks don't
-
-
github.com github.com
-
These callbacks are focused on the transactions, instead of specific model actions.
At least I think this is talking about this as limitation/problem.
The limitation/problem being that it's not good/useful for performing after-transaction code only for specific actions.
But the next sentence "This is beneficial..." seems contradictory, so I'm a bit confused/unclear of what the intention is...
Looking at this project more, it doesn't appear to solve the "after-transaction code only for specific actions" problem like I initially thought it did (and like https://github.com/grosser/ar_after_transaction does), so I believe I was mistaken. Still not sure what is meant by "instead of specific model actions". Are they claiming that "before_commit_on_create" for example is a "specific model action"? (hardly!) That seems almost identical to the (not specific enough) callbacks provided natively by Rails. Oh yeah, I guess they do point out that Rails 3 adds this functionality, so this gem is only needed for Rails 2.
-
-
stackoverflow.com stackoverflow.com
-
Since elements can overlap each other in a CSS grid, it doesn't even try to align them. As its name suggests, it is a grid, not a column layout.
-
-
stackoverflow.com stackoverflow.com
-
However, when 2 elements begin at the same grid row, they overlap.
-
-
css-tricks.com css-tricks.com
-
Perhaps the most interesting limitation is that you can’t target the grid area itself.
-
- Mar 2022
-
web.hypothes.is web.hypothes.is
-
If you happen to annotate page three, and then weeks or years later visit the single page view wouldn’t you want to see the annotation you made? If the tool you are using queries for annotations using only the URL of the document you are viewing you won’t see it.
-
-
Local file Local file
-
relatively nascent with numerous challenges, which have to be addressed before they can be widely acceptedand implemented.
Limitations of solutions
-
- Feb 2022
-
-
In addition, a component that uses Svelte's built in event forwarding system cannot allow event listeners on the "capture" phase of the event lifecycle. It also cannot allow events to be cancelable with the browser's built in preventDefault function.
-
- Jan 2022
-
-
It's vanilla JS, doesn't bind you to specifc syntax and that's the main reason why I like svelte that it doesn't try to sandbox you into framework constraints.
-
I think the issue is that it's not totally perfect. It doesn't define what should happen in parent components, it's not as flexible as onError and it doesn't allow you (for instance) to nest a svelte:head inside, or decide what to do with the rest of the rendering. What do you do with <div>My component</div> in your example? What about changing the <title>? I assume you can inspect the error...does <svelte:error> allow specifying which error types to expect?
-
-
-
Another limitation is that you are forced into the syntax of the {#await} block. What I mean by that is that for example you can't add a loading class to a parent. You can only render stuff for the loading state in the given block. Nowhere else.
Tags
Annotators
URL
-
-
github.com github.com
-
but you want to style your components yourself and not be constrained by existing design systems like Material UI
-
-
stackoverflow.com stackoverflow.com
-
The RFC2617 model is one-user, one-credentials so the case where the user may have a second set of credentials that could be authorized may be ignored. It neither suggests nor implies that some sort of login page or other non-RFC2617 authentication protocol may or may not help - that is outside the RFC2616 standards and definition.
-
- Nov 2021
-
svelte.dev svelte.dev
-
If you need to pass multiple arguments to an action, combine them into a single object, as in use:longpress={{duration, spiciness}}
-
-
askubuntu.com askubuntu.com
-
the snap-based chromium cannot access files on my separately-mounted /opt filesystem. The non-snap chromium has no such limitation. Until or unless the snap version ever is able to access all the filesystems on my device, I am willing to live with the risk of a PPA-based version.
-
- Sep 2021
-
stackoverflow.com stackoverflow.com
-
This works in my application where there's only one shadow-dom at the time, but it's not a generic solution.
-
-
www.reddit.com www.reddit.com
-
it's always the 3rd episode in a row, 2 minutes into the 3rd.
-
- Aug 2021
-
stackoverflow.com stackoverflow.com
-
The main problem is that the browser won't even send a request with a fragment part. The fragment part is resolved right there in the browser. So it's reachable through JavaScript.
-
-
stackoverflow.com stackoverflow.com
-
note: when using for cross domain, requires you to be able to inject a js file into the iframe... Doesn't seem like a viable option when you don't control the iframe source.
-
-
github.com github.com
-
You can add event modifiers with the on:click$preventDefault$capture={handler} syntax. If you use Svelte's native on:click|preventDefault={handler} syntax, it will not compile. You have to use "$" instead of "|". (The extra S inside the | stands for SMUI.)
How does it do that? I didn't think components could introspect to see which event handlers were added by the calling component?!
Does it actually somehow generate an event named something like
click$preventDefault$capture
? I still don't get how that would work.
-
- Jul 2021
-
github.com github.com
-
Please note that the strategy: :build option must be passed to an explicit call to association, and cannot be used with implicit associations:
-
-
github.com github.com
-
this happens with getClient and setClient because it is a svelte context which is only available at component initialization (construction) and cannot be in an event handler.
-
-
about.gitlab.com about.gitlab.com
-
Known Limitations
-
-
www.reddit.com www.reddit.com
-
Hello, maksimets: code blocks using triple backticks (```) don't work on all versions of Reddit!Some users see this / this instead.
-
-
formidable.com formidable.com
-
This cache has a small trade-off! If we request a list of data, and the API returns an empty list, then the cache won't be able to see the __typename of said list and invalidate it.
That's one big caveat!
-
- Jun 2021
-
graphql-ruby.org graphql-ruby.org
-
This kind of error handling does express error state (either via HTTP 500 or by the top-level "errors" key), but it doesn’t take advantage of GraphQL’s type system and can only express one error at a time.
-
In mutations, when errors happen, the other fields may return nil. So, if those other fields have null: false, but they return nil, the GraphQL will panic and remove the whole mutation from the response, including the errors!
-
In order to have the rich error data, even when other fields are nil, those fields must have null: true so that the type system can be obeyed when errors happen.
Tags
- limitation: works for one but not many (array)
- unintended consequence
- GraphQL: mutation errors
- works for many (array) in addition to one (no arbitrary limitation)
- typing
- irony
- unintentionally breaking something
- GraphQL: top-level errors
- limitations
- unfortunate limitations
- disadvantages/drawbacks/cons
Annotators
URL
-
-
sveltematerialui.com sveltematerialui.com
-
Use this to build a ClassAdder component. ClassAdder components are useful for reducing the size of your bundle. If you have tons of simple components that just need to add classes/props or set a context, using ClassAdder components means there's only one "big" Svelte component in your bundle for all of these many tiny components.
-
This is useful when you need to add classes to a component, since Svelte's "class:" directives don't work on components.
-
-
evilmartians.com evilmartians.com
-
That’s not the only way of writing end-to-end tests in Rails. For example, you can use Cypress JS framework and IDE. The only reason stopping me from trying this approach is the lack of multiple sessions support, which is required for testing real-time applications (i.e., those with AnyCable 😉).
-
-
disqus.com disqus.com
-
While rails does have nice CSRF protection, in my instance it limited me.
-
-
github.com github.com
-
Note that this proposal provides private fields and methods only as declared up-front in a field declaration; private fields cannot be created later, ad-hoc, through assigning to them, the way that normal properties can. You also can't declare private fields or methods in object literals; for example, if you implement your class based on object literals, or adding individual methods to the prototype, or using a class framework, you cannot use private methods, fields or accessors.
Tags
Annotators
URL
-
-
disqus.com disqus.com
-
The answer is no, we use a pattern where we do this, and have a `static` method for manufacturing the constructor.e.g.static from({prop1, prop2}) => new this(public prop1, public prop2)
-
-
www.migrationencounters.org www.migrationencounters.org
-
I could see them--that they were advancing in life, and I was still in the same spot. So I asked my mom if I could get a job, and that's when she broke it down to me that I wasn't even from here. And that was right there like a slap in the face.
Time in US - immigration status - being secretive - lost opportunities
-
-
stackoverflow.com stackoverflow.com
-
This means that you have a json structure different from that described in your question. You cannot use generic jsonb functions when the json structures differ in each row.
-
- May 2021
-
en.wikipedia.org en.wikipedia.org
-
As the token is unique and unpredictable, it also enforces proper sequence of events (e.g. screen 1, then 2, then 3) which raises usability problem (e.g. user opens multiple tabs). It can be relaxed by using per session CSRF token instead of per request CSRF token.
-
-
www.impressivewebs.com www.impressivewebs.com
-
The simple problem that I see with fragment identifiers is that their existence and functionality relies completely on the developer rather than the browser. Yes, the browser needs to read and interpret the identifier and identify the matching fragment. But if the developer doesn’t include any id attributes in the HTML of the page, then there will be no identifiable fragments. Do you see why this is a problem? Whether the developer has coded identifiers into the HTML has nothing to do with whether or not the page actually has fragments. Virtually every web page has fragments. In fact, sectioning content as defined in the HTML5 spec implies as much. Every element on the page that can contain content can theoretically be categorized as a “fragment”.
at the mercy of author
-
- Apr 2021
-
stackoverflow.com stackoverflow.com
-
This doesn't work in cases where the component checking for interactivity is looking at the $- shell variable for an "i"
-
-
unix.stackexchange.com unix.stackexchange.com
-
Using the solution above will not work for filenames with spaces (or newlines).
-
A space-separated list of file names doesn't really work: what if one of the file names contained spaces?
-
-
store.steampowered.com store.steampowered.com
-
this game is purely amateur production, material selection and creation is not professional, just hope you can like this story.
-
-
github.com github.com
-
For now, you will need to give the second root a different named route: authenticated :user do root to: "users#index", as: :authenticated_root end unauthenticated do root to: "main#index" end
-
- Mar 2021
-
store.steampowered.com store.steampowered.com
-
Ever want to experience a game that makes you want to play Rocket Ghost Aidan 2? Just play this! Its completely inferior to RGA 2.
-
-
askubuntu.com askubuntu.com
-
neither knows what to do with naked domain. So gnome-open http://askubuntu.com works but not gnome-open askubuntu.com. Here is a small function to make it easier to type and accept the stripped down domain name. function go { gnome-open http://$1 ; }
-
-
blog.izs.me blog.izs.me
-
In the real world, we are faced with the completely unfair constraint of being human while writing programs and while debugging them, and none of these costs can ever be reduced to zero.
-
-
github.com github.comd3/d31
-
To the consternation of some users, 3.x employed Unicode variable names such as λ, φ, τ and π for a concise representation of mathematical operations. A downside of this approach was that a SyntaxError would occur if you loaded the non-minified D3 using ISO-8859-1 instead of UTF-8. 3.x also used Unicode string literals, such as the SI-prefix µ for 1e-6. 4.0 uses only ASCII variable names and ASCII string literals (see rollup-plugin-ascii), avoiding encoding problems.
-
-
github.com github.com
-
I'm not sure about all consequences of my change and this is very complex.
-
-
stackoverflow.com stackoverflow.com
-
You can use the :placeholder-shown pseudo class. Technically a placeholder is required, but you can use a space instead.
-
-
css-tricks.com css-tricks.com
-
:placeholder-shown is super useful for us here! It’s basically the secret selector for testing if an input currently has a value or not.
-
-
stackoverflow.com stackoverflow.com
-
This only works provided each element has a label. It will not work if you put the attribute on the element itself, because <input> elements cannot have :after pseudo elements.
-
-
-
Dave Rupert has a good solution that uses an input's invalid event. Instead of using the :invalid pseudo selector, he adds a CSS class to the input when it becomes invalid. We will extend this approach by removing the CSS class when the element becomes valid again.
-
-
trailblazer.to trailblazer.to
-
Admittedly, both the signature and the return values of invoke feel a bit clumsy. That’s becaus we’re currently working with the low-level interfaces.
-
-
trailblazer.to trailblazer.to
-
The circuit interface is a bit more clumsy but it gives you unlimited power over the way the activity will be run.
-
- Feb 2021
-
app.scholarcy.com app.scholarcy.com
-
but the descriptions are limited by dependence on the actual clinical nursing situations from which they must be derived.
Limitations of Benner's model
Tags
Annotators
URL
-
-
trailblazer.to trailblazer.to
-
To make it short: we returned to the Rails Way™, lowering our heads in shame, and adhere to the Rails file and class naming structure for operations.
-
There is nothing wrong with building your own “service layer”, and many companies have left the Traiblazer track in the past years due to problems they had and that we think we now fixed.
-
-
stackoverflow.com stackoverflow.com
-
# catch multi-char special key sequences read -sN1 -t 0.0001 k1 read -sN1 -t 0.0001 k2 read -sN1 -t 0.0001 k3 key+=${k1}${k2}${k3}
-
-
github.com github.com
-
In this simple example, the destroy interaction doesn't do much. It's not clear that you gain anything by putting it in an interaction.
-
-
stackoverflow.com stackoverflow.com
-
This is not a valid solution. accepts_nested_attributes_for is part of ActiveRecord, not ActiveModel.
-
-
github.com github.com
-
initialize(model) accepts an instance of the model that the form represents.
By designing this so there is a main model, it isn't as flexible as Reform's "Composition" module that lets you compose it in any way you want, including having as many as you want top-level "main" modules that your form is comprised of.
Tags
Annotators
URL
-
-
github.com github.com
-
A.joins(:b) .where( A.arel_table[:something_a].eq('xxx').or(B.arel_table[:something_b].eq('yyy')) )
-
-
alistapart.com alistapart.com
-
css-tricks.com css-tricks.com
-
Your grid areas can only be rectangles (like the left), not arbitrary polygons (like the right).
-
-
stackoverflow.com stackoverflow.com
-
And if your framed content has a need to be interactive, it will struggle to do so beyond the frame.
-
- Jan 2021
-
-
Change any of the <option> by double clicking on the number.
-
-
forums.theregister.com forums.theregister.com
-
It won't work if $HOME is not under /home. Really. Not even if you softlink. You need a bind mount
-
Why did I put the kdb in the snap file system? Because the app is sandboxed, so I had no choice.
-
-
-
I think this is very important feature to implement. Because for now we need to wrap target components by useless wrapper nodes.
-
-
github.com github.com
-
// read-only, but visible to consumers via bind:start export let start = 0;
Can't do
export const start = 0
(because it needs to be mutable/assignable within this local component), so we have to do
export let start = 0
with a comment saying that it's read-only (by the consumer).
-
-
-
The third other syntax in your update compiles because Svelte doesn't see that as a conditional bind:this, but as an attribute called bind:this that is conditionally applied. All directives need to be visible at compile time.
Tags
Annotators
URL
-
-
linguinecode.com linguinecode.com
-
But that method has its limitations. The <slot> directive cannot be dynamic.
-
-
-
just writing in that the example code doesn't work on the REPL... perhaps because it tries to load CSS? I am not sure, but it says “Unexpected token (Note that you need plugins to import files that are not JavaScript)”.
-
-
www.material.io www.material.io
-
The rail is a side navigation component that displays three to seven app destinations
-
-
stackoverflow.com stackoverflow.com
-
JSONP is really a simply trick to overcome XMLHttpRequest same domain policy. (As you know one cannot send AJAX (XMLHttpRequest) request to a different domain.) So - instead of using XMLHttpRequest we have to use script HTMLl tags, the ones you usually use to load JS files, in order for JS to get data from another domain. Sounds weird?
-
-
www.w3.org www.w3.org
-
(Note that it is not possible to grant access to multiple specific sites, nor use a partial wildcard match. It is also not possible to specify more than one Access-Control-Allow-Origin header.)
Tags
Annotators
URL
-
-
css-tricks.com css-tricks.com
-
The second example also opens up the possibility of including multiple links. You can’t nest links, so things get a little tricky if you need to. It’s possible though, by making the individual links set above the card-covering link with z-index.
-
-
stackoverflow.com stackoverflow.com
-
Actually this only works for urls of the same origin as mentioned in the MDN docs. This is a huge limitation if we are looking to develop a generic solution
-
- Dec 2020
-
stackoverflow.com stackoverflow.com
-
I think that the webStorage is one of the most exciting improvement of the new web. But save only strings in the value key-map I think is a limitation.
-
-
www.npmjs.com www.npmjs.com
-
Yarn only runs the postinstall hook after yarn and yarn add, but not after yarn remove. The postinstall-postinstall package is used to make sure your postinstall hook gets executed even after a yarn remove.
-
-
-
Now that I got a clearer picture, I still don't understand why that error message (cannot bind to variable declared with let:) is there, in the sense that for me it would make a lot of sense to both bind (which connects bidirectionally the App#item variable with the Component#item variable) and also let (which connects the slot#item variable with the Component#item variable, allowing data to flow from slot to Component, and thus to the top-level App via the bind syntax.
-
- Nov 2020
-
www.theatlantic.com www.theatlantic.com
-
Selection by association, rather than indexing, may yet be mechanized. One cannot hope thus to equal the speed and flexibility with which the mind follows an associative trail, but it should be possible to beat the mind decisively in regard to the permanence and clarity of the items resurrected from storage.
It should be easy to surpass the mind's performance in terms of storage capacity as well as lossiness. It might be more difficult to surpass it in terms of the speed and flexibility with which it "follows an associative trail"
-
-
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.)
-
-
github.com github.com
-
...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.
-
-
webpack.js.org webpack.js.orgConcepts2
-
Combining with minimizing is not possible as minimizers usually only emit a single line.
-
This prevents you from debugging execution on statement level and from settings breakpoints on columns of a line.
-
-
-
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 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
-
-
-
On a user-defined bridge network, containers can resolve each other by name or alias.But, The containers on the default bridge network can only access each other by IP addresses, unless you use the --link option, which is considered legacy.
-
- Oct 2020
-
github.com github.com
-
But also, if you do want to use separate functions and have your dependencies still counted, you can make all of the relevant dependencies be arguments to those functions, so the compiler can see them in the reactive block.
-
-
-
I'm afraid there's only so much the docs & tutorials can do about something like this actually. When you first read them, you don't get Svelte well enough (since you're reading a tutorial...) for this to make sense to you. Then you try something, encounter a behaviour, question it, understand better... That's learning.
-
-
github.com github.com
-
if you make a shallow copy, it works
-
-
-
Informative data about objects that are considered prototypes for the role. Base concept is similar to type, but without inheritance of limitations and properties. Base concepts are designed as a substitute for inheritance for external concepts. A base concept is like a related concept except that the base concept is almost identical to the role definition.
-
-
github.com github.com
-
When I'm prototyping components I like to manage the data where it appears, and not send it back and forth if there is no reason for it. I also don't like to be forced by a language to do things a certain way.
-
-
ponyfoo.com ponyfoo.comPony Foo1
-
When it comes to ES6, a flurry of problems turn polyfills into ineffective vaccines. For one, you simply can’t polyfill language features, such as arrow functions, generators, async/await (ES7), rest and spread parameters, classes, modules, etc.
-
-
humanwhocodes.com humanwhocodes.com
-
JavaScript is, of course, a dynamic language that allows you to add and remove objects and their members at any point in time. For many, this is precisely why they enjoy the language: there are very few constraints imposed by the language.
-
-
thisthat.dev thisthat.dev
-
The only difference between them is that the shorthand version does not support the key attribute.
-
-
github.com github.com
-
Action properties lack the possibility to pass parameters to the action
-
We aim to support all svelte features. In some cases this is not possible. For those cases we provided feasible workarounds.
-
jsx currently does not allow to use : in attribute/property names. As a workaround every : can be replaced be _ (for example bind_value is converted to bind:value for svelte).
-
-
2ality.com 2ality.com
-
To suggest template literals cover the level of abstraction that JSX has to offer is just dumb. They're great and all, but c'mon now...
-
-
developer.mozilla.org developer.mozilla.org
-
An onevent event handler property serves as a placeholder of sorts, to which a single event handler can be assigned. In order to allow multiple handlers to be installed for the same event on a given object, you can call its addEventListener() method, which manages a list of handlers for the given event on the object.
-
-
medium.com medium.com
-
Then at some moment I just stumbled upon limitations and inexpressiveness of templates and started to use JSX everywhere — and because JSX was not a typical thing for Vue I switched to React over time. I don’t want to make a step back.
-
It would be cool though to have a framework that does not add any specific limitations
-
I understand that I could use some third party memoization tool on top of the Svelte’s comparator, but my point here is — there is no magic pill, optimizations “out of the box” often turn out to have limitations.
-
-
mdsvex.com mdsvex.com
-
Don’t indent code blocks.
Sure, we don't need to add any additional indent. But what if your code block contains indentation (function body)? It would look silly to remove all leading indentation.
-
-
tech.ebayinc.com tech.ebayinc.com
-
Offsetting the rules of a logic-less template requires a lot of helper methods.
-
-
-
I had this problem and figured out how to make something like this work with the compiler quirks.
-
-
recoiljs.org recoiljs.org
-
Context can only store a single value, not an indefinite set of values each with its own consumers.
-
Component state can only be shared by pushing it up to the common ancestor, but this might include a huge tree that then needs to re-render.
-
-
medium.com medium.com
-
Especially when coming from a framework like React, it might feel very tempting to start creating a component wrapper around the input (i.e. <input> becomes <Input/>) and add your custom event handlers in there.This is a great approach in React, but not so much in Svelte. Why, you ask?Well, Svelte (at least in its current form, v3) really shines when you have native DOM elements at your disposal. You can use transition directives, conditionally switch CSS classes, bind to the current value with ease, and more.
-
-
github.com github.com
-
React hook for creating a value exactly once. useMemo doesn't give this guarantee unfortunately - https://reactjs.org/docs/hooks-faq.html#how-to-create-expensive-objects-lazily
-
- Sep 2020
-
stackoverflow.com stackoverflow.com
-
The Moov atom can only exist after recording is complete when the relevant metadata can now be created for the stored data.
-
-
svelte.dev svelte.dev
-
Auto-subscription only works with store variables that are declared (or imported) at the top-level scope of a component.
-
-
stackoverflow.com stackoverflow.com
-
setContext / getContext can only be used once at component init, so how do you share your API result through context? Related: how would you share those API results if the call was made outside of a Svelte component, where setContext would be even more out of the question (and the API call would arguably be better located, for separation of concerns matters)? Well, put a store in your context.
-
-
svelte.dev svelte.dev
-
stackoverflow.com stackoverflow.com
-
I used a "specific function". But maybe it could be done within a derived store. A kind of auto reset on ... But I think there is no elagant solution, so I stick with the specific function.
-
-
github.com github.com
-
The problem with working around the current limitations of Svelte style (:global, svelte:head, external styles or various wild card selectors) is that the API is uglier, bigger, harder to explain AND it loses one of the best features of Svelte IMO - contextual style encapsulation. I can understand that CSS classes are a bit uncontrollable, but this type of blocking will just push developers to work around it and create worse solutions.
-
In the end this is an opinionated framework, and you can limit developers as you like, but I think it's a shame to block the possibility of what is available natively in the web.
Tags
- opinionated
- key point
- +0.9
- Svelte: how to affect child component styles
- arbitrary limitations
- Svelte: CSS encapsulation
- important point
- missing out on the benefits of something
- trying to prevent one bad thing leading to people doing/choosing an even worse option
- arbitrary limitations leading to less-than-ideal workarounds
- unfortunate limitations
Annotators
URL
-
-
github.com github.com
-
Would style .classInChild from your parent. The only drawback is that you might need an extra wrapping element.
-
-
github.com github.com
-
For my simple tooltip example, I could create a TooltipHitbox component with a <slot/> inside a <div use:myTooltip={tooltipProp}> and then wrap MatButton instances with that component.
-
-
github.com github.com
-
Also, I'm starting to wonder if maybe it's okay to have multiple spreads? If the alternative to <Foo {...a} {...b} {...c} d={42}> is that people will write <Foo {...Object.assign({}, a, b, c)} d={42}> anyway, then do we gain anything with the constraint?
-
-
-
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.
-
-
svelte.dev svelte.dev
-
The value attribute of an input element or its children option elements must not be set with spread attributes when using bind:group or bind:checked. Svelte needs to be able to see the element's value directly in the markup in these cases so that it can link it to the bound variable.
Tags
Annotators
URL
-
-
github.com github.com
-
{#each section as {tag, is_self_closing, props, content}} {#if is_self_closing} <{tag} {...props} /> {:else} <{tag} {...props}>{content}</{tag}> {/if}
-
-
github.com github.com
-
Even without going to that extreme, the constraint of having a single <style> can easily force component authors to resort to the kinds of classes-as-namespaces hacks that scoped styles are supposed to obviate.
-
-
github.com github.com
-
:global just feels like a hack for a feature that should already be there.
-
-
exploringjs.com exploringjs.com
-
The module specifier is always fixed. That is, you can’t change what you import depending on a condition. And you can’t assemble a specifier dynamically.
-
-
tailwindcss.com tailwindcss.com
-
Inline styles can't target states like hover or focus, but Tailwind's pseudo-class variants make it easy to style those states with utility classes.
-
-
github.com github.com
-
Force everything to the git root per NPM lameness
-
- Aug 2020
-
stackoverflow.com stackoverflow.com
-
Sadly, bash can't handle long options which would be more readable, i.e.:
-
- Jul 2020
-
amp.dev amp.dev
-
While stylesheets can be reworked relatively easily with AMP by inlining the CSS, the same is not true for JavaScript. The tag 'script' is disallowed except in specific forms. In general, scripts in AMP are only allowed if they follow two major requirements: All JavaScript must be asynchronous (i.e., include the async attribute in the script tag). The JavaScript is for the AMP library and for any AMP components on the page. This effectively rules out the use of all user-generated/third-party JavaScript in AMP except as noted below.
-
The problem is that this is an external stylesheet reference. In AMP, to keep the load times of documents as fast as possible, you cannot include external stylesheets.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
These seem to be better reasons to support sub-nanosecond resolution. I think either storing picoseconds or storing sec fraction as 64-bit integer are better approaches than storing a rational. However, either change would be very invasive, and it seems unlikely to be worth the effort.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
Let me point out that with this patch applied, (nil..nil).cover?(1) would become returning true rather than raising an error. Note that nil..nil has been valid for all past versions of ruby.
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
VII, after the map block, consider arr.each_with_object([]) do |(converted_val, orig_val),uniques|...end.
-
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
-
- Jun 2020
-
-
No built-in syntax for looping
-
-
stackoverflow.com stackoverflow.com
-
rails.lighthouseapp.com rails.lighthouseapp.com
-
Seems a little unfortunate that there is no obvious way to edit or remove my previous reply.
-
- May 2020
-
unix.stackexchange.com unix.stackexchange.com
-
You might not care today, but your approach doesn’t allow you to have multiple spaces (Philippines 6014), leading spaces, trailing spaces, or tabs.
-
-
docs.gitlab.com docs.gitlab.com
-
Not merge the values of the keys.
This is one of the biggest limatations of
<<: *anchor
: it overwrites values of keys. It's too heavy-handed and therefore of limited use. You can only use it if you don't mind keys getting overwritten (such as if you are going to overwrite the keys below the<<:
.). -
GitLab will perform a reverse deep merge based on the keys
-
-
docs.gitlab.com docs.gitlab.com
-
With a few API endpoints you can use a GitLab CI/CD job token to authenticate with the API: Get job artifacts Pipeline triggers Release creation
Tags
Annotators
URL
-
-
gitlab.com gitlab.com
-
There will be limits placed on what will and will not be masked. This will include accounting for enough entropy to make sense (e.g. don't mask a variable that is just set to a word.) and are not multi-line.
-
-
support.google.com support.google.com
-
Filters require up to 24 hours before they are applied to your data.
-
-
gitlab.com gitlab.com
-
I never understood why we enforce The commit body must not contain more than 72 characters per line.
-