skysight-inc/HackerNews huggingface dataset:
A good introduction to MapReduce is probably CouchDB, where you use it for database views instead of SQL-style queries. The basic concepts are:

- The "Map" phase takes a key/value pair of input and produces as many other key/value pairs of output as it wants. This can be zero, it can be one, or it can be over 9000. Each Map over a piece of input data operates in isolation.

- The "Reduce" phase takes a bunch of values with the same (or similar, depending on how it's invoked) keys and reduces them down into one value.

A good example is, say you have a bunch of documents like this:

{"type": "post",
"text": "...",
"tags": ["couchdb", "databases", "js"]}

And you want to find out all the tags, and how many posts have a given tag. First, you have a map phase:

function (doc)
if (doc.type === "post") {
doc.tags.forEach(function (tag) {
emit(tag, 1);
});
}
}

In this case, it filters out all the documents that aren't posts. It then emits a `(tag, 1)` pair for each tag on the post. You may end up with a pair set that looks like:

("c", 1)
("couchdb", 1)
("databases", 1)
("databases", 1)
("databases", 1)
("js", 1)
("js", 1)
("mongodb", 1)
("redis", 1)

Then, your reduce phase may look like:

function (keys, values, rereduce) {
return sum(values);
}

Though the kinds of results you get out of it depend on how you invoke it. If you just reduce the whole dataset, for example, you get:

(null, 9)

Because that's the sum of the values from all the pairs. On the other hand, running it in group mode will reduce each key separately, so you get this:

("c", 1)
("couchdb", 1)
("databases", 3)
("js", 2)
("mongodb", 1)
("redis", 1)

Since the sum of all the pairs with "databases" was 3, the value for the pair keyed as "databases" was 3. You're not limited to summing - any kind of operation that aggregates multiple values and can be grouped by key will work as well.

Like you said, there are problems that this doesn't work for. But for the problems it does work for, it's very computationally efficient and fun.
> Occupy will be dead as soon as jobs kick back up or whenever the government actually puts up a fight to these camp-outs. I don't think anyone needs another social network; a forum perhaps, but Facebook/Twitter works just as well for organizing Occupy crap.

As the articles state, the Occupy movement is making another social network because Facebook and Twitter don't work nearly efficient enough for "organizing Occupy crap". Nor have any major government attacks on Occupy Boston (for example) managed to stop the movement.
> these are all critiques you could have leveled with equal force in 2002

Netflix streaming wasn't around in 2002. This (and similar services) is the biggest factor in theaters losing market share.
The quickest way to get from point A to point B, in this case, is the SICP video lectures: http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussma...

If you can spare two hours a day for two weeks (or the equivalent) you're golden.
So, sci-fi/horror/dinosaur themed jokes are no longer appropriate for HN?
> I just don't think any of the authors have really worked with a 3D printer hands on.

There's another problem - the authors of such articles don't understand "real manufacturing". Even when they do work with a 3D printer, they don't understand the gap between what it does and what's "real manufacturing" requires.
I learned Ruby. I've used Grails a lot on the past but it's to heavy for my new projects. I decided to take a look at Sinatra and found out that Rails was actually the perfect fits for my needs. I also learned Sass and Coffeescript.
Good point, Webforms is more prevalent since they have been around for years and are entrenched as legacy in a lot of places. But MVC is making inroads, I've been using it at my job since version 1. Some of it may also come down to recruiters not including MVC yet in their "grocery list" of requirement buzzwords when staffing a position.

The OP might have more luck getting in with a consulting firm if possible since the variety of projects could lead to greater chances of working with MVC and more current .NET tech.
I am heading off to Cape Town in the new year for 3 months with two objectives:

Improve my coding
Improve my kiting

I will definitely go through those and let you know how it goes. Thank you!
It seems that at any given time about 1/3 of my local theater's screens are 3D. Also non-3D movies have broken the $10 mark, which I think is a fairly important psychological barrier.
Maybe webOS will have its chance to play the same role. Android is getting hit hard by the patent wars. webOS is soon to be open, has a strong community of tinkerers already, and to develop for it all you need to know are HTML/CSS/JS - much like developing for the mobile web. If HP plays their cards right, and Android as a platform is enervated enough by the companies that have an interest in it muddling it up with suits and countersuits, perhaps webOS will get its chance to shine.
Basic Steps For Applying Small Business Loan
A (possibly) cleaner way would be to use Boost.asio. I haven't yet evaluated the POSIX Signal handing part of Boost.asio, but I'm hopeful that it will be useful for my purposes.
Hollywood Wants To Punish GoDaddy For Enabling Infringement
New rsync-based dropbox alternative for Windows
I found that Chrome has a pretty nifty thing called "Webkit notification" that persists across all tabs. Maybe it's something I can try experimenting with just for this purpose.
Here in the UK, my mobile phone bill is £3.33/month and I get 500MB of data with that.

EDIT: I do this by using T-Mobile PAYG and buying their 6 month Internet booster for £20, twice a year. I've managed to convince all my regular contacts to use Kik Messenger instead of SMS, so I don't have to pay for SMS. I very rarely make phone calls, but I have VOIP with localphone.com when I have to.
Building A Startup That Can Punch Above Its Weight--And Win
Japanese Govt. to start Point System for Foreigners
Free Automatic Domain Registrar Transfer Service
I like that some independent films are beginning to branch out in their strategy. For example, one of the best films of the year -- Margin Call -- was released on a variety of streaming services the same day it was available in theaters.

Sometimes I like watching a movie at home, other times I'm looking for a chance to go out. Dates will probably always involve movie theaters for my girlfriend and myself -- even if I have a very nice home setup.

That being said, I think the film industry is in for secular decline due to the compound effects of high quality home theaters with streaming content, some piracy, unrealistically high ticket prices ($32 for two tickets?!) and high quality television production.

I do think the most significant threat is high quality television productions though. Downton Abbey, Mad Men, and many other cable dramas are produced with extremely high artistry both in production and story values. Several times I have found that rewatching these TV series on Netflix has been far more rewarding than the latest 90 minute theater affair.
This is quite a time saver and works well most of the time. However, I get this message for a few sites
"Honeybadger could not retrieve any data about this site or he simply doesn't care."

e.g. sites,
http://www.westelm.com/
http://www.bedbathandbeyond.com/
> These are not covered as part of the PCI compliance requirements, as they're not compliance related - there's no way to effectively prove you have mitigated an "unknown unknown" (to quote Mr. Rumsfeld).

PCI's reasoning behind requirements to prevent cross-site-scripting and similar attacks aren't really "unknown unknowns".
In addition to ridiculous ticket prices, the actual movie doesn't start until 15 minutes after the scheduled showtime. While you're waiting, you're expected to watch advertisements. I don't have any concrete data to back this up, but I feel it wasn't always this bad.
>You can talk up your favorite team, principle or country without a point by point attack on your rivals.

I think that applies more to Gruber and Siegler than anyone else, as their attacks on all things Google and Android have only become more vicious as Android's marketshare started taking off.
Tech Year in Review: Mega Tech Brands Raise Megabucks
> I am genuinely curious what you gleamed from your reading that made you atheist

On it's own it didn't, but there was enough in there that a) I didn't agree with, b) didn't engage me on a spiritual level and c) that was just downright weird that I knew this wasn't the holy book that I should be looking to for guidance.

Reading it alone got me to 'looking for an alternative' but not quite the atheist I am now (or more specifically secular humanist).

If you'd like to discuss this more via email feel free to drop me a line at ali dot najaf at gmail dot com.
I'm the lead developer and we're currently recruiting beta testers. If you're interested, write to the email address in my profile.
I think this is where they state that in the article.

"Please note that unlocking your bootloader does not mean that you will be able to unlock the SIM lock. Unlocking your SIM lock is at the discretion of your operator/carrier and is not part of the bootloader unlocking scope."

Is what they call SIM lock the same as S-OFF/S-ON? I always heard it called 'Security-ON/OFF'.

With S-ON you can still get temp root access (until you reboot) but can not run different ROMs as it prevents access to memory locations that need to be edited to do that.

To get S-OFF on my Evo Shift(Sprint), I had to downgrade it from Android 2.3 and use an old hack specifically because it was the only publicly known way to get S-OFF. There may be better way out now.

Unlocking the bootloader was easy. I could do that with temp root on 2.3. Getting S-OFF was the tricky part for me.
I work at Stripe.

In examples like this, is the web page containing the payment form within PCI scope?

PCI is often misunderstood, and mostly orthogonal to security itself. Overall security, and things like embedded third-party code, are obviously very important -- you can cripple your security pretty easily no matter what payment system you use if you end up having malicious JavaScript on your page -- but most of these security questions are not PCI issues. Ultimately, PCI simply tries to prevent the most common mistakes that people make when storing and transmitting card numbers.

With stripe.js, cardholder information is submitted directly to Stripe -- it never touches your server. If you use stripe.js and serve the associated form over SSL, Stripe handles PCI compliance for you -- you don't have to do anything else.

If you don't use stripe.js, and have card details traverse your server, then you're within the scope of PCI, and will probably have to fill out a PCI "self-assessment questionnaire".

The no-JavaScript point is a good one. We recommend (see https://stripe.com/docs/tutorials/forms) that you omit the "name" attribute on form elements in order to prevent them from being included if the form is submitted.
Monsanto as a company makes me sick. Their treatment of farmers that choose not to use their seeds is an abomination. It's like me getting sued for software piracy b/c the guy sitting next to me is using pirated software and the wind is blowing in my direction. #reform-patent-laws-please
Rethinking The Book
Will Intel start rolling out Thunderbolt more widely in 2012?
Arch occupies the sweet spot between Gentoo and Ubuntu, favoring the Gentoo side I think. (I'm a long-time Gentoo user though a few friends love Arch.) You skipped the rest of the quote: ". . . , save for Gentoo." (And there is a number of OSes less user-friendly than Gentoo.) The reason for Arch's "unfriendliness" here is that it has a wiki at all--people don't want to read. (Somewhat related, this has also seemed to result in a decline in toy quality since people don't want to put stuff together...)
Don't forget Amazon and iTunes rental streaming. Since I've gotten my appletv 2 I have found that waiting for it to stream on iTunes has replaced netflix and most of my theater trips.

Its nice to be able to pause and go to the bathroom at home. Do I miss some of the movie theater experience? Yeah, but not having kids kicking my seat, or people talking during the movie/etc... basically makes me not care about the plight of pre streaming movie distribution.
I don't think movie houses have been friendly to anyone above the age of 30 for quite a few years so I'm not sure that chasing that demographic will help the industry. In fact if anything they really need to figure out how to make Gen Y and their younger peers feel more at home by embracing their technology (free wifi, offer the ability to download the film when done watching, encourage opening night parties, etc.). I also think that biggest opportunity for theaters isn't films but being a place to see streaming of live events like concerts and plays (and that will attract an older audience).
I agree, but that's not Ebert's critique.
I'd add two more:

1. Kids get bored quicker, This year, I've left the cinema four times before the movie finished because the kids were bored. This makes me less likely to go back, they prefer to stay home on the xbox/lappy or go out for pizza/bowling instead.

2. Mass appeal movies are shit. There's just no quality or focus anymore, every movie is trying to be everything to everyone and ends up crap.

Don't get me started on the overuse of CG.

Instead of learning from filmmakers, the CG guys picked up tips from animators, that's why every CG creature walks and talks the same, with over emphasised, unrealistic, and ridiculous movement patterns that don't fool anyone and ruin the moment. You know why Jurassic Park is still awesome? and ghostbusters, and all those other heavy animation movies? Because they don't look obviously fake.
Shoplifters of the Media-world Unite
There is this line as well:

"We continue to work on models launched prior to September 2011, please check back often for the status of older devices."

My guess is the newest devices have an updated bootloader that they CAN unlock easily. I am betting they may even be stymied by the security they put in place on older devices. This series of events makes sense to me:

Spring 2011 - announce we're going to allow unlocking

Summer 2011 - update bootloader to be easily unlockable

Sept 2011 - start releasing updated loader on devices

Dec 2011 - final certification that this is all going to work OK and release to the public

2012 - figure out how to get around our own security on older devices
Or it's just a fishy tactic to increase the number of deniable warranty claims by making "unlocking" officially available to non-technical users.
No, they were texting like mad on their little Nokia dumbphone displays. Also, LASER POINTERS.
Unfortunately compete.com has a 1,000 reqs/day allowance ... so expect to see a lot of "Honeybadger don't care" message. I'm going to try to see how much the api costs and see if I can get the quota removed.
Water Treatment Exporters
Typical water has always been an important and life-sustaining source to human beings and is important to the achievement of all bacteria’s. The purpose water treatment process development is to wipe out established germs in water, or reduce the disorder so water becomes fit for its preferred end-use involved use as water, enterprise methods, medical and many other uses. One normal use is arriving water that has been used again into the encompassing without unwanted eco-friendly affect.
I personally find "not in" to be a bit more readable. If I say:

if not x in y:
...

Do I mean:

if (not x) in y:
...

Or:

if not (x in y):
...

Same with "is not".
Bob Parsons’ SOPA-Box (Comic)
Verizon’s New Year’s vow: Cut back on credit cards
One of my favorite bits from Vernor Vinge's _A Fire Upon the Deep_ -

>>> WARNING! The site identifying itself as Arbitration Arts is now controlled by the Straumli Perversion. The Arts' recent advertisement of communications services is a deadly trick. In fact we have good evidence that the Perversion used sapient Net packets to invade and disable the Arts' defenses. Large portions of the Arts now appear to be under direct control of the Straumli Power...

"Sapient net packets" seem like a really, really bad idea . . .
> I'd been given to understand Finland is generally regarded as one of the better education systems in the world.

Of course Finland (and most Northern European countries) has another advantage - they're teaching Finns.

Pretty much anything you do in those monocultures "works". So, their success with any program tells us nothing about how the same program will work in a cultures where things do fail, let alone diverse environments.
> App Store policies restrict what I can put on my own device. I do care about that.

IMHO I think that's a wrong affirmation. They restrict what developer can sell through their platform. Big different. You could then complain about not allowing not approved apps on the device, but it would be like saying that Playstation or Xbox limit your freedom by not allowing Super Mario Kart run on their consoles.
> 2012 - figure out how to get around our own security via OTA update on older devices.

??? - Convince carriers to actually take that update
I'd keep an int flag, initialized to zero.

If you do, your code is buggy: sig_atomic_t is the only type you can safely use inside and outside a signal handler.
I meant actually give code for the exploit.
You want to be truly cross-platform? There's exactly one way to do this:

Open-source your game. If there is demand on a platform, it will be ported.
It is one of the best futuristic statements about Android and I certainly agree and I am seeing that happen in Second and Third world.
I still go to the movies. It's still a great excuse to turn your phone off for an hour or two, tell your friends to shut up and sit still for an hour or two, crank the volume all the way up for an hour or two, and have animated discussions about the thing you just watched with people who also just watched it and paid attention to the whole damn thing.
The Ti West Open Letter: What Does An Indie Success Story Looks Like?
They have to say that, in the event some idiot screws with their radio and actually does fry their brain out.
Boycotts against the other companies have been discussed. It was explained to me as wanting to make an example. Rather than spreading a boycott out over 149 companies, they wanted to pick one or two and dog-pile on them, so that the effects are more visible.
My comment wasn't intended to be snarky. I do not begrudge Microsoft their success. Rather, I wanted to point out that Android's success, much like Microsoft's in the 90s, is due to it being a commodity OS during a period of rapidly decreasing commodity hardware costs. "Open" really has little to nothing to do with it.
I agree. It's the best book ever. Also see The Seasoned Schemer and The Reasoned Schemer.

Similarly there is "A Little Java, A Few Patterns", that one teaches Java, and is written by the same authors.

I was so excited about these books that I started writing "The Little C", it's gonna teach C the same way schemer books teach lisp!

PS. I always give proper attribution. You missed "My derivation is based on the one in "The Little Schemer" book."

PPS. The Little Schemer explains very little about what's going on. I explain all the steps in details.

PPPS. Books are meant to be quoted, re-interpreted, and re-stated.
> Monsanto's claim in that case was that they had informed him the previous year that part of his field was contaminated, and he responded by intentionally planting seeds from the crops they had told him were Roundup Ready.

Why shouldn't he?
The Unix Windows analogy was the first thing I thought of when i read that quote. also, the author's definition of revolutionary seems to oscillate between impact on the world and the impact on the industry.
> These days, if the UN decided to take such a step, they could give 10 years advance notice, and on the decided day everyone would just flick the switch.

The UN doesn't have that authority, either politically or morally.
http://en.wikipedia.org/wiki/Durban_Review_Conference
To you, perhaps. But not to the old lady who just got a Kindle for Christmas. Or to the soccer mom who bought her kid a nook thinking she would never have to buy books for it because you could get everything at the library. Those people are upset and ultimately it's the library they are upset with because that's where they expected the service. Publishers are ephemeral, they are big companies most people don't have direct contact with. The library is a building that you can vote against next time there's a referendum for a new building or tax levy hike.
I actually find it very difficult to watch Jurassic Park these days. The CG has not aged well at all. With Ghostbusters, the effects look terrible in a few scenes (the claymation dogs spring to mind), but it's not so jarring in the context of a comedy.
As Web sites come and go, so too could the information you entrust them with
JSL - Javascript loader for Website Optimize
Can someone explain to me the difference between a MVP and a a cool side/personal project?

Jaequerry, I'm going to install it and check it out. The extension looks cool. It solves a pain for me, but not one I would go to the trouble of paying for (sorry). I'm genuinely confused as to what the difference is between all the free non revenue generating chrome extensions made out of love and one made by an HNer that are labeled as potential products (which implies revenue generating to me). Which category are you gearing this toward?

Is your desire to monetize this? If so how? I feel kinda harsh, but there have been a few Show HN MVP posts lately that have been confusing me regarding the line between potential revenue generating products and nifty side projects.

Note: I failed at a project hard this month after pouring 8 months of my life into it... I am probably having one of those days.
At least those weren't as bright! :-)
Churches Bring Custom Apps to Their Flocks
Some good reasons, especially regarding competition with other forms of entertainment, which is one of the bigger factors IMO. But I can't believe he didn't say anything about sequels. The top 7 grossing movies of this year were all sequels (http://boxofficemojo.com/yearly/chart/?yr=2011&p=.htm)

On the one hand, this suggests that sequels are successful. On the other hand, the total revenue of those sequels was much lower than other top films of comparable prior years (just change the year in the URL and do some custom math), and if you account for ticket price inflation it's even worse. I think this points to studios not wanting to take on as much risk; sequels (and the proliferation of remakes... another Superman series already? really?) are low-risk because there's already some sort of existing awareness/fanbase to tap into... but I think they are also proving to be lower reward as people get burned out and don't care about going to see these sequels/remakes because the other reasons (prices, experience, etc) outweigh existing possible interest.
Review: ’The Zen of Steve Jobs' graphic novel
A look ahead: 2012 is Microsoft’s turning point
Thanks rve. For those sites you mentioned, Honeybadger actually cares a lot, but the honeybadger only knows how to pull in data from the crunchbase/compete.com at the moment. It's just an mvp at this stage but expect to see some more as time progresses.
For the author revolutionary seems to mean "reaches the most people". My definition is closer to "radically new or innovative".

The iPhone drastically redefined the smartphone market including the competitors that followed it. Hard for me to swallow that its effect on the world has been negligible.
This. This was the only thing in that article that I felt was wrong.

Credit where credit is due. Steve showed us what was capable with a smartphone. iPhone would be remembered for that, just that.
Stanford archives offer look into Apple history