21,186 karma · joined Oct 12, 2010 (16y ago) · 6,050 submissions
Personal site: http://www.adityamukerjee.net/
My email is pretty easy to guess from my username.
comment 13y ago · link · parent
In other words, the Western countries' belief in 'freedom of speech' is starting to seem as shallow as the word 'Democratic' in the 'Democratic People's Republic of Korea'.
comment 13y ago · link · parent
HIV mutates incredibly quickly, which makes it incredibly hard to find a "vaccine", because something that works against one strain probably won't work against the others. The same goes for treatments - most HIV patients have to take a various combinations of drugs (the slang term is their "cocktail") which vary in effectiveness both per-patient and over time.
Cancer is difficult for a different reason altogether: it's the body's own cells. To oversimplify, it's (relatively) easy to find a medicine that can target foreign cells, but it's hard to find a medicine that will target cancerous cells and not be equally deadly (or more deadly) to healthy cells, because cancerous cells so closely resemble healthy ones.
Progress is being made - just look at Bill Gates and his campaign for eradicating polio.
comment 13y ago · link · parent
Interesting that you should choose this word, since 'federalism' is associated with the Federalist Papers, which actually promote the kind of limited federal government over the states that GP is referring to. Hamilton, who authored the Federalist Papers, is also responsible for the kind of centralized economy that you describe, by creating a federal bank to assume the states' debt after the war. (The other half of this compromise was that the nation's capital was moved from New York City to what was (at the time) a mostly uninhabitable swamp in Maryland).
Even more ironically, the Federalist Papers were written primarily to convince the then-conservative New York (and a few other states) that they would be permitted their own 'states' rights' under the new constitution.
comment 13y ago · link · parent
Also, Netflix CAN now run on Linux, as of ~4 months ago: http://www.techrepublic.com/blog/opensource/how-to-get-netfl...
comment 13y ago · link · parent
> IP: Location: Netblock: AS Name: ISP: Reverse DNS: 50.16.161.238 Ashburn, United States 50.16.0.0/16 AMAZON-AES AMAZON.COM INC. ec2-50-16-161-238.compute-1.amazonaws.com
So, not a coincidence, but also not suspicious - it's just Amazon's data center.
comment 13y ago · link · parent
He's making the argument that there exist certain documents that are "better left confidential", and that those documents "eventually make it out". Both statements are highly contestable, and I've offered a fairly extensive source by a Pulitzer prize winner to contradict those points.
His final statement is ironic. We're talking about a man (Manning) who risked his life to uncover information that the government tried to conceal by spreading misinformation. The existence of misinformation about Manning's own story is nothing if not ironic. It's not an insult - to Obama, perhaps, but not OP - and my apologies if anybody took that way. However, taking the time to look me up on Twitter just to call me a 'prick' certainly doesn't offer anything valuable to the discussion and does nothing to keep the level of discourse on HN high.
comment 13y ago · link · parent
Drug tests are counterproductive, because not only do they not dissuade drug use (empirically), but they push drug users towards drugs like cocaine, which are detectable in drug tests for only two days, instead of drugs like marijuana, which are detectable for several weeks.
The only drug you can really test for effectively is marijuana, and I frankly couldn't care less whether an employee uses marijuana - medicinal or recreational - in his free time, just the same way I don't care whether he drinks alcohol or smokes cigarettes.
Finally, it's nobody's business what an employee of mine chooses to do after work so long as it doesn't impact his work performance. If it does, that's reason enough to fire him right then and there, without any need for a drug test.
comment 13y ago · link · parent
Aside from finding this trend creepy, I find it incredibly annoying as well.
Time Warner Cable insists on sending me two (mailed) ads a month advertising Hindi-language television. It's easy for any reasonably attentive person to guess my ethnic background; my last name is very identifiable - sort of the Indian equivalent of something like 'Schwartzbaumstein'. Though, in the case of Time Warner, they probably just bought that information from someone else. Either way, I never opted to give them that information, and that's for a reason - I have no interest in identifying myself in terms of my ethnicity when it comes to my cable company.
I don't have cable (just Internet), so I'm not interested. I wouldn't be interested even if I did, because I'm from a part of the country that doesn't speak Hindi. And lastly, just because you (correctly) discerned my country of origin (or in this case, someone's sexual orientation), who are you to use that information to solicit me?
I don't find this kind of "personalization" appealing or endearing. I find it incredibly degrading and objectifying.
comment 13y ago · link · parent
Even vim on the whole is completely 'unintuitive'. That's the whole reason vimtutor exists. But, the couple of hours I've spent (combined) over the last few years learning how to use it has paid off in full and with dividends in terms of my productivity - and I hopefully have many more decades of life to recoup that investment many more times over.
> I'm often surprised when I see professional programmers turning on some fancy 3D destop effects. Sure, these look nice, but they are only distracting and counter productive when you are using an environment several hours a day.
I couldn't find these more annoying. Web interfaces tend to be the worst (because they're highly uncustomizeable). I don't want a slick, 3 second animation where the tab wiggles and slides every time I want to change the page (I'm looking at you, AmEx). I know where I want to go, and I just want to get there immediately. Every second that I'm delayed by flashy animations in something that I need to use several times a day just makes me despise the product a little bit more each time.
Outside of very specific applications/domains (gaming, simulations, etc.), I don't want anything to replace my keyboard. As GP said, nothing (including the mouse) can beat the keyboard for allowing maximum control and precision with minimal movement.
comment 13y ago · link · parent
These assassination are occurring in countries that we're not at war with (and in some cases, never have been).
Furthermore, many the citizens being assassinated have never even been accused of a crime (like shooting a rocket), let alone convicted of one.
comment 13y ago · link · parent
Once any government has seized powers like these (whether rightfully or not), it's very loath to give them up. This is an empirical observation, not a statement about the ideal.
comment 13y ago · link · parent
But this is how our entire legal system is set up. For criminal proceedings, we have to find the defendant 'guilty beyond reasonable doubt'. What is 'reasonable doubt' if not a (theoretically) quantifiable or parameterizeable representation of our belief that the defendant committed the criminal act?
We don't explicitly quantify this threshold as, eg. a 95% chance, but that's still the exact same process we require a jury to undergo, even if we don't attach quantifiable numbers to the results.
The jury can never return a probability of 1 (in statistical terms, 'almost certain'), or else the entire appeal system wouldn't exist.
comment 13y ago · link · parent
Go has addressed this; their approach is Go's interfaces, which combines the best of all worlds: duck typing with static type checks and type inference.
> Go is harder to prototype in, and it is easy to add bugs when refactoring because the type system is so poor.
This is where we'll have to agree to disagree. It's definitely not harder to prototype in - and I say this as a functional programmer - and if you find the type system to be inadequate when refactoring, it sounds to me like you're trying to write idiomatic Haskell in Go. Go's type system, by design, stays out of the way - if you're writing Go idiomatically, you really shouldn't be thinking very much about the types as you write them.
As for generics, this gets beaten to death on every single Go post on HackerNews. Yes, Go would ideally have generics. Yes, there are tradeoffs involved. Yes, those tradeoffs have been explained by the Go developers at length. Yes, they would be open to including them in the future, if somebody addressed the existing concerns. No, nobody seems to mind that they're missing from the language as-is, given those tradeoffs.
comment 13y ago · link · parent
The package system also enforces (at compile-time) that every imported package be used (and also that every named identifier be defined, which most dynamic/interpreted languages can't do). This applies not just to imported packages, mind you, but to any lvalue - if you declare/assign to an lvalue that's never used as an rvalue later, you can't compile the program.
That's really helpful when refactoring, because it makes it easy just to move a bunch of code between files, then follow the breadcrumb trail of compiler errors (not warnings!) to figure out what still needs to be fixed. The compiler won't tell you everything you need to do, but it's sort of like having a Roomba helping pick up after you while you clean your house manually.
Yes, for those genius programmers who never makes any mistakes, this may not be much of an improvement. But for those of us who don't trust our human brains as much and want to be absolutely sure that these silly errors don't slip through, it takes a huge load off the mind.
comment 13y ago · link · parent
Secondarily, gofmt makes code very standardized and easy to skim. It takes Python's 'only one (obvious) way to do it' one or two steps further, by forcing everyone to to write their code the same way. This makes refactoring a lot easier because you don't need to read as much code each time in order to understand what's going on (or at least, you can mentally parse it much faster).
Finally, the context-free grammar combined with a strong, static type system means that migrating code from an old (incompatible) version of Go to the most recent one can be done painlessly with the 'go fix' tool. This isn't your py2to3 tool - this accepts valid (old) Go code as input and reliably produces valid (up-to-date) Go code as the output.
That last bit isn't actually used in refactoring manually, but I make note of it because very few languages give you anything close to this level of reliability with code modification, which speaks volumes about the design of the language's grammar.
comment 13y ago · link · parent
Go code will look a little less DRY to you as a result, which is a fair criticism, but it makes up for that by being incredibly opinionated (that's a good thing), being incredibly easy to prototype in, and being incredibly easy to refactor painlessly.
comment 13y ago · link · parent
I'm the one missing something, because I'm not sure who 'we' are, or when 'we' all supposedly agreed to this.
In any case, you should probably inform the authors of the spec, because they apparently missed this memo too[0]!
comment 13y ago · link · parent
The biggest thing Go gives me is that it's really easy to manage code bases that grow organically - refactoring a project that grows from 50 LOC to 5000 LOC is almost painless in Go - no other language that I've seen has dealt with this aspect of code development so well.