skysight-inc/HackerNews huggingface dataset:
> it's the way American cities are designed. Instead of mixed-use walkable neighborhoods where people with a variety of incomes and backgrounds live, and stay put, we have suburban fortresses where people live in a box, never talk to their neighbors, drive a box to work, work in a box, then do it all over again.

That's not the highways fault in any way. Walkable neighborhoods are expensive, and most Americans are too poor to afford anything like that.

You can't jump in early, because you'll just get gentrified out as soon as decent density & transit exist. You can't jump in after, because the costs are 3x to 50x higher. If your not wealthy, it's a loose-loose situation. That's why walkable neighborhoods can't maintain their "variety of incomes and backgrounds".

If anyone could afford to put their family in walkable NYC / San Francisco / Seattle / etc, many more would choose to do it. But until high-quality safe family housing in walkable neighborhoods drops to $150k - $250k, it's just not going to happen.

Suburbs don't happen because people love looking at asphalt. Suburbs can be made cheap, safe and affordable for regular middle-class people. Dense urban housing is almost never affordable, even in tiny little towns with no zoning or permitting in low-cost-of-living places like the Midwest.

Until people honestly address the exploding high costs of density (and not just blame "red tape" or "design" or "subsidy" for it), that won't change and suburbs will continue to get built.
Correction: it has to be accessible to a single particle, but the information could be non-localized across the whole system, since your particle is itself fairly non-localized, and arguably has weakly interacted with the various devices along the way, meaning that Im not sure we can fully disentangle the wave-equation for the photon from the equations for the splitters. This could easily be the photon "borrowing" bits from the splitter, by sharing a non-local value with it, which carries the split path information for both.

Which is just to say that the system (in full) has to be able to contain a number of bits sufficient for that, which your setup does.
FYI BetterTouchTools supposedly lets you customize the touch bar for arbitrary apps. Haven't tried it on a touch bar myself but it's an amazing utility regardless.

https://www.boastr.net/bettertouchtool-pre-alpha-with-touch-...

(I believe stable has this feature now as well.)
The Amended Computer Crime Act and the State of Internet Freedoms in Thailand
$3000/person is around or larger than the world's median individual annual income: https://www.givingwhatwecan.org/post/2016/05/giving-and-glob... .

I'd also expect the total wealth among the 100 billionaires to be well over 100 billion, considering just Ellison + Zuckerberg + Page together have over 100 billion.

In a similar vein to these two figures, the richest 62 people in the world hold as much money as the poorest 50% of the world: https://www.theguardian.com/business/2016/jan/18/richest-62-... . As a direct consequence, if these 62 people gave all of their money (except for a couple million each) away immediately, 50% of the world would have twice as much money.

(edit: I'm not suggesting that billionaires instantly give all their money away as a direct cash transfer. Just providing a counterargument to "billionaires don't have that much power")
File Encryption Using OpenSSL and GnuPG (GPG/PGP)
XP did this, but it's pretty unlikely that someone was running Windows XP on a plane in 2016.
دداهي ولد عبد الله تسليم ولد صلاحي كان واجب وطني
do async comprehensions ( https://www.python.org/dev/peps/pep-0530/#asynchronous-compr... ) give you concurrency? Or are they a building block to getting that in the future?
Yeah, the typing (in theory) makes no actual changes to the runtime code. It's just for linters like mypy to warn you when you write code that goes against your own type declarations. However because it's added directly into your code, it does have a slight runtime effect. Casting types calls a function (which should just be a no-op function), as well as defining TypeVars.

The crashes I got at runtime aren't because of the typing module preventing code from running due to types, it was just a bug in the runtime part of typing. I'll try to find the github issue to share, but iirc it was related to using Generics with a TypeVar.
They skipped screening and whiteboarding because you simply said you had another offer?
What about smartphone powered payments?
I have used BetterTouchTool to add a lot of app shortcuts to my touch bar. It works great.
I feel really uncomfortable with this site. I got lost and just after some time I realized where each thing is placed.
>It really seems like the point at which working harder to earn money hits diminishing returns comes much much earlier that most people think.

How old are you? Do you have children? Sick or elderly family to take care of?

I get a kick out of young people in the software industry talking about how easy it is. Of course it is when you're by yourself with very particular interests. But life circumstances can and do change.
Universities List in Connecticut State USA
Getting Started with Docker on the Mac
Amazon does these things for PR only. The only place checkout lines have ever been an issue for me is the Whole Foods at Union Square NYC and that's a rare situation.
Look at Moravec's Paradox.

It's probably the most valid result from the research and yet it is overlooked. We'll have AI capable of replacing the middle class before we have robots capable of replacing the working class.
Exponentiation isn't a middle school operation. Most probably don't know what real exponentiation is until they do the famous problem in chapter 1 of baby Rudin defining it (or equivalent problem in another book), and bright students are unlikely to study this before mid high school. Normal students sometime in college probably.
It's France, they actually have standards for food quality.
In The Devil Wears Prada, Emily is told "a million would kill for a position like yours" when demurrs about her troubles. The author should be thankful they were able to get a nice education, even though it may come short in common sense. You can pick that up later if you want to.
I think most of us are pretty ignorant about how the entry actually works in the US. The majority of Americans never even leave the country so they have no contact with US Customs officials to develop even basic awareness of the processes foreigners might go through.
On another topic, please don't be that site: 66 MB over 325 requests and 30s to load over a 50mbps connection. And that's after Origin blocked 166 more assets. You're ruining the internet for everyone.

By contrast, HN is 65k and 1s.
Can you elaborate on the technical reason for being Sierra only?
This question is actually on the ESTA form: https://www.quora.com/Why-does-the-US-visa-form-ask-seemingl...
what if we made a superintelligent AI that was our Socrates?

superintelligence of a military AI is worrisome, but superintelligence of a cantankerous thinking is quite reassuring...
Surprisingly these are very controversial. A bunch of people seem to hate them. I don't understand why.
A lot more.
Yep, it is the execution of the idea where the money is. Most well known products are simple to explain / understand, but it was their implementation and ability to retain users on their platform that make them successful.
C# is capable to instantiate templates at runtime/dynamic link-time so there is no need to compromise.

Instantiation at static link time would be feasible in C++, but runtime instantiation would require an heavy runtime which is frowned upon in C++.
More readable/better formatted page with that story: http://www.crimeflare.com/doctorow.html
Over time you will learn ways to write code much faster. It's the thinking part that you can't speed up too much. This will tempt you to write lots of code before thinking, because it'll make you feel like you're more productive. The downside of the "code before thinking" approach is that you'll spend a lot of time debugging due to a poorly thought out program, and everyone knows that debugging is no fun.

The best programmers I've worked with design their programs to minimize potential bugs, and so they spend more time designing (of course) which is fun, and implementing a good design, which is also fun. They do end up with some bugs of course, but not nearly as many as with a poorly designed program.
New 250m Tower Opens to Test Maglev Elevators Traveling at Up to 40MPH
The re-design was done by Matthew Butterick [0].

IMHO it looks nice and modern, and quite readable thanks to the great typography, but there are some fair issues raised here. So I opened an issue to let them know about it [1].

[0]: https://github.com/racket/racket-lang-org/pull/28

[1]: https://github.com/racket/racket-lang-org/issues/31
Aren't there polyfills out there?

https://github.com/skatejs/skatejs#browser-support
It's almost as if the real solution to our problems is worker control of the means of production.
8 Key Principles to Keep Up with the Speed of Change
I'm not an apple fan but I don't think that is the problem. It just seems their competitors are able to deliver similar value at prices that are much more attractive.
In macOS 10.12 sierra you can option-click on the battery indicator and click on "show percentage".

Now the fact that they are trying to obfuscate how low you are on juice is really damning
A co-worker who upgraded last week to a 2016 MacBook Pro from a 2013 is complaining about battery life, too. He used to get 10+ hours and now he's lucky to get six.
Here come the Apple Apologists and the Paid Apple Astroturfers!
Hmm, doesn't this still require you to cmd-tab to the tool, since TouchBar only allows the currently focused app to display things?
I was wondering about that myself, and it's hard for me to judge because everything seems rather insignificant in comparison to 9/11.

While I was originally musing over negative events, maybe you could consider Obama's first election as the same sort of major news event (which I suppose could have been negative depending on your perspective)? That would put you right around 12 years old, which is about the time frame I was thinking of.
In broad terms of course emotional intelligence is very useful when interacting with other humans.

to pick at the 1-2% numbers a bit the impact of IQ depends on the individual; physical size/height is only profoundly important for the success of certain people - athletes primarily. however, both also have correlation with success. I'm sure the paper was more careful than this article.

IQ is often used as a proxy for intelligence, when in fact it's just a set of standard metrics that nobody thinks is that good beyond a certain point - after all the term comes from early attempts to quantify developmental delay. Leaving that aside for a moment.
OK. I'm wondering if this

captain: str # Note: no initial value!

changes the norm: Python's names don't have associated types but values do. I know there's no such thing as variable declaration and variable initialization in Python.
Going to encouragingly dispute that. Tech hubs are full of people who came out of just this situation and are ecstatic at having found a like-minded community. You may not suddenly be a social butterfly, but the chances of making friends and finding meetups you enjoy etc go up by literal orders of magnitude. If you're an isolated computer type, you owe it to yourself to at least visit a place like this for a weekend and schedule some meetups or job interviews etc to see what life could be like.
Technically you can put the template definition in a separate translation unit and rely on explicit instantiation. The linker will tell you exactly what you need to instantiate. It is tedious and seldomly done.

/Pedantic
Having more than the federally allocated amount of disagreement with Israel on various controversies
Are there any meetups in your area or other groups that have weekly/monthly meetings? If not, can I ask where you are located? Also, have you tried volunteering? Or teaching a free class at a library or civic organization?

Life (generally) returns what a portion of what you give. If you never put yourself out there, you can't get relationships back in return. I'd focus first on getting new acquaintances, they don't have to be friends. As your circles grow, you will find some number of actual friends.
Essential JavaScript Links: A curated list
Ask HN: How does a dev become a growth hacker?
I saw many courses for getting into programming and this seems reasonable, because it's a rather good defined thing to do.

But growth hacking not so much.

How does a dev get into this topic?
It helps to consider the societal context and the unique constraints which certain populations face. Depends on your starting point IMHO - if it's already unequal, it takes additional effort.
Just submitted an idea, which i think is pretty good idea, that i'm probably never going to implement myself, because i usually get lost in yak-shaving halfway (tried it three times). Let's see what ideas come out of this :)
This is a prototype to test the Multi, a maglev elevator concept announced a little over a year ago. https://www.youtube.com/watch?v=KUa8M0H9J5o
Found the SEAL!
Show HN: Wick – A free and open-source creation suite
or not American
Does Apple sell a 2016 laptop without a dedicated GPU?
Crazy Stone deep learning has analysis mode where it identifies your mistakes and recommends alternatives:

http://www.unbalance.co.jp/igo/eng/

the game engine is strong, 5d running local on my phone, no server!

here for android: https://play.google.com/store/apps/details?id=jp.co.unbalanc...

i hear it exists for iOS too
the title matches the page title, and is very descriptive as to the contents.
And this is why Trump's win was so confusing for many citizens if the US--too stuck in their bubble to understand the rest of the world and its happenings. See also Nassim Taleb's essay on the Intellectual Yet Idiot class:
https://medium.com/@nntaleb/the-intellectual-yet-idiot-13211...
Just to be clear here, Google and Facebook can and do track everywhere I go, and a lot of what I say aloud to other people, but they are now complaining about registering your online identity?

The internet in its current form is broken let's face it. It's way way too easy to anonymously attack others or to deceive others. Seemingly every day I read about some bank or company which was hacked or a radical terrorist who became radicalized online.

Right now everyone is running around online wearing black ski masks. You don't know me and I don't know you and we have very little (legal) means of verifying who the other person actually is. Maybe I live in Macedonia and get paid to post devil's advocate replies.

I would honestly be happier if we just had a national ID tied to our internet access. I sort of wonder if Internet 1 will have to break before we create a better implementation.
both of those links are 404 (at least for me)
Show percentage is insufficient. If something in my behavior will cause the battery to drop from 50% to 0% in one hour instead of six, I want to know that.
Nope, 15" one has Radeon graphics.
You don't have to be FB-scale to need something capable of handling a larger amount of timeseries data than postgresql can handle efficiently. 100 servers each producing 100 stats tagged 15 different ways aggregated into avg/50th/95th/min/max every 5 seconds is 540 million data points per hour (double check my math but it seems about right).
AI's powering themselves isn't the objection. Exponential increase in capability is. And that requires you to deal with things like heat dissipation, which are real problems for our current "dumb" computers.
Never used it myself, but can you not set a global hotkey to bring it to front?
Inline is the keyword here (litterally). Inline, in C++, is defined as disabling the requirement of having exactly one definition of a function (it is also a weak hint for the compiler to perform inlining).

Template functions are implicitly inline.

Inline in C has a similar but subtly different definition.
> If by that you mean you were then unable to collaborate with them, perhaps you have less of this than you imagined?

I am not an English native speaker, so perhaps I misunderstand some subtleties that exist in the English language, but not in the German translation of the word "conscientiousness". The dictionary translates "conscientiousness" to German "Gewissenhaftigkeit" and "Pflichtbewusstsein". I tend to work hard - thus I am conscientious. But I also expect other people to do so - so I don't tolerate loafing on my behalf; again a trait of "conscientiousness", but exactly what leads to difficulties working together with other people who are less conscientious.
I was an environmental activist back in the 1990s. When I started everyone wore the usual anarchist get up. I turned up in a pair of safety boots, black trousers, high-vis coat, shirt & tie and a hard hat. We could walk in most places together "I'm just escorting this lot off the premises".

Was great fun.
This is a limit of the public API. The private APIs apparently make more things possible and AFAIK (I don't have a TB mac) better touch tool allows to change the control strip part of the touchbar
By not caring about IE11?

You simply have to ask yourself, who do you want to sell your stuff to.

If you got a rather technical audience for example, chances are hight that most of them are using current browsers. So you simply develop for them and get a very simple build process, which eliminates many potential bug sources.

If you want to sell to Siemens, Bosch, Daimler. Chances are hight that they use IE11.

You can also start building for current browsers and if too many people complain or you get the feeling that you lose too much users by ignoring IE, you simply add Babel or something.
Having kids is a far more selfish act than not. Our species and our planet would be way, way better off if about 9/10 of us elected not to reproduce for a few generations.
Null pointer exceptions are programming errors. They're usually better handled up the stack too.

An item not found in a collection or tree is not an error.
I can't believe it. Have they lost their minds? I was trying to buy one yesterday but I couldn't find one so I gave up and got a 2015 model with integrated graphics.
> I know there's no such thing as variable declaration and variable initialization in Python.

That is not quite true, the first assignment is an implicit declaration, and will set up a slot in the enclosing code object, which is why you get an UnboundLocalError if you use a name before it's first assigned to:

>>> def foo():
... a
... a = 3
...
>>> foo()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in foo
UnboundLocalError: local variable 'a' referenced before assignment

but a NameError if you use a name which is not assigned to at all:

>>> def foo():
... a
...
>>> foo()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in foo
NameError: name 'a' is not defined

In the latter case the slot doesn't exist at all in the lexical context, while in the former there is a slot set up but it has no value associated to it.
The problem I have with this entire situation rests in the following timeline of events.

June 2012 at NSA Hawaii:
Snowden receives a quick rebuke for roping in a deputy head of NSA's technical services directorate on an email conversation regarding a workplace spat over issues updating a few servers. Snowden does not deny that this incident occurred, and the NSA has quoted directly from the resulting reprimand showing Snowden's apologetic attitude in regard to his actions after the fact.

June or July 2012 (a few weeks later) at NSA Hawaii:
"Snowden began the unauthorized, mass downloading of information from NSA networks."

December 2012 at NSA Hawaii:
"Snowden attempted to contact journalist Glenn Greenwald."

January 2013 at NSA Hawaii:
"[Snowden] contacted filmmaker Laura Poitras."

March 2013, James Clapper's Congressional Testimony:
Snowden deems this his "breaking point" in regard to the question as to "Why he did it?" Although, as the report states, he began his mass download nearly a year prior to this event, as well as contacting both a journalist and filmmaker before even taking another NSA position as a contractor for Booz Allen Hamilton.

Nowhere has Snowden particularly refuted this timeline. He, and those journalists who support him, have only cherry picked falsehoods from the overall report alluding to the rest as merely fruit of the poisonous tree. Yet, this timeline seem quite factual and troubling.
Why digital cash is increasingly important in humanitarian crises
If I were to guess I'd bet a low IQ is a stronger predictor for failure than a high IQ is a predictor for success.

Presumably, once you have "enough" capability for abstract thinking for what we consider success, then other factors, internal and external, will decide.
Oddly the underlying calls in the power api are all still there (so you can just write a quick app to query it) so I have absolutely no idea why in the world they have removed it, other than to completely irritate you.

It's infuriating.
It's not the percentage they removed but the 'time remaining' indicator.
Are you sure that's what they were checking? They've randomly pulled people aside and swabbed electronics for years so it may just be that.
Most large product companies are going to be met with some people not liking the choices, or some backlash. You make it sound like all their products receive 2/10 across the board or something, when that's simply not true. One can't please everybody, but most of the phones have been well received. I think the worst issue was the iPhone 4 models having some cell reception problems ("You're holding it wrong"). Most of the products they put out are generally liked by reviewers, with usually fair criticism as well.

That said, I think the recent years of there just being more earlier on bugs is worrying. I hope apple ups their quality control in the coming year.
At a very slow rate, at very low risk. There are always tradeoffs. I think bad about cash.
Eh, I'm sure they use some face recognition to track people and products, but that's about it. How would you have implemented it?
I dislike them because not only are they one more string-formatting method (they're similar to but not actually identical to format-strings as you can use arbitrary expressions in f-string placeholders) and more importantly they're the first one which does not work at all for i18n or more generally for deferred interpolation (which is also used by `logging`)
Superintelligence: A biased argument
This was a well-written article. A lot of people are hating on it as a "poor little rich kid" argument, but I didn't see that at all.

He put his point at the end, and man is it a good one:

> The disadvantage of an elite education is that it’s given us the elite we have, and the elite we’re going to have.

I mean, just look at the crap Peter Thiel does in broad daylight, like funding lawsuits for vendetta-by-proxy and researching
the blood of young people as a youth treatment. It's like Old Testament, incur the wrath-of-God type stuff (the blood, not the lawsuit), and the only thing that happens is Sam Biddle writes a screed and we go about our business.
How can I install this (3.6.0) using Homebrew (brew.sh) alongside Python 3.5.2? (Not replacing it)
Why would you create a new HN account just to post this?
Irrelevant truths are worse than relevant lies.
Assert_called_once: Threat or Menace (2015)
Awful. But don't pretend the rest of the world is a paragon of virtue.

We need to progress in all parts of the world.

So, instead of pointing fingers, I was curious about your thoughts on Dubai's potential Crime Prediction Software.
IQ is only a minor factor in intelligence.

Hampshire, A., Highfield, R. R., Parkin, B. L., & Owen, A. M. (2012). Fractionating human intelligence. Neuron, 76(6), 1225-1237.