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 8y ago · link · parent

> The architecture of lambda may prevent this.

It doesn't; you've always been able to use any language you want, by embedding it within the runtime of a supported language. This is just announcing proper, official support for it instead of having to rely on a workaround.

comment 8y ago · link · parent

> If someone gets a hold of your lost phone, without the secure enclave, rooting it is easy with physical possession.

Rooting an arbitrary Android phone is not easy, and rooting an arbitrary Android phone (especially the Nexus/Pixel flagship devices) without wiping the storage is really not easy.

comment 8y ago · link · parent

> That's begging the question. The up/down ratios they choose determine what workloads are possible/typical. More upstream means there would be other workflows enabled.

Not really, because the options exist at different tiers. If you have 5/1, 10/3, 25/5, and 100/20 as options, and you notice that people choose 10/3 and saturate their download but only use a third of their upload capacity, then turning that into a symmetric system would result in them having to pay more for the same usage.

On the other hand, if you noticed that people were choosing the 100/20 but only peaking at 15 down and 15 up, then yes, it would be clear that customers would prefer a symmetric system.

As it stands, P2P is a pretty rare use case for residential broadband, even when the capacity exists. Access to symmetric speeds is unlikely to increase P2P usage, because those aren't the main blockers.

comment 8y ago · link · parent

> If by "a century ago" you also mean "less than 2 years ago", then sure.

I probably shouldn't bother engaging with such a low-effort comment, but: no, there's plenty of precedent throughout the last 50-75 years for ideological conservatives leveraging and supporting this interpretation of the Commerce Clause.

comment 8y ago · link · parent

> that the reading that the reading of the commerce clause to mean that regulating interstate commerce is exclusively the province of the federal government (which it doesn't explicitly say) is.

Again, that's not really a partisan position either. If anything, there's an argument to be made (as has been made elsewhere in the comments) that this would be more of an ideologically liberal position to take.

AEI is being very strategic here: they've found a legal position that is wholeheartedly aligned with mainstream liberal and left-wing ideology and which is supported by a century of case law, and they're using that position to advocate their favored outcome. The outcome notwithstanding, the legal position itself is emphatically not a partisan one, nor is it one that is particularly conservative ideologically.

Of course, that doesn't mean that AEI is correct, either legally or morally. They could still lose on other grounds. (Or, they could still win, despite you and me agreeing that their position is morally wrong).

comment 8y ago · link · parent

> ... in a manner that is antithetical to conservative ideology. Am I missing something?

Yes, you're missing the part where this isn't particularly antithetical to conservative ideology anymore (it would have been a century ago, but not recently).

There's a common caricature of conservative ideology under which any use of federal powers to limit state powers is hypocritical. But that's not a particularly accurate depiction of conservative ideology, any more than the caricature that any use of state powers is somehow hypocritical under a liberal ideology. (If that were the case, then this push by New York and California could itself be characterized as similarly hypocritical).

In this case, both the left and the right have agreed for the better part of the last century that the federal government has this sort of power, and they have both used that power for their own respective causes at many different points in the last century. People who believe that the federal government doesn't (or shouldn't) have this sort of power are in the minority and are not a dominant force in any political party.

Again, this is a relatively new development in US Constitutional history; in 1818 or even 1918, the situation was very different; almost all the rulings that expanded the Commerce clause have happened in the last 100 years.

comment 8y ago · link · parent

> Because the AEI is a right-libertarian propaganda mill (or, if you prefer, “think tank”) that generally (though there are some prior exceptions, too) is in lockstep with the general right-libertarian minimalist interpretation of Commerce Clause authority

You'd be hard-pressed to find an ideologically libertarian person well-versed in Constitutional law who wouldn't concede that regulating interstate commerce at the federal level is covered under the Commerce Clause.

There are other grounds on which to have the discussion about net neutrality besides the Commerce Clause - and proponents of net neutrality would be well-advised to shift the discussion to those terms, because if we're strictly talking about the Commerce Clause, it's about as clear-cut as things get: the federal government has the power to regulate explicitly-interstate commercial activity.

comment 8y ago · link · parent

> What you have to understand as a baseline is that AEI is a partisan think-tank, so they're not telling truths or exploring the spectrum of interpretations, they're coming at any given issue with an ideologically driven mantra. And in this case, that mantra is that the commerce clause of the constitution, which states:

First, AEI is not a partisan think-tank. They're ideologically conservative, but they are non-partisan.

Secondly, it's hard to argue that advocating the Commerce Clause is an "ideological" or partisan viewpoint. A hundred years ago, it definitely would have been, but not in 2018. If anything, the current interpretation of the Commerce Clause is the antithesis of conservative ideology: it expands federal powers, limits the rights reserved by states, and (if you want to make things partisan) predominantly happened because a Democratic president nearly caused a Constitutional crisis when he tried to stack the courts in order to get court rulings in favor of his agenda.

I'm an advocate of net neutrality, but I'm not going to say that the position being advocated here by AEI is a particularly partisan one. If anything, they're smart, by framing a Republican-sponsored policy within the context of case law that Democrats have consistently supported for a century.

comment 8y ago · link · parent

> Hilarious, but not really surprising to read, as a non US-ian.

Why is it hilarious? It's hard to argue that net neutrality isn't about commerce, because most of the common talking points in favor of it explicitly refer to commercial activity ("paid lanes", etc.).

While I dislike the implications of this argument for net neutrality, legally, it's actually a pretty solid argument. The Supreme Court has already ruled - many, many, many times - that states have very little power to restrict interstate commerce. These cases all happened around the turn of the last century, so the precedents are pretty well-established. And the ability of the federal government to regulate interstate commerce is an enumerated power, so there's pretty much no way to deny it.

Conversely, the Supreme Court has also expanded the scope of the Commerce Clause so far over the course of the 20th century that it's basically given the federal government the authority to regulate absolutely anything that happens in the states, because anything has the potential to impact interstate commerce.

To give you an idea of how new this idea is: at the time Prohibition [of alcohol] was enacted in 1919, it was a Constitutional amendment enforced via the prohibition of "manufacture, sale, or transportation" rather than posession, because it was believed that the federal government did not have the power to outlaw possession of a substance. Similarly, the original ban on marijuana wasn't even a ban at all - it was a cleverly-worded tax act which made it illegal to possess marijuana that hadn't been taxed, but also made it impossible to prove that you'd paid the tax.

comment 8y ago · link · parent

> Forget "will" and try "do." If power to the cell towers is out, you get no emergency info. This used to be a yearly occurrence back when I lived in a more rural area.

Or, only five years ago, for me living in downtown Manhattan (when Hurricane Sandy hit). The next morning, all cell service was completely offline (in addition to us having no power).

comment 8y ago · link · parent

> A lot of property owners never want to leave. Ever. They want this to be their home (or 2nd home) forever, and want it to never change from what they remember it being for the past 20 years.

That's really not generally true. Talk about "property values" generally does actually pertain to financial outcomes related to their property.

And they have valid reasons to: if you're paying a mortgage, you're in trouble if the value of your property drops. Even if you've paid off your mortgage already, you still don't want it to drop, because it reduces your wealth on paper (reducing your financial flexibility), and it also reduces the size of the estate you can bequeath to your children. But more immediately than that: just because the value of your property has dropped, that doesn't mean the taxes you pay on it automatically drop too. (See: Detroit, where people had to sell their homes to force a revaluation, because the annual taxes were more than the value of their homes after the market crashed, and the city refused to reassess the homes, because it was broke).

The problem is that "property values" is also used as a dog-whistle for racism and redlining - or, in other words, making neighborhoods less accessible to (or attractive to) people who aren't white. This is especially true in California and the Pacific Northwest, which has an incredibly long history of passing exclusionary laws regarding housing and property ownership.

comment 8y ago · link · parent

> I my case it adds up: Slack, Docker CE (that spins up a VM on Mac) for tests, corporate Docker EE setup (runs alongside Docker CE), elasticsearch, kafka, and 9 more services inside that corporate Docker setup, two Chromes (Chrome Stable and Chrome Canary), multiple VSCode instances. And if you need to build something with boost or folly you can add 3GB ram just for that.

Sure, but any Ultrabook is going to struggle running all of that, and more RAM isn't going to help by itself. You can run all of that on a Macbook Pro, but not a Macbook Air; the XPS 13 is intended to be comparable to the Macbook Air.

comment 8y ago · link · parent

Not OP, but I got the X1 Carbon, which was (at the time) their top-of-the-line Ultrabook and believed to be their most Linux-compatible laptop.

I had a number of issues with the Thinkpad that were all relatively minor in and of themselves, but overall, I ended up switching back to the XPS 13, and I plan on sticking with this line.

comment 8y ago · link · parent

> IMO, it does not make sense to buy any of those new models: whether it's Dell, HP, or else--before we see models with 32Gb of RAM. It's been told here over and over since 2016 when first Touchbar MacBook got released.

What are you doing on an Ultrabook that actually needs 32GB of RAM? Even on my work laptop (Macbook Pro, 16GB), I pretty much never have issues that would be addressed by having 32GB of RAM.

(Note: Just because toph/htop/etc. show >16GB of data in memory, that doesn't necessarily mean your workload would be noticeably impacted if you were limited to 16GB of RAM.)

comment 8y ago · link · parent

> so I didn't know this, but got curious about how many known prime there are

This isn't the exact question you're asking, but we actually know the distribution of prime numbers, which allows us to calculate the (approximate) number of primes that are less than or equal to an arbitrary value.

Since the largest prime discovered is 2^(277,232,917-1), that means that the number of primes less than or equal to that number is approximately equal to 2^(277,232,917-1)/ln(2^(277,232,917-1)).

That's approximately equal to:

2^(277,232,917-1)/ln(2^(277,232,917)), which is in turn equal to 2^(277,232,917-1)/(277,232,917 * ln(2)).

That's a number that's too big to plug into your standard everyday calculator, but that tells you the number of primes you could "discover" and still not break the (new) record.

comment 8y ago · link · parent

> In what world are construction workers paid $1000/day? That's an exaggeration, but your point stands.

The MTA. That's not at all an unusual amount for total compensation expenses for an employee.

comment 8y ago · link · parent

> Having been in construction I question if that obvious thing is really waste.

Read the linked article. You'll see that it truly is waste.

> The budget showed that 900 workers were being paid to dig caverns for the platforms as part of a 3.5-mile tunnel connecting the historic station to the Long Island Rail Road. But the accountant could only identify about 700 jobs that needed to be done, according to three project supervisors. Officials could not find any reason for the other 200 people to be there.

For just one project, that's 200 paid $1,000/day to do nothing. $73 million/year wasted, just for one project.

comment 8y ago · link · parent

> I just want to share an observation about articles like this. It's that I never hear the same thing later from my doctor. Either doctors stick with their old methods -- what they were taught in medical school -- or the online information is a little premature.

Why would you expect your doctor to recommend this to you? Unless you're a young, healthy, overweight African-American, this study doesn't really apply to you (and you're probably not at great risk of arterial stiffness anyway).

> but further studies don't turn it into an actionable prescription regiment

They do, but it takes a long time for this to happen, because medicine is incredibly complex, and there are all sorts of confounding factors that need to be investigated before general-purpose recommendations can be made. Otherwise, it can actually be counterproductive.

Hypothetically: 4000 IUs of Vitamin D daily could decrease the risk of arterial stiffness in overweight African-Americans, but taking more than 2000IU could increase the risk of liver or kidney problems in East Asians[0], and it could also increase the risk of congestive heart failure in diabetic African Americans[1].

That's not even a particularly complex situation, because breaking down by broad race categories is pretty cookie-cutter, and diabetes is one of the most-problematic comorbidities. But all sorts of these things need to be studied before we make broad medical recommendations, because if we jump the gun, we could end up causing major health problems across the general population.

[0] This is completely made-up and hypothetical; I'm not actually suggesting that 2000 IUs of Vitamin D is harmful.

[1] Which, incidentally, may still not be a strong enough reason not to recommend it, if arterial stiffness is considered to be a greater risk than CHF.

comment 8y ago · link · parent

> Bright light too? I can recommend a good lamp.

It's no longer recommended to use UV-B light as a source for Vitamin D, because it increases your risk of skin cancer.

Instead, Vitamin D can be obtained from certain foods, though the number of foods that contain Vitamin D naturally is quite small[0]. Hence why supplements are often needed.

[0] Vitamin D is added to milk, though it doesn't occur in milk naturally. And the quantities included in milk may not be sufficient for a lot of people.

comment 8y ago · link · parent

> No, the belief in health care is that privatization leads to better quality (because privatization and higher pay leads to better care and smarter doctors), not (necessarily) lower prices.

If we look at Medicare as an example, empirically, the private plans have both better quality metrics and come in under budget consistently. (And patients prefer them, which is why the private plans have been gaining in popularity among patients over the years).

comment 8y ago · link · parent

> Every country will attempt to negotiate the cheapest price they can get. Even so, drug prices across Europe vary widely by country. And there are powerful European pharmaceutical companies[1] who naturally resist price discounts or cheaper alternatives

The only reason those countries are able to "negotiate" low prices is that the US is a much larger market and doesn't fix prices, so they can simply mark up prices in the US to make up the difference.

Every single one of those European pharmaceutical companies you mentioned? They make the bulk of their revenue in the US market, even though Europe is more than twice the size of the US. That's why half the R&D done in the entire world is done in the US, and a large portion of the R&D done elsewhere is still funded by revenue generated from the US market.

comment 8y ago · link · parent

> Don't fall down the fallacy hole of 'authoritarianism like China or Singapore must be better.'

I never said that.

And besides, "authoritarianism" isn't the opposite of democracy, as evidenced by authoritarian democracies.

comment 8y ago · link · parent

> All the political parties do short term work just enough to win the next election and no one cares to plans long term. People just don't get complicated perspective, all that understand is here and now leading to all short term band-aid solutions which are harmful for the long term.

You're describing all democracies, in every country. Education has nothing to do with it. It's a well-studied structural problem with democratic rule in general.

comment 8y ago · link · parent

> f you wanted to reduce the crowds on Everest, you’d ban guided climbs, not solo climbs. Solo climbing big mountains is rarified territory that attracts relatively few participants.

It's not about reducing the crowds; it's about reducing the risk that solo climbers pose to the crowds.

comment 8y ago · link · parent

Title should really be "Docker, Inc. is Dead". That's the original title, and it's clear that it's about the company, not the product.

comment 8y ago · link · parent

> I think another important consideration might be that peak plasma concentrations on Vyvanse would be lower than on Adderall (because it's more spread out over time).

Vyvanse is intended to be equivalent to Adderall XR, not IR, so the effects are intended to be spread out in both. If you're comparing to IR, you're no longer really comparing apples to apples anyway.

comment 8y ago · link · parent

(Disclaimer: I've studied pharmacokinetics, though I'm not a pharmacologist)

Vyvanse is a prodrug. That means it metabolizes into the d-enantiomer of amphetamine, whereas Adderall contains a 75-25 mixture of the d- and l-enantiomers. (Enantiomers are like left- and right-handed gloves: they have the same chemical structure, but one is the mirror image of the other. Usually two enantiomers will have similar but slightly different effects; occasionally, they can have incredibly different effects - see thalidomide for an example).

So, without further study, it's hard to know, but it's likely that Vyvanse has a similar long-term profile to Adderall, because the active ingredient (lisdexamfetamine) metabolizes into the active ingredient that makes up about 75% of Adderall.

But, it's possible that the effects described are caused by the l-enantiomer, in which case they won't apply to Vyvanse. It's also possible that lisdexamfetamine itself has its own set of effects which may either cancel out or exacerbate the effects reported by Adderall.

To give you an idea of how prodrugs can have different effects from the drug that they metabolize into: Vyvanse does have a rather nasty feedback loop for some people, because amphetamines suppress the appetite, but lisdexamfetamine is metabolized into the active ingredient using the digestive cycle[0]. For some people, this can cause a really wonky extended release cycle, where they have no appetite mid-day (due to the drug) and can't eat enough to metabolize enough dextroamphetamine to get them through the afternoon, resulting in an afternoon crash. After this wears off and they develop an appetite again (around dinnertime), they'll eat, and then the dosage that was supposed to kick in after lunch finally kicks in after dinner, causing issues sleeping.

[0] This is intentional, and it's why Vyvanse is marketed as an "abuse-resistant" alternative to Adderall, because it's theoretically harder to extract an acute dosage from it.

comment 8y ago · link · parent

> The point of a to-do list (or reminder in Google Calendar) is that it's constantly staring at you until you actually complete it. It sounds like you're using one-off calendar entries. I'm not suggesting that "try not having ADD", just suggesting you use mechanisms to remind you to do stuff that are persistent and thus work.

No offense, but from what you're saying, it's pretty clear you don't understand how ADHD works. ADHD is a disorder that affects executive function; the whole problem is that the system you're describing will fail for someone with even moderate but untreated ADHD, let alone more severe cases.

Maybe you don't mean it this way, but it's actually rather insulting to say that these mechanisms "are persistent and thus work", or that OP try a to-do list because "it's constantly staring at you until you actually complete it". ADHD means that you can't assume that those systems work, and it means that "constantly starting at you until you complete it" isn't actually a viable solution.

Hence, that's why OP read your post as "try not having ADD", because you're literally suggesting solutions that presume that they not have ADHD in the first place.

comment 8y ago · link · parent

> And the company might decide they deserve an extra Christmas bonus equal to their contributions to candidates the company likes plus enough to cover the income taxes... It was however, a discretionary bonus available to all employees. It might not be legal, but it happens all the time.

There is literally no evidence for the extraordinary and outlandish claim that this happens "all the time".

Please don't distract from the actual topic at hand - the wide corruption within the MTA and the New York State government - with completely unsubstantiated conspiracy theories.

1
707172
202