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
I took a look at the Arch Linux ARM devices (http://archlinuxarm.org/), but if you (or anybody else) has any experience with a particular one, let me know.
comment 13y ago · link · parent
It's interesting that Diamond literally describes the survival function[0], which is usually thought of as E[X|x>=a], but then conflates this with the expected value in the next breath.
I'm confident he understands the difference, but the notion of the survival function is so easy to understand without the underlying statistics (as he explains in two sentences), and provides a much more useful way of conceptualizing statistics. (Expected values of binomial distributions, on the other hand, are highly useful mathematically but difficult to conceptualize without the underlying statistics).
comment 13y ago · link · parent
Not necessarily, because the two drugs are metabolized through completely different channels and, other than the fact that both are stimulants, have very different effects (ie, the mechanisms by which they take their effect is very different).
You may just have an abnormally high tolerance to caffeine, but there's no reason to suspect that that would carry over to cocaine, as cocaine targets both the D1 and D2 receptors, and caffeine provides cross-tolerance only to drugs which target one XOR (exclusive or) the other[0].
comment 13y ago · link · parent
Is that seriously what happened? It sounds oddly similar to the Rails issue from about a year ago (the one in which the reporter was able to commit to master on Github), even though I believe that was a separate set of developers altogether.
If so, then that might suggest a larger community/cultural issue, which makes me wonder what other exploits exist but haven't been reported (publicly) yet...
comment 13y ago · link · parent
It's almost fun to watch a government battling two bogeymen against each other, like a child playing with toy action figures.
comment 13y ago · link · parent
Also, chewing on cocaine leaves is used as a symptomatic treatment for altitude sickness in South America.
As for the actual bioavailability, take a look at this Bluelight thread: http://www.bluelight.ru/vb/threads/394593-Bioavailability-of...
comment 13y ago · link · parent
By 'closest', I simply meant that these deviations are easy to analyze or account for in an informal sense - for example, by forbidding/exempting user-defined macros. (Naturally, they cannot be precisely accounted for without executing the program or solving the halting problem, since the definition of the macro may itself require executing arbitrary code).
The deviations of languages like C++ and Java, for example, are hairier to try and enumerate, even informally (imprecisely) - I remember doing this as an exercise for my compilers class in school.
comment 13y ago · link · parent
comment 13y ago · link · parent
We actually had this discussion on #go-nuts a few weeks ago - part of the confusion stems from the fact that most language compilers enforce requirements that aren't covered by the parser. In other words, a parser oftentimes accepts (fails to reject) invalid strings.
Easy examples of requirements that violate context-freedom are the requirement that variables be declared before use, or the inability to divide an integer literal by 0. (The latter is a compiler error in Go[0] - I'm not sure about C++, but I know the former is a requirement in both languages).
Finally, we should make a distinction - even if the set of valid programs could be described perfectly by a context-free grammar (and therefore implemented by a pushdown automaton), chances are the actual parser for the language's compiler doesn't implement the full set of rules, which again reinforces the point that most parsers are biased in their outcome (biased in favor of accepting potentially invalid strings).
> If you look up the definition of context-free languages, it will basically tell you that all grammar rules must have left-hand sides that consist of exactly one non-terminal symbol
That's not exactly true - one can rewrite (normalize) a context-free grammar into this form, but CFGs are often written in an "unnormalized" form which has multiple nonterminal symbols, because it tends to be clearer to read in many cases.
[0] As demonstrated here, the compiler will actually reject the division-by-zero at compile-time: http://play.golang.org/p/3gwDeaoiM2
comment 13y ago · link · parent
I would argue that's already not possible anymore, with today's Internet.
Being completely anonymous, including to Google/Facebook/your ISP is much more difficult than you think. You essentially have to write off large parts of the web as unviewable, which to me only confirms that anonymity on the Internet is all but a thing of the past.
comment 13y ago · link · parent
I'm a bit confused by what you see as the point of concern here. Are you concerned that the actual deployed application doesn't reflect the source code provided? That's a concern regardless of the license used; it's an example of where security is based largely on trust.
comment 13y ago · link · parent
> You don't know who I am from this comment (unless you stalk my bio and find me on Twitter). If you like it you'll upvote it. That's exactly (one of the many reasons) why I love the Internet.
That's the one sad thing, though: as you yourself point out, the Internet is moving in a direction where this concept of an anonymous meritocracy is already becoming more and more difficult - and, eventually, likely impossible.
comment 13y ago · link · parent
Where are you getting that from? To my ear, I find it to be excessively 'flat' (e.g: http://www.youtube.com/watch?v=FxtBqN48TMc).
I don't think any geographic area can authentically boast an 'accentless' accent to a plurality of the country[0].
[0] Well, except for the most populous region, of course - but that would be a bit tautological.
comment 13y ago · link · parent
[0] https://twitter.com/davidbalbert/status/294941563673522176
comment 13y ago · link · parent
[0]https://petitions.whitehouse.gov/response/what-we-have-say-a...
comment 13y ago · link · parent
>I've heard it described as "lisp in C's clothing"
I hear this line all the time, and it always irritates me. Saying that Javascript is Lisp-like just because it's somewhat functional is like saying that it's like Java because it's "object-oriented", even though there are a number of key differences (the use of "this", the prototypical inheritance model, runtime checks vs. static checks with late binding, etc.) It's worse, because it's rather trivial to force Javascript to behave somewhat like Java, but there's no way to force Javascript to exemplify the defining characteristics of a Lisp[0].
The nature of Lisp has nothing to do with lambdas and closures, mapcars and reduces - the phrase 'Lisp in C's clothing' doesn't even make sense, because the nature of Lisp cannot exist without an s-expression-based grammar[1]. Even though Lisp is known as a functional language, the defining characteristics of Lisp have nothing to do with it being functional.
[0] Perhaps a better analogy would be comparing it to JVM languages on the basis of the grammar, even though the two are completely orthogonal - Javascript isn't intended to run on the JVM, and while you can cross-translate code between Javascript and JVM languages and fake compatibility this way, that ability has very little do do with the defining characteristics of Javascript as a language.
[1] That doesn't mean you need to have parentheses; the grammar simply needs to be homomorphic with s-expressions, which leaves a great deal of flexibility. Javascript, however, does not make the cut.
comment 13y ago · link · parent
Lisp has some rather elegant solutions to both of those use cases. It's misleading to say that Javascript's 'map' is more powerful just because it tries to cram two or three distinct use cases into one.
It's not like Javascript even uses the Lisp definition of 'map' (which is not what most languages use for map - they use Lisp's 'mapcar').
comment 13y ago · link · parent
comment 13y ago · link · parent
Of course, the reason for the harmony is because the vocals align so (almost) perfectly, creating an effect familiar to most musicians, who rely on it for ensuring that their instruments are in tune.
That's how perfectly the two align. Damn.
comment 13y ago · link · parent
> cruelty and anonymity go hand in hand
Anonymity and cruelty are orthogonal concepts - there is nothing about anonymity that implies or requires cruelty, and the connection runs the other way just as often, but as human beings, we find it easier to focus on and remember the negative more so than the positive.