371 Matching Annotations
  1. Feb 2021
    1. Monads provide an elegant way of handling errors, exceptions and chaining functions so that the code is much more understandable and has all the error handling, without all the ifs and elses.
    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. 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.
    2. 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. 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.

  2. Jan 2021
  3. Dec 2020
    1. Turmeric Spice, Ground

      They are 10 times off based on several samples from this study. Turmeric only has 10 to 15 thousand ORAC, not 127 thousand. This error is likely either a typo or they are citing the value of curcumin rather than turmeric.

      See here for google sheet version of study cited above.

      EDIT: I checked their source. They appear to have represented the source accurately. Why, then, the ten fold difference?

    1. the best way to ensure you've handled all errors in your run() function is to use run().catch(). In other words, handle errors when calling the function as opposed to handling each individual error.
    2. // The `.then(v => [null, v], err => [err, null])` pattern // lets you use array destructuring to get both the error and // the result
  4. Nov 2020
    1. At the extreme ends of the concentration range (for example, fewer than ten copies of target in a well or more than 120,000 copies of target in a well), fewer droplets in a well will lead to slightly larger error bars.
  5. Oct 2020
    1. Issue grooming: There appears to be a variety of different failure modes and user error/misconfiguration scenarios (all largely historic) described here.
    1. (One can already destructure the loop variable but using a store obtained that way currently throws an error - Stores must be declared at the top level of the component (this may change in a future version of Svelte))
    1. so both will confess and end up serving sentences of five years

      Where did the 5 years come from? Two sentences back it said "If each confesses and implicates the other, both will be sentenced to three years." Not surprising that people find it hard to get their head around this stuff.

  6. Sep 2020
    1. DX: start sapper project; configure eslint; eslint say that svelt should be dep; update package.json; build fails with crypt error; try to figure what the hell; google it; come here (if you have luck); revert package.json; add ignore error to eslint; Maybe we should offer better solution for this.
    2. When the message say function was called outside component initialization first will look at my code and last at my configuration.
    3. We could at least try to offer better error message for this, before it becomes our next NullPointerException, Segmentation Fault or Kernel Panic
    4. It looks like the issue stems from having "svelte" as a dependency instead of a devDependencies in package.json within the sapper project. This causes import 'svelte' to load the rollup excluded npm package's set_current_component instead of from within the sapper generated server.js.
  7. Aug 2020
  8. Jul 2020
    1. JSON parsing is always pain in ass. If the input is not as expected it throws an error and crashes what you are doing. You can use the following tiny function to safely parse your input. It always turns an object even if the input is not valid or is already an object which is better for most cases.

      It would be nicer if the parse method provided an option to do it safely and always fall back to returning an object instead of raising exception if it couldn't parse the input.

    1. An estimate of par-titioning error can be found based on the analysis of Dube et al.,39 which models the partitioning as a binomial process.
    2. Digital assays have two sources of error: subsampling error and partitioning error
    3. Subsampling error sets the lower detection limit at low concentrations and is independent of the instrument, while partitioning error domi-nates at high concentrations and may depend on the sampling and partitioning instrument
  9. Jun 2020
    1. Saltelli, A., Bammer, G., Bruno, I., Charters, E., Di Fiore, M., Didier, E., Nelson Espeland, W., Kay, J., Lo Piano, S., Mayo, D., Pielke Jr, R., Portaluri, T., Porter, T. M., Puy, A., Rafols, I., Ravetz, J. R., Reinert, E., Sarewitz, D., Stark, P. B., … Vineis, P. (2020). Five ways to ensure that models serve society: A manifesto. Nature, 582(7813), 482–484. https://doi.org/10.1038/d41586-020-01812-9

  10. May 2020
  11. developer.mozilla.org developer.mozilla.org
    1. in the absence of an immediate need, it is simpler to leave out error handling until a final .catch() statement.
    2. Handling a rejected promise too early has consequences further down the promise chain.   Sometimes there is no choice, because an error must be handled immediately.
  12. Apr 2020
    1. The translated model name, translated attribute name, and value are always available for interpolation as model, attribute and value respectively.
  13. Mar 2020
    1. To be just a bit polemic, your first instinct was not to do that. And you probably wouldn't think of that in your unit tests either (the holy grail of dynamic langs). So someday it would blow up at runtime, and THEN you'd add that safeguard.
    2. I want to raise errors with more context
    3. As many would guess: ... catch StandardError => e raise $! ... raises the same error referenced by $!, the same as simply calling: ... catch StandardError => e raise ... but probably not for the reasons one might think. In this case, the call to raise is NOT just raising the object in $!...it raises the result of $!.exception(nil), which in this case happens to be $!.
    1. It is recommended that a library should have one subclass of StandardError or RuntimeError and have specific exception types inherit from it. This allows the user to rescue a generic exception type to catch all exceptions the library may raise even if future versions of the library add new exception subclasses.
    1. The pattern below has become exceptionally useful for me (pun intended). It's clean, can be easily modularized, and the errors are expressive. Within my class I define new errors that inherit from StandardError, and I raise them with messages (for example, the object associated with the error).
  14. Feb 2020
    1. In this simulation complete random assignment led to a -0.59% decrease in sampling variability. This decrease was obtained with a small design tweak that costs the researcher essentially nothing.

      This is not visible in the html. You specified too few digits.

      Also, the results would be more striking if you had a smaller data set.

    1. docker-compose up -d

      Error for me here...

      ➜ hello-world docker-compose up -d zsh: command not found: docker-compose

  15. Jan 2020
    1. стремление

      0:3.24 (NY) Ошибка перевода, в английском не "intention" (стремление), а "intension" (напряжение или суть). Отличие в одну букву, а какая большая разница в смысле...

    2. , уровнях

      0:3.22 (NY) ошибка перевода, запятая, пробел и второе слово "уровнях" не нужно. (в UF переводе правильно)

  16. Dec 2019
    1. a new spirit of life animated the decaying frame of the stranger. He manifested the greatest eagerness

      The change from Victor’s countenance as seeming “very eager” (1818) to “a new spirit of life animated the decaying frame...” (1831) prefigures the same "animation" of the Creature later in Volume 1. FIX TYPO in TEXT--DELETE "THE" "time the a new"

    1. раскрытия объединяющего Божества

      0:2.16 Правильнее перевести как в NY: объядиняющего откровения Божества, ибо никакого "объединяющего Божества" не существует, см. заметку к 0:2.18.

    2. объединяющего Божества

      0:2.17 См. заметку к 0:2.18

    3. объединяющего Божества

      0:2.18 Нет никакого "объединяющего Божества" --- есть 1-й (Верховный), 2-й (Предельный) и 3-й (Абсолютный) уровни объединяющей реализации/расширения Божества. И здесь говорится о 3-м уровне или лучше сказать 3-й стадии, результатом которой явится Бог-Абсолютный, так же результатом 1-й стадии будет Бог-Верховный.

    4. реагированию на бесконечное

      0:3.14 Правильнее перевести: "реагирования бесконечности", т.е. здесь описана реакция бесконечности (через Безусловный Абсолют) на что угодно, а не только на бесконечное. В NY переводе более правильно.

  17. Nov 2019
    1. смысла

      0:0.2 Ошибка перевода: не "смысла", а "наших смыслов". В NY и у Попова правильно.

    2. путаница в отношении таких понятий

      0:0.1 Ошибка перевода: путаница имеется не в отношении понятий Бог, божественность и т.д., а в отношении смысла этих терминов. В NY переводе, а также в редакции Алексея Попова переведено верно.

  18. Oct 2019
    1. Labor councillors are suspicious about Mr Booth's pageant. In 2014, then councillor George Simon - now assistant general secretary of NSW Labor - called for the "archaic" event to be killed off.

      This is a great example of the risks involved in using background paragraphs from incomplete coverage. George Simon will no doubt be over the moon that you've given him a plug, along with his courageous but failed efforts to kill off the event.

      It's likely you found your re-used paragraph in the story previewing George Simon's courageous failure. Unfortunately, The Hasbeen was MIA when the motion was shot down in flames.

      But your competitor - and also TWT competitor - News Ltd's (NDT) report on failed attempt to ban Queen Questl was there at the meeting in which the motion suffered a humiliating defeat.

      Even a niche womens issues publication, Womens Agenda, noted George Simon was branded a wanker for his bungled efforts..

      Nevermind, you're not expected to get everything right as a work experience student, but you'll be relieved to know someone in the former Fairfax - now Nine - publishing empire did.

      Watch and learn how the pros like Peter Munro do it. In his 'Six Degrees' column he mentioned Simon was chastised for his fruitless cruisade by Yellow Wiggle Emma Watkins.

      That was a report, of course, before Simon ended up with egg on his face, as was the earlier one selectively regurgitated.

      But surely you could have also regurgitated these John Booth pearlers from the same story:

      Mr Booth said contestants were judged on responses to questions about local knowledge, ambition and involvement in the community: "Beauty doesn't come into it - but we don't penalise them for being beautiful either.

      "They're trying to make it out as disparaging to women but it's politically correct rubbish. There's no swimsuit competition and most judges are women," Mr Booth said. "Two women's libbers [councillors] tried to [cut support for the contest] a few years ago but they got voted down 10-2."

      And on Simon's spectacular failure - one of many:

      "That nitwit?" Mr Booth said. "I'm thinking about mocking him up in a dress and Orphan Annie wig in our next edition. I haven't decided yet".

    2. The following year he was cleared of giving false evidence to an Independent Commission Against Corruption inquiry.

      This one's a double edged sword. You may think it's a no brainer to achieve a bit of smear, but by including it, you reveal that you're not aware of the shambolic inquiry it was attached to or the matters of public importance the SMH had failed to report when it all took place.

  19. Sep 2019
    1. Иными словами

      196:3.34 (NY) Выбор фразы "иными словами" здeсь неудачен, ибо вера и фактическое осознание сыновства здесь противопоставляются, а не идентифицурются.

  20. Aug 2019
  21. Apr 2019
  22. Mar 2019
    1. error BadZipfile: File is not a zip file

      在安装albacore的时候,使用pip install命令安装.whl文件的时候,总是会出现“ BadZipfile:File is not a zip file”的错误,通过使用参数--no-cache-dir可以解决这个问题。

    1. Você consegue visualizar a saúde da sua aplicação?

      Ainda que aqui os tópicos da certificação não cubram exatamente esse assunto, monitorar a saúde de um sistema e suas aplicações é missão do profissional DevOps. Atente para os tópicos:

      701 Software Engineering 701.1 Modern Software Development (weight: 6)

      e

      705.2 Log Management and Analysis (weight: 4)

  23. Feb 2019
    1. rob_se <- list(sqrt(diag(vcovHC(fatalities_mod1, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod2, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod3, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod4, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod5, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod6, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod7, type = "HC1"))))

      Error in solve.default(crossprod(demX)) : system is computationally singular: reciprocal condition number = 1.63237e-31

    1. speak to Illustrate my Own VVorks, and to Detract from the VVorks of Others, for upon my Conscience I Speak and VVrite as I Believe, and if I Commit an Error in this Belief, I ask your Pardon

      We write and speak in only the ways we know how -- as ourselves. The fear of error should not prevent the process of discovery from unfolding.

  24. Jan 2019
  25. Dec 2018
  26. Nov 2018
  27. Sep 2018
    1. We're sorry but something has gone wrong. We have been notified of this error.
  28. Aug 2018
  29. May 2018
  30. Apr 2018
    1. | 4.0 | 12.0 | 9.0 | 7.810249675906654 |

      No result block is generated

    2. #+CALL: roots_of_list( lst='(16 144 81 61) )

      But the roots_of_list recall here Throws the error: lst not found in this buffer

  31. Feb 2018
  32. Oct 2017
  33. Sep 2017
    1. Well, I don’t think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before  and it has always been due to human error.

      this was left on the cutting room floor, but Hal's behavior can actually be attributed to human error. In the novelized version written by co-screenplay author - the famous Arthur C. Clarke - it is stated that Hal is briefed on the mission, but told to lie about it and obfuscate the facts about the mission and it's details to the crew. It is implied that this is what ultimately makes Hal malfunction. This helped me to understand this movement in the context of the film far more easily, and it also highlights Heidegger's focus on mankind's responsibility to it's technology and those unintended consequences.

    2. Open the door, Hal. Rotate pod, please, Hal. Stop pod rotation, please, Hal. Rotate the pod, please, Hal. Rotate the pod, please, Hal.

      This movie took place in the future. However there are many parallels it has to present day. Hal, the artifical intellegence on the spaceship, reminds me of A.I personal assistance that we have today. For example, Amazon Echo, Google Home, and Siri. They all were created by humans, for the sole purpose of making life easier. These personal assistance devices can play music, turn off lights, and adjust the temperature in a house. Which is similar to Hal on a spaceship. With that it in mind it is terrifying to see how technology could turn against us and malfunction, like how the director portrayed Hal. Hal seemed perfect at first, but later on in the movie he began to malfunction. This portrays that humans can try to make technology perfect, but there is always human error which makes it vulnerable to malfunctions.

  34. Jun 2017
    1. npm start

      If you've followed the tutorial thusfar you will note that there is no 'start' script. npm run dev should work here!

  35. May 2017
  36. Apr 2017
  37. Mar 2017
    1. like

      Not quite sure how this got here. What is the actual connection to the body?

    2. bodies

      While Locke is no doubt influenced by Cartesian dualism, which seems based upon the frequency of bodily failure, he seems to reject this idea (that the body is naturally or frequently in error).

      See chapter 4 of Dalia Judovitz's The Culture of the Body: Genealogies of Modernity.

      She closely reads Descartes' Meditations on the First Philosophy with special attention to the theological turn in Descartes' ontology. She spends the chapter considering how his claims that "the existence of God and the distinction between the mind and the body" are "underlain by the haunting invocation and recurrent appearance of errant, spectral, and mechanical bodies" (83).

    3. The anonymous and autonomous functions of the body

      See Drew Leder's The Absent Body.

      There might be some really fascinating intersections with his phenomenological investigation of disembodiment.

    4. processes and development of idea

      George Campbell's distinctions between scientific and intuitive evidence might support this claim. He seems to go along with the idea that scientific reasoning is subject to errors just like anything else:

      And if there are, on the other hand, some well-known demonstrations, of so great authority, that it would equally look like lunacy to impugn, it may deserve the attention of the curious to inquire how far, with respect to the bulk of mankind, these circumstances, their having stood the test of ages, their having obtained the universal suffrage of those who are qualified to examine them (things purely of the nature of moral evidence), have contributed to that unshaken faith with which they are received. (923)

    1. She was the same person. But her situation—her environment—was different, so she acted differently.
    2. No, one afternoon, she rearranged her office. Now, when people came to see her, she had to turn completely around to face them. Her computer was totally out of sight. No more email temptation.
    1. When we are playing the role of observer, which is largely when we look at others, we make this fundamental attribution error. When we are thinking about ourselves, however, we will tend to make situational attributions
  38. Feb 2017
  39. Jan 2017
    1. Cannot connect to the Docker daemon

      For Linux/Unix people, it may very well be that you did not add your username to the 'docker' group and as a consequence you cannot communicate with the docker daemon. I had just experienced this (while running Linux Mint 18.1, but the symptoms ought to be similar for Debian/Ubuntu as well).

      To fix it, I ran:

      sudo usermod -aG docker $(whoami)

      Log out and log back in. This ensures your user is running with the correct permissions.

      This will ensure that you do not need to sudo every time, when you interact with docker.

      There are instructions in the below link for Unix (MacOS) users as well.

      Source: http://stackoverflow.com/a/33596140

  40. Dec 2016
    1. recently referred to as Evidence Informed Practice,1

      Dear authors, editors and readers,

      It is to mention that the expression "Evidence-Informed Practice" is far from being recent. Glasziou used it in 2005 with reference to a previous paper by Schriger, published in 2000, 16 years ago (although Glasziou made a mistake: the paper was not published in 1993).

      Here are the references : Glasziou, P. (2005). Evidence based medicine: does it make a difference? British Medical Journal, 330(7482), 92.doi: 10.1136/bmj.330.7482.92-a Schriger, D. L. (2000). One is the loneliest number: Be skeptical of evidence summaries based on limited literature reviews. Annals of Emergency Medicine, 36(5), 517–519. doi.org/10.1067/mem.2000.110997

      All the best,

      Nicolas K.

  41. Oct 2016
    1. The first assumption we need is that the cost function can be written as an average

      How could have a cost / error function that cannot be written as an average?

  42. Aug 2016
    1. unexpected based on theRNA-seq data

      not if you look at the UCSC data (see comment above)

    2. Thymus

      Placenta

    3. placenta

      thymus

    4. placenta

      thymus

    5. thymus

      placenta

    6. Thymus

      Placenta

    7. placenta

      thymus

    8. Bonferroni correctionwas conducteddue to multiple comparisonsignificant valuelimitwas set to<0.025.

      Bonferroni multiple testing correction: you divide alpha (the significance threshold), typically (by convention) 0.05, by the number of tests, and that gives you the corrected significance threshold.

    9. Normalised tissue

      unclear

    10. There is only fluorescence if the dye bindsto the PCR product.

      Any dsDNA will generate fluorescence, including, for example, primer dimers and off-target amplicons. That is why SYBR is considered relatively non-specific. But its is relatively cheap compared to more specific assays like TaqMan.

    11. The point where the fluorescence becomes measurable is calledthreshold cycleor quantification cycle.

      Fluorescence always is measurable. The threshold cycle is when fluorescence exceeds a given and fixed threshold value, which is chosen to intersect the amplification curves during their exponential phase.

    12. Investigating the utilisation of alternative polyadenylation sites at the H13/Mcts23imprinted locus will shed light on this matter.

      has been done and published by Andrew Wood and Michael Cowley

    13. However, an allele-specific epigenetic control for mechanisms such as polyadenylation has yet to be proven.

      H13 and Herc3 are proof

    14. DNMTs interact with enzymes that regulategene expression andaretypicallyinvolved ingene repression27.

      out of context

    15. As soon as the stop codon has been transcribed

      stop codon is not responsible for transcription termination and polyadenylation. signals in the sequence of the transcribed RNA and the DNA are responsible, such as the polyadenylation site, which has an RNA consensus sequence of AAUAAA.

    Tags

    Annotators

    1. 1. Install the TidalCycles pattern engine

      For Windows users: if you get errors during this process it is likely because you tried to execute cabal install tidal from the standard Windows command line. Some of the tools in the Linux toolchain are required. Download and install MingW64 or git for Windows which comes with a bash-like shell that should have everything you need built in! Enjoy!

  43. Jun 2016
  44. May 2016
    1. the median review time at journals has grown from 85 days to >150 days during the past decade (5)

      This statement is a misunderstanding of Powell 2016, which states:

      At Nature, the median review time has grown from 85 days to just above 150 days over the past decade, according to Himmelstein's analysis.

      However,

      the median review time — the time between submission and acceptance of a paper — has hovered at around 100 days for more than 30 years.

      So while the median review time at Nature has gone from 85 to 150 days, this is not the case for all journals. See also the related Tweet.

    1. Mistakes are not just opportunities for learning; they are, in an important sense, the only opportunity for learning or making something truly new. Before there can be learning, there must be learners. There are only two non-miraculous ways for learners to come into existence: they must either evolve or be designed and built by learners that evolved. Biological evolution proceeds by a grand, inexorable process of trial and error — and without the errors the trials wouldn’t accomplish anything.
  45. Mar 2016
    1. Competition is also manifested in scientists’ pressured haste, leading tocarelessness, which can verge on questionable behavior. One discussant talkedabout scientists ‘‘cutting a little corner’’ in order to get a paper out before others orto get a larger grant, and another said that she once published a result that she gotthree times in one week but could not replicate the following week

      How competitiveness also results in error.

  46. Dec 2015
    1. In traditionalanimal learning theory, the process that forms associations by the first mechanism(temporal pairing of activation) is called the classical or Pavlovian conditioning process,while the process that forms associations through the agency of error-correcting feedbackis called the instrumental or operant conditioning process

      That's funny. Eyelid conditioning is a well-known example of classical conditioning which is supposed to rely on the cerebellum. But the cerebellum isn't an associative learning machine-- it is an error learning machine! And yet classical conditioning is supposedly associative. This is confusing.

  47. Nov 2015
    1. Form does not supply Being with anything, whereas Being supplies Itself with all form. It is the initial misidentification of form as function that fouls everything up. Our limited viewpoint, taking itself as the center and circumference, is the flaw.

      The identification of Form as function is the Error. Being supplies itself with all form, It is the Alpha and Omega. The Belief that Form is the center and circumference is the flaw.

  48. Sep 2015
    1. import Json.Decode (..)

      This line should be import Json.Decode exposing (..).

  49. Jan 2014
    1. Server error, there was an error while handling your request. Administrators have been notified, please try reloading the page.

      Annotating errors

  50. Oct 2013
    1. Choosing values for each facet.

      This seems premature, maybe numbers two and three got switched?

  51. Sep 2013
    1. I am one of those who are very willing to be refuted if I say anything which is not true, and very willing to refute any one else who says what is not true, and quite as ready to be refuted as to refute; for I hold that this is the greater gain of the two, just as the gain is greater of being cured of a very great evil than of curing another. For I imagine that there is no evil which a man can endure so great as an erroneous opinion about the matters of which we are speaking; and if you claim to be one of my sort, let us have the discussion out, but if you would rather have done, no matter;—let us make an end of it.

      Socrates is willing to accept when he is wrong, he just wants to understand what Gorgias is saying. He thinks Gorgias is inconsistent and wants clarity.