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

> I would have already upgraded to Win8 if it had a real desktop with a real start menu for my dual 27-inchers instead of a friggin touch interface designed for a tablet.

Walking into Best Buy today, I noticed that almost all the computers had touchscreens. Even the few that also had keyboards in front of them lacked mice.

They're clearly betting on the hypothesis that computers in 2/5/10 years won't have mice, those having been replaced altogether by all-in-one monitors.

In other words, I don't think the intent is to get Windows 8 installed on existing hardware. I think the intent is to get Windows 8[1] to dominate (and perhaps even drive) new sales.

[1] Or, more likely, the successor to Windows 8 - Microsoft customers have always had a pattern of 'skip one, upgrade one', and even without the redesign, Windows 8 falls on one of the 'off' cycles as it is.

comment 13y ago · link · parent

I was dreading taking Computer Science Theory for my undergraduate degree. Turing machines bored me when I studied them in my introductory class, and I saw the class as a necessary evil - a core requirement as well as a prerequisite for my compilers class.

Boy, was I wrong. Despite what I'd anticipated, that class ended up being the single most useful CS class that I took. I had the fortune of taking the class with Alfred Aho[1] - I can't imagine a person more qualified to teach a class on computation via automata; he literally thinks in automata.

One day, I mentioned how I'd solved a particular programming problem (not for class) by reasoning about it as if it were a pushdown automaton, and how I was surprised that these techniques were still relevant, even for problems far more high-level than, say, writing egrep. He told me, 'Sometimes when I have a tough problem, I like to think of it as a language recognition problem, and it becomes easier to solve.'

My brain may not be quite as oriented towards state machines as Prof. Aho's is, but that trick has saved me countless times. Like functional programming, it takes a bit of practice to wrap your head around it if you're not used to it, but it can present really elegant solutions to problems that seem daunting at first glance.

[1]http://en.wikipedia.org/wiki/Alfred_Aho

comment 13y ago · link · parent

You're confusing having a carrier-unlocked phone with having a phone that has an unlocked bootloader. The two are completely orthogonal concepts; you can unlock the bootloader of a phone that you received with a subsidy by signing 2-year contract with a carrier.

The point is that, once I've bought the hardware, nobody should be able to tell me my that I can't flash my own custom ROM on the phone.

comment 13y ago · link · parent

> the code I am writing does not have GPL compatible licensing. Thus it limits me as a developer.

So, you're saying that you want to choose a license for your code that infringes upon its users freedoms. That's not a problem with the GPL.

> I care about the software I write and of what the users want

Free software isn't about what users want. It's about what they deserve.

Rights are inalienable, so regardless of what users say or how they act, the rights are theirs, and neither you nor anybody else can infringe upon users' freedoms.

comment 13y ago · link · parent

> That, and also, that by limiting my ability to limit other users' freedom you are in fact limiting my own freedom

Nobody ever said that you had a right to infringe upon others' rights.

> leave GPL folks to play their hypocritical games with semantics, definitions and freedoms.

There's not one ounce of hypocrisy anywhere here. You may not like it, but to call "GPL folks" hypocritical is absolutely ridiculous.

Finally, it's remarkable that you managed to take a comment my comment, which was originally highlighting the similarities between the two schools of thought, and turning it into a jumping-off point for how one is clearly better than the other. Well-done!

comment 13y ago · link · parent

I've been using git-annex[1] to handle this problem. It doesn't handle the synchronization instantaneously via a daemon, but that's trivial to add. Plus, it requires neither a centralized canonical repository nor complete synchronization of every file (only fetch the ones you need).

[1] http://git-annex.branchable.com/

comment 13y ago · link · parent

The #1 problem I have with most to-do list applications is that they don't support (or have bad support for) subtasks. Unfortunately, it doesn't seem like this is a main feature of todo.txt either....

comment 13y ago · link · parent

> Have you actually tried the alternatives ? There's a trivial variant of M:tG where you can play any card face down to act as a land.

That's not really eliminating randomness, since you're just evaluating (at runtime) whether or not a given card is more valuable as a mana source or at face value. There's still some randomness in determining how high the opportunity cost of playing a land is.

A better example of nonrandomness - which I have considered playing with my friends - is enforcing an even mana draw by increasing access to mana each turn in a manner proportional to the number of lands in the deck. That's deterministic.

> You have a point, though - constructing a deck in M:tG is far more fun than playing one.

I've been playing Magic: The Gathering for far longer than I should admit, and I'd disagree.

comment 13y ago · link · parent

> You either have to compromise on users or on developers.

Developers are users.

> There are either strings attached as in GPL or there are not, as in BSD.

From the way you're phrasing this, it's clear you miss the free software paradigm altogether. There are no strings attached. The ability for some users to limit other users' freedoms isn't one of the four freedoms.

comment 13y ago · link · parent

> I'm fairly confident the threat of not being able to buy a general purpose computer is not a high probability outcome.

I already have to go very far out of my way and pay a huge premium for getting an unlocked Android phone. As phones/tables supplant many "general-purpose" computer use cases, this threat is only increasing, if current trends continue.

comment 13y ago · link · parent

Well, that's my point. "Open source" protects only the freedoms that relate to a portion of users (developers), whereas "free software" protects the freedoms that relate to all users.

comment 13y ago · link · parent

> consider that we are selling DRM free digital downloads that you can watch in whatever manner you please.

I doubt that's their intention, at least from the start. By including that clause in the description, they're making it very hard for themselves to construct a case that they aren't authorizing these downloads (even if they could argue that uploading the magnet link themselves doesn't already fulfill this).

comment 13y ago · link · parent

I like that distinction, but to be clear, the distinction isn't strictly an "either-or". It's pretty clear that "open source" is motivated by developer freedoms, but the fact that "free software" is motivated by user freedoms doesn't make it less about developer freedoms.

In other words, if you subscribe to the four tenets of software freedom as they pertain to users, "free software" also provides as much freedom to the developers as is possible without compromising on the users' freedoms.

comment 13y ago · link · parent

> Land can be devastatingly effective with cards made to take advantage of it.

One of my favorite decks is loosely based on a 5-color preconstructed deck from the Apocalypse era - it's basically almost all mana fixing, with a few cards that take advantage of multiple colors, and then four "Life/Death"s[1]

All that time you spent doing nothing but playing land-generating spells suddenly pays off when you can attack with twenty 1/1 creatures in a single turn, then declare them unblockable[2] and rinse and repeat the next turn[3].

It's even better because land-destruction spells are much rarer (and more costly), so you're impervious to Wrath-of-God[4]-eque spells.

[1]http://gatherer.wizards.com/pages/card/Details.aspx?multiver...

[2]http://gatherer.wizards.com/pages/card/Details.aspx?multiver...

[3] If, by some miracle, they had enough life to survive, that is.

[4] http://gatherer.wizards.com/Pages/Card/Details.aspx?multiver...

comment 13y ago · link · parent

> This reminds me of Magic: the Gathering and the misery of mana screw.

Incidentally, apparently people complain about the online versions of the game providing a land distribution that's "too even".

Also, while mana screw sucks, between the fact that you can decide whether or not to begin with a certain opening hand and the fact that you can design your deck around such circumstances (mana fixing, proper distribution of card costs), it's far more fun than the alternative.

comment 13y ago · link · parent

> I've really become quite a Rust fanboy, although I haven't written tons of code in it.

As someone who's been meaning to try it out for a while, I have a couple of questions for you.

First, how did you get started? I found the tutorial decent, but after reading through it, I didn't feel like I could quite jump in and start writing code. By contrast, I never actually read the Go spec/tutorials; I did a brief run through the sample web application and was able to write everything else right away (filling in from the documentation as needed, of course).

Second, how did you come to understand the memory model? I consider myself more familiar in both functional programming and memory management than average, but I found the memory model to be a bit of a conceptual hurdle (even though I'm attracted to the approach on a philosophical level). Having such a unique memory model makes it a little tough to simply get started writing code right away.

Finally, how do you find the libraries in different areas? Web applications? Scientific computation? This isn't really an across-the-board question, since certain areas will probably be more complete than others, but what kind of applications are currently easiest to write in Rust when getting started?

EDIT: I understand they're different languages with different goals, but I'm comparing everything to Go just because they're both emerging languages that I started to try to pick up around the same time. I found Go much easier to get going with (no pun intended), but I'm looking to catch up with Rust as well.

comment 13y ago · link · parent

> There are absolutely no absolutes!

and then:

> People who claim that vim/emacs are the ultimate environment typically have a very narrow world-view in my experience.

Yes, you add the word "typically" in there, so it's not technically an absolute, but really, what you're saying is not much better.

I'm not going to tell you that you need to abandon your IDE, but I use a DDE centered around Vim, and I like to think that I don't necessarily have a narrow world-view as a result of that choice, thank you very much.

comment 13y ago · link · parent

> If you are using Verizon, no. I have a rooted Galaxy Nexus Prime running CyanogenMod 10, and the Play Store has always said, "Your device isn't compatible with this version."

I'm assuming you were running a pre-release build; Google Play/Google Wallet payments have always had a spotty track record on non-stable releases of CM. I was able to run Google Wallet just fine when I was running an older version of CM (rooted).

But you don't need to root to sideload it, either, even if you're on Verizon.

comment 13y ago · link · parent

> You should totally find a way to reduce carrier to a dumb pipe

That's what ISPs were until the Clinton era, when they made some sweeping regulatory changes that led to the situation we have today.

comment 13y ago · link · parent

> The title can be read as "How to engineer pornography", at least that's how I read it at first. OP might want to edit it to remove any ambiguity.

I read an AMA on Reddit at one point from a guy who worked as a server engineer on some large porn website/network. The questions were mostly about engineering, but the answers were fascinating - when you think about it, porn networks have to face the same scaling issues as many startups, and they have some unique challenges (and also advantages) that other markets don't.

I was secretly hoping this post would be something along those lines. Interesting nevertheless, but not what I was expecting!

comment 13y ago · link · parent

> Its interesting to note that the results of early stage enabler technologies are worse than the previous generation technology its trying to mimic and surpass.

This is nothing new - the question is whether the potential of the enabler technology is larger than the potential of the "old" technology (which, presumably, has been maxed out or is getting close).

comment 13y ago · link · parent

Even better: http://en.wikipedia.org/wiki/List_of_lakes_in_Minnesota

comment 13y ago · link · parent

Why would Github complain? They very much do not have a monopoly on the word "git"!

comment 13y ago · link · parent

And when your ISP starts requiring you to sign in with Facebook via a captive portal before you can browse the Internet at home, will you still continue to "choose" the "true identity social network"?

comment 13y ago · link · parent

Man, if that's the case, does using a BIOS mean I'm still running a 16-bit operating system?

If so, then I guess I've got to marvel at how popular "16-bit" Linux is - I can run 64-bit only applications, watch Flash, Netflix... whoever knew a 16-bit OS could be so powerful!

comment 13y ago · link · parent

In short yes.

The longer answer is linked in a post above[1] - it describes the problems with Python (CPython), many of which would apply to Ruby (CRuby/MRI) as well.

[1] http://dabeaz.blogspot.com/2011/08/inside-look-at-gil-remova...

comment 13y ago · link · parent

This is a good approach if you can get enough redundancy with your instances and if instance failure is uncorrelated.

However, what do you do if there's a massive outage that affects most or all of your instances simultaneously? Diversification that fails when you need it the most isn't very helpful.

comment 13y ago · link · parent

FORTRAN is the oldest language that is still used today. If you consider the Lisp dialects together as a single language, then Lisp would be a close second.

Scheme, for example, is a decade older than Common Lisp, but it's still commonly considered a Lisp (no pun intended).

comment 13y ago · link · parent

Facebook doesn't delete your images for years (if ever). There are links to photos deleted in 2008 (or perhaps earlier) that still work.
1
174175176
202