The examples switch between using let/var which is what actually causes hoisting to occur and doesn't explain that at all. I feel like if you didn't know what hoisting is and read this article you'd walk away with a really poor understanding of what's going on
I hope this doesn't discourage sharing things like this.. I know sometimes the best way to learn something is to try and teach it.
This is a great article! We need more of these comparison sort of things.
> we can’t write a mutating method which changes a tree from a leaf to a node
I was puzzled by this for a while. Then I realised that object oriented inheritance hierarchies have a problem that I've never grasped before: you can mutate your object but you can't mutate so that its (sub)type changes! Yet another reason that OO is poor for design.
On the other hand the Haskell version doesn't support mutation either. I think this article would be better if it had used a persistent data structure in Python too.
“Some asshole will be avoiding doing actual work by watching this video on his handheld telephonic device and trying to decide between Beef O’ Brady’s for lunch or that shitty Chinese place around the corner again. He’s probably gonna get the Crab Rangoon.”
While impressive, "how many satellites you can see over a major city" is not an accurate way to judge a GPS satellite network.
To understand why, you have to understand how GPS works. Basically, each GPS has a super accurate clock on board. These are all synced up. These satellites transmit a signal regularly on predetermined schedules.
Your phone or car or whatever else is using GPS listens for these signals. Your device knows when exactly all the satellites sent their signal. It listens and counts how long it takes to receive each signal. With the length of time it takes to receive each signal from each satellite, it can pinpoint your location.
For basic operations you require three satellites for an approximate location.
For precise operations you need line of sight to four satellites, as the fourth enables you to calculate your altitude.
At no point do you need more than 4 in sight.
Why this is important is because the U.S. satellite constellation has 32 currently operating GPS satellites. In addition to those, we have 8 that are currently in space, ready to turn on, but they aren't because there's no reason to have them on.
There's no doubt in my mind these satellites have additional secret reasons for being up there. That's the only reason they'd need that many.
TL;DR:While they do have more active satellites, it's pointless for navigation purposes. Additionally, counting the backup satellites the U.S. Has operational but currently turned off in "standby" mode, we still have more.
EDIT: Not everything I stated is completely accurate. See comments below for some clarifications. Make sure to upvote them if you found them helpful.
So, basically, it will pass more of your data to Google, not block tracking, but remove a lot of the visual noise that reminds you you're being tracked...all while raising the stakes for advertisers to circumvent current and largely effective ad blocking methods.
Good luck trying to change the hospital mindset. Doctors actually have a term for patients who suffer sleep deprivation: hospital-induced-psychosis. It should be called a crime and the head nurse and doctor in charge of the patient ought to be arrested.
"Ministers expect that, before long, wind energy will operate without support."
Not when there is a anti-cyclonic high pressure system anchored over the UK and the wind isn't blowing. No wind, no turbine rotation and no electricity.
Having been involved in the BBS scene from the very early 80s and being involved with all things computer related since then, I have experience with all the browsers listed, and could name a few others.
I hope this doesn't discourage sharing things like this.. I know sometimes the best way to learn something is to try and teach it.