627 karma · joined April 20, 2016
I currently use Brave, but if they switched to using Quantum I personally would just switch to Firefox proper.
Shouldn't that be one of the few cases where the code isn't being called twice? useEffect is meant for side-effects, so it isn't included in the list of functions that React will call twice.
> Either be nasty and durable, or be less nasty and be less durable.
In my experience apple cables are both nasty and less durable than most other cables I own. I have multiple old 30 pin cables that are frayed at the connector, my old ipod headphones had electrical tape on the cable where the rubber was breaking, and all my apple cables are a gross yellow color, while similarly old non-apple cables I own are all still perfectly white.
> I think their 200G plan has good bang for the buck
It's average at best. It's the same price as google for monthly payments, but google is cheaper if you pay yearly.
Is there a source for this? Seems like they could have just changed the logo if that was the case, no?
window.scrollTo({ top: 0, behavior: "smooth" })I would understand (though personally disagree) if you wanted the walled garden everywhere, but it seems contradictory to only want it on phones and not computers.
If you don't want to use Docker it should still be possible with the OSX-KVM, I've done it before, but I can't remember the exact steps I took to get it running, sorry.
Should also note that I've run into issues with AMD CPUs, Intel seems to work better, but I also haven't tried it since they first added nested virtualization support with AMD CPUs to Hyper-V, so those problems might be fixed now.
I would argue the example posted above is still "consistent" because the rules Prettier follows for line breaks (and everything else) are consistent throughout the codebase. Things will be on one line until the line is too long or complex, and then it will break to multiple lines. The rules don't change depending on who was writing the code, what the code is, or any other factors. It may not be formatted exactly how you want, but that's kind of the whole point. It's formatted how Prettier wants, and that's the only option.
It also means I have to spend zero time worrying about formatting. Now I often just type stuff out on one ugly line, then hit ctrl+s and everything magically formats itself, it's honestly great. Whenever I work on code without Prettier it makes me realize how much time I spend just formatting things.
Here's the github issue about it: https://github.com/microsoft/WSL/issues/4851
[1] https://blogs.vmware.com/workstation/2020/05/vmware-workstat...
Obviously the batteries still degrade, but they should be usable long past 3 years assuming regular driving habits.
On the other hand, I don't know how you would actually verify whether an 11-character string is or isn't a Youtube ID (short of querying Youtube itself), so I suppose it's nice that potential IDs are shown, just seems they have a very high chance of being false positives.
[1] https://nodejs.org/dist/latest-v16.x/docs/api/util.html#util...