Connect with us

FACEBOOK

ELI5: Folly – Battle-Tested C++ Library

Published

on

In this blog post, we explore a popular open source project called Folly, a C++ library that provides core components used extensively at Facebook. We cover this open source project using the ELI5 style of explaining things in simple terms in the shortest amount of time.

If you prefer to learn by watching, we also have an accompanying video about Folly on our Facebook Open Source YouTube channel.

Why Folly?

Here at Facebook, we use, contribute and release a number of open source projects. Unfortunately, when it came to C++, we couldn’t share any of our code with the community because we had several internal, unreleased dependencies. Folly was created to fix this gap and share our open source in C++ with the world.

Folly (acronymed loosely after Facebook Open Source Library) is a library of C++14 components designed with practicality and efficiency in mind, including drop-in, optimized replacements for parts of the C++ STL.

With Folly, we emphasize speed as well as stability. As Facebook heavily relies on utilities in Folly, this library’s performance and scale have been of utmost importance. It has features like in-memory JSON manipulation or string-formatting.

Despite the disparate number of components, Folly aims to make them easy and safe to use. The project relies on modern C++ and provides plenty of tools like string utilities that operate fewer CPU cycles and make code more concise.

Where is it used?

Folly was open sourced by Facebook in 2012. Since its launch, the project has been widely used worldwide, with 16 thousand followers and almost 4 thousand forks on its GitHub page.

Where can I learn more?

Would you like to learn more about Folly? The project has thorough documentation on its GitHub repository, and the Folly team has been sharing great overview posts like the Folly Futures announcement. If you want to ask the Folly community a question, we invite you to join their Google Group.

About the ELI5 series

In a series of short videos (~1 min in length), one of our Developer Advocates on the Facebook Open Source team explains a Facebook open source project in a way that is easy to understand and use.

We will write an accompanying blog post (like the one you’re reading right now) for each of these videos, which you can find on our YouTube channel.

To learn more about Facebook Open Source, visit our open source site, subscribe to our YouTube channel, or follow us on Twitter and Facebook.

Interested in working with open source at Facebook? Check out our open source-related job postings on our career page by taking this quick survey.

Facebook Developers

Continue Reading

FACEBOOK

How to prepare your Facebook account for your digital afterlife

Published

on

By

How to prepare your <b>Facebook</b> account for your digital afterlife thumbnail

Today, our online lives are where we share a lot of private and personal information, especially on social media platforms where we share many of our thoughts, post photos and videos over the time we have spent online. Among these social media platforms, Facebook is the most used social media service today. A lot of us, our friends and our family members have a Facebook account. We post and share everything from our private photos to a personal message via Facebook.

But have you wondered what happens to your Facebook account and the information (like posts, comments, photos, videos, etc.) that you have created and accumulated on the service after your time?

■ What will happen to my account?

■ Who can access your profiles?

■ Who will own your account and data?

■ How to manage it when such a time comes?

Facebook has added features to your account so that you can decide what happens to your account when such a time arises. Follow the steps given below to set it up and ensure that the information in your Facebook accounts is handed over to someone else safely or managed according to your choice.

Setting up Facebook’s legacy contact:

In the case of Facebook, you can choose to memorialise your account and hand over the control to a ‘Legacy contact’ of your choice or altogether delete your profile after your time.

Step 1: To set up your legacy contact, you can visit the ‘Settings & privacy’ option under your profile and select the ‘Memorialisation settings’ under ‘General Account settings’. You can also sign in to your account and visit https://www.facebook.com/settings to access this setting.

Step 2: Now, you can choose a legacy contact in this setting by searching for and adding a friend from your account as your legacy contact. Do note that, once memorialised, the legacy contact can only moderate the posts on your page and not post on your behalf.

Step 3: The following setting is to choose whether to allow your legacy contact to download all your data that you have created or shared on your Facebook account like posts, photos, videos etc.

Step 4: The final setting on this page could be considered an alternative to choosing a legacy contact. This setting is to delete your complete Facebook account once you pass away. Facebook needs to be informed about your death and requires verifying it with valid documentation to activate this feature. The company will delete all your information on Facebook on completion of this process.

To know more about these settings, you can visit the FAQ page on legacy contact.

Subscribe to Mint Newsletters

* Enter a valid email

* Thank you for subscribing to our newsletter.

Never miss a story! Stay connected and informed with Mint.
Download
our App Now!!

Read More

Continue Reading

FACEBOOK

Big EU lawsuit against Facebook morphs into 3-year ‘partnership’ with complainants

Published

on

By

Big EU lawsuit against <b>Facebook</b> morphs into 3-year 'partnership' with complainants thumbnail

Press play to listen to this article

Three years ago, a group of EU consumer agencies launched a multi-country lawsuit against Facebook, accusing the social media giant of having illegally harvested the data of millions of users.

More than 300,000 angry Facebook users positioned themselves behind the collective action suit, which promised to award them individual monetary damages if the company was found guilty of wrongdoing.

On Friday, those lawsuits quietly morphed into a brand new partnership with Facebook.

Euroconsumers, the umbrella organization behind the Spanish, Italian, Belgian and Portuguese lawsuits, announced they were entering a partnership with the company focused on the “safety and privacy” of Facebook users.

The move comes after POLITICO reported that Euroconsumers had settled its lawsuit with Facebook at the end of April — and highlights the fact that collective action lawsuits rarely make it over the finish line in Europe, sheltering companies from the type of action that can produce crippling damages in U.S. courts while leaving consumers with little recourse.

Originally, Euroconsumers had told people who joined the case it would seek compensation of €200 for every Facebook user whose data was mishandled.

In the end, though, there will be no court decision, no admission of wrongdoing by Facebook and no direct payment from the company to consumers as a result of the settlement, according to Euroconsumers.

Instead, the consumer groups and Facebook said they were forming a joint committee focused on three priorities: sustainability, digital empowerment and fighting scams. The issue of privacy — which was the explicit focus of the lawsuit — is the “umbrella” under which the thee priorities fall.

As for the consumers, they are being promised a vague consolation prize.

The four consumer groups said they would commit to “reward” consumers who joined the original lawsuit with “a package to help consumers be safe online” — but no hard cash.

Asked whether Facebook had paid money to Euroconsumers in the settlement, the group declined to comment. POLITICO reached out to Facebook, but the company didn’t give an immediate response apart from the press release.

Meanwhile, the committee isn’t committed to producing any specific results.

“There are specific initiatives in the making, but there will also be a consumer reporting channel. We will able to report problems that emerge, like feedback from our members,” said Els Bruggeman, head of policy at Euroconsumers.

A spokesperson for the group said: “It’s the moment to try to influence the reasoning from companies who are managed far away.”

Legally speaking, though, the heat is off Facebook.

The consumer groups will evaluate their collaboration in three years.

“An agreement for one year would be too short. Three years is long enough to be able to evaluate. There will be a lot of changes in the digital world in that period,” added the spokesperson.

In the meantime, a change in legislation may give future collective action lawsuits in Europe more teeth: A directive finalized late last year could lead to bigger pan-European collective redress cases.

Want more analysis from POLITICO? POLITICO Pro is our premium intelligence service for professionals. From financial services to trade, technology, cybersecurity and more, Pro delivers real time intelligence, deep insight and breaking scoops you need to keep one step ahead. Email [email protected] to request a complimentary trial.

Read More

Continue Reading

FACEBOOK

Russian watchdog demands that Facebook delete post insulting WWII veterans

Published

on

Russian watchdog demands that <b>Facebook</b> delete post insulting WWII veterans thumbnail

MOSCOW, May 29. /TASS/. Russia’s Federal Service for Supervision of Communications, Information Technology, and Mass Media (Roskomnadzor) demanded that US company Facebook delete an Instagram post that insults the memory of World War II veterans, the watchdog said on its website on Friday.

“Roskomnadzor has sent a letter to Facebook Inc top management, demanding that content insulting the memory of World War II veterans be deleted,” the watchdog said. “The governmental agency found the unlawful post on the Instagram social network, owned by Facebook.”

According to Roskomnadzor, publication of clearly offensive information that insults Russia’s military glory and memorable dates, or desecrates military glory symbols, or offends WWII veterans constitutes a criminal offense in Russia and is subject to criminal proscution.

Read More

Continue Reading

Trending