50 Matching Annotations
  1. Mar 2021
    1. 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

    1. “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.

    2. 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.

  2. Feb 2021
    1. 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.
    1. 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.

  3. Jan 2021
    1. 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).

  4. Dec 2020
  5. Nov 2020
  6. Oct 2020
    1. 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

    1. 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.
    1. 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.

    2. 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.)

    3. 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.
    1. _.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.
    2. 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.
    3. they're not invoking the function that _.debounce returns
    1. 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.
  7. Sep 2020
    1. 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.
  8. Aug 2020
    1. 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.

  9. Jul 2020
  10. May 2020
    1. 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.

  11. Apr 2020
    1. 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?

    1. ∈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!

  12. Feb 2020
    1. 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.

  13. Jan 2020
    1. 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.
  14. Nov 2019
    1. 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.
  15. May 2019
    1. 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.”
    2. They mistake the apostrophe for a piece of punctuation when it is a spelling issue. 
  16. Oct 2018
  17. Mar 2018
  18. Feb 2018
  19. Jul 2017
    1. 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...

  20. May 2016
    1. 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..