skysight-inc/HackerNews huggingface dataset:
Regarding 2, the other advantage Trump had was that some of the big claims about him were plain and simply untrue. For example, the Slate story about his supposed secret communications channel with Russia - it was an outsourced bulk email provider for his hotels, every single piece of evidence was exactly what you'd expect from such a server, and a number of major news outlets had declined to run the story for that reason. But it just took one publication willing to ignore the issues and run it for the story to spread like wildfire on social media, just like fake news, even being repeated by Hillary Clinton's Twitter account which received a huge number of retweets for it. One of her staff members even attacked the FBI for not investigating it, and once the NYT revealed they had investigated and concluded it was a junk email server, her supporters took this as proof the FBI were conspiring with Trump. The comments section on any vaguely related article were filled with people insisting on this right up until the election. Think about that - we had a situation where people believed the FBI was conspiring with Russia and a presidential candidate because the FBI refused to see junk emails as proof of secret communications between the two.

We're seeing something similar with the latest Trump story, which is also based on a document that's been doing the rounds in media circles for months but was too dubious to report[1], and is being widely and uncritically spread on social media by people who often openly don't care whether what they're claiming is true or not.

[1] https://www.buzzfeed.com/kenbensinger/these-reports-allege-t...
I read half or quarter of top 500 public companimy ceos are considered psychopaths clinically. I think for anyone to reach such high level of achievement, you are crazy to begin with.
True, AUTOSAR is the current standard for embedded automotive systems. Regarding safety I heard different things about it, some parties would only use it for up to ASIL A, others to C, others also to D. My personal opinion is that AUTOSAR (and even it's basics like C as a programming language and the OSEK OS) are not the best solutions that we should come up with for all the safety critical tasks in the autonomous driving world. Someone like Lattner would clearly have the potential to improve the current state of the art there a lot - but it's uncertain if Tesla would share any advantages with the remaining industry.

And regarding memory allocation in reliable automotive systems: Yes, the best practice would be not to allocate at all to get to some deterministic behavior. However I've seen lots of projects where "don't allocate" is implemented as "don't allocate with malloc", and you find dozens of custom memory allocators and pools throughout the code. Some of those designs are probably less reliable and safe than using a garbage collected language would be.
The Top 4 SaaS Marketing Challenges and How to Overcome Them
It's written so that it's hard to change on purpose. Originally you couldn't even tell your lawyer too much about it (I think you still can't, but I could be wrong). That's why NSLs need to reach the Supreme Court multiple times before they resemble any form of common sense.

And even then, when the law will have to change to address the Supreme Court rulings, the FBI will probably still push to basically ignore some of the Supreme Court decisions, already knowing they are unconstitutional. But if that can buy them an extra 5 years of abuses before the NSLs reach the Supreme Court again and the law has to change again, they are more than happy to play that cat and mouse game.

The GCHQ in the UK has been doing the same thing. By the time the previous surveillance law is declared illegal, they will have already passed a new surveillance law that would have to be challenged in court again, and on and on we go.

They did it when the data retention law was declared invalid by the CJEU and they made the Parliament quickly pass DRIPA in 2014 to "make it all legal again". And now the CJEU said DRIPA was invalid as well. But they had already passed the Investigatory Powers Act, which will likely have to be brought in court itself, too, to be made invalid.

By then they'll just pass an "amendment" to "make it legal again", even though it likely won't, because none of the mass surveillance "features" they want in these laws will ever be considered legal either by the CJEU or by the European Court of Human Rights. But they are also happy to play the cat and mouse game.
It is possible to have more than half above the national average. I doubt it's probable though.

We just need a few to bring the average down so much, the rest are above it. Got to use those outliers to make some good PR.
Actually in the eastern part of the Europe (former soviet influence zone) smaller cities are planned, and they are planned really well. As the parent posters have said, it is very similar to the former USSR - you have a lot of green, shops, schools, kindegardens, parks within a walking distance from where you live.

After we ditched the planning and switched to market economy, suddenly developers (the ones that make buildings, not code) started building a lot of buildings without leaving a space for either green or parking spots. As a result in the newer parts of the cities we have a very crowded leaving space, cars are parking everywhere, there are few shops, schools are far away etc.
1. Say nothing.
2. They ask what's going on.
3. Stand up and leave.
Homebuying in 2016
if you do the build with "pub build --mode=debug" you can use sourcemaps to debug either in chrome devtools or firefox
Next to the comments made by other users, it seems like the app just uploaded my address book without explicitly asking me. This was a really scary situation and resulted in an instant uninstall to hopefully stop it from uploading.

Not the way to handle this.
That is absolutely not how the average works.

1, 1, 1, 1, 11

Average is 3, all but one are below average.
Yet another fantastic reason to get rid of captive portals. They spy on you _and_ are frequently broken.
> Certainly easier than to employ systems thinking about why players are pushed into states conductive to being upset by others, or wanting to upset others.

League of Legends and its genre are popular because of the highly competitive nature of the game. A highly competitive game naturally leads to frustration sometimes. The only way to take away the frustration is to remove the competition (and ruin the game).

Do you have any other proposals?
I have no idea how facebook did it, but it recently asked me to add my surgeon as a friend (I recently underwent some surgery).

-I don't have facebook installed on my phone, I only sometimes use the website.

-my facebook mail account is not my main one.

So I am not sure how they tracked that we know each other but that's creepy as hell.
So the land could be used better. That's my takeaway from the article, too. If the zone can't afford the infrastructure then it should be repurposed/zoned. Bonus points if it makes cities more walkable/less designed by car.
It will never use HTTPS, so by visiting it, you allow the man-in-the-middle to do its thing, and show you a log-in page or whatever.
Looking at both github repos, jsbeautifier looks more complicated (as a project), and I don't think it uses the AST or at least I did not see anything that looked like it would create one. Looking at some of the code I saw `string.replace(...)` so it seems to be string-manipulation. It also is for HTML and CSS too it seems, while the project discussed here is just JS, so more targeted, and the approach to go through the AST seems intriguing to me.

PS: This seems to be the code for the JS beautifier in jsbeautifier: https://github.com/beautify-web/js-beautify/blob/master/js/l...
Also, before I could even listen to one story your app tried to force me to watch a 20 second ad. Needless to say it is now uninstalled.
A Dark Web Child Porn Site Is Forcing Its Visitors to Learn Security Tips
So is there a matching method to neatly introduce MITM in the connection? Our portal would let you log on but you'll still fail to connect to anything as we have to inspect it.
avoid soft paywall
Reinforcement Learning via Recurrent Convolutional Neural Networks
You would be right if it weren't for Chromium.
Relevant: A draft RFC for an X.alt tld, so in the future the next thing like the next X.onion would be X.onion.alt instead, with X.oninon not expected to change due to backwards compatibility: https://tools.ietf.org/html/draft-wkumari-dnsop-alt-tld-00
Looks really cool and must have been a fun project.

I guess it's not hugely practical, partically as each Pi has a display attached.

Mythic beasts in the UK are doing Pi based co-location. I think this could be interesting. Not perhaps in terms of performance, but the isolation between users in nice.

See here:
https://www.mythic-beasts.com/order/rpi
Show HN: Six Degrees of Kanye West – See How Close Artists Are from Kanye
While I'm also often annoyed by global negativity on HN (which, to be fair, has greatly improved lately, way to go guys!), I didn't read parent comment as aggressive, but like if "ummmm no" meant "wait, let me think about it for a sec... no, I don't think so", like you mention in your edit.

But now, this user has been heavily downvoted, which is aggressive, without any doubt. I really wish downvote features were out of the web, this is just group bullying. Upvoting is plenty enough to make good contributions raise above the others.
Warner backed startup aims for streaming-audio landgrab
Also, aren't Service Workers transparent, which the AppCache isn't?
The spy who accelerated me: Meet the 7 startups fighting cybercrime with GCHQ
Like what, the cabbie could be car-jacked in Amsterdam? I do not belive you. Maybe the cabbie figured he wouldn't find a passenger for the return ride and declined.
Yes, but how would you print that infinite sequence of 1s?
A lot of open space is great because the wind can blow. When you block the wind you get poor air quality.
In Cracow, Poland we have that trouble, there are buildings that block natural wind and the polluted air sits and makes people sick (PM2.5 and PM10 are > 300% their safe levels, see https://map.airly.eu/)
Humble Book Bundle: Dude Care (pay what you want and help charity)
I think it would be worth providing a reference with a claim like this, as a courtesy rather than as proof, so to speak. If it's interesting enough to post in a comment, it's likely interesting enough that others would want to read more about it.
I assume this is exactly what SomeCallMeTim meant.
Yes, explicitly awaitable futures/promises are slightly less ergonomic than coroutines, but this is a very reasonable trade-off.

You give up:
1. Extra cognitive load every time you need to await.
2. You've got to be more careful when designing some generic higher-order functions (you need to decide which color their function arguments should be).

In return you get:
1. Explicit concurrency. No function that you call unexpectedly suspends behind your back. In some cases this explicitness could be actually important (e.g. when using per-thread/process shared memory).
2. Futures/promises/tasks are first-class values. You could pass them along, save them for later, await on all or any of them and so forth.
3. Theoretically speaking, promises can be more memory efficient than coroutines since you don't need to allocate a full stack for each of them - just the state you need.

"What Color Is Your Function" is misleading: there is no strictly superior solution for this tradeoff.

Futures/promises encode concurrency as a monad and like every monad they are viral and once you start propagating them around, they can be a pain.
But the alternative for not encoding some concern of your program as a monad is to let it pass through an implicit side-channel (I/O, error-handling, global state, built-in scheduler) that is harder to control and can't be treated as first-class object in the language.

Go itself chose to go the explicit with error-handling. It doesn't even uses Monads, so it gets the worst of both worlds in my opinion, but the designers' main concern with exceptions which they managed to avert is still valid: with (unchecked) exceptions you never know which function you call is going to raise an error on you somewhere down the line.

So yes, with Go you'll never have with unexpected throws, but you'll have to deal with unexpected goroutine suspension.
In Go all of your functions will be happily colorless with regards to concurrency but will be colored with regards to error-handling.

Again, both choices here are valid, but they are not so brain-dead simple or universal as this article is trying to put them.
As parent said: "not affected by how you pass on information". Highly unusual behavior meant to signal something is just the same as explicitly saying it. This kind of attitude won't fly in a court, they very much take intent rather than exact wording into account when ruling.
I Didn't Get Hired to Google
don't know about missiles but if we include rocket science in general there is plenty literature on how they cheated statistics to get the shuttle going https://science.ksc.nasa.gov/shuttle/missions/51-l/docs/roge...
So true.

I sometimes have to debug some stuff on Safari and it feels like IE7 debugging back in the days.
"predictable performance (no garbage collection pauses)"

No garbage collection means more fragmentation though which can be an issue at some point perf-wise, there's no free lunch.
I'm glad that there isn't a standard. Implementing a captive portal should be a painful experience that ultimately results in giving up and not using one.
It depends on what you mean by "national average".

My point is that for internal competition, using a comparison to other members as a target is never going to end well. In the end, the 'average' figure is a pretty meaningless value.

Instead, I think it's more important to target a standard. E.g. a minimum level of literacy/numeracy. "50% of our children can't spell" is a much more meaningful statement. Now as for how you measure that... that's a whole other problem.
Bitwise opetations assume an infinite number of 1s on the left for negative numbers (2s compliment) e.g., ~-1 == 0 (-1 is an infinite number of 1s that are converted to 0 by ~ (invert) operator ).

3 == 011
2 == 010
1 == 001
0 == 000
-1 == ..111
-2 == ..110
-3 == ..101
I've had the same Tom Binh Brain Bag backpack for about 15 years and I love it. Wearing it right now in fact. I also have an insert accessory for organizing papers, pens, etc. and a padded laptop protector.
Just have metered parking everywhere and have the cost per unit time reflect the local demand for parking. Now you've eliminated an externality.
The distribution of Childrens' performance tends to be Gaussian.

Salaries not so much...
The how to link in the description doesn't seem to be working but it's here:

https://www.hackster.io/mathwuy/elite-dangerous-ship-assista...

Neat hack! It's awesome that Amazon have opened there API to the degree that you can implement these kinds of things. Hope Siri does the same someday (though I think it's unlikely).
The everything. In the US, those cities were built in the past for uses that are now outdated or outsourced. In China, the government appears to want "the city" to fulfill some sort of ego trip. They perceive cities as more valuable than rural towns despite their culture not really being at that point. Overtime US cities have become outdated while Chinese cities are a solution in search of a problem.
Yes, that is the one.
Is it possible your bills are partially being paid by the folks in that dense bit you're so far from?
Of course. In Japan for example if you can name a topic or activity, no matter how obscure, there will be an otaku (enthusiast) or even a club of otaku for it. What makes you think there will be less interest in obscure topics in the future?
Shrimpit – CLI analysis tool for checking unused JavaScript, JSX and Vue exports
The fact that it's on the front page of HN shows that it seems to be interesting to people. Otherwise it wouldn't be here.
Surveillance Court Pushed Back Against Spying on Trump
Why is a turnaround expert joining Snapdeal?
> captive portals are whitelisting the domains it hits to check for a captive portal.

Why?
I'm also incredibly careful with my phones, almost to the point of not really being able to enjoy them for the first few weeks because I'm overly cautious. Nonetheless, my Nexus 5 suffered from the power button issue that seems to be quite common.

You're correct in that the CPU can be a big factor but I don't play mobile games or watch much HD video so it wasn't as much of a concern to me. It should be noted that the Nexus 5 is running a 32-bit SOC whereas the new phones like the Pixel are running ARMv8 64-bit SOCs which have noticeable performance improvements, particularly with regard to encryption. Newer phones will also have more RAM which is actually a noticeable difference for me in day to day use as well as higher speed memory.
I think it's =much= easier to read compared to the one in the article.
Although the usual approach is bit shifting the input and checking only the lowest/highest bit.
Here is an example in Java:

static void bin(int n) {
for (int i=0; i<32; i++, n<<=1) System.out.print(n<0 ? '1': '0');
}
Is its a point of view only in people that are to young to have lived the debacle of IE6 years ? Or do some senor devs actually think testing in chrome only is ok ? Cause I read it more and more, and I find it very alarming. If this becomes a trend, we are going to live in pain all over again.
Case-in-point, see the BBC coverage in meltdown over the Labour leaders nuanced view to immigration.

People crave targets and promises, It doesn't matter one bit about what is achievable.

small example, http://www.bbc.co.uk/news/uk-politics-38561501
I actually really like that about Go. Not the fact that it wasn't set on standard, that was annoying. But the fact that Python modules can be anywhere as long as they're in some path can be confusing and hard to track down code. The Go mode is very restricting, but it keeps the environment tidy.
This is entirely true.

It would have been interesting to see what action the FBI would have taken if a Congressional(?) staffer had become aware that the FBI's interpretation was different to the lawmakers.

It is certainly possible that the FBI would have been reluctant to pursue persecution in this case.
I take it you didn't read any discworld novells. There, the thieves guild is allowed a low ratio of unprocecuted thieving in return for their protection from unlicensed thieves.
Pure Green Coffee Bean Dietary Supplement
Concept C#: Type Classes for the Masses
>uses less memory

That is very much _not_ the case according to the testing I have done recently.

Swift uses a lot less memory than Go unless the program uses only trivial amounts of memory in the first place. Using interfaces in Go data structures makes the difference even more pronounced.

On top of that, all runtimes that use a tracing GC require tons of spare memory at all times unless programs are very carefully written to avoid memory allocation.

That said, Swift has a few very weak spots when it comes to memory. Most notably the String type, which is terrible on all counts, but that is a whole different story.
A real pleasure to watch, great job!
Very cool, yet surprisingly boring to watch.. ;)
Where I've lived, the flats made in 60s to 90s had rather varying soundproofing. Worst case you could hear neighbors chatting and their babies crying, best only bigger noise.

But apartments made since 2000 have had excellent sound-proofing. Absolutely silent from neighbors. Only reason not to live in a new flat with walking distance from services is if you really like gardening.
... b/c zero tolerance policies
>Tim Cook being passive and an operations guy with no founder vision or drive.

I'd disagree with this, he has vision and drive he's just not got a great vision and sees no value in the Mac line yet pushed out weak products like the Watch and the iPad Pro.

iPad Pro might have made sense if launched at the start but launched when all the pro apps have left the iPad platform it just seems like he doesn't even understand his own ecosystem.

Thankfully they seem to have dropped the fantasy of shipping a car.
How many years off are we to truly conversational computer talk? The prompt 'pings' get in the way of the flow.

When will I be able to just talk to my computer and have it know I'm done and respond, with a 'ping' 'pong' system?

I don't even use my car's voice commands because it's really slow to use while driving. I would love to just say: "Hey text my wife I'll be home in 10 minutes" and have my car respond.
Trump intelligence memo indicates that Telegram Messenger has been cracked
>>You can trade off future maintenance by spending more initially, or vice versa

> Umm is that really true ?

Maybe not universally, but often, yes. E.g., you can build using more expensive materials that will last longer/are more resistant to environmental decay.
Exclusion, Omnicompetence, and Illogical Thinking: What Explains Today's AI
This means any CSS or JS that delays ("blocks") rendering of "above-the-fold content" (content you see immediately - before scrolling) should be removed or made non-blocking.
Stations and even heavily trafficked parts of the RLD are already covered with cameras, so they're clearly only so effective.
Abstractly something on layer 7 of the OSI model shouldn't care exactly how the data is being routed, but the security considerations of using TOR breaks the abstraction. A naïve client could be made to leak identifying information through any number of side-channels. Since the lower layers can't have a whitelist of acceptable applications to connect to .onion addresses, the applications themselves must voluntarily refrain from connecting.

This is like the prevailing wisdom to check malloc's return value, not storing passwords in the database, not rolling your own crypto, etc. except that in this case it actually got included in the standard. Unfortunately like all those other things, there's nothing that actually prevents a programmer from breaking the rules.
There is no "usual" behavior when you're in a discussion and a gag order prevents you from continuing it, as it's not a situation you're used to. I'd actually consider what the author did unusual.

What are they going to charge him with? Violation of the gag order by saying and doing nothing? That would only serve to ridicule the whole practice.

Gag orders seem to do exactly what they're supposed to: They scare people into compliance. Are there actually any cases where someone was charged for breaking a gag order?
Numbeo Cost of Living Index 2017
For machines with the Touch Bar, this can be achieved using System Preferences -> Keyboard -> Shortcuts and choosing "Function Keys" from the list of categories. You can then specify apps that should show function keys instead of app controls by default. (i.e. inverts the behaviour of the fn key in the listed apps.)