skysight-inc/HackerNews huggingface dataset:
Here are some ideas for your two problems.

First, the problem is sorting. One very efficient algorithm is to utilize a parallel sampling sort algorithm. The idea is to start off P processes and sampling randomly to obtain P-1 splitting elements. Then the Array of P-1 splitters are distributed to each of the P processes and input data is now sent around so each processor has its batch of data. Next, each process sorts its own batch. It turns out to be pretty fast in practice to run this kind of operation and it may be fast enough.

Note the distinct advantage of message passing here: It works, even if a process is running on another physical machine - shared memory doesn't. Also note that Erlang is not really built for parallel computation, and your example is one. My guess is that you can achieve a pretty good speedup with a sampling sort variant on multiple cores.

As for your flight seat problem, it really isn't. Keep the state of a plane in a process. That is have a single process assigning seats in the plane. On very large planes you may have 500-1000 seats. Hardly something which will dwarf a single process. Chances are, however, that you may want to assign seats to multiple planes at the same time. In that case you get your concurrency and a possible speedup.

As for getting linear speedup in Erlang systems:

First, your problem must expose the necessary amount of work. That is, there must always be something to do for an idle processor. In Erlang, this is easy to achieve if there are multiple agents interacting with the system at the same time, or you can create it yourself by spawning off some processes for each incoming job.

Second, your program must avoid contention around a single process. That is, you must ensure processors are not all looking for the same resource. We have tools like percept, the lock counter and dtrace for that.

An Erlang process works very much like transactional memory if written correctly. But TM has the same problem: contend around a resource and you are in trouble. It might be that the breaking point for contention is different due to different characteristics in overhead, but in principle the contention problem is also there.

Finally, there is a "cheating" possibility. Erlang provides ETS which is a tuple space for erlang terms. It allows parallel read and write access outside the process context. And very fast such RW access. For certain problems it can be used to allow multiple processes read access to the same data which can in turn speed their work up considerably.

But ETS is not distributed, oh the horror! Enter mnesia, which distributes ETS over multiple machines and optionally provides persistence. Mnesia is really a memcached/redis distributed in memory key/value store with DB-like query properties. Limited - but oh so powerful for certain problems.
This is certainly not the case for London 2012. I was at the athletics on Friday evening, the park is rammed. There were a couple of touts on the walk from the stadium but only offering to purchase tickets rather than selling them. No tickets available at the box office.
You bet your bottom dollar it can. Have you ever seen activity on the CME when the non farm payroll numbers are published? Five minutes might as well be all week.
Build it Bigger on the science / discovery channel had an episode about how they build the subways in NY. It was a cool episode. http://science.discovery.com/videos/build-it-bigger-season5-...
As long as you have a recovery USB, you'll be fine.
If Peas Can Talk Should We Eat Them? Research Shows Plants Talk To Each Other
CSS preprocessors and object-oriented CSS [tutorial]
Quick Tip: How to save directly to Sky Drive from office 2013.
Scientists Confirm that Plants Talk and Listen To Each Other
Intermittent fasting works for me: http://chester.id.au/2012/04/17/my-diet/

I love food. I love everything about it. I love the smell of it, the sight of it, the way steam rises of freshly cooked food. I love mixing it up. I love the act of chewing, the taste, the way it feels in my mouth. The act of swallowing is great and the sensation of fullness is sensational.

So it should come as no surprise that for me, at least, weight control through portion control has been an absolute failure.

What has worked for me is skipping meals altogether. If I don't start eating at a given meal time I don't have to stop.

These days I skip breakfast, have a simple meal-replacement of my own recipe at lunch, train in the afternoon and eat whatever I feel like at dinner. So far I am 24kg (~53lb) down from my peak weight and the trendline is still pointing down.

(I wrote about that, too: http://chester.id.au/2012/05/26/fat-and-simple/ -- it caused one hell of a ruckus)

But do you know why? It isn't the schedule that really matters. It's that I imposed a caloric deficit in a way that I personally am I able to sustain. For others it might be low-carb or eating every 4 hours or being a vegetarian. Whatever. At the end of the forcing function of weight control is how much you ate.

Once I reach a weight I'm happy with I'll probably just eat an ordinary lunch more often.
Adafruit releases educational Linux distro for Rasperry Pi
Maybe this is a great reason to stick with Google's cloud services.
I once had to reset the password of my stock trading account.

All they needed for verification was my home address.

I am also pretty leery of putting anything online.
I think wt is much better suited than a rails clone for the few kind of webapps you'd write in C++.
http://www.webtoolkit.eu/wt/

You can think of using it as a multiplatform GUI for a native app, that runs locally but uses the web browser instead of something like Qt or WxWidgets. Or you can use it for a webapp that pegs the CPU more than a database.

There's also a port to the JVM and ruby bindings.
If the Apple-chosen security questions are reasonably guessable, that's still Apple's fault.
That quote is a great piece of PR. The number one reason quoted from that Symantec report was: "Microsoft Windows SMB Remote Code Execution". It also didn't have anything to do with what makes Macs crash, it was a report on vulnerability per plat, it mentioned flash in cross site exploits, not flash by itself. But to this day and for a long time the music keeps playing.

Here is a good analysis of that text that explains a lot on how that statement is great PR but nothing more:
http://truegryc.blogspot.pt/2010/05/response-to-thoughts-on-...
Any tech savy person knows that has a strong possibility of being a password. Grab an ID, google "your name gmail", log in.

The kind of weak encrypting scheme you can remember is easily defeatable, this is still very vulnerable even if you leave one or two letters off (which you'll have to remember in addition to the scheme). So, going back to the parent, no, this isn't safer than a password in your head.
You could just drag the images right to your desktop.
Most of what the rocket has to increase to take an object from the earth's surface to LEO. If you calculate the potential energy of a rocket in LEO and compare it to its kinetic energy, you'll find the latter is much larger. (I've already done this and posted it here.)
Hackathons – Giving Birth to Awesome Apps and Startups
My Apple ID episode from 2008
SiliconAngle: What You Should Know About Google Bots and SEO
It's kind of impressive that any modern browser will still accept and render these pages perfectly fine...
You don't need to link it to any particular service. There is a 99% chance the person has a gmail/facebook/twitter/live account.
Are they saying Apple sent the password reset request to a different backup email entirely? Or that they reset the password to a requested password while one the phone?

Even if someone had properly identified themselves as Mat Honan, neither of these should be permitted.
One problem i see with spacex is their propulsive landing feature. What if things go wrong at that point, like a software or a sensor problem causing it to descend at a speed too high/not realizing it approaches the surface/just hovering and expending the propelland quickly? If landing on land, they don't have any backup, and astronauts are doomed, falling from even very low altitude (30-50ft) will be fatal.
Yes. Your local store will be equally forthcoming with its cctv tape and employees' memories. That is a consequence of living under the rule of law. The people have continuously elected Congresses and Presidents who believe the government should have the power to obtain private information, and like it or not, they've made that legally enforceable.

I don't get to commit murder even if I feel it's justified; Amazon doesn't get to refuse to comply with a court order even if it feels it's unjustified. Nobody, individual or corporation, is going to sacrifice their well being or sit in jail indefinitely for contempt of court to protect the privacy of your purchase history.

The only people who really pull that stunt are journalists.
This _could_ be a lesson in not trusting cloud services where issues can be resolved by human intermediaries. Sounds a bit counter-intuitive but to me a bit more reassuring. But I could be wrong.
SocketBlog - learn to build a fast single page web app with node/mongo/socket.io
3/10 includes a lot of older missions and non-us missions. The US has quite a good track record for Mars missions. As time goes on we get better and better.

More info here: http://www.reddit.com/r/science/comments/xnoog/30_success_ra...
I hope he sues Apple too. Not because I want any harm to come to Apple, but because I want Apple to have a significant financial incentive to push authorities to track down the villain.
Mat posted a screenshot of his Gmail inbox which showed an email about Apple's password reset. So I'm guessing the hackers had compromised Gmail account BEFORE they called up Apple tech support. Or maybe that email was just an attempt and didn't help anyway with the actual password retrieval. I'm confused about this...
The problem with git isn't following a tutorial, the problems I have had are nasty corner cases. I have to keep looking up strange a-symmetries, like why does 'git push' push just the current branch, and 'git pull' pull all branches? Then I have to look up how to make 'git pull' pull just the current branch.

Also, due to inconsistencies in how commands take branches, I sometimes realise I have a branch called 'origin/stuff', when I meant to do something with stuff on origin. It's also hard to find which branches are tracking what. Of course, you can find the options to do all these things. But there are just so many little things to learnt.

The fundamental question is, does the complexity of git come from the power it offers over svn, or does it come from the most terrible UI I think I have ever seen on a command line tool? I think it is the second.

I still use git every day, but I think it is putting usability by less computer-savvy users back years.
Along a similar line, I'd love it if I could run an IPython Notebook instance in a packaged app for either Firefox or Chrome. There's a lot of little annoyances to using the notebook interface in my main browser, like having my notebook tabs mixed in with my general browsing tabs, not having a separate entry in my Alt-Tab list, etc. Using something like Prism and its modern descendants would help make IPython that much better, IMHO.
GitHub is more popular for code management of underpinnings (think jquerry, twitter backend stuff, etc) but SourceForge is far more popular for actual apps. Nearly all the most popular GitHub projects, if you click downloads, you're met with "There aren't any downloads yet. But don't worry! You can download the source code as a zip or tarball above." SourceForge, on the other hand, is all about apps, usually cross-platform, that users can download and use (VLC, Pidgin, GIMP-Windows+Mac, OpenOffice, Inkscape, KeePass, etc). So, I think GitHub is more popular with coders, but SourceForge is far more popular with users and app makers.
ADF is the unknown secret to solving many modern ills ... or so I think. :)

I've had many conversations with three doctors about it and my thought is our bodies haven't caught up evolutionary wise to eating each and every day.

I have no proof outside of personal results, which I understand doesn't make it a reality. I could be a freak. lol

They key is not eating at all for a full 24 hours including your sleep cycle and then to only eat a normal meal on the days you eat.
Perhaps what they need here is an optional 24-hour password reset delay. A user could only adjust this setting when properly logged in. Even if Apple gets social engineered, the user has 24 hours to notice the difference.

Although it's extremely inconvenient to wait 1 full day to get back in, forgetting a password should be a rare circumstance .
The fact that this happens doesn't have to do with any particular brand. Every company, Google included, is susceptible to this kind of social engineering attacks. Nothing is 100% safe. You can take every precaution possible and there will always be a weak link in the chain.

Apple will double down in security now, especially regarding iCloud, but even doing so there is a chance that this will happen again. Same for Microsoft, Sony and, yes, Google.

There's no magic solution other than being careful. And even with that security is always an illusion. Your door lock is easily opened, no matter how much money you put in it, the only thing preventing you from being robbed is that are more houses in your neighbourhood and that some of those could seem like an easier target.
I had no idea you could drag a file from the download bar. I usually click on the arrow & "Show in finder". Thanks. Definitely a time-saver.
The article is not very clear behind the science of intermittent fasting - for those who are interested, do definitely read Alan Aragon's article [1] as well as /r/advancedfitness.

My personal view is that meal frequency is irrelevant for body biochemistry. What is happening is CNS (central nervous sytem) Adaptation - you are, for the first time, truly understanding how really hungry you are. Your body begins to understand that it does NOT need to eat breakfast, or eat something every 4 hours or eat a dozen nachos as an evening snack. When this happens, you automatically balance out on calories in vs calories out and you start losing weight.

I think this is a workaround for a bug in our brain - it makes pessimistic predictions for food availability and hunger responses.

[1] http://www.alanaragon.com/an-objective-look-at-intermittent-...
That's exactly the problem, i.e. those people who endlessly promoting git so that they can be seen as elite developer. Their favorite past time is to share their "get it" stories with the rest of the world.

Not unlike the "Are You There God? It's Me, Jesus" episode of South Park.
I can't count the number of times I've googled for simple commands like "how do I revert an uncommited file to its original state"?

hg revert bla.txt
git ???

... and I would still have to google for it (it's something with HEAD iirc). Its usability is atrociously bad and I don't want to spend time learning some badly designed cli interface when I can focus on more important things and use tools that make my life easier, not harder.
Cara Mengobati Jantung Koroner
Khasiat yang terkandung dalam obat herbal ace maxs.

Cara Mengobati Jantung Koroner,- Obat jantung koroner alami Ace maxs merupakan Pengobatan herbal Jantung Koroner yang terbukti ampuh dan efektif mengobati penyakit jantung koroner. Ace maxs diformulasikan sebagai minuman yang multikhasiat juga sebagai pengobatan herbal jantung koroner. Selain menjadi pengobatan herbal jantung koroner, dengan kandungan yang multikhasiat di dalamnya Ace maxs mampu menjadi obat herbal yang dapat menjadi alternatif pengobatan berbagai penyakit degeneratif.

Obat ace maxs terbuat dari daun sirsak dan kulit manggis yang kita semua tau bahwa daun sirsak dan kulit manggis menjadi obat tradisional yang mempunyai khasiat ampuh untuk pengobatan semua jenis penyakit. Untuk itu Ace maxs merupakan pilihan tepat dan kesempurnaan dari obat jantung koroner herbal yang terbuat dari 100% bahan alami.

Daun sirsak yang terkandung dalam obat herbal jantung koroner ace maxs mempunyai kandungan antioksidan yang berfungsi sebagai penangkal radikal bebas, membersihkan darah dari racun yang menyebabkan penyempitan darah dan menjadi pemicu penyakit jantung koroner. Daun sirsak juga memiliki zat acetigenins yang mampu melumpuhkan sel kanker 10.000kali lebih kuat dibanding kemotherapi. Sedangkan Zat Xanthone dalam kulit buah manggis yang mana dapat membunuh penyakit dan memperbaiki sel yang telah rusak serta melindungi sel-sel di dalam tubuh. Di dalam kulit manggis terdapat daya antioksidan luar biasa yang mampu menangkal radikal bebas. Radikal bebas ini masuk melalui makanan yang dikonsumsi dan menjadi penyebab utama penyakit jantung, stroke, kanker dan lain-lain. Maka dari itulah daun sirsak dan kulit manggis menjadi kombinasi yang sempurna yang terkandung dalam Obat Ace maxs dengan Cara Mengobati Jantung Koroner.
Nice project! I'm currently looking to build a quick website/cms based on Wordpress + woocommerce. I'll look into Mezzanine / cartridge too.

The one thing that looks "hard" for me ( I'am a noob ) after skimming the documentation is the payment gateway integration.
Thank you for this! Ruby syntax on top of the erlang VM - I wonder why this is not more popular.
Except, that isn't enough.

What do I do if a merge fails? How do I abandon the merge (git certainly doesn't help you, it just keep complaning that there is an unresolved merge).

Why do I get 'git push' telling me there is nothing to push, but 'git pull' telling me I have branches with resolved merges (because git push pushes only one branch, and git pull pull everything).

Those are just two things I've seen beginners hit recently.
got a citation?
If I got veeti's joke then I think what he was trying to say was that it's nearly impossible to get Google on the phone unless you're a corporate customer. If I didn't get his joke then I'm making it now. joke
Those New Mac Ads - Why We Hate Them
Actually, it appears to me that almost 100% of “security questions” used during support phone calls are completely insecure.

Usually they'll ask a few (2~3 is normal) questions like your full name, date of birth, address with zipcode, email address, etc. Notice the problem of these? All of them, I mean, ALL, are PUBLIC INFORMATION THAT ANYONE KNOWS SOMETHING ABOUT YOU WILL HAVE.

This is almost as silly as credit cards, where you are supposed to give the card number, card holder's name (not required most of the time), expire date, and the 3-digit PIN. Anyone who touches your card will have that information, once and forever. Yes, ANYONE, that includes your grocery store cashiers, your favorite bar tenders, your mobile phone billing representatives, etc. The list could go on very, very long.

And I'm totally amazed that both systems persist as a fallback plan in this digital world with countless attacking vectors.
In my country police put out unlocked "bait bikes", walk away, and then arrest anyone who takes it. Then they show the footage on the news. Sometimes the plain clothes police officer hasn't even left the camera frame and someone is already on the bike riding off. If they'll spend resources doing that (which I think is good) then they should spend resources catching someone that maliciously destroyed a year's worth of laptop data. If he was a developer and his code was on that laptop, at $150 per hour, 8 hours a day, 5 days a week, for 52 weeks the financial cost is much more than a bike. Sure the victim should have a backup, but an eggshell skull is no defense.
I used to have that i couple times in my life. Related to SEO and online betting. But those holes are usually closed in 1-2 years. It's not a startup, not even a lifestyle business, just a sort of an intellectual game.
epistasis called manual management of huge pages a "royal pain in the ass", which is why I suggested trying transparent huge pages since they are easier to work with (i.e. no code change).

I would be interested in seeing some benchmarks that shows the affect of using huge pages of different sizes with hash tables or other data structures.

Here is a memory bandwidth benchmark that uses huge pages (only uses the default size which is 2Mbyte on my system):
http://blogs.utexas.edu/jdm4372/2010/11/11/optimizing-amd-op...

It only sums the values from 32 million doubles (about 256Mbytes of ram). So it is only useful as a memory read speed benchmark. But is does show a lot of different ways to optimize memory bandwidth (prefetch, large pages, sse).
Erlang is not about parallelism, it's about fault tolerance. It's about "making reliable distributed systems in the presence of software errors" (as Armstrong's thesis is titled).

How will your STM example behave if the computer managing the transactions suddenly has a massive hardware failure?
Clojure is a toddler compared to Erlang w.r.t age. Clojure started around 2007 or so, admittedly on a Lisp basis with Rich Hickey as the designer (which is to its benefit!)

Erlang has been in production since the mid 90'es in real systems. For what it solves, it solves it really well.
Oracle: why 9 lines of rangeCheck code is copyright infringement
I would wager this depends a lot on the type of activity you're doing.

Sometimes after a really hard boxing practice I can be so hungry that I physically can't eat any more food, but I'm still hungry. And no, it isn't just a bug in the brain, the calorie tracker also agrees that I haven't eaten enough.
Apparently not great stability :)
Whoa, wait, what? What occured was a simple confidence hack, not some industrial spy escapade.

Anyway, to answer your initial point, two factor authentication helps with this problem, as you have to still have the security token to authenticate. And if the "Something you have" gets stolen, then you need a manager to work through it to get you set up again, and all resets are heavily monitored and audited.
Creepy. Well, this book by Kevin Mitnick is still very relevant I guess: http://www.amazon.com/The-Art-Deception-Controlling-Security...
I agree. If it's a random attack, then the probability is relatively low to get attacked. But if you're targeted, quite frankly it's probably very easy to attack you, either virtually or physically.

One thing I do know, though, is that like you said, security is likely going to get tightened across the board, and that means that it's going to get a lot more inconvenient for all of us. I guess that's a good thing, but it will definitely impact the usability of these services.

If it means that all vendors will tie their services to a two-factor authentication scheme linked to our phone, well that might just stop me from using the services altogether.
Everybody should read the account of an opposite situation with Apple tech support and password retrieval: http://www.pcworld.com/businesscenter/article/260414/how_did...
>The thing about TED is, wild-eyed though it may be, it's not a political agenda.

Actually it very very much reeks of political agenda from miles away.

There are few things more political (in that they have very specific political consequences) than denouncing politics and trying to present yourself or your activities as apolitical.

Presenting technology as beyond or above politics is even worse.

>If you are used to seeing life through a political lens (as we might hazard the New Republic does) then TED looks like an agenda by a different name.

Politics is the ideas behind our actions: what we want our actions to achieve and how we want to shape the future.

So you cannot escape politics, it's not merely "seeing things through a political lens". Things are inherently political.

It would be like saying we should not see things through a "reality lens". Reality is inescapable.