skysight-inc/HackerNews huggingface dataset:
Ah, counting vs measuring! That makes a lot of sense.

In the west, we measure our age and start from 0. In China, they count their age (number of distinct years someone has been alive in) and thus start from 1. In fact, in China, if you are born on new years eve you can be 2 years old at 2 days old!
There is a limit on uploads, 2GB for free accounts and 100GB for paid. They virus-check everything in the Public folder and block it -- as I know to my cost, when recently a zip file containing a PyInstaller-made .exe tripped their detectors and resulted in my Public folder being blocked for 5 days until customer service reviewed it.

So no, that isn't the issue. Anyway, under the new regime you can distribute shared links to anything you upload.
I usually go to menupages if I'm hunting. Since they merged with seamless it's one-click to do an online order, or I'll just call. I'm a pretty dedicated Amazon user, but I'm not sure what this service actually offers beyond that or even to match it.
Piketty's data for all countries is available here (does not include this latest batch yet): http://www.wid.world/
It's not clear how much effort he went into corroborating with the bank. I'd certainly at least call them to confirm before spending the money.
The mere existence of wealth can be awfully distortionary-- consider wealth in valuable land.

Even without an income stream from this land, it makes other land even more scarce, and leads to general unaffordability.
Am I the only one a little frustrated by the groupings here? I'd prefer that it was in raw percentiles rather than something like average of percentiles. Seems like the very lowest incomes drag the bottom 50% down and the highest incomes inflate the averages of the upper percentiles.

Not to say that I don't think the current state of income and wealth inequality aren't troublesome, it's just that in this case when they say, e.g., "top 10%", what they really mean is something closer to "95th percentile".
Biggest mistake with 0-based arrays is calling it an "index" rather than an "offset"; in terms of offsets 0 makes perfect sense.
In C:

L[2] == *(L + 2) == *(2 + L) == 2[L]
There are tools for that, a good simple one (IMHO ) is "Unicode Font Viewer":

http://www.soft-gems.net/index.php/tools/unicode-font-viewer

For some more sophisticated browsing of Unicode fonts (actually more "Unicode availability"), this is good:

http://www.babelstone.co.uk/Software/BabelMap.html
I always figured it was fallout from moving to bipedalism. So many structural changes going on - femur, pelvis, spine, pelvic floor, ligaments, muscles, etc. It doesn't seem that outrageous that a regulatory change needed for bipedalism might also affect baculum development. Also, once you're bipedal, the penis is, well, out there. There might have been advantages to not having a bone in a much more exposed penis. And it's just as easy to envision changes in penis anatomy driving changes in social behavior as it is the converse.
Amazon building 'Uber for trucking' app
The most common case where +1 arises in 1-based indexing code is when you have to index from the end, but the language doesn't support a special syntax for it. So, for example, if you need to slice an array, starting from the Nth, and up to and including the Nth from the end, and your slice syntax is end-inclusive (as is typical for 1-based approach), you get something like:

a[N : length(a) - N + 1]

However, if you do have such special support - e.g. if negative indices are treated as from-the-end (like Python does), then it's just:

a[N : -N]

Compare this to 0-based N with end-exclusive slices (again, as is typical). If you don't have reverse indexing, it's slightly simpler:

a[N : length(a)]

but with reverse indexing (where -1 is the last element), it's actually worse:

a[N : -N - 1]

FWIW, most of it has more to do with the fact that 1) negative numbers are probably not the best way to represent reverse indices, and 2) depending on the situation, either end-inclusive or end-exclusive can be convenient.

In fact, merely having a special syntax for reverse indexing solves it for 0-based languages. For example, suppose that we extend the slice syntax such that either index can be prefixed with ~ to indicate indexing from the end. Then ~0 is the last element, and it becomes:

a[N : ~N]

This has a side benefit of avoiding errors when the computed index is accidentally negative, and ends up being treated as reverse, even though that was not actually the intent. Encoding the direction in the slice syntax itself means no runtime magic.

Alternatively, you can provide syntactic sugar for the length of the array within the indexer - say, `$`. Then, in 0-based end-exclusive approach, you just write:

a[N : $ - N]

This is one case that 1-based approach doesn't handle nearly as well, because for the same simple syntax to work there, you'd need to make $ be length + 1, which is kinda ugly.

However, this only works if your ranges aren't first-class (i.e. if they only appear inside []). These days, the trend seems to be to have ranges as first-class values in the language, and have the indexer accept a range as an operand. In that case, since the range can be constructed separately, it needs to be able to encode "index from start" and "index from end" inside the object itself, and special range syntax for that makes more sense.

If the language uses iterators or equivalent, then the iterator itself can encode the direction, and the range is just a pair of iterators. But you would still want some special short syntax, or at least a short convenience function, to easily create reverse iterators. C++ does just that - a pair of iterators expressing the same thing for random-access container `a` would be:

make_pair(a.begin() + N, a.rbegin() + N)

This is very generic, but the annoyance here is that you have to repeat `a` twice, and it could be a lengthy expression, or even have side effects. Some form of let..in syntax to introduce local bindings in expressions, like ML does, would help a lot here - you could do e.g.:

let a = <some very long expression>
in make_pair(a.begin() + N, a.rbegin() + N)
I used to believe Foodler was the category killer. Then I found a restaurant I like a lot has lower prices on a more obscure site, MixMenu. Definitely shop around.
Stimulants work because ADHD brains have whacked out dopamine regulation. Stimulants help smooth out the peaks and valleys associated with ADHD. Hyperfocus = overstimulated by dopamine, inattentiveness = understimulated. Taking a stimulate provides a consistent baseline level to help reduce the extremes.
Agreed 100%. "Pill culture" is real in America, and in the West. But taking a pill just alleviates symptoms, it never cures anything.

I would say that for minor mental conditions (anxiety, depression, grief), psychiatric drugs exist solely because talk therapy is still primitive and ineffective.

It's much easier, logistically, to give a statin to a group of obese people, than it is to help each individual increase their self-esteem, start taking care of themselves, and teaching them the mindset skills they need to to make sustained changes.

Pills never fix the root problem. Some (more indigenous) cultures are very pro-grief, so when somebody loses a loved one, other villagers and even strangers try to support them, emotionally, so they can get through it. This is simply not the case in America, where people never receive the support they need and take pills to stop feeling so bad. The problem is an emotionally repressed culture, which can't be fixed with pills. Yet nobody actually tells it like it is.
Ask HN: Which programming language is the right one for your startup?
If you were starting up and had to acquire the requisite technical skills to enable the implementation of your idea, how would you choose the right language which will enable you to realise your ambitions?
Hmmm.... I'll disagree on the "don't read a book" suggestion.

I've hung around on a number of support chat rooms for languages / libraries for a few years, and tons of the problems we hear about are things that nearly any book would've made plain. As further evidence, 99% of Stack Overflow is filled with this stuff.

In my experience, skipping the dry stuff to get started faster tends to lead to poor mastery of a system. You can absolutely waste time on the dry stuff - don't read a 1000 page book when 100 will do (or ever; huge books are usually awful) - but the details very often matter in the long run when you start doing anything not in a cookbook / tutorial. Yes, you can always go back and read it later, but very few do so. Investing a day or two in a detailed book up-front isn't that much time.
>The example you responded to isn't a "What If" scenario - it actually happened.

Then you are acually making my case. My point was that it would be hard to call that a fake news, this is an opinion.
Sadly, there will always be tech workers willing to do this for the right price. As I get older, I'm starting to wonder if not following my "tech morals" would've brought more success.
The ultimate issue here is that these information providers need to train their users to be gullible, as this is their business and partnership model.

These platforms only function because advertisements and political messaging have to be seen, and are seen, as credible and native to the content being traded by the people using the platform.

Users are trained to uncritically believe the things that show up on their feed, because if they were trained to be skeptical they would the platform would go bankrupt.

Similarly, news media requires readers to have full faith - almost ideological allegiance - in what they are reporting, while at the same time they need an uncritical readership so that they can promote political and consumer advertisements, sponsored and 'earned' content promotion and opinion pieces as though they were fact.

The entire industry functions on the basis of gullible and uncritical readership, media allegiance and sponsored content.

The industry has fallen to extremely low credibility ratings, and a series of nonsense and unpredictive and obvious reporting out of the 'most credible' parts of the industry have left a vacuum whereby readers do not know what to believe, and so accept whatever is most convenient and most readily available.

The solution is to create a credible news media industry, with no sponsored or partner content, no PR, no government propaganda, and where the readers (and skimmers) are the customers who pay for the information. The industry should compete to provide context and reliable information, and readership should be encouraged to be skeptical of the information presented to them at all times.

Maintaining the current mispractice of the poorly functioning industry and adding protectionist measures, gatekeeping and sponsored fact-checkers is not going to solve the problem.

"I'll tell them what to think" is not a solution to "these people are gullible."
No, they don't boycott; they play hardball in negotiations:

"The DEAL project, headed by HRK (German Rectors' Conference) President Prof Hippler, is negotiating a nationwide license agreement for the entire electronic Elsevier journal portfolio with Elsevier.
[...]
In order to improve their negotiating power, about 60 major German research institutions including Göttingen University cancelled their contracts with Elsevier as early as October 2016."
>> they represent salient, clear examples of the cost of poor information security.

I'm seriously flabbergasted that they continue to let this happen. The last time you would've thought head would roll, they would batten down the hatches, notify users and be completely proactive in defending against another attack.

To me, it looks like they just said, "Well, fuck it, it won't happen again, why invest the time and money to protect our users?" I'd also point out the breech they're referencing was from 2013 so any data that was pilfered has already been running wild on the underground and been passed around a few thousand times. Another reason it just shows they don't care at all.

After this, no investor should touch this company with a ten foot pole.
Looks like Mozilla still stands to make a lot of money from this http://www.recode.net/2016/7/7/12116296/marissa-mayer-deal-m...
Wonder how our lives would be if we did more to work on our bucket lists than our todo lists.
Try the same thing again with -Os and see the difference.
Interesting - it appears that Amazon handles the delivery part, theoretically freeing restaurants up from having to worry about that side of the business. Makes sense, though I wonder what % of costs delivery drivers really are (and, of course, what % Amazon is charging)

Either way, Seamless/Grubhub have turned to utter garbage since their merger. I'm happily using Delivery, but much like Uber/Lyft, these are commodity businesses that I can switch between at zero cost to myself. So I'll give Amazon a try too.
Russia will do it. They did everything else to make Trump happen.
Bill Gates says Trump has the opportunity to be like JFK
Hi, kids! Oldster here. Y'all really need to quit with the "oh, $DEITY, I'm looking at the wrong end of 40 and I'll never work again!" Yes, you will. Yeah, give up that dream of game development (which you should have done anyway, regardless of age). Some brah with his half-assed "Uber for..." won't hire you, sure. But there are plenty of places that would love to have someone that comes in before noon, does the work that needs to be done, and does solid work, and doesn't spend all day at the foosball table.

It depends a lot on how one defines "dead end", too. You have steady work, it pays six figures, but it's a CRUD app? Yeah, go whine to the guy in Appalachia or Detroit. Let me tell you about "dead end": one factory in town, there are only so many management positions to go around, and when that factory closes down you're screwed because your skills don't transfer so well that you'll just pick and move to Seattle where the jobs are. That's a dead end: you're going nowhere.

FoxPro dev and not finding work? That's your own fault. Software dev is a dead end only if you insist on turning down that cul-de-sac, turning off the car, and throwing the keys into a grassy field.

(As a sidenote, the author just comes across as whiny because he's not treated as the special snowflake he really is. If you're so insulted by being asked to do FizzBuzz, then you ought to be able to knock it out in Brainfuck if required. But maybe you can't, eh, Mr. Hotshot?)
Yes, but:

> However, Node v7 is based on V8 54, whose async/await implementation has some bugs in it (including a nasty memory leak). I would not recommend using --harmony-async-await in production until upgrading to V8 55; the easiest way to achieve that would be to wait for Node 8.

https://github.com/nodejs/promises/issues/4#issuecomment-254...
That's incorrect. He's been asked about it directly in interviews several times since the election and has stated that he's not interested in pursuing it and it's not something he wants to focus on as President.
I use PHPStorm because I have to to write safe PHP, not because I want to. I don't have that same problem with Go. 99% of the time if it compiles, it will run. I don't get the draw of a full fledged "Go IDE"
Like most of us I haven't actually read Capital in the 21st Century, but isn't his whole point that the capital gains of the ultra rich outstrip the income of any worker? Anecdotally I hear anger towards hedge fund managers and inherited fortunes, not doctors. And if they are earning a half million a year, I'd hardly call them any kind of middle class.
This already exists. Nice PR, though.
No fact-checking system will be perfect, but the perfect should not be the enemy of the good. Is there a gray area of what constitutes fake news and what a valid fact-checking body is? Of course, but flags don't stop the discussion, they enable discussion. If someone wants to go ahead and post something knowing it will be flagged, they can also post their argument for why they think it is being wrongly flagged.

I am all for this. I've given up on posting snopes links to posts from friends who either tell me snopes is wrong or outright delete my comment. I live near DC, where a man recently opened fire in a restaurant because he read a fake news story that Hillary Clinton was running a child prostitution ring there. I'm sick of this. We are entitled to our own opinions, but we are not entitled to our own facts.

The people in my feed who post fake news tend to be obnoxious and not very bright. It's a good customer service move to make the social network more pleasant. I know that the majority of my thoughtful friends on Facebook will greatly appreciate this.
Do we not have enough databases built already with enough data points to effect this?
Driverless Ubers in San Francisco
(I'm the author.)

Kind of :). But this is also what bridge/extension rounds are for. Perhaps you raised a $1.5m seed round and your goal was to validate 4 key hypotheses with that capital. If you validated all 4, then that's usually a great segue into raising a Series A. If you validated 0-1, that probably means your company isn't viable. If you validated 3 out of 4, or maybe even 2 out of 4, there's evidence that you might be on the right track, and you can often raise another $1m or $2m extension from investors who believe that you will validate the remaining hypotheses if you have a little more runway.
You didn't answer what other cross-platform are out there.

> For others, if I see some desktop app made with electron, I just skip it

The Slack desktop app isn't bad, though I'm not sure if you've tried it.

> The only reason it exist is that web devs do not want to learn right tools for the right job.

I disagree. It allows people to get up and running with a cross platform app relatively quick. You could then port most of that to a mobile app since a lot of the platforms (if not all of the major ones) allow one to create an app using HTML and javascript. I'm a desktop developer (the only web stuff I've done is working on a Wordpress page) but I still see value in Electron and plan to use it for a project. You get cross platform plus all of the libraries that nodejs has, which is a ton.
In my teaching I try to distinguish between conventional-language numbering by saying "first", "second", "third"; from zero-based indexing by saying "zero-th", "one-th", "two-th", and so on.

It's a bit awkward, but once explained it is a quick way to tell the two numbering schemes apart.
Picketty definitely does not ignore wealth inequality. Most of his book is devoted to explaining why the return on existing wealth is the most important factor in inequality. He proposes a global tax on wealth, not income, to help combat inequality.
Download Vidmate App in Windows PC
This is very cool. Do you have any plans to add additional providers?

One suggestion: might be nice to have a sortable table of the providers & results so visitors could visually compare them at once.
It's not success if you can't sleep at night.
Facebook partners with fact-checking organizations to begin flagging fake news
Scientists Say the Clock of Aging May Be Reversible
I would love a world where publishing papers is cheap and reading papers, particularly taxpayer-funded ones, is free.

However, I'd also like a job and none of the "top tier" biomedical journals are open access. While I'd like to think that the quality of my work would speak for itself, the imprimatur that one gets from Nature, Science, Cell, and Neuron is worth quite a bit when applying for jobs and grants.

Unless the big names in academia--and the search committees they sit on--publicly and credibly commit to this, you're essentially asking people (many of whom are on short-term contracts making $40,000 a year) to take an enormous career risk.
It's a ridiculous and naive view of the world.

Of course it already exists. For example on facebook. For example in the mosques.

Everybody was warned, everybody could have seen this coming. But most people didn't give a fuck. Welcome is post privacy. I didn't need have to be that way. We can still turn this into post-post-privacy. But only if we face what we have already done.
It's not "performance monitoring". It's "website performance monitoring". It's
useless if one needs to monitor state of a network and servers and services.
FISA warrants do not include 3 hops. There is nothing in Snowden's leaks that suggests the NSA uses submarine wiretaps to collect your emails either. You seem to have ignored the leaked documents entirely and made up a scary all-seeing Boogeyman.
Cavier and DoorDash have been way superior to Grubhub in Chicago lately. Better selections, faster delivery (anecdotal). I've also had Amazon deliver when they were beta testing with $10 off, definitely worth it.

There's also Sprig, Fooda and some other food delivery services I've left out.
Sonic's fiber service. They've done in two years what Comcast, AT&T, and others refused to do for over a decade. Their footprint in the city is huge, now.

My Sonic fiber install should happen before the year is out. I can't wait to drop Comcast. I'll have 1GB/s fiber and still pay $20 less per month ($69 vs $49).

I always wanted to try MonkeyBrains but they still don't cover the Outer Richmond. And with Sonic fiber out here now they probably never will.
> I have to offer a counter view to this. Using letters of the alphabet as an analogy isn't accurate to me. Each letter we accept as an element... so a true analogy would be to put a Space as the first character of the alphabet, to indicate the absence of a letter.

So, you would say that "A" is not the first element of the alphabet or that "0" is not the first cardinal number?

> Zero indicates the absence of a value in our numbering system.

You are utterly confused. If I have an account balance of zero, that indicates an absence of a value? How is zero mathematically any different then +1000 or -1000 that justifies making it a special case?

> If I have a single apple, I have 1 Apple, not 0 Apples. Thus if I have 1 element in an Array I have element[1], not element[0].

You are mixing up ordinal and cardinal numbers.

> It is more natural for us to use numbers not by their cardinal position in a set, but by their inferred value... because they represent quantities.

There is no such thing as a "cardinal position", positions are ordinal, cardinality describes sizes.

> I am one of those who feels the confusion around zero bounded indexes leads to countless issues because it is counter-intuitive to how we use numbers in real life.

Nope, what leads to problems is that people don't understand the difference between cardinal and ordinal numbers. You cannot fix that by changing the first index, all that causes is a shift to different bugs. Including stuff like equating zero with the absence of a value.
Link shorteners are important because the generated links to shared content -- at Dropbox or MediaFire or wherever -- are impossible to dictate or manually type.

Also, I've got a Pro ($99/year) account, so it isn't a free goddam service. Do you know of any free or paid cloud services that let you share uploaded files using custom, short, pronounceable links?
When I first saw amazon restaurants (almost a year ago) I thought... meh! Why would I use this... order via phone and then wait an hour. I could order by phone call and go pick it up faster.

Turns out now we use it so much and I've found that the value is that I can order by phone when I leave work and by the time I get home the food will be arriving at my door.

The real value to me is that I can order dinner! They've had a few hiccups in the early days but now its pretty solid!