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

> Therefore this entire HN Item is flamebait - bait for flames.

Exactly - makes you wonder about whether this applies to other 'modern' flamewars that we still have today....

comment 14y ago · link · parent

I'd say no, just because I could point out many people with degrees in mathematics who couldn't define the halting problem or a Turing Machine, and yet those are core concepts for any person with a meaningful degree in computer science. (Note: I did not say 'computer programming' or 'software engineering'!)

Of course, that's not to say that this would preclude someone from being employed in many of the same jobs offered to CS graduates, but it underlines the fact that the two disciplines are still very different, even if they involve related skills. If we only used the 'employable in the same jobs' benchmark, then psychology and sociology degrees might 'count' as history degrees.

comment 14y ago · link · parent

> But in all honesty, I would suggest that people who want a MODERN "free" OS look around for a microkernel-based, portable OS, like maybe GNU or something like that.

The most important - and ironic - line in the entire email.

Not to start a 'Linux vs. GNU/Linux' flameware, but ironically, everything that [most] people associate today with 'Linux' is as much a product of GNU as it is of Linux (if not more so). Furthermore, GNU Hurd has stalled, so in a way, Tanenbaum's reasoning was completely wrong, but his conclusion was almost completely right!

comment 14y ago · link · parent

> . I and a lot of my peers are planning to leave our home countries specifically so we don't have to spend a single penny supporting...

I have a friend who's planning on doing exactly that. If the US ever stopped taxing income earned by US citizens living in foreign countries, the number of expatriates flocking to Scandanavia, England, and the Netherlands would be astounding. You'd get the best of both worlds.

The problem is that the people complaining when their benefits are cut are often the same ones complaining that our tax rate is 'too high' compared to the 92% (!) marginal tax rate during Eisenhower's administration. But of course, that's around the time that the baby boomers were born, so they don't remember that.

comment 14y ago · link · parent

What about when we get to the point where we have an AI capable of simulating, if imperfectly, an individual's response to a given question?

If you think that this is farfetched, it's not - it's basically like http://iwl.me , but in reverse. The catch is that you need a lot of easily classified textual data about the person. But in the Twitter age, we do have that kind of information - or soon will.

Gracious Eloise[1] is a really cool idea, though it's going to create a nightmarish situation for forensics experts. Imagine if you combined the two - you could simulate what a person might say, and you could simulate their actual handwriting for it.

[1] http://www.graciouseloise.com/

comment 14y ago · link · parent

Not quite however you want. It doesn't work the way it does in Linux where you can rebind keys in arbitrary ways. The built-in modification only enables a few different common/popular rebindings, but from my brief stint with OS X, I found it maddening that I couldn't get the rebinding exactly as I wanted it.

comment 14y ago · link · parent

I'm not saying that the UI couldn't be improved - I'm just saying that what they're doing isn't really an improvement on the the command-line as a UI, as it's just a domain-specific application. (And, I implied this but didn't state it explicitly: domain-specific applications should aim to be as 'compatible' as possible from a UI standpoint with the generic tool - ie, Unix - deviating only when there's a specific need to, and defaulting to the generic toolset. I'd need to see more to judge if Opa fits this; it's just a general principle).

More importantly, though: what you're looking for can already be done! Just use zsh (or, even simpler: a bash correction tool).

Because Unix is so modular, you can make these kinds of UI changes without breaking or even changing the underlying toolset. That means that you and I can tailor the UI to our specific needs, and we don't even really have to touch the general purpose toolset. Other examples include using Vim keybindings for the shell instead of Emacs (try modifying keyboard shortcuts with most pre-compiled GUI applications!) or scripting and aliasing.

Thanks for mentioning that, actually, because it illustrates my point very well! The command-line UI's strength is that it's literally as modular and as minimal as possible (at least, as far as I can conceive of). That's what I personally love the most about it. It defines only the bare minimum of tools necessary to satisfy two conditions:

1. By default, [almost] everything works as expected, with no customization (but assuming knowledge of the system). 2. Those who want to customize will find that it provides all of the tools necessary to create the exact interface they want, without modifying the underlying toolset as well. (This customization can be done to an essentially arbitrary level -- the technical limitations are well beyond what a reasonable person would consider 'sane').

You may make the argument, then, that the command-line isn't even an interface at all! It's more like an abstract interface that lets you stitch the tools together to define the interface you want, all the while providing a 'default interface' - a sensible set of defaults for those who can't be bothered to customize.

(Edit: I understand that tools aren't perfect - the git-pull/git-push asymmetry is an example - but the inconsistencies are vastly outnumbered by the overarching uniformity. And again, with such a modular model, you can create the UI you want without waiting for Linus to change the behavior of git).

comment 14y ago · link · parent

At the risk of sounding like a broken-record aging neckbeard (reality: I'm a college student with light stubble), I think the title of this thread is very misleading, even if the blog post itself contains valuable material.

First, I'm just barely old enough to remember using DOS on a machine without Windows -- which I believe is the last time that a GUI/DE wasn't viewed as 'essentially essential' for an end-user computing environment. However, I'm just young enough to remember growing up with Windows for most of my computing life, so it's not like I was indoctrinated into the ways of the command line from an early age. Far from it - I'd forgotten all the DOS commands I knew by the time I turned 10, and I actually only began learning Unix very recently (while in college).

I don't think command-line tools have a UX problem. If anything, we have a teaching problem. Command-line tools have a slight learning curve, but really nowhere near as much as many people think. The story of how I got into using the command-line for all (well, almost all) my daily tasks is a bit too long to post here (unless people are interested), but in short: I went from not knowing the difference between cd and dd all in the span of a month. (Thankfully, I did not have to learn those two commands the hard way!)

Why was I able to do it? Because Unix has a ridiculously uniform design, and is unbelievably modular. UI designers today should strive for the uniformity that my GNU system has. (I use GNU, but this comment applies for the most part to other systems, like the BSD-based varieties, and is largely, though not completely, true even when comparing two different systems!). There are a few wrinkles around the edges, but when you consider the very distributed/patchwork way that modern POSIX systems came to be, it's almost miraculous that the single-dash switches vs. double-dash options distinction works in most cases the way you'd expect. The difference between required arguments and optional parameters is implemented very well in most utilities (it's rare that I have to specify unnecessary flags for required parameters, for example). Combining switches also works the way you'd expect on most utilities, and even the naming is consistent (-h, -v, -l, -a, --help, --verbose, etc. follow the Principle of Least Surprise (POLS) in all but very few cases). Even if there are differences between, say, ls -G on BSD and ls --color on GNU, that's a matter of the way those basic utilities were implemented, and the interface itself is still fairly uniform. (And I'm willing to grant some leeway for such fundamental utilities as 'ls', since these tools develop over a period of time).

That's not to say that everything has to follow the Unix-like model. I'm not saying that Opa's efforts aren't valuable simply because they're not standard POSIX. On the contrary, I think that tailoring a command-line tool to the task at hand can be very valuable - SQL queries fall into this category as well.

But they're valuable because they provide a modular (scriptable) tool that modify a familiar interface to make it easier to use in a domain-specific context with minimal violations of the POLS. That's fundamentally different from improving the UX of the command line; instead, it's applying the general UI principles of command line tools to a specific context. All instances of a general UI violate the POLS in some way by definition; the goal is to minimize that.

In the end, I can't think of any other UI that follows the Principle of Least Surprise as well as Unix does, and it's the most fundamental command-line tool in my life. We may have a problem with the command line, but the command line does not have a problem with UI.

(Edit: Does someone know how to write an asterisk without causing it to be parsed as the opening of an italicized block, as in <asterisk>-nix to refer to the wildcard 'Unix-like'? I'm on choppy in-flight internet and can't figure this out reliably with trial-and-error).

comment 14y ago · link · parent

When Ramadan is during the summer, observant Muslims in hot Middle Eastern countries still have to work, oftentimes in the heat, and fasting includes no water either. Maybe it's because they're used to it, but the point is, 140 degrees is certainly doable with water, even if it's not a lot of fun.

comment 14y ago · link · parent

Okay, so it's not really any better than the US system.

Incidentally, in the 24 hours after I posted that, they did in fact finally release a response to that petition. It was long after the deadline that they promise for petitions that reach the threshold, and it wasn't much more than a justification of what they already do, but at this point I doubt anybody was expecting anything more.

comment 14y ago · link · parent

> They should use all languages and pick that one that is best for the job.

That's certainly a correct answer, but it's correct because it's almost tautological. 'The language that I like the most is the one that's best [for what I want to do]'. The issue is that, in this question, 'favorite' is a bit vague, and the task isn't specified. (This is why I have a problem choosing 'favorites'.)

Despite that, in this situation, I interpret it to mean 'What [general-purpose] language has the best design?' Theoretically, a perfectly-designed language would be designed in such a way that it has an absolute advantage over all other languages for every type of task.

Given that definition, it follows naturally that I would choose Lisp - it's actually not my strongest language, but even a novice Lisper can see that Lisp is both as minimal as possible and yet as powerful as possible . Since it's a shapeshifter of sorts, it can adapt itself perfectly to any setting.

The drawbacks with Lisp (in my view) have nothing to do with the design of the language itself, but rather the environment. The libraries of languages like Perl and Python are much larger, by sheer fact that the community is larger. Lisp is cross-platform, but the installation (quicklisp aside) is still messier than Ruby's gem-based packaging or Python's eggs. And lastly, because most people don't learn functional programming as their first step, it's got a learning curve.

But none of those are problems with the language itself - at least not the design of the language. (I'm assuming here that we're dealing with high-level languages - it wouldn't really make sense to compare x86 assembly to Python - if you're writing assembly, you probably have a very good reason, and Python isn't even on the table).

So in the end, your answer to this all determines on how you interpret the question, so it's fun to see what the results are... just don't try and compare them directly - I think anybody who interpreted the question the way I did would probably choose Lisp, but it's clear from the comments that many other people interpret this a different way.

(Thankfully HN is good at avoiding flamewars, but I'm sure everyone here has seen enough useless 'debate' of this same topic on other forums to understand why I mention it!)

comment 14y ago · link · parent

Whereas in the US, if you get 25,000 signatures on a petition, you get... a polite response summarizing the talking points you already knew, and explaining why nothing will change.

That is, if you're lucky - I believe we're still waiting on the promised response to this one: https://wwws.whitehouse.gov/petitions#%21/petition/actually-...

comment 14y ago · link · parent

> Now Zynga has scheduled a call for a “news announcement” for 3pm eastern. I’m going to go out on a short limb and assume it’s to formally acknowledge that they have bought the company.

I'm glad the news seems to have been confirmed (?), but I must say that the headline is rather disingenuous, given that there was no actual confirmation. Even the lede makes it seem that there's no doubt; just confirmation of a previous rumor. I don't ask for anything major - just a single word (or two).

(I originally posted this comment for the other submission a split second after it was deleted, but it still applies - glad HN at least chose the more responsible title).

comment 14y ago · link · parent

> Now Zynga has scheduled a call for a “news announcement” for 3pm eastern. I’m going to go out on a short limb and assume it’s to formally acknowledge that they have bought the company.

I'm glad the news seems to have been confirmed (?), but I must say that the headline is rather disingenuous, given that there was no actual confirmation. Even the lede makes it seem that there's no doubt; just confirmation of a previous rumor. I don't ask for anything major - just a single word (or two).

comment 14y ago · link · parent

I just threw in the towel and switched to mutt. I'd been meaning to try it out for a while anyway, and this was exactly the opportunity I needed to motivate me.

(For anyone who's curious to try it out- I couldn't be happier, and mutt + offlineimap + mairix has ended up being the perfect combination for me... far better than Gmail web was at its best).

comment 14y ago · link · parent

This is a perfect illustration of the how data is an important tool, and yet blindly relying on observable statistics can have problematic results.

comment 14y ago · link · parent

It's funny to think of how standardized keyboards are within the US today, and yet it wasn't so long ago that you couldn't even count on the arrow keys being in the same place (or in fact, being there at all - which is why you have hjkl on Vim to this day.

On the other hand, the computers at Bell Labs had an arrow key, which is why R (which is based on S) uses '<-' for assignment, as the two-character combination was enabled for compatibility reasons.

And on a related note, I can't imagine how people use Vim without rebinding ESC to Caps_Lock. Given that ESC used to be where TAB currently is (and the latter is too useful to be removed), I don't really see a point in keeping the obsolescent Caps_Lock, especially when it's so irritating to keep moving the hand to the furthest corner of the keyboard.

comment 14y ago · link · parent

Also on the same Wikipedia page:

> At present, the cost of returning asteroidal materials to Earth far outweighs their market value

comment 14y ago · link · parent

I honestly don't understand the driver issues - I've installed Linux on a number of different machines, and I've never had any driver issues myself (certainly not when using a preconfigured DE).

That said, I don't think the MacBook Air is the only (or even the best) solution for an Ultrabook. I've heard good things about Lenovo's series, and while it's not an Ultrabook, my HP Envy has always run Arch Linux splendidly - I couldn't be happier with it.

comment 14y ago · link · parent

> there's no need to have userland apps running as root for the vast majority of people

But they don't - that's what the Superuser apk is for - it only runs certain apps as root, and only when needed (and authorized). Until ICS, even taking a screenshot required root, so it's not that unbelievable that users would want that functionality, and I don't see how this is substantially more secure than Superuser + OTA Rootkeeper.

comment 14y ago · link · parent

Honest question: How many Cyanogenmod users don't want their device to be rooted?

Though my friends are anything but representative, I don't know a single one, and I can't imagine anyone who would go through the process of rooting/unlocking/flashing, and then specifically want an unrooted device in the end.

comment 14y ago · link · parent

Not anymore. The Verizon Galaxy Nexus has some bloatware, and Google Wallet was disabled. (You can re-enable it if you root/reflash, but then it registers as an 'unsupported device', so the officially supported device doesn't have all of the ICS features)

And even if that were the only difference, then there's not much to be excited about.

If you really want that, you're one of the 2%, and you're probably interested enough to go through the now-painless process of rooting/unlocking and flashing a custom ROM to get a 'vanilla android'.

And the other 98% of Android users don't care if they have bloatware/Sense/TouchWiz/Blur, because they don't even know the difference.

So even though the Nexus is not always a stock Android phone anymore, even if it were, that's not enough to get that excited about, either as a developer/modder/tinkerer or as a casual user.

comment 14y ago · link · parent

First, not all received the update. Second, Google froze the update when they found a battery-drain bug, so even those that were intended to be upgraded could only be upgraded within a short window.

The point is not whether or not there exist Nexus S devices that have received an update - the point is that most Nexus S devices have not yet received it, and are still unable to update through any official means.

comment 14y ago · link · parent

Except it's not the latest unmodified Android - the Nexus S was top-of-the-line less than a year ago. Within six months, Google releases ICS, so you'd expect that it would be updated promptly.

...and yet, five months later we still have no idea when Google will update the Nexus S to ICS. And unlike the carriers, they're the ones who developed the entire system, so it makes you wonder what devices they were using, and why it would be so hard to make sure ICS could run on the most recent publicly-available device.

If it takes Google 5-6 months to update their own phone, then by the time the Galaxy Nexus is upgraded to Jelly Bean, it'll already be out-of-date anyway.

So even if the Google Wallet mishap were a mistake, if having an unmodified-but-unupdated stock phone is the only difference, I'd rather just scan the market for the best available phone with an unlockable bootloader and install a custom ROM myself. No carrier bloatware, and then I actually get the updates before the updates themselves are made obsolete by the new version.

comment 14y ago · link · parent

Not anymore, though. The Galaxy SII has already received an ICS update. Google still hasn't even announced the date for the Nexus S ICS update, and the Nexus One won't be updated at all. The only Nexus device running ICS is the Galaxy Nexus, which was released with ICS, and even the Galaxy Nexus is receiving OTA updates from Verizon, not directly from Google.

So Nexus devices aren't updated sooner, and they don't even receive more than one major version update. With a six-month release cycle, that means that even the Nexus devices will have a very short shelf life and will be behind very quickly.

If that's the case, then the only advantage is being able to unlock the bootloader - but that's not specific to Nexus phones, and if you still have to install a custom ROM to keep your phone up-to-date after only 6-12 months, how much of an 'advantage' is that?

comment 14y ago · link · parent

What does the Nexus brand mean anymore, though?

I'm not even trying to be sarcastic. I can't figure out why I should be excited about this. Okay, Google's cooperating with some unnamed hardware manufacturer and some unnamed wireless carrier to produce this device, but what does that mean for me?

Nexus doesn't mean that it's produced with a given hardware manufacturer, or even a given set of hardware (beyond the implication that it's generally the best available at the time). For phones, it doesn't mean that it's tied to any given carrier, though it also doesn't necessarily mean that it can be used between carriers either (thanks to the GSM/CDMA incompatibility). It doesn't mean that the device won't have carrier bloatware on it. It doesn't mean that the device will be the first to receive updates (for proof: take a look at the angry Nexus S users who still don't have ICS). It doesn't even mean (anymore) that the device will receive updates directly from Google! Since Google's now apparently establishing a two-versions-per-year schedule for Android, those once-valuable promises mean absolutely nothing.

I have a Galaxy Nexus, and I love it - I'm glad I upgraded. But I honestly don't know what Google thinks the Nexus brand means - maybe they have some idea, but they're not doing a great job of communicating it to even a tech-savvy Android user. I'm glad that Google took the UI to the next level on ICS, but unless they solve this problem very soon, Android's in trouble.

comment 14y ago · link · parent

I believe GitHub was able to tell which public keys had been added using this exploit (because with this vulnerability, the log files should still be intact). So we/they can safely say that this vulnerability was not exploited maliciously.

Sure, there may be others we haven't heard of, but that's potentially true about any service.

comment 14y ago · link · parent

This is the biggest problem with the article - if you're using GitHub as a reason to argue that Git is bad, then you don't know enough about what Git really is to make that judgement.

The fact that Git is a DVCS has nothing to do with the fact that the Rails developers failed to fix a bug on their platform (Rails), which the service that you happen to use to host Git (GitHub) happens to use as well.

Sure, you could use this as an argument to switch to another Git hosting solution (BitBucket, self-hosted), but this could just as easily have happened with a SVN host using Rails....

comment 14y ago · link · parent

Even with the lock, how can they prove that? If they're able to get information off of it, they're able to modify it....
1
194195196
202