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

> isn't that why all the cities with 'English' names were rechristened? :p

Interesting choice of words there - 'rechristened'. In any case, many of the names were reverted back to their original forms (not just cities, but things like surnames too).

comment 13y ago · link · parent

Not "better" as a language - "better" at exhibiting functional paradigms more transparently. I've fixed the wording.

comment 13y ago · link · parent

I could probably copy-paste this comment from any one of the many other Scala discussions where this has come up, but in short:

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

> he is lawmaker number 1.

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

That sounds interesting - let me know if you're interested in getting that started again; I'd be up for working on it.

comment 13y ago · link · parent

> Also, for Londoners, there has been some interest in starting a local user group

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....

[0] http://www.meetup.com/golangny/#past

comment 13y ago · link · parent

> I believe that OSS and corporations can coexist (sorry RMS).

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

> If I, personally, am allowed to reskin my Ubuntu device, surely Verizon must be also, no?

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

Not just that, but on any computer running Linux, you can just use loadkeys.

You can also use xmodmap, but that's not going to work outside X11 (if you tend to do much work without X)

comment 13y ago · link · parent

Those instructions are rather outdated; they don't work well with Lion or later.

comment 13y ago · link · parent

> If free citizens of free countries can't live in freedom because of fear of terrorists, the terrorists have already won

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

The title seems ambiguous (and, oddly, does not match the blog post title).

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

Yeah, I'd imagine that the same rules that protect literary criticism and summaries (like SparkNotes, CliffNotes, etc.) would apply here.

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

> They are trying to get us to program systems now in the Go language

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

Gargoyles was amazing. The movie (which shows the story of their "creation") and some of the early episodes can get surprisingly dark (but deep).

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

You're still going to need to recompile, because Go programs are all statically linked.

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

> It's been that way for decades.

Try centuries.

comment 13y ago · link · parent

> And for better or worse, that legislation and virtually any similar legislation in the future, will not be seen as benign.

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

> The police actually can do very little without a warrant, and that's for a reason.

That used to be the case, but not so much anymore - [very] unfortunately.

comment 13y ago · link · parent

> Does anyone here really think that SOPA was indefinitely tabled because Congressmembers suddenly read the bill and had a change of mind? Or was it because their offices received more calls and emails in than they likely did in the run-up to the Iraq and Afghan wars combined?

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

A word of warning - if you have a reservation, make sure you don't accidentally click on the first button in the app by mistake. Once you do, there's no way to get back to the first screen to enter your reservation code, even if you uninstall and reinstall the app.

comment 13y ago · link · parent

> The owner shouldn't be able to "ransom" the name for an unfair price, either.

Since there is a supply of n=1, please define what an "unfair" price is, if you're not comfortable with defining it as the amount that Michelin is willing to pay.

comment 13y ago · link · parent

I prefer using environment variables, and then enforcing this in the Makefile: https://gist.github.com/ChimeraCoder/4728823

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

> Side note: Wouldn't it be awesome if composer supported composer.sexpr files natively, so that we would no longer have to write JSON? No, not really.

Why the quick dismissal? I find s-expressions much easier to work with than JSON.

comment 13y ago · link · parent

Not to mention that package management isn't a problem that should be solved at every single level possible - package management for the OS, package management for developing in $LANGUAGE, package management for extensions of $PROGRAM written in $LANGUAGE, etc....

Aside from the fact that that's redundant, it's highly error-prone.

comment 13y ago · link · parent

> Which is not the same at all with having thousands of proprietary third-party apps to distribute in closed source form

What are you talking about? Nothing about app signing and sandboxing requires open-source repositories.

comment 13y ago · link · parent

> Most security nerds find app signing and sandboxing a good idea.

Those same security nerds have been doing both on FLOSS operating systems (BSD, GNU/Linux) for years, so that point is irrelevant to the original discussion.

comment 13y ago · link · parent

> Also, for a dynamically typed language, I thought it had too many different types. It was too easy to get mixed up between bytestrings and strings, for example. It was also not obvious when you should use or expect nil vs #f. That said, the features for creating your own types (mostly structs) were very good--I found they were very lightweight but still flexible enough to be useful.

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/

1
168169170
202