1) The document discusses various tips and best practices for using Composer, the PHP dependency manager. It covers how to install and configure Composer globally and for projects, managing dependencies and repositories, debugging issues, and advanced techniques like overriding dependencies.
2) The global Composer configuration allows setting default options and repositories to avoid repeating them in each project. Private repositories can be secured using SSH or SSL client certificates.
3) When dependencies need patching before being merged, forks can be required directly or used as replacements for the original packages. This allows using unmerged fixes until the changes are incorporated upstream.
This document compares presentation software and focuses on Prezi, describing its history as an online zooming presentation tool launched in 2009, key features like frames and paths, how to use Prezi, its products, and advantages over PowerPoint like showing information on one slide through zooming rather than multiple slides.
The document summarizes a 2-day wilderness survival camp organized by the Kelab Kembara club at Management and Science University. The camp aims to teach students basic wilderness survival skills through hands-on activities over the weekend at Out Bac Broga Camp, including constructing shelters, cooking over fires, purifying water, navigation, first aid, and team-building exercises. A total of 15 students will participate in the camp, taking part in a structured itinerary of survival lessons and recreational extreme activities designed to build confidence and cultivate leadership skills.
Learn Top Survival Techniques About Wilderness TravelPeterdkPori
Travelling to remote countries can be an amazing adventure. However, there is a different side to wilderness travel, so learn some techniques that could be crucial in saving your life. Reach us: http://www.holidaybooked.com/. Call us at: 01305 848039.
The document describes Bay Area Wilderness Training (BAWT), which trains youth leaders and provides support to get local youth outdoors. It aims to address nature-deficit disorder by increasing children's access to nature. BAWT offers various training courses and provides gear, transportation, funding, and community support through initiatives like Climbing for Kids fundraising events. The organization has trained thousands of leaders who have served hundreds of youth annually since 1999.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive function. Exercise causes chemical changes in the brain that may help protect against developing mental illness and improve symptoms for those who already suffer from conditions like anxiety and depression.
This document outlines the various semester programs offered by Initiative Outdoor in Nepal, including wilderness leadership, environmental studies, white water rafting and kayaking, mountaineering and rock climbing, trekking and backpacking. It provides details on the duration and activities involved in each program, and includes photos from previous Initiative Outdoor courses depicting locations and activities in Nepal.
Tyler Hawkins proposes WildArt Explorations, which would use art in wilderness activities to foster awareness and connection to nature. The tours would teach primitive skills like shelter building, foraging, and food preparation. The startup costs include a van, yurts, a dome, and bikes. Hawkins has experience in art, outdoor leadership, and survival skills. He aims to obtain certifications in first aid, conflict resolution, and wilderness survival to lead legal and safe tours for children, teens, and adults.
This document compares presentation software and focuses on Prezi, describing its history as an online zooming presentation tool launched in 2009, key features like frames and paths, how to use Prezi, its products, and advantages over PowerPoint like showing information on one slide through zooming rather than multiple slides.
The document summarizes a 2-day wilderness survival camp organized by the Kelab Kembara club at Management and Science University. The camp aims to teach students basic wilderness survival skills through hands-on activities over the weekend at Out Bac Broga Camp, including constructing shelters, cooking over fires, purifying water, navigation, first aid, and team-building exercises. A total of 15 students will participate in the camp, taking part in a structured itinerary of survival lessons and recreational extreme activities designed to build confidence and cultivate leadership skills.
Learn Top Survival Techniques About Wilderness TravelPeterdkPori
Travelling to remote countries can be an amazing adventure. However, there is a different side to wilderness travel, so learn some techniques that could be crucial in saving your life. Reach us: http://www.holidaybooked.com/. Call us at: 01305 848039.
The document describes Bay Area Wilderness Training (BAWT), which trains youth leaders and provides support to get local youth outdoors. It aims to address nature-deficit disorder by increasing children's access to nature. BAWT offers various training courses and provides gear, transportation, funding, and community support through initiatives like Climbing for Kids fundraising events. The organization has trained thousands of leaders who have served hundreds of youth annually since 1999.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive function. Exercise causes chemical changes in the brain that may help protect against developing mental illness and improve symptoms for those who already suffer from conditions like anxiety and depression.
This document outlines the various semester programs offered by Initiative Outdoor in Nepal, including wilderness leadership, environmental studies, white water rafting and kayaking, mountaineering and rock climbing, trekking and backpacking. It provides details on the duration and activities involved in each program, and includes photos from previous Initiative Outdoor courses depicting locations and activities in Nepal.
Tyler Hawkins proposes WildArt Explorations, which would use art in wilderness activities to foster awareness and connection to nature. The tours would teach primitive skills like shelter building, foraging, and food preparation. The startup costs include a van, yurts, a dome, and bikes. Hawkins has experience in art, outdoor leadership, and survival skills. He aims to obtain certifications in first aid, conflict resolution, and wilderness survival to lead legal and safe tours for children, teens, and adults.
Composer is a dependency manager and package manager for PHP that allows projects to declare their dependencies in a composer.json file. It installs dependencies and manages autoloading so that dependencies are available to a project. The presentation discusses why Composer is useful for avoiding dependency issues, how to initialize a project with Composer, add and update dependencies, and how Composer can be used to manage modules and themes in Drupal projects. It also covers using Composer scripts and plugins as well as integrating Composer and Drush.
This is the presentation I would have loved to see when I started using Composer with Drupal. Based on my experience working with Composer and Drupal 7 + Drupal 8.
Learn about the basics working with the Dependency Management for PHP: Composer. Dicover the commands, files (composer.lock and composer.json), the pros but also the cons of using the tool.
This was presented in October 2016 in Cebu for Cebu Drupal Meetups, and Drupalcamp Japan 2017 in Tokyo in January 2017.
This document provides an introduction and overview of Composer, including information on downloading and installing Composer, the composer.json file format, basic folder structures and commands, the Packagist repository, important links, and contact information for the Composer creators.
Composer is the de-facto php dependency management tool of the future. An ever-increasing number of useful open-source libraries are available for easy use via Packagist, the standard repository manager for Composer. As more and more Drupal contrib modules begin to depend on external libraries from Packagist, the motivation to use Composer to manage grows stronger; since Drupal 8 Core, and Drush 7 are now also using Composer to manage dependencies, the best way to ensure that all of the requirements are resolved correctly is to manage everything from a top-level project composer.json file.
This deck examines the different ways that Composer can be used to manage your project code, and how these new practices will influence how you use Drush and deploy code.
Watch the session video: https://www.youtube.com/watch?v=WNS3d_wzZ2Y
Composer is a dependency manager for PHP projects that allows developers to declare and install dependencies and their versions. It guarantees consistency across team members and environments by locking dependency versions in a composer.lock file. To use Composer, a project's dependencies are defined in a composer.json file. Running "composer install" will install all dependencies into the vendor folder from the versions specified in composer.lock. Composer can be used with frameworks like Drupal and WordPress to manage their core files and dependencies.
Composer is the new Drush - Drupal Developer Training (internal)Exove
Drupal project codebase can and should be managed with Composer, as it provides better and more reliable results when building codebase. Drupal Console is replacing Drush -based workflows fast.
Training 20.12.2016 by Perttu Ehn
Composer tools and frameworks for DrupalPromet Source
This presentation from Drupal GovCon 2015 reviews the composer framework and toolkit for dependency management in Drupal. If your Drupal project is using PHP libraries outside of the Drupal ecosystem then you can benefit by adopting this powerful workflow today.
Composer tools and frameworks for drupal.pptPromet Source
Composer is the de-facto php dependency management tool of the future. An ever-increasing number of useful open-source libraries are available for easy use via Packagist, the standard repository manager for Composer. As more and more Drupal contrib modules begin to depend on external libraries from Packagist, the motivation to use Composer to manage grows stronger; since Drupal 8 Core, and Drush 7 are now also using Composer to manage dependencies, the best way to insure that all of the requirements are resolved correctly is to manage everything from a top-level project composer.json file.
How not to lose your head at work with WordPress by using tools common in today's PHP development. Tools like git and composer may help you develop more maintainable applications.
This document discusses several programming languages and tools, including C, NuGet, Gradle, Jenkins, SDL, Allegro, Go, and others. It provides information on platforms supported, initialization, graphics, input handling, timers, and extensions for these languages and frameworks. It also mentions IDEs like Qt Creator, C9.io, and Sublime Text. Towards the end, it advertises YSofters and provides contact information.
Development in C language in context of year 2016. Reference to new tooling and productivity tools. Update about Gradle 2.13 and new tools like Clion or Visual Studio Code
Equinox/p2 - Getting started with Equinox/p2Tomasz Zarna
The document introduces p2, the provisioning platform in Eclipse. It discusses what p2 is, how to install and manage plugins using p2 folders, how the p2 installer works, and provides links for additional p2 resources. The key points are that p2 allows managing software installations, p2 folders are used to install and manage plugins, and the p2 installer simplifies installation workflows.
Composer allows PHP developers to declare and manage dependencies of PHP packages and libraries. It provides tools for installing, updating, and managing dependencies of PHP applications and packages. The document discusses how to use Composer to declare dependencies in a composer.json file, install dependencies, publish your own packages, and consume packages published by other developers. It highlights benefits like dependency management, autoloading, and keeping dependencies updated.
Makefiles in 2020 — Why they still matterSimon Brüggen
Make was created in 1976 by Stuart Feldman at Bell Labs to help build C programs. But how can this 40+ year old piece of software help us develop and maintain our ever-growing amount of cloud-based microservices?
C++ offers advantages over C# for systems programming and developing device drivers that require low-level access, as C++ programs can be compiled to run directly on hardware while C# code runs on a virtual machine. Specifically, C++ supports template metaprogramming, typedefs, const-correctness, and produces highly optimized code. While some device drivers can now run as user-mode applications in Windows, C++ remains more suitable for kernel-level drivers. The example then demonstrates a simple "Hello World" C++ program using cout to display output.
Be a happier developer with Docker: Tricks of the tradeNicola Paolucci
This document provides an overview of how Docker can make developers happy by providing clean and perfect development environments, fast application mobility and repeatability, and enabling great collaboration through microservices architecture. It then discusses various workflows and techniques for using Docker, including developing inside a single running container, leveraging containers to modularize code, reusing Dockerfiles, sharing data between containers through volumes, accessing Docker in a VM through methods like NFS or Samba, using linked containers for simple service connections, and opening ports on containers using techniques like port forwarding, VBoxManage port exposure, and iptables.
Efficient development workflows with composernuppla
Composer is a great tool for managing a project's dependencies - however, as with many tools there are various ways to use it. That's why this session will provide you an overview of possible workflows and shows practical solutions for building and deploying composer-managed projects. It covers experiences with handling Drupal projects and focus on approaches that can be shared across projects and team members.
Topics:
- Introduction: What is composer and how to use it with Drupal
- Build & deployment workflows for composer-managed projects
- Composer & Drupal: Challenges & solutions
- Creating re-usable packages
Be a Happier Developer with Docker: Tricks of the TradeDocker, Inc.
This document discusses various workflows and techniques for using Docker, including:
- Developing inside a single running container for a simplified development environment
- Leveraging containers to modularize code and applications into reusable components
- Sharing data between containers and hosts using volumes to mount folders
- Accessing containers running in virtual machines through NFS, Samba, or by patching boot2docker
- Linking containers to simplify connections between services
- Exposing ports from containers to hosts through port forwarding or iptables rules
Managing your Drupal project with ComposerMatt Glaman
Drupal 8 is all about getting off the island and leveraging things invented elsewhere. With that, we must use a package manager tool. PHP's de facto package manager is now Composer. However, adopting Composer has been a rough spot with the Drupal community.
In this presentation, Matt Glaman will explore Composer and how using it will streamline your workflow.
Презентация Владимира Храмцова к докладу про оптимизацию двух маленьких PHP проектов. Основыне тезисы: что происходит, когда увеличивается нагрузка, какие возникают проблемы и способы их решения.
More Related Content
Similar to Composer in the wilderness by Josef Bielawski
Composer is a dependency manager and package manager for PHP that allows projects to declare their dependencies in a composer.json file. It installs dependencies and manages autoloading so that dependencies are available to a project. The presentation discusses why Composer is useful for avoiding dependency issues, how to initialize a project with Composer, add and update dependencies, and how Composer can be used to manage modules and themes in Drupal projects. It also covers using Composer scripts and plugins as well as integrating Composer and Drush.
This is the presentation I would have loved to see when I started using Composer with Drupal. Based on my experience working with Composer and Drupal 7 + Drupal 8.
Learn about the basics working with the Dependency Management for PHP: Composer. Dicover the commands, files (composer.lock and composer.json), the pros but also the cons of using the tool.
This was presented in October 2016 in Cebu for Cebu Drupal Meetups, and Drupalcamp Japan 2017 in Tokyo in January 2017.
This document provides an introduction and overview of Composer, including information on downloading and installing Composer, the composer.json file format, basic folder structures and commands, the Packagist repository, important links, and contact information for the Composer creators.
Composer is the de-facto php dependency management tool of the future. An ever-increasing number of useful open-source libraries are available for easy use via Packagist, the standard repository manager for Composer. As more and more Drupal contrib modules begin to depend on external libraries from Packagist, the motivation to use Composer to manage grows stronger; since Drupal 8 Core, and Drush 7 are now also using Composer to manage dependencies, the best way to ensure that all of the requirements are resolved correctly is to manage everything from a top-level project composer.json file.
This deck examines the different ways that Composer can be used to manage your project code, and how these new practices will influence how you use Drush and deploy code.
Watch the session video: https://www.youtube.com/watch?v=WNS3d_wzZ2Y
Composer is a dependency manager for PHP projects that allows developers to declare and install dependencies and their versions. It guarantees consistency across team members and environments by locking dependency versions in a composer.lock file. To use Composer, a project's dependencies are defined in a composer.json file. Running "composer install" will install all dependencies into the vendor folder from the versions specified in composer.lock. Composer can be used with frameworks like Drupal and WordPress to manage their core files and dependencies.
Composer is the new Drush - Drupal Developer Training (internal)Exove
Drupal project codebase can and should be managed with Composer, as it provides better and more reliable results when building codebase. Drupal Console is replacing Drush -based workflows fast.
Training 20.12.2016 by Perttu Ehn
Composer tools and frameworks for DrupalPromet Source
This presentation from Drupal GovCon 2015 reviews the composer framework and toolkit for dependency management in Drupal. If your Drupal project is using PHP libraries outside of the Drupal ecosystem then you can benefit by adopting this powerful workflow today.
Composer tools and frameworks for drupal.pptPromet Source
Composer is the de-facto php dependency management tool of the future. An ever-increasing number of useful open-source libraries are available for easy use via Packagist, the standard repository manager for Composer. As more and more Drupal contrib modules begin to depend on external libraries from Packagist, the motivation to use Composer to manage grows stronger; since Drupal 8 Core, and Drush 7 are now also using Composer to manage dependencies, the best way to insure that all of the requirements are resolved correctly is to manage everything from a top-level project composer.json file.
How not to lose your head at work with WordPress by using tools common in today's PHP development. Tools like git and composer may help you develop more maintainable applications.
This document discusses several programming languages and tools, including C, NuGet, Gradle, Jenkins, SDL, Allegro, Go, and others. It provides information on platforms supported, initialization, graphics, input handling, timers, and extensions for these languages and frameworks. It also mentions IDEs like Qt Creator, C9.io, and Sublime Text. Towards the end, it advertises YSofters and provides contact information.
Development in C language in context of year 2016. Reference to new tooling and productivity tools. Update about Gradle 2.13 and new tools like Clion or Visual Studio Code
Equinox/p2 - Getting started with Equinox/p2Tomasz Zarna
The document introduces p2, the provisioning platform in Eclipse. It discusses what p2 is, how to install and manage plugins using p2 folders, how the p2 installer works, and provides links for additional p2 resources. The key points are that p2 allows managing software installations, p2 folders are used to install and manage plugins, and the p2 installer simplifies installation workflows.
Composer allows PHP developers to declare and manage dependencies of PHP packages and libraries. It provides tools for installing, updating, and managing dependencies of PHP applications and packages. The document discusses how to use Composer to declare dependencies in a composer.json file, install dependencies, publish your own packages, and consume packages published by other developers. It highlights benefits like dependency management, autoloading, and keeping dependencies updated.
Makefiles in 2020 — Why they still matterSimon Brüggen
Make was created in 1976 by Stuart Feldman at Bell Labs to help build C programs. But how can this 40+ year old piece of software help us develop and maintain our ever-growing amount of cloud-based microservices?
C++ offers advantages over C# for systems programming and developing device drivers that require low-level access, as C++ programs can be compiled to run directly on hardware while C# code runs on a virtual machine. Specifically, C++ supports template metaprogramming, typedefs, const-correctness, and produces highly optimized code. While some device drivers can now run as user-mode applications in Windows, C++ remains more suitable for kernel-level drivers. The example then demonstrates a simple "Hello World" C++ program using cout to display output.
Be a happier developer with Docker: Tricks of the tradeNicola Paolucci
This document provides an overview of how Docker can make developers happy by providing clean and perfect development environments, fast application mobility and repeatability, and enabling great collaboration through microservices architecture. It then discusses various workflows and techniques for using Docker, including developing inside a single running container, leveraging containers to modularize code, reusing Dockerfiles, sharing data between containers through volumes, accessing Docker in a VM through methods like NFS or Samba, using linked containers for simple service connections, and opening ports on containers using techniques like port forwarding, VBoxManage port exposure, and iptables.
Efficient development workflows with composernuppla
Composer is a great tool for managing a project's dependencies - however, as with many tools there are various ways to use it. That's why this session will provide you an overview of possible workflows and shows practical solutions for building and deploying composer-managed projects. It covers experiences with handling Drupal projects and focus on approaches that can be shared across projects and team members.
Topics:
- Introduction: What is composer and how to use it with Drupal
- Build & deployment workflows for composer-managed projects
- Composer & Drupal: Challenges & solutions
- Creating re-usable packages
Be a Happier Developer with Docker: Tricks of the TradeDocker, Inc.
This document discusses various workflows and techniques for using Docker, including:
- Developing inside a single running container for a simplified development environment
- Leveraging containers to modularize code and applications into reusable components
- Sharing data between containers and hosts using volumes to mount folders
- Accessing containers running in virtual machines through NFS, Samba, or by patching boot2docker
- Linking containers to simplify connections between services
- Exposing ports from containers to hosts through port forwarding or iptables rules
Managing your Drupal project with ComposerMatt Glaman
Drupal 8 is all about getting off the island and leveraging things invented elsewhere. With that, we must use a package manager tool. PHP's de facto package manager is now Composer. However, adopting Composer has been a rough spot with the Drupal community.
In this presentation, Matt Glaman will explore Composer and how using it will streamline your workflow.
Similar to Composer in the wilderness by Josef Bielawski (20)
Презентация Владимира Храмцова к докладу про оптимизацию двух маленьких PHP проектов. Основыне тезисы: что происходит, когда увеличивается нагрузка, какие возникают проблемы и способы их решения.
В продолжение темы непрерывной интеграции, Макс расскажет о своем подходе организации непрерывной интеграции и деплоймента в Symfony проектах. Рассказ включает следующие темы:
- Управления зависимостями
- Процесс и инструменты для сборки
- Сервера непрерывной интеграции и в частности Jenkins, плагины к нему, jobs
- Процесс разработки в git
- Процесс выгрузки релиза
- Миграция БД
- Откат релиза
Александр на протяжении длительного времени занимался тестированием драйверов MongoDB для разных языков, в том числе и PHP. В докладе:
- Введение в MongoDB
- Сравнение NoSQL баз данных
- Ответы на популярные вопросы: как? когда? почему?
- MongoDB и PHP фреймворки
Use Composer locally and commit the lock file to the repository. No stable version of Composer exists yet. Developers and CI servers should use the same Composer version. Optimize the autoloader and understand how install, update, and require work. Only use update to upgrade dependencies and check that the lock file is not accidentally committed during code reviews.
Dandelion Hashtable: beyond billion requests per second on a commodity serverAntonios Katsarakis
This slide deck presents DLHT, a concurrent in-memory hashtable. Despite efforts to optimize hashtables, that go as far as sacrificing core functionality, state-of-the-art designs still incur multiple memory accesses per request and block request processing in three cases. First, most hashtables block while waiting for data to be retrieved from memory. Second, open-addressing designs, which represent the current state-of-the-art, either cannot free index slots on deletes or must block all requests to do so. Third, index resizes block every request until all objects are copied to the new index. Defying folklore wisdom, DLHT forgoes open-addressing and adopts a fully-featured and memory-aware closed-addressing design based on bounded cache-line-chaining. This design offers lock-free index operations and deletes that free slots instantly, (2) completes most requests with a single memory access, (3) utilizes software prefetching to hide memory latencies, and (4) employs a novel non-blocking and parallel resizing. In a commodity server and a memory-resident workload, DLHT surpasses 1.6B requests per second and provides 3.5x (12x) the throughput of the state-of-the-art closed-addressing (open-addressing) resizable hashtable on Gets (Deletes).
HCL Notes and Domino License Cost Reduction in the World of DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-and-domino-license-cost-reduction-in-the-world-of-dlau/
The introduction of DLAU and the CCB & CCX licensing model caused quite a stir in the HCL community. As a Notes and Domino customer, you may have faced challenges with unexpected user counts and license costs. You probably have questions on how this new licensing approach works and how to benefit from it. Most importantly, you likely have budget constraints and want to save money where possible. Don’t worry, we can help with all of this!
We’ll show you how to fix common misconfigurations that cause higher-than-expected user counts, and how to identify accounts which you can deactivate to save money. There are also frequent patterns that can cause unnecessary cost, like using a person document instead of a mail-in for shared mailboxes. We’ll provide examples and solutions for those as well. And naturally we’ll explain the new licensing model.
Join HCL Ambassador Marc Thomas in this webinar with a special guest appearance from Franz Walder. It will give you the tools and know-how to stay on top of what is going on with Domino licensing. You will be able lower your cost through an optimized configuration and keep it low going forward.
These topics will be covered
- Reducing license cost by finding and fixing misconfigurations and superfluous accounts
- How do CCB and CCX licenses really work?
- Understanding the DLAU tool and how to best utilize it
- Tips for common problem areas, like team mailboxes, functional/test users, etc
- Practical examples and best practices to implement right away
In the realm of cybersecurity, offensive security practices act as a critical shield. By simulating real-world attacks in a controlled environment, these techniques expose vulnerabilities before malicious actors can exploit them. This proactive approach allows manufacturers to identify and fix weaknesses, significantly enhancing system security.
This presentation delves into the development of a system designed to mimic Galileo's Open Service signal using software-defined radio (SDR) technology. We'll begin with a foundational overview of both Global Navigation Satellite Systems (GNSS) and the intricacies of digital signal processing.
The presentation culminates in a live demonstration. We'll showcase the manipulation of Galileo's Open Service pilot signal, simulating an attack on various software and hardware systems. This practical demonstration serves to highlight the potential consequences of unaddressed vulnerabilities, emphasizing the importance of offensive security practices in safeguarding critical infrastructure.
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyScyllaDB
Freshworks creates AI-boosted business software that helps employees work more efficiently and effectively. Managing data across multiple RDBMS and NoSQL databases was already a challenge at their current scale. To prepare for 10X growth, they knew it was time to rethink their database strategy. Learn how they architected a solution that would simplify scaling while keeping costs under control.
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc
How does your privacy program stack up against your peers? What challenges are privacy teams tackling and prioritizing in 2024?
In the fifth annual Global Privacy Benchmarks Survey, we asked over 1,800 global privacy professionals and business executives to share their perspectives on the current state of privacy inside and outside of their organizations. This year’s report focused on emerging areas of importance for privacy and compliance professionals, including considerations and implications of Artificial Intelligence (AI) technologies, building brand trust, and different approaches for achieving higher privacy competence scores.
See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar will review:
- The top 10 privacy insights from the fifth annual Global Privacy Benchmarks Survey
- The top challenges for privacy leaders, practitioners, and organizations in 2024
- Key themes to consider in developing and maintaining your privacy program
Have you ever been confused by the myriad of choices offered by AWS for hosting a website or an API?
Lambda, Elastic Beanstalk, Lightsail, Amplify, S3 (and more!) can each host websites + APIs. But which one should we choose?
Which one is cheapest? Which one is fastest? Which one will scale to meet our needs?
Join me in this session as we dive into each AWS hosting service to determine which one is best for your scenario and explain why!
Digital Marketing Trends in 2024 | Guide for Staying AheadWask
https://www.wask.co/ebooks/digital-marketing-trends-in-2024
Feeling lost in the digital marketing whirlwind of 2024? Technology is changing, consumer habits are evolving, and staying ahead of the curve feels like a never-ending pursuit. This e-book is your compass. Dive into actionable insights to handle the complexities of modern marketing. From hyper-personalization to the power of user-generated content, learn how to build long-term relationships with your audience and unlock the secrets to success in the ever-shifting digital landscape.
Main news related to the CCS TSI 2023 (2023/1695)Jakub Marek
An English 🇬🇧 translation of a presentation to the speech I gave about the main changes brought by CCS TSI 2023 at the biggest Czech conference on Communications and signalling systems on Railways, which was held in Clarion Hotel Olomouc from 7th to 9th November 2023 (konferenceszt.cz). Attended by around 500 participants and 200 on-line followers.
The original Czech 🇨🇿 version of the presentation can be found here: https://www.slideshare.net/slideshow/hlavni-novinky-souvisejici-s-ccs-tsi-2023-2023-1695/269688092 .
The videorecording (in Czech) from the presentation is available here: https://youtu.be/WzjJWm4IyPk?si=SImb06tuXGb30BEH .
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
Ivanti’s Patch Tuesday breakdown goes beyond patching your applications and brings you the intelligence and guidance needed to prioritize where to focus your attention first. Catch early analysis on our Ivanti blog, then join industry expert Chris Goettl for the Patch Tuesday Webinar Event. There we’ll do a deep dive into each of the bulletins and give guidance on the risks associated with the newly-identified vulnerabilities.
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...Alex Pruden
Folding is a recent technique for building efficient recursive SNARKs. Several elegant folding protocols have been proposed, such as Nova, Supernova, Hypernova, Protostar, and others. However, all of them rely on an additively homomorphic commitment scheme based on discrete log, and are therefore not post-quantum secure. In this work we present LatticeFold, the first lattice-based folding protocol based on the Module SIS problem. This folding protocol naturally leads to an efficient recursive lattice-based SNARK and an efficient PCD scheme. LatticeFold supports folding low-degree relations, such as R1CS, as well as high-degree relations, such as CCS. The key challenge is to construct a secure folding protocol that works with the Ajtai commitment scheme. The difficulty, is ensuring that extracted witnesses are low norm through many rounds of folding. We present a novel technique using the sumcheck protocol to ensure that extracted witnesses are always low norm no matter how many rounds of folding are used. Our evaluation of the final proof system suggests that it is as performant as Hypernova, while providing post-quantum security.
Paper Link: https://eprint.iacr.org/2024/257
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Composer in the wilderness by Josef Bielawski
1. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 1/62
IN THE WILDERNESS
2. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 2/62
WHO AM I?
Józef Bielawski, better known as stloyd
Sarcastic Pole with a flair for being real troll
Symfony2 and other OSS contributions
Author of many features at
Working at with Happy Awesome
Developers!
https://github.com/stloyd
KnpBundles
KnpLabs
3. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 3/62
LITTLE NOTE WHAT IS COMPOSER?
In real simply words Composer is dependency manager written in PHP. It
allows you to define and manage your project dependencies in really easy
way.
Inspiration for it was taken from such projects like npm for NodeJS &
Bundler for Ruby lang, yet internal solver code is inspired by OpenSuse
Libzypp satsolver.
4. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 4/62
YEAH SURE... BUT WHY USE COMPOSER?
5. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 5/62
ADOPTION BY PHP ECOSYSTEM
5 100+ packages with over 14 000 defined versions on
Packagist
Already 6 250 000+ installs only from Packagist
Supported by: Symfony2, Zend Framework, eZ Publish,
and many others...
with support for 17
different projects!
Multi-Framework Library Installer
6. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 6/62
HOW TO GET COMPOSER READY TO GO?
7. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 7/62
CHECK YOUR ENVIRONMENT:
$ curl -s http://getcomposer.org/installer | php -- --check
8. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 8/62
IF IT'S OK, DOWNLOAD:
$ curl -s http://getcomposer.org/installer | php
9. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 9/62
AND RUN LOCALLY:
$ php composer.phar --version
Composer version cd4d569
10. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 10/62
OR SETUP FOR GLOBAL USE:
ADD A CRON JOB FOR AUTO-UPDATE:
$ sudo mv composer.phar /usr/local/bin/composer
$ composer --version
Composer version cd4d569
$ crontab -e
* 12 * * * /usr/local/bin/composer self-update >/dev/null 2>&1
11. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 11/62
BUT WHAT WITH WINDOWS USERS?
12. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 12/62
USE EXECUTABLE INSTALLER
Download:
Run it and enjoy this simple process!
All required steps were done automatically, go to your
console and test!
http://getcomposer.org/Composer-Setup.exe
13. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 13/62
WE USED COMPOSER LONG TIME
AGO IN PROJECT
Will update be boring and painful?
14. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 14/62
UPDATING COMPOSER.LOCK TO NEW FORMAT
15. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 15/62
ADVANTAGES WITH NEW FORMAT
OF COMPOSER.LOCK FILE:
Composer is slower when using old format
New format is much more human-friendly
And probably more boring ones =)
16. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 16/62
UPDATE... NOTHING!
Update of composer.lockfile is really easy, just run:
Yep! None of your packages was updated!
$ composer update nothing
17. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 17/62
UPDATE ONLY WHAT YOU WANT!
$ composer update mypackage1 mypackage5
18. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 18/62
I DON'T WANNA UPDATE YET!
Check what updates are waiting for you:
$ composer update --dry-run
19. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 19/62
ADDITIONS TO UPDATE/INSTALL
20. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 20/62
DO YOU PREFER TO USE GIT CLONE?
$ composer update --prefer-source
21. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 21/62
OR MAYBE ZIP ARCHIVES?
$ composer update --prefer-dist
22. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 22/62
WHAT IS IN THIS?
$ composer update --verbose # or simply -v
23. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 23/62
YOU CAN COMBINE THOSE OPTIONS:
$ composer update --dry-run --dev -v
24. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 24/62
SO I GUESS YOU ARE BORED WITH
DEFINING OPTIONS IN EVERY PROJECT...
25. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 25/62
YET DEFINING SAME REPOSITORIES
AGAIN & AGAIN IN YOUR PROJECTS?
26. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 26/62
EDIT GLOBAL COMPOSER CONFIG!
Look into: $COMPOSER_HOME/config.json, this file
holds default settings.
27. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 27/62
PLACES WHERE CONFIG FILE CAN BE:
*nix: /home/YourUser/.composer/config.json
OSX: /Users/YourUser/.composer/config.json
Windows:
C:UsersYourUserAppDataRoamingComposerconfig.json
28. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 28/62
AVAILABLE SETTINGS
vendor-dir
bin-dir
process-timeout
github-protocols
notify-on-install
cache-files-ttl
Change them once and use in all your projects. No more boring defining
option in all your projects!
29. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 29/62
ADD EXTERNAL REPOSITORIES!
Similar way to global configuration, you can define repositories that will be always
checked in your projects i.e. Zend Framework packages! Simply open again your
configuration*: $COMPOSER_HOME/config.json, and simply add:
{
"repositories": [
{
"type": "composer",
"url": "http://packages.zendframework.com/"
}
]
}
30. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 30/62
BUT WHAT WITH OUR
PRIVATE REPOSITORY?
31. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 31/62
ADD IT TO YOUR GLOBAL CONFIG!
Composer have additional tool for generation and management of private
repositories:
Statis - package repository generator.
32. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 32/62
ADD IT TO YOUR GLOBAL CONFIG!
Same way as before, open configuration and add:
{
"repositories": [
{
"type": "composer",
"url": "http://packages.zendframework.com/"
},
{
"type": "composer",
"url": "http://statis.yourdomain.com/"
}
]
}
33. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 33/62
BUT OUR REPOSITORY IS NOW
NOT SECURED!
34. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 34/62
BLOCK ACCESS WITH SSH!
Statis allows to secure your private repository using over SSH (which
requires SSH2 PECL extension installed).
{
"repositories": [
{
"type": "composer",
"url": "ssh2.sftp://yourdomain.com",
"options": {
"ssh2": {
"username": "secret_user",
"pubkey_file": "/home/composer/.ssh/id_rsa.pub
",
"privkey_file": "/home/composer/.ssh/id_rsa"
}
}
}
]
}
35. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 35/62
OR USE SSL WITH CLIENT CERTIFICATE:
{
"repositories": [
{
"type": "composer",
"url": "https://yourdomain.com",
"options": {
"ssl": {
"cert_file": "/home/composer/.ssl/composer.pem
"
}
}
}
]
}
36. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 36/62
YOU USE ONLY CUSTOM REPOSITORIES
AND ZEND FRAMEWORK REPOSITORY?
37. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 37/62
YET YOU DON'T WANT TO CALL
PACKAGIST ON EVERY UPDATE?!
38. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 38/62
TURN OFF PACKAGIST!
Composer allows you to simply disable package lookup at official
repository.
{
"repositories": [
{
"type": "composer",
"url": "http://packages.zendframework.com/"
},
{
"type": "composer",
"url": "http://statis.yourdomain.com/"
},
{
"packagist": false
}
]
}
Packagist.org
39. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 39/62
WHAT TO DO IF WE HAVE OUR
BUGFIX/FEATURE FOR PACKAGE BUT
IT WAS NOT MERGED YET?
40. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 40/62
OVERRIDING "DEFAULT" PACKAGES
Dependency solver implemented in Composer allows to easily override
any package defined in repositories: default (from Packagist), yet those
really custom.
41. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 41/62
OVERRIDING "DEFAULT" PACKAGES
To do that add your fork as repository, and require patched version:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/stloyd/Buzz"
}
],
"require": {
"kriswallsmith/buzz": "dev-feature/awesome-thing"
}
}
42. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 42/62
OVERRIDING "DEFAULT" PACKAGES
To prevent conflicts in dependency solver, you would need to use very
useful aliasing feature (it's possible because custom repositories have
higher priority when resolving dependencies).
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/stloyd/Buzz"
}
],
"require": {
"kriswallsmith/buzz": "dev-feature/awesome-thing as 0.7",
"hwi/oauth-bundle": "*"
}
}
43. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 43/62
BUT SEEMS THAT OUR FORK WILL
NOT BE MERGE SOON...
WE REALLY NEED THIS FEATURE!
44. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 44/62
REPLACING "DEFAULT" PACKAGES
In your composer.json for forked package, you need to define
replacetag.
{
"name": "stloyd/buzz",
"replace": {
"kriswallsmith/buzz": "0.7"
}
}
45. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 45/62
REPLACING "DEFAULT" PACKAGES
Now add your forked package to custom repository or to the Packagist
and define that package in composer.jsonfor your project!
{
"require": {
"stloyd/buzz": "1.0",
"hwi/oauth-bundle": "*"
}
}
46. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 46/62
HOUSTON, WE HAVE A PROBLEM!
47. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 47/62
COMMON PROBLEMS
48. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 48/62
THAT PACKAGE CANNOT BE FOUND?
Yet you can we can see it at Packagist or in any other repository. Be sure
to check that in your composer.jsonyou have pointed all required
repositories.
$ composer show pagerfanta/pagerfanta
49. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 49/62
THAT PACKAGE CANNOT BE FOUND?
If you have all required repositories defined in your composer.json,
you should check that for package you are looking for is defined stable
version.
By default Composer always tries to install/update to latest stable version
in defined range. Sorry to say, but many packages don't have yet any
"stable" version defined.
50. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 50/62
FORCE PACKAGE STABILITY
You can force Composer to always install packages with different stability,
yet I would not recommend this approach.
{
"require": {
"pagerfanta/pagerfanta": "*"
},
"minimum-stability": "dev"
}
51. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 51/62
FORCE PACKAGE STABILITY
Better approach is to define stability for specific packages:
{
"require": {
"pagerfanta/pagerfanta": "dev-master"
"symfony/symfony": "2.2.*@dev",
"doctrine/orm": "2.3.*"
}
}
52. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 52/62
MORE COMMON PROBLEMS
53. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 53/62
HOW DO DISABLE SCRIPTS CALLS?
$ composer install --no-scripts
54. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 54/62
PACKAGE IS NOT AUTO-UPDATING?
Be sure that composer.jsonis valid:
$ composer validate
./composer.json is valid
55. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 55/62
GITHUB FAILS?
Every attempt to update, fails because of GitHub error when downloading
archives?
$ composer install --prefer-source
56. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 56/62
DOWNLOADS ARE REALLY SLOW?
$ composer install --prefer-dist
57. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 57/62
ALWAYS USE LATEST COMPOSER!
$ composer self-update
58. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 58/62
NOTHING HELPS?
In edge cases you can try to force re-installation of dependencies:
$ rm -rf vendor/
$ composer update -v
59. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 59/62
LEARN MORE:
&
getcomposer.org
packagist.org
github.com/composer
composer-dev google group
#composer #composer-dev
60. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 60/62
THANK YOU
61. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 61/62
QUESTIONS?
FOLLOW ME AT TWITTER:
OR AT GITHUB:
@STLOYD
STLOYD
62. 6/19/13 Composer in the wilderness
2012.symfonycamp.org.ua/uploads/slides/composer/index.html?print-pdf#/ 62/62
BECOME A NINJA!
YEAH PEOPLE, WE'RE HIRING!
GO CHECK OUT OUR WEBSITE:
OR SIMPLY CONTACT WITH US:
HTTP://KNPLABS.COM/JOBS
JOB@KNPLABS.COM