- Sep 2024
-
stackoverflow.com stackoverflow.com
-
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.
-
- Dec 2023
-
eduscol.education.fr eduscol.education.fr
-
Sauf dans les cas où le chef d’établissement est tenu d’engager une procéduredisciplinaire (cf. fiche 6) et préalablement à la mise en œuvre de celle-ci, le chefd’établissement et l’équipe éducative recherchent, dans la mesure du possible, toutemesure utile de nature éducative. L’objectif est de donner toute leur place aux étapesde prévention et de dialogue préalablement à l’application d’une sanction, qu’elle soitprononcée par le chef d’établissement ou par le conseil de discipline.RESSOURCE SUR LES SANCTIONS DISCIPLINAIRESAUTORITÉS DISCIPLINAIRES
-
-
developers.google.com developers.google.com
-
Warning: Do not accept plain user IDs, such as those you can get with the GoogleUser.getId() method, on your backend server. A modified client application can send arbitrary user IDs to your server to impersonate users, so you must instead use verifiable ID tokens to securely get the user IDs of signed-in users on the server side.
-
- Nov 2023
-
www.fcpe.asso.fr www.fcpe.asso.fr
- Jun 2023
-
www.ecfr.gov www.ecfr.gov
-
§ 1003.36 Record of proceeding. The Immigration Court shall create and control the Record of Proceeding.
Regulation providing that the Immigration Court is responsible for creating and controlling the Record of Proceeding.
-
-
www.postgresql.org www.postgresql.org
-
Writing json_populate_record in the FROM clause is good practice, since all of the extracted columns are available for use without duplicate function calls.
-
- May 2023
-
ux.stackexchange.com ux.stackexchange.com
-
Since using case insensitivity is so widespread, take their sign up email address and make it lower case. Whenever they try to log in, convert that to lowercase as well, for comparison purposes, when you go to see if the user exists. As far as sign up and sign in go, do a case insensitive comparison. If the person signs up as Steve@example.com, you'll still want to allow them to sign in later with steve@example.com or sTeVE@example.com.
-
But you should also keep track of the email address that they signed up with in a case sensitive fashion. Any time you send an email to them, be sure to send it with that original casing. This allows the email server to handle it however it feels like it needs to. So even though the person may always be signing in to your site with steve@example.com, if they signed up as Steve@example.com, you'll always send email to Steve@example.com, just to be safe.
-
- Apr 2023
-
security.stackexchange.com security.stackexchange.com
-
If you send links with a secret login token with email, then they should be single-use and expire rather quickly.
-
- Jan 2023
-
-
It's usually undesirable to add a default scope. It will take more effort to work around and will cause more headaches. If you know you need a default scope, it's easy to add yourself .
-
- Nov 2022
-
learn.microsoft.com learn.microsoft.com
-
Glyph 0 must be assigned to a .notdef glyph. The .notdef glyph is very important for providing the user feedback that a glyph is not found in the font. This glyph should not be left without an outline as the user will only see what looks like a space if a glyph is missing and not be aware of the active font’s limitation.
-
- Sep 2022
-
rubystyle.guide rubystyle.guide
-
Prefer alias when aliasing methods in lexical class scope as the resolution of self in this context is also lexical, and it communicates clearly to the user that the indirection of your alias will not be altered at runtime or by any subclass unless made explicit.
reassurance of lack of possibility for run-time shenanigans
-
- Aug 2022
-
www.elizabethpagegould.com www.elizabethpagegould.com
-
.
Participants attended three friendship-intervention sessions. For the first two sessions, they asked and answered increasingly personal questions about one another for 45 minutes. For the third session, they played a game of Jenga together and then filled out a questionnaire assessing university satisfaction.
-
.
Participants were informed about the nature of the study, filled out RS-race and RS-personal questionnaires, and then gave their informed consent.
-
- Jan 2022
-
journals.plos.org journals.plos.org
-
Duncan, S., Bodurtha, P., & Naqvi, S. (2021). The protective performance of reusable cloth face masks, disposable procedure masks, KN95 masks and N95 respirators: Filtration and total inward leakage. PLOS ONE, 16(10), e0258191. https://doi.org/10.1371/journal.pone.0258191
-
- Jun 2021
-
stackoverflow.com stackoverflow.com
-
a principle I use is: If you have an accessor, use the accessor rather than the raw variable or mechanism it's hiding. The raw variable is the implementation, the accessor is the interface. Should I ignore the interface because I'm internal to the instance? I wouldn't if it was an attr_accessor.
-
- May 2021
-
interpersonal.stackexchange.com interpersonal.stackexchange.com
-
Please don't write answers in comments; we have a policy against this. If you have an answer to the question, write it up as an answer. Thanks.
-
-
www.impressivewebs.com www.impressivewebs.com
-
For this very reason, we have the hx’s on our site dynamically create id’s. I love being able to direct people directly to a particular part of a page when I find something interesting, but the problem is that only we, as developers, know how to do this.
-
- Apr 2021
-
docs.microsoft.com docs.microsoft.com
-
The best procedure is the one you don’t need. If the UI is crystal clear and leads the customer through a task, a procedure isn’t necessary. Start there.
-
- Mar 2021
-
www.chevtek.io www.chevtek.io
-
Write modules that do one thing well. Write a new module rather than complicate an old one.
.
-
- Feb 2021
-
en.wikipedia.org en.wikipedia.org
-
there are two key elements to an anti-pattern that distinguish it from a bad habit, bad practice, or bad idea
-
- Jan 2021
-
blog.linuxmint.com blog.linuxmint.com
-
We can certainly explain the issues snap cause without using political or religious arguments. We did so in the documentation I linked to above.
-
-
unix.stackexchange.com unix.stackexchange.com
-
For the future, you should: Install LTS (Long-term support) versions as they have an 8-year life span (with Extended Security Maintenance) or 5 years without. The current LTS version is Ubuntu 18.04.1 LTS Bionic Beaver released on July 26, 2018 with an EOL in April 2023. OR Carefully watch the EOL of the interim / development releases and upgrade frequently.
-
- Nov 2020
-
en.wiktionary.org en.wiktionary.org
-
διαδικασία Definition from Wiktionary, the free dictionary Jump to navigation Jump to search Greek
Greek Noun
διαδικασία • (diadikasía) f (plural διαδικασίες)
- procedure, process, method, protocol
- (computing) function, subroutine, procedure
-
- Oct 2020
-
stackoverflow.com stackoverflow.com
-
just don't work for a company that forces you to support IE6. this can't be a good company anyways.
-
-
news.sky.com news.sky.com
-
Coronavirus excess fatalities: How pandemic is impacting the lives and deaths of those who don’t have COVID. (n.d.). Sky News. Retrieved October 15, 2020, from https://news.sky.com/story/coronavirus-excess-fatalities-how-pandemic-is-impacting-the-lives-and-deaths-of-those-who-dont-have-covid-12103141
-
-
journals.sagepub.com journals.sagepub.com
-
Stevens, S. K., Brustad, R., Gilbert, L., Houge, B., Milbrandt, T., Munson, K., Packard, J., Werneburg, B., & Siddiqui, M. A. (2020). The Use of Empathic Communication During the COVID-19 Outbreak. Journal of Patient Experience, 2374373520962602. https://doi.org/10.1177/2374373520962602
-
- Sep 2020
-
psyarxiv.com psyarxiv.com
-
Kekecs, Z., Szaszi, B., & Aczel, B. (2020). ECO, an expert consensus procedure for developing robust scientific outputs [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/9gqru
-
-
now.tufts.edu now.tufts.edu
-
Warning witnesses of the possibility of misinformation helps protect their memory accuracy. (2020, August 30). Tufts Now. https://now.tufts.edu/news-releases/warning-witnesses-possibility-misinformation-helps-protect-their-memory-accuracy
-
- Aug 2020
-
-
r/BehSciResearch—New research project on managing disagreement. (n.d.). Reddit. Retrieved July 27, 2020, from https://www.reddit.com/r/BehSciResearch/comments/hwjm0w/new_research_project_on_managing_disagreement/
-
-
signalvnoise.com signalvnoise.com
-
I used to be a staunch defender of proper reply styles, even for casual emails. Insert your replies below the relevant paragraph and trim the exchange to be just about the matters of discussion.
-
- Jul 2020
-
www.scientificamerican.com www.scientificamerican.com
-
Adams, J. U. (n.d.). The Dentist Will See You Now: But Will You See the Dentist? Scientific American. Retrieved July 4, 2020, from https://www.scientificamerican.com/article/the-dentist-will-see-you-now-but-will-you-see-the-dentist/
-
- Jun 2020
-
medium.com medium.com
-
Don’t apply caching if the process is expected to react to changes during the caching period. i.e. Don’t cache when mixing reads and writes.
-
- May 2020
-
kellysutton.com kellysutton.com
-
there’s 3 steps to building software: Make it work Make it right Make it fast
-
-
-
Gestion des dossiers... une affaire de professionnel!
-
-
oppq.qc.ca oppq.qc.ca
-
Le dossier client à l’ère du numérique
-
-
gitlab.com gitlab.com
-
Good commit hygiene in general is a tough thing to enforce. It requires manual labor and descipline, from both the author and the reviewer.
-
-
developer.mozilla.org developer.mozilla.orgPromise1
-
in the absence of an immediate need, it is simpler to leave out error handling until a final .catch() statement.
-
- Apr 2020
-
guides.rubyonrails.org guides.rubyonrails.org
-
When sanitizing, protecting or verifying something, prefer whitelists over blacklists.
-
-
-
in order to track the always-improving upstream project, we continuously rebase our patches on top of the upstream master
-
-
-
it reminds me of IT security best practices. Based on experience and the lessons we have learned in the history of IT security, we have come up with some basic rules that, when followed, go a long way to preventing serious problems later.
-
The fact is that it doesn’t matter if you can see the threat or not, and it doesn’t matter if the flaw ever leads to a vulnerability. You just always follow the core rules and everything else seems to fall into place.
-
-
-
Remove upper bound in our dependencies Doing this we are only asking people to fork our gem or open issues when they want to use a new version of the dependency and we still didn't tested with it.
-
-
stackoverflow.com stackoverflow.com
-
I usually write example code that is for both Chrome and Firefox WebExtensions.
-
- Oct 2015
-
quod.lib.umich.edu quod.lib.umich.edu
-
In Hamlet on the Holodeck, Janet Murray argues that digital environments have four essential properties. They are procedural, participatory, spatial, and encyclopedic. They are procedural because software is an authored set of procedures, which can be used to “write rules . . . that are recognizable as an interpretation of the world.”[2] Her focus is on storytelling, but we will see that any piece of software can be seen as an expressive, rhetorical model of a system. In addition to being procedural, digital environments also invite participation in that their rule-based behaviors are “responsive to our input” and they also “represent navigable space.”
Could be of interest to bring back Kitchin and Dodge's understanding of code/space to this discussion.
-