skysight-inc/HackerNews huggingface dataset:
Curiously enough, Turkey is the only member of NATO for whom Article 5 ( automatic response in event of an attack on a member ) had to be explicitly extended:

http://www.nato.int/cps/en/natohq/official_texts_17245.htm

on the territory of any of the Parties in Europe or North America, on the Algerian Departments of France, on the territory of Turkey or on the islands under the jurisdiction of any of the Parties in the North Atlantic area north of the Tropic of Cancer

And interestingly that therefore makes it the only member for which there is a clear process for specifically revoking Article 5 protection.
I've done this, it works.
Exactly my thinking.
I've been suspicious of Tiobe's ranking of C higher than C++ because I know hardly anybody using C any more. 90% or more of C/C++ programming I'm aware of is C++.
Here's a probably equally badly made statistic. Tesla estimates their cars had driven 130 million autopilot miles before the fatality. Some googling suggests the first non-autopilot Tesla S fatality was in july 2014 and this graph ( http://insideevs.com/wp-content/uploads/2015/06/Tesla-Model-... ) suggests that was around 400 million miles driven. So the autopilot is 3.33 times 'worse'?

Who knows, but if Tesla feels they have a moral duty to leave on autopilot if it is safer, they equally have one if it is more dangerous. It seems they are pretty happy to be in dark about which it is while they test their system.
Tone, rigor, formality?

This is the same guy joking about smoking crack and listening to Tupac while writing this plan, I don't think he really cares about making a good impression to anyone
Yes, goto exit and cleanup resources on error is a common and not frowned upon idiom in C. See Python source.
Dense urban areas provide excellent opportunity for rent seeking by urban land owners. The mobility provided the automobile (also rail and bicycles) made it practical to live outside urban areas where land is cheaper, which also permitted lower density. Urban land rent decreased significantly between the late 19th century and the mid 20th century.

The alternate future would have seen everyone living in dense urban areas paying most of their wages as rent to the descendants of gilded age land owners.

edit: spelling
Maybe it was around about the time Microsoft started adding git support to their Visual products? (I don't know, as I don't really use any Microsoft products, but I know Microsoft did embrace git and a lot of OSS tech over the past few years.)
On the contrary, I wrote in my post that there was no free, open choice at that time.

In fact, XMLHttpRequest didn't become a W3C Working Draft until 2006 [1], before then it was a proprietary Microsoft extension. Canvas didn't become a standard until 2007 [2], until then it was Apple's proprietary trick. The DOM was the only API of what we now call the 'web platform' for many, many years.

Between 2000-2006, Flash, Shockwave, and Java Applets were delivering rich interactivity while the open standards were nowhere to be found. While we can and should celebrate that the 'web platform' is finally good enough to replace proprietary applets, the schadenfreude is unnecessary.

[1] https://www.w3.org/TR/XMLHttpRequest/

[2] https://en.wikipedia.org/wiki/Canvas_element
What problem are you trying to solve? Downloading torrents works fine. The weak link is the search engine and description-host.
10 things I would like to see in the new LinkedIn
The regex a?a?a?a?a?aaaaa against the string aaaaa will complete in linear time if you use non-greedy ?s but with greedy matching it has exponential complexity. So, there is a difference.
Slowing down smoothly surely must be safer than continuing to power down the road with no confidence where the road actually is!

Hey, while we're at it, why not make the car flash its hazards and call an ambulance for its non-responsive driver?
It's interesting how stubbornly reliable old things stick around, despite popular negative opinion of those reliable old things.
I'm sorry -- I think the author completely misses the point about why microservices were controversial at all?

Distributed systems are not the same as centralized ones, and you cannot paper over the differences between the two. It is wrong to think that distributed microservices will completely replace centralized services in some future paradise. The difference is not a tech fad; it's more like a law of nature. Distributed systems should plan for network failures, yet nobody wants to get a "503" from their CPU.
Embedded and system level programming is still done almost universally in C and that's a huge segment. In reality I'd say C is even higher, because only a small part of code written in it ends up on GitHub, the rest is deep inside legacy systems.
Fellow SF renter here.

I've also done the DCF analysis and found that it's about a wash assuming a 10% discount rate and 10-year rent vs. buy-then-sell-with-payoff.

One problem with your analysis is that I think anti-rent control sentiment is growing in SF as the city's politics moderate overall. You could very well get Ellised out of your place and then the entire analysis goes out the window (though I suppose you could probabalistically factor this in, including the Ellis payment, but then, you really should work on Wall Street building option and mortgage payout models, shouldn't you)

A few interesting observations from the DCF:

(1) In expensive markets like SF, the mortgage interest break is a huge deal. Consider that most buyers will be in a pretty high marginal bracket, CA has obscenely high taxes, and you'll be paying a ton of mortgage interest on a $1MM+ loan.

(2) Not surprising, but your inflation/growth estimates for price vs. rent are the most important parameters. I don't think anyone could've foreseen the 10% year-over-year growth we've had for the better part of the last 5 years in rent. You just can't foresee everything in a model. (And to be perfectly honest, I can't stand the smugness of the luck-masquerading-as-skill crowd these days. Because sure, you "just knew" Google was going to be huge when you worked at some random startup back in 1998. And you "just knew" housing would go up like it has.)

(3) I really buy the "forced savings" argument. Sure, you could theoretically do better running a "lean" operation and investing, but do most people have the discipline to do it? I might, and I certainly am now, but I'm not sure. Getting locked-in with a payment you know you MUST make is a powerful psychological anchor that might change behavior around, say, buying a new car, or a vacation, vs some abstract and sort of arbitrary savings goal.
I started writing a replacement in Python that doesn't use backtracking. https://github.com/cyphar/redone
It is not a ponzi scheme, it is a limited good in demand. At some point the price will be high enough that it is not affordable for the people that want to buy it.

You cannot just treat housing like a stock, since it is also a way to get good jobs and children in good schools.
AI is a field of research with the goal of creating a computational model of human cognition, that's the scientific part. The engineering part is then to build a system based on the computational model such that this single system can be used as a general purpose problem solver.
Ooh, that's much cheaper, thanks! I'll order one and play around, it should be much better for an Ambilight-style display as well, thank you.
To work that out you need to go back when the Galaxy was young, men were real men, women were real women, and small brown furry distributed systems from Alpha Centauri were real small brown furry distributed systems from Alpha Centauri....

Sorry...
You can now find Love with Pokeman Go
That's actually a great idea! Do you want to email me? My email is in my profile.
I found it odd that several brands were mentioned where it adds nothing to the story; feels like product placement in soap opera's. e.g. Moleskin and Toyota; anyone know if they are actually getting paid for putting in those brand names?
For those that can afford it, they can send the car back for family to use.
SMS Gateways as Microservices with AWS Lambda
I am surprised at the number of comments to this effect on a site where I am normally in awe of the depth and breadth of technical knowledge, and the willingness to learn by doing, that is displayed. I found VCRs easy enough to use and only ever got caught out by Programme Delivery Control.
It's been mathematically proven that engines of the form that Go has will always run in linear time for any regular expression, on any input. It's one of the more famous things about regex in general.
Yea. The point is maybe he should care if he's running a company whose market capitalization is related to investor perceptions. Time will tell I guess. And, Tesla may still prevail.
Battery-powered trucks and buses seem like a logical next step, since there's not much competition there yet (save some obscure small players) and weight is less of an issue.

[I'd still like to own a fully autonomous mobile home that drives me to work while I am eating breakfast in my bath robe or taking a shower and then moves me to a beach while I'm sleeping on Friday nights. Well, one can hope, right?]
Will be fun to revisit your comment in 10 years
The Stack status page contains 3 script tags before the HTML tag.

This is what I saw on my Kindle 3 Keyboard:

This page contains the following errors:

error on line 2 at column 36: Extra content at the end of the document

Below is a rendering of the page up to the first error.

var __pbpa = true;
This is blatantly false. Apple has always provided security fixes for the past 2–3 versions before the current one. At their current version release schedule, that means a given version will be supported for at least 3 years or so.

At the moment security updates cover versions 10.9+. The most recent security update for OS X v10.8.5 was in August (a bit over 3 years after the initial release of 10.8), and 10.9+ have had an additional 5 security updates after that.
I didn't actually read this particular article, I was just making a related comment. So I can't really debate it with you!

But what do you mean it's not really private?

IF you are referring to Google having access, this is my response, otherwise, not sure what you meant:

I mean....I believe in anonymity through numbers.

Even if there were employees at google for some insane reason sitting around reading private gmail accounts, what are the odds mine would come up for notice among more than a billion others? It's pretty ordinary. It's not full of child porn. It's like worrying someone would notice a particular grain of sand on a beach just because it's sitting right there in the open.
Creating a real time mobile chat App with Horizon/RethinkDB
Learn how to create and promote engaging content with CodyBLister and Friends
How to Download Pokemon Go on Any Android Phone – Onenaija Blog
I'm not entirely sure how common it is in modern projects, but I use it a lot. I find functions that use this kind of centralized cleanup code a lot easier to read than functions that avoid 'goto' by duplicating the cleanup code or handling errors with deep nested if blocks. The Linux kernel coding style guide recommends it as well (see "Centralized exiting of functions" in https://www.kernel.org/doc/Documentation/CodingStyle)

FWIW, it seems to be the primary use of 'goto' in these projects:
https://github.com/torvalds/linux/search?q=goto
https://github.com/FFmpeg/FFmpeg/search?q=goto
https://github.com/antirez/redis/search?q=goto
I'm a person in (1) the Netherlands, who wants to watch the (2) latest season of the Game of Thrones, runs (3) Linux without Apple-software like iTunes, and who does not want to buy (4) single items but has subscriptions on a service like Spotify.

The solution is not to educate the public, but to fix the distribution model.
You are not getting more reusability from a bunch of microservices, compared to one big service, I don't see where you got that?
Hilarious! Reminded me of https://archive.google.com/pigeonrank/
I can't speak for everywhere, I'll admit. Where I live, the owner is responsible, as I have learned firsthand by involvement in several accident scenarios where the vehicle owner was not driving at the time. You must purchase insurance for each vehicle you own, and if you allow another person to drive your vehicle you retain the liability.

I'm sure there are some exceptions e.g. if your vehicle is stolen, or in cases of a clear contract such as a vehicle lease or rental.

Subject to the foregoing, it seems entirely reasonable that if I allow a random stranger to use my car while I'm at work, that is my decision and my responsibility. And I would not do it.
Doesn't even mention bottle, which is weird in this day and age. Opinionated... Check.
That's quite possibly what they're saying. On the other hand, this is what I hear: "We don't care about bugs, ignored them anyway, and now we'll pretend there aren't any. If you want to go through this cycle again, and see the bugs ignored again, file them again. We dare you!"

In other words, bugtracker bankruptcy is never nice, and the risk of discouraging users from filing bugs is significant.
It looks like the Pokemon Go architecture is largely cannibalised from Ingress. Pokestops are warmed-over Ingress Portals (same locations, same names, same photos). In Ingress, portals are much more dynamic - things that have happened in the last few seconds to a specific portal matter. From that point of view it's not surprising that Pokestops are uncached; I wouldn't be surprised if they added caching in a future release.

If you were Niantic, and expecting Pokemon Go to be roughly as popular as Ingress, would you bother going to the effort of adding a caching layer when you could not, and expend your efforts on the front end and content, and get the release out sooner?
How does it compare to Code Igniter from 10000 feet?
I am not sure why Clojure is "stagnating". I don't think it's about Emacs, we have Cursive now which is very powerful and runs on top of IntelliJ. Clojure also is picking up in webdev. A new book just came out from Sotnikov, Arachne was announced recently, Om is being worked on, couple of different screencast series are being made, etc. I am not a seasoned developer but I like Clojure and I am sticking with it because it makes sense to me. I think it's an awesome language and I wish more people would try it and develop in it.
Goodfirms Recognized Sphinx Solutions Among Top App Developers in India
>>> Rooftop farms will make use of advanced techniques drawn from marijuana cultivation, and box-shaped greenhouses will improve yields and prevent the spread of disease and insects.

So many of these grand plans do not appreciate the manpower necessary to harvest crops. If you want to do everything by hand, in tiny batches without the advantages of large mechanized devices, 90+% of the people are going to be engaged primarily in cultivation. That might have been fine 200+ years ago, but not today.

The problem with implementation is not one of planning, but of wants and needs. Does everyone here, or at least 90% of you, want to be a farmer? Growing your own tomatoes on the balcony is fine when you are a 20-somthing kid. Try growing enough for you, your partner, three kids, gran and grandpa, the dog ... suddenly those big greenhouses and giant JohnDeer harvesters are looking a little less evil.
TapirApp
When looking at github-provided data it doesn't make sense to differ between C++, C and Objective-C/C++ since the detection for these languages is still completely broken. For instance this project doesn't have a single line of Objective-C in it, yet github says there's 9% Obj-C in it: https://github.com/floooh/yakc. Similar oddities in my other C++ projects.
You really can't think this way when accepting input from users.
By the way, this is the post that broke StackOverflow:
http://stackoverflow.com/questions/38484433/join-tiles-in-co...
The article said:

> The malformed post contained roughly 20,000 consecutive
> characters of whitespace on a comment line that started
> with -- play happy sound for player to enjoy. For us,
> the sound was not happy.

So I just searched:

https://www.google.co.uk/search?q="play+happy+sound+for+player+to+enjoy"+site%3Astackoverflow.com
No it isn't. There is no substance in this article. "Theranos is different in that it's run by a woman." It's a PR piece.
1. They reused architecture (and possibly infrastructure) from an existing game, which has a different mechanic and different usage patterns.
2. It's massively more popular than they originally anticipated.
I'll give some more examples of use cases where the torrent system serves users better than the legal distribution, but has nothing to do with money.

My wife is Brazilian and I'm British, so we're trying to bring our son up as bilingual. Trying to find legally distributed mainstream kids films dubbed in Portuguese is incredibly hard. Sure, you can buy them in Brazil... and then they don't play on hardware in the UK. Neither Netflix nor Amazon Prime have them. Meanwhile, a quick search on a torrent download site gives me access to hundreds of mainstream films dubbed in Portuguese.

Torrents allow me to watch anything, anywhere, with minimal hardware. I don't need to buy DVDs or DVD players. I don't have to work out which subscription I need to use to watch the latest episode of a program. I have downloaded torrents for which I already own the Blu-ray DVD, but it's in a box somewhere and I can't be bothered to find it.

So yeah, there are lots more use cases for torrents than just wanting to be a cheapskate.
Homes do not need to grow faster than inflation to be good investments.

Let's look at a couple numbers. Over the long term, on average, U.S. homes do not appreciate faster than inflation.

> Home prices look remarkably stable when corrected for inflation. Over the 100 years ending in 1990 — before the recent housing boom — real home prices rose only 0.2 percent a year, on average.

http://www.nytimes.com/2013/04/14/business/why-home-prices-c...

Yet, despite that, home ownership is correlated with net gains in household wealth.

> Overall, owning a home is consistently found to be associated with increases of roughly $9,000-$10,000 in net wealth for each year a home is owned. Also consistent with earlier studies, African-Americans are found to benefit less from owning a home, but each year of owning is still associated with gains in net wealth of between $6,000 and $8,000, which is substantial considering the generally low levels of wealth among African-Americans generally.

http://www.jchs.harvard.edu/sites/jchs.harvard.edu/files/hbt...

So how does this make sense?

Well first, home prices on average keep up with inflation, which is a strictly better rate of return than just holding cash. So even if just think of it as a vehicle for pure savings (wealth preservation), home ownership is better than no investment.

But you can also easily and relatively safely leverage up to buy a home. With a 20% down payment, if the home appreciates at inflation 2.5%, your actual rate of return will be 12.5% before expenses and payments!

But what about expenses and payments? Well--you have to make them anyway, even if you're renting.

But aren't mortgage payments usually more expensive than rentals? At first they might be, but with a fixed-rate mortgage, the nominal monthly payment doesn't go up. So again, inflation helps out: every year the real cost of the monthly payment declines. Good luck finding an apartment with rent control for 30 years.

Finally there are the tax advantages. Every one knows about the mortgage interest deduction, but potentially more powerful is the capital gains exemption of up to $250,000 per person.
7 Flawless Ways You Can Upgrade Your Life
So how do we go work for Elon if we have particular expertise on the Solar and storage part - particularly in the way that he has mentioned here?
You're pretty wrong.
Should have moved to Russia.
tl;dr because of a marketing campaign by pharma companies.
Do you have a source for that? All I can find (from Wikipedia) is that he was forced to resign from three positions he held, and that he was reappointed to one.

There's another article from a news source I don't particularly trust saying he was offered a new position in Japan.

Either way, even if he's doing fine now it was months of upheaval and a dedicated witch-hunt over comments that were taken completely out of context.
Some numbers in physics would have come out really nicely if they'd standarised a meter at the length of a foot instead of the length it is. Using imperial units though, ugh, just say no. Unless you're too polite in which case you should say no thank you.
Cursive does have a paredit mode. Works OK for me.
Microsoft and Netflix – testing new restrictions by locking out other browsers?
This would imply that there isn't enough space for everyone. Is that true, though? It feels like most dense concentrations of people are created artificially - either directly through borders (e.g. Haiti vs Dominican Republic), or indirectly through economic limitations (have to live close to where jobs are and commute is too expensive etc). If so, then this is a solvable problem.

One other point I wanted to address. One negative side of sprawl is how it affects natural environments - but, again, does it really have to, or do we do it just because it's the easiest and cheapest way to implement it? It feels like living less densely could actually be beneficial for the environment if done right, compared to the cities. Consider: a metropolis will always carve a chunk out of nature and replace it with a dense grid of roads around high rises, completely ruining the ecological system in the affected area - heck, our cities even have their own microclimates now, because of how much heat we pump out at once in a single place.

On the other hand, a single residence does not have a significant impact; and if you space them out sufficiently, you can preserve the original environment in that space between. Infrastructure is trickier and more invasive, but we've seen some trends towards more localization recently (e.g. with residential solar, composting etc).

Who knows, perhaps we can actually make this description from "The Diamond Age" a reality?

"The prevailing architecture here, among those who had not adopted neo-Victorian precepts, was distinctly subterranean; as if these people were somehow ashamed of their own humanity and could not bear to fell even a handful of the immense Douglas firs that marched monotonously up the tumbling slopes toward the frozen, sodden ridge of the Cascades. Even when it was half buried, a house wasn't even a proper house; it was an association of modules, scattered about here and there and connected by breezeways or tunnels."
Impraise (YC S14) Is Hiring Ruby Developers in Amsterdam
>> Number of employees per car output

It's a very important metric. The number of man-hours per item is a good stand-in for production costs. It isn't perfect, materials are outside the math here, but it works.

I'm interested to hear of how much staff time is put to new production/development and how much is dedicated to maintaining the current fleet. I have to believe that Toyota walks away in that area too.
You heard wrong. It's because you can't countersteer, which is the only way to turn a bicycle or motorcycle at speed.

Try it. Get on a bike. Go straight, and pick up speed. Intentionally press the right side of the handlebar. Note which direction the bike is now aiming.
200010000 not 199990000 probably the author looped on a 0-based index. n*(n+1)/2 is even better ^^
Nice post mortem though