Connect with us


Facebook and Microsoft Partnering on Remote Development



We’re making Visual Studio Code the default development environment at Facebook and teaming with Microsoft to help enhance their remote development extensions in an effort to enable engineers to do remote development at scale.


Facebook engineers have written millions of lines of code. There is no mandated development environment. Some developers use vim. Some use Emacs. And even more engineers use our internal, unified development environment called Nuclide.

Nuclide began as a set of open-source packages built on top of the Atom editor. We provided our engineers a set of functionality supporting its development workflow and the numerous programming languages used at the company. In 2018, we retired the open source version of Nuclide, but continued to use Nuclide internally.

In late 2018, we announced to our engineers that we would be moving Nuclide to Visual Studio Code. Plenty of development work has been done to migrate the current Nuclide functionality, along with some new features, as internal-facing extensions for Visual Studio Code. Visual Studio Code is now used extensively across the company in beta.

Why Visual Studio Code?

Visual Studio Code is a very popular development tool, with great investment and support from Microsoft and the open source community. It runs on macOS, Windows, and Linux, and has a robust and well-defined extension API that enables us to continue building the important capabilities required for the large-scale development that is done at the company. Visual Studio Code is a platform we can safely bet our development platform future.

Enhancing the Remote Development Experience

While engineers at Facebook have Visual Studio Code installed locally on laptops, most development is done directly on individually-reserved development servers that live within our data centers. Being able to access code on these servers in a seamless, performant way is critical for productivity.

As Microsoft’s Visual Studio Code team stated when they first released the remote extensions, remote development is an emerging trend. While our use cases may be more advanced than most development teams given our scale, any developer can gain the benefits of remote development:

  • Work with larger, faster, or more specialized hardware than what’s available on your local machine
  • Create tailored, dedicated environments for each project’s specific dependencies, without worrying about errors due to mixed or conflicting configurations
  • Support the flexibility of being able to quickly switch between multiple running development environments without impacting local resources or tool performance

These benefits should be available to any developer, and we at Facebook believe that we can apply our unique expertise in this problem space to help. That’s why today we are excited to share not just our usage of their remote development extensions, but our involvement in helping Microsoft further improve remote development extensions, with a lens on enabling engineers to do remote development at scale with Visual Studio Code.

To help Microsoft enhance its product offering, we have provided input through our experience and expertise supporting remote development for Nuclide. And Microsoft has now created such a robust remoting experience, it has allowed us to move off our own custom solution.

We’re also excited that the remote development capabilities added by Microsoft are available as extensions for anyone using Visual Studio Code.

Moving Forward

Given the scale of development at Facebook, supporting the efficiency and productivity of our engineers is key. Constant work is being done to enable Visual Studio Code to be the IDE of choice inside the company, whether by building extensions or enhancing our current technologies to better support it.

For example, when it comes to code, Facebook is a polyglot. Code is written in Python, C++, Java and in some of our own created languages like Flow, Hack and Reason. Extensions exist to support these languages, which include syntax highlighting, formatters, linters, etc. Flow, for example, has had a Facebook-developed public Visual Studio Code extension since 2015. With Facebook’s internal move to Visual Studio Code, Flow has been in active development, through areas like Language Service Protocol (LSP) improvements, to better ensure the language works great with Visual Studio Code.

Another example is around source control. Facebook uses Mercurial internally as its source control infrastructure. Development work continues on an extension to allow for source control manipulation directly within Visual Studio Code, enabling all of the workflows Facebook developers are comfortable with in order to get their code reviewed and landed.

Visual Studio Code is now an established part of Facebook’s development future. In teaming with Microsoft, we’re looking forward to being part of the community that helps Visual Studio Code continue to be a world class development tool.

Facebook Developers

Continue Reading


Helping Prevent Discrimination in Ads that Offer Housing, Employment or Credit Opportunities.



iscrimination has no place on Facebook, and our advertising policies have long prohibited unlawful discrimination. Over the last year, our auditors have released two progress updates on Facebook’s Civil Rights Audit and we reached a historic settlement with leading civil rights organizations. As part of the settlement, we introduced a new process for how advertisers based in the US, or trying to reach audiences in the US, can buy ads that offer housing, employment or credit opportunities. These ads are known as Special Ad Categories and are restricted from using the following targeting criteria: age, gender, ZIP code, multicultural affinity or any detailed options describing or appearing to relate to protected characteristics.The Latest News from Facebook for Business

Continue Reading


Facebook Brings WhatsApp Integration to Its Revamped Crisis Response Tool



Social network giant Facebook is adding a WhatsApp button to crisis response tool, its disaster-reporting and communications feature where a user requests or offers help during a time of emergency. The tool is being used in 300 crises in more than 80 countries presently.

The new feature will allow people in affected areas to provide real-time information related to any disaster, reported on Tuesday.

Formerly, replies to requests on Facebook’s crisis response pages could only be sent with Facebook Messenger.

The update allow the social network to provide this information to state and local officials, as well as federal relief agencies such as Direct Relief and the National Alliance for Public Safety GIS Foundation.

Facebook is also expanding its Data for Good tools, using its data to provide relief organisations with information on where to distribute supplies, based on aggregated, anonymised data.

Additionally, Facebook is also updating its disaster maps to be more accurate in collaboration with agencies such as the International Displacement Monitoring Centre.

The new features will allow for photo and video sharing within the Crisis Response centre on Facebook.

Crisis Response originally developed out of a handful of features that help family, friends and communities support one another in the wake of a disaster.


Continue Reading


Facebook to Allow Transfer of Photos, Videos to Google, Other Rivals



Facebook started testing a tool on Monday that lets users move their images more easily to other online services, as it faces pressure from regulators to loosen its grip on data. The social network’s new tool will allow people to transfer their photos and videos directly to competing platforms, starting with Google Photos. The company said it will first be available to people in Ireland and will be refined based on user feedback.

The tool will then be rolled out worldwide in the first half of 2020.

US and European regulators have been examining Facebook’s control of personal data such as images as they look into whether the tech giant’s dominance is stifling competition and limiting choice for consumers. Facebook CEO Mark Zuckerberg has reacted by calling for new rules to address “data portability” and other issues.

Facebook said that as it worked on a new set of data portability tools, it had discussions with policymakers, regulators, and academics in the UK, Germany, Brazil, and Singapore to learn about which data should be portable and how to protect privacy.

The company is developing products that “take into account the feedback we’ve received and will help drive data portability policies forward by giving people and experts a tool to assess,” Steve Satterfield, director of privacy and public policy, said in a blog post.


Continue Reading