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

These days, you "have to" leave money on the table, or your IPO is deemed a "failure" (see: Facebook).

comment 11y ago · link · parent

> why is US blamed for "destabilizing Afghanistan" and "unintended consequences", if the area would probably be similarly unstable even in this alternate timeline? if the US meddling didn't change anything for the worse, why all the blame?

Well, first, I didn't say that the US "didn't change anything for the worse". I just said that it wouldn't have resulted in a more stable regime, ceteris paribus. Stability is not the only axis on which to evaluate whether the result would have been better or worse[0].

And we're just talking about the US's actions. The US and the USSR are both responsible for the current situation; the "blame" doesn't have to be assigned unilaterally to one single entity.

[0] I'm also deliberately not defining "stability", because that's already an incredibly hefty topic when discussing middle eastern history and politics.

comment 11y ago · link · parent

> People do care about it, they just don't think about it that often, or only think about people seeing their tamest online behaviour.

There's also a big difference between not caring and caring, but feeling powerless to actually do anything about it.

For any of these larger privacy issues, most people are powerless to make significant changes. I can't prevent Google from driving its Street View cars by my house. I can't prevent Facebook from making shadow profiles about me. I can't prevent the NSA from conducting mass surveillance, etc.

comment 11y ago · link · parent

We're talking about a country that's been used essentially as a pawn by the major imperial powers of each era for the last 200+ years. (This situation is not unique to Afghanistan - which is why many other countries have similar problems - but Afghanistan's geography compounds the effect).

The British, Russians, US, Ottomans, Mughals, Safavids - all of them have spent significant time and effort (not to mention military power) trying to secure the region for "their" side. All of them struggled with it, to the point where it's debatable whether any of them ever succeeded.

This situation continues on today - so no, I don't think Afghanistan can ever be politically stable as long as it continues to hold this role in global geopolitics[0]. Perhaps circumstances will change and we'll start to see a more stable regime emerge there, but it's kind of hard to force that when one of the major causes for instability in the last two centuries has been external influence in the first place.

EDIT: Unrelated to the answer, but I find the use of the word 'balkanized' particularly amusing given the etymology (it refers to the fragmentation of parts of the former Ottoman empire into many states that compete with each other for regional influence). Afghanistan is not part of the Balkan peninsula, but it did have its own fascinating power struggle with the Ottoman empire, and the breakup of the Ottoman empire in the early 20th century was a major turning point that influenced the current state of Afghanistan today.

[0] I'm not sure any country really could be, for what it's worth, but we're talking about Afghanistan.

comment 11y ago · link · parent

Honestly? Afghanistan's a really difficult region to unify politically; it's only happened a handful of times in history. On top of that, the global trend in the last ~100 years has been towards nationalism and away from consolidated, sprawling empires. Due to the geography and ethnic composition of Afghanistan, it's highly unlikely that the Soviets would have been able to do exercise much control over it in the long-run with any semblance of stability[0]. So I'd be very skeptical of the idea that it would have turned into anything resembling North Korea.

In all honesty, it would probably look relatively similar to what it does today. In that alternate universe, it wouldn't necessarily be the Taliban itself that came to power, but the group that occupied that role would be similar in ideology and effect to the Taliban that exists in this universe.

[0] ignoring the pending collapse of the USSR, of course, but since this is all speculation anyway, we can take some liberties.

comment 11y ago · link · parent

I don't like the gif in the middle of the page. With a video I can easily pause or skip to the part I want to see. Even an image carousel for four static images would have the same effect.

As it is, I instead have to wait until it cycles around to look at any given image, which is rather frustrating.

comment 11y ago · link · parent

> The article makes it sounds like the Supreme Court has already ruled on this issue. Wouldn't that make this California case moot?

The Supreme Court issued a (relatively) narrow ruling; the EFF is arguing that this principle can and should be applied to a broader ruling.

This is a pretty standard pattern in judicial proceedings. For a number of reasons, judges are often hesitant to rule too broadly, so advocates push for successively broader rulings until they achieve their goal.

(It also sometimes happens in reverse, with advocates pushing for narrower rulings, but that's a different matter).

comment 11y ago · link · parent

> By way of contrast - not only does the London underground have countdown clocks on platforms (accuracy +/- 1 minute), they also have an API allowing 3rd party developers to integrate tube (and bus) times into transport apps.

The MTA has countdown close, just only on the IRT lines. And the MTA has an API for both subway and bus times.

comment 11y ago · link · parent

> and then passing laws in Texas that forbid local cities from making minimum wage laws. Why aren't they yelling about "city rights!" Obviously because it doesn't fit their agenda.

I agree with everything else you're saying, but as for the example of states' rights vs. city rights, - while this may appear to be inconsistent, it isn't necessarily. It appears to be a contradiction if you interpret states' rights to be an affirmation of delegation to smaller forms of government on pure principle, but that's not what it is.

Advocates of states' rights base their argument on the Constitution, which specifically affords states (and the people) all rights that aren't provided to the federal government[0]. States reserve this power because the federal government actually draws its power from the states, not the other way around[1].

This isn't an argument that generalizes to the sub-state level, because incorporated cities and towns draw their authority from the state, just as the federal government draws its power from the federation of states that form the union.

You may or may not agree with the extension of this argument to advocate for the various things that states' rights advocates promote, but I'm just pointing out that this isn't actually a paradox.

[0] The tenth amendment is the most notable example of this, but there are other parts of the constitution in which states are treated as having far more sovereignty than any other subdivision of government: https://en.wikipedia.org/wiki/Tenth_Amendment_to_the_United_...

[1] Historically, this is obvious: the states had to ratify the Constitution before it ever even came into effect!

comment 11y ago · link · parent

> I really don't understand why the existence of software that doesn't try to take advantage of DNSSEC is being used as evidence that DNSSEC is incapable of doing something.

It's not that DNSSEC is fundamentally "incapable" of doing this, but that it's literally not what the protocol is designed to do. As noted in the other HN thread on this announcement, the DNSSEC protocol is explicitly not designed for end-user verification, and end-users are discouraged from running their own valdiators. There's a reason that browsers don't support this out-of-the-box and (more importantly) don't ever plan on it.

If you're concerned about people snooping on your TCP packets, DNSSEC doesn't solve that. If you're concerned about people spoofing DNS responses, DNSSEC doesn't solve that[0]. TLS + HSTS does solve that, by making it impossible to load a forged page, regardless of what DNS records were returned[1].

Again, TLS solves all the problems you describe (including the problem of ISPs redirecting mistyped pages to their own advertising pages). TLS is also supported by every browser, out-of-the-box. It's more secure, easier to deploy, and already widely used.

[0] Again, as explained in the post, DNSSEC is not designed to protect end-users against malicious ISPs. This is literally a matter of what problems DNSSEC is even aimed at solving.

[1] Notice how http://google.com (not even https://) will never redirect to a captive portal. That's not DNSSEC. That's TLS + HSTS. DNSSEC is redundant in this situation.

comment 11y ago · link · parent

> If you live in a world where unencrypted HTTP still exists then it's nice to have some defense against ISPs who like to lie in DNS responses.

As tptacek and others have pointed out numerous times elsewhere on HN (and in the article linked above):

1. DNSSEC doesn't protect against ISPs hijacking DNS responses

2. TLS is easier to deploy than DNSSEC

3. TLS provides more security for the end user than DNSSEC does

3a. If TLS us used, DNSSEC provides essentially no additional security benefits to the end user.

So really, it makes sense to be advocating the use of TLS, which is what projects like Let's Encrypt are all about. DNSSEC is at best a waste of resources that could be better spent on actually securing the Internet through TLS, and at worst actively harmful (because the strongest criticism of TLS is that it centralizes trust in CAs, and DNSSEC centralizes trust even further - in a single entity!)

> I'd prefer not to send any packets at all to the wrong IP rather than wait until it presents the wrong certificate.

I'm not sure what difference it makes to be sending packets to the wrong IP. The whole point of TLS is that it doesn't really matter, because they can't read what you're sending anyway.

Also, the way the Internet works, you're always sending packets through the "wrong" IP addresses, so you should make the assumption that your raw traffic is visible to to any eavesdropper (and therefore encrypt your traffic so that this is not an issue).

comment 11y ago · link · parent

That would just cause those users to switch to Firefox/IE/etc., which is not what Google wants.

If they're still using unsupported platforms, there's a good chance it's because upgrading is not a feasible option (at least not now/not easily).

comment 11y ago · link · parent

> 1) Json/XML parsing is the easiest with no work (or minimal) required, you can just have the field names capitalized (or use stereotypes) and it gets done, with a line of code.

Obligatory plug - if you're sick of writing out the struct definitions yourself, you can generate them from sample JSON: https://github.com/ChimeraCoder/gojson

This is especially useful when implementing REST servers/clients, because you can simply include an example JSON response which your tests use, and then use `go generate` to autogenerate the struct. Since they're both based on the same file, you don't have to worry about keeping them in sync - if there are any changes to the response structure, you only have to update it in one place.

comment 11y ago · link · parent

> The resources used to make those arrests could have been used instead to investigate and prosecute the perpetrators identified by those rape kits.

In theory, yes. In practice, no, they couldn't, because police officers aren't generally qualified to be processing and/or investigating rape kits.

We can't even say that they should have hired fewer officers and spent the money on people qualified to investigate these cases instead, because the LEO unions ensure that those cops stay employed (and also explicitly lobby for drug criminalization so that those officers have work to do).

EDIT clarified "criminalization" wording

comment 11y ago · link · parent

> This is not a paradox, it's one of the best known axioms of economics: https://en.wikipedia.org/wiki/Law_of_rent

I wish more people understood this principle, because so many superficial economic "analyses" I see in the news completely ignore it.

By the way, you're giving the example of physical land, but the general form actually applies to property ownership of any form. (That is, the rent on any property will rise to be equal to the surplus that the renter receives from it, after accounting for transaction costs. In the long run, the property owner is always able to claim all of the surplus from the renter.)

comment 11y ago · link · parent

> I recall listening to a vinyl rip of Lady Gaga's first album, and found that "Pokerface" was much more enjoyable with the additional dynamic range.

I was skeptical of this, so I sought out a copy on Youtube[0]. "Better" is subjective, and this is definitely lower quality overall (given the Youtube compression). But it is undeniably a very different song. I've listened to the CD version of this song countless times, and I don't think I ever remember hearing the male voice in the intro so prominently.

For someone hearing the song for the first time (or even the first few), it may not be as obvious, but as someone who's used to hearing that song on a regular basis, it definitely jumps out as having a crisper sound.

[0] https://www.youtube.com/watch?v=98AgdAkjOjo

comment 11y ago · link · parent

> Iran learned this the hard way - their centrifuges were isolated from the internet, but someone managed to get access to the memory sticks used to transfer data in and out

It's not a sufficient answer in itself, but it's a good response.

It's a lot harder to compromise a physical system than to compromise a network.

Furthermore, it's a lot harder to compromise a physical system and go undetected than to compromise a network.

Both are possible, but given an offline system with good physical security and an online system with good physical security, you're still better off with the offline version.

comment 11y ago · link · parent

> And if you don't have the time to go out and stump for a candidate or run yourself

This is one model of government. But think about the people for whom this model works and the people for whom this model means that government is all but completely inaccessible.

Saying 'it's up to you to fix it' is one thing when you're talking to a person who already has time, money, and influence. It's quite another when you're talking to people who don't have any of those three things - quite honestly, the people whom government is currently failing the most.

comment 11y ago · link · parent

> There really doesn't seem to be a "due process" cadidate, does there?

Nope. If you're looking to end drone strikes before the 2020 race, you're SOL. There was only one candidate who opposed warrant-less drone assassinations, and he just withdrew from the race (Chafee).

Rand Paul did filibuster Brennan's nomination on this exact issue, but he has since watered down his stance to the point where it's basically unrecognizable.

The other candidates range from lukewarm support ("we should do this, but only rarely") to enthusiastic support, to the ones who actually carried out and executed the drone strike program (Clinton).

comment 11y ago · link · parent

> It doesn't matter what the Tea Party has done, the point is that they won a bunch of elections against way more established politicians.

Actually, it does matter, because accomplishing policy goals is the point, not electing candidates that (claim to) support the name of an ad-hoc 'party'.

If the Tea Party is succeeding only in electing candidates who claim to belong to the Tea Party but don't actually advance the Tea Party agenda (either because they don't actually care to or because they're unable to), that's a failure.

comment 11y ago · link · parent

> Look at the Tea Party for an example of how voting still works and really well. Eric Cantor, the former House Majority Leader, was 'sniped' in a primary vote

> What more can be said? YOUR VOTE COUNTS!

Except... the Tea Party has failed rather miserably on most of their core objectives, particularly their single biggest one: repealing Obamacare.

Over the last five years, we've had some legislation passed that the Tea Party was happy about, but most of it is right in line with the preexisting core Republican platform. The Tea Party candidates haven't done a great job of preserving their own careers - Sarah Palin is a no-name outside Republican circles at this point, Michelle Bachmann left Congress, and Rand Paul's best successes have been when he strays from the Tea Party line.

They've done a good job of making noise so that people know their existence, and they've done a good job of making themselves a force within the Republican party, but arguably, they've worked against their own interests more than they've advanced their agenda by helping to decrease the relevance and/or power of the Republican party[0]. Much as I don't like Boehner, the fact that he had to step down is a symptom of the deepening problems that the Republican party has, not a symbol of the success of the Tea Party.

The Tea Party makes for a great foil to the Democrats, which makes it easy for the Democrats to capitalize on a fear of the tea party in their own campaigns. The Tea Party cost the Republicans the Senate in 2010, and while they didn't cost the Republicans the House, I maintain that the Republicans succeeded despite the efforts of the Tea Party, not because of it[1].

[0] Look at how they cost the Republicans the senate race in Delaware and nearly lost Alaska as well, both of which were previously sure wins for the GOP.

[1] Oh, let's not forget about Olympia Snowe, whose decision not to run for re-election was influenced by the threats of a primary challenge from the right. Snowe ended up being replaced by King, who caucuses with the Democrats.

comment 11y ago · link · parent

Unrelated, but reading this reminded me of the story. One of my chemistry teachers in high school made a lab where we had to identify various substances by smell. H2S was one of those substances, and we were told it had a distinctive sulfuric smell.

I remember trying to smell the substance by wafting[0] (as previous teachers had instructed us) and thinking 'hm, I thought I smelled that a second ago, but now I can't'. My teacher's response was 'oh, you're just not smelling it hard enough. You really need to take a big sniff' and stuck his nose over the petri dish to demonstrate.

Fortunately I was skeptical enough of him by this point in the semester that I ignored him. Only later did I look it up and discover that H2S is not actually odorless - it smell like rotten eggs. But it also dulls your sense of smell at the same time[1].

This is only one of several times when he almost killed us with labs in that class (my favorite was when he came just a second away from lighting a classmate on fire with Thermite[2]).

I'm really glad I'm not in high school anymore.

[0] https://www.youtube.com/watch?v=EQis0nnap74

[1] https://en.wikipedia.org/wiki/Hydrogen_sulfide#Safety

[2] https://en.wikipedia.org/wiki/Thermite

comment 11y ago · link · parent

> why is "investment" the primary benchmark?

Because consumers want faster speeds, lower latency, and/or expansion of coverage (to areas that currently don't have fast speeds - or even broadband internet at all).

That all qualifies as investment. If we were talking about something that is a pure commodity utility with pretty much no ongoing technological improvement, like water[0], then investment is less important than ongoing maintenance.

But our Internet is a piece of infrastructure that's constantly evolving, and keeping up with increasing expectations requires investment.

> Are they serving more customers, and is customer satisfaction improving?

Serving more customers almost certainly requires investment. Customer satisfaction probably does too.

Yes, there are other factors which affect those two metrics besides investment, but investment is one that is very easy to measure and is a leading indicator (whereas those two are both lagging - the results are only observed long after the actual work has taken place).

[0] There are plenty of technologies associated with better and/or more environmentally friendly ways to supply and deliver water, but the point is that to the consumer they're all the same. Nobody is clamoring that they want water 2.0, which is wetter than water 1.0.

comment 11y ago · link · parent

Not the PDF I'm thinking of, but just googling the numbers I remembered, here one example:

https://www.floridahospital.com/sites/default/files/finance_...

> In 2012, beneficiaries of Medicare and Medicaid received nearly 60% of the clinical services provided by Florida Hospital (as measured by charges)vi. However, payments from these government programs represented just 40% of Florida Hospital’s total net revenuevi . In comparison, private payers received 30% of the care provided by Florida Hospital and represented 56% of its total net revenuevi

And the next paragraph:

> hospitals such as Florida Hospital have no ability to negotiate the payments from the public payers – Medicare and Medicaid – that pay for the majority of the clinical services provided. This poses a tremendous financial challenge for hospitals because these payments do not cover costs. In order to overcome these shortfalls, hospitals negotiate higher rates from private insurance groups. For this reason, continuing cuts to Medicare and Medicaid payments create an unsustainable business environment and put undue financial pressure on private payers

(The common response to this is that we need to increase funding to Medicare. While it's true that Medicare happens to be underfunded, that doesn't actually address the structural problem. Because Medicare has the ability to change their reimbursement unilaterally[0] while it has to request additional funding from Congress, these two will always be out of sync).

[0] the word 'negotiate' is often used here, but since hospitals are essentially legally required to accept Medicare patients, it's no more a fair negotiation than the negotiation you have with Comcast over your bill. You can squeeze a few extra dollars out of them if you fight, but at the end of the day, Comcast has all the power, so they can - and do! - price-gouge.

comment 11y ago · link · parent

> Hospitals don't even know what a given service costs,

That's not really true. We're talking about the costs of goods sold, which means it's pretty easy to place a lower bound on the marginal costs. For example, if the lab supplies for running a certain test cost $100/unit from the vendor and Medicare pays $93, you know that the hospital is losing money off of it. We're not taking into account the overhead, infrastructure, or any of that stuff, since it doesn't factor into COGS.

Anyway, this number comes straight from Medicare's own figures, astonishingly. I can't dig it up right now, but it's in the public record, somewhere within a ~100 page PDF. I have the PDF at home and have linked to it on HN before. Medicare literally acknowledges that they reimburse less than 100% of the direct costs that they incur (in 2012 it was 93%, IIRC.)

comment 11y ago · link · parent

> (Insurance was originally for catastrophic care where the cost for a major illness or surgery would get too high.)

Agreed 110%.

> Having prices so high that only insurers can pay them means only insurers DO pay them and since hospitals and clinics know this they can charge whatever they want.

I've explained this in more detail on another recent HN thread, but basically: prices are 'so high that only insurers can pay them' by design, but it's not for the reason most people think.

It is generally illegal for providers (hospitals/doctors/etc.) to charge different rates to different patients based on their insurance status[0]. However, it is not illegal for providers to negotiate standard rates for specific payers. Combine this with the fact that providers lose money on their publicly-insured patients[1], and it becomes clear that they have to overcharge the rest in order to end up in the black.

So what they do is set absurdly high sticker prices, knowing that the private insurers will negotiate those down (usually this is done in multiples of what Medicare pays - e.g., Aetna will say, 'We'll pay you 150% of the Medicare price for billing code 99481 this year'.

Uninsured patients are stuck with huge bills as a result, though this is basically an unintentional side-effect of the fact that hospitals can't give them lower bills initially. It's also the reason that hospitals are almost always willing to negotiate with uninsured patients. If they know to ask, they can almost always get that down to 10% of the original rate. That bill isn't meant for individuals, they don't really expect individuals to pay, and they'd much rather negotiate a discount and have it paid in full immediately than have a patient default, which has negative repercussions for their bad debt ratio.

Privately insured patients end up having higher premiums as a result, because their insurers are paying higher rates to subsidize other patients who are not paying any premiums at all (publicly insured patients)[2].

[0] There's a little nuance to this, but that's the general idea.

[1] Medicare reimburses less than the actual costs of services provided per-patient, before accounting for any overhead

[2] This subsidy happens at the claims level, so it counts towards the insurer's requisite MLR.

comment 11y ago · link · parent

> The overall trajectory of Constitutional protections is to get more broadly interpreted over time

I'm not sure that that's the case, and at least on the issue of the executive powers of the federal government, it's pretty straightforward to argue that the federal powers specifically have increased over time.

For just one example, marijuana prohibition in 1937 was implemented as an 'impossible tax'[0] specifically because it was believed that Congress didn't have the authority to authorize prohibition of possession of a plant within the states[1][2]. The first prosecution was for failing to pay the tax, not "technically" for possession.

Nowadays, the argument that Congress lacks this power seems quaint!

I'd be willing to say that the overall trajectory of Constitutional protections is a mixed bag, but I'm really not convinced that overall the trend is towards increased Constitutional protections, particularly when it comes to protection from the executive arm of the federal government.

[0] for those who don't know: possession was legal only if you had a stamp that demonstrated you'd paid tax on it. The stamps were impossible to get, therefore the product was impossible to possess legally: https://en.wikipedia.org/wiki/Marihuana_Tax_Act_of_1937#Oper...

[1] The 18th amendment appears to contradict this reasoning, but it actually serves as an example of this. First, the Marihuana[sic] Tax Act was different from a constitutional amendment (which required the approval of the states). Secondly, even alcohol prohibition was implemented in a similarly back-door way (banning "manufacture, sale, or transportation", but not explicitly possession).

[2] (Yes, Congress is the legislative branch rather than the executive, but the question was whether the executive branch can actually obtain these powers at all)

1
117118119
202