Hacker Newsnew | past | comments | ask | show | jobs | submit | GaurVimen's commentslogin

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.


They will think long and hard and the solution will be coal and prayers.


And glorious cricket according to ScoMo.


Exactly there shouldn’t be a difference between texts and a hand written letter

Or a photo on my phone or a physical photo.

It’s mine I own it.


“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.”

Damn, girl nailed it.


TL;DR at bottom.

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.


> At no point do you need more than 4 in sight.

Unless you are measuring something with high precision over long periods of time. Like dam flexing or ground shifts.

The more sats you have, the better you'll be at eliminating the signal noise (due to the ionosphere transition and what not).

Also, regarding this -

> "how many satellites you can see over a major city" is not an accurate way to judge a GPS satellite network.

You are completely missing their point - you are in the _city_, a place with tall buildings that give you just a slice of the sky. So the more satellites you have above, the better you chances you will see _enough_ from where you are standing.


The city problem even has a name: Street Canyon or Urban Canyon https://en.wikipedia.org/wiki/Street_canyon#GPS_signal_recep...


Both in cities and mountains you'll often not have 180° visibility. Having more satellites available increases the chances to always have 4 in sight.


Layman here...Is it possible life could likely live in the emptiness space as well then?


Where life == self replicating information? Yes, quite unlikely, but yes. Along these lines, see Boltzmann brains.


The rabbit hole you're looking for is "plasma crystals". ;-)


Oh god, I didn't realize how broken filesystems are. Shit.


If it helps, just about everything is like that if you look closely. Processors have side channel attacks, RAM has rowhammer which recently turned out to be a real thing, digital electronics in general turn out to have analog side effects, time and space are both basically impossible for computers to represent precisely (see: falsehoods programmers believe about *). We should do what we can, but life goes on:)



I'm amazed every time a machine boots.

Given the thousands of things that could cause it not to it's incredible it makes it down the happy path each time.


Yep - as soon as they moved away from ROMs I am too.

Amiga, Atari ST and early Macs were sort of in a twilight - they ran the core OS from ROM but loaded utilities and sometimes patches from disk (-ette).


I wonder at what point the Tories will deem food and accommodation as non-essential?


Isn't that already the case to some degree? Not just the Tories, but pretty much all but a few fringe parties seem happy to make decent food and accommodation a luxury. For example: https://www.worldbank.org/en/news/press-release/2018/11/08/e...


The American right wing already believes food is a luxury: https://twitter.com/RepThomasMassie/status/10681363932375572...


But that tweet is nothing of the sort. Food is not a luxury, but you can never have a right for someone else's labour.


> you can never have a right for someone else's labour.

The reason a human's productivity is orders of magnitude higher than that of a stone age person is the work of uncountable legions of dead people. Almost everything we have and know is due to network effects of humans working together in time and space. The current generation's productivity is almost all due to inherited tools and knowledge. You do live off of "other people's work", we all do. The amount that you yourself contribute, and that you are concerned about, is negligible in comparison to the inheritance. We can afford to be much, much more relaxed. You are not living a stone age life where your concern would have had merit, because most of what you achieve was indeed attributable mostly to yourself (although even then tools and techniques inherited from previous generations probably was a major factor).

If somebody is able to "make millions", or even billions, how much is only their own effort? Put a baby in a swamp and see what they can achieve. That billionaire is sitting in the center of a vast network of humans in time and space - most of it consisting of the dead who cannot be paid even if you wanted to. It's certainly good and necessary to have such people in central network locations, I just dislike when people think those guys are "self-made". I let you live alone in a remote forest, and even with all modern knowledge, where is your "self-made" empire? Same for a 50k/year job, who still is vastly more productive than a $100/year stone age guy not at all because of superior skills or effort. Your position in the space-time human network determines most of your impact.

So to what I quoted of your comment, that is exactly what we do, every one of us. Some just like to pretend that their own contribution is much more significant than it really is, because almost all of the productivity and possibilities are from the network and not from a particular person. So - relax! It isn't you who pays, it's the dead >99.9%.


This is true, and that's why you should advocate for charity - which is based on free will decision on controlling your own property and resources, just as all the interactions that make up modern world that you so thoroughly describe.

The "human right" concept, however, is entirely different: it is referring to use of the mechanism that has monopoly on violence, the state, to redistribute these resources, by the use of or threat of use of said violence, without any free will involved. This mechanism completely removes individual capability of making a moral decision, and uses morality as a pretext to obtain monopolistic, bureaucratic power.

In my view, this monstrous mechanism, which is capable of despotism thousands as bad as any other, should be only used for things that cannot be achieved without it, such as rule of law. Charity and helping others is a noble thing, but since it can be achieved without it, just through free individuals decisions, it should.


Using violence to collect taxes is monstrous but using violence to protect the property of rich people is right and just? In nature, a person cannot have infinite wealth. The idea that someone can have as much wealth as they want is a creation of the state and is enforced by violence.


I don't understand the argument against government violence. Violence has a very interesting feature by design: assuming you have enough force you can always resist it. There is some slack in the system that lets you change it under special circumstances. Compare that to other non violent ways of enforcing the law. In theory one could genetically engineer humans to always obey the government. There is no opportunity for resistance and even if by mere chance you do resist, you might be subjected to a drug or gene therapy that "fixes" you.


> In nature, a person cannot have infinite wealth.

In nature, most of children die in infancy, might makes right, murder rates are sky-high and starvation is a constant threat.

So, if anything, using "in nature" is working against your case, not for it.

> The idea that someone can have as much wealth as they want

Nobody can have as much as they "want" - but everybody should be able as much wealth as they have acquired through any kind of lawful exchange.


> In nature, most of children die in infancy, might makes right, murder rates are sky-high and starvation is a constant threat.

> So, if anything, using "in nature" is working against your case, not for it.

Total non-sequitur. The point is that the idea of unlimited wealth is an artificial construction.

> everybody should be able as much wealth as they have acquired through any kind of lawful exchange.

Any state that protects the property of wealthy people through violence can surely also put obligations on those people. In exchange for the state's violence, they must support a social safety net which gives the people who wealthy people are being protected from basic human necessities and dignity.

The state who gives an artificially constructed right to wealthy people (the institution of private property) can also give an artificially constructed right to poor people (basic needs and dignity).


> Total non-sequitur. The point is that the idea of unlimited wealth is an artificial construction.

But you're trying to reach some kind of value judgement from this point - as if "artifical construction" means it's bad in some way. It is not. On the opposite, these completely virtual notions of money and finance helped achieve modern-day prosperity that humanity enjoys.

So, yes, it is artificial, which makes it good.

> which gives the people who wealthy people are being protected from basic human necessities and dignity

So, pay off the potential looters and thieves to sooth them? You do understand that this is basically "might makes right" moral imperative and nothing more?

> The state who gives an artificially constructed right to wealthy people (the institution of private property) can also give an artificially constructed right to poor people (basic needs and dignity).

First of all, the artificially constructed right of private property is given to all, equally. And second of all, while both of these rights are artificially constructed, one is moral, while the other is not.


> But you're trying to reach some kind of value judgement from this point - as if "artifical construction" means it's bad in some way.

I'm not saying property is bad nor am I making a value judgement about it. I'm saying is that it's a concept created by the state.

> So, pay off the potential looters and thieves to sooth them? You do understand that this is basically "might makes right" moral imperative and nothing more?

You're begging the question. There's no such thing as "looters" prior to the concept of property.

> First of all, the artificially constructed right of private property is given to all, equally.

Sure, just as basic necessities like education, food and housing should be.

> And second of all, while both of these rights are artificially constructed, one is moral, while the other is not.

Again, not at all clear how you're making a moral judgement about this issue prior to the creation of the concept of property. Yes, stealing is wrong, but in order to steal something it has to belong to someone first. If we're trying to figure out what should belong to who, it's silly to come into the discussion by simply insisting that stealing is wrong.

I could just as easily say that the wealth of a society belongs to everyone prior to it's distribution. Why then should rich people be entitled to steal it from poor people? Stealing is wrong, remember.


Charity has been proven, time and again, to be completely inadequate to the task of providing for the poor and needy.

We live in a society. The rich benefit hugely from that society. It is their duty and responsibility to give back enough to help maintain and improve that society.

To say otherwise is, effectively, to say that it's OK to want everyone beyond the walls of your castle to starve.


> It is their duty and responsibility to give back

You cannot decide what other people's legal duty or responsibility is if they hadn't entered a voluntarily agreement with you. And moral duty should never be imposed by violence - it's always up to individual moral choice.

> To say otherwise is, effectively, to say that it's OK to want everyone beyond the walls of your castle to starve.

No. To say otherwise is to value individual choice and responsibility over the dictate of the masses.


> You cannot decide what other people's legal duty or responsibility is if they hadn't entered a voluntarily agreement with you.

You appear to be one of those who worship at the altar of inviolable individual self-determination.

That concept is antithetical to a functioning society.

I understand its allure—it seems to be a logical and empowering thing. But it's fatally flawed, because humans are not individual creatures, evolved to live out solitary lives creating our own path. We are social creatures. Thus, any philosophy that puts the will of the individual above all else will inevitably fail.

In my experience in practice, people espousing such a philosophy generally either are or believe they will be in a position to impose their will on others, and want a philosophical basis for claiming that as moral and just.

Note, please, that I'm not saying that individual self-determination must always bow to the will of the majority. That's also deeply problematic. Instead, I'm saying that no absolutist philosophy will provide you with the tools you need to create a world that's worth living in for everyone.


> You appear to be one of those who worship at the altar of inviolable individual self-determination.

Actually, the opposite is true. My ideal place to live is a commune without personal property, and I love being in such temporary environments in places like music festivals (local copies of burning man).

But I draw a very sharp distinction between society and state, and want to minimize the state's reach. All these ideals of sharing and charity should only be implemented through personal free choice, and never - through organization which has monopoly on violence.

For me, it's the basic security principle of separation between minimal operating system kernel and a fat application that manages all of it's features. The smaller the kernel, the less code there is to have vulnerabilities in, the less chance there is of compromise.

The less power the state has, and the more functions it gives away to society, the less chance there is that the state can be corrupted.


There's always a state in one form or another. Always.

The question is who controls it and who benefits from it, not whether or not it exists.


> not whether or not it exists

It seems that you're trying to frame my argument as if I wanted to abolish the state completely, but I have said nothing of the sort. Just as you're saying, the question is, in what form should the sate exist. And my answer is, in the most minimal form required to uphold the things that no other institution can.


The state corrects for market failures, which no other institution can. It can also pool risk much more efficiently than a corporation can.

I'd say the current state (US or UK) isn't far off from what you describe.


But food stamps arent the right to someone elses labor. The laborer is getting paid. Its taking tax money and giving it to a producer and a consumer.

Its really no different than a subsidy.

If you think taking money from the population and redistributing it is theft, youre basically arguing against taxes.


Yes, exactly.


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.


>So, basically, it will pass more of your data to Google

Where exactly do you get this from?


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.


Hospital delirium is the current accepted name for this condition. It covers much more than sleep. It includes the stress of complex and potentially life threatening medical and social conditions, confusion related to time of day and time unconscious, the effects of medication, and possible underlying mental health issues. All compound each other.

Your charge against doctors and nurses is extreme and unwarranted. Health professionals don't exacerbate these problems willingly or intentionally. ICU delirium puts doctors and nurses at risk of injury or even assault by patients with vivid hallucinations.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: