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
I couldn't be happier with it - I have a larger laptop that I use as my "main" computer at home (essentially as if it were a desktop), and the XPS13 is what I take with me everywhere and use for presentations, developing on the go, etc.
I've used Linux as my main OS for some years now, and for me the main appeal of this computer was the size/weight/battery life when compared to my larger laptop. If you've been waiting for a Linux ultrabook for portable development (or even just ultra-portable general use), this is it.
Compared to my work computer (a Macbook Air), the difference is enormous. Hardware-wise, the XPS13 just feels slimmer, even though the difference in size/weight is negligible. The biggest physical differences are the keys and trackpad - I'm typing this now on a mechanical keyboard, and I've gotten so used to the Das Keyboard that I can't stand the feel of chiclet-style keys. However, the shape of the XPS13 keys (slightly indented) alleviates some of the annoyances I have with most laptop keyboards (the Air included). The trackpad is highly sensitive, and I like the texture slightly more than that of the Macbook Air.
Battery life is great, even with Bluetooth turned on (though I usually leave this off - I still haven't found a real use for Bluetooth on my computers!).
I should mention the display - it's the perfect size for me. I actually dislike the Macbook Air on this one point - it absolutely kills my eyes by the end of the day (both the default size and default brightness/contrast). I have neither of these problems with the XPS13, but it's still crisp enough that I don't feel like I'm missing anything.
Overall, I'm incredibly happy that I got it, and I actually get slightly annoyed now when I have to use my Macbook Air for work - I wish I could be using the XPS13 instead. Aside from the fact that I'd rather be using Linux any day, hands-down, the computer just feels more physically appealing in itself. Even at its price[1], it's worth every penny.
[1] I should note that I received my testing laptop at a 20% discount, though after using it, I would be willing to pay full price for it if I'd had to.
comment 14y ago · link · parent
Because for many, the use of IE is mandatory.
Depending on what service we're talking about, a lot of the IE traffic is going to come from people who work at companies that require the use of their approved/installed software. Every time there's a post about IE there are few people who come out of the woodwork to comment about how they only use Windows + IE at work, and then Firefox/Chrome at home, even on Hacker News of all places. It's easy to forget on here that Windows still has the dominant market share, and for many people who currently use IE (for even part of the day), switching or upgrading is out of the question.
If you don't support IE, you're not encouraging these people to switch - you're encouraging them not to use your service at all.
comment 14y ago · link · parent
That was.... not a fun day.
comment 14y ago · link · parent
No, but if we want to go on the basis of how likely it is to produce those outcomes, Instant-runoff voting beats approval voting by a long shot. Amartya Sen has shown that, not only is IRV is highly unlikely to produce an outcome which violates transitivity and independence, but if ideologies are assumed to be relatively linear[1], then it never violates those conditions.
[1] Ie, very few people would rank Nader > Bush > Gore
comment 14y ago · link · parent
Not to be that guy, but... if you don't have a tested restoration plan for a backup, you don't have a backup!
Nothing's worse than losing all your data with no backup... except for losing all your data and going to restore from your backup, only to find that all your data there is gone as well!
comment 14y ago · link · parent
Google Groups is the worst offender for me - it completely breaks my browser's keybindings for going backwards, so every time I'm, eg. searching Googling a bug and open a mailing list archive to find an answer to a bug, I inevitably end up collapsing the thread each and every time, when what I really want is just to go back to the search results. I don't want every Google website to have its own tiling window manager within the page - that's what my OS is for!
Of course, they have no intention of fixing this, it seems. Disabling Javascript just yields an error message - 'Please turn on Javascript to view this page'.
comment 14y ago · link · parent
My impression was that it was a solid, and that the myth that it's a highly viscous liquid was based off of incorrect analysis of stained glass windows, etc. that were more likely explained by imperfections in the production process.
comment 14y ago · link · parent
Ironically, the IRS doesn't. I know of someone who had to authenticate himself to the IRS (I think when getting a new social security card) and was prepared to give them his SSN, when the agent scolded him, 'Your SSN isn't a means of identification'.
If only they knew!
> Government loves to ask DOB for some reason like it's a big secret - even though looking for congrats of anybody's facebook page allows to know DOB for like 90% of people.
DOB is public record (by one means or another) for almost any US resident.
comment 14y ago · link · parent
Honestly, Haskell as it stands comes pretty close.
I assume you're talking about pure immutability (for which Haskell is famous), and Smalltalk's message-passing is really just a way of currying functions (with a slightly different syntax).
You could probably stitch something simple together with Haskell + Parsec fairly easily.
comment 14y ago · link · parent
As of April 2010, the open, stated objective of the CIA was to kill Aulaqi's father (and others on President Obama's "hit list") and, if and only if he could not be killed, to arrest him, charge him formally, and bring him to trial.
In other words, "if we can kill him, we don't have to prove he was actually guilty."
I don't support the drone strikes against non-US citizens, but the idea that a single executive can issue capital punishment on a US citizen[1] without a trial is downright unnerving. Imagine if police officers wielded that same level of power - it's no different.
[1] The US Constitution does not provide the same levels of protection to non-Citizens, which is why drone-strikes on foreigners is still disgusting but not as terrifying (from the perspective of a US citizen).
comment 14y ago · link · parent
Being a minor (16 years old) and a US citizen (born in Denver) won't protect you from "having the wrong father", as Abdulrahman_al-Aulaqi can tell you[1].
It's not reassuring at all to me to know that a human, rather than a robot, is making the decision, as long as I don't know (or trust) the criteria that that human is using.
[1] (Except he can't, because he was assassinated last year, far from any "battlefield" - or even any country that the US is at war with, for that matter.)
comment 14y ago · link · parent
It shows that people are complicated and multifaceted. While we have a tendency to either laud or vilify figures (with nothing in between), in reality, historical figures can be both "good" and "bad" in different aspects of their lives... just like the rest of us.
My favorite example of this is Helen Keller[1]. Almost nobody these days knows anything about Helen Keller beyond the age of 18 - they know that learned to communicate despite being deaf and blind, but the nearly 70 years of her life after that are almost buried in history.
Which is a shame, because Helen Keller would have been a notable figure in her own right even if it weren't for her disability[2].
But because she was a member of the official Socialist party, we can't use her story as an inspirational lesson and mention that she held political beliefs that we may or may not agree with. Instead have to make a judgement call as to whether her "good" or her "bad[3]" side is more important to teach, and then forget about the rest.
Worse, this principle is applied in reverse to dehumanize people whom history has classified as villains. The result is that our history is filled with monochromatic caricatures, and we forget that, were we to see the complete picture, our modern-day "villains" may not look so different (for better or for worse!)
[1] I believe Loewen talks about this in his excellent book Lies My Teacher Told Me (http://en.wikipedia.org/wiki/Lies_My_Teacher_Told_Me)
[2] http://en.wikipedia.org/wiki/Helen_Keller#Political_activiti...
[2] Naturally, this presumes that you either disagree with socialist politics or think that history lessons should be politically neutral, which is the predominant belief in the USA.
comment 14y ago · link · parent
You can even show your support: http://www.zazzle.com/14_is_not_a_random_number_tshirts-2350...
Or, for those who disagree: http://www.zazzle.com/14_is_a_random_number_t_shirts-2350463...
comment 14y ago · link · parent
Next to the Lisp dialects (and perhaps Haskell), Smalltalk is by far the most transparently functional language I can think of.
Smalltalk is really easy to pick up if you're familiar with the lambda calculus (whether in theory, or via a Lisp or Haskell). Just think: object <-> closure/higher-order function; messages <-> functions; chaining messages <-> currying functions.
The wrapping/syntactic sugar around the functional counterparts in Smalltalk is pretty transparent, by design.
EDIT To expand on that, Alan Kay (the "inventor" of object-oriented programming) has said that Smalltalk is one of the only two truly object-oriented languages that he's ever seen.
The other? Scheme (a Lisp)! So just because Smalltalk is "purely OO" doesn't mean it can't be as functional as a Lisp at the same time.
comment 14y ago · link · parent
Aside from developing on Windows with C extension libraries, those are increasingly rare. Pip + virtualenv works wonders, and the latter has been folded into the most recent official release of CPython (3.3), so it's now officially the right way to do Python package management, as opposed to simply the de facto approach.
As someone who's had to use both, I will say that my experience with even the most basic, functionality in Java's package management is a nightmare, whereas learning how to use the same basic functionality in pip/virtualenv was so easy, I wondered why I'd been putting it off so long.
comment 14y ago · link · parent
All the dialects of Lisp differ except in their homoiconicity, which is the one thing that gives Lisps their incredible expressive power.
I get frustrated when I hear people refer to languages with first-class functions as Lisp-like, because lots of languages have first-class functions, but that doesn't give them the power of Lisp - Lisp draws its power from homoiconic structure, which almost no other languages have (certainly not Javascript).
comment 14y ago · link · parent
I'm not so sure - for people who come with a more mathematical background, this is actually easier than thinking in terms of strict evaluation, in which every expression is computed even when it's completely unnecessary. When I'm writing mathematical equations down, I don't stop and think of the computational complexity of every reduction/simplification I make; only of the final result.
Haskell may be a bit difficult for a complete beginner to programming, but for reasons completely unrelated to lazy evaluation, and it makes up for that by being more forgiving in many other ways.
The "current" batch of programmers today seem to come from a more computational/imperative mindset, but I don't think that's any more natural than a mindset which emphasizes expression-based reasoning and lazy evaluation. It's possible that, if Haskell shows its appeal in other areas enough, in a few years people will be talking about how much easier lazy evaluation is than strict evaluation, since you don't have to worry about, eg. accidentally computing an infinite sum only to discard it immediately!
comment 14y ago · link · parent
I haven't used Haskell enough to say that this is anything more than speculation, but I would imagine that the converse would be true. Python is an excessively eager-evaluating language[1], and trying to emulate lazy evaluation in Python requires enough back-bending that it probably wastes more time/memory than it saves.
In Haskell, since you have guarantees about monadic purity, I would speculate that an alternative runtime could use a secondary thread to 'walk' the tree and evaluate the thunks whenever resources are being under-utilized (or when memory is tight). Perhaps that would be effective enough to be a net improvement?
comment 14y ago · link · parent
Sometimes, it seems like we're back in the 90s, developing for three different platforms (browsers) simultaneously... except we've regressed even more, because even less code is shared between the platforms (and now the server logic may even need to be tweaked to support all clients).
The more things change, the more things stay the same....
comment 14y ago · link · parent
That's quite an assumption you're making there. Aside from the fact that most doctors are not wealthy beyond belief (contrary to popular opinion), the insurance structure has changed so much in recent years that many literally cannot work any longer.
Medicare reimbursements, for example, have been cut so much that doctors operate at a loss for certain procedures - for specialists, this may even cover the bulk of what you do, so the choice is whether to spend your savings to pay for your "hobby" or to retire.
comment 14y ago · link · parent
Incidentally, the hospitals' liability cap is several orders of magnitude lower than doctors' in many cases (tens of thousands vs. millions). This makes no sense when you take into account the fact that the hospitals, not the doctors, are often the ones setting policies as to which procedures will or won't be done in response to a different result on a test, etc.
So, the hospitals get to set policies to keep their costs low, shielded by the benefit of a ridiculously low (corporate) liability cap, shifting the liability instead to the doctors who will be performing the operations, at significant (personal) liability and for a significantly lower payment than what the hospitals receive.
comment 14y ago · link · parent
These codes "will be updated periodically", so there's no guarantee you'll have the correct one if/when you need it.
comment 14y ago · link · parent
Nope, no "PIN" for me under "Support". Worse,
> "Please note that for your security, your Customer PIN will be updated periodically.
So even if I find it now and write it down, there's a chance that I still won't be able to access support at some point down the road if/when I need it.
comment 14y ago · link · parent
I wonder if Youtube will reverse course on this, given that Psy has made it clear he has no interest in enforcing that copyright (a decision which is clearly in his best interest, too).
comment 14y ago · link · parent
Actually, my understanding is that the lyrics are a parody of the Gangnam district of Seoul, and how the rich people there try to act as if they're American, not Korean.
If anything, it's a parody/rejection of Western culture.
comment 14y ago · link · parent
Perhaps, but a better predictor would still be whether or not the person has searched for anything related to luxury goods in the past, thereby demonstrating not only ability, but actual intent as well.