290 Matching Annotations
  1. Last 7 days
    1. Other examples of tech stacks that are very stable are C, C++, and Fortran.

      Category error; C, C++, and Fortran are programming languages, not tech stacks.

  2. Aug 2022
    1. I avoided using languages that I don't know how to bootstrap like node.js

      There's a weird (read: "weirdly obvious") category error here. NodeJS is not a language. (This wouldn't be so notable if the comment didn't go on to say "The key point is writing to an interface and not an implementation.")

      The puzzle piece that fits the shape of the hole here is "JS". JS is the language, NodeJS is one of its implementations—and chubot knew both of these things already, so it's odd that it was expressed this way. Plus, there's a lot more diversity of JS implementations than exist for e.g. Python...

    1. they're called objects, and everybody has them

      Even most ostensible FP practitioners who swear they don't.

  3. Jul 2022
    1. Yes, it’s making it easier than ever to write code collaboratively in the browser with zero configuration and setup. That’s amazing! I’m a HUGE believer in this mission.

      Until those things go away.

      A case study: DuckDuckHack used Codio, which "worked" until DDG decided to call it a wrap on accepting outside contributions. DDG stopped paying for Codio, and because of that, there was no longer an easy way to replicate the development environment—the DuckDuckHack repos remained available (still do), but you can't pop over into Codio and play around with it. Furthermore, because Codio had been functioning as a sort of crutch to paper over the shortcomings in the onboarding/startup process for DuckDuckHack, there was never any pressure to make sure that contributors could easily get up and running without access to a Codio-based development environment.

      It's interesting that, no matter how many times cloud-based Web IDEs have been attempted and failed to displace traditional, local development, people keep getting suckered into it, despite the history of observable downsides.

      What's also interesting is the conflation of two things:

      1. software that works by treating the Web browser as a ubiquitous, reliable interpreter (in a way that neither /usr/local/bin/node nor /usr/bin/python3 are reliably ubiquitous)—NB: and running locally, just like Node or Python (or go build or make run or...)—and

      2. the idea that development toolchains aiming for "zero configuration and setup" should defer to and depend upon the continued operation of third-party servers

      That is, even though the Web browser is an attractive target for its consistency (in behavior and availability), most Web IDE advocates aren't actually leveraging its benefits—they still end up targeting (e.g.) /usr/local/bin/node and /usr/local/python3—except the executables in question are expected to run on some server(s) instead of the contributor's own machine. These browser-based IDEs aren't so browser-based after all, since they're just shelling out to some non-browser process (over RPC over HTTP). The "World Wide Wruntime" is relegated to merely interpreting the code for a thin client that handles its half of the transactions to/from said remote processes, which end up handling the bulk of the computing (even if that computing isn't heavyweight and/or the client code on its own is full of bloat, owing to the modern trends in Web design).

      It's sort of crazy how common it is to encounter this "mental slippery slope": "We can lean on the Web browser, since it's available everywhere!" → "That involves offloading it to the cloud (because that's how you 'do' stuff for the browser, right?)".

      So: want to see an actual boom in collaborative development spurred by zero-configuration dev environments? The prescription is straightforward: make all these tools truly run in the browser. The experience we should all be shooting for resemble something like this: Step 1: clone the repo Step 2: double click README.html Step 3: you're off to the races—because project upstream has given you all the tools you need to nurture your desire to contribute

      You can also watch this space for more examples of the need for an alternative take on working to actually manage to achieve the promise of increased collaboration through friction-free (or at least friction-reduced) development: * https://hypothes.is/search?q=%22the+repo+is+the+IDE%22 * https://hypothes.is/search?q=%22builds+and+burdens%22

    1. 70% accurate for cases (i.e., 70% sensitive) but 50% accurate overall

      0.7^2 + 0.3^2 > 0.5

      Overall accuracy is 50% to 100%, depending on proportion

    2. These data demonstrate the bias-variance tradeoff of different cross-validation strategies.

      No, Fig. 2B only demonstrates that smaller validation N increases variance (law of large numbers). There is no clear bias-variance tradeoff in choice of K (see variance of Fig. 2A).

    3. increasing K will increase variance—the sensitivity of the model to changes caused by different training data—as the predictive model has less data for training in each sample selection

      increasing K decreases (K-1)/K, what?

  4. Jun 2022
    1. you get so used to the way things are you don't think of the obvious next step and you know that can be so frustrating
    1. The old cookbook said: " Take enough butter." I say: "Do nottake too many notes." Both recommendations are hard to inter-pret except by trial and error.
  5. May 2022
    1. I think adding automated deployments would be a nice quality-of-life feature and would definitely encourage me to write more. Currently, I have to upload a new text file to my server and refresh the pm2 job.

      Is "automated deployments" really the solution?

    1. If you assume cops are basically good and just need help doing their job better, then body cameras make sense.

      This is a deductive argument, but I believe theres no error in the way it's used

    1. {错误:spawn C:\ wamp \ bin \ php \ php7.2.14 ENOENT 在Process.ChildProcess._handle.onexit at on OnErrorNT(internal / child_process.js:406:16) at process._tickCallback(internal / process / next_tick.js:63: 19) errno:'ENOENT', 代码:'ENOENT', 系统调用:'spawn C:\ wamp \ bin \ php \ php7.2.14', 路径:'C:\ \ wamp \ bin \ php \ php7.2.14', spawnargs:['c:\ wamp \ www \ NULB \ admin \ index.php']} < / pre>

    1. That said, I've since realized I was wrong of course. Trying to maintain projects that haven't been touched in more than a year led to hours of fixing dependency issues.
    1. Linux (and Wine) may prove to be an alternative here.

      If what we're discussing here is the decision to no longer opt in to playing along with the "Western" regime for IP, then why would they limit themselves to Linux and Wine—two products of attempts to play by the rules of the now-deprioritized regime? Why wouldn't they react by shamelessly embracing "pirated" forms of the (Windows) systems that they clearly have a revealed preference for? If hackability is the issue*, then that's ameliorated by the fact that NT/2000 source code and XP source code was leaked awhile ago—again: the only thing stopping anyone from embracing those before was a willingness to play along and recognize that some game states are unreachable when (artificially) restricting one's own options to things that are considered legal moves. But that's not important anymore, right?

      * i.e. malleability, and it's not obvious that it should be—it wasn't already, so what does this change?

    1. QuickBooks error 3371 usually occurs while you attempt to re-configure your system or when you try to activate QuickBooks. This error may also pop up in case of damaged company files. This error is often associated with a damaged QB system file, namely 'entitlementDataStore.ECML'. To know about this error, ensure that you go through this article till the very end. Our expert team provides you with the most reliable support and ensures that all your queries and issues get resolved in a timely manner. This article enumerates the various causes and the necessary troubleshooting measures for fixing the QuickBooks Error 3371 Status Code 11118.

    1. State exact versions and checksums of all deps plus run your own server hosting the deps

      In other words, do a lot of work to route around the problems introduced by the way that using npm routes around your existing version control system.

    1. all the exception handling these packages do

      These packages don't/can't do the amount of exception handling suggested by this comment.

    1. The events list is created with JS, yes. But that's the only thing on the whole site (~25 pages) that works that way.Here's another site I maintain this way where the events list is plain HTML: https://www.kingfisherband.com

      There's an unnecessary dichotomy here between uses JS and page is served as HTML. There's a middle ground, where the JS can do the same thing that it does now, but it only does so at edit time—in the post author's own browser, but not in others'. Once the post author is ready to publish an update, the client-side generated content is captured as plain HTML, and then they upload that. It still "uses JS", but crucially it doesn't require the visitor to have their browser do it (and for it to be repeated N times, once per page visit)...

  6. Apr 2022
    1. I agree about documenting everything. But for me docs are a last resort (the actual text, anything beyond skimming through code examples) when things already went wrong and I need to figure out why. But we can do much better. During dev when we see _method and methodOverride is disabled we can tell the developer that it needs to be enabled. Same if we see _method with something other than POST. Same for all other cases that are currently silently ignored. If the method is not in allowedMethods arguable it should even return a 400 in production. Or at the very least during dev it should tell you. We have the knowledge, let's not make the user run into unexpected behavior (e.g. silently ignoring _method for GET). Instead let's fail as loud as possible so they don't need to open their browser to actually read the docs or search though /issues. Let them stay in the zone and be like "oh, I need to set enabled: true, gotcha, thanks friendly error message".
    1. I'm not sure what $name is

      This post is filled with programming/debugging missteps that are the result of nothing other than overlooking what's already right in front of the person who's writing.

    1. ff start dev

      Can anyone help I am getting this error

      C:\Users\sande.firefly\stacks\sandeep2>ff start sandeep2 this will take a few seconds longer since this is the first time you're running this stack... ⣷ Error: dial tcp connectex: The requested address is not valid in its context. Usage: ff start <stack_name> [flags]

      Flags: -h, --help help for start -b, --no-rollback Do not automatically rollback changes if first time setup fails

      Global Flags: --ansi string control when to print ANSI control characters ("never"|"always"|"auto") (default "auto") -v, --verbose verbose log output

      Error: dial tcp connectex: The requested address is not valid in its context.

    1. Use with caution!

      Using regular expression in this way might cause "Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]", especially when together with "query?scroll=1m"

  7. small-tech.org small-tech.org
    1. Ongoing research Building on our work with Site.js, we’ve begun working on two interrelated tools: NodeKit The successor to Site.js, NodeKit brings back the original ease of buildless web development to a modern stack based on Node.js that includes a superset of Svelte called NodeScript, JSDB, automatic TLS support, WebSockets, and more.

      "How much of your love of chocolate has to do with your designs for life that are informed by your religious creed? Is it incidental or essential?"

    1. Interestingly, though, expertise appears to influence persuasion only if the individual is identified as an expert before they communicate their message. Research has found that when a person is told the source is an expert after listening to the message, this new information does not increase the person’s likelihood of believing the message.
    1. So far it works great. I can now execute my bookmarklets from Twitter, Facebook, Google, and anywhere else, including all https:// "secure" websites.

      In addition to the note above about this being susceptible to sites that deny execution of inline scripts, this also isn't really solving the problem. At this point, these are effectively GreaseMonkey scripts (not bookmarklets), except initialized in a really roundabout way...

    1. Low reliability of either Time 1 or Time 2 score lowers the reliability of the change or residual score, whereas a high correlation between Time 1 and Time 2 scores causes lower reliability of difference scores

      Burt and Obradović (2013)

      Consider using DS rather than RS if there is a strong association between baseline assessments and the outcome

  8. Mar 2022
  9. files.mgonzalezm.com files.mgonzalezm.com
    1. 37. (x—16)(x+3).

      la expresion \((x^4-16)\) se puede factorizar como:


      quedando la respuesta correcta:


    1. denoised

      thank you for this tutorial!! I ran into an issue and noticed it was because you are searching for files with 'denoised' here, but your output files include only 'denoise' -- so if you run this twice regenerating the file list, you'll still grab the denoised outputs which will overwrite themselves. thanks!

    1. it's usually due to the misapplication of healthy open source principles

      The effect of handling open source the way it's popularly practiced on GitHub does not get nearly enough scrutiny for its role in e.g. maintainer burnout. Pretty much every project I see on GitHub does things that are obviously bad—or at least it should be obvious*—and neither are they sustainable, nor even a particularly good way to try to get work done, assuming that that's your imperative. It is probably the case, however, that that assumption is a bad one.

      * I've slowly come to realize and accept that this stuff is not obvious to lots of people, because it's all they know—whether that means that that should affect whether its negative consequences are obvious is something that I'm inclined heavily to argue that "no, it shouldn't affect it; it should still be obvious that it's bad even then", but empirically, it seems that my instinct is wrong.

  10. Feb 2022
    1. Studies show women and people of color tend to be paid less than White men in the same roles.

      Refers to pay between workers "in the same roles" but links to an article that uses a gross unadjusted figure. Nothing in the link supports the claim being made, which was hardly surprising considering this claim has been debunked thousands of times over the last few decades.

  11. Jan 2022
    1. it’s insecure unless the credentials are served over an encrypted HTTPS connection

      The same is true for login systems that use cookies, but no one cites that as a downside. There's an asymmetric standard being applied to HTTP native authentication.

  12. Dec 2021
  13. Nov 2021
    1. in the old view of enlightenment reason emotion got in the way of reason and motion was the 00:08:34 enemy of reason reason was what you know sort of like mr. Spock on Star Trek you know who is you know super reason no emotion or whatever not true suppose 00:08:49 that you had a stroke or a brain injury that wouldn't allow you to feel emotion and there are such strokes and brain injuries rep Antonio Damasio and his 00:09:01 wife Hana figured out some years ago and published in a book called des cartes error is that you can't reason without emotion emotion is necessary and it's 00:09:14 easy to see why if you cannot feel emotion then like and not like mean nothing to you and you do not know what to want think about it 00:09:27 if you couldn't feel anything if you wouldn't know what it meant to like or not like something or if somebody else or you couldn't tell if someone else would like or not like what you were doing you wouldn't know what to want you couldn't set a goal and this is what 00:09:41 happens to people with such brain injuries they act randomly they don't know how to plan they don't know how to structure their lives or set rational 00:09:53 goals because rationality requires emotion very very deep finding

      "If you do not feel emotion, you do not know what you like or not like, and you do not know what you want.....you couldn't set a goal...and this is what happens with people with such brain injuries. They act randomly. They don't know how to plan. They don't know how to structure their lives or set rational goals, because rationality requires emotions."

      This is a hugely profound statement that Lakoff talks about. Without emotions, we cannot make choices, and without choices we cannot set goals and without goals there can be no intentionality behind actions.Can one imagine a human life without setting goals? We take this so much for granted as a normative human behavior, but our social lives would be profoundly different without this intimate connection between emotion and rationality.

    1. What is the value of letter if letter = 'c' + 3?

      You should have indicate that the variable letter is a char. The character 'c' is always converted into an int then the 3 is added (which give 102).

    1. Fix the code below so that it runs without errors. Hint: you might need to change the names of some variables.

      Be carefull ! Here, you have to add the line below just before the line "int main() {" :

      #include <iostream>

    2. Click on all keywords.

      The word cout, in this context, is becomed a keyword for using the include <iostream>. You can't create a variable with the name cout in this program.

    1. The answer of this question is incorrect. The code below compile because of the numerical promotion of the char '3' to an int. The program will display the char 'y' without any errors.

  14. Oct 2021
    1. Separate Opinions

      Black wrote for the majority opinion

    2. Roberts:

      incorrect: not a justice on this panel/ case/ trial

    3. dissenting

      missing info: Justices's Reed and Minton also joined in the dissent

    4. dissenting

      incorrect: concurring

    5. Truman's action can be upheld as an exercise of the president's inherent military power as commander-in-chief.

      incorrect: The Court held that the President's military power as Commander in Chief of the Armed Forces did not extend to labor disputes.

    6. Yes. By a vote of 6-3 the Court ruled against Youngstown Sheet & Tube.

      incorrect: No. The President of the United States has no Federal statute that authorizes him to issue an order to seize private property.

    7. Can Congress take over an industry in order to prevent a union from striking?

      incorrect: not necessarily union but "Can the President constitutionally authorize the Secretary of Commerce to take possession and operate steel mills?"

    8. Vietnam War, President Truman issued an executive order commanding the secretary of commerce to seize the nation's steel mills and keep them in operation

      incorrect: the book version states: "President Harry S. Truman was not about to let a strike hit the steel industry. The nation was engaged in a war in Korea, and steel production was necessary to produce weapons and other military equipment."

    9. sugar manufacturing industry,

      this is incorrect in the book version it states: steel manufacturing industry

  15. www.bitbybitbook.com www.bitbybitbook.com
    1. systematic errors, the kinds of errors that I’ll describe below that arise from biases in how data are created

      Here comes the question: How can we detect them then eliminate them?

  16. Aug 2021
    1. two notes that are five pitches away from each other, one, two, three, four, five

      Out of context, this sounds like an OBOE (off by one error). You typically wouldn’t count the origin: the two notes are four (semitones) away from one another. That becomes quite useful when you think about all of this as sets and, perhaps, start doing some computation with these. In context, it might simplify things for the moment. It’s just a bit strange to keep all of these in mind. The major third (so, the third note in the scale) is “five pitches” away from the root. The perfect fourth would be “six pitches” away. The perfect fifth “eight pitches away”. Major sixth “10 pitches away”. And the major seventh “12 pitches away”. Which means the octave is “13 pitches away”. Could lead to interesting confusion.

    1. you interpret the past as "the present, but cruder"

      Like people who can't wrap their head around the idea that evolution has nothing to do with any kind of purpose to produce humans. (Even starting from the position that humans are the "end result" is fundamentally flawed.)

    1. Sir Patrick Vallance on Twitter: “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.” / Twitter. (n.d.). Retrieved August 4, 2021, from https://twitter.com/uksciencechief/status/1417204235356213252

  17. Jul 2021
  18. datatracker.ietf.org datatracker.ietf.org
    1. When an endpoint is to interpret a byte stream as UTF-8 but finds that the byte stream is not, in fact, a valid UTF-8 stream, that endpoint MUST _Fail the WebSocket Connection_. This rule applies both during the opening handshake and during subsequent data exchange.
    1. PDFs used to be large, and although they are still larger thanequivalent HTML, they are still an order of magnitude smaller than thetorrent of JavaScript sewage pumped down to your browser by mostsites

      It was only 6 days ago that an effective takedown of this type of argument was hoisted to the top of the discussion on HN:

      This latter error leads people into thinking the characteristics of an individual group member are reflective of the group as a whole, so "When someone in my tribe does something bad, they're not really in my tribe (No True Scotsman / it's a false flag)" whereas "When someone in the other tribe does something bad, that proves that everyone in that tribe deserves to be punished".


      I'm pretty sure the combination of those two is 90% of the "cyclists don't obey the law" meme. When a cyclist breaks the law they make the whole out-group look bad, but a driver who breaks the law is just "one bad driver."¶ The other 10% is confirmation bias.


  19. Jun 2021
  20. May 2021
    1. These “Songline” stories are ancient, exhibit little variation over long periods of time, and are carefully learned and guarded by the Elders who are its custodians [7].

      What is the best way we could test and explore error correction and overwriting in such a system from an information theoretic standpoint?

    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

  21. Apr 2021
    1. 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 $$

  22. Mar 2021
    1. often in error
    2. In logic, it is the practice of treating two distinct concepts as if they were one, which produces errors or misunderstandings as a fusion of distinct subjects tends to obscure analysis of relationships which are emphasized by contrasts
    1. Sentry supports un-minifying JavaScript via Source Maps. This lets you view source code context obtained from stack traces in their original untransformed form, which is particularly useful for debugging minified code (e.g. UglifyJS), or transpiled code from a higher-level language (e.g. TypeScript, ES6).
    1. 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.

  23. Feb 2021
    1. the ability to “error out” when something goes wrong
    2. The “error path” or “failure track” is the lower path going the the failure terminus.
    3. If anything here did fail in “validate omniauth”, all other steps in the chain would be skipped as the flow would follow the path leading to the failure terminus.
    4. Things could go wrong in two places here. First, the validation could fail if Github sends us data we don’t understand. Second, we might not know the user signing in, meaning the “find user” logic has to error-out
    1. Return None. That’s evil too! You either will end up with if something is not None: on almost every line and global pollution of your logic by type-checking conditionals, or will suffer from TypeError every day. Not a pleasant choice.
    2. we also wrap them in Failure to solve the second problem: spotting potential exceptions is hard
    3. exceptions are not exceptional, they represent expectable problems
    4. 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.
    1. Maybe T can be understood as a "wrapping" type, wrapping the type T into a new type with built-in exception handling
    2. Undefined values or operations are one particular problem that robust software should prepare for and handle gracefully.
    1. Other filters will ignore blocks when given to them.

      Would be better to raise an error if block isn't allowed/expected!

    2. Note that it's perfectly fine to add errors during execution. Not all errors have to come from type checking or validation.
    3. Inside the interaction, we could use #find instead of #find_by_id. That way we wouldn't need the #find_account! helper method in the controller because the error would bubble all the way up. However, you should try to avoid raising errors from interactions. If you do, you'll have to deal with raised exceptions as well as the validity of the outcome.

      What they're referring to:

      Account.find('invalid') will raise an error but Account.find_by(id: 'invalid') will not.