146 Matching Annotations
  1. Last 7 days
  2. Jul 2020
    1. O’Connor, D. B., Aggleton, J. P., Chakrabarti, B., Cooper, C. L., Creswell, C., Dunsmuir, S., Fiske, S. T., Gathercole, S., Gough, B., Ireland, J. L., Jones, M. V., Jowett, A., Kagan, C., Karanika‐Murray, M., Kaye, L. K., Kumari, V., Lewandowsky, S., Lightman, S., Malpass, D., … Armitage, C. J. (n.d.). Research priorities for the COVID-19 pandemic and beyond: A call to action for psychological science. British Journal of Psychology, n/a(n/a), e12468. https://doi.org/10.1111/bjop.12468

    1. See https://choosealicense.com/ for tl;dr Please, please add a license. The fact none is listed makes using this software a legal quagmire. Currently it is not legal to use this code or its derivatives in any useful software. I may be mistaken but hopefully this is not the intended effect. Currently no license is mentioned anywhere, what makes this code fully copyrighted, like any other creative work. It limits usefulness of this project - and I hope that it is unintentional. For example it seems that it would solve my problem of profiling hilariously slow rspec tests (2036.33 seconds ./spec/word_processor_spec.rb:43), in current situation I would be unable to legally publish project that would use this solution. Obviously, please do not release it under any license if you are not the author (that would be even worse legal quagmire)
    1. Once a test is in quarantine, there are 3 choices: Should the test be fixed (i.e. get rid of its flakiness)? Should the test be moved to a lower level of testing? Should the test be removed entirely (e.g. because there’s already a lower-level test, or it’s duplicating another same-level test, or it’s testing too much etc.)?
    2. Quarantined tests are run on the CI in dedicated jobs that are allowed to fail
  3. 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

    1. Services to UK Expats in Australia

      If you're british expats in Australia and need good, reliable and credible cross border financial planning & UK expats tax advice, Alexander Beard Group can help you!

  4. May 2020
    1. Disclaimer: Termly LLC is not a lawyer or a law firm and does not engage in the practice of law or provide legal advice or legal representation. All information, software, services, and comments provided on the site are for informational and self-help purposes only and are not intended to be a substitute for professional legal advice.
  5. Apr 2020
    1. The activity carried out by iubenda does not constitute legal advice in any way and no attorney-client relationship shall be established.
    1. Any explanatory texts provided in correspondence of the available services by no means substitute a legal opinion nor replace the assistance or advice of a professional. Such texts are merely intended to facilitate use and understanding of the Service, and are not exhaustive nor may they fit any specific case.
    1. create the consequences that work with your personality.

      This is key. The Trump donation consequence speaks to me. That'd be awful to have to do.

      I need to hold my project out in front of my greatest enemy. If I finish it, my project and I live on, thrive, and enjoy watching the world enjoy the newfound sense of well-being they've gained as a result of connecting with my work.

      But if I fail, my enemy wins, suddenly causing me to be a part of the problem my work was supposed to be designed to cease.

  6. Mar 2020
    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. How do you leverage browser cache when Google’s very own Analytics.js has it’s expiry time set to 2 hours? How do you minimize DNS requests when Google advices you to copy their tracking code, linking to an externally hosted Javascript file?If that isn’t bad enough already, Google’s advice is to avoid hosting the JavaScript file locally. And why? To ensure you get access to new features and product updates.
    1. Also, make sure your client will handle an unexpected response. Don’t assume that the comment-check API will always return either true or false. An invalid request may result in an error response; additional information will usually be available in HTTP headers. And of course, a connectivity problem may result in no response at all. It’s important not to misinterpret an invalid response as meaning spam or ham.
    1. A person who is experiencing or could experience suicidal thoughts may show the following signs or symptoms:feeling or appearing to feel trapped or hopelessfeeling intolerable emotional painhaving or appearing to have an abnormal preoccupation with violence, dying, or deathhaving mood swings, either happy or sadtalking about revenge, guilt, or shamebeing agitated, or in a heightened state of anxietyexperiencing changes in personality, routine, or sleeping patternsconsuming drugs or more alcohol than usual, or starting drinking when they had not previously done soengaging in risky behavior, such as driving carelessly or taking drugsgetting their affairs in order and giving things awaygetting hold of a gun, medications, or substances that could end a lifeexperiencing depression, panic attacks, impaired concentrationincreased isolationtalking about being a burden to otherspsychomotor agitation, such as pacing around a room, wringing one’s hands, and removing items of clothing and putting them back onsaying goodbye to others as if it were the last timeseeming to be unable to experience pleasurable emotions from normally pleasurable life events such as eating, exercise, social interaction, or sexsevere remorse and self criticismtalking about suicide or dying, expressing regret about being alive or ever having been bornA significant number of people with suicidal ideation keep their thoughts and feelings a secret and show no signs that anything is wrong.
    1. Suicide preventionIf you know someone at immediate risk of self-harm, suicide, or hurting another person:Call 911 or the local emergency number.Stay with the person until professional help arrives.Remove any weapons, medications, or other potentially harmful objects.Listen to the person without judgment.If you or someone you know is having thoughts of suicide, a prevention hotline can help. The National Suicide Prevention Lifeline is available 24 hours a day at 1-800-273-8255.

      Things to remember.

    1. Then there’s markup inside each paragraph, like links and such. You could do it right in the translation strings, but your translator then needs to know how to handle the markup, and you risk duplicating knowledge if you go as far as to hard-code link URLs. What I do is split up the translations, but keep them under the same key: en.yml1 2 3 4 log_in_or_sign_up: text: "%{log_in} or %{sign_up} to do stuff." log_in: "Log in" sign_up: "Sign up" header.erb1 2 3 4 5 <%= t( :'log_in_or_sign_up.text', log_in: link_to(t(:'log_in_or_sign_up.log_in'), login_path), sign_up: link_to(t(:'log_in_or_sign_up.sign_up'), signup_path) ) %> This way, the translator sees no code or markup (except for the i18n interpolation syntax) and there is no duplication.
    2. You probably don’t want one translation key per sentence, though. It’s helpful for the translator to have context rather than a lot of short strings, and less fiddly on your part.
    1. Translatable strings should be limited to one paragraph; don’t let a single message be longer than ten lines. The reason is that when the translatable string changes, the translator is faced with the task of updating the entire translated string. Maybe only a single word will have changed in the English string, but the translator doesn’t see that (with the current translation tools), therefore she has to proofread the entire message.
  7. Feb 2020
    1. Do Browse like a user wouldTake natural pauses that users would take to consume page contentFocus on the most common use cases, rather than all the possible use casesTake note of pages where forms/logins occur, you will likely need to complete some scripting there
    1. But, let’s be pragmatic for a second, the 80/20 rule states that you get 80% of the value from 20% of the work and a couple of simple tests are vastly better than no tests at all. Start small and simple, make sure you get something out of the testing first, then expand the test suite and add more complexity until you feel that you’ve reached the point where more effort spent on realism will not give enough return on your invested time.
    1. Load Testing Manifesto Simple testing is better than no testingLoad testing should be goal orientedLoad testing by developersDeveloper experience is super importantLoad test in a pre-production environment
    1. I was able to use the "Gift to a Friend" link on HB on a game I already owned and was able to generate an email to a friend. They were able to successfully get the game.Seeing that my Steam account is linked to HB, I was more worried about clicking the "Reveal Your Steam Key" and getting hosed that way.