this is old.
but oh so good.
software geek
Hadoop reduce iterators are pretty broken, so realize that before you waste tons of time like I did. The following won't work (never mind the crap job I'm doing protecting my heap):
List entries = new ArrayList();
while(values.hasNext()) {
entries.add(values.next());
}
Entry is a flyweight instance that gets recycled on each iteration. A nice optimization if you need it, but a rather heavy-handed assumption and one that should have been documentated, and an optimization that in this case leaves you with a List populated with references to the same object instance. This could take you a while to track down.
List entries = new ArrayList();
while(values.hasNext()) {
entries.add(new Entry(values.next()));
}
Entry(entry) is a copy-constructor (you could use clone() if you've done nothing sexy to your class and for some reason hate portable design standards).I'm impressed by the anger directed at Apple for Podcaster-gate. Good community backlash is always healthy. If you haven't heard about all this you can read more about it here to catch up, but in short, Apple didn't allow an application that competed with their iTunes application onto the iPhone, even though it didn't violate any of the provisions of the license agreement.
But I'm available for the right price.
I'll be guest blogging on the O'Reilly Radar blog for a little while.
David Gravel is quoted as thinking so given the massive efficiency to shared languages in a global world. It's a tidy and nice argument.
If you picked two people at random off the face of the earth and asked them to pick one language in which to communicate with someone they knew nothing about, which language would each person choose? The language they’d pick would depend on a series of “reciprocal expectations” — best guesses not just about which language you suppose the other person speaks but which language he thinks you suppose he will speak — which depends, in turn, on which one you think he thinks you suppose he will speak. And so on, until your head swims.
In today’s globalizing world, the probability is increasing that two random people would choose English for their best chance at unplanned linguistic coordination. And this isn’t merely a thought experiment: it’s being played out, with more information among the parties, in the decisions of hundreds of millions of people now learning English as a second language.
The Navi Radjou at the Harvard Business Blog writes about the dearth of innovation going on in India. It's a structure problem according to the analysis. The culprit works out to be family-run, risk adverse firms with nepotistic power structures.