Better HN
topnewbestaskshowjobs
Log inSign up

chimeracoder

21,186 karma · joined Oct 12, 2010 (16y ago) · 6,050 submissions

Inveterate builder.

Personal site: http://www.adityamukerjee.net/

My email is pretty easy to guess from my username.

Submissions

comment 10y ago · link · parent

> I had to disable e10s because whenever I switched tabs the page would sometimes be replaced indefinitely by a white screen with a big loading indicator.

I'm pretty sure I know what loading indicator you're talking about, though I don't have a screenshot handy.

Basically, this is because one of the other tabs is hogging the rendering process. Since the Firefox UI[0] is controlled by a separate process under e10s, it's still responsive while the other process is rendering webpages. So, you're able to switch tabs before there's something there to switch to.

Without e10s, under this situation, the Firefox UI will be unresponsive while the tab is rendering web content (the browser will appear to lock up). That doesn't necessarily mean the tab will always be fully rendered by the time you're able to switch, but the loading indicator was added to e10s specifically because multiprocess mode makes this situation more likely to occur than under single-process mode.

If you want to see what I'm talking about, try visiting an Amazon product page both in an e10s window and in a non-e10s window[1].

[0] Confusingly referred to as the chrome, a name that predates the browser with the same name

[1] Unless they've fixed it recently, there's a longstanding, known "bug" that's caused by Amazon "prefetching" the content of all links on an Amazon product page. This Javascript is included only when the page is loaded in Firefox, and it's rather redundant, because the content is still re-fetched when the link is clicked. Unfortunately, Amazon hasn't fixed this, and I don't think there's much Mozilla can do about it.

comment 10y ago · link · parent

> any fundamental differences between sandboxing of every thread in chrome and what electrolysis is doing?

"Sandboxing every thread" isn't exactly what Chrome does. Chrome provides a separate process for each browser tab. That, of course, requires more memory (since processes cannot directly share memory).

Firefox, on the other hand, uses a single process for the rendering for all tabs, but this process is separate from the main Firefox process. This means that the browser UI is still responsive even if one of the tabs is not responsive.

Of course, actual profiling may yield different results due to other factors that also affect memory usage, but ceteris paribus, using only two processes for n tabs should consume less memory than using n processes for n tabs.

comment 10y ago · link · parent

> Overall though, health care should not be tied to your employment.

Yes, I agree.

> So you're paying for most normal medical expenses out of pocket, and your insurance plan is basically a backstop for if you get cancer, have an accident, etc.

That's literally what insurance is supposed to be: a financial mechanism for smoothing risk. The actuarial price for insurance on routine events will be exactly the same as paying for those routine events directly.

Economically and financially, "insurance" is explicitly not supposed to cover predictable, routine costs, because there is no risk associated with them. It is a really terrible and unfortunate misnomer that we call this "insurance", because it's not. You wouldn't expect your collision insurance to cover your annual DMV fees.

If you want normal, routine medical expenses to be priced below cost, then you're talking about a subsidy. But a subsidy is not insurance. Insurance pools money from at-risk parties. A subsidy is a transfer of wealth.

To be honest, it's perfectly fine to advocate that if that's what you really want, but it's misleading to call this "insurance", because it serves a completely different goal (wealth transfer vs. risk pooling).

comment 10y ago · link · parent

> India's problem was never socialism vs capitalism. India's fundamental problem is systemic corruption and heavy bureaucracy.

Socialism, in the context of poverty, inherently leads to corruption. This is something that's hard to understand for people who've only ever seen socialism and communism in countries that are already quite wealthy (e.g. Western Europe).

I say this as someone who is from West Bengal, which has had the world's longest-serving, democratically-elected Communist government.

comment 10y ago · link · parent

> You have to admit, it's a fucked up system when your employer is basically paying you not to use your insurance.

That's not what an HSA plan is.

I'm not OP, but OP's situation is pretty common, and it's more equivalent to employers offering 401(k) matching. They deposit a certain amount of money each month into your HSA account, though by law, you can only have an HSA account if you're on a high-deductible plan.

Generally, the only employers who offer this are the ones who have the money to offer very attractive benefits (ie, tech companies). This usually includes covering part or all of employees' premiums, so their employees usually don't pick the government-mandated HMO plan option (it ends up not being any cheaper for them to choose the more restrictive plan).

comment 10y ago · link · parent

> Income tax is a tax on personal, individual income and should have no impact on startups.

No, just because a tax is levied on individuals doesn't mean the effects of the tax are limited to individuals.

(In fact, just because a tax is levied on one party doesn't even mean that party is the one really paying for it, in the end! This is the concept of tax incidence, which determines the entities who really feel the burden of any individual tax, independently of where it's collected).

comment 10y ago · link · parent

> Not only that, but this whole health plan debate is weird for those of us in high deductible HSA plans.

Yes, and don't forget about the foregone tax savings from having an HSA account in the first place (which this site does not take into account).

This site is a great example of how incomplete information can be misleading. For most people reading this site, the bulk of the impact would not be from the income tax or the health insurance costs, but the secondary impact that Sanders's plans would have on their other assets.

comment 10y ago · link · parent

> Maybe there is a reason why the ancient Greeks drew their leaders randomly from their population

I've actually advocated doing this in the US, only half-facetiously.

As an aside, though, it's common when discussing democracy to look back at Athens as an archetypal, Platonic ideal of democracy (pun intended). However, Athenian democracy actually had a lot of characteristics that we would find completely objectionable and deplorable today.

Futhermore, it wasn't particularly long-lasting. It's hard to get an exact date range, because what people mean when they say "Athenian democracy" isn't very well-defined (there were a few different stages that the Athenian democratic systems[0] passed through, so it depends on where you draw the line). But by almost any measure, Athenian democracy didn't even last as long as the US democratic system[1], and it was stable for a lot less time than that[2].

[0] systems - there were more than one throughout Athenian history

[1] In before "we have a republic, not a democracy" - this is a contested point that really boils down to which definition of 'democracy' and 'republic' you use. For example, the definitions used by the Federalist Papers were not entirely self-consistent, and you can cite some that would support this belief, but you can also cite ones that don't. And at the end of the day, it's really just quibbling over antiquated definitions of words that don't really represent how they're used today.

[2] I've heard one classicist (a Hellenist, to boot!) conclude that the stable period of Athenian democracy was as short as 35-50 years. This is the lower bound of what most classical historians would respond if you ask them, but it's just as easy to measure it in decades as it is in centuries - that's how short it was.

comment 10y ago · link · parent

> For some reason, though, we don't allow that sort of privacy violations in our actual lives.

Nomi is a startup that does exactly this. They use open WiFi networks to harvest MAC addresses of cell phones and track people's locations that way.

The only way to "opt out" is to register your MAC address with them. (Aside from just disabling WiFi on your phone, of course).

comment 10y ago · link · parent

> but Trump has said let the states do whatever they vote for.

Not just that, but Trump supported marijuana legalization as far back as 1990. That was right around the height of the war on drugs, in between "Just Say No" of the Reagan years and the anti-drug, tough-on-crime propaganda of the Clinton years.

I can't really endorse pretty much anything else Trump says, but it really can't be overstated how rare it was for anyone to be standing up for marijuana legalization (publicly) 25 years ago.

comment 10y ago · link · parent

> I don't disagree with the math, but wouldn't it be the case that it's easier to get a biased sample from 1000/100M people than 1000/1M people?

It's not the population size that matters; it's the variance in the underlying population.

Mathematically, the sample size needed to construct an n% confidence interval for a normal distribution is independent of the population size (the first derivative is zero).

comment 10y ago · link · parent

> Whatever helps you queue up at Wal Mart, I guess.

Can we keep dismissive one-line comments that add nothing to the discussion off of Hacker News?

comment 10y ago · link · parent

> What's the situation in New York, do you have give cause? Or it it at will and you can fire for no reason?

Generally, New York is 'at-will', though it depends on the circumstances of employment: http://www.ag.ny.gov/labor/can-you-be-fired

Note that New York City also has a some additional protections that are not present state-wide[0]. I'm not sure if any of those come into play here.

[0] For example, discrimination against gender identity is protected in NYC and Long Island, but not state-wide. IIRC New York also protected against discrimination for sexual orientation before SONDA (state-wide law) was passed.

comment 10y ago · link · parent

> For a long time it was dominated by white women who wanted more equality ignoring and sometimes even opposing equality for people and women of color

Some of the early suffragettes - including the first female senator in the US[0] - were not just racist, but outright white supremacists.

[0] https://en.wikipedia.org/wiki/Rebecca_Latimer_Felton#Racial_...

comment 10y ago · link · parent

Within the last month, I've found that I can no longer access my bank's website over my VPN, and Netflix has started blocking access while use a VPN as well.

I can somewhat understand the bank's motivation, but offering two-factor authentication would be a much better way of boosting security than blocking VPN traffic.

As for Netflix, it's totally short-sighted. Netflix is literally unusable from my home connection without a VPN (thanks, Time Warner!). Now that they seem to be consistently blocking my ability to use the service, I'm planning on canceling.

comment 10y ago · link · parent

> Do we agree on what "growth" means in this instance?

There's a disconnect between how economists use certain terms as well-defined technical jargon and how non-economists adopt them colloquially.[0] This leads to a lot of confusion when people try to discuss economics without understanding the precise meanings of the terms at play.

For the rest of this comment, I'm going to use the economic meaning of these terms, because there is agreement among economists about what "growth" means (though not how to accomplish it).

> Or do we give up the expectancy of a better life for everyone if we give up economic growth as we know it?

Yes, by definition. It would be impossible to have "a better life for everyone" without economic growth. "A better life for everyone" is economic growth, by definition (the creation of more value - whether tangible or not - given access to the same limited input resources).

> Is is possible to have increased leisure/increased standard of living/increased health/decreasing cost of living over time

That is considered "growth" to an economist, yes.

> without having an incerase in GDP and an average positive return on capital?

In theory, yes, but it turns out that an increase in GDP is so highly correlated with economic growth empirically, as well as so intrinsically linked from first principles, that they are usually used interchangeably in most discussions.

There are a few degenerate cases in which an increase in GDP does not actually correspond to economic growth, but they're pretty esoteric and not broadly applicable.

[0] As an analogy, imagine a bunch of non-programmers debating a CS paper about 'complexity' of an algorithm, and using the term 'complexity' to mean by their ability to understand how it works. That may be a relevant metric, and it may even be related to the technical use of the term 'complexity' (complexity class), but it's not really comparing apples to apples even though it's using the same word.

comment 10y ago · link · parent

> Its relief is temporary. Clinical trials at NIMH have found that relapse usually occurs about a week after a single infusion." It then goes on to talk about possibly alleviating this with booster treatments.

I know some people will naturally object to this, but to be honest - assuming people don't build up a tolerance to the effects[0], what's wrong with that?

People are accustomed to taking all sorts of drugs on a daily basis, from antidepressants to sleeping aids to coffee (caffeine!). If someone invented from scratch an antidepressant that could only be taken once a week, we'd be heralding it as a miracle drug.

The main opposition to Ketamine is likely to be its history of recreational use ("Special K"). But that narrative - opposing medicine because of its potential psychoactive effects - is nothing new.

[0] I don't mean a tolerance to Ketamine in general, but a tolerance to this anti-depressive effect

comment 10y ago · link · parent

> probably more since no one wants to be turning 500-year old graves into farmland.

In Manhattan, the place that is now Washington Square Park was once the location of mass graves for people who died of yellow fever during an epidemic. Before that, it was used as farmland.

That said, this is far from the norm in the US - New York is one of the few places where this could happen, due to the scarcity of space, and it's also unclear whether people remembered the locations of the graves at the time the park was constructed.

comment 10y ago · link · parent

No, this is different from what happens in the US.

Let's say I buy a house in the US and pay cash (no mortgage, no financing). I now own this house and decide to live in it. I will have to pay local property taxes, but I do not have to pay any income tax.

Now, let's say I instead rented out the house to someone else (and lived somewhere else), I would be making income on the rent, and therefore paying income tax on the rental income.

In Switzerland, if you live in the house that you own (the first example), you are considered to be renting it to yourself. So you have to pay income tax on the market rent for your home, even if you are both the tenant and the landlord.

EDIT: For the record, I don't know why you're being downvoted for asking for clarification.

comment 10y ago · link · parent

> I know they are openly anti-Muslim in some times and places.

What makes 'anti-Muslim' inherently right-wing? Certainly in the US and Western Europe, there's no shortage of Islamophobia to go around in the left-wing parties.

comment 10y ago · link · parent

> You're accepting a video stream degraded to a bitrate that's still acceptable on a mobile device for unlimited video consumption (which requires technical intervention).

If you read the EFF's report on this, they show that T-Mobile is not cooperating with Google, et. al. in order to provide this service. All they're doing is artificially throttling the connection their own end, and letting the video service's automatic bitrate selection take effect.

comment 10y ago · link · parent

> This controversy is similar to the Internet.org debate in India.

The difference with Internet.org ("Free Basics") is that, in India, it's very easy to show Free Basics as a move by a foreign country to essentially "buy" India's poor and rural citizens citizens (and therefore, its sovereignty). Given the particular history of India's colonization under British rule, this is a message that resonates very well, which is why advocacy groups have been very successful in garnering opposition to Free Basics. Those who remember colonial rule in India or the decades following are not exactly thrilled about the idea of signing over their rights or power to a foreign corporate entity.

That experience is different in the US, so its reception hasn't seen the same level of opposition here as it does in India.

comment 10y ago · link · parent

> It's still buy a certificate and set it up in nginx/apache/your favourite load balancer/etc.

To a first order approximation, yes, and for small and medium sites, that's pretty accurate. But for very large sites, there can be additional complications and expenses, and that situation has improved over the last several years. Don't underestimate the effect that the downward price of bandwidth over the years has had - at very large scale, those pennies can really add up.

There's a reason why sites like Google, Facebook, Reddit, Tumblr, etc. took so long to add SSL to everything Or why some sites like Comcast still don't provide it. It's not (always) that they simply don't care or don't have knowledgeable engineers; it's that the logistics of managing[0] SSL at that scale are non-trivial. Arguably worth it, yes, but it's not so straightforward.

[0] heck, the logistics of paying for - even with a CDN, the marginal cost of adding SSL is not cheap.

comment 10y ago · link · parent

> It's just easier to have https everywhere.

For what it's worth, this was not true ten (or maybe even five) years ago.

I'd say it's true today, for most websites, but it's worth keeping in mind that it's a relatively recent phenomenon that HTTPS is now pretty easy to set up, use, and maintain. That wasn't always the case!

comment 10y ago · link · parent

Depends on the application: http://superuser.com/a/132722

It's inconsistent enough to be frustrating.

comment 10y ago · link · parent

Agreed. Between my XPS and the Macbook Pro I have for work, the latter's keyboard is infinitely more annoying due to the lack of page up, page down, home, end, etc.

comment 10y ago · link · parent

> "People of color" influence DC politics only to the extent that the old white men in the Capitol tolerate it.

Exactly. D.C is the only city whose local politics are directly subject to the whims of Congress.

> Case in point, recent efforts to legalize marijuana locally have run into a lot of trouble

Yes, and not just recent efforts - D.C. legalized medical marijuana in 1998 by popular vote, but the Barr amendment overruled it.

(Yes, Bob Barr, who later ran for president on the Libertarian Party ticket, blocked D.C. from being able to legalize medical marijuana)

comment 10y ago · link · parent

> Washington, DC?

Okay, though I guess it depends on your definition of 'major city'. D.C. proper doesn't even have 1/10th the population of NYC; it's smaller than even El Paso, TX and Charlotte, NC. It doesn't even break the top 20 largest cities in the country.

Though more importantly, D.C. is unique politically because it's not awarded the rights of a state, and therefore not protected from the federal government the way literally every other city in the US is. (Even San Juan, Puerto Rico, has more autonomy from the federal government in some ways than D.C. does)

1
113114115
202