🔎 Meta Open Source 101🔎 Introducing Hydra, a powerful framework for elegantly configuring complex applications. Whether you're managing ML experiments or any intricate project, Hydra simplifies the process. 1️⃣ First, install Hydra using pip: `pip install hydra-core --upgrade` This command installs Hydra and its core dependencies, getting you ready to start leveraging its capabilities. 2️⃣ To get started, create a configuration file, typically in YAML format. For instance, `config.yaml`: ``` db: driver: [DB_DRIVER] user: root password: [SECRET] ``` Hydra makes it easy to manage hierarchical configurations for more complex setups. 3️⃣ Finally, in your Python script, use Hydra to load and access these configurations: ``` import hydra from omegaconf import DictConfig @hydra.main(config_path="config.yaml") def my_app(cfg: DictConfig): print(cfg.db.driver) if __name__ == "__main__": my_app() ``` Hydra's flexibility allows for seamless integration into your projects. With Hydra, managing complex configurations becomes a breeze, enabling you to focus on your core development tasks. Explore more features and documentation on their website ( https://hydra.cc/) or watch one of the Meta Open Source's videos about the project: https://lnkd.in/gFBbTpYs
Meta Open Source
Software Development
Menlo Park, California 7,621 followers
Empowering diverse communities through open source technology.
About us
Meta is committed to the notion that open source not only provides great technology for developers, but also brings the best out in people. Follow us for updates on Meta's open source.
- Website
-
https://opensource.facebook.com/
External link for Meta Open Source
- Industry
- Software Development
- Company size
- 10,001+ employees
- Headquarters
- Menlo Park, California
Updates
-
📣 New Open Source Project 📣 🌊 Introducing #Ocean, Meta's new open-source framework for Computer Vision & Mixed Reality! 🚀 Dive into highly optimized, cross-platform development for iOS, Android, Quest, & more. Licensed under MIT, explore countless demos on GitHub. Build the future with us! 🛠️ Website: https://lnkd.in/gd362aaR GitHub: https://lnkd.in/gNVepJ3C
Ocean
facebookresearch.github.io
-
⚡️OSS Project Spotlight⚡️ Hermes is a JavaScript engine optimized for running React Native. Developed by Meta, it focuses on improving app performance through reduced startup times and memory usage, making mobile experiences smoother. Learn more: https://lnkd.in/gw7rbcq
GitHub - facebook/hermes: A JavaScript engine optimized for running React Native.
github.com
-
🔎 Meta Open Source 101🔎 Welcome to Docusaurus! This open source project simplifies creating and maintaining documentation websites. Start by installing it with `npx create-docusaurus@latest my-website classic`. This command sets up your new site with a default template - https://docusaurus.io/docs Adding content to your Docusaurus site is a breeze. You can create Markdown files in the docs directory, and each file becomes a page on your site. The flexibility doesn't stop there - you can use front matter (YAML) at the top of each file to set metadata like title and sidebar position. Learn more: https://lnkd.in/gnjQS2Jx Organize your documentation with a sidebar. Edit the `sidebars.js` file to group your documents into sections and categories. This feature helps users navigate your site effortlessly and find the necessary information - https://lnkd.in/gwZfhsWP. Customize and deploy your Docusaurus site! Modify `docusaurus.config.js` to adjust settings, add plugins, and configure the navbar. Use themes to change the look and feel. Deploy quickly with GitHub Pages or other hosting solutions - https://lnkd.in/gHf_qt2e You can also watch one of our ELI5 videos dedicated to Docusaurus to see this project in action: https://lnkd.in/ghHNAGnw
Introduction | Docusaurus
docusaurus.io
-
⚡️OSS Project Spotlight⚡️ Buck2 is a large-scale, fast, and extensible build system by Meta, designed to handle massive codebases with high performance and efficiency. It's engineered for parallel execution, caching, and remote execution to boost developer productivity. Learn more: https://buck2.build/
Buck2 build system website | Buck2
buck2.build
-
🔎 Meta Open Source 101🔎 Today, we will look at how to get started with Presto. Presto is an open source distributed SQL query engine designed for fast analytic queries against data of any size (https://prestodb.io/). Start by setting up a Presto cluster and configure it to connect to your data sources - https://lnkd.in/gChSBeHR To query data with Presto, use the Presto CLI. Connect to your Presto server with `presto --server <host:port> --catalog <catalog_name>`. You can then run SQL queries across various data sources - https://lnkd.in/ghqnpivu Optimize your queries by using Presto’s advanced features. Utilize functions, join data from multiple sources, and leverage its powerful query optimizer for efficient data processing - https://lnkd.in/gxGPZYxz Monitor and manage your Presto cluster with built-in tools. Use the web-based UI to check cluster status, query performance, and resource usage. Learn more: https://lnkd.in/guREANPn You can also learn about Presto by watching this short ELI5-style video: https://lnkd.in/gWT5Du-v or by joining the Presto community: https://lnkd.in/g_vsq5SN
Presto: Free, Open-Source SQL Query Engine for any Data
-
⚡️OSS Project Spotlight ⚡️ PyTorch is an open source deep learning framework that accelerates the path from research prototyping to production deployment. Widely used in academia and industry, PyTorch supports dynamic computation graphs and offers rich libraries for AI and machine learning. Learn more: https://pytorch.org/
PyTorch
pytorch.org
-
🔎 Meta Open Source 101🔎 Let's learn how to start with one of the Meta Open Source projects, Mariana Trench! This open source project is a security-focused static analysis tool for Android and Java applications. Start by integrating it into your project to identify vulnerabilities in your codebase - https://mariana-tren.ch/ To use Mariana Trench, first clone the repository and build the project. Use `./gradlew` build to compile it. Then, run analyses with `./mariana-trench analyze <your-config-file>`. This operation will scan your code for security issues - https://lnkd.in/gT8fC8ar Customize your analysis by defining sources, sinks, and rules in configuration files. Sources are data inputs, sinks are sensitive operations, and rules specify how data flows between them. This setup helps detect potential vulnerabilities specific to your app - https://lnkd.in/gbwBSesA Review the analysis results to identify and fix security issues. Mariana Trench provides detailed reports that highlight vulnerabilities and suggest remediation steps. Regularly run the tool to maintain a secure codebase - https://lnkd.in/gikcqMzr We invite you to watch this Explain Like I'm 5 episode covering Mariana Trench to learn more: https://lnkd.in/e8RfHVDf
Mariana Trench | Mariana Trench
mariana-tren.ch
-
⚡️OSS Project Spotlight ⚡️ Docusaurus is an open-source project designed to help you build optimized websites quickly, focusing on documentation. It's perfect for maintaining documentation websites with a simple, yet powerful, framework. Learn more: https://docusaurus.io/
Build optimized websites quickly, focus on your content | Docusaurus
docusaurus.io
-
📣 Announcing New Open Source Project 📣 React Compiler, a new experimental compiler, has just been open-sourced by the React team. This build-time-only tool is designed to optimize your React app automatically. Learn more about it here: https://lnkd.in/eEVMVnpc or give React Compiler a try right in your browser: https://lnkd.in/daK52R_E We also invite you to tune in to the second day of the ReactConf for more news and important updates about React - the live stream starts at 9 am PST https://conf.react.dev/
React Compiler – React
react.dev