skysight-inc/HackerNews huggingface dataset:
It's fascinating that you can find your iPhone using a Web site, but we're having such a hard time finding a plane (with lots of people with smartphones in their pockets turned off, or not).

EDIT: just to clarify -- I'm thinking of how tracking the precise location of a plane at all times is a problem that it seems like we should have a handle on by now, although not necessarily using cell phone technology. (I wasn't thinking clearly about the cell phone signals in this context, though, as people have been correct to point out.)
Curious what the purpose of the visual verification code is. I don't see any obvious reason this is necessary.
Nice, thanks for the hint.
$ tail ~/.bash_history
open http://news.ycombinator.com
pip install term2048
term2048
term2048
term2048
term2048
term2048
term2048
term2048
pip uninstall term2048

Do you see what you've done?
No, you obviously have console access, all you need is the ansible scripts and ansible. If you want to push from a central repository, then yes, you'd have to have a way for ansible to reach the box. But we're taking as a given that there's a way to run commands on the box here (and get script files via the network).

There's a difference if you want to run the scripts automatically on install (non-interactively).
Stored Hashcash
>then the perpetrators screwed up somehow which is why no one now wants to take credit for the affair

There is no hard evidence for it, but a suicidal pilot who wanted to make sure his insurance paid out would also explain this. Suicidal and psychopathic.

It's horrific, but it has happened twice before.
Agreed. Yahoo actually tried that for a while, but I believe they stopped using it for that very reasons: people don't notice.

http://security.yahoo.com/sign-seal-000000996.html
A modern day Earhart. I wonder if this incident will be the result of unintended blowback from making the cockpit too secure. Can we trust pilots? Should we be able to over-ride the controls of a plane mid-flight? EgyptAir Flight 990? All 9/11 flights? Ethiopian Airlines flight ET-702?
Agreed. Just throwing in some concentration camps and gas chambers in a tower defense game would be unneeded and tasteless. However an realistic game where you had to escape from a concentration camp or aid escapees that employed a lot of stealth(Thief) elements with realistic/gritty world (DayZ comes to mind but without Zombies) and the sequences could be based on some of the true life stories.
How do you track a plane?
When's the last time anyone found their iPhone when it fell into the ocean, hundreds of miles from land?
what I'd love to see is something like node-webkit, a thin layer browser client, but utilizing Mozilla under the hood.

I mean if Unreal Engine 4 runs on it, why aren't we using it to drive all software?
It's fascinating, but it leads one toward the unpleasant conclusion that the passengers could have already have been dead or unconscious before the plane flew back across Malaysia.

Cellphone tower records should provide more evidence, because there are sure to be some phones that were not in airplane mode.

Cellphones won't have enough power to connect more than about 50 km from the coast.
Exchanges where POT is traded:

https://www.swisscex.com/

https://www.mintpal.com/

https://cryptorush.in/

https://bittrex.com/
Interesting bit here: There were 20 Freescale Semiconductor engineers on that MH 370 plane. Story is getting interesting by the day.

http://www.reuters.com/article/2014/03/09/us-malaysia-airlin...
You're not thinking C++ish.

There is a wide range of algorithms to find/modify/replace data in containers.

Let's say you have a set of ints, doing what you want is the following:

std::set<int> blah;

// ... some stuff happens ...

if (blah.find(123) != blah.end())
{
// ...
}

Now, you're saying, "but my container doesn't have find!". Not a problem, you can use std::find!

std::vector<int> v;

// ... some stuff happens ...

if (std::find(v.begin(), v.end(), 123) != v.end())
{
// ...
}

Note that v can be ANYTHING, as long it supports forward iterators (which all containers do).

Now you're saying, "but it's not very efficient! The complexity of find is O(n)!"

True, true. If your container is sorted, you should use binary search O(log n):

if (std::binary_search(v.begin(), v.end(), 123))
{
// ...
}

What's great about this is that it works on any container, provided it's sorted.

Then, what you can do is write a metafunction that will call the member function find() when it exists or use std::find() when there's none. This will automatically, and at compile time, use the most efficient way to check for the existence of an entry.
Yes, priorities. The evolution of C++ is driven by its users in the industry. That C++ not yet has support for reflection or introspection is an indication that there hasn't yet been a great need for it.

Any C++ user (you know, the people who actually use the language) will tell you that templates is a central part of the language and something that is far more important than introspection.

Anyway, like I said in the other comment, there's a study group for reflection now. We'll see what comes out of it.
Haha, I remember once, after a few weeks of hacking linux kernel / mellanox infiniband stack I've had a dream in which I've spend quite some time in the linux-themed 3d construct similar to this one ;) Shiny ;)

On a serious note, there are some domain-specific programming tools in which visual approach works well. For example functional protocol testers (with SDL) or data acquisition (LabView and such).
The law and force works so the powerful people can maintain their power, the rich their fortune, and sometime they hang someone so the crowd can be happy, and think the law works.. also.. it eventually locks up marginalized people that dont work in the gears of the big machine.. if you ask them, they will deny it.. and tell what you want to hear.. and you go on with you miserable life..

Kafka my friend.. was there first.. saw it, told us
AP is already walking back the headline, now reads "Malaysian official says missing plane hijacked"

"It is not conclusive. I'm heading the investigation and nobody is saying that. It's not true. We are looking at the possibility, we're looking at all possibilities. We're doing every profile of the passengers and crew but there is no firm evidence or leads so far," he told the Telegraph.
I'm convinced this is one of three things after watching this for 7 days:

1. Hijacking gone wrong and the plane is in the ocean.

2. Pilot suicide and the plane is in the ocean.

3. Hijacking gone right and the plane is parked somewhere and all the passengers are dead and/or being held captive (least likely option).

That's it. Nothing else could have happened.
Thanks for the link to precomplied executables. I gave up on installing as per github instructions since on my OpenSUSE 12.2, running npm returns a strange error ("node: symbol lookup error: node: undefined symbol: _ZN2v811HandleScopeC1Ev") and I can't seem to find a way to install grunt.
For me it just keeps on Buffering viewo..downloading..and then keeps on doing that. I had the same problem with the official version too. The longest I've checked is ~60 minutes and it was right there where it started.

However, for the same file of 1.5GB it took me ~10 mins to download. (Mac)
Then again, that the hijacker(s) have "significant flying experience" is not all that surprising. Anyone planning to take control of an in-flight aircraft by force, or threat of force, had better know something about how to fly it, or they'll just end up crashing and probably dying without accomplishing much. (Even if it's a suicide mission like 9/11, presumably suicide isn't the only goal -- the 9/11 hijackers wanted to take out some enemy buildings. From their point of view, losing their lives was an unfortunate but tolerable side effect, not the main objective.)
This—also, C++11 is an amazing improvement over C++03, and C++14 looks like another step in the right direction.

For a small example, a friend talked me into implementing a few Scala collection operations in C++11. Here's the result: https://gist.github.com/LnxPrgr3/6547131

Usage looks like this:

const collection<vector<string>> names = {"Daniel", "Chris", "Joseph"};
return names.reduce_left<string>([](const string &total, const string &value) {
return total + ", " + value;
}) == "Daniel, Chris, Joseph";
// ...
const collection<vector<string>> strs = {"1", "2", "3", "4", "5"};
auto rv = strs.map<collection<vector<int>>>([](const string &x) {
return atoi(x.c_str());
});
return rv.size() == 5 && rv[0] == 1 && rv[1] == 2 && rv[2] == 3 && rv[3] == 4 && rv[4] == 5;

This is from a collection of tests, which looks like this:

struct test {
const char *name;
function<bool ()> fn;
};

const vector<test> tests = {
{"Foldleft", []{ /* .... */}},
{"reduceLeft on empty throws", []{ /* ... */ }},
// ...
};

for(auto &test: tests) {
cout << test.name << ": " << flush << (test.fn() ? "PASS" : "FAIL") << endl;
}

I would've never considered something like this useful in C++03—callers would have to create named functor classes just to do some trivial one-line operation, this vector of tests would've had to have been a series of push_back calls, and iterating over it would've been quite a bit uglier.

This isn't at all an exhaustive list, but these are the biggest things that come to mind when I think of what C++11 gains over C++03.
I might be out of my depth and not truly understand what is meant by abstractions, but I think the answer is yes?

Lets look at the example on the website, theres a node called cube. Isnt that little node an abstraction of a whole lot of other things? A more advanced visual programming language would allow you to access and modify what a "cube" is. You would be able to double click on that and be taken to another graph. This graph would be about the construction of a cube and would take input of width and create triangles in space to represent a cube. you could double click on the triangle node and be taken deeper, this time a node that takes vectors and defines where the surface is between them and sends it to the renderer. We could have a seperate graph to define what a vector is and the data structures behind it.

All of this for a simple cube could be represented as a huge tangle of nodes and connections, but we can condense it down to a single node called cube that takes an input of width.
Having networks and sub-networks allows you to choose what level of abstraction you work at. Each of these things at different levels can be represented by a graph.
> To add even more irony, books are among the least pirated things and Kindle is one of the most successful for-pay art markets on the 'net. Yet books cost less to produce than recorded music and much less than movies. Go figure. Even weirder, Kindle uses DRM and yet nobody seems to care.

That is interesting. I would've figured after Movies and Music, Books would be the most pirated things. Sources please? I would like to know more about this.

Also, you can use Kindle to read pirated books.
That would be great except the defendant still has to pay up front.
In the QR code a URL with connection id and encryption key (generated by the desktop) is stored. The visual verification code encrypts these parameters to prevent them from showing up in the phones browser history in plain text.
Using the same virtual machine for everything means its just as much of a hassle to wipe it as to wipe your real machine, and your regular activities are at risk from the crap you install into the vm -to be secure it would have to be machines that reset themselves, not just virtual. What about when mum and dad actually want to install a new program or save some files?
There can’t be that many places within reach of that plane where such a plane can land, right? The time window and range are both known, so can’t all those places be checked somehow?
What exactly are you hypothesizing? That the pilot faked a hijacking because insurance would pay out in event of a hijacking? Would there not be an easier way for a pilot to purposefully crash that would also be coveraged by insurance?
Then patronize another private business that reflects your views. Or don't. Nobody really cares.

"Freedom of speech" means different things in different places. The First Amendment only means anything in the US. It isn't law in the UK.
I'm european and i can tell you that you will get tailgated, headlight-flashed and all around road-raged if you drive at the speed limit in the left-most highway lane in EVERY SINGLE EU country.

You won't get pulled by cops tho.
Ask HN: Void future patents by posting ideas publicly?
It seems that many straight-forward ideas nowadays are patentable and patented, sometimes without ever being implemented (patent trolls e.g.). I guess the question is, would they still be patentable if someone, say, blogged about a certain idea or publicly posted the idea in some other way.

So. Would describing an idea in a public text constitute prior art and cause a patent that was filed later to be void?

Concrete example: if someone would have blogged about and described, say, the flow of a one-click checkout before a certain e-commerce company filed a patent, could someone later have the patent declared void?
Current "machine learning" algorithms such as decision trees, SVM, regression etc are in a way cheating. In all these algorithms you need to design features and they contain much of the smarts that you see from "machine learning" algorithms. In other words, an impressive machine learned model is typically a result of an impressive features gymnastic manually programmed by humans after lot of sweat and blood.

A true machine learning algorithms shouldn't require humans to encode their smarts and knowledge. If these algorithms existed then they would just look at stream of symbols or sensory inputs that occurs in the nature and extract patterns from it. Deep learning gets closer to this by eliminating need for developing features (to some extent so far). I think it is first of many steps towards true machine learning.
>> Radio transponders, human interface systems, life support systems.

Don't think you know what a hard real time system is. Both radio transponders and life support systems have to be hard real time. Motors and antennas don't magically communicate with your userland "apps," they're controlled by precisely timed code. The "human interface systems" (could you have brought to the conversation a more generic term?) to all of these are often, too, hard real time because that's the easiest way to prove something is safe and test the edge cases. For all intents and purposes, anything "soft real time" has a kernel and kernels are monolithic disasters waiting to happen for anyone who needs timing guarantees (hint: if your life depends on it, it needs timing guarantees).

On top of that is the unfriendliness of Haskell to the real world of hiring (and this is Boeing for godzilla's sake) and it's lack of proper testing in such an environment, although I'm sure there are those who use it in embedded.
Ask HN: Best application for tagging and organizing family photos?
Any recommendations on an application for family photos? Few things I'm searching for...

1. No interest in anything online, I'm going to copy all the photos to my personal computer, and copy them onto my parents computer as well. No need to upload or manage them online, in the cloud, social networks, etc.

2. It needs tagging. Either labeling faces similar to Facebook, or just listing the people in a particular photo. It would also be nice to give the photo an estimated date and location.

3. Simple to browse, and to use tags. It would be great if you could just select a person to see all their photos, or start typing their name, and they all appear. Or select multiple people to view only photos with the group. Also, it would be useful to view by location and year. A timeline would be interesting, to scroll through the years.

4. It would need to work on Windows.

5. I doubt this feature exists anywhere, but it just popped into my mind. Attach the date of birth to people you've tagged. Then, using this date, and the date of the photos, you should be able to browse a person by their age. So, I could show pictures of John Doe, ages 5-10.

6. Some type of standard format would also be a plus, so 5 years into the future, I could export the data and face tags, and be able to load them into something else.

Is Picasa my only real option here? It seems like everyone is focused on web applications (including Picasa from what I'm reading, and all their Google+ features), and there's really a lack of quality desktop applications for such a fundamental task. The iPhoto layout has a similar setup to what I'm looking for when it comes to simplicity.

Thanks for any ideas.
What about a portal to another dimension?
Most insurance plans cover suicide after 2 years.
What are you doing to prevent government tampering, MITM attacks, or other dangers? You seem to have put a lot of thought into the security of the implementation, though it might help you spread it to the do-it-yourself-er culture if you explained what you were doing a bit to keep things secure.

Is the cipher completely encrypted all the way from the phone to the desktop, whilst being tunneled through your server?

And if it's as secure as you say it is, what stops people from proxying their own arbitrary payloads through your tunnel? (-- that is to suggest that you're being as honest as you are about not decrypting anything the entire way from the phone through your cloud to the desktop...)

If it's that secure, what would stop a botnet from theoretically leveraging this as misdirection?

And what is the purpose of the cloud server here? If someone had their own hosting, would they still need to rely on your server to route the commands?

All questions and criticisms aside, I've always wanted something that could do this for my house without having to rely on an external entity... I think paranoia has taken a rather large toll in our culture today, because anything with the word 'cloud' in it starts to give all programmers the chills unless it comes with some assurances of trust, longevity, and ultimately devotion.

I'd almost suggest selling a piece of hardware that people could install in their houses, simply because it's extensible for your purposes, users can maintain control over it, and it's far more difficult to isolate as a target, and ultimately it allows people to decide whether to "connect indefinitely to any company" for continued operation.

I mean, if you pick up any cloud-based mobile control software from any major manufacturer today, they all create this massive problem of a surrogate dependency on the cloud in their implementation.

These days you can't even set up an IR mobile control product without sending out your wifi password through a web-based silverlight UI hosted in the cloud just to get it to the product that's meant to use it! That's so far backwards security-wise that it's teaching people to send their login credentials the wrong damned way!

Hopefully everyone sees what's going on here?
Lost Malaysian airliner may have run out of fuel over Indian Ocean
Well, will the Amazon Instant Video be possible to archive and playable without DRM support and offline? If not it's not the same product. Is it available to me (Norway)? No, so it's not the same product.

I think pricing is a separate, but related concern. I paid ~17 USD to watch Gravity in theatres once, but I'm not sure I'd be willing to pay anything to watch "the Wolf of Wallstreet". I might watch it for free, though. So in this case, if I were to pirate WoWst -- that wouldn't be a lost sale. It'd be free marketing (if I recommend it to others), or well, nothing I guess. Not a lost sale, because buying wasn't considered.

The thing is, people have different tastes, and for someone that's a die-hard De Caprio fan, WoWst might be worth $20. I might be willing to buy some film others think is crap etc. Now, had I watched an unlicensed copy of WoWst and thought it was ok, I'd probably recommend it to someone who really liked Leo -- even if I wouldn't consider it a great movie. And if did consider it a great movie I certainly would.

I think we're seeing (and have been seeing) a disturbing shift around the ideas of laws with regards to content: anti-piracy (anti-usability ;) groups seem to argue that people want to steal, and only enforcement keeps them from stealing. This disregards the idea that laws are a form of consensus -- there's not a law enforcement department in the world that can work without citizen support. Laws that are regarded as unfair and unwarranted will be broken.

I feel that in general arguing piracy kills music and film, is like arguing libraries kills books.
By the way, you'll find the source here: https://github.com/pboyer/flood

The project is largely inspired by this one, whose original engine used a similar approach of compiling a visual program to Scheme:
https://github.com/DynamoDS/Dynamo
Know Your Enemy: Pachyderms are even cannier than zoologists previously realised
That's what I'm talking about! http://www.imdb.com/title/tt0112040/ good theory.
The http://deeplearning.net/ is a go to website for beginners. You would find everything from datasets to experiment to tutorials. This subject requires a lot of match and ML background though and would need sometime to catch up to the latest research. Coding part will involve GPU code if you want to go truely in with large data sets. If you want to just apply the algorithms to specific problem without diving deep in to its theory there are few kits available in Python and C++. There a tech talks and other videos on tutorial page that might be good starting point.
More importantly, there aren't that many places a 777 can land without being picked up by a radar. Probably zero places.
Book Review: Backbone.js Patterns and Best Practices
That's covered in option 3)
MISRA discourages use of malloc (because you can deviate with clear documentation as to why) but it's not at all unheard of. That said, many embedded systems don't come with a usable implementation of malloc so the safe default is to write your own memory manager (safer but not always possible: use a well tested one) that uses static memory pools to allocate dynamic memory.
If Singapore is the most expensive city, then why Redmond costs more?
Yes transactions between financial entities should have some reversibility but bitcoin is more like real physical cash that also can be tracked. Stolen physical cash ends up in the same non reversible predicament.

The fact that crypto currencies leave a digital trail and verification actually makes it a tad safer than cash if it was a true stable currency which it isn't yet, but one that could offer that between larger crypto currency 'banks' which is what the market does now with real money, the networks and institutions aren't there for crypto currency yet.

Eventually entities will do the exchanging for you in return for the transaction reversibility, just using another currency or crypto credit. Already happening with stored wallets, exchanges and more. Eventually they will be banks. But currently bitcoin is as safe as having actual cold hard cash in your hands.
what was original headline?
Segmentation Is Dead (Jan 2014)
4. Plane's systems compromised and remotely diverted.
I'd call that move the satoshi if it weren't too soon.
Malaysian Investigators conclude flight hijacked
There is no need for binary literals. Every low level programmer should know the first 16 hexadecimals in his sleep.

With that you can simply do char c = 0x5A. It is more readable since there are more distinguishing characters and is shorter. I actually made a mistake when I first scanned your numbers and had to look carefully. Imagine if the number was a 64bit integer.

Also <bitset>, if you intend to use c++ correctly.