skysight-inc/HackerNews huggingface dataset:
> what's the optimal gravity for running if it's not 1.0 Earth?

Is "optimal running gravity" the gravity under which you'll run the fastest, or the gravity under which you'll have suffered the least amount of physical damage after running for a fixed distance/time?
Social Innovation is very trendy in Paris. The French President, François Hollande, announced last week, during SocialGoodWeek an International Summit on this topic : https://twitter.com/fhollande/status/540498295261782016
52 Actionable Mobile App Growth Hacking Tactics
Think the implication is that a drone with a camera is being flown FPV (ie with live video feed to the pilot), rather than being a movie camera that records for playback later.

As such, you don't need to stipulate that there is a line of sight as you fly using the camera / video feed.

Edit: whoops. i read that 150m part _completely_ wrong, cheers vp
Even further, why are strings considered a linear sequence of 8-bit characters (defaulting to ASCII)? That's madness in 2014! If I give you a sequence of bytes and tell you it's a "string", that's no more meaningful than if I gave you a bunch of bytes and said "this is music" or "this is a picture". Without telling you the encoding you have to blindly guess how to interpret it.

Go does a good job of rectifying this: strings are generally opaque binary objects--indexing into them gives you abstract "runes" (representing Unicode code points) which can then be encoded into various flavors of UTF characters.
Because UBER will be a monopoly.
snprintf isn't a standard function. There's certain platforms that don't have it. I know, it happened to me on z/Linux.
I can fully understand not liking Grunt, it's configuration is impossible to read and doesn't make a ton of sense to me. Gulp on the other hand is VERY easy to read and I haven't have any issues with my colleagues adding/editing the gulpfile.

Is running `gulp jshint` similar to running `jshint .js`? yes but this is not a fair comparison. First of all one of those can be run in the root of the project while the other needs to be run in the right location (or have the folder in the path) so that we don't jshint libs we didn't write. Also the author glosses over the fact that people rarely run `gulp *` and in fact will run `gulp build` (or similarly named task) that will call ALL of the other tasks you need to run. Also the author doesn't mention how wonderful `gulp watch` (or similarly named task) is for watching files for changes and then running tasks when certain files change.

I can tell you with 100% certainty that without gulp we would not be jshint-ing our code, we probably will still be using regular CSS and not SASS (SCSS-style), would still have a large gross master.js file instead of multiple js files with logic cleanly separated out, etc. Could we use make? Yes but having worked at a company that used make to build various parts of their web app I can tell you that this get really gross really fast, feel free to disagree with me but after seeing how bad it can get I won't touch make for web projects again.

Gulp (I won't argue for Grunt, I don't like it at all) is easy to write and easy to read and running the programs/tasks Gulp does for us individually would have been a non-starter. As far as npm/make goes it would have been harder to do everything we are doing and I'm not even sure `gulp watch`-type features would have been possible without escalated privileges to install other software.
Maybe I'm weird, but I feel slightly offended if a vendor is not offering their lowest price to begin with. A lower price from a different vendor doesn't bother me, but knowing that someone else can pay a lower price for the same product from the same vendor just irks me a little. Especially in these times of fierce pricing competition. It just feels disingenuous.

Of course, this is just from this consumer's point of view. I can see the added value to the vendor, but since I'm only a consumer, it is only the consumers' perspective that affects me.
I might be wrong, but I found the kind of room that $1000 pays for in NYC to be way nicer and larger than the one you can get for a similar price in Paris (though the usd/eur has increased 20% since I checked).
Rule #1 of systems programming: "Never check for an error that you don't know how to handle." This is, of course, a joke, but it has a kernel of truth.

I've worked on production code where, if allocation fails, the system fails, too, and restarts. The allocator never returns. There's usually some kind of helper system watching for the failure, which can take a dump or at least a stack trace.

The theory is that any attempt at recovery is going to be a disaster; not well tested, and probably doomed in the face of memory pressure anyway. On 64 bit systems the memory ceiling is essentially infinite, but reaching the point where we start to swap is horrible and a pyrrhic victory at best, so instead let's do a controlled crash and log enough information so we can analyze and fix the actual problem (which is a misunderstanding of load and resources, or maybe a bug or an attack where we're trying to allocate twenty gazillion bytes).

That's one philosophy. Another (which was prevalent on the Mac in the 80s, in user applications) is to have a reserve; you test the crap out of the code and give it enough memory in some kind of emergency mode to succeed at getting back to a normal state, or at least quitting in an orderly fashion (ditch dynamically loaded code, fonts, whatever) so that the user's work isn't totally lost.

There's a lot to be said for both designs, and of course these don't cover the case when you're writing library code that can be used by anyone, where reliably returning failure to the caller is important. Here you don't have a choice other than to check and be robust.

So three, yes, three philosophies.
> If you tripped and fell at 35-40mph you could seriously injure yourself.

To be fair, this is quite true at walking speeds as well. Falling is bad. I passed out from dehydration once while standing still; I ruptured my spleen in the fall and almost needed surgery to have it removed (thankfully, it healed while I was under observation).
They've also just started including external websites such as Dell.com to be listed right at their offers. Note, that this will take you to the external website and not go though Amzons checkout:

http://www.amazon.com/gp/offer-listing/B00I053ICY/sr=8-1/qid...

You can see that it sends you to Dell's website.
YMMV. Really depends on who you're talking to. Generally speaking younger generations tend to have a better command of the language than the older generation but there's still a long way to go before we reach Netherlands quality. The influx of American TV shows and movies will help on the long run though. Source: I'm French, born and raised here.
It's very hard to live in Paris if you are not fluent in French... Or you're doomed to live amongst ex-pats, which defeats the purpose of the experience.
Yes, they do speak english.
Show HN: Smart power outlet with USB ports and add-ons
I've not experienced it personally, but I'm told that French grammar gets pretty gnarly after you get past the simpler stuff.
Why Marketo Spent a Year Looking for the Biggest Pain of Marketers
Datomic meets most or all of these criteria by design, per my understanding, most importantly not having an OR impedance mismatch while preserving ACID
Red Hat CEO on how open source powers business around the world
Seems like that PE maybe shouldn't have a stamp. I'm not saying they're definitely incompetent and should have it taken away, but it kind-of makes you wonder.
This sounds like the approach used by Couch-style incremental map reduce. For each JSON document, run a JavaScript function to determine the document's contribution to the map reduce index. (Basically a user-defined column with optional custom aggregation.)

So you can easily normalize multiple incoming JSON types to a single index (eg mix JSON data from different APIs into a single "column", etc.)

And that's not even getting into the reduce side. From [1] "if documents represent your company’s financial transactions, a view can answer the question of what the spending was in the last week, month, or year."

[1] http://guide.couchdb.org/draft/views.html
Pointers aren't even there for supporting a legacy language, they have their use and are distinct from references. Mixing the two and thinking they are equivalent (though they are close in what they do) is a mistake.
The Offline Cookbook: caching and serving offline-first
Well, to be honest not all the french can speak English. So you just need to know the basics to order your food etc...

But in a professional environment, there is absolutely no problem. Ok our accent might be a problem but we can speak and understand english. For example, to become an engineer in France you need a minimal level in english.

A lot of educated people have travelled in a foreign country during their studies, so really for me I don't think it will be a problem.
Core of Git is a simple key-value data store
People really are insane.
That's what I thought but the fraudulent ad views are probably not distributed evenly. You can't just assume that 25% of views on your ads are fraudulent. There's a lot of uncertainty here.
I'm still waiting for the day when the JS community will discover tup [1]. Tup's greatest strength is that is can discover build dependencies automatically by file I/O monitoring in any kind of compiler or build script.

Many source formats eventually gain the capability to include other files (e.g. jade partials) or reference them in other ways (e.g. you can check the size of an image while you are generating a Sprite CSS fragments) as part of the build process and this is where Grunt or Gulp or any other naive build system will fail immediately. Specialized build systems can handle the dependency checking for particular build targets (e.g. Cmake for C++), but tup makes it extremely easy to have proper minimal re-builds with any kind of compiler.

There is also an automatic re-build mode that's triggered as soon as you save the source file in the editor and it's a joy to use in web projects.

[1] http://gittup.org/tup/
That not the point of the article, which is not very well made. The author explains/try to explain that MVCC has also its quirks under high write workload, it's not a silver bullet, even when considering "eventual consistency databases" which "do nothing to help you", quite the contrary because it's a design choice.

I think this article must be read inside the debate "ACID or no ACID". Where Google with F1 [1] and appengine [2], FoundationDB and wiredtiger push for strong transaction features because it's easier for developers.

[1] http://research.google.com/pubs/pub38125.html
[2] A Design for a Distributed Transaction Layer for Google App Engine
I don't think that's how bind works. Can you give a code example that shows unintuitive behavior? What I'm hearing from you is something like:

function foo() {
var bar = function() {
console.log(this);
};
return bar.bind(42);
}

foo().call(1337); // prints 42

...which behaves as expected, so I'm not sure what you're getting at?
How can you have pointers without allowing all the holes that C allows?
I believe that the point of the article is that the triggers for optical illusions are totally different in humans and the ANNs. I don't know how valid is this statement - humans sometimes do recognize "shapes" in white noise too.
10 Practical and Free Mac Menu Bar Apps for Daily Tasks
I don't think it's going to roll out on amazon.in until they experiment with the model extensively in US.
It looks to me like the materials dry out and take their designed shape. If you watch the videos very carefully you can see them look wet in the beginning and drier as time passes. Well, I see it at least. I could be wrong.
In the last century, has anyone ever accurately predicted the future 30 years before?
Here's a direct link to the original page from MIT
http://www.selfassemblylab.net/ProgrammableMaterials.php
To be fair everything you're upset about is a problem with the standard C++ library, not the language itself.

Not to say that the language doesn't have issues. The initializer list example you provide is half of one, but only because people don't like to write algorithm-based code.

This is actually fine:

auto v = {1, 2, 3, 5, 8, 13};
for (auto i : v) {
std::cout << i << '\n';
}

...all that being said, the C++ standard library gets strings very wrong. I've ranted about it here before. But, to be fair:

1. What language gets strings right?

2. C++ has some interesting ideas around the bend (concepts) that should make using library code much easier. Whether writing library code will be easier is another question, but I'm hopeful.
No its not.

Paris is the most touristic city in the world.

You can be perfectly fine if you don't speak word of french.
Is it really a stereotype? I see plenty of African American and I was never surprised of it.
Well fwiw it's very hard to live in Paris if you're not Parisian ...

Edit : 10 years ago I tried to live in Paris. After only 2 weeks I ran away to my little French town that nobody on HN ever heard about.
Amazon announces 4K streaming for Instant Video
That title is painful. It makes it sound like they're building an R&D facility near the PM's house or offices. Plus the word "allegedly" has a different connotation than "according to" or as quoted by (and the term "allegedly doesn't appear in the article).

You could have done with e.g.:

"Apple has decided it undertake cutting-edge R&D in Japan" - Japanese PM
There's a difference between variety and sample. I fully expected this website to be a big red "NO ...unless..."
Moment of Misery
To allow Bjarne to sell C++ to C developers, specially those ex-Assembly programmers that were force-feed to C.

You don't need to learn C, just read "The Design and Evolution of C++".
MyKickback – Fedex and UPS automated refunds
Sorry, I took the number from Wikipedia. That said, does that include all French speakers? The number I mentioned was specifically about people for whom French was their first language.
Facebook Envisions A.I. That Keeps You from Uploading Embarrassing Pics
would the attacker not need to have access to the target machine to install this?
Linux: Rsync Copy Directories Structures Tree Only
I don't think that 2045 machines will have become intelligent in terms of having a free will (whatever this means) and being able to think critically, but what I could imagine is that most people got enough dumb that they won't be able to realize the difference anymore. See how many people already take for real what marketing is telling them or using facebook and google bubbles without the slightest idea of the consequences.
Meta Unveils Meta Pro, Its $3,000 AR Glasses Now Available for Pre-Order
> Coders will rule the future global economy.

When everyone knows how to code and coders rule the future global economy, coders will have the prestige and salary of a cashier or a waiter.
There are some benefits to through bolts over deck screws or lag bolts. It's easier to inspect a proper bolt to make sure it tightened and fix it if it is too loose. A screw could strip out with the vibration and stresses of the ride and it'd be really hard to check and fix.
How does it prove itself?
2045 is an estimated based on our current pace. Couldn't we take steps to accelerate progress? Reduce it by 10 or 15 years? In the 1960's, for example, we were able to put the first human into space and reach the moon, all within a decade.
But how can you explain their existence and all the C++ behaviour derived from that without using C - you can't.
To further the conclusion, as a general principle the best way to be an expert at something is to teach it !
Well, in France we don't have the culture of junk food and fast-food... If you want to eat that way you need to prepare it yourself, if not yeah you're right it's more expensive than NYC.

But you should try a sandwich with a good baguette !
Yes, but that was mentioned.
For example, a flat piece of wood that will morph into the shape of a cowboy hat when come in contact with water.

Basically manufacturing items (wood, carbon fiber, etc.) that are designed to act in a specific way under specific conditions, rather than leaving it up to chance.
Bit of a strawman on googling for results - sure I'm not suggesting you can hide the fact it's a relative of C, but I know when I first started out every question I would ask the almighty google oracle would be appended with "C++" - "Why is my code crap C++" - so usually you'd get an actual C++ style solution.

And so far as google and streams, well that's their opinion and fits into their particular style. There's plenty of dev houses that would tell you to avoid C style string manipulation due to the dangers of stack overflows etc.

Anyway I'm not wanting to fall into a C vs C++ argument, I'm merely pointing out that it's very possible for someone to pick up C++ without having the slightest bit of knowledge of C to begin with. I sure didn't know any C to start with.
Someone please explain why this is a problem. The way I see it is that advertisers pay for results. If you spend $100,000 on ads and make less than $100,000 in extra profit - you're paying too much for ads. The fact that 23% of ad views don't convert just pushes down the price of an "ad view", ie those fake views are priced in to your CPM rates already. This does not effect your ad budget however.

People that get hurt aren't the advertisers but the quality publishers who may be struggling to sell ads at higher CPM rates, justifying those with fewer fake ad views. But this is nothing new, ad rates have always varied considerably across newspapers based on their quality and audience, and ad buyers should understand that. It's completely normal to pay hundred times more to show your ad on WSJ compared to PornHub for example.

I don't know enough about this, but surely ad buyers have the tools to track conversion rates of different advertising mediums and publishers, thus enabling them to ultimately compute the cost-per-sale?
This is cool. You can then phrase your plea for donations as something like: "Every 10 dollars you pledge makes others give us up to $100, your donation has 10x power!"

Also you could use with the fact that at the beginning of a campaign, your pledge doesn't have much multiplicative power but doesn't cost you much while at the end it costs you the full amount but you get huge multiplicative power.
What if I told you

not every team does pair programming
The Challenge of Generating Sales Leads
It's standard practice because once you're inside, if you stop paying rent it's really really hard to kick you out (it can take years).
Well, I added a reminder into my Google Calendar. Whatever happens in AI, if I make it to 1/1/2045 I'll be freaked out at midnight by a long-forgotten "Future Arrives" notification popping up in my ocular implant or whatever.
C++ wouldn't exist in that universe.

But if we accept the hypothetical, I think that people in that universe would still identify and separately consider the C-ish subset of C++, much like template metaprogramming is considered its own subset of the language.

So no, I don't think they would understand C++ without first understanding C, even if they didn't call it "C" or consider it to be a completely separate entity.
Wow ! Great guide, another one from TheFamily best place to be in France
10€ meal in Paris! First Price in Brasseries start at 12 / 13€ for a decent main course.
If the shoe was on the other foot, I can imagine a race of super computer AI's administrating a similar test to humans and saying look at the puny human vision system. It is fooled easily by simple optical illusions that wouldn't fool even a 2 year old AI. Clearly, there are questions about the generality of the human vision system and perhaps it is not fit for purpose...
You've put your finger on something important: "it's not just a matter of working, it's about feeling respected. And I think that component is not there." By paper measures I'm doing decently in academia, but in practice the working conditions, pay, and level of respect from others in academia who don't know my work are not good. (I've made some choices in employment based on geography rather than prestige and will not be allowed to forget that in the near future.)
Helping sea turtle conservation in the Gulf of Mexico
you didn't understand C++ until you understood all the elements of C, you can start to learn C++ w/o C, but you can't continue.

you even knew when you started that you had to append C++!
I mean no disrespect to Ray, he is a smart person and all, but I don't think we know how to define what qualifies as hard AI. Let alone how to get there.

This article seems overly optimistic.
> That's the good thing about C. With C++, you don't know what is being allocated, where. With C, it is explicit.

You're complaining about allocation in the C++ standard library. How many allocations does sqlite3_open_v2 make? How about git_repository_open?

C code hides allocation just as much as C++ code does. Only C++ provides simple mechanisms (destructors) to make sure everything gets cleaned up when the stack unwinds.

I'll agree that std::string does the wrong thing here. The C++ standard library gets strings wrong in a lot of ways. That's why vector usually provides better examples.
By using them like safe system programming languages from Algol/Mesa line do.

Out function parameters are implicit pointers via references. Cannot be null.

Pointers and arrays aren't compatible.

Pointer arithmetic is frown upon and in many of those languages requires an explicit unsafe block/system module import.
Have you read any other translations and can you say in what way this translation is better than them?
Assuming Google Calendar exists in 31 year :P
I think it would be better to refer to it as "Functional Programming at Scale" :-)
> women who have no interest in me

You make it sound like all women are the same. They're not. Of course not all women are going to be interested in you, just like you're probably not interested in all women.

But if really no women want to have anything to do with you, maybe it's time to ask yourself why. How do you behave? Are you doing anything to put them off? Is there a chance you secretly think that as a man you should be entitled to sex with a woman? Some men do think like that, and of course they are wrong, and it's a terrible basis for a real relationship. There are also men who think it's normal to behave like an asshole, a creep or a jerk. It is not, of course.

It is possible to improve yourself and become a better person. It's something everybody should strive for.

Of course another issue could be that both men and women have become too picky for their own good. I know a guy who wants a girlfriend who is young and pretty, despite him not being all that young and pretty anymore. I also see plenty fo women complain that they can't find a man. If women can't find men and men can't find women, perhaps both are doing something wrong. (And as a possible culprit, I'd like to point to Hollywood, which has been poisoning our perception of what a romantic relationship looks like with totally unrealistic expectations.)

Also, have you tried dating sites? They have the advantage that they get the initial awkward "are you even in the market?" out of the way, and you get to focus more on real interests rather than just the superficial picture. (Although lots of men also behave really badly on dating sites, inundating women with impersonal messages and calling them names when they don't respond. Don't be like that.)
Paris is the most visited city in the world so you can get along easily with only knowing English. And if you know a bit of any romance languages then you can usually pick out enough written words to understand the gist of a menu (if one is not offered in English). The countryside less so, but this is changing rather quickly.