News for hackers. Stuff that matters.
Re:Facebook’s Clear History privacy feature is still months ... by amaccuish on Wednesday December 19, 2018 @11:28AM (#18716777)
> "Facebook currently stores browsing data by date and time, not by which user it belongs to"

I call bull on this. I seriously doubt Facebook is collecting this browsing history and not associating it with users.

Re:Facebook’s Clear History privacy feature is still months ... by aiiane on Wednesday December 19, 2018 @12:33PM (#18717462)
Reading between the lines, what this statement actually means is likely "we have a lot of this user data in flat logs, which makes it hard to delete a single individual's data out of the logs, so we need to move from flat user-agnostic logs to per-user structured data".
Re:Facebook’s Clear History privacy feature is still months ... by jandrese on Wednesday December 19, 2018 @12:44PM (#18717560)
Given their business model of sifting through and selling your data this doesn't seem all that likely that they've left it in gigantic combined flatfiles.

It seems more likely to me that yes, they could do a DELETE FROM BROWSING_HISTORY WHERE USER = "%S", but that's not their business model. Instead they have to add a column to the database that flags data that will be shown to the user or not, and then go through every part of the site where the data might be visible and add a check for that flag. It's a lot more work, and worse they have to get it right the first time because people will be angry if there is a leak somewhere and their supposedly deleted data is visible.

Re:Facebook’s Clear History privacy feature is still months ... by tylerhou on Wednesday December 19, 2018 @12:57PM (#18717685)
Or, maybe, making a product which has to deal with legacy code for billions of users is actually difficult?

Like, we know Facebook is evil, but they can’t be that evil, right?

Re:Facebook’s Clear History privacy feature is still months ... by jandrese on Wednesday December 19, 2018 @01:48PM (#18718158)
> Like, we know Facebook is evil, but they can’t be that evil, right?

People keep saying this and they keep being surprised.

Re:Facebook’s Clear History privacy feature is still months ... by emilsedgh on Wednesday December 19, 2018 @04:07PM (#18719630)
I don't know man when they wanted to generate a highlight video of new year's resolution for each user and they went from 0 to executed in a few days and blogged about it they seemed very capable people.
Re:Facebook’s Clear History privacy feature is still months ... by CaptainZapp on Thursday December 20, 2018 @07:29AM (#18724332)
I would call supporting genocide for years and helping to drown democracy in a number of countries (Hungary, Philippines, Cambodia, Sri Lanka among others) pretty fucking evil.

Blowing vile, antisemitic dog whistles from the very top level also doesn't do much in order to improve their image

Re:Facebook’s Clear History privacy feature is still months ... by chillacy on Thursday December 20, 2018 @08:50AM (#18724832)
This is event steam data, at what large tech company do you work for where you can possibly store that in a SQL database? At my current company our clickstream data is in the petabytes, Facebook has orders of magnitude more. It’s probably stored in HDFS or something, not too far from chronological flat files.
Re:Facebook’s Clear History privacy feature is still months ... by makomk on Wednesday December 19, 2018 @01:01PM (#18717721)
It's probably not just stored as gigantic combined flatfiles, but imagine what would happen if they launched this feature and it only actually deleted some copies of the user's browsing history.
Re:Facebook’s Clear History privacy feature is still months ... by IfOnlyYouKnew on Wednesday December 19, 2018 @01:09PM (#18717796)
I did some parsing of their other dumpster-fire PR-speak today here: https://news.ycombinator.com/item?id=18714352

At this rate, I predict a John Oliver segment taking apart their abuse of the English language in about a month.

Re:Facebook’s Clear History privacy feature is still months ... by isostatic on Wednesday December 19, 2018 @12:07PM (#18717148)
Yup, it's in a big spreadsheet. Column A is the default sort, and that's Date/Time. Column B is the user, and they don't sort by column B, that would be crazy!
Re:Facebook’s Clear History privacy feature is still months ... by dictum on Wednesday December 19, 2018 @12:29PM (#18717406)
AUDITOR: So that's how you store these visits... wait, why are the values next to the URLs so... strange?

ALICE: Column A is the URL. Column B is just a token we use to ensure it's a valid entry, and it's the default sort. As you can see, it's gibberish. No personally identifiable information.

JANE: We deriv...

[JAKE hits JANE with his elbow, discreetly]

JAKE: We derive great pleasure from helping people connect with each other, is what Jane's saying. And that's something we truly believe in.

Re:Facebook’s Clear History privacy feature is still months ... by jlarocco on Wednesday December 19, 2018 @12:40PM (#18717526)
You would think they'd know how to access the data by now given all of their experience using it to target ads to specific users...
Re:Facebook’s Clear History privacy feature is still months ... by jhenkens on Wednesday December 19, 2018 @02:27PM (#18718584)
The amount of data they collect surely they stream much of it directly to log files. Those log files are not by user. You try reading and rewriting petabytes of data out of S3 to remove lines matching a specified ID.
Re:Facebook’s Clear History privacy feature is still months ... by marricks on Wednesday December 19, 2018 @11:36AM (#18716855)
“[Stores] by date and time” doesn’t preclude having user information in there either! It’s the perfect non-answer.
Re:Facebook’s Clear History privacy feature is still months ... by stochastic_monk on Wednesday December 19, 2018 @11:54AM (#18716999)
It’s like saying the contents of a dictionary don’t matter because they’re sorted lexicographically.
Re:Facebook’s Clear History privacy feature is still months ... by code_duck on Wednesday December 19, 2018 @01:01PM (#18717724)
‘Stored by’ is a bit of a trick or a joke as far as a databases. What would that even mean, to a technical person? The primary key? One could say it is ‘stored by’ any field that you could query for. Obviously they have the records associated with individuals, considering that’s the focus of their business.
Re:Facebook’s Clear History privacy feature is still months ... by chillacy on Thursday December 20, 2018 @08:47AM (#18724808)
It’s probably not a database if I had to guess, given the volume of event stream data. At my current company we store event streams as time organized flat files in HDFS for analytics. Our site isn’t as big as facebooks but it measures into the low petabytes across all time.

So how you store the data is important in a post-sql world.

Re:Facebook’s Clear History privacy feature is still months ... by code_duck on Thursday December 20, 2018 @11:43AM (#18726425)
I’m sure they’re not but using a standard relational database too. They obviously extract the information and work with it, so whether it’s ‘a database’ is basically an implementation detail. For the purposes of this discussion, a flat file is essentially a database. A CSV has fields and is easily made searchable.

The overall point is that of course they can access the data by individual and not just by time of access.

Re:Facebook’s Clear History privacy feature is still months ... by code_duck on Thursday December 20, 2018 @09:44PM (#18731088)
(Minus the extraneous ‘but’ in the first sentence)
Re:Facebook’s Clear History privacy feature is still months ... by chillacy on Friday December 21, 2018 @06:48AM (#18732785)
Thanks for clarifying. Maybe I'm misunderstanding the situation. I work with "big data". I'm not sure what facebook is at but something's not adding up here because the statement

> For the purposes of this discussion, a flat file is essentially a database. A CSV has fields and is easily made searchable

absolutely doesn't apply to the type of data I'm thinking about. (Data in the petabytes+ is not easily made searchable, indexing isn't common, joins are basically impossible at scale. Instead the data is partitioned on a specific field which makes it fast to access by that field but slow to access on others. Usually for this type of data that field would be a timestamp, but it could also technically be partitioned by a userid which makes it easier to split on user at the cost of splitting by time, since you now need to search all partitions in order to find a time range. )

So either I'm mistaken about the nature of facebook's data (I assumed it was clickstream data, like "User X clicked Box Y at Time Z with Metadata A"), or I'm misunderstanding what you mean by that statement.

Also

> The overall point is that of course they can access the data by individual and not just by time of access.

I can access clickstream data by a specific individual user with a 10 minute Mapreduce job, but re-partitioning the data is going to be a production.

Apologize if you already know all of this, but I saw a lot of people making references to SQL in this extended thread which strikes me as strange because even sql-frontends to analytics backends like HIVE get compiled down to 10 minute mapreduce jobs, it's an entirely different world.

Re:Facebook’s Clear History privacy feature is still months ... by code_duck on Friday December 21, 2018 @06:18PM (#18737605)
The overall question is, is that statement by Facebook misleading? In my opinion, yes. They are tracking individual behavior, not producing overall website analytics. There is no question that they can and do have that data in some way associated with a specific individual, not concentrating on time of access as if that’s the important part of the data. Are you saying you believe that Facebook just leave that data in difficult to access data-stores and doesn’t use it for anything? Considering it’s practically the core of their business?

The implementation details are fairly unimportant. It’s what they do with the data, and the satement that it is “stored by” time of access is intended to be misleading to non-experts, in my opinion. Apparently they are even managing to distract experts and technical people.

Re:Facebook’s Clear History privacy feature is still months ... by chillacy on Friday December 21, 2018 @09:42PM (#18738596)
I’m not sure they are “tracking individual user behavior”, what do you mean by that?

Usually when you train a model you extract features for each event and then you apply your model at prediction time. There is no step in which you have the user’s entire history set aside in an easy to query fashion. Instead the model learns aggregate user behavior.

Out of curiosity do you work with analytics scale data? Nothing in their statements seemed odd to me, it would easily take a few months at my current company for those reasons.

For analogy it would be like if fb said “oh we support IE 7 to 11 but it’s taking us longer to support IE6”, and people said “it’s just one lower than 7 how hard can it be? Facebook is clearly hiding something, I write for IE7 all the time”. And I’m not quite sure how to convey the fact that IE6 is a different beast altogether.

Re:Facebook’s Clear History privacy feature is still months ... by code_duck on Sunday December 23, 2018 @03:12AM (#18745022)
To add to this, your questions are bizarre.

What do I mean by ‘Facebook tracking individual user behavior’? Um... I don’t know what to say to that. What a strange question. It’s pretty clear what is meant by that. It’s the primary focus of their business.

Next, “usually when you train a model you extract features for each event and then you apply your model at prediction time”. That’s nice, but when did we start discussing ‘training models’?

Facebook has a list of internet activity. It’s stored by user. They’re in the business of selling personal data. Nothing you said has anything to do with that. I have no idea what we are even discussing.

Whether someone can make an ad hoc a query by user is completely not the point and has nothing to do with anything. I would assume that they have extracted the information into other reports or data stores, obviously, not process trillions of lines of entries whenever they want to access it by individual.

Re:Facebook’s Clear History privacy feature is still months ... by chillacy on Thursday December 27, 2018 @10:34PM (#18774721)
> I have no idea what we are even discussing.

Yea I figured. I'm not talking about Facebook at this point, this is a general engineering comment.

My point with the modeling comment is that the might not access it by individual, because models can be trained on statistical averages and time-ordered instead of by individual. Also the models are trained offline (meaning not in real-time).

If you have an analytics table sitting in HDFS ordered by timestamp and you want to produce a realtime UI for users, that'll take some engineering work, right?

Re:Facebook’s Clear History privacy feature is still months ... by code_duck on Friday December 21, 2018 @10:24PM (#18738727)
Okay, so your position is that Facebook is unable to query for a list of activity by user, and does not have it divided by user in any other way? That seems nonsensical to me, but if you say so.
Re:Facebook’s Clear History privacy feature is still months ... by chillacy on Thursday December 27, 2018 @10:33PM (#18774710)
Let's take Facebook out of the picture, it's too hot a topic. Let's talk about the datawarehouse of some other big tech company like amazon or adcrunch. The DW can be queried by user but each query might take 10 mins to evaluate, so it can't be used for realtime UIs. Instead you would have to denormalize the data to display to a user. That's a project, it might take a few months.
Re:Facebook’s Clear History privacy feature is still months ... by adonnjohn on Wednesday December 19, 2018 @11:43AM (#18716907)
Imagine the legal liability if they found legitimately dangerous trends! They probably have simple ways to reference the IP address of where that data came from; they probably have a user id correlated to each data record. Their policy is one of those 'technically the truth' statements that is gravely overshadowed by other events that have transpired.