skysight-inc/HackerNews huggingface dataset:
That would never happen...

Drone operators refer to children as “fun-size terrorists” and liken killing them to “cutting the grass before it grows too long,” said one of the operators, Michael Haas, a former senior airman in the Air Force

https://theintercept.com/2015/11/19/former-drone-operators-s...
Finally Facebook is making use of WhatsApp! How much ever carefully worded blog it could be, my brain considers it as "we will customize your facebook ads based on your whatsapp posts"!
Sure but you can't see the sun at night...
Everyone has read the laudryfiles right ;-)
Does anyone who likes markets actually think this makes for a better market?
I intend to read the 3-volume edition of Intel's developer manual from start to finish, but haven't decided when to do it, before or after TAOCP.
I'm just going to pimp my library (github.com/mcintyre321/OneOf) which lets you pull this off in c#. I'm quite sad it's needed though, it would be great to have it in the language.
I did some rough estimation on a map recently and decided that driving from Seattle to Miami was only slightly shorter than from Paris to China.

This is a bloody big country.
Long time ago, I used nw.js (back then, node-webkit) but too long ago to remember. However, there is bunch of posts about the subject, here is one of them: http://tangiblejs.com/posts/nw-js-and-electron-compared-2016...
> including on Facebook

not with
What makes me think I can write better code than the thousand people downloading my repo later? I don't, but somebody should do the summarizing, and it might as well be me.

Smashing the diffs together gets you the least useful parts of a purposeful squash commit.
The price also changed.
Right, thanks for reminding.
much much better to use DelegateCommand:

SubmitCommand = new DelegateCommand(()=> DoSomething(), ()=> IsSubmitEnabled);

Edit: and obviously the Command DependencyProperty on the Button will be bound to the SubmitCommand property, instead of accessing directly the button from the ViewModel, that is the worst possible thing that you can possibly do.
DE 4: Why I Love Investing in REITs
What would you suggest?

public TResult SomeMethod() where TResult : (string name, int id)
I didn't mean to imply they had no knowledge, just they lacked most of the knowledge we take for granted. That knowledge itself was accumulated by many generations of people.
Time to use something else...
Am I the only one that actually did learn this in school?
And I used BBlean on windows in the 2000s.
Singapore is taking the lead on first self driving cabs
Podcasts Can Drive Debate and Break Down Academia's Ivory Towers
NEW SILICON COWBOYS TRAILER CHARTS THE RISE OF COMPAQ
Uber lost a whopping $1.27B in the first half of 2016
> What's so wrong with keeping an accurate picture of history that people do all kinds of manipulation to their history to keep from the VCS system from accurately reflecting history of development?

What's wrong with organizing your source code in a single directory? Why do people insist on organizing them into subdirectories aud subsubdirectories instead of letting the main directory accurately reflect the size of the code base?
Who probably have PPW licences
Great, next they'll be able to tell when I'm mentally undressing the testers
My friend, you are being too pedantic. If the H1B employee is not happy with employer, the employee can switch to a new job in the US. The new employer has to apply for H1B transfer, involves a bit of paperwork but its not limited to the visa cap.
You don't seem to get end-to-end encryption.
A Tutorial on Matrix Differential Calculus with Tensors for ML [pdf]
In this day and age of flat design and bootstrap look-and-feel based blog systems and websites, it's nice to see a blog with visual character. I love the design, it harks back to when people were proud to have a small place on the web that was theirs in that they made an effort to personalise it.

The personal spaces on the web now are starting to look bland, like corporate intranets (I blame Medium and it's minimalist look for this).
Show HN: Please Respect Table Script for Hubot
If any of your Facebook friends have your number and have synced their contact list, then they do have you number.
Pokémon Go is ‘the most successful mobile launch in history,’ SuperData says
>> including on Facebook

> not with

Wow that is cleverly evil
This hunting method features in Kim Stanley Robinson's Shaman where the Ice Age hunters use similar structures to corral migrating caribou. In his account (presumably based on scientific speculation), the hunters glut themselves with meat in order to gain enough weight to survive the winter.
I doubt they will use our messages because you know, e2e encryption.
This (very carefully worded) blog post only mentions using our phone numbers.
Facebook has them, as well as a surprising number of advertisers and they'll be able to use it to determine more precisely your interests/needs/buys (because advertisers get your number from various sources like restaurants, shops, garages, etc.) and tailor their ads using that.
I wonder how they will do this with end to end encryption. They could have the app report back if any keywords are used. Also who you contact and how often.
What are you talking about? amelius is mentioning an alternative to the hacky "git undo", not an alternative to git. You put your git repo onto the filesystem.

As far as administration, most devs will have elevated rights or can use FUSE or something. We could talk about needing administrative privileges to install git, too, but it's pretty far removed from the central topic.
R-click on whitespace, "Show View Options" (last menu item), and there is "Text size" popup-button. Doesn't change anything except filenames, anyway.
I and some of my friends foresaw this day and used Google voice numbers. Still, time to look for an alternative.
I would had that the new experimental GenStage by the Elixir team may be of interest for event driven and Reactive people...

https://github.com/elixir-lang/gen_stage
It's worth noting that this particular dataset easily fits into memory. I had done a similar analysis 9 months ago on the same dataset (blog post: http://minimaxir.com/2015/12/sf-arrests/ , Jupyter notebook: https://github.com/minimaxir/sf-arrests-when-where/blob/mast...) and it is 377.9 MB on disk, 180.9 MB in memory.

Using a SQL approach for that amount of data instead of manipulating the data via R/Python may be overkill and unnecessarily verbose. (e.g. date/time conversions and catching edge cases like Feb 29)
Porting the C# compiler to Scala doesn't seem like it would constitute a real vote of confidence in the technology.
To me this is the most important thing i have learned in 15 years of coding. Its also the reason why I hate interview "tests", I don't come up with a good design straight away. I prefer to get in idea of what is needed, then think about it for a few days while working on other stuff.
How did Facebook corrupt WhatsApp? Pre-Facebook there was no end-to-end encryption, etc..
Thanks for doing it. If the whole community of hacker news decided to avoid shady companies like facebook we would probably be all better by now. As technology enthusiasts, I think we have a lot of influence on our relatives/friends.

To all reading, please consider deleting your account from shady companies.

Handy links http://justdelete.me/
from the page
>The Facebook family of companies will still receive and use this information for other purposes such as improving infrastructure and delivery systems, understanding how our services or theirs are used, securing systems, and fighting spam, abuse, or infringement activities.

So even if you do opt out,it really does not make a difference.

[Edit] : More excerpts from the TOS(https://www.whatsapp.com/legal/#privacy-policy-information-y...)

>Account Information. Your phone number, profile name and photo, online status and status message, last seen status, and receipts may be available to anyone who uses our Services, although you can configure your Services settings to manage certain information available to other users.

> Facebook and the other companies in the Facebook family also may use information from us to improve your experiences within their services such as making product suggestions (for example, of friends or connections, or of interesting content) and showing relevant offers and ads. However, your WhatsApp messages will not be shared onto Facebook for others to see. In fact, Facebook will not use your WhatsApp messages for any purpose other than to assist us in operating and providing our Services.

The only guarantee that seems to be given is the the messages will not be shared onto Facebook( It can still be used by them)
and the [...]assist us in operating and providing our Services,I would like to see what Whatsapp describes as 'providing our Services',if they one day define 'providing contextual ads and product suggestions' as their Service we really have no option here.

Also
>New ways to use WhatsApp. We will explore ways for you and businesses to communicate with each other using WhatsApp, such as through order, transaction, and appointment information, delivery and shipping notifications, product and service updates, and marketing

This shows that once businesses onboard on Whatsapp (looking at it as wannabe WeChat),then this becomes a part of its services thereby allowing our information to flow out too.
For one customer in a sea of thousands doesn't seem too worth it in my opinion
Good old "anonymous donor" providing third party technology to collect surveillance.
What Paul Graham got right – and what he missed – about email
Maybe they consider it works differently than advertised.

The end-to-end encryption cannot be reviewed because the source is closed.
There's a hypothesis there, and it may be a good one. My thought is that getting someone to hand over money for a tool based on the hypothesis will be easier if the hypothesis is supported by data indicating to what degree the product will affect the bottom line.
Isn't that basically what a lot of law firms do? Take a class action lawsuit with a "no win, no pay" type of contract. And if they win, the lawyers get 30% of the settlement.
Ask HN: Learn another programming language
Hi HN. I want to know how do you learn more programming languages. When I want to learn a new one I only find really basic pages, with stuff like int, strings, etc.. And if I try to learn with a personal project sometimes I have a bad time with code I can't understand. What I mean is that I know language A, but I want to learn B too, so I know how to program, but not in that language. Thanks!
My previous job's commit diff was -15k, while still writing a lot of the features. I smiled when I saw that.
> I have no idea you mean by that. The link you provided did not help.

You can't define a type in Go whose instances are rectangles. If you define:

type Rectangle struct {
Width, Height int
}

Then a so-called “Rectangle” is actually a mutable object whose current state is one rectangle, but whose state the very next moment might be another rectangle.

> I'm sceptical about that. I am going to need an example of a LSP violations made with immutable types.

I never said that ML violates the LSP. I said that it doesn't solve the rectangle-square problem.

> I'm not sure what you are saying here. Does ML prevent the problem, or doesn't it? You seem to be saying that it doesn't. But according to Wikipedia, ML is type safe (for some definition of that term), and in your initial comment, you stated that type safe languages ensure adherence to LSP.

ML adheres to the LSP trivially, because the language has no subtyping relation to begin with. Another way to view this is that every type has exactly one subtype: the type itself. Unfortunately, precisely because of this, it doesn't solve the rectangle-square problem.

> Because I can get the address of it in Go? So what? That's hardly something you do by accident. And if your point is about what the language makes possible, rather than what it makes likely,

I can't prove theorems about what a language makes “likely”.

> I assure you that you can get in wrong in any language. The only difference is how much effort it requires.

You can't take the address of a rectangle in ML. The only things that have physical identities are reference cells, and two physically distinct reference cells are always considered different values, even if their contents are the same.

> In the Rectangle/Square example, calling setWidth() or setHeight() on a Square are perfectly alright as far as the Type system is concerned.

What you're calling a “Square” is, as a matter of fact, not a square.

> LSP is not about type errors: The symptoms of violating it are not that operations are performed on values that are not appropriate for values of that type.

You are projecting your wants and desires (namely: a type of rectangles, a type of squares, and that the latter be a subtype of the former) onto the LSP, but the LSP doesn't care. The LSP only cares about the types the language actually gives you. The meaning of a type isn't in its name, but in what its instances actually do.

> If the programmer had thought to specify -- using types -- that a Rectangle’s width and height should always be independently adjustable,

Then the programmer doesn't know what a rectangle is. (Assuming you meant “adjustable using a setter”.)
LightTable started as a clojure/-script IDE which are not imperative but functional languages.
This is exactly what Facebook knows about you, and it's terrifying
10 Awesome Tools and Resources in DevelopHub
The Mysterious Student, Dieter Rams, and Cracking Global Markets
Be careful with hard resets - they throw away working tree changes. Ironically, it's one of the few git operations you actually can't undo. (Usually I prefix such scripts with "git stash save" due to this.)
> People would like to run their Win32 apps on their smartphone

And they did actually. Windows Mobile - the original Windows Mobile, 2000-2012 - had 42% smartphone market share in 2007, a native Win32 API (and .Net Compact Framework for C# and VB.Net too), had WinCE kernel and worked on x86, MIPS, ARM and SuperH CPUs.
A brief idea on how to name color variables
That's the opposite of a real scientific advantage.

Most drug effectiveness is related to the population in which it is deployed, based on their combination of unique risk factors and etiologies. Socioeconomic factors (and I mean that in its accurate usage, not just a short-hand for "income") are a huge example: they're one of the biggest predictors of health outcomes and responsiveness to various treatments, and using a population with wildly different SES factors fundamentally kills the trial.

A sample population which accurately reflects the general population in which a drug is to be deployed is assessed, in clinical trials, as something known as "external validity" (as opposed to "internal validity", which is just whether the experiment is properly designed to test its stated hypothesis).

tl;dr apparent drug effects in Africans are not useful indicators of drug effects in Americans, particularly if your premise is "those drugs have different outcomes in Americans."
I read somewhere (it was a while ago so can't remember) that it was to do with people spending a lot of time indoors, and never needing to look off into long distances.

Personally I do a fair bit of outdoor sports, and I have one eye thats fine and one that is quite badly short sighted.
> Thanks to years getting people accustomed to the usability nightmare that is the web

You mean the nightmare that is typing an address into a input (or just searching on Google) and being able to near-instantly use an app, even really bad applications that we all complain about?

That nightmare? I'll take it over per-platform applications that have different UI paradigms and that I must install/support manually myself.
With end-to-end encryption they won't be able to read the content of your posts. However, I guess they can tell who you spoke with and when, so it adds to Facebook's social graph.

I can imagine Facebook advertisers eventually being able to push messages to WhatsApp.
Good thing Asia uses Line more than What's App.
that is because the task is boring, if it was engaging kids would focus on their own. its not more enthralling than the thing her attention diverts to. with screens, we have trained kids to always have ever changing dopamine bursts and excitement. school hasnt adapted to the chaoticness of our desires (and maybe ti shouldnt, maybe focus is a skill we should hone, instead of obtain through cheating.)
8 minutes of programming advice from my 13 year-old self
Did you see the source code of WhatsApp? Do you know somebody that saw it?

They can tell all they want, but I won't trust them until I (or someone I trust, e.g. Debian, FSF, etc.) see the code.

Also being end to end encrypted does not block whatsapp from censoring you or your friends/family! See how they "disabled" links to telegram https://orat.io/blog/as-of-today-whatsapp-is-blocking-telegr... and removed the telegram page from facebook.
>I guess the point I wanted to make was that having proper generics in a language is very hard and whats why very few languages attempt to implement it.

I'm not sure about this, I believe it's a solved problem.

Languages have had them for decades, and lots of different avenues have been explored. Neither Java nor C# (and those are mainstream pragmatic languages, not experimental academic affairs) have particular issues with their (different) respective Generics implementations (except the obvious tradeoffs I mean -- but it's not like programmers or their compiler writers are strugging because of them in any way).

They are also quite easy to add to a language (even hobbyist languages have them) -- I'm not sure why you say that "very few languages attempt to implement it".

The big two used by tens of millions (Java and C#) have them, C++ has them, F# has them, Swift has them, Scala has them, Delphi had them, lesser used languages like Ada, Julia, Haskell, D etc have them. Heck, almost all modern mainstream languages have them.

"Proper generics" is a red herring put forth by Pike, where its would only be OK to have generics if it came without any tradeoff at all, where tradeoffs even include the compiler being harder to write.

Yeah, I don't think they can magically created pain free either. I do think they solve a lot of pain where it matters: for the programmers.

>And people are still arguing whether generics in C++ do more harm than good (i.e. complicate debugging).

That's because generics in C++ come with all the template baggage and a full turing-complete and complicated scheme to work with them. There's no need to go there.
You can use other messaging services. But the one you use may get bought up. They are fickle.

Why isn't there a popular p2p solution to messaging (other than email)?
Email, and making email better, is a topic everyone connected to the internet should care about. I know I do. I'm especially intrigued by how email can be tailored to different needs. Whilst I'm not in sales, I can see the value here. Intrigued to hear others thoughts.
It's kinda hard to get a conversion from a single ad for anything more than an impulse product.
Maybe something like close all tabs open in the past 10 minutes as well, although I'm not sure how this could be done as elegantly.
Personally, I only care about when the code hit master. Because that's when it could potentially have broken shit for everyone.

That I committed it locally is pretty irrelevant: I could just as well NOT have committed it, made a backup of the files on the side, copied them back in...from the perspective of the rest of my team, my local history is an implementation detail.

If the only thing I do is manipulate my local history, then open a PR and merge, master's history will actually show something much closer to the truth: That on X date I added something to master.

That I spent 6 weeks and 300 commits locally to do it (kids, don't do this at home!), literally doesn't matter to anyone.
Maybe that's something a newer engine like Servo can just build in. Allow everything to be configurable in the build. Don't need float: left? Just use --no-floats.
I prefer git CLI mostly, except for merge conflicts. Exclusively for git merge conficts I use IDEA IDE resources. Otherwise CLI is my friend because I feel safe (git push and git commit have the best color-coded messages in most OSes)
FUCK THIS!

https://blog.whatsapp.com/245/Why-we-dont-sell-ads?

The only reason I hang onto it is that someone with my contact number might send me something & I still need my cell number to access it otherwise.
If you're in a billable hours environment, you can't be 10x as profitable by billing more hours. You need a higher billing rate (that is actually paid by clients). This is hard to get and keep if you are inefficient.
Great job, I think the idea of adding different languages or widgets should have an "App" concept were people plugin technologies. That way there can be various githubs of projects separate from the main project were people contribute at free will, that would be really awesome and great for the project.
Best Regards,
Alternately you could have your SQL cake and eat it too using any SQL where you can define custom functions, such as in SparkSQL
Right... So because the US government treats some people badly, all of its employees are fair game for torture and murder. Which other countries' civil servants would you also like to see killed?
He could go with Open University. Accredited worldwide, everything done remotely and my understanding is that some people even manage to study and work full time, so theoretically he could get there in 3 years or 6 if part time.
I am working on this in my kbsportal.com NLP demo. With accurate coreference substitutions (eg., substituting a previous NP like 'San Francisco' for 'there' in a later sentence, substituting full previously mentioned names for pronouns, etc.) extractive summarization should provide better results, and my intuition is that this preprocessing should help abstractive summarization also.
Introducing the Octobot: The first autonomous, entirely soft robot
No, I don't think that.

But I'm enough of a realist to see first generation asians / indians operating laundromats or chinese restaurants and their children becoming doctors or lawyers. So to my mind US is the land of high social mobility - for people who are intelligent and are willing to work.
This will probably be pushed with the next update, when you have to re-agree with the terms of service.
One of the most underrated software these days. I also wish they went further with Rust integration, looks like they gave up on this feature :(
Autologin doesn't really matter for me, with a single primary account, autologin can be enabled anyway. Controlling the TV with the hand, while I haven't used it long term, was a rather annoying experience IMO, since it twice did things at a friends house while we were talking... Even the voice features... its become a thing to troll people by yelling xbox commands over chat, if they have chat on the TV, you can really screw people up... I would probably disable that anyway.
> Maybe, but for them to be aware of it, someone had to come up with the idea, right?

Ants were doing it long before us.

https://en.wikipedia.org/wiki/Aphid#Ant_mutualism

https://en.wikipedia.org/wiki/Ant%E2%80%93fungus_mutualism
MPAA and RIAA Unable to Stop Suicide Squad Piracy. Cost the Franchise Millions
> He's made enormous contributions to human knowledge, but doesn't seem to be interested in the hard work of bringing a product to market.

what exactly do you define as "the hard work of bringing a product to market"? To me, his work at Google certainly applies as bringing a product to market - the cat recognition deeplearning AI is a product.