13 Matching Annotations
- Dec 2023
-
stackoverflow.com stackoverflow.com
-
I was getting an error indicating I was using an invalid access_token. It turns out that I wasn't waiting for getLoginStatus to complete prior to making an API call
-
-
stackoverflow.com stackoverflow.com
-
stackoverflow.com stackoverflow.com
- Feb 2023
-
answers.microsoft.com answers.microsoft.com
- Jul 2022
-
www.hardscrabble.net www.hardscrabble.net
-
This option wasn’t offered by the library, but that doesn’t have to stop us. Isn’t that fun?
-
- May 2022
-
-
In order to execute an event listener (or any function for that matter) after the user stops typing, we need to know about the two built-in JavaScript methods setTimeout(callback, milliseconds) and clearTimeout(timeout): setTimeout is a JavaScript method that executes a provided function after a specified amount of time (in milliseconds). clearTimeout is a related method that can be used to cancel a timeout that has been queued.
Step 1. Listen for User Input
<input type="text" id="my-input" />
let input = document.querySelector('#my-input'); input.addEventListener('keyup', function (e) { console.log('Value:', input.value); })
Step2: Debounce Event Handler Function
let input = document.getElementById('my-input'); let timeout = null;
input.addEventListener('keyup', function(e) { clearTimeout(timeout);
timeout = setTimeout(function() { console.llog('Input Value:', textInput.value); }, 1000); })
-
- Sep 2020
-
medium.com medium.com
-
But I don’t want this to be a ‘you should use Rollup’ post — I’ll write that post when it becomes true (right now it’s a promising experiment, but an experiment nonetheless).
-
- Jun 2020
-
www.theguardian.com www.theguardian.com
-
editor, D. C. H. policy. (2020, June 27). It’ll take four years for NHS to recover from Covid-19, health chiefs warn. The Observer. https://www.theguardian.com/society/2020/jun/27/itll-take-four-years-for-nhs-to-recover-from-covid-19-health-chiefs-warn
-
- Feb 2020
-
about.gitlab.com about.gitlab.com
-
Don't wait Don’t wait. When you have something of value like a potential blog post or a small fix implement it straight away. Right now everything is fresh in your head and you have the motivation, inspiration is perishable. Don’t wait until you have a better version. Don’t wait until you record a better video. Don’t wait for an event (like Contribute). Inventory that isn’t released is a liability since it has to be managed, gets outdated, and you miss out on the feedback you get when you would have implemented it straight away.
-
Cleanup over sign-off As discussed in Sid's interview on iteration, waiting for approval can slow things down. We can prevent this with automation (e.g. tests of database migration performance) or clean-up after the fact (refactor a Pajamas if something was added that isn't coherent), but we try to ensure people don't need to wait for signoff.
-
- Apr 2019
-
en.wikipedia.org en.wikipedia.org
-
Wait list control group
-
- Dec 2017
-
docs.docker.com docs.docker.com