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
Scala isn't functional; Scala is proper (pure) OO in a way that Java never was. Scala doesn't support top-level functions (only singleton objects), which doesn't exactly prevent it from being functional, but certainly suggests that the primary paradigm is still object-orientation.
It just so happens that pure OO, when properly done, happens to embody a lot of features similar to functional programming - Smalltalk is the easiest example of this (eg. the similarities between Smalltalk message passing and Haskell's implicit currying are very clear).
The reason for this is that it's trivial to create a good object system in a purely functional language, so the FP-OO relationship isn't an either-or so much as a 'special case' (ie, OO can be seen as a 'special case' of FP). The converse isn't so true; it's hard and clumsy to build a truly functional paradigm within an OO paradigm.
What GP probably meant is that Scala isn't a good choice for those who are coming from an FP background, since they'll likely notice that Scala seems very OO by comparison (because it is). Even on the JVM, there are other languages (ie, Clojure) which embody functional paradigms more transparently. On the other hand, Scala is a decent choice for OO programmers who want to get a taste of functional programming (or who want to incorporate those paradigms into their code), because Scala allows several aspects of the FP paradigm to come through as well.
comment 13y ago · link · parent
The president is a member of the executive branch, not the legislative branch. He signs bills into law in his authority as an executive who will be responsible for carrying out the laws that the legislators write, not as a legislator responsible for creating those laws.
You absolutely cannot say that he is "lawmaker number 1", because he's not even a lawmaker. The fact that most presidents happen to have served as legislators (senators) previously is irrelevant; that was their job then, and this is their job now.
He is not the head of his party. Nor is he the one who dictates how they will (or should) be whipped - the President isn't even supposed to have any say in the process of whipping votes - that falls on Reid, Pelosi, etc. (who actually have the resources to whip legislators, since they can make promises of campaign money, etc.)
We live in an era where the power of the executive has been illegally expanded well beyond what it was originally intended to be - we can thank Bush and Obama for the bulk of that (at least most recently). But that does not actually change the role that the president has (or should have) in legislative matters.
comment 13y ago · link · parent
There's one in NYC, and I've been disappointed that it seems to be hibernating (only one meetup since Halloween)[0].
Hopefully some other NYC-area gophers might see this and be interested in getting it going again....
comment 13y ago · link · parent
RMS doesn't disagree with corporations (the FSF is a corporation) or even with commercial use of software (the freedom to use software for commercial purposes is explicitly included as a fundamental freedom of software).
comment 13y ago · link · parent
That depends on whether or not they distribute it with any of Canonical's trademarks (I'm assuming they have a trademark on Ubuntu, not to mention their own name).
Trademarks are completely independent from (and compatible with) open-source - look at 10Gen, which preserves the rights to the MongoDB name while releasing a product under the GPL.
comment 13y ago · link · parent
As a dark-skinned man who oftentimes sports a beard, I'm treated like a terrorist every single time I walk through security. To them, I'm a second-class citizen - no question about it.
I avoid flying like the plague; I'd gladly take a 12 hour train ride over a 2 hour flight just to avoid this treatment.
It's been 12 years, and I still haven't gotten used to the degradation. I hope I never do.
> Because I remember the peace and freedom I long enjoyed here to welcome visitors to the United States from around the world, I want the leaders and active participants in terrorist networks to identified through constant surveillance and intelligence, and I want terrorists to be attacked relentlessly where they live, so that they have to hide in caves while people all over the world who renounce their goals get to lead civilized, peaceful lives in the Twenty-First Century.
There's a certain degree of irony in that statement; the Beirut bombing, the (first) World Trade Center bombing attack, and 9/11 were, at least in large part, a response to the destruction that the US has been wreaking on foreign soil for years.
> The people who are destroying diplomatic buildings and killing diplomats are declining to use thoughtful discussion to show that they are anything other than blights on humankind
This same line of reasoning could be applied to the US - we're a little bit better at disguising it, but we've been responsible for terrorism abroad (and domestically!) for decades.
comment 13y ago · link · parent
Did Chase bank hand over all Massachusetts assets (all assets in a MA account) to the state, or did they hand over non-Massachusetts assets to the state of Massachusetts? The opening of the article implies the latter, since the account was opened in Illinois, though it's possible that the account qualified as an MA account.
Even if the address on the account is listed as a California address, the account may still be a Massachusetts account (use an MA routing number, etc.).
I'd be very interested to know if Chase handed over assets from an Illinois account to the state of Massachusetts.
comment 13y ago · link · parent
Then again, the choice of Rowling is probably intentional, because she actually did take an author to court for publishing what was essentially a fan's 'almanac' of character information (ie, a lexicon which would list things like the characters' birthdays, etc.).
comment 13y ago · link · parent
Basically everything on http://golang.org/ is licensed under either a CC Attrribution 3.0 license or a BSD license. Go was intentionally designed to be a specification and not just a single canonical implementation. True to that, there are two mainstream Go compilers, one of which (gcc-go) is licensed under the GPL v3.
Aside from the fact that Google happens to employ some of the main developers of the language, I don't see how you can say that they 'own' it, since they've gone out of their way to make none of it proprietary.
comment 13y ago · link · parent
Another show along those lines is "Batman Beyond" (a dark "reboot" of Batman in which an aging Bruce Wayne enlists a young protege to be the next Batman in the near future).
In both shows (particularly Batman Beyond), if you ignore some obvious elements that point to them being shows for kids/teenagers, they almost seem like they were originally intended for adults, and then later rewritten to be targeted towards younger audiences.
comment 13y ago · link · parent
Replacing the imports is pretty easy, though - because Go is so draconian about certain elements of formatting and style (including restrictions on imports), it's relatively straightforward to migrate code like this.
(The 'go fix' tool is an even better example of the power that such an opinionated compiler provides as its tradeoff)
comment 13y ago · link · parent
That's simply not the case, though. It's trivial for them (lobbyists) to disguise it as an unrelated issue, using whatever common bogeyman is popular at the time (drugs, child porn, terrorism).
This is exactly what has happened time and again.
comment 13y ago · link · parent
Or, alternatively, because the executive branch believed it already had the authority the bill would have provided (since they shut down MegaUpload the very next day).
I'm very cynical about things like 'awareness', because it's all too easy for politicians and lobbyists, who think about these issues every day, to slip something else by eventually. Most of the policy changes that we deride today as regressive were themselves not a 'first attempt'.
comment 13y ago · link · parent
If this is the first target (or a prerequisite of the first target), then running 'make' will ensure that those variables are set to non-empty strings.
comment 13y ago · link · parent
Aside from the fact that that's redundant, it's highly error-prone.
comment 13y ago · link · parent
You can also used a typed dialect of Racket if that's easier - just write #lang typed/racket at the top of your file: http://docs.racket-lang.org/ts-guide/