- Oct 2022
-
-
Note: For keyword parameters, use @param, not @option.
I sure was looking for @option (knowing already about @param) and assuming/expecting that (if it exists) it would totally be the right thing to use for documenting keyword parameters. So I was quite surprised to see this much-needed warning (for me and others like me who came here expecting/assuming the same thing).
-
- Sep 2022
-
jonathancrozier.com jonathancrozier.com
-
For example, let’s consider the type property. For most of the projects I am working on, it isn’t practical to have a webpage dedicated to each type of possible error.
That's not required. The standard doesn't require this to be a URL locator — merely a URI! So you can just make up a URI and use it even if it's not resolvable. ... like you did for the URN below.
-
- May 2022
-
brians.wsu.edu brians.wsu.edu
-
It never makes sense to say “I am suspect that. . . .”
-
- Mar 2022
-
twitter.com twitter.comTwitter1
-
ReconfigBehSci. (2022, January 6). RT @GidMK: Perhaps unsurprisingly, this is an absolutely awful study filled with issues and numeric mistakes https://t.co/hvEv5gMMn2 [Tweet]. @SciBeh. https://twitter.com/SciBeh/status/1478987492552589314
-
- Jan 2022
-
stackoverflow.com stackoverflow.com
-
test2 being marked async does wrap your return value in a new promise:
-
-
-
In fact, most people believe that to build a RESTful API you can simply create an API based on URLs and HTTP verbs. This is absolutely false. This misunderstanding is going around for too long.
-
-
www.theguardian.com www.theguardian.com
-
McKie, R. (2022, January 2). Britain got it wrong on Covid: Long lockdown did more harm than good, says scientist. The Observer. https://www.theguardian.com/world/2022/jan/02/britain-got-it-wrong-on-covid-long-lockdown-did-more-harm-than-good-says-scientist
-
- Dec 2021
-
log.schemescape.com log.schemescape.com
-
JavaScript is actually surprisingly fast because the demand for fast web browsers is huge
Another way of saying that the use of V8 means that JS isn't actually an "interpreted language" (not that that's even a real thing).
-
- Oct 2021
-
twitter.com twitter.com
-
Kenneth Baillie. (2021, October 27). When a healthcare system fails, increasing numbers of people suffer and die needlessly. That’s all. If you aren’t a patient or staff, you don’t see it. But this is happening, now, all over the UK. 2/n [Tweet]. @kennethbaillie. https://twitter.com/kennethbaillie/status/1453422360795680769
-
- Sep 2021
-
stackoverflow.com stackoverflow.com
-
I still don't understand the difference between a script and a module
-
-
twitter.com twitter.com
-
Sir Patrick Vallance. (2021, July 19). Correcting a statistic I gave at the press conference today, 19 July. About 60% of hospitalisations from covid are not from double vaccinated people, rather 60% of hospitalisations from covid are currently from unvaccinated people. [Tweet]. @uksciencechief. https://twitter.com/uksciencechief/status/1417204235356213252
-
- Aug 2021
-
www.timeanddate.com www.timeanddate.com
-
Caution: This is NOT the current local time in most locations in that time zone North America: Only some locations are currently on MST because most places in this time zone are currently on summer time / daylight saving time and are observing MDT.
-
- May 2021
-
en.wikipedia.org en.wikipedia.org
-
Historically, the uncertainty principle has been confused[5][6] with a related effect in physics, called the observer effect, which notes that measurements of certain systems cannot be made without affecting the system, that is, without changing something in a system.
-
-
stackoverflow.com stackoverflow.com
-
You may want to try putting the one-liner (everything in the single quotes) in an actual script, with a bash shebang line. I think filter-branch is probably trying to run this in sh, not bash.
-
-
twitter.com twitter.com
-
ReconfigBehSci. (2020, November 18). @danielmabuse yes, we all make mistakes, but a responsible actor also factors the kinds of mistakes she is prone to making into decisions on what actions to take: I’m not that great with my hands, so I never contemplated being a neuro-surgeon. Not everyone should be a public voice on COVID [Tweet]. @SciBeh. https://twitter.com/SciBeh/status/1329002783094296577
-
- Apr 2021
-
unix.stackexchange.com unix.stackexchange.com
-
I just wanted to point out that the syntax is not supported by the POSIX standard and thus won't universally work in /bin/sh scripts (many people erroneously use bash syntax in /bin/sh scripts)
-
-
boardgamegeek.com boardgamegeek.com
-
The reviewer made a mistake, either in actual play or just in writing the review.
-
-
math.libretexts.org math.libretexts.org
-
This line is incorrect. Multiplication does distribute over substraction as well eg: \(7 \times (3-4) ?= (7 \times 3) - (7 \times 4)\) $$ 7 \times (-1) ?= 21 - 28 $$ $$ -7 eq -7 $$
-
- Mar 2021
-
www.nytimes.com www.nytimes.com
-
“That was not predicted,” said Joel Hirschi, principal scientist at the centre and senior author of the research. It highlights how current seasonal forecasting models are unable to predict these warm summers. And it underscores the paradox that, far from ushering in a frigid future for, say, Paris, a cooler North Atlantic might actually make France’s summers more like Morocco’s.
As in the paragraph above, here the long-term warming hole has been conflated with the short-term North Atlantic cold anomaly, which are phenomena with very different timescales and causes.
Predicting future short-term North Atlantic cold anomalies and subsequent possible heat waves would be done using seasonal forecasting models. Predicting the longer-term impacts of an AMOC slowdown would be done using climate models run under different emissions scenarios.
Conflating the two mechanisms and timescales has resulted in some confusion in this part of the article.
-
Scientists at the U.K.’s National Oceanography Centre have somewhat counterintuitively linked the cold blob in the North Atlantic with summer heat waves in Europe. In 2015 and 2018, the jet stream, a river of wind that moves from west to east over temperate latitudes in the northern hemisphere, made an unusual detour to the south around the cold blob. The wrinkle in atmospheric flow brought hotter-than-usual air into Europe, they contend, breaking temperature records.
Here, the decadal-scale warming hole that is possibly linked to AMOC slowdown has been conflated with the shorter-term cold anomaly that featured record low North Atlantic sea surface temperatures in 2015.
The authors of the NOC study are careful to make this distinction in their article:
It is important to distinguish between this long-term warming hole and the short-term 2015 cold anomaly that is the focus of our study.
The long-term warming hole that is the focus of this New York Times article is not the same thing as the short-term 2015 cold anomaly. The two phenomena have very different timescales and different causes. Current understanding suggests that the short-term 2015 cold anomaly was caused by successive winters with extreme heat loss, i.e. it was largely driven by changes in air-sea heat exchange. The longer-term warming hole may have been caused by the AMOC slowdown, as discussed in this article.
For more information on the 2015 cold anomaly and its causes, see this review article led by Simon Josey.
-
- Feb 2021
-
trailblazer.to trailblazer.to
-
So, whenever you hear the medieval argument “Trailblazer is just a nasty DSL!”, forgive your opponent, you now know better. The entire framework is based on small, clean Ruby structures that can be executed programmatically.
-
-
isthereanydeal.com isthereanydeal.com
-
Historical LowSteam on 2020-05-100% off$0.00
If you zoom in on the timeline, it looks like they accidentally set price to $0.00 (probably meant to set discount to 0 instead?) and then corrected it.
17:16: 0% off of $0.00 17:23: 0% off of $19.99
Having this mistake/outlier shown as the historical low is misleading and confusing and incorrect, and should be corrected.
-
- Jan 2021
-
github.com github.com
-
I've reproduced, in a very simple way, what I would like it to do: https://svelte.dev/repl/2b0b7837e3ba44b5aba8d7e774094bb4?version=3.19.1
This is the same URL as the original example given in issue description.
I'm guessing what happened is they started with that one, made some changes, and then I think they must have forgot to save their modified REPL (which would have generated a new, unique URL).
-
- Dec 2020
-
stackoverflow.com stackoverflow.com
-
I changed if (value) { to if (typeof value !== "undefined") { as it was skipping some keys
-
- Nov 2020
-
stackoverflow.com stackoverflow.com
-
but IMHO this is not very readable and error prone
is not very readable and is error prone
-
- Oct 2020
-
github.com github.com
-
Anti-Features
I don't think this is what Anti-Features means. Here he's listing things that this tool lacks, some of them being good things, like the "Does not require updating every time a new Ruby version comes out". That's a feature, not an anti-feature!
Check out how F-Droid uses the term. Anti-feature means things that are present that aren't wanted. Undesirable "features" that are present.
Unless they are just implying (but not explicitly saying):
Anti-features that are not included
Tags
Annotators
URL
-
-
medium.com medium.com
-
In a large code base, this will result in moving imports randomly around until stuff just happens to work. Which is often only temporary, as a small refactoring or change in import statements in the future can subtly adjust the module loading order, reintroducing the problem.
-
-
stackoverflow.com stackoverflow.com
-
Looks like the problem is that debounce defaults to waiting for 0 ms ... which is completely useless!
It would be (and is) way to easy to omit the 2nd parameter to https://lodash.com/docs/4.17.15#debounce.
Why is that an optional param with a default value?? It should be required!
There must be some application where a delay of 0 is useless. https://www.geeksforgeeks.org/lodash-_-debounce-method/ alludes to / implies there may be a use:
When the wait time is 0 and the leading option is false, then the func call is deferred until to the next tick.
But I don't know what that use case is. For the use case / application of debouncing user input (where each character of input is delayed by at least 10 ms -- probably > 100 ms -- a delay of 0 seems utterly useless.
-
It looks like you accidentally passed resolve() (immediately invoking the function) directly to setTimeout rather than passing a function to invoke it. So it was being resolved immediately instead of after a 1000 ms delay as intended.
I guess this is the "immediately invoked function" problem.
Not to be confused with: immediately invoked function expression. (Since it is a regular named function and not a function expression.)
-
You should not create a new debounce function on every render with: return new Promise(resolve => { debounce(() => resolve(this.getIsNameUnique(name)), 2000); }); Instead you should just wrap your whole function isNameUnique with the debounce (see my sandbox). By creating a new debounce function on every hit, it cannot 'remember' that is was called or that is will be called again. This will prevent the debouncing.
-
-
stackoverflow.com stackoverflow.com
-
_.debounce creates a function that debounces the function that's passed into it. What your s.search function is doing is calling _.debounce all over again every time s.search is called. This creates a whole new function every time, so there's nothing to debounce.
-
I run s.search() by typing into an input box, and if I type gibberish very quickly, the console prints out "making search request" on every key press, so many times per second -- indicating that it hasn't been debounced at all.
-
they're not invoking the function that _.debounce returns
-
-
dylanvann.com dylanvann.com
-
When using React hooks there is no concept of onMount because the idea of only running some code on mount leads to writing non-resilient components, components that do one thing when they mount, and then don’t take prop changes into account.
-
- Sep 2020
-
-
Just throwing in <div class="{$$props.class || ''} otherChildClass"></div> seems the easiest, and it'll avoid undefined classes. I feel like many aren't noticing the undefined values getting inserted in their classes.
-
- Aug 2020
-
meta.stackexchange.com meta.stackexchange.com
-
If we've gone more than a year without this being a problem in the slightest, I don't see how the next year would be any different.
-
Can't upvote this enough. It is highly irritating to see language destroyed (and we wonder why kids bastardize the language..).
Tags
- fallacy: because we've allowed a mistake to exist this long; we should continue to allow it
- combating widespread incorrectness/misconception by consistently doing it correctly
- even if majority makes a mistake; it doesn't make it correct
- perpetuation
- example of: using incorrect terms
- hoping/trying to convince others that your view/opinion/way is right by consistently sticking to it despite many being ignorant/mistaken/unaware/holding different opinion
- correctness
Annotators
URL
-
-
english.stackexchange.com english.stackexchange.com
-
my point is that using "into" in such a case is just as incorrect as using "inas" would be. The fact that people make mistakes doesn't change this.
"Log in" is the only correct way to spell the verb, and the only way to be consistent with 1000s of other phrasal verbs that are spelled with a space in them.
We don't need nor want an exception to the general rule just for "login" just because so many people have made that mistake.
-
- Jul 2020
-
twitter.com twitter.com
-
Ed Conway on Twitter: “Breaking: UK government was routinely overstating the total number of people who’d been tested for #COVID19 by as many as 200,000 at the height of the coronavirus pandemic, according to new Sky News analysis.” / Twitter. (n.d.). Twitter. Retrieved July 17, 2020, from https://twitter.com/EdConwaySky/status/1281652670000844800
-
- May 2020
-
www.civicuk.com www.civicuk.com
-
ever present icon
Should be "ever-present"
Tags
Annotators
URL
-
-
developers.google.com developers.google.com
-
Although it can minimize the overhead of third-party tags, it also makes it trivial for anyone with credentials to add costly tags.
-
-
www.iubenda.com www.iubenda.com
-
except, as anticipated a little earlier, any custom services
This seems like it might not be the correct way to use "anticipated". Seems like it is meaning "as mentioned earlier". Certainly an uncommon usage, anyway.
-
- Apr 2020
-
makandracards.com makandracards.com
-
Common misuse example and how to fix it
-
A common mistake is to see those escaped angle brackets, and "improve" the helper by making everything html_safe:
-
-
github.com github.com
-
Remember to call super in any subclasses that override teardown.
And yet the Rails core chose not to use RSpec, citing how it would be too easy to write
subject == expected
on accident?
-
-
stackoverflow.com stackoverflow.com
-
fallback
fall back
-
-
arxiv.org arxiv.org
-
∈Ck
this sum was over all points in the training set in the previous step, and now it's over all points ?
Just think of the case where the partition C_i is made up of singletons, one for each possible point. Then, the robustness would be zero, but the generalizatoin error bound doesn't seem right then.
This made me suspect there may be something wrong, and I think it could be at this step. If we kept the sum to be over training sets, now we can;t upper bound the result by the max in the next two lines, I think!
-
-
en.wikipedia.org en.wikipedia.org
-
the ordinal indicators should be distinguishable from superscript characters
-
frequent mistake is to confuse the degree sign U+00B0 (°) with the masculine ordinal indicator
-
-
github.com github.com
-
Different OS' have
Tags
Annotators
URL
-
- Feb 2020
-
www.econometrics-with-r.org www.econometrics-with-r.org
-
1947 to 2004
Incorrect. The data is actually from 1957:2013
Tags
Annotators
URL
-
-
www.econometrics-with-r.org www.econometrics-with-r.org
-
assume that the average class in a district has 252525 students
Assume that average student-to-teacher ratio in a district is 25 students. In regression model our dependent variable is student to teacher ratio not the size of the class. That's why, when we want to make a prediction we should take correct value for our explanatory variable.
P.S. what is written would be correct if every class has one and only one teacher.
-
- Jan 2020
-
www.red-gate.com www.red-gate.com
-
Please do not make the mistake of trying to reduce the HAVING clause with a little false relational algebra to: 1 HAVING COUNT(PS1.plane_name) = COUNT(H1.plane_name) because it does not work; it will tell you that the hangar has (n) planes in it and the pilot_name is certified for (n) planes, but not that those two sets of planes are equal to each other.
-
- Nov 2019
-
kentcdodds.com kentcdodds.com
-
Because they're more integrated and try to serialize an incomplete system (e.g. one with some kind of side effects: from browser/library/runtime versions to environment to database/API changes), they will tend to have high false-negatives (failing test for which the production code is actually fine and the test just needs to be changed). False negatives quickly erode the team's trust in a test to actually find bugs and instead come to be seen as a chore on a checklist they need to satisfy before they can move on to the next thing.
-
- May 2019
-
lithub.com lithub.com
-
If we’re speaking of garden-variety errors, the most common error I’ve observed that manages to get past any number of sets of expert eyes and wind up printed in books is the use of “lead” where “led” is meant—that is, the past tense of the verb “to lead.”
-
They mistake the apostrophe for a piece of punctuation when it is a spelling issue.
-
- Oct 2018
-
www.kom.tu-darmstadt.de www.kom.tu-darmstadt.de
-
recomendation
recommendation
-
ddatabases
databases
-
contnet
content
-
sematnic realions betweemn
semantic relations betweens
-
prject
project
-
rst-hand
first-hand
Tags
Annotators
URL
-
- Mar 2018
-
runestone.academy runestone.academy
-
Figure 3 illustrates a tree that fits definition one
node1 has 3 children, so the tree doesn't fit the Definition One.
-
- Feb 2018
-
82.196.4.233:3838 82.196.4.233:3838
-
cores
scores
Tags
Annotators
URL
-
- Jul 2017
-
www.theguardian.com www.theguardian.com
-
Over the period in which the US has reduced public funding per student, the pattern has entrenched itself. It’s too early in Great Britain’s experiment with tuition-based university funding to see the divergence - but under the current model it will happen. The real difference between the US and British systems is that Great Britain can still easily fix its higher education mistake.
So, no way out for the US at this point...
-
-
- May 2016
-
christmind.info christmind.info
-
12All power and its use is but so much recognition and understanding of the use of My Will.Your will and all your powers are only phases of My Will, which I supply to suit your capacityto use it.Were I to entrust you with the full power of My Will, before you know how consciously to useit, it would annihilate your body utterly.To test your strength and more often to show you what the misuse of My Power does to you, I attimes allow you to commit a sin, so-called, or to make a mistake. I even permit you to becomeinflated with the sense of My Presence within you, when It manifests as a consciousness of MyPower, My Intelligence, My Love; and I let you take these and use them for your own personalpurposes. But not for long -- for, not being strong enough to control them, they soon take the bitin their teeth, run away with you, throw you down in the mire, and disappear from yourconsciousness for the time being.
"All power and its use is but so much recognition and understanding of the use of My Will.Your will and all your powers are only phases of My Will, which I supply to suit your capacity to use it."
"Were I to entrust you with the full power of My Will, before you know how consciously to use it, it would annihilate your body utterly."
I need to surrender fully and consciously Be the Impersonal Self so as Gods Love, the power of God can flow through this vessel unimpeded.........
So called sins and mistakes are only my learning, fashioning to build true strength in this body mind so as to allow the the power and Love of God to flow through matter.....
There is only the Will of God..
-