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
comment 13y ago · link · parent
EDIT: Here it is: http://web.archive.org/web/20101214221345/http://diveintomar...
comment 13y ago · link · parent
Less sarcastically, the mere existence of the builder pattern in Java, which undermines referential transparency to its core, is proof that the design of Java as both a language and community is strongly biased against a functional, referentially transparent, mathematical approach to programming, even if such a style were theoretically possible[1].
[1] eg. com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
[2] Scala and Clojure being proof that it is still possible (though only to a lesser extent - tail call elimination and corecursion being an example where it fails completely).
comment 13y ago · link · parent
More commonly, you'll end up with imperfect multicollinearity, which means that two variables are almost the same, but slightly different. The danger with perfect multicollinearity is that (a) you'll end up with very high variances associated with those predictors, but furthermore (b) the predictor reported as being the 'strongest' may actually not be the strongest. In fact, it may not even be relevant; the model just "happens to be associating most of the variation in the response variable with that predictor. It's a more complicated version of this principle: http://xkcd.com/882/
I mention this because I see people - including people who should know better! - falling into this trap all the time. It's easy to overlook, particularly when you see the results you were expecting.
comment 13y ago · link · parent
Ironically, that doesn't even apply here - 'emptor' means 'buyer', but the whole point of Kickstarter is that you're not a buyer - you're a backer.
Your point still stands; I just found the aphorism amusing, since the whole point is - as you said - that Kickstarter projects are attempts, not guarantees (purchases).
comment 13y ago · link · parent
comment 13y ago · link · parent
There already is: https://www.torproject.org/projects/torbrowser.html.en
This also has the advantage that no other solution has: it completely hides your location as well, whereas even with a "standard" browser, your IP address + time zone alone can do a lot to identify you.
comment 13y ago · link · parent
Whether or not that signalling is accurate is a topic that can be (and has been!) debated ad nauseum, but the observation that people in the financial, etc. industries[1] do treat those degrees as a signal is nothing new or surprising.
[1] Really, anything except tech, where this trend is absent (or arguably reversed - ie, respect for dropouts).
comment 13y ago · link · parent
In insurance, people who get lucky subsidize people who get unlucky. If you can test luck before getting insurance, then lucky people don't get insurance and there's nobody left to subsidize unlucky people.
> Forbidding insurance companies to discriminate based on luck does not solve this problem, because the problem is caused by customers selectively buying insurance based on their own luck.
It's a little more nuanced than that. Let's say men are more prone to car crashes than women. Either you charge men more for auto insurance, OR you charge everyone a flat rate, and the market will rapidly clear itself of all women, since that flat rate will be too high to appeal to women. In this case, you end up with a market that's exclusively men, and women are uninsured.
When applied to health insurance, this means that, if you're forcing companies to insure everyone, they will have to insure people predisposed to expensive illnesses at incredibly high rates, because that's the expected cost of their lifetime care.
One implication of this is that the "no discrimination for pre-existing conditions" portion of the ACA is equivalent to "if you have a pre-existing condition, your coverage will be exorbitantly expensive".
There are ways of hiding this extra cost, but at the end of the day, it's like sweeping dust under the rug: it all has to sum to zero.
comment 13y ago · link · parent
Every argument I've ever heard about macros falls into one of two categories:
1. Concerns about overuse, which says nothing about correctly used macros - any tool can be overused or used incorrectly.
2. Complaints about macro systems from heteroiconic languages like C++ - these two concepts are similar in name only. Lisp macros have nothing to do with macros in any other language, and they provide freedom that is literally unavailable in any other[1], as explained well in this description: http://lists.warhead.org.uk/pipermail/iwe/2005-July/000130.h...
[1] Yes, yes, Turing-completeness, so nothing is stopping you from writing your own parser from scratch. But the whole point is that Lisp doesn't require you to go through all of that - and secondarily, even if you did, parsing sexprs is so easy, you've finished before you've even started.
comment 13y ago · link · parent
Ironically, the two private carriers depend on the sole public carrier (USPS) for deliveries to rural/remote locations (which USPS is required to serve), so this market isn't quite as "competitive" as it looks.
comment 13y ago · link · parent
Proving an equality isn't exactly "harder" (no NP-hard pun intended) - all you have to do is show that a single NP-complete problem can be reduced to a problem within P in polynomial time.
comment 13y ago · link · parent
Agreed - then it becomes easy to get worked up about a growth rate "slowing down" and misinterpret that as a plateau, even if the sheer numbers would indicate otherwise.
comment 13y ago · link · parent
Again, greatly exaggerated. I'm usually able to use Ubuntu or Fedora forums to help solve my problems, even though I don't run a Debian-based distribution. If I'm having systemd problems, I can debug that the same way as with any system running systemd, whether it's Fedora, Red Hat, Arch, etc. If I'm having issues with my package manager, I can use resources from any distro that uses that same package manager.
You're assuming that these variations cause combinatorially many possibilities for problems, but in reality, Linux is designed to be modular enough that these things don't compound in practice.
That's not even taking into account that most Mint issues have the same solutions as they would on Debian/Ubuntu, etc., because most distros are derived from one of a small set of distros; very few start 'from scratch'.
> By contrast, because there is a single FreeBSD, anyone who "uses FreeBSD" can probably help you with your FreeBSD problems.
Yes, but NetBSD and OpenBSD? Not so helpful. And frankly, given the relative sizes of the Linux and BSD userbases, this isn't really a problem on Linux at all.
comment 13y ago · link · parent
Furthermore, you should keep in mind that you're not comparing two machines that are identical spec-wise. The Macbook Air has an i5 processor whereas the XPS 13 has an i7, and memory/storage-wise, the comparable Macbook Air would be the model that sells for $1499 in the US.
In other words, in the US, the XPS 13 is comparable to the Macbook Air that seems to cost $1,699 when I enter in all the upgrades on Apple's website.
comment 13y ago · link · parent
My biggest problems with the above:
1. Neither Homebrew nor MacPorts (nor fink, for that matter) has a complete set of relevant packages
2. Compilation from source is ridiculously slow.
3. Certain utilities are best installed from .dmg files instead, and it's a pain to remember which was installed which way.
comment 13y ago · link · parent
Honestly, how often does that really come up? This is one of those horror stories that I always hear people (particularly BSD users) telling, but I've never had problems of this sort[1].
I run a distribution which doesn't use deb/rpm packages, and I compile things from source all the time. The vast majority of the time spent is the sheer compilation process, not debugging any local problems.
The only times I've had issues with binaries are with sloppily compiled executables - and it's not worth complaining about those, because there are a hundred different ways that sloppy code can be incompatible with two different systems running the same distro.
A static
> Btw, I suppose the problem is the same between the different BSDs.
Yes, and frankly, if you have a piece of code that is architected to work on at least one Linux distribution and at least one BSD or OS X, I have a hard time imagining that it would fail on other Linux distributions as well.
If it's not "cross-NIX", then it's probably something that only makes sense in the context of your distribution anyway (say, a patch for your package .manager) or a small, one-off that is easily modified.
[1] Problems, sure, but not problems arising from distro variation.
comment 13y ago · link · parent
This is kind of quibbling over a comparison between apples and oranges - or rather, more like comparing apple seeds to an entire orange. Whatever a "vanilla" kernel is, it doesn't make sense to compare it directly to a "vanilla" operating system.
> I think you are misinformed. Both rpm/deb ARE binaries. You (and poster) might have meant "executables", which I didn't really pay attention to because it's a strawman.
You won't run into any problems if you have EITHER:
1. A properly compiled static binary 2. The compileable source code
Because of Debian's policies regarding open-source software, in practice #2 will be satisfied for any .deb package you care about.
It doesn't make sense to complain about improperly built packages or build files, because I can easily create a build process that will fail on some BSD systems and not others too - there are many ways you can either accidentally or intentionally hardcode system-specific attributes into a script; the filesystem layout is only one small portion of compatibility.
> It's been a while, but a few years ago, you might get a script that hashbangs "/usr/bin/perl" where your system only supports "/bin/perl". It's easy to fix, either in the script or by making perl available in the other place
There are more elegant ways of fixing this too. In practice, though, it's not a problem. Not only are there tools that will automate this process, but very few scripts are written this badly nowadays anyway. I run a distribution that doesn't use one of the common package formats, and I can't remember a single time in the last two years I had a problem binary portability because of distribution-specific issues.
comment 13y ago · link · parent
> There is no such thing as a vanilla Linux you can run
The phrase "vanilla Linux" doesn't even make sense. Linux is a kernel, not an operating system. If you're talking about the entire GNU/Linux operating system, it doesn't make sense to talk about a "vanilla" version, because there are thousands of different utilities that can comprise a GNU/Linux-based operating system, and there are combinatorially many ways to create a Linux distribution.
That's like saying that there's no "vanilla" BSD - only [Open|Free|Net]BSD - except worse, because some of the Linux "distributions" are really no more different than adding an extra package (eg, KDE) to an existing distribution and giving it a different name. It's as if you called BSD by two different names depending on whether or not you pre-installed Emacs.
> All the distros that have varying degrees of incompabilities and infelicities between each other.
This is vastly exaggerated. A properly compiled binary or a compatible source file should run on any distro - not just any modern distro, but any older one as well (assuming that it has the correct dependencies installed, etc.).
> And every now and then some figure who knows which political strings to pull uses that clout to load your favorite distro with pre-beta crapware.
If I wanted to get really snarky here, I'd say that the same thing could happen to BSD too and point to OS X. This is just ridiculous - Linux is open source and free-as-in-freedom, so just because somebody else packages your favorite distro with some stuff you don't like doesn't mean that anybody else has to as well - you can just as easily remove it and create your own "distro" as a fork.