- Jan 2022
-
kit.svelte.dev kit.svelte.dev
-
Code that is per-component instance should go into a second <script> tag.
But this seems to conflict with https://hyp.is/NO4vMmzVEeylBfOiPbtB2w/kit.svelte.dev/docs
The load function is reactive, and will re-run when its parameters change, but only if they are used in the function.
which seems to imply that load is not just run once for the component statically, but rather, since it can be reactive to:
url, params, fetch, session and stuff
may be sufficiently like a per-instance callback, that it could be used instead of onMount?
-
- Nov 2021
-
Local file Local file
-
Long and short call or put options
Can we have a long put and a short call ?? What is the difference between going long and buying a call ?
-
Equal and opposite positions in the market for a fully hedged position (e.g., hedging one long position with an equally sized short position)
Doesn't it just add up to nothing ? No profit can ba generated from this, it will always be 0 ?
-
Generally speaking, with the exclusion of late entries, the higher the price of a long entry, the more aggressive in price and conservative in time of entry it becomes
Can we have a situation that is conservative both in time and price ?
Yes/No :
- cf. Fig.26.9 for Yes
- cf. Fig. 26.10 for No
=> Yes : cf. paragraph D. of page 843
-
Support levels for longs and resistance levels for shorts
Isn't there a problem if we long at a breached support ? Same for shorting a breached resisitance ? We want the price to go up for a long and down for a short so it seems to me that it's the inverse ???
-
Very late short or long entries with respect to support or resistance ■ Very early or premature long entries above support in a downtrend (both aggressive) ■ Very early or premature short entries below resistance in an uptrend (both
???
-
Long entries taken below resistance in an uptrend ■ Short entries taken above support in a downtrend ■ Long entries taken just below a failed support ■ Short entries taken just above a failed resistance
Isn't it the inverse ? short entry taken just below/above a failed support (since we want to see price decline)?
-
$2 per hour over a 10‐hour period.
Why do we consider the time ?
-
other third‐measure values over similar durations
- What is a third-measure ?
- Which third-measures are they talking about?
- Is it that of stock B that they're talking about ?
i.e. Compare third-measure of stock A to that of stock B over similar durations to find which one is the more volatile ?
-
ncrease in Price Fluctuations over Equal Durations Indicating Potential Rise in Volatility
Why is the first measure of volatilty satisfied ?
Maybe because the time period is the "equal duration" ??
-
over equal durations
How do we pick the durations ?
-
we could not determine which stock was more volatile since the maximum amount of price change over equal durations were the same for both
- What about comparing over smaller time periods, if we do this, we'll clearly see that there are differences ?
- How do we pick the timeframe ?
-
bearish chart patterns within a falling channel and bullish chart patterns with a rising channel.
Strange since it's the opposite for wedges, and wedges resemble channels quite a lot ?!
-
Many of the failed buy signals found on the chart in Figure 12.15 would have been successfully avoided or filtered out had the reversal entry breakout tech-nique been employed
WHY ???
Reversal entry breakout -> return to the mean ?
-
Figure 12.11 is an example of tuning the fixed percentage bands to a domi-nant cycle on the four‐hour chart of GBPUSD. The trough‐to‐trough cycle period was 133 bars. Using the third formula would also yield ((2×133) +3)/4 = 67.25. Rounding to the closest integer would give us 67 periods or bars
Does this mean that the central line is the 67 lookback period and that we obtain the bands by fixed perccentage (here 1.3%, cf. Fig. 12.11) ?
-
Notice that un-like double and triple detrending, which tends to remove lag between the oscillator and price, double and triple smoothing increases the price lag.
What is the difference between detrending and smoothing ?
- smoothing = prendre le MA d'un oscillateur. Ex. : %D = 3-period SMA of raw %K
- detrending = faire la différence entre deux MA !
-
double detrending reduces the lag components between price and the oscillators
WHY ???
-
seven-period
Why 7 and not 3 as indicated page 260 ?
-
nine-period
what does a nine-period EMA mean ??
-
Periods 2/Exponential Weighting Ratio 1
- How do we get this formula ?
- What does the term periods actually mean ?
-
-
unix.stackexchange.com unix.stackexchange.com
-
should be really flatpack run com.visualstudio.code --wait, far as I know, never tried. (--wait is really important.)
-
-
stackoverflow.com stackoverflow.com
-
Manually reorder the reactive declaration statements, especially when there's an implicit dependency of the order of execution.
-
if you put the reactive statement $: validate(inputValue); after the function updateInputValue declaration, it's working as expected:
-
- Oct 2021
-
Local file Local file
-
Figure 10.76
Retracement or Expansion ?? How do we differentiate both of these ??
-
-
hcommons.org hcommons.org
-
There were multiple and important jobs that could come out of crating A manuscript. you have scribes, Artist to create the drawings in the manuscript to keep the reader interested.
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
Inflections go the other way around.In classic mode, given a missing constant Rails underscores its name and performs a file lookup. On the other hand, zeitwerk mode checks first the file system, and camelizes file names to know the constant those files are expected to define.While in common names these operations match, if acronyms or custom inflection rules are configured, they may not. For example, by default "HTMLParser".underscore is "html_parser", and "html_parser".camelize is "HtmlParser".
-
It is very important to understand that Ruby does not have a way to truly reload classes and modules in memory, and have that reflected everywhere they are already used. Technically, "unloading" the User class means removing the User constant via Object.send(:remove_const, "User").
-
-
www.defenseurdesdroits.fr www.defenseurdesdroits.fr
-
Dans la tranche d’âge des 18-24 ans, 84% des « Gens du voyage » quittent le système scolaire avant ou juste après le collège, contre 9% pour la population globale.
-
-
-
This was my first exposure to the "Systems Mindset." The idea that when faced with any kind of recurring task or process, there is usually some way to set up a system to handle it for you.
automation is the key to productivity
-
- Sep 2021
-
www.homequestionsanswered.com www.homequestionsanswered.com
-
Anyone here should know it is of extraordinary importance to maintain trap (water) seals. The gas in the downstream is full of methane, odorless and colorless, and it will cause heart and lung problems if let loose inside and lived with. That should be written on the sky.
-
-
-
I have always rooted for Mozilla in preventing Google from obtaining unequivocal control of what has become the most critical software platform in the modern era, one that holds relevance in nearly everyone's life: the web.
-
-
-
Instead of bind:this={ref}, use bind:el={ref}. this points to the wrapper component, el points to the native element
-
-
developer.mozilla.org developer.mozilla.org
-
this implies an array of arrayLength empty slots, not slots with actual undefined values
-
-
stackoverflow.com stackoverflow.com
-
The important part I have come to notice is <script type="module"></script> make sure you add that otherwise you will get that error.
-
I still don't understand the difference between a script and a module
-
-
-
To enable PostCSS, Sass or Less support, add CSS support first and then add the relevant pre-processors:
-
- Aug 2021
-
stackoverflow.com stackoverflow.com
-
rewrite all onload iframes to javascript-inserted elements
javascript-inserted elements non-javascript-inserted elements
-
-
4cd.instructure.com 4cd.instructure.com
-
Our due dates will be Thursdays and Sundays at midnight
-
focuses on developing college-level literacy skills. More simply, this course will prepare you for the reading, writing, and critical thinking required of you as a university student.
-
hold four hours a week on set days and times; M 11:15AM-12:15PM (in-person & on-line) T 10AM-11AM (on-line)W 2:15PM-3:15PM (in-person & on-line)Th 1PM-2PM (on-line) and by appointment
Tags
- important to know so students can obtain a idea of what the class will revolve around
- this is a very important piece of information from the syllabus because these are the times through the day you can use to receive face to face assistance for the class
- this is important to always know so then you don't fall behind the due dates
Annotators
URL
-
-
www.model.eku.edu www.model.eku.edu
-
keepschoolopeninordertoprovidethekindofeducationthatweunderstandisbest.
Is "the kind of education that we understand is best" worth the loss of lives of teachers? Students? How many? What's the tolerance threshold for this?
Are worksheets with no classroom content while quarantining a better kind of education than setting up a camera to allow students to remotely participate in classroom activities?
-
-
stackoverflow.com stackoverflow.com
-
Good catch, @Hokascha. The project claims support for cross-domain iframes, but reading the docs reveals that it does still require server access to the embedded domain.
-
-
stackoverflow.com stackoverflow.com
-
It might be worth moving the latest updates to the top of this answer. I had to go through the whole thing to get to the best answer, flexbox.
-
-
-
Sirlin, N., Epstein, Z., Arechar, A. A., & Rand, D. (2021). Digital literacy and susceptibility to misinformation. PsyArXiv. https://doi.org/10.31234/osf.io/7rb2m
-
-
stackoverflow.com stackoverflow.com
-
Also note thet width: 100% is relative to it's first parent with a layout. So if you have an element with width:100% inside another element that has a specific width, the child element will only take up the total width of that parent.
-
- Jul 2021
-
www.healthline.com www.healthline.com
-
protein, carbohydrates, and fat
They are the base of our diets
-
- Jun 2021
-
eur-lex.europa.eu eur-lex.europa.eu
-
t a common foreign and security policy including the eventual framing of a common defence policy, which might in time lead to a common defence, thereby reinforcing the European identity and its independence in order to promote peace, security and progress in Europe and in the world,REAFFIRMING their objective to facilitate the free movement of persons, while ensuring the safety and security of their peoples, by including provisions on justice and home affairs in this Treaty,RESOLVED to continue the process of creating an ever closer union among the peoples of Europe, in which decisions are taken as closely as possible to the citize
Tags
Annotators
URL
-
-
ruanmartinelli.com ruanmartinelli.com
-
Your packages (the ones you created)
-
-
hypothes.is hypothes.is
-
Giving peers permission to engage in dialogue about race and holding a lofty expectation that they will stay engaged in these conversations throughout the semester or year is the first of the four agreements for courageous conversation. While initially, some participants may be eager to enter into these conversations, our experience indicates that the more personal and thus risky these topics get, the more difficult it is for participants to stay committed and engaged." Singleton and Hays
-
-
www.mutuallyhuman.com www.mutuallyhuman.com
-
For me the diagrams make it easier to talk about what the tests do without getting bogged down by how they do it.
Tags
- describe the what without getting bogged down by how (implementation details; too detailed)
- communication: focus on what is important
- too detailed
- communication: effective communication
- focus on what it should do, not on how it should do it (implementation details; software design)
- communication: use the right level of detail
Annotators
URL
-
-
outdoors.stackexchange.com outdoors.stackexchange.com
-
You can watch videos, but videos can't watch you.
-
No article or video can replace qualified instruction and experience
-
-
-
www.postgresql.org www.postgresql.org
-
-- The array on the right side is not considered contained within the -- array on the left, even though a similar array is nested within it: SELECT '[1, 2, [1, 3]]'::jsonb @> '[1, 3]'::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT '[1, 2, [1, 3]]'::jsonb @> '[[1, 3]]'::jsonb;
-
-
kit.svelte.dev kit.svelte.dev
-
should run on the same domain as any upstream API servers requiring credentials
-
When fetch runs on the server, the resulting response will be serialized and inlined into the rendered HTML. This allows the subsequent client-side load to access identical data immediately without an additional network request.
-
-
github.com github.com
-
We need to be really careful about what's 'same origin' because the server has no idea what host/path the various cookies are associated with. It just has a list of cookies that the browser had determined to be relevant for this SSR'd page, and not for any other subrequests.
-
- May 2021
-
stackoverflow.com stackoverflow.com
-
It doesn't say that the constant is dynamic. It says that the assignment is dynamic.
-
-
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.campaignmonitor.com www.campaignmonitor.com
-
The difference is that this happens in the email client, not at the subscription step. Why is this a big deal? Because, even though they just subscribed to your email, there’s a chance your email won’t get a thumbs up.
-
-
www.freecodecamp.org www.freecodecamp.org
-
The element that we are going to apply the shape to with the shape-outside property to has to be floated. It also has to have a defined width and height. That's really important to know!
-
-
css-tricks.com css-tricks.com
-
Please have a look at (in same order)
-
- Apr 2021
-
en.wikipedia.org en.wikipedia.org
-
Historical negationism,[1][2] also called denialism, is falsification[3][4] or distortion of the historical record. It should not be conflated with historical revisionism, a broader term that extends to newly evidenced, fairly reasoned academic reinterpretations of history.
-
-
english.stackexchange.com english.stackexchange.com
-
It has two very different meanings, that you would have to distinguish by context. One meaning is just expressing that we have limitations. If you don't know something, that's just tough, you don't know it and you have to live with that. You don't have information if you don't have that information. The other meaning is that not only are there gaps in our knowledge, but often we don't even know what the gaps in our knowledge are. I don't know how to speak Finnish. That's a gap in my knowledge that I know about. I know that I don't know how to speak Finnish. But there are gaps in my knowledge that I'm not even aware of. That's where you can say "You don't know what you don't know" meaning that you don't even know what knowledge you are missing.
I had this thought too.
-
-
en.wikipedia.org en.wikipedia.org
-
Today, many users rely upon graphical user interfaces and menu-driven interactions. However, some programming and maintenance tasks may not have a graphical user interface and may still use a command line.
-
-
unix.stackexchange.com unix.stackexchange.com
-
Notice the use of Enter key after backslash in the sed command.
-
Although echo "$@" prints the arguments with spaces in between, that's due to echo: it prints its arguments with spaces as separators.
due to echo adding the spaces, not due to the spaces already being present
Tag: not so much:
whose responsibility is it? but more: what handles this / where does it come from? (how exactly should I word it?)
-
-
law.stackexchange.com law.stackexchange.com
-
"an officer or employee of the United States Federal Government as part of that person’s official duties."
as part of that person’s official duties.
-
-
boardgamegeek.com boardgamegeek.com
-
You can create a separate grassland area (mountain in between) but you can NOT create a separate landmass (water in between).
-
The central decision of the game is when to play your houses. And you didn't even really talk about that.
-
-
www.howtogeek.com www.howtogeek.com
-
A modified timestamp signifies the last time the contents of a file were modified. A program or process either edited or manipulated the file. “Modified” means something inside the file was amended or deleted, or new data was added. Changed timestamps aren’t referring to changes made to the contents of a file. Rather, it’s the time at which the metadata related to the file was changed. File permission changes, for example, will update the changed timestamp.
They shouldn't use synonyms for this (modified = changed).
It would be clearer if the word that differed between the terms indicated what changed:
- "content modified" time (cctime)?
- "meta modified" time (cmtime)?
-
-
www.freetaxusa.com www.freetaxusa.com
-
You'll need to have paid more sales tax than state and local tax to take this deduction.
-
-
store.steampowered.com store.steampowered.com
-
that can be played by up to 10 local players - turnwise.
Description just said:
Party mode brings Versus mode and Marathon mode where up to 10 players can play together and compete locally.
Didn't mention whether it was at same time or in sequence. Hmm. Which is it? Video shows at least 2 can play at same time, so...
-
-
github.com github.com
-
Read the code! No, really. I wrote this code to be read.
-
-
css-tricks.com css-tricks.com
-
-
But floats are still useful and relevant! In fact, we have to use them for the shape-outside property to work.
first sighting: shape-outside
-
-
developer.mozilla.org developer.mozilla.org
-
CSS-generated content is not included in the DOM. Because of this, it will not be represented in the accessibility tree and certain assistive technology/browser combinations will not announce it. If the content conveys information that is critical to understanding the page's purpose, it is better to include it in the main document.
-
-
www.kickstarter.com www.kickstarter.com
-
Academy Games has always prided itself in the quality of its rules. Most of our rules are taught in stages, allowing you to start playing as soon as possible without needing to read everything. We are very careful about the order we teach rules and rely heavily on graphics and pictures to facilitate understanding. We also include a large number of detailed picture examples, often with 3D renders, that help you understand the context of the rules.
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
The hostname's first n segments, starting from the right (the TLD).
-
- Mar 2021
-
store.steampowered.com store.steampowered.com
-
dont belive the tags, it doesn't have any steam trading cards. waste of money and time.
-
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
Svelte is different in that by default most of your code is only going to run once; a console.log('foo') line in a component will only run when that component is first rendered.
Tags
- opinionated
- reasonable defaults
- opinion
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- difference
- Svelte vs. React
- unfortunate defaults
- important point
- turning things around / doing it differently
Annotators
URL
-
-
eduscol.education.fr eduscol.education.fr
-
Fiche 3.6 - Travailler la communication interne au sein de l’établissement
C'est le seul point ou l'on voit apparaitre à la marge les parents d'élèves. et aucunement des RPE et de leurs associations.
voici les points cités comme à vérifier • Faciliter l’appropriation de l’information diffusée pour les personnels et les usagers : taux de sollicitation pour demander des informations au sujet de questions ayant déjà fait l’objet d’une communication, taux de réponses aux sollicitations de l’établissement avant d’éventuelles relances…
• Indicateur de visibilité : nombre de connexion à l’ENT de l’établissement, nombre de contributeurs internes au site et autres outils de communication… • Indicateurs relatifs aux familles : taux de participation aux élections du conseil d’administration, aux réunions parents/professeurs, aux différentes actions, groupes de travail ou manifestations auxquelles elles sont invitées. • Indicateurs d’enquêtes de satisfaction (construites en interne). • Identification claire par l’ensemble des membres de la communauté scolaire des « référents communication » de l’établissement.
-
-
www.aclweb.org www.aclweb.org
-
Hypernymy, or the IS-A relation, is one of the most important lexical relations.
-
-
en.wikipedia.org en.wikipedia.org
-
The distinction in computer programming between classes and objects is related, though in this context, "class" sometimes refers to a set of objects (with class-level attribute or operations) rather than a description of an object in the set, as "type" would.
-
-
en.wikipedia.org en.wikipedia.org
-
A semantic class contains words that share a semantic feature.
-
-
en.wikipedia.org en.wikipedia.org
-
Dictionary writers list polysemes under the same entry; homonyms are defined separately.
This describes how you can tell which one it is by looking at the dictionary entry.
-
Polysemy is thus distinct from homonymy—or homophony—which is an accidental similarity between two words (such as bear the animal, and the verb to bear); while homonymy is often a mere linguistic coincidence, polysemy is not.
-
-
sandradodd.com sandradodd.com
-
It means "You're about to talk about words, but words don't matter."
-
-
api.rubyonrails.org api.rubyonrails.org
-
Third configurable block to run.
I like how they identify in the description which order things run in: 1st, 2nd, 3rd, and last.
Though, it would be more readable to have a list of them, in chronological order, rather than having them listed in alphabetical order.
-
Last configurable block to run. Called after frameworks initialize.
-
-
www.inuse.se www.inuse.se
-
A product’s onceability is, to a certain extent, linked to its usefulness. If it is really useful, we will certainly go to considerable lengths to repair it.
-
-
www.sitepoint.com www.sitepoint.com
-
As to opinions about the shortcomings of the language itself, or the standard run-times, it’s important to realize that every developer has a different background, different experience, different needs, temperament, values, and a slew of other cultural motivations and concerns — individual opinions will always be largely personal and, to some degree, non-technical in nature.
Tags
- runtime environment
- everyone has different preferences
- JavaScript
- good point
- annotation meta: may need new tag
- what is important/necessary for one person may not be for another
- everyone has different background/culture/experience
- software project created to address shortcomings in another project
- non-technical reasons
- +0.9
- software preferences are personal
- reaction / reacting to
Annotators
URL
-
-
github.com github.com
-
I think that's fine, but I also don't particularly care about @mikeycgto's desire to not have the linking comment be present in the minified JS.
-
-
www.codetriage.com www.codetriage.com
-
Before a bug can be fixed, it has to be understood and reproduced. For every issue, a maintainer gets, they have to decipher what was supposed to happen and then spend minutes or hours piecing together their reproduction. Usually, they can’t get it right, so they have to ask for clarification. This back-and-forth process takes lots of energy and wastes everyone’s time. Instead, it’s better to provide an example app from the beginning. At the end of the day, would you rather maintainers spend their time making example apps or fixing issues?
-
-
stackoverflow.com stackoverflow.com
-
The :empty selector refers only to child nodes, not input values. [value=""] does work; but only for the initial state. This is because a node's value attribute (that CSS sees), is not the same as the node's value property (Changed by the user or DOM javascript, and submitted as form data).
-
Generally, CSS selectors refer to markup or, in some cases, to element properties as set with scripting (client-side JavaScript), rather than user actions. For example, :empty matches element with empty content in markup; all input elements are unavoidably empty in this sense. The selector [value=""] tests whether the element has the value attribute in markup and has the empty string as its value. And :checked and :indeterminate are similar things. They are not affected by actual user input.
-
The selector [value=""] tests whether the element has the value attribute in markup and has the empty string as its value.
-
-
stackoverflow.com stackoverflow.com
-
In case you need to verify that object is instance of particular class you have to check constructor with your particular class
-
- Feb 2021
-
www.reddit.com www.reddit.com
-
Anyway, sorry for the short novel. But that's the danger of pithy one-liners: assumed context for the poster can be entirely lost in translation.
-
-
trailblazer.to trailblazer.to
-
Using Track() with a new track semantic only makes sense when using the [:magnetic_to option] on other tasks.
-
-
www.schneems.com www.schneems.com
-
For example, what if your site has a customer interface and an “admin” interface? If the two have totally different designs and features, then it might be considerable overhead to ship the entirety of the admin interface to every customer on the regular site.
-
-
fsharpforfunandprofit.com fsharpforfunandprofit.com
-
(when used thoughtlessly)
-
-
sobolevn.me sobolevn.me
-
Not all cases can be covered and easily restored. And sometimes when we will reuse this function for different use-cases we will find out that it requires different restore logic.
-
So, the sad conclusion is: all problems must be resolved individually depending on a specific usage context. There’s no silver bullet to resolve all ZeroDivisionErrors once and for all. And again, I am not even covering complex IO flows with retry policies and expotential timeouts.
-
-
en.wikipedia.org en.wikipedia.org
-
Software architecture is about making fundamental structural choices that are costly to change once implemented.
-
-
en.wikipedia.org en.wikipedia.org
-
"Open access" refers to toll-free or gratis access to content
not necessarily free content
-
-
stackoverflow.com stackoverflow.com
-
Both kill with a job specifier and terminal signals send to the entire process group, so both the shell and sleep.
-
-
github.com github.com
-
If any of the inputs are invalid, #execute won't be run.
It does staged/pipelined execution/validation.
If any of these stages has any errors, then no other stages will be executed:
- validations on the inputs of the interaction itself
- run execute, which may:
- may use compose, which will (IIUC) abort the entire execute/run early if any of them fail, even if there are later composed interactions still to be run
- may try to save inputs into models, which themselves may have validation errors, which (assuming we use errors.merge), will show up on the
interaction.errors
(but won't abort the rest of theexecute
)
-
There are times where it is useful to know whether a value was passed to run or the result of a filter default. In particular, it is useful when nil is an acceptable value.
Yes! An illustration in ruby:
main > h = {key_with_nil_value: nil} => {:key_with_nil_value=>nil} main > h[:key_with_nil_value] => nil main > h[:missing_key] # this would be undefined in JavaScript (a useful distinction) rather than null, but in Ruby it's indistinguishable from the case where a nil value was actually explicitly _supplied_ by the caller/user => nil # so we have to check for "missingness" ("undefinedness"?) differently in Ruby main > h.key?(:key_with_nil_value) => true main > h.key?(:missing_key) => false
This is one unfortunate side effect of Ruby having only
nil
and no built-in way to distinguish betweennull
andundefined
like in JavaScript. -
When you run this interaction, two things will happen. First ActiveInteraction will type check your inputs. Then ActiveModel will validate them. If both of those are happy, it will be executed.
Failed type checks generate run-time errors. So it's up to the develop to fix these, permanently, since the user can't (99% of time) do anything to fix these.
Failed validations add errors to
interaction.errors
object. These are for the user to fix.
-
-
stackoverflow.com stackoverflow.com
-
The problem is that you what you want is actually not de-structuring at all. You’re trying to go from 'arg1', { hash2: 'bar', hash3: 'baz' }, { hash1: 'foo' } (remember that 'arg1', foo: 'bar' is just shorthand for 'arg1', { foo: 'bar' }) to 'arg1', { hash1: 'foo', hash2: 'bar', hash3: 'baz' } which is, by definition, merging (note how the surrounding structure—the hash—is still there). Whereas de-structuring goes from 'arg1', [1, 2, 3] to 'arg1', 1, 2, 3
-
-
nationalseedproject.org nationalseedproject.org
-
Recognize that all people are both located in systems and also uniquely individual
I love this point, there are so many different places and there is always inequality everywhere.
-
-
www.infoworld.com www.infoworld.com
-
Stating that some language feature or common programming idiom (like accessors) has problems is not the same thing as saying you should never use them under any circumstances.
-
-
softwareengineering.stackexchange.com softwareengineering.stackexchange.com
-
The more important point comes from a program design perspective. Here, "programming to an interface" means focusing your design on what the code is doing, not how it does it. This is a vital distinction that pushes your design towards correctness and flexibility.
-
-
-
DSLs can be problematic for the user since the user has to manage state (e.g. am I supposed to call valid? first or update_attributes?). This is exactly why the #validate is the only method to change state in Reform.
-
The reason Reform does updating attributes and validation in the same step is because I wanna reduce public methods. This is to save users from having to remember state.
I see what he means, but what would you call this (tag)? "have to remember state"? maybe "have to remember" is close enough
Or maybe order is important / do things in the right order is all we need to describe the problem/need.
-
-
-
we get the benefit of isolating request specific logic without cramming it into a ActiveRecord model that will be used in multiple controllers/actions
request-specific logic
-
-
hilton.org.uk hilton.org.uk
-
‘Programs are meant to be read by humans and only incidentally for computers to execute.’
-
Naming matters for both idealogical and practical reasons.
-
-
jakearchibald.com jakearchibald.com
-
Flexbox: content dictates layout
-
-
nplusonemag.com nplusonemag.com
-
cultural capital
Introduced by Pierre Bourdieu in the 1970s, the concept has been utilized across a wide spectrum of contemporary sociological research. Cultural capital refers to ‘knowledge’ or ‘skills’ in the broadest sense. Thus, on the production side, cultural capital consists of knowledge about comportment (e.g., what are considered to be the right kinds of professional dress and attitude) and knowledge associated with educational achievement (e.g., rhetorical ability). On the consumption side, cultural capital consists of capacities for discernment or ‘taste’, e.g., the ability to appreciate fine art or fine wine—here, in other words, cultural capital refers to ‘social status acquired through the ability to make cultural distinctions,’ to the ability to recognize and discriminate between the often-subtle categories and signifiers of a highly articulated cultural code. I'm quoting here from (and also heavily paraphrasing) Scott Lash, ‘Pierre Bourdieu: Cultural Economy and Social Change’, in this reader.
Tags
Annotators
URL
-
- Jan 2021
-
www.freedesktop.org www.freedesktop.org
-
This command should not be confused with the reload command.
-
-
-
What’s the difference between an ad and your recommendation?
-
-
www.impressivewebs.com www.impressivewebs.com
-
Blocks Don’t Need 100% Width When we understand the difference between block-level elements and inline elements, we’ll know that a block element (such as a <div>, <p>, or <ul>, to name a few) will, by default expand to fit the width of its containing, or parent, element (minus any margins it has or padding its parent has).
-
-
css-tricks.com css-tricks.com
-
It’s easy to think of 1fr as being “one part of the space in the grid container” when it is really one part of the space left over.
-
-
github.com github.com
-
github.com github.com
-
www.w3.org www.w3.org
-
Why is CORS important? Currently, client-side scripts (e.g., JavaScript) are prevented from accessing much of the Web of Linked Data due to "same origin" restrictions implemented in all major Web browsers. While enabling such access is important for all data, it is especially important for Linked Open Data and related services; without this, our data simply is not open to all clients. If you have public data which doesn't use require cookie or session based authentication to see, then please consider opening it up for universal JavaScript/browser access. For CORS access to anything other than simple, non auth protected resources
Tags
Annotators
URL
-
-
www.investopedia.com www.investopedia.com
-
A common and simplistic type of statistical testing is a z-test, which tests the statistical significance of a sample mean to the hypothesized population mean but requires that the standard deviation of the population be known, which is often not possible. The t-test is a more realistic type of test in that it requires only the standard deviation of the sample as opposed to the population's standard deviation.
To perform the actual test, we do a z-test or a t-test. For t-tests you need to know the population standard deviation, which is often not possible. T-test only requires standard deviation of a sample, which is more realistic.
-
if the P-test fails to reject the null hypothesis then the test is deemed to be inconclusive and is in no way meant to be an affirmation of the null hypothesis.
Why?
Tags
Annotators
URL
-
-
staging.coursekata.org staging.coursekata.org
-
You must use a laptop or desktop computer You must use Chrome as your browser (we recommend using the most current version) You must allow third-party cookies (a setting in Chrome)
Double anotation
-
- Dec 2020
-
medium.com medium.com
-
This explains how much X varies from its mean when Y varies from its own mean.
Covariance: How much does X vary from its mean when Y varies from its mean.
- Notice that x_i and y_i can be +ve or -ve, therefore their product will also be +ve(x_i deviates in +ve direction away from mean and y_i also deviates in +ve direction away from mean or they both deviate negatively away from the mean) or -ve(x_i deviates +vely and y_i deviates -vely from the mean and viceversa). We then sum all of the products up. A +ve covariance will indicate that on average the values had a +ve linear relationship, -ve indicates a -ve linear relationship, and 0 indicates that all products cancelled out which means they were equally +ve and -ve relationships, and therefore no overall relatonship.
-
-
www.codingwithjesse.com www.codingwithjesse.com
-
People really don't stress enough the importance of enjoying what you're programming. It aids creativity, makes you a better teammate, and makes it significantly easier to enter a state of flow. It should be considered an important factor in choosing a web development framework (or lack thereof). Kudos!
-
-
github.com github.com
-
These are sequential because build:ssr imports the public/index.html that build:dom produces.
-
- Nov 2020
-
stackoverflow.com stackoverflow.com
-
delete will only work on properties whose descriptor marks them as configurable.
-
The delete operator does not directly free memory, and it differs from simply assigning the value of null or undefined to a property, in that the property itself is removed from the object.
-
-
github.com github.com
-
It is very important that "production ready" UI libraries are available because otherwise the use of Svelte cannot be argued. A key point would be to make it easy possible that people can contribute
-
After i've stabilized the library i can start to discuss about adding new components and features!
-
I agree, it would be great to join forces and speed up development... Svelte really needs one safe material library option.
-
-
www.iubenda.com www.iubenda.com
-
this in particular comes from the addressee
I think the ruling's main point/distinction here is that while submitting a form might be getting consent from the addressee (the person submitting form might be the addressee, if they own the e-mail address they entered), but we can't know that for sure until they confirm by clicking a link in the e-mail.
Only then do we know for sure that the actor submitting the form was the addressee and that the consent ostensibly received via the form was in fact from the addressee. But it could otherwise be the case that they entered someone else's address, and you can't give consent on behalf of someone else!
-
-
github.com github.com
-
To bundle this in your own code, use a Sass processor (not a Sass Svelte preprocessor, but a Sass processor)
-
-
material.io material.ioRally1
-
Overshoot is used on important dialogs to convey a sense of urgency.
-
-
www.npmjs.com www.npmjs.com
-
This module should not be used in other npm modules since it modifies the default require behavior! It is designed to be used for development of final projects i.e. web-sites, applications etc.
-
-
stackoverflow.com stackoverflow.com
-
The resolving process is basically simple and distinguishes between three variants: absolute path: require("/home/me/file") relative path: require("../src/file") or require("./file") module path: require("module/lib/file")
Very important distinction
-
-
en.wikipedia.org en.wikipedia.org
-
The meaning of the word "modularity" can vary somewhat based on context. The following are contextual examples of modularity across several fields of science, technology, industry, and culture:
-
-
webpack.js.org webpack.js.orgConcepts1
-
We expect a certain pattern when validate devtool name, pay attention and dont mix up the sequence of devtool string. The pattern is: [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map.
-
-
css-tricks.com css-tricks.com
-
Using as * adds a module to the root namespace, so no prefix is required, but those members are still locally scoped to the current document.
distinction:
- root namespace (so no prefix is required), but
- locally scoped (to the current document)
-
-
github.com github.com
-
This is linux. Ouput first, formatting second. systemctl --no-pager -l should be the default.
-
- Oct 2020
-
www.basefactor.com www.basefactor.com
-
You may want to execute validations in a given specific order (this can be tricky especially when you have got asynchronous validations).
-
-
svelte.dev svelte.dev
-
-
-
This is a philosophical issue, I think. People (and presumably form libraries) have different definitions of what "dirty" means. Yours: "The field has ever been edited" Mine: "The value of the field is different from the initial value"
-
-
github.com github.com
-
For performance reasons, $: reactive blocks are batched up and run in the next microtask. This is the expected behavior. This is one of the things that we should talk about when we figure out how and where we want to have a section in the docs that goes into more details about reactivity. If you want something that updates synchronously and depends on another value, you can use a derived store:
-
-
link.springer.com link.springer.com
-
In so doing, we argue that learning analytics needs to build on and better connect with the existing body of research knowledge about learning and teaching.
That's the key.
-
-
medium.com medium.com
-
First of all, we solved our problem! As demonstrated here our app is happily running again.
-
-
-
Yeah I see what you're saying. In my case, I had a group of classes that relied on each other but they were all part of one conceptual "module" so I made a new file that imports and exposes all of them. In that new file I put the imports in the right order and made sure no code accesses the classes except through the new interface.
-
-
github.com github.com
-
Doing so also means adding empty import statements to guarantee correct order of evaluation of modules (in ES modules, evaluation order is determined statically by the order of import declarations, whereas in CommonJS – and environments that simulate CommonJS by shipping a module loader, i.e. Browserify and Webpack – evaluation order is determined at runtime by the order in which require statements are encountered).
Here: dynamic loading (libraries/functions) meaning: at run time
-
Specifically, since Root, Rule and AtRule all extend Container, it's essential that Container is evaluated (and therefore, in the context of a Rollup bundle, included) first. In order to do this, input.js (which is the 'gateway' to all the PostCSS stuff) must import root.js, root.js must import rule.js before it imports container.js, and rule.js must import at-rule.js before it imports container.js. Having those imports ensures that container.js doesn't then try to place Root, Rule or AtRule ahead of itself in the bundle.
-
Replaced nested `require` statements with `import` declarations for the sake of a leaner bundle. This entails adding empty imports to three files to guarantee correct ordering – see https://github.com/styled-components/styled-components/pull/100
-
-
medium.com medium.com
-
Modules from the following layer can require anything from all the previous layers, but not vice versa.
-
-
stackoverflow.com stackoverflow.com
-
Omitted details change everything here. There won't be circular dependency because unused import is skipped. Consider providing stackoverflow.com/help/mcve .
-
-
m5qwxpr6o8.csb.app m5qwxpr6o8.csb.app
-
Note that the <WarningEngine/> component must be at the bottom of the form to guarantee that all the fields have registered.
-
-
hyperreal.enterprises hyperreal.enterprises
-
Our long-term vision is computational intelligence based on collective intelligence.
Though, given the 1.5° C buffer, it may not be very suitable to have a "long term view" that doesn't take account of climate change & human adaptation. So, maybe this needs to be re-jigged around a "why" that is much more pressing than just the hedonistic interest in learning stuff. Furthermore part of an answer to this concern is going to be through "social networks" not just in "scientific computing."
-
-
www.onwebsecurity.com www.onwebsecurity.com
-
Encoding is dependent on the type of output - which means that for example a string, which will be used in a JavaScript variable, should be treated (encoded) differently than a string which will be used in plain HTML.
-
-
2ality.com 2ality.com
-
trusktr herman willems • 2 years ago Haha. Maybe React should focus on a template-string syntax and follow standards (and provide options for pre-compiling in Webpack, etc).
Well anywho, there's other projects now like hyperHTML, lit-html, etc, plus some really fast ones: https://www.stefankrause.ne...
React seems a little old now (and the new Hooks API is also resource heavy).
• Share ›  Michael Calkins trusktr • 4 years ago • edited That's a micro optimization. There isn't a big enough difference to matter unless you are building a game or something extraordinarily odd.
• Share › −  trusktr Michael Calkins • 2 years ago True, it matters if you're re-rendering the template at 60fps (f.e. for animations, or for games). If you're just changing views one time (f.e. a URL route change), then 100ms won't hurt at all.
-
-
facebook.github.io facebook.github.io
-
Balanced named tags is a critical syntactic feature of the XML-style notation.
-
-
www.python.org www.python.org
-
A style guide is about consistency. Consistency with this style guide is important. Consistency within a project is more important. Consistency within one module or function is the most important.
-
-
docs.google.com docs.google.com
-
But it’s really hard to see, because our human brains struggle to think about this Clock function as something for generating discrete snapshots of a clock, instead of representing a persistent thing that changes over time.
-
-
reactjs.org reactjs.org
-
The clean-up function runs before the component is removed from the UI to prevent memory leaks. Additionally, if a component renders multiple times (as they typically do), the previous effect is cleaned up before executing the next effect. In our example, this means a new subscription is created on every update.
Tags
Annotators
URL
-
-
Local file Local file
-
The contrast between these two responses reveals a shift from projection onto an object to engagement with a subject
how do you differentiate the lien between projection between an object and engagement to a subject
-
human habit of making assump-tions based on perceptions of behavior
in what other ways is this concept being used?
-
people did not care if their life narratives were really understood. The act of telling them created enough meaning on its own
just having something on the other end "listening" was very important to the majority of the students
-
trust in Eliza did not speak to what they thought Eliza would understand but to their lack of trust in the people who would understand.
talking to a machine because if it weren't a machine, can't trust the type of feedback or what were to come after
-
human purposes of believable digital companions that are evocative but not authentic.
evocative because to get any relation from robot you have to think about yourself and it is stimulating, however, it lacks authenticity because there is no sense of loss other than loss of self
-
The feelings they elicit will reflect human vulnerabilities more than ma-chine capabilities
because the robots reflect what they are taught, they reflect the flaws in their mentors and reflect human incapabilities more than showing their machine possibilities
-
by the time we face the reality of computational devices that are indistinguishable from people, and thus able to pass our own Turing test, we will no longer care about the test.
we live in a simulation idea why does it matter if it makes us happy (down the line)
it should matter what we take away from the experience over the medium of which we receive it from
-
“When I wake up in the morning and see her face [the robot’s] over there, it makes me feel so nice, like somebody is watching over me.”
why does the robot carry a presence without action? do the roles we assign it carry over more than we consciously realize
-
-
cache.media.eduscol.education.fr cache.media.eduscol.education.fr
-
l’intérieur des locaux scolaires
-
-
-
There's one downside to Reacts reactivity model - the hooks (useState and useEffect) have to always be called in the same order and you can't put them inside an if block.
-
createState and createSignal are improvements over React's useState as it doesn't depend on the order of calls.
-
-
-
The readable store takes a function as a second argument which has its own internal set method, allowing us to wrap any api, like Xstate or Redux that has its own built in subscription model but with a slightly different api.
-
-
outline.com outline.com
-
“every courageous and incisive measure to solve internal problems of our own society, to improve self-confidence, discipline, morale and community spirit of our own people, is a diplomatic victory over Moscow worth a thousand diplomatic notes and joint communiqués. If we cannot abandon fatalism and indifference in the face of deficiencies of our own society, Moscow will profit.”
Perhaps the best defense against active measures is a little bit of activism of our own
-
-
www.fcpe.asso.fr www.fcpe.asso.fr
-
exclusivement, sous peine de nullité
Page 3
-
-
meta.stackoverflow.com meta.stackoverflow.com
-
Those banners should really be reserved for the important stuff. Because they're not, I've developed a reflex to immediately close those banners without paying attention. It's almost the same as blocking it with an ad-blocker; which defies the (original) purpose of banners.
-
- Sep 2020
-
stackoverflow.com stackoverflow.com
-
Your problem is that you were returning the rejected loginDaoCall, not the promise where the error was already handled. loginApi.login(user, password) did indeed return a rejected promise, and even while that was handled in another branch, the promise returned by the further .then() does also get rejected and was not handled.
-
-
svelte.dev svelte.dev
-
Auto-subscription only works with store variables that are declared (or imported) at the top-level scope of a component.
-
-
svelte.dev svelte.dev
-
let:hovering={active}
It seems like it should be the other way around:
let:active={hovering}
to make it look like a regular let assignment.
It's only when you consider what/how
let:hovering
on its own means/works that it makes a bit more sense that it is the way it is. When it's on its own, it's a little clearer that it's saying to "make use of" an available slot prop having the given name. (Very much likebind
, where the LHS is also the name of the prop we're getting the data from.) Obviously we have to identify which prop we're wanting to use/pull data from, so that seems like the most essential/main/only thing the name could be referring to. (Of course, as a shortcut (in this shorthand version), and for consistency, it also names the local variable with the same name, but it wouldn't have to.)Another even simpler way to remember / look at it:
- Everything on the left hand of an prop/attribute [arg] corresponds to something in the component/element that you're passing the [arg] to. Usually it's a prop that you're passing in, but in this case (and in the case of bind:) it's more like a prop that you're pulling out of that component, and attaching to. Either way, the name on the LHS always corresponds to an
export let
inside that named component. - Everything on the right side corresponds to a name/variable in the local scope. Usually it passes the value of that variable, but in the case of a let: or bind: it actually "passes the variable by reference" (not the value) and associates that local variable with the LHS (the "remote" side).
Another example is bind: You're actually binding the RHS to the value of the exported prop named on the LHS, but when you read it (until you get used to it?) it can look like it's saying bind a variable named LHS to the prop on the RHS.
- Everything on the left hand of an prop/attribute [arg] corresponds to something in the component/element that you're passing the [arg] to. Usually it's a prop that you're passing in, but in this case (and in the case of bind:) it's more like a prop that you're pulling out of that component, and attaching to. Either way, the name on the LHS always corresponds to an
-
-
engineering.mixmax.com engineering.mixmax.com
-
User experience above all
-
balancing developer and user experience
-
-
rollupjs.org rollupjs.orgRollup1
-
Rollup will only resolve relative module IDs by default.
Tags
Annotators
URL
-
-
medium.com medium.com
-
But library users are more numerous, and so their needs are more important.
-
-
github.com github.com
-
If calling query() results in calls to Svelte's context API, then it needs to be called synchronously during component initialization.
-
-
github.com github.com
-
feel like there needs to be an easy way to style sub-components without their cooperation
-
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.
Tags
- quotable
- trying to prevent one bad thing leading to people doing/choosing an even worse option
- key point
- interesting wording
- how to affect child component components without their cooperation
- Svelte: how to affect child component styles
- missing out on the benefits of something
- +0.9
- important point
- Svelte: CSS encapsulation
- arbitrary limitations leading to less-than-ideal workarounds
- control (programming)
Annotators
URL
-
-
github.com github.com
-
This has the merit of simplicity and obviousness, but it's not particularly ergonomic: it signals that we don't consider component themeability to be a problem worth solving properly.
-
-
svelte-native.technology svelte-native.technology
-
Notice that all tags start with a lower case letter. This is different to other NativeScript implementations. The lower case letter lets the Svelte compiler know that these are NativeScript views and not Svelte components. Think of <page> and <actionBar> as just another set of application building blocks like <ul> and <div>.
Tags
Annotators
URL
-
-
svelte.dev svelte.dev
-
In fact, you might use the two together. Since context is not reactive, values that change over time should be represented as stores:
-
- Aug 2020
-
digest.bps.org.uk digest.bps.org.uk
-
Small Pleasures Are Just As Important For Our Wellbeing As Long-Term Goals. (2020, August 17). Research Digest. https://digest.bps.org.uk/2020/08/17/small-pleasures-are-just-as-important-for-our-wellbeing-as-long-term-goals/
-
-
en.wikipedia.org en.wikipedia.org
-
In graph theory, a tree is a connected acyclic graph; unless stated otherwise, in graph theory trees and graphs are assumed undirected. There is no one-to-one correspondence between such trees and trees as data structure.
-