1,091 Matching Annotations
  1. Sep 2024
    1. Disable all observers in your test suite by default. They should not be complicating your model tests because they should have separate concerns anyway. You don't need to unit test that observers actually fire, because ActiveRecord's test suite does that, and your integration tests will cover it.
    2. I emphatically disagree with BlueFish about observers being difficult to properly unit test. This is precisely the biggest point that distinguishes them from lifecycle callbacks: you can test observers in isolation, and doing so discourages you from falling into many of the state- and order-heavy design pitfalls BlueFish refers to (which again I think is more often true of lifecycle callbacks).
  2. Aug 2024
    1. Preface xiIntroduction

      Hello! Can you see this annotation on a PDF?

    Tags

    Annotators

    1. This is the most simulative version of a controller. It will try and mimic real user behaviour. It's the recommended version to use when the goal of the load-test is finding out how many concurrently active users the target instance supports.
  3. Jul 2024
  4. May 2024
    1. l'enquête que j'ai conduite pendant 5 ans avec annecler de faossé 00:53:00 dans les Hautes Alpes près de la frontière italienne dans une région qui est autour du col de Montgenèvre l'un des principaux points d'entrée en France par le sud-est l'un des deux points d'entrée en 00:53:11 en France par le sud-est montre que le protocole décrit dans les textes n'est généralement pas suivi alors même que depuis 2016 la proportion des jeunes garçons en provenance d'Afrique sub-saharienne se déclarant mineur a 00:53:24 souvent été élevée alors frontière d'abord on a eu pendant plusieurs années un refoulement presque systématique par les policiers chargés de la garder qui contestait l'âge déclaré par le jeune voire déchirer son acte de naissance 00:53:38 jusqu'à ce que plusieurs condamnations de l'État par les tribunaux administratifs ne conduisent ce dernier à se montrer plus respectueux de la loi en adressant ses garçons à l'aide sociale à l'enfance via une association 00:53:50 locale ce qui est désormais fait le plus souvent certains agents récal Citran continuant CEP pendant à les renvoyer en Italie parfois après avoir falsifié leurs documents ainsi que le constatent 00:54:02 les associations qui de l'autre côté de la frontière côté italien conserve les copies des originaux
    2. c'est aujourd'hui dans les services départementaux que ceux qui 00:54:14 se déclarent mineurs se heurent aux obstacles les plus insurmontables il arrive qu'il soit rejeté dès la demande de rendez-vous par l'agent administratif chargé de l'accueil qui simplement dit au jeunes qu' n'est pas mineur sur sa seu 00:54:27 ne lui laissant même pas la possibilité de déposer un dossier toutefois le plus souvent c'est l'évaluation proprement dite de minorités qui s'avère l'étape infranchissable cette évaluation est souvent faite par des personnels sans 00:54:38 formation spécifique et soumise à la pression politique du Conseil départemental dont les élus s'inquiètent des dépenses supplémentaires occasionnées par la prise en charge des mineurs non accompagnés et ce bien qu'un plan national a été mise en place pour 00:54:51 répartir ces derniers sur tout le territoire
  5. Apr 2024
    1. if your treatments are ordered, don't compare each mean with each other mean (multiple comparisons), instead do one test for trend to ask if the outcome is linearly related with treatment number

      How do you do hypothesis testing for trends for an ordered categorical variable?

      Could you convert x to numbers (1,2,3) and run a linear regression y ~ x? or even categorical ordered variables can be linearly regressed?

    1. cognitive skills. Therefore, keeping the designs clean and safe from clutter and distractions is essential. This will help kids get the b

      Which sounds work best for my age group/target audience?

    1. We quote because we are afraid to-change words, lest there be a change in meaning.

      Quotations are easier to collect than writing things out in one's own words, not only because it requires no work, but we may be afraid of changing the original meaning by changing the original words or by collapsing the context and divorcing the words from their original environment.

      Perhaps some may be afraid that the words sound "right" and they have a sense of understanding of them, but they don't quite have a full grasp of the situation. Of course this may be remedied by the reader or listener not only by putting heard stories into their own words and providing additional concrete illustrative examples of the concepts. These exercises are meant to ensure that one has properly heard/read and understood a concept. Psychologists call this paraphrasing or repetition the "echo effect" (others might say parroting or mirroring) and have found that it can help to build understanding, connection, and likeability between people. Great leaders who do this will be sure to make sure that credit for the original ideas goes to the originator and not to themselves simply because they repeated it, especially in group settings where their words may have more primacy amidst their underlings.

      (I can't find it at the moment, but there's a name/tag for this in my notes? looping?)

      Beyond this, can one place the idea into a more clear language than the original? Add some poetry perhaps? Make the concept into a concrete meme to make it more memorable?

      Journalists like to quote because it gives primacy of voice to the speaker and provides the reader with the sense that they're getting the original from which they might make up their own minds. It also provides a veneer of vérité to their reportage.

      Link this back to Terrence's comedy: https://hypothes.is/a/xe15ZKPGEe6NJkeL77Ji4Q

    2. Description and illustration are^ comple-mentary, they give together a more complete picture than citherwithout the other.

      Kaiser says that "description and illustration are complementary, they give together a more complete picture than either without the other" and this sentiment is similar to Mortimer J. Adler and Charles Van Doren's pedagogy of restatement and providing concrete examples a means of testing understanding.

      See: - https://hypothes.is/a/RgUa-mOcEe6PChv_seYXZA - https://hypothes.is/a/B3sDhlm5Ee6wF0fRYO0OQg

  6. Mar 2024
    1. L’avis de la Défenseure des droits sur laproposition de loi « visant à lutter contreles discriminations par la pratique detests individuels et statistiques »
  7. Feb 2024
  8. Dec 2023
    1. it was the mothers that made all the difference he said it was mothers mobilizing around the world that stopped the testing of nuclear weapons in the atmosphere
      • for: story of hope - Stephanie May, hope - mothers stopped nuclear testing
    1. It's also a good idea to run qualitative usability tests to understand how people are reacting to what they see.
  9. Nov 2023
    1. // oftentimes once we have a proper e2e test around logging in
      // there is NO more reason to actually use our UI to log in users
      // doing so wastes a huge amount of time, as our entire page has to load
      // all associated resources have to load, we have to wait to fill the
      // form and for the form submission and redirection process
      
    1. // instead of visiting each page and waiting for all // the associated resources to load, we can instead // just issue a simple HTTP request and make an // assertion about the response body cy.request('/admin') .its('body') .should('include', '<h1>Admin</h1>') instead of cy.visit

  10. Oct 2023
    1. Barzun, Jacques. “Opinion | Multiple Choice Flunks Out.” The New York Times, October 11, 1988, sec. Opinion. https://www.nytimes.com/1988/10/11/opinion/multiple-choice-flunks-out.html.

      Archived copy at https://web.archive.org/web/20231022192353/https://www.nytimes.com/1988/10/11/opinion/multiple-choice-flunks-out.html. Internet Archive.

      Barzun takes standardized multiple-choice tests to task.

      A version of this article appears in Barzun's book: Barzun, Jacques. Begin Here: The Forgotten Conditions of Teaching and Learning. University of Chicago Press, 1991. http://archive.org/details/begin-here-the-forgotten-conditions-of-teaching-and-learning.

    2. He pointed out that these questions penalize the more imaginative and favor those who are content to collect facts. Therefore, multiple-choice test statistics, in all their uses, are misleading.

      He = Banesh Hoffman

      This is tangentially similar to Malcolm Gladwell's claim that standardized testing for law school privileges certain types of thinkers over others, something which creates thinkers who are good at quick things with respect to time pressures rather than slower and more deliberate thinkers who are needed at higher level functions like the Supreme Court.

      See: The Tortoise and the Hare, S4 E2 of Revisionist History https://www.pushkin.fm/podcasts/revisionist-history/the-tortoise-and-the-hare

      testing imagination versus fact memorization/simple recall compared with thinking quickly under pressure or slowly with time and increased ability to reason

    3. Thirty years ago, the physicist and teacher Banesh Hoffmann wrote a book, ''The Tyranny of Testing,'' which was attacked by the test-making industry and ignored by educationists. It showed how multiple-choice questions, by their form and substance, work against the aim of teaching.
    1. Youmust apprehend the unity with definiteness. There is only oneway to know that you have succeeded. You must be able totell yourself or anybody else what the unity is, and in a fewwords. ( If it requires too many words, you have not seen theunity but a multiplicity. ) Do not be satisfied with "feeling theunity" that you cannot express. The reader who says, "I knowwhat it is, but I just can't say it," probably does not even foolhimself.

      Adler/Van Doren use the statement of unity of a work as an example of testing one's understanding of a work and its contents.

      (Again, did this exist in the 1940 edition?)

      Who do McDaniel and Donnelly 1996 cite in their work as predecessors of their idea as certainly it existed?


      Examples in the literature of this same idea/method after this: - https://hypothes.is/a/TclhyMfqEeyTkQdZl43ZyA (Feynman Technique in ZK; relationship to Ahrens) - explain it to me like I'm a 5th grader - https://hypothes.is/a/BKhfvuIyEeyZj_v7eMiYcg ("People talk" in Algebra Project) - https://hypothes.is/a/m0KQSDlZEeyYFLulG9z0vw (Intellectual Life version) - https://hypothes.is/a/OyAAflm5Ee6GStMjUMCKbw (earlier version of statement in this same work) - https://hypothes.is/a/iV5MwjivEe23zyebtBagfw (Ahrens' version of elaboration citing McDaniel and Donnelly 1996, this uses both restatement and application to a situation as a means of testing understanding) - https://hypothes.is/a/B3sDhlm5Ee6wF0fRYO0OQg (Adler's version for testing understanding from his video) - https://hypothes.is/a/rh1M5vdEEeut4pOOF7OYNA (Manfred Kuenh and Luhmann's reformulating writing)

  11. Sep 2023
    1. https://www.reddit.com/r/Zettelkasten/comments/10jx7gg/wooden_antinet_zettelkasten/

      Scott Scheper commissioned a two drawer solid wood (cedar) zettelkasten box similar to those from the early 20th century. He had it listed on his website initially for $995 and then later for a reduced $495.

      He created a waitlist sign up for it, ostensibly to test the interest in manufacturing/selling them as a product. To my knowledge he never made any beyond the initial prototype.

      The high cost likely dampened interest compared to the much cheaper primary and secondary markets for these sorts of storage containers.

      See also:<br /> - $995 https://web.archive.org/web/20230124062200/https://www.antinet.org/wooden-antinet-waitlist - $495 reduction https://web.archive.org/web/20230306195625/https://www.antinet.org/wooden-antinet-waitlist

  12. sendersupport.olc.protection.outlook.com sendersupport.olc.protection.outlook.com
    1. Microsoft strongly recommends that you conduct email testing prior to sending live communications to your users/customers
  13. Aug 2023
    1. I ran into the same problem and never really found a good answer via the test objects. The only solution I saw was to actually update the session via a controller. I defined a new action in one of my controllers from within test_helper (so the action does not exist when actually runnning the application). I also had to create an entry in routes. Maybe there’s a better way to update routes while testing. So from my integration test I can do the following and verfiy: assert(session[:fake].nil?, “starts empty”) v = ‘Yuck’ get ‘/user_session’, :fake => v assert_equal(v, session[:fake], “value was set”)
  14. Jul 2023
    1. we should have some psychological screening at the top jobs. I think that there should be an expectation that people who are about to control nuclear weapons, that can literally wipe out our species, should, at a minimum, be subject to a psychological test.
      • recommendation
        • mandatory psychological testing for politicians
    1. REPLs are nice but they work well only for reasonably isolated code with few dependencies. It's hard to set up a complex object to pass into a function. It's harder still to set up an elaborate context of dependencies around that function.

      I wonder how much of this is accomplishable by automatically parameterizing code by the types that aren't used internally so they implementation can forget about the specifics. In addition some sort of meta-programming capability to automatically generate arbitrary instances or a richer form of trace types for user types would go a long way to simplifying the trace generation.

  15. Jun 2023
  16. May 2023
  17. Mar 2023
    1. Industrial concerns doubtless suffer enormous losses from the employment of persons whose mental ability is not equal to the tasks they are expected to perform. The present methods of trying out new employees, transferring them to simpler and simpler jobs as their inefficiency becomes apparent, is wasteful and to a great extent unnecessary. A cheaper and more satisfactory method would be to employ a psychologist to examine applicants for positions and to weed out the unfit. Any business employing as many as five hundred or a thousand workers, as, for example, a large department store, could save in this way several times the salary of a well-trained psychologist.

      I think this is interesting because they are saying that intelligence testing could be used to determine job positions. I agree that employing a psychologist to examine applications for positions would be beneficial because the employer doesn't have to worry about certain things the psychologist would look for. I agree that using a psychologist to weed people out of decision of employment could be effective because many people are applying, but the employers only want certain people for that job. I think this is relevant to the history of psychology because there are some companies who use people to determine who is deemed fit for the company, and this is what they wanted to start doing so they could find the best employees for that particular job.

    1. Nonparametric statistics are often preferred to parametric tests when the sample size is small and the data are skewed or contain outliers.
    2. when to use parametric versus nonparametric tests [8,9,10]
    1. https://www.antinet.org/wooden-antinet-waitlist

      2023-03-06: Noting that the list price on this has now dropped to $495 including shipping. He's also closed the wait list, which I'm guessing was set up to both collect email addresses as well as to test market the demand for such a box at his various price points.

  18. Feb 2023
    1. What we ultimately should care about is being able to use our knowledge to produce something new, whatever that may be. To not merely reproduce you must understand the material. And understanding requires application, a hermeneutic principle that particularly Gadamer worked out extensively. If you really want to measure your level of understanding, you should try to apply or explain something to yourself or someone else.
  19. Jan 2023
    1. I've seen a bunch of people sharing this and repeating the conclusion: that the success is because the CEO loves books t/f you need passionate leaders and... while I think that's true, I don't think that's the conclusion to draw here. The winning strategy wasn't love, it was delegation and local, on the ground, knowledge.

      This win comes from a leader who acknowledges people in the stores know their communities and can see and react faster to sales trends in store... <br /> —Aram Zucker-Scharff (@Chronotope@indieweb.social) https://indieweb.social/@Chronotope/109597430733908319 Dec 29, 2022, 06:27 · Mastodon for Android

      Also heavily at play here in their decentralization of control is regression toward the mean (Galton, 1886) by spreading out buying decisions over a more diverse group which is more likely to reflect the buying population than one or two corporate buyers whose individual bad decisions can destroy a company.

      How is one to balance these sorts of decisions at the center of a company? What role do examples of tastemakers and creatives have in spaces like fashion for this? How about the control exerted by Steve Jobs at Apple in shaping the purchasing decisions of the users vis-a-vis auteur theory? (Or more broadly, how does one retain the idea of a central vision or voice with the creative or business inputs of dozens, hundreds, or thousands of others?)

      How can you balance the regression to the mean with potentially cutting edge internal ideas which may give the company a more competitive edge versus the mean?

  20. Dec 2022
    1. Let’s say, you’ve set up the list-unsubscribe header to you email campaign. Check out whether it works by sending an email to a test inbox. For Gmail, you’ll see the unsubscribe option in the header right next to the sender name
  21. Nov 2022
    1. I've developed additional perspective on this issue - I have DNS settings in my hosts file that are what resolve the visits to localhost, but also preserve the subdomain in the request (this latter point is important because Rails path helpers care which subdomain is being requested) To sum up the scope of the problem as it stands now - I need a way within Heroku/Capybara system tests to both route requests to localhost, but also maintain the subdomain information of the request. I've been able to accomplish one or the other, but haven't found a configuration that provides both yet.
    1. Honestly, at this point, I don't even know what tools I'm using, and which is responsible for what feature. Diving into the code of capybara and cucumber yields hundreds of lines of metaprogramming magic that somehow accretes into a testing framework. It's really making me loathe TDD despite my previous youthful enthusiasm.

      opinion: too much metaprogramming magic

      I'm not so sure it's "too much" though... Any framework or large software project is going to feel that way to a newcomer looking at the code, due to the number of layers of abstractions, etc. that eventually were added/needed by the maintainers to make it maintainable, decoupled, etc.

    1. module InjectSession include Warden::Test::Helpers def inject_session(hash) Warden.on_next_request do |proxy| hash.each do |key, value| proxy.raw_session[key] = value end end end end
    1. the functional core, imperative shell pattern

      Link to video on "Boundaries" doesn't go into depth on the functional core, imperative shell pattern. However, this one does: https://www.destroyallsoftware.com/screencasts/catalog/functional-core-imperative-shell

    2. For new code, it’s usually a good idea to design the code so that it’s easy to test with “real” objects, rather than stubs or mocks.
    3. We keep our functional tests separate from our unit tests, in the tests/functional directory. Because these are slow to run, we will usually write one or two functional tests to check a new feature works in the common case, and unit tests for all the other cases.

      Keep functional & unit tests separate. Functional for common cases, unit for all others.

    4. To run the backend test suite only call tox directly

      Probably means, "Call tox directly if you only want to run the backend test suite."

    1. How to Turn Obsidian Into a Personal Kanban Organizer

      Checking if Hypothesis works on Android via Brave mobile browser. Here's some LaTex being tested \(A \cup B\)

  22. Oct 2022
    1. strange images with junk and light

      another test annotation

    2. create something weird

      testing hypothesis annotations

  23. Sep 2022
  24. Aug 2022
    1. ReconfigBehSci. (2021, November 26). Parts of Germany seem to have potentially introduced requirements that cannot practically be met as testing capacity is proving insufficient—A dangerous moment for rule compliance Nadelöhr Corona-Tests: “Es ist Wahnsinn” via @sz https://t.co/meLS79RTCw [Tweet]. @SciBeh. https://twitter.com/SciBeh/status/1464287412289511432

  25. Jul 2022