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

Actually, read OP's response to my comment (and the following discussion) - my comment doesn't actually invalidate Kolmogorov; it really just frames where Kolmogorov fits within the context of the question. That is, the original question is in fact nonsensical, but Kolmogorov is a useful way of answering the separate-but-very-similar question using the second school of thought that I outlined.

Any definition of 'random' that I am familiar with is only precisely defined when applied to functions, not numbers. Oddly enough, this distinction is not always made clear when outlining the definition, but if you look carefully, you'll see that this is the way that the term is applied. Statisticians are notoriously sloppy when talking about terms, in the same way that computer scientists are comfortable saying that 5x +2 = O(n)... which is nonsense, because you just said that a linear function is equal to a set of functions (TypeError!). 99% of the time, this sloppiness results in no error. That said, you have to remember to be precise with the remaining 1%, because sometimes the loss in precision will lead you to a completely incorrect conclusion.

And you can invent your own definition of random, yes, the same way that you can invent your own number system for numbers like 5/0. But then you have to rebuild the fundamental relationships from scratch (you need to prove that addition works in this new system the way it does for real numbers: 5/0 + 6/0 may not equal 11/0 in this new system, for example).

comment 14y ago · link · parent

I agree. I actually read your comment an hour ago, thought nothing of it, then just now tried to send a file to someone, and realized immediately how important this is.

What would be really great is to have an easy view for all files that are not private (or all files that are link-shared, etc., since there are three tiers of privacy in the Dropbox world). On the web interface, this would be easy, but I do most of my work on the command-line, so it seems the easiest way for them (or anyone) to implement this would be through links.

However, I know that Dropbox has had (still has?) issues with treating symlinks properly, so I'm very hesitant to write a script to handle this myself.

As it stands, though, I'm very concerned about this. I've used Dropbox for years, and I've accumulated so many files and folders there - I could do some spring cleaning, but most of it is actually stuff that I want to be able to access remotely. Right now, I know that everything is private, except for the shared folders, which I always name "shared_" by convention. Pretty soon, that won't be the case, and not having a clear system for this makes me really* uneasy, because I know that human error is the number one cause of security/privacy breaches.

comment 14y ago · link · parent

> It's a common theme when we scientific Python users talk that we don't really use Python for the language. We use it for the community and the libraries.

This statement doesn't make sense to me. First, I use Python for scientific/numerical work, and I definitely use it "for the language" - at least, certain aspects of it that are rare elsewhere.

Second, the language, community, and libraries are all interdependent. The design of a language strongly influences the tone of its community, as well as the libraries available (both the number and the types).

comment 14y ago · link · parent

> You don't even need probability to define randomness, just Turing Machines.

You don't need the integral of 1/x with respect to x to define e, but you can do it that way. Mathematical definitions are bidirectional in many cases, in that we can use A to define B or B to define A without any loss in power for defining C in terms of B and/or A. But that doesn't mean that this works for any inversion of the definitions, as in the case I outlined above.

> I don't understand why you said that random numbers are non-sense, what about Chaitin's Omega number?

As you can see, the definitions we use to construct these make all the difference! The definition of the Chaitin constant that I'm familiar with is a probability, and the probability is not random; rather, we assign a probability to a random event (or, more precisely, the outcome of a random function). If * probabilities* were themselves random, they wouldn't be very useful, would they!

> Have you read Kolmogorov axioms on probability? One of its success -not failure- is that it doesn't need a definition of randomness to build its theory

I think you misunderstood my point, which is pretty much orthogonal to Kolmogorov. I didn't say that probability requires an assumption of randomness; I said that randomness (as used by the author in this post) implicitly invokes a notion of probability ('likelihood', in the casual use of the word). And certainly as used in the 'Is 14 a random number' example.

comment 14y ago · link · parent

I'm assuming you're the author of the original post. My comment wasn't meant to invalidate your main argument, since it runs mostly orthogonal to the bulk of what you're saying. If anything, it actually supports it slightly (see below).

I understand what you meant by that example; I was just intrigued by seeing it in this context, and it reminded me of the related example that I brought up. And not to belabor the point with pedantry, but a tiny bit of rephrasing illustrates that your statement can be viewed as completely compatible with my latter definition:

> numbers chosen from a random uniform distribution function appear to be indistinguishable from numbers chosen from a Kolmogorov random function

From the looks of it, it appears that the Kolmogorov example is really just a special case of the distributional viewpoint, in which case your system of partitioning the universe of possible distributions revolves around the Kolmogorov criterion. (And while I made it seem like the partitioning is binary in my previous post, the principle can easily be generalized, so that's not a problem). And we may even be able to equate this statement with an alternate form based on the distributional difference between uniform and Kolmogorov.

I'm familiar with Kolmogorov, though not enough to be confident about this last hypothesis - I'll have to think about it some more.

comment 14y ago · link · parent

You're thinking like a Bayesian - I avoided using those terms, but that's essentially the latter approach. The prior knowledge is built into the model with our choice of the functions and the weights that we assign those functions.

(It should be noted that the Bayesian approach doesn't guarantee a defined answer - we can easily have a divide-by-zero/undefined value in that school of thought as well. However, the frequentist approach always leads to an undefined outcome in this question, because it follows from the definition of probability itself, whereas in the Bayesian approach, it follows from insufficient information in the model specification.)

comment 14y ago · link · parent

> So in a sense, the huge body of mathematics underlying probability has already failed us at this basic juncture because we cannot speak of how random one particular outcome of an experiment is.

This reminds me of the 'Is 14 a random number?' debate.

Part of the problem, though, is that we have terminology that is horribly misleading.

First, a random variable is neither random nor a variable. They're not variables, because they're functions that yield non-deterministic values - a huge distinction. You can't have a random number - the idea itself doesn't make any sense.

Second, the definition of 'random' is itself problematic - or at least contested. Randomness implies probability, but probability can be defined in two different (and incompatible) ways, one of which is essentially the inverse of the other. Ironically, the one that Keynes proved back in 1921 to be logically inconsistent is the one that is more commonly used today (probably because it is more intuitive and mathematically convenient... even if it is almost always incorrect!).

The question 'Is 14 a random number' doesn't really make any sense. 14 cannot be a random number; it can only be a number drawn from a random distribution. That may seem like it simply begs the question, but in fact, this subtle shift is incredibly important - determining whether a number was drawn from a random distribution is much easier to frame in terms of probability, and probability, not randomness, is the language of statistics.

Unfortunately, this is one of those cases where the two definitions of probability yield widely different answers. You could tell me that the answer is undefined, in almost exactly the same way that division-by-zero is undefined in mathematics. Or you could construct a model over all possible distributions of numbers, the probabilities associated with each of those distributions, and integrate accordingly to yield some (probably computationally unfeasible) functional answer.

In this school of thought, we can speak of how 'random' a particular outcome is - we're essentially partitioning the (potentially infinite) universe of functions f such that our value v is in the range of f into two categories: one designated as 'random' and the other designated as 'not random'. Then, we are determining the probability that our value was generated from one of the former, as opposed to the latter.

Either one would be correct ways of answering this second question, but neither one addresses the first question, which is essentially nonsensical. (Well, I guess the answer is 'no, 14 is not a random number, because a number cannot be random', but that's a bit of a cop-out!).

comment 14y ago · link · parent

Could you explain? I've seen MIT do similar 'hacks' in the past with various patterns in the windows ('SOX' for the 2004 World Series is the only one I remember off the top of my head). Nothing was this elaborate, but I imagine that the hard part is actually setting up the system to coordinate the actual lights turning off/on.... and it seems like they've had that for a while.

comment 14y ago · link · parent

For GUI clients, Thunderbird is the best I've seen, followed by Evolution (back when I used it, anyway).

Though if you're open to a ncurses-based client, I use mutt. The #1 reason I switched to it (instead of any other client) when the new Gmail design was released was because it opens almost instantaneously. It's a subtle thing, but not having to leave my inbox open all the time and being able to open it in a split second when I need to really helps my workflow.

comment 14y ago · link · parent

> You can do this with Gmail just fine since it supports both pop3 and imap out.

Gmail's IMAP works, though it's had a number of minor-but-irritating bugs for years (these bugs even affect the official applications too). I wish they'd fix them - I get that it's not in their interest to support nonstandard clients for which they receive no ad revenue, but that's no excuse here, because they still cause some of the same problems on the Android and Blackberry apps.

This article, dated February 2008 (four years ago!) is just as relevant today as it was then. The duplication of messages with broken synchronization is what bothers me the most, as I use offlineimap to handle my mail: http://weblog.timaltman.com/archive/2008/02/24/gmails-buggy-...

comment 14y ago · link · parent

> Typically, you have to live out the words of the advice before honestly coming to understand them

I find this applies to education as well, and it may be why people sometimes feel their academic education wasn't valuable (or, conversely, why people are sometimes surprised that 'qualified' people aren't as proficient as a degree might imply). For example, I could implement bound methods in Python long before I truly understood what the word 'bound' actually referred to and what implications it had, even if I could use them properly and had some vague sense of some binding existing.

comment 14y ago · link · parent

> The government's reaction to server host Carpathia refusing to destroy all the evidence that Dotcom claims exonerates him is to announce that they are considering filing criminal indictments against Carpathia.

That is absolutely disgusting.

Let me get this straight - their logic is 'These guys did something illegal, and you have evidence that they didn't commit the crime in your possession. You need to destroy the evidence, because we're planning on charging you as an accomplice to that same crime.'

...I just don't even know where to begin.

comment 14y ago · link · parent

> (basically stripping out that personalization data),

Except for your IP address, along with all of the information sent along in your user agent string (browser, operating system, etc....)

I don't know how Google takes advantage of any of that, but I wouldn't be surprised if there's no real way to get a 'canonical' unfiltered search at all... and even if you can, it makes this kind of statement 'X overtakes Y' rather meaningless if most searches have the potential to be so heavily filtered/bubbled.

comment 14y ago · link · parent

Articles like these both reflect and perpetuate this problem. I'd don't like the idea of blaming successful people for the opportunities that they declined on principle - I'd rather look at the ones they chose to focus on, and see whether those were well-executed.

But furthermore, I'd rather have the decision to fund actually mean something more than "This is just barely convincing enough that there's a slight chance I might look like an idiot if I don't throw a bit of money at it'.

I'm painting a picture of extremes, but you get the idea. Fine, a16z made X on this investment when they could have made Y, where Y > X. But look at X itself - is that a respectable rate of return? And if not, do they make up for it by getting good returns on the other investments that they've also invested money (and time!) into?

The VC game is about identifying enough companies - not all companies - that will be successful. Errors of the first kind and errors of the second kind are not equally noteworthy, and it seems we're focusing too much on the wrong one. There are valid reasons for turning down a company even if you think it may be successful - if you feel that your limited time/money/effort will be more valuable other companies.

comment 14y ago · link · parent

'I'm willing to give up x% of my company. How much cash will you give me for it?'

In theory, that should be the same as saying 'my company is worth y% of what company Z is worth, so this is how much cash you need to pay in order to get x% of it', but in practice, you can't always make that conclusion based on how people behave.

comment 14y ago · link · parent

Yeah - even though rms would still complain about that sentence, the first version is just painfully wrong. Why bother to distinguish between the OS and the kernel if you're going to attribute the former to the wrong person? It's not like the kernel is named after him or anything!

comment 14y ago · link · parent

Shouldn't be hard to get this working on maildir/nmh mailbox directories, which would be super-useful.

comment 14y ago · link · parent

> That is, most economic discussions are based on terms that aren't meaningful in any practical way. I see a lot of economists poking at the metrics with their pencils and talking theory while waving their arms around wildly.

Actually, the problem is that people infer terms to mean things that they don't mean, oftentimes because the terminology is (regrettably) overloaded, even when the technical meaning is very precise and limited. Understandably, people interpret these terms literally, which sometimes leads to conclusions that seem paradoxical or impractical[1].

Remember that economics is really just the study of choices: choices in the small (microeconomics) or choices in the large (macroeconomics). Choices may involve money, but money is not inherent in economics - it just so happens that there are many advantages to a monetary system, which is why most economies develop some form of currency, and which is also why many (but not all!) economists deal with money. Even though it uses similar terminology, macroeconomics is fundamentally different[2] from microeconomics at its core. One is the study of individual decisions on a small scale, and the other is the study of the non-random patterns of many independent decisions.

GDP is not the perfect measure of what it's meant to gauge (macroeconomic economic 'health', which is itself a problematic term). GDP systematically overestimates the health of oil-backed economies with huge wealth disparities, for example. That said, there's no metric that's much better for the general case - all have similar systematic flaws in some way.

Furthermore, GDP has the advantage that it's completely unambiguously defined. That doesn't mean it can be measured perfectly, but having an unambiguous definition is a key step. When you start talking about these contrived indices (the 'happiness' index, the 'corruption' index, etc.), you get the problem that there's little underlying justification for the way that the model is constructed, so even if the end results are useful for a particular domain-specific application, they don't generalize well. GDP, on the other hand, can be derived quite easily from first principles, so it generalizes very nicely. Furthermore, GDP happens to correlate very well with most things that we would classify as 'good' (quality of life, corruption, happiness, etc.), so it's a nice proxy for these intangible 'goods' (no pun intended), which are more difficult to measure precisely.

So back to your question: maybe the measurements themselves are rigged - that just gets at the question of who is actually doing the analysis. But the construction of the model is no more 'rigged' than any other model. You just have to be careful to know that, like all models, its application is still very limited, even if it's one that we happen to use quite frequently.

As George Box says, 'All models are wrong, but some models are useful'. GDP is 'wrong', but it also happens to be by far the most useful way of describing the patterns choices on a large scale.

[1] This is by no means specific to economics: it happens in statistics as well, and (to a lesser extent) in computer science.

[2] That is to say, they aren't mutually exclusive, but they are based on completely separate assumptions, so principles from the small do not necessarily carry over into the large scale.

comment 14y ago · link · parent

> The report says he was afraid of Mr. Systrom reacting negatively had he been approached through lawyers first.

That doesn't make sense. You can certainly reach a tentative deal in person and then have lawyers take care of the details, which doesn't preclude bringing it to the board. In fact, I know this is very common specifically because many lawyers complain that they feel that their jobs are simply to codify agreements that have already been essentially decided before they were even consulted. (To be fair, aside from possibly being insulting to the lawyer, this does make lawyers' lives harder, much the same way that it's always better to go to a lawyer saying 'Here's a document - should I sign it?' as opposed to 'Here's the contract I signed - now please tell me my rights'.)

comment 14y ago · link · parent

R's source code is released under the GPL. MATLAB has a GNU-licensed equivalent (GNU Octave), which has been around since 1988.

How could you patent a language? What are you patenting? The compiler/interpreter? The context-free grammar (assuming it has one)? The language specification?

If the specification, then you really mean a copyright, not a patent, because a language specification is just a description of a language, and you can't patent that. But just because you've placed a copyright on your description doesn't mean you hold a copyright on anything that anybody creates after having read that description - that would be ludicrous!

Sure, we can talk about the compiler/interpreter itself, but that doesn't prevent someone else from going ahead and creating a completely separate compiler that implements the same exact specification (look at the GNU Compiler Collection, more commonly known as gcc).

comment 14y ago · link · parent

> the drug manufacturer mislabeled the MDMA bottle as Methamphetamine, a much more damaging drug

It's not even so much that (comparing two drugs like that doesn't really make sense). It's that the dosage administered was far more than what would be comparable for methamphetamine. 6 mg/kg of one drug is not necessarily comparable to 6 mg/kg of another drug... 300 mg of methamphetamine for a ~110 lb. person over 9 hours is absurd - the maximum prescribed dose of Adderall (d-amphetamine) is generally 40-60mg per day, and that's only for individuals with high tolerance (or very severe problems such as narcolepsy). These are oral dosages, mind you, whereas the study used subcutaneous injection, which amplifies the effect of the drug further. Then account for the fact that methamphetamine crosses the blood-brain barrier more easily than its cousin that lacks the methyl group, and you start to wonder why only one of the five monkeys died.

Even before they realized the drug mixup, the Ricaurte, et. al. study is so flawed that it's almost laughable that it was published in the first place. Your study is intended to simulate the environment of a club/rave? 20% of your subjects died after what you considered to be a moderate dose, and you didn't think that was cause to question your methods? Raves may not be the healthiest places in the world, but if real life were anything close to what those data suggest, the morning after a concert or rave you would find the floor literally covered in dead bodies.

I won't even get into the absurd conclusions that they draw from their measurements themselves, since this is HN, not a neuroscience forum, but suffice to say that any college freshman in an introductory neuroscience class should have known better. It's as if they copied and pasted the analysis from another study and inserted their own data into it - that's how nonsensical it is.

The retraction for Ricaurte, et. al.: http://www.pages.drexel.edu/~ls39/peer_review/Ricaurte_retra...

(The original study is linked from the retraction page; I'd emphasize again that the study itself had enough other flaws in it that it should never have been published in the first place, even if the drug mixup had never been discovered).

comment 14y ago · link · parent

> What does CISPA have to do with the MPAA?

I didn't say it does; my point is that there are a number of Internet-related bills in the media these days, and they range from ambiguous to unambiguously bad (nothing unambiguously good or even close to it, as far as I can think of).

comment 14y ago · link · parent

I think the problem is that we have a number of bills that are bad (PCIP, ACTA, SOPA), and some that are neutral at best because of the ambiguity in the way that they're written.

Personally, when it comes to ambiguity in laws like these, I tend to be suspicious, because it's almost inevitable that someone will end up being targeted disproportionately, whether intentionally or not. (I explained my reasoning in a post about SOPA, but the principle applies here as well, since the law is ambiguous enough that I'm not sure what powers it does or does not grant: http://bit.ly/HOfYnt)

But what we don't have is any bills that are actually good. Spolsky said it best[1]: we need to fight actively for what we want to see, not [just] oppose stuff that we dislike. But right now, Congress isn't doing any of that, and it looks like that isn't changing anytime soon.

I respect the EFF, but I can't imagine they have the kind of lobbying power that the MPAA does, so I'm not sure who would be the right person to push for the kind of bill that we do want to see. Whoever that is, let's hope that they do it soon.

[1]https://plus.google.com/117114202722218150209/posts/4GgaRiSy...

comment 14y ago · link · parent

> Benford's Law seems pretty obvious once you think about it.

Nate Silver actually did a bit of analysis on it around the time of the 2009 Iranian elections and the Al Franken-Norm Coleman recount. In short, he explained that while it does hold in certain circumstances, it's not really a 'law' that can be applied very broadly, unfortunately, even if the idea makes sense intuitively. For example, I believe he said that the Iranian ballots did not follow Benford's law, but that this was not necessarily very problematic, because election results in general have no reason to follow Benford's law.

(I don't have the link, but that should be enough to find it in the 538 archives for anyone who's interested).

comment 14y ago · link · parent

I have the opposite complaint: I'm using bash, but thinks like mtr aren't part of coreutils, so I think of them as just separate programs that happen to work at the command-line. I could just as easily list ttyter as a command-line 'tool' for tweeting from the command line.

I don't really have a solution to this, because at the end of the day, the goal is to do more things at the command line, but it'd be nice to have a way to distinguish between features of the shell, features of the OS, and non-OS programs that have command-line interfaces. Even if I'm interested in all three, it's nice to know that 'sudo !!' can be expected to work machines than mtr, for example.

comment 14y ago · link · parent

> When people say email, they almost always mean their email client and not the protocol.

Yes, but which client? I use mutt, my office manager at work uses Outlook, our accountant uses Gmail, and our advertising manager uses Yahoo.

The fact that we can all email each other seamlessly is inherently because of the common protocol, even though we don't think of it consciously when talking about email.

comment 14y ago · link · parent

> PGP/GPG is too difficult to explain

I don't know about that - I was able to get my dad (not a tech-geek by any means) to understand it enough to start using it very easily.

The Web of Trust may be harder to explain, but you don't need to take advantage of the Web of Trust in order to get value out of PGP/GPG signatures...

comment 14y ago · link · parent

Well, as noted by the top comment in this thread, many of the benefits of Objective-C that he's talking about are really attributable to Cocoa, not the Objective-C language itself.

My main point is that, even if the quoted statement in the parent post to my original comment was technically false, the idea was essentially true. The biggest reason for using Objective-C at this point is for a type of project that can only be done on Apple's hardware and OS, not on Linux.

comment 14y ago · link · parent

Technically not true, but in practical terms, it is, because you can't do anything useful in Objective-C on Linux (like write iOS applications, which is the biggest reason people want to use Objective-C these days[1])

And it's true in the context of this post, because the author is conflating Objective-C and Cocoa throughout the entire post, so he's correct in saying that 'Objective-C [with Cocoa] is only available on Apple platforms'.

[1] https://bbs.archlinux.org/viewtopic.php?id=111490

1
192193194
202