skysight-inc/HackerNews huggingface dataset:
I've ended up doing something a bit like this in Java, but rather than using interfaces, i do it with a suite of lambdas:

String perform(Supplier<String> speaker) {
return speaker.get();
}

This is a poor example, but that's what's in the article. Better might a method which is going to do some message broadcasting or something. With interfaces:

interface Broadcaster<T> {
void send(T value);
void reset();
void close();
}

void pump(Source<T> source, Broadcaster<T> broadcaster) {
// this logic is nonsense but hopefully it makes the point
T value;
while ((value = source.poll()) != null) {
try {
broadcaster.send(value);
} catch (Exception e) {
broadcaster.reset();
}
}
broadcaster.close();
}

You might write:

void pump(Source<T> source, Consumer<T> send, Runnable reset, Runnable close) {
// still nonsense
T value;
while ((value = source.poll()) != null) {
try {
send.accept(value);
} catch (Exception e) {
reset.run();
}
}
close.run();
}

If you had an actual Broadcaster, this is simple to call:

pump(source, broadcaster::send, broadcaster::reset, broadcaster::close);

And if you don't have an actual Broadcaster, or if there is no such interface, it still simple to call, because you write references to whatever methods you do have. They could be on different objects. They could be lambdas. They could be no-op lambdas if you don't care about one of the events. In a unit test they could be:

List<String> sent = new ArrayList<>();
pump(source, sent::add, sent::clear, () -> sent.add("CLOSED"));

Etc.
> the other country fighting in Yemen

Care to cite any reports of any Iranian bombings of civilians or starving of civilians in Yemen? Or in fact any evidence of Iranian involvement at all (beyond the usual "our confidential Saudi/US sources say")?
That isn’t what this article is about.
Isn’t it though? From an outsider’s perspective, it looks like a mess.
That sounds interesting, do you happen to have a documentation link or similar? I can't seem to find any info about it.
That's just your perspective. I live in the Germany where we have very strong data protection laws. Is it natural for people to assume that these laws are broken at such a large scale? And that abuse goes completely unchallenged for years?
Most of this is happening in urban areas, which are probably more diverse then SV. However I'm sure most of this is also happening at the higher income and education level, which is less diverse in the midwest.
There are still a lot of barriers for non-whites.
Got the original screenshot perhaps?
> The "professional" journalists working for the NY Times KNEW about the Weinstein story as far back as 2004, but spiked it under pressure from various Hollywood interests.

Would you care to stand that up? Because it seems unsubstantiated.
Even better, chewing out a subordinate leader in front of their direct reports. Quickest way to make an enemy for life.
I made a Facebook web scraper which opens 20 headless browsers. You provide a list of unlimited usernames & proxies (you can buy them at https://buyaccs.com/en/). It will scrape every ounce of public information available. I acquired a few million users worth. The data is too easy to get.
GDPR can't come too soon. That would definitely put an end to these shady practices, as the penalties of several individual infractions would endanger any company.
Magnesium May Save the Town of Asbestos
Why Americans still avoid MSG though its ‘health effects’ have been debunked
Massachusetts Begins a Probe into Facebook, Cambridge Analytica
my first programming class (high school, 2008) used Borland Turbo Pascal. it was honestly a very pleasant user experience.
Everybody knew about the data leaking for 'quizzes and games' since 2009 http://www.cbc.ca/beta/news/technology/facebook-breaches-can...

WikiLeaks also covered this earlier in their spyfiles warning. People don't care that a political opinion survey being spammed around by their friends is actually harvesting their details in a campaign dossier to manipulate them directly later.
I'm not convinced. If you're trying to debug a process, you should only operate on the messages and state. The messages you can log, and the state should ideally come only from messages, so you truly only need the messages.

One of the strong points about this way of implementing interprocess communication, is that it allows you to have a new and old version of the same process working concurrently, with the new only running and comparing it's output with the old one. Once you're convinced they work the same, you can retire the old process. To fully leverage this, every message should be platform and implementation agnostic. Even if it's a monolithic system on a single server.
How is that significantly different from Western Europe? Or the Middle East? Or Sub-Saharan Africa? Are the poorest of the poor there making it here? Why are East Asians over-represented in higher education or H1-Bs compared to other places?
Saudis have been directly supporting Al Qaeda and its off-shoots like Nusra, the guys who cut off people's heads on camera. Oh wait, Saudis actually chop off people's heads regularly themselves. What's your point?
Lol, "this is bad"? This is normal. I can give you an entire list of F500 companies I've worked at that have the same mindset. I've sat in meetings with F100 CIOs where they were given the same warning and shrugged it off. I've been asked before to turn off security monitoring systems because executives prefer to not know about vulnerabilities rather than know about them and not be able to fix them.

The only thing shocking and horrifying about this whole thing is how naive the American public must be to find any of this shocking and horrifying.
Child abuse imagery found within Bitcoin's blockchain
I suppose stock option values will plummet, but I guess most get stock grants now.
Not really. Without oil the monarchies would struggle to survive. According to this article Qatar was just a poor city by the sea until oil was found: https://mobile.nytimes.com/2018/03/14/magazine/how-a-ransom-...
> Their existence is commonly assumed and Israel does little to dissuade the rumors, but we do not have specifics. No doubt they have the devices

Just so you know, that's the definition of an open secret
I'm sure you can do a better job at illustrating your point than ressucitating a +10y old quote from Zuck, 19 at the time.

Teenagers and college students say a lot of condescending, dumb, immature stuff in group discussions. It's not news and no evidence at all.
Of course, nothing is going to change since everyone has known this for years, and still use FB.

In the upcoming weeks users will be more 'careful' but since they have 'nothing to hide' it's 'Okay' to use FB in a 'responsible' way.

'Everyone' is shocked but no one feels threatened individually, so the circus and clown show can continue.
It’s a well-known confidence trick called “The Big Store”:

https://en.wikipedia.org/wiki/List_of_confidence_tricks#Big_...
No one cares what you're impressed with.
> not even the bay area has that going for it anymore.

Are there definitive stats on this because I would disagree especially compared to the Midwest?
AWS is Intimidating–but not in the way you think it is
A Field Guide: Microservices vs. Containers
The function chaining is a game-changer, if you're talking about maintainability...

The temporary variables are eliminated,and the type-based chaining self-verifies for new modifications, neither of which you get in C#. Also, thanks to better support for higher-order programming, common post-launch activities like performance upgrades and async tweaking happens with stronger guarantees and oodles less code.

In terms of essence: namespace shielding and modular composition gives numerous opportunities for logical encapsulation and complexity management that are not feasible thanks to C#s extension semantics and extension method requirements. All of the above can be defined in one type, for example, instead of multiple... The end product is just wildly more cohesive in F#/OCaml, with more options throughout to produce more maintainable solutions.

F# can also use (a slightly improved), version of C#s extension semantics, as needed. But the functional composition, currying, Discriminated Unions, and exhaustive pattern matching in conjunction with the module syntax yield a final product that is markedly smaller and distinctly more maintainable than it's C# counterpart.

Not to mention: from a syntax and readability perspective this just destroys its Fluent Interface counterpart, in about a third as many LoC. Start looking into things like custom operator support, DSL support, computation expression support, etc, and the maintenance improving possibilities just blow the .NET baseline out of the water.
Can someone do an ELI5? I have no idea what's going on...

EDIT: I guess not.
What did you think was happening at a company collecting data about billions of people?

I'd expect it to use it for advertising targeting. The privacy settings I've put on there exclude other uses.
Facebook's current problem is that they've now created a lot of enemies and they're running short on friends. This isn't quite as bad as it sounds, because creating enemies when you reach this scale is inevitable, so the mere fact that Facebook isn't everybody bestest bud ever is not intrinsically a problem. However, one of the fundamental ways to defend yourself when you reach this scale is to act with a certain amount of ethics and decorum. Ethics are not just about being good to other people, because all sensible formulations of ethics have reciprocity in them, so if you are good to other people, even your enemies will, if begrudgingly, cut you some slack.

Facebook has reached this size but has not prepared itself for it, and what's happening is that they took a bit of a stumble, and absolutely nobody is rushing in to defend them because they've burned all bridges. The media hates them for the economics of taking over the media industry and their ad revenue, and making them dependent on them. Conservatives have a pretty solid case that they are being censored by the platform systematically, even if it isn't true they feel it is true, so no friends there. It's pretty obvious that Facebook can expect no help from the Republicans in general. The Democrats may not hate Facebook, but there's no positive reason to burn very much political capital on helping them. (After all, they didn't deliver this time, did they?) And increasingly, the chickens are coming home to roost with their customer base, as fears about surveillance, power, and abuse of power are now going from vague fears to metastaticized, realized issues with Facebook that appear to affect it down to its very core.

It's not just the media narrative, though that's true enough... everybody is now at best neutral towards Facebook, and they're accruing enemies fast, not least of which is an ever-increasing portion of their own customer base(s).

How will they get out of this one? It's possible this will just die down this time. But these forces aren't going anywhere, and if it isn't already too late for Facebook to change course on this, the clock is definitely reaching midnight fast.
React JavaScript Developer Openings – Houston
EOG Resources -Houston is currently hiring ReactJS developer positions. Please see the job description below.

React JS Web Developer
• Must have excellent background and understanding of HTML5,CSS3, SVG, ReactJS, Web Socket and Canvasas as well as Client-side Java Script
• Several client-side frameworks and build tools (ReactJS, jQuery, Less/Sass, Grunt/Gulp, etc.).
• Server-side development (JavaScript/Node.js, PHP, etc.) and architecture (Apache/Nginx/ etc.).
• Database-driven web applications.
• REST APIs.
• Git
• Bash (Linux or Mac).
• Security best practices. & familiarity with:
• Relational databases ( SQL. & PL/SQL)
• Web Services.
• 3rd party APIs: Twitter, Facebook, Google Maps, etc. Bonus
• Knowledge of common content management systems.
• iOS and/or Android native development experience a plus.
• Comfort with Agile and Waterfall development methodologies.
I up voted because your point is relevant.

However, Software development is not a Profession, in the proper use of the term. It is not self-regulating the way Medicine, Engineering, Law, and a few others are.

There is no formal standard of ethical conduct in software for practitioners to use as a baseline for their own behaviour.
Iran has always fought its external wars by funding and training Shia insurgents with the Imperial Guard, in the same way the US sends Special Forces into insurgent groups to fight alongside them. Or are the Yemeni rebels building counterfeit Iranian missiles that kill civilians?

The UN put up a resolution to denounce Iran from doing this just last month, but Russia vetoed it[0].

[0]https://www.nytimes.com/2018/02/26/world/middleeast/iran-yem...
I am in very strongly favour of GDPR and other similar regulations. I just also think that enabling giants like Facebook to abuse you by admitting that you are unable to function without them is a bad strategy. Diversify if you can, and regulate to protect those who cannot. Nobody said you cannot approach something like this on more than one front.
Show HN: Michael Bot Paper Company – Combining Markov Chains with Michael Scott
So the greatest achievement of big data and ML right now is the manipulation of elections a true shock and awe.

And yes, everyone on HN and RMS will say “why is everyone surprised ?” Well it’s because normal people don’t have that perspective and think Facebook is the internet for them.

Data is the new oil but now everyone knows this except just us on HN.
Thanks for this pointer--if enough people adopted something like this FB would eventually wither away. I wondered when someone would use this model for social networking.
I was one of the co-founders of an early social VR startup and observed first hand the technical capabilities that these applications will afford bad actors to use for surveillance. You can easily capture voice, body tracking, and interaction data, and basically record a full view of the world through the eyes of another human being. It's quite remarkable being able to record and play back a copy of yourself in seconds from a remote server, but the potential for abuse is immense.

Facebook's made a move, probably the biggest move of any company, into VR. They bought Oculus for $2B while everyone else was scratching their heads. Social VR is their focus at Facebook proper, and they are leaving the entire rest of the VR ecosystem to their subsidiary Oculus. Isn't it obvious why? VR, if it becomes the dominant form of human communication, will make their current surveillance machine look like a joke. Facebook would be in a position to be an intermediary for every human interaction on earth that doesn't take place in physical space. It's nice to see the public become aware of what they've done before they are able to take it to the next level of nearly being inside of our heads.

This is the primary underlying motivation for why we are working on building an alternative open communication platform for Mixed Reality at Mozilla. We're heads down building stuff now but you can expect to see us shipping things soon.

https://blog.mozvr.com/enabling-the-social-3d-web/
> Asked what kind of control Facebook had over the data given to outside developers, he replied: “Zero. Absolutely none. Once the data left Facebook servers there was not any control, and there was no insight into what was going on.”

Um, well yeah. This is the case any time you give data to a third party. They now have a copy, and you can't control what they do with it.
More specifically, I think many people are naive about how it can be applied to their lives.

Every company tracks you. From what you purchase at target, to broad pattern behavior tracking on the web via ad companies, I think most people know their being tracked at various stages for various reasons.

However, is it bad that target knows I like to buy grass fed beef? Probably not. It reveals some things about me, but I am far less concerned, as are most I imagine. This same mindset is what fuels people when they don't care what FB/etc is doing. Not that it's right/wrong, but I think people don't care who knows about their lunch or catpics. Thinking that's all that FB could gain out of it.

Humans in general are really bad at thinking long term. Nothing bad happens immediately when you sign up to FB, when you post personal information, when they sell your data, etc. For a lot of FB users, it might be 20 years before they regret their actions. That's just a hard feedback cycle for people.
To the first point, the paper mentions that "the covariance is calculated after applying the Gaussian Copula to that table". The experiments seem to conclude that, for their datasets, the 2D projections seem to work alright. I think that the surprising conclusion is that this works so well for any dataset at all.

Just thinking out loud here:

The typical case where a low dimensional representation would fail you is if you had dependencies (e.g. bimodal relations) that weren't represented by a datatype or foreign key. Recall that the simulation of data still occurs within each table, so the higher the non-represented inter-table dimensionality is, the supplied distributions can measure it. It's might be that, for the most part, the raw columns (not from child tables) have much more bearing on the merit of the table covariance. This seems natural, due to the semantic nature of RDBMS structures.

It's probably an important caveat that typical RDBMS structures are created to optimize the user's understanding of the data through semantic structure. Since the claim of the paper was only that they could provide a useful abstraction for simulation, I think it's OK to proceed with the assumption that Gaussians can never be fully sufficient in modeling highly dimensional data without help.

There are existing non-parametric models that attempt to do a similar thing for relational data that I think are more promising. One drawback of current solutions like BayesDB is that you're still dealing with the original table structure, which this paper tries to get around. It would be nice to bridge the gap for something like PyMC3 where we find a cute way to flatten the data, like this paper.

[1] Probabilistic Search for Structured Data via Probabilistic Programming and Nonparametric Bayes. https://arxiv.org/pdf/1704.01087.pdf

[2] http://probcomp.csail.mit.edu/bayesdb/

[3] http://docs.pymc.io/index.html
the platform was designed to entice and integrate into every aspect of people's lives and then ENCOURAGED you to get your friends to participate by inviting them to the platform. it was a data harvesting, advertising mongrel from the start and everyone KNEW it, but no one cared.

like all things in life... people cry foul when things come back to bite them in ass.

like i said yesterday in a comment... delete ALL forms of social media cause this goes on with ALL platforms out there, it isn't just limited to FB.
A bit late for that - they are believed to have provided the finance for the Pakistan nuclear program and the Royal Saudi Strategic Missile Force bought some Chinese missiles with very low accuracy originally designed as a a platform for nukes (being 1km out probably doesn't matter too much if your target is lobbing a nuke at Tehran).

https://en.wikipedia.org/wiki/Nuclear_program_of_Saudi_Arabi...
> I'm sure you can do a better job at illustrating your point than ressucitating a +10y old quote from Zuck, 19 at the time.

I don't need to. Facebook just illustrated it for me.
How long before it comes out that Google does the same thing with search history, Amazon with product browsing, Apple with phone usage, and Microsoft with Windows 10 usage?
To be fair, Iran had an enrichment program that they were actively hiding under a mountain, they were clearly developing for nuclear weapons, because if you have the enrichment capability why wouldn't you?

But on the other hand, I see that exactly as the reason we ought to be involved with Iran's nuclear program and actively supporting it.
"Parakilas, 38, who now works as a product manager for Uber, ..."

So from one reckless company that doesn't give a damn about the law to the next. Who teaches developers that it's okay to work for anyone as long as the tech is cool and the salary is great?
> I think sacrificing maintainability for ease of use is a valid thing to do.

I agree. If you're not willing to make your developers' lives easier, then what are you doing writing a public library in the first place?
Is there any reason to believe that the situation isn't the same in, say, the Android ecosystem? In my experience many 3rd party apps require ridiculous amounts of permissions (contact list etc...) for something that's not core functionality. Surely all these free-to-play crapware games on the Android market have siphoned all the data they could and sold them to the highest bidder? Does Google do a better job of monitoring these apps?
You hear this train of thought a lot: "X country shouldn't have nukes". So why do people say a specific country "deserves" nukes while others don't? Why does the U.S. get nukes while it got to invade Iraq under the pretense of it having nukes? You might say everyone who is ideologically aligned with the policeman of the world (the West) deserves it. But in actuality not every country that has gained that capability fits the definition. The simple answer is that it's all about power balance. If you're an ally of the West, you can have all the nukes you want, but if you're not, you must put yourself at their mercy. Note I'm not commenting on SA here, but the whole "we should be able to decide who gets nukes or not". It's very interesting when you consider how U.S. foreign policy has affected the world and the fact that SA is considered an ally.
Your post is pretending that China and Russia do not exist.

There is no scenario where Saudi Arabia doesn't get whatever nuclear power infrastructure they're after. Nothing will prevent that. China isn't going to have any problems building Saudi Arabia's nuclear power infrastructure, they'll be thrilled to do it. The same is true of Russia. There is nothing the US can reasonably do to stop China or Russia from building nuclear power plants in Saudi Arabia.

Ok, there's one exceptionally dumb broad option: war with the non-US supplier (eg China or Russia), or fundamentally destroy Saudi Arabia as we know it today and kill millions of people to shut down all industrial progress there to prevent any nation from ever attempting to build nuclear power there.

Here's the reality of the near future: you are going to have to accept a bunch of bad actors are going to have access to various nuclear technology. It's only going to spread faster and faster.
This has literally been de rigeur at any company that does advertising for a decade. Even sports websites have been doing this since forever.

Excuse me if I'm not really horrified by political groups using personal data to craft strategies.
I'm amazed this article didn't get voted up and get more attention.

The tldr; is that AMP pages are much faster than the canonical version of their pages, but effectively the only reason is that they are less bloated. In principle, you can make a faster-than-AMP page by not relying on JS for your critical render path, and by either using a decent CDN or applying certain optimizations yourself.

The difference between AMP and a simply de-bloated page is that you can get a manager to approve AMP, but not a simply de-bloated page. Also, Google boosts AMP pages, but not pages that are fast without AMP.
Lisa, I'd like to buy your rock.