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 14y ago · link · parent
Because of the way the laws are structured, it's almost guaranteed that any state law that allows people to grow/sell/use marijuana will violate some portion of some law other than the Controlled Substances Act, which means that the federal government always has an excuse to crack down hard.
Which they have no qualms about doing, apparently.
(That said, this will be interesting because it is a much bolder contradiction of federal law, and it will force the federal government to address it directly, instead of using the tax laws for controlled substances as an excuse for cracking down).
comment 14y ago · link · parent
The problem is that these variables are highly confounded - not only is it reasonable, but it is almost expected that a person who is experiencing early signs of schizophrenia (even if they don't realize it) might have their life impacted enough that they turn to alcohol or marijuana (or other drugs) to address those secondary problems, even though schizophrenia would be the underlying root "cause".
The question is not whether that second effect (schizophrenia causing drug use) exists, but the magnitude of that relationship. Which is difficult to measure on a theoretical level, and perhaps impossible to measure on an ethical level.
comment 14y ago · link · parent
Because of the underlying chemistry involved, most statistics involving marijuana-related incidents vastly overstate instances of drugged driving, use, etc. This includes not just DUIs, but also numbers like the DAWN reports.
Unlike almost any other drug, marijuana stays detectable in the system for 2 weeks on a test (for urine tests, which are the most common - in general, anywhere from 2 days to 3 months, depending on the type of test + usage habits).
Since the effects of the drug only last for ~2-4 hours, that means that "testing positive" for marijuana is useless at indicating whether the person is actually under the influence, or just happened to use the drug at some point within the last two weeks.
Contrast to most drugs - alcohol, for example, can only be detected for about as long as the person is impaired.
comment 14y ago · link · parent
Minnesota is an outlier in my mind - it's more attributable to the fact that the Republican candidate (Norm Coleman) was a terrible candidate (he only won his Senate seat because his opponent died right before the election[2]), and the race was irregular in other ways too. It happened once, but I wouldn't bet on it happening again there anytime soon, unless things change.
[1] http://fivethirtyeight.blogs.nytimes.com/2012/10/15/in-maine...
[2] To Coleman's credit, John Ashcroft ran against a dead man and lost, so I guess Coleman had something going for him.
comment 14y ago · link · parent
Well, continuations are the functional equivalent of GOTOs, and callbacks and continuations are closely related, so I don't know how you can make that statement.
Even if you want to argue that they avoid some of the pitfalls of GOTOs (which I'd still contest), you still can't say that they're "not even remotely close to gotos".
comment 14y ago · link · parent
No, because those jurisdictions aren't relevant once the court has already made a ruling for its own jurisdiction.
> the fact that they don't agree with the court?
There's nothing to 'disagree' about. As far as the court is concerned, once it's made a ruling, it's determined the facts, and you can't disagree with their facts. There's nothing to appeal in an acquittal (because of double-jeopardy), so the courts have had their final word on the matter.
This is a civil case, but to use the analogy in a criminal case: once the defendant in a murder trail has been acquitted, the prosecutor can't continue to say, "The court has determined the facts, but I have a different opinion."
comment 14y ago · link · parent
This is not an apology. It's a publication of the facts, as determined by a court of law.
In the US, slander and libel are both illegal, as is defamation, etc. Part of the judicial process is to determine the facts of the case. After the facts are determined and the defendant is acquitted, the plaintiff can't keep publicly affirming the defendant's guilt without risking consequences. This is completely precedented.
Once the courts have determined that Samsung didn't copy Apple, Apple can't keep advertising publicly that Samsung copied them. In this case, Apple acted as if they had already won by prematurely advertising a victory ('Samsung copied us!'), so they're being required to retract that.
(Typical disclaimers of UK vs US law and IANAL apply, though my point is that this would not be unusual or unreasonable if it had happened in the US).
comment 14y ago · link · parent
The reason for the laws surrounding debt is to prevent creditors from purposefully holding debtors in debt by refusing to accept their payments ('Oh, sorry, you HAVE to pay me in this form, so I'll refuse your payment and instead charge you an extra day of interest, etc.)
comment 14y ago · link · parent
One hacky-but-straightforward way to do this would be to take advantage of an email<->filesystem translation like NMH or MBox, and then write some script that would automatically purge the attachments before archiving.
You'd still have to download the attachments, I believe; I could be wrong, but I don't think IMAP will let you get around that easily.
(To be fair, Gmail's implementation doesn't adhere to IMAP very well in my experience - labels/folders/tags are a major problem - so YMMV).
comment 14y ago · link · parent
Nitpick: 'Israeli Arabs' aren't necessary non-Jewish; there are a number of Arab Jews throughout the middle east, and some of them are in Israel.
(Your point still stands, but people are unaware of the above often enough that I feel it's worth pointing out, because it emphasizes that the region is not as black-and-white as poltiics sometimes seem.)
comment 14y ago · link · parent
At the end of the day, lyrics are a much smaller part of the musical experience than people give them credit for.
Then again, I have a very easy time dissociating lyrics (and their meaning) from the rest of the music, so maybe that's just me. This doesn't always happen, but it's not unusual for me to listen to a song enough times to internalize the syllables and sing along, and still not stop and think about what the words actually mean (even in English). It may sound odd at first, but when you think about it, you probably have the same experience when you go to the opera - try and make out the words of Handel's "The Messiah", an English opera, and you'll see what I mean[1]!
(And now that I think about it, how many people know what the verses of 'Born in the USA' are really about?)
Also, I did already know that the German version was more popular, so it's hard to be sure I'm not just rationalizing that knowledge after-the-fact! :-)
comment 14y ago · link · parent
Do I think anybody else stands a chance of making something as popular as OAuth? No - as jklio pointed out, there are already alternatives that are likelier to catch on, not to mention OAuth 2.0 itself.
However, if anybody has a chance at adding a new contender to the mix, it's Eran.
Whether or not he will is another question - it'd be hard to judge either way until the project is further along.
comment 14y ago · link · parent
[1] For those who don't get the (admittedly poor) joke: http://code.google.com/p/go/issues/detail?id=9
comment 14y ago · link · parent
Related: $1/day is a really bad way to present a pricing plan of $25/5 requests. Yes, that's technically correct, but I don't want to amortize the cost over the number of days in the month; I want to amortize it over the number of days I actually use the product (or, better yet, the number of times I use it - so $5/task).
comment 14y ago · link · parent
I have no doubt that government agencies have much more powerful intelligence than people realize. But knowing the salt has no connection to their ability to brute-force; it only affects their ability to use rainbow tables.
(All it does is prevent them from matching up passwords by their hashed values, so for example, if one password is cracked, it protects everyone else who is using the same password.)
But it doesn't provide any protection against brute forcing. Nothing can, short of making the hash function slower (or the password domain larger).
comment 14y ago · link · parent
For those who aren't found to be in possession of drugs (the main excuse here), that's exactly the problem. For the rest:
> If that is the case, how can anything found in those frisks be admitted as evidence in court?
They're only legal if the police have reasonable suspicion[1] of illegal weapons. Not drugs. Not prostitution[2]. Just weapons.
Of course, given the neighborhoods they target, it's easy for them to fabricate an excuse after-the-fact. So most people don't bother to challenge it, because they know it's, at best, a case of one person's word against the other.
[1] It may be probable cause instead; I'm fuzzy on the details, but I know the general idea is correct.
[2] In New York, having many condoms in your possession is evidence enough to charge you with prostitution.
comment 14y ago · link · parent
Unless you're white and live in a predominantly white, upper-class neighborhood in NYC, in which case it's in someone else's backyard.
Which is the entire problem. If NYPD tried that around Carnegie Hill, you bet the practice would stop instantly. But it's in East New York, etc., so the right people don't care.
New York has a ridiculous number of stop-and-frisks, but they're so unevenly distributed that some neighborhoods have more stop and frisks annually as they have people - ie, on average, each person is stopped and frisked more than once per year.
(Sidenote: It's not a matter of changing the law: stop and frisks, as they are practiced, are already illegal by law. The problem is that the victims rarely take the issue to court, for obvious reasons, and so NYPD has no reason to stop.)
comment 14y ago · link · parent
> ls /etc/foo/bar
and have my cursor at the end when I realize I want to type ls -l instead. I know there's got to be a faster way than what I'm currently doing, but I'm blanking.
(Yes, I know sometimes tacking on the command line switch at the end will work, but that's not true for all commands).
comment 14y ago · link · parent
It's been about 8 years, so my memory may wrong, but I believe WebAssign used do have some sort of adaptive homework, where the questions would be selected based on your answers to previous questions (the same way the GMAT or GRE works).
I'm surprised that Coursera doesn't do something of the sort, both to avoid the problem that you're having (the 'state' of your homework would be updated each time you submit an answer to a question), and also to capitalize on some of the flexibility of digital learning that isn't possible on paper.
comment 14y ago · link · parent
Doesn't the necessity of this product inherently suggest underlying flaws in the 0Auth 2.0 framework (not protocol)? In my mind (and Eran Hammer apparently agrees), one major shortcoming of OAuth 2.0 is that the specification all but ensures that a universal, drop-in library for an arbitrary implementation of OAuth 2.0 cannot exist.
We saw this problem with OpenID - we even had a service designed around 'solving' the problem of integrating multiple OpenID providers. If the framework itself is so complicated that it needs extra abstraction layers to simplify it for basic, general use, to me, that suggests design flaws.
EDIT: On re-reading Hammer's post[1], I've realized that it's even worse than I'd thought: the OAuth 2.0, Draft 30 specification even admits plainly that it is 'likely to produce a wide range of non-interoperable implementations.'
If that is considered an acceptable candidate for the goal of OAuth 2.0, then I would question the goal itself.
[1] http://hueniverse.com/2012/07/oauth-2-0-and-the-road-to-hell...
[2] http://tools.ietf.org/html/draft-ietf-oauth-v2-30#section-1....
comment 14y ago · link · parent
That doesn't solve the problem of the IP address itself changing, but then you need some system of distributing the updated IP addresses whenever they change. Which would require inventing a distributed lookup system....hmm... this is starting to sound familiar....!
comment 14y ago · link · parent
Not really. That's a common misunderstanding, but it's taking the name a little too literally. ADHD is actually the diagnosis (314), but one of the forms can be 'ADHD without hyperactivity'. However, 'hyperactivity' doesn't actually imply what most people thing it does, just from hearing the name, which is why the entire term is a bit of a misnomer.
> as someone who has extreme trouble concentrating, I can definitely relate.
ADHD is very, very different from simply 'having difficulty concentrating'. You can potentially have moderate or even severe ADHD without noticing any difficulties concentrating.
> In my case it seems to work, but then again - I was never diagnosed with anything.
I'd be really careful about generalizing your case to people with ADHD, then. To use a blunt comparison, it'd be as if someone claimed that watching funny movies made them feel happier and therefore it is a 'cure' for depression (a psychological condition much more complicated than mere 'unhappiness').