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

Chances are they had to pay for it, since that probably did not fall under "fair use" (they are a commercial entity, using the speech as part of their commercial purposes).

Unfortunately, the same can be said about textbook publishers, and most of them don't pay for it.

Worse, the video is much more heavily controlled by the King estate than the printed text.

comment 13y ago · link · parent

While I am glad that some people on Youtube have posted this video anyway, IMHO, the end solution to broken uses of copyright isn't to say, "let's just ignore it", even if that does have a desirable effect in the meantime.

comment 13y ago · link · parent

All the more reason for people to watch the video (which is much more heavily controlled by the King estate) than to rely on the printed text!

comment 13y ago · link · parent

> Teachers don't actually care about such restrictions.

No, but textbook publishers do. The current state of affairs means that very few textbooks include the speech, because textbooks are sold commercially.

Agreed, teachers are notorious for ignoring copyright (I've seen them photograph entire books for us in teaching), but that's a separate matter. IMHO, the solution to broken uses of copyright isn't to say, "let's just ignore it", even if that does have a desirable effect.

comment 13y ago · link · parent

The distribution of the printed text is far less controlled than the video, which is much harder to find (legally) than the text.

In the case of the text, it is possible to find copies online (for, via the National Archives), but redistribution in other printed works (namely, textbooks) is problematic.

As for the video, the King estate controls that very, very tightly.

comment 13y ago · link · parent

Of course they can. That's not the issue. The issue is that textbook publishers cannot (or will not) include the speech in their books, because then they would have to pay royalties (and indirectly pass along those costs to the schools).

Furthermore, use of the video is much more heavily controlled by the King estate.

4837.

Why You’ve Never Read “I Have A Dream”(varnull.adityamukerjee.net ↗)

505 points · by chimeracoder · 13y ago · 226 comments

comment 13y ago · link · parent

Thank you thank you thank you thank you so much for writing this comment.

I had no idea that this blog post would blow up the way it has, reaching far more people than I ever thought. I originally wrote it with people like you in mind - people who know me personally, and otherwise would never have realized that someone they know personally was affected by our policies like this.

The post was really difficult to write - I didn't want to have to relive that experience again just to put it onto the page - but seeing a comment like this makes it worth it.

comment 13y ago · link · parent

In another tweet, they claim that the responsibility lies with the government agencies who screened me: https://twitter.com/chimeracoder/status/370663486470103040

(which seems to contradict your tweet: https://twitter.com/cgervasi/status/370675125244284928)

If that's the case, I'm not sure why the person who denied me boarding was the JetBlue agent, not a TSA agent.

comment 13y ago · link · parent

Any name that ends in "-jee" or "-ji" is a British variant on an Indian Bengali name[0]. Almost anybody who has it (Mukerjee, Banerjee, Chatterjee) is originally from West Bengal, a state in India that borders Bangladesh.

Beyond that's, it's a Hindu name. Almost all Hindu names are specific to a particular caste (the origins of the caste system are simply a precise codification of socioeconomic status, so it's similar to someone being called "a Trump" or "a Kennedy").

Priests can also tell further information from the name, such as the gotra: http://en.wikipedia.org/wiki/Gotra . In layman's terms, this is a way of identifying one of your earliest known ancestors.

The name even has a Wikipedia page: http://en.wikipedia.org/wiki/Mukherjee

[0] The British changed a lot of names of both people and places when they were in power - ex., they changed "Mumbai" to "Bombay", although people are now starting to use the original name again.

comment 13y ago · link · parent

I can't decide whether I love or hate the idea of this generation's "amublance chasers" being the "airport security line chasers".

comment 13y ago · link · parent

Thanks. Even though it's not coming from the TSA/FBI/et al., it means a lot.

comment 13y ago · link · parent

I didn't. I've never actually had to file a FOIA request before - is this something that would be available through one?

comment 13y ago · link · parent

It's hard to explain a false positive when you're given no context about what it could be.

As explained in other comments, nitroglycerin is found in things as bizarre as desserts.

Unless someone happens to be incredibly knowledgeable about how to make explosives out of common household supplies, it's hard to expect them to say, eg. "Oh, that's because I happened to eat dessert last night and forgot to wash my hands."

(In fact, if somebody does know that, that may be cause for all the more suspicion!)

comment 13y ago · link · parent

I know, my surname is incredibly distinctive.

To anybody who's vaguely knowledgeable about these things, it not only points out my nationality, but also which region of India I belong to, my religion, and also my caste[0].

[0] Not that I pay attention to caste, but as you can see, Indian surnames contain a lot if information, to anybody even remotely trained in reading them.

comment 13y ago · link · parent

> Since the OP is here, and it wasn't totally clear in the story, I'm just wondering: if and when did you point out you were a Hindu not a Muslim†, and whether doing so and possibly additionally pointing out the historical enmity between those two groups might have helped or hindered.

A few of the officers did noticeably relax their body posture when I told them I was Hindu (just as the man from Homeland Security relaxed when I told him I didn't even speak Hindi).

I didn't point out the historical conflict between the two groups in India. Given how little they seemed to know about Hinduism in general, I suspect that wouldn't have helped, but who knows.

comment 13y ago · link · parent

That thought is terrifying.

I was afraid I was going to be put on the no-fly list afterwards and would have to travel back to NYC by train (a four-day trip).

Even before this experience I used to avoid flying in favor of taking the train. I don't know what I'd do if the TSA became commonplace at train stations.

comment 13y ago · link · parent

I linked to Flex Your Rights[0] in the blog post. They have two great videos (both available for free on Youtube) about dealing with police encounters.

Unfortunately, the TSA are not police officers, and so you don't have the same rights as you do when dealing with police officers. (Notice how the police officers refused to be present during the pat-down - I didn't mention this in the article, but the cops stepped out of the room every time the TSA officers patted me down).

If anybody has a good, analogous resource for dealing with TSA and the FBI, I would love to know.

[0]http://www.flexyourrights.org/

comment 13y ago · link · parent

> How do you know they don't have a button to push to make it give a false positive so they can hold people?

That exact thought crossed my mind afterwards.

In the end, they never showed me any evidence that the machine had actually detected any explosive. Nor did they figure out what could have caused the "false positive".

Maybe they did detect something, but then what's equally surprising is the thought that they would then just let someone go after they have walked into JFK with explosives on their body.

comment 13y ago · link · parent

This post was unbelievably painful to write.

I didn't want to relive the experience - I wanted to forget about it, but a friend of mine convinced me that I needed to let people know that these things happen, for that exact reason. That's why I wrote it.

comment 13y ago · link · parent

IANAL, and I would love to know this.

But at the time, what else could I do, besides wait for the police to show up?

comment 13y ago · link · parent

As I mentioned in the post, they claimed I "wasn't being detained". I asked more than once to use my phone; they denied me.

Maybe I could make that more clear.

comment 13y ago · link · parent

Exactly. Even a couple of nights ago, I had a dream about going through airport security on my return trip (even though I returned over a week and a half ago, with no problem).

comment 13y ago · link · parent

Author here. I'd recommend reading until the end - unfortunately, it didn't end when I was released from airport.

4855.

Don't Fly During Ramadan(varnull.adityamukerjee.net ↗)

2744 points · by chimeracoder · 13y ago · 962 comments

comment 13y ago · link · parent

I don't want to turn this into a Go vs. Rust discussion, because the two languages are very different and have very different goals.

However, I want to question the claim:

> Go is also not particularly friendly to interface to external libraries written in C

which doesn't seem to be explained anywhere in the article, and jars with my understanding.

Go does play very well with C; cgo[0] makes this pretty straightforward.

Maybe there are specific things that the author is trying to do that they found difficult in Cgo, but I would say that Go does play fairly nicely with C; that was a design goal.

Here's a simple example of cgo in action: http://golang.org/doc/articles/c_go_cgo.html. As you can see, it's relatively straightforward and easy to use.

[0] http://golang.org/cmd/cgo/

comment 13y ago · link · parent

Minus the 112 days he received as "credit" for his "inhumane treatment" in Quantico!

I mean, that's some consolation, right?

/s

comment 13y ago · link · parent

> they're at least as powerful as a PDA.

PCREs (ie, the regular expressions that Perl uses) are NP-hard, since they allow backreferences.

comment 13y ago · link · parent

Here's what I think is a fun explanation of the pumping lemma, using no special terminology.

As many people on here know, the phrase "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo" is a complete sentence[0]. What many people may not know is that you can add (but not subtract) as many "buffalo" as you want and still have it be a complete sentence.

Why's that?

Well, an easier sentence to look at is "James while John had had had had had had had had had had had a better effect on the teacher"[1]. In this case, it's clear (once you understand the meaning of the sentence) that you can add as many "had" words as you want, as long as you keep above a certain minimum. This is because all but a couple of the "hads" should really be inside quotation marks, as they are simply denoting the words that James (or John) did have at some past time - they convey no semantic meaning within the sentence.

If you envision a DFA[2] (okay, here's where it gets technical), we're basically saying that one node has an edge that goes to itself - a "self loop" - or a previous node that has already been visited. Once you have this loop established, you can traverse it as many times as you want (ie, arbitrarily many), as long as you traverse it a minimum number of times.

All the pumping lemma states is that:

(1) if this loop exists, it can be traveled as many times as you want, and

(2) It must have the same effect each time (since DFAs have no "memory" - they have no stack).

If there is a limit to the number of times it can be traversed, or if it has a different effect depending on the number of iterations[3], then the language cannot be regular.

[0]http://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffalo...

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

[2] http://en.wikipedia.org/wiki/Deterministic_finite_automaton

[3] Okay, to be really pedantic, it can have a different effect each time, as long as there is a finite number of "different" effects it can have, since there must be a finite number of states in a DFA. But that was a bit too clumsy to try and write.

comment 13y ago · link · parent

It can only throw a compiler error if you use a 0 literal (or constant), because it cannot determine the runtime value of a variable denominator at compile-time (obviously).

It does not force you to check, but if you wanted to "catch" the "exception" (really, "recover from the panic"), here's how you would do that. Note that this is admittedly a somewhat unidiomatic use of recover(): http://play.golang.org/p/dAQ01dus9Y

1
161162163
202