Hardware
Mariano Iglesias
CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying web applications. While the framework has a lot of documentation and reference guides available for beginners, developing more sophisticated and scalable applications require a deeper knowledge of CakePHP features, a challenge that proves difficult even for well established developers.The recipes in this cookbook will give you instant results and help you to develop web applications, leveraging the CakePHP features that allow you to build robust and complex applications. Following the recipes in this book you will be able to understand and use these features in no time. We start with setting up authentication on a CakePHP application. One of the most important aspects of a CakePHP application: the relationship between models, also known as model bindings. Model binding is an integral part of any application's logic and we can manipulate it to get the data we need and when we need. We will go through a series of recipes that will show us how to change the way bindings are fetched, what bindings and what information from a binding is returned, how to create new bindings, and how to build hierarchical data structures. We also define our custom find types that will extend the three basic ones, allowing our code to be even more readable and also create our own find type, with pagination support. This book also has recipes that cover two aspects of CakePHP models that are fundamental to most applications: validation, and behaviors.
Jonathan Linowes, Matt Schoen
Google Cardboard is a low-cost, entry-level media platform through which you can experience virtual reality and virtual 3D environments. Its applications are as broad and varied as mobile smartphone applications themselves. This book will educate you on the best practices and methodology needed to build effective, stable, and performant mobile VR applications.In this book, we begin by defining virtual reality (VR) and how Google Cardboard fits into the larger VR and Android ecosystem. We introduce the underlying scientific and technical principles behind VR, including geometry, optics, rendering, and mobile software architecture. We start with a simple example app that ensures your environment is properly set up to write, build, and run the app. Then we develop a reusable VR graphics engine that you can build upon. And from then on, each chapter is a self-contained project where you will build an example from a different genre of application, including a 360 degree photo viewer, an educational simulation of our solar system, a 3D model viewer, and a music visualizer.Given the recent updates that were rolled out at Google I/O 2016, the authors of Cardboard VR Projects for Android have collated some technical notes to help you execute the projects in this book with Google VR Cardboard Java SDK 0.8, released in May 2016. Refer to the article at https://www.packtpub.com/sites/default/files/downloads/GoogleVRUpdateGuideforCardbook.pdf which explains the updates to the source code of the projects.
Karan Singh
Ceph is a unified, distributed storage system designed for excellent performance, reliability, and scalability. This cutting-edge technology has been transforming the storage industry, and is evolving rapidly as a leader in software-defined storage space, extending full support to cloud platforms such as Openstack and Cloudstack, including virtualization platforms. It is the most popular storage backend for Openstack, public, and private clouds, so is the first choice for a storage solution. Ceph is backed by RedHat and is developed by a thriving open source community of individual developers as well as several companies across the globe.This book takes you from a basic knowledge of Ceph to an expert understanding of the most advanced features, walking you through building up a production-grade Ceph storage cluster and helping you develop all the skills you need to plan, deploy, and effectively manage your Ceph cluster. Beginning with the basics, you’ll create a Ceph cluster, followed by block, object, and file storage provisioning. Next, you’ll get a step-by-step tutorial on integrating it with OpenStack and building a Dropbox-like object storage solution. We’ll also take a look at federated architecture and CephFS, and you’ll dive into Calamari and VSM for monitoring the Ceph environment. You’ll develop expert knowledge on troubleshooting and benchmarking your Ceph storage cluster. Finally, you’ll get to grips with the best practices to operate Ceph in a production environment.
Karan Singh, Michael Hackett, Vikhyat Umrao
Ceph is a unified distributed storage system designed for reliability and scalability. This technology has been transforming the software-defined storage industry and is evolving rapidly as a leader with its wide range of support for popular cloud platforms such as OpenStack, and CloudStack, and also for virtualized platforms. Ceph is backed by Red Hat and has been developed by community of developers which has gained immense traction in recent years. This book will guide you right from the basics of Ceph , such as creating blocks, object storage, and filesystem access, to advanced concepts such as cloud integration solutions. The book will also cover practical and easy to implement recipes on CephFS, RGW, and RBD with respect to the major stable release of Ceph Jewel. Towards the end of the book, recipes based on troubleshooting and best practices will help you get to grips with managing Ceph storage in a production environment. By the end of this book, you will have practical, hands-on experience of using Ceph efficiently for your storage requirements.
Michael Hackett, Vikhyat Umrao, Karan Singh, Nick...
This Learning Path takes you through the basics of Ceph all the way to gaining in-depth understanding of its advanced features. You’ll gather skills to plan, deploy, and manage your Ceph cluster. After an introduction to the Ceph architecture and its core projects, you’ll be able to set up a Ceph cluster and learn how to monitor its health, improve its performance, and troubleshoot any issues. By following the step-by-step approach of this Learning Path, you’ll learn how Ceph integrates with OpenStack, Glance, Manila, Swift, and Cinder. With knowledge of federated architecture and CephFS, you’ll use Calamari and VSM to monitor the Ceph environment. In the upcoming chapters, you’ll study the key areas of Ceph, including BlueStore, erasure coding, and cache tiering. More specifically, you’ll discover what they can do for your storage system. In the concluding chapters, you will develop applications that use Librados and distributed computations with shared object classes, and see how Ceph and its supporting infrastructure can be optimized. By the end of this Learning Path, you'll have the practical knowledge of operating Ceph in a production environment.This Learning Path includes content from the following Packt products:• Ceph Cookbook by Michael Hackett, Vikhyat Umrao and Karan Singh• Mastering Ceph by Nick Fisk• Learning Ceph, Second Edition by Anthony D'Atri, Vaibhav Bhembre and Karan Singh
Adrian Thompson
ChatGPT for Conversational AI and Chatbots is a definitive resource for exploring conversational AI, ChatGPT, and large language models.This book introduces the fundamentals of ChatGPT and conversational AI automation. You’ll explore the application of ChatGPT in conversation design, the use of ChatGPT as a tool to create conversational experiences, and a range of other practical applications. As you progress, you’ll delve into LangChain, a dynamic framework for LLMs, covering topics such as prompt engineering, chatbot memory, using vector stores, and validating responses. Additionally, you’ll learn about creating and using LLM-enabling tools, monitoring and fine tuning, LangChain UI tools such as LangFlow, and the LangChain ecosystem. You’ll also cover popular use cases, such as using ChatGPT in conjunction with your own data. Later, the book focuses on creating a ChatGPT-powered chatbot that can comprehend and respond to queries directly from your unique data sources. The book then guides you through building chatbot UIs with ChatGPT API and some of the tools and best practices available.By the end of this book, you’ll be able to confidently leverage ChatGPT technologies to build conversational AI solutions.
Janusz Wójcik
Chłodzenie procesorów PC bez tajemnic Komputery osobiste, stacje robocze i serwery zużywają w czasie pracy dużo energii elektrycznej, emitując przy tym sporo ciepła. Znaczna jego część jest wydzielana przez procesory, które są coraz szybciej taktowane i wyposażane w coraz większą liczbę rdzeni. Zbyt wysoka temperatura wewnątrz jednostek centralnych powoduje zmniejszenie stabilności pracy i szybsze zużycie podzespołów, a w konsekwencji pogorszenie wydajności i zwiększenie awaryjności. Dlatego tak istotne jest wprowadzanie technik efektywnego chłodzenia elementów elektronicznych i ciągłe poszukiwanie nowych rozwiązań w ramach badań w tym zakresie. Książka jest przeznaczona dla osób zainteresowanych zgłębieniem aktualnej wiedzy na temat dostępnych technik chłodzenia procesorów komputerowych. Autor przedstawia teoretyczne podstawy zjawisk związanych z wymianą ciepła w elementach elektronicznych - prezentuje stosowane w tym zakresie modele i metody, szczegółowo opisuje badania nad chłodzeniem wykorzystującym powietrze, wodę i nanopłyny, a także omawia możliwości zwiększenia wydajności wymiany ciepła przy użyciu innych technik. To obowiązkowa pozycja dla każdego, kto zawodowo zajmuje się tą tematyką. Modele i metody używane w badaniach nad chłodzeniem procesorów Badania nad chłodzeniem procesorów przy użyciu powietrza Badania nad chłodzeniem z wykorzystaniem cieczy, w tym nanopłynów Historia i nowe techniki chłodzenia procesorów komputerowych
Janusz Wójcik
Chłodzenie procesorów PC bez tajemnic Komputery osobiste, stacje robocze i serwery zużywają w czasie pracy dużo energii elektrycznej, emitując przy tym sporo ciepła. Znaczna jego część jest wydzielana przez procesory, które są coraz szybciej taktowane i wyposażane w coraz większą liczbę rdzeni. Zbyt wysoka temperatura wewnątrz jednostek centralnych powoduje zmniejszenie stabilności pracy i szybsze zużycie podzespołów, a w konsekwencji pogorszenie wydajności i zwiększenie awaryjności. Dlatego tak istotne jest wprowadzanie technik efektywnego chłodzenia elementów elektronicznych i ciągłe poszukiwanie nowych rozwiązań w ramach badań w tym zakresie. Książka jest przeznaczona dla osób zainteresowanych zgłębieniem aktualnej wiedzy na temat dostępnych technik chłodzenia procesorów komputerowych. Autor przedstawia teoretyczne podstawy zjawisk związanych z wymianą ciepła w elementach elektronicznych - prezentuje stosowane w tym zakresie modele i metody, szczegółowo opisuje badania nad chłodzeniem wykorzystującym powietrze, wodę i nanopłyny, a także omawia możliwości zwiększenia wydajności wymiany ciepła przy użyciu innych technik. To obowiązkowa pozycja dla każdego, kto zawodowo zajmuje się tą tematyką. Modele i metody używane w badaniach nad chłodzeniem procesorów Badania nad chłodzeniem procesorów przy użyciu powietrza Badania nad chłodzeniem z wykorzystaniem cieczy, w tym nanopłynów Historia i nowe techniki chłodzenia procesorów komputerowych
Nirav Mehta
There are many powerful open source CMSs available to take the pain away from managing a web site. These systems are feature rich, often easy to use, and free. Unfortunately, there are so many choices it's tough to be sure you're choosing the right one. How can you be sure that you are selecting and working with the right tool?This book will guide you through choosing the right CMS for your needs. You can be confident in your choice of CMS for the needs of your project. It will also help you make a start using the CMS, and give you a feel for what it's like to use it ñ even before you install it yourself.Are you bewildered by the many open source CMSs available online? Open source CMSs are the best way to create and manage sophisticated web sites. You can create a site that precisely meets your business goals, and keep the site up to date easily because these systems give you full control over every aspect of your site. Because open source CMSs are free to download, you have a huge amount of choice between the various systems.Yet there are many open source CMSs to choose from, each with unique strengths ñ and occasionally limitations too. Choosing between the bewildering number of options can be tough.Making the wrong choice early on may lead to a lot of wasted work, because you'll have a half-finished site that doesn't meet your initial requirements ñ and needs to be restarted from scratch.This book will show you how to avoid choosing the wrong CMS. It will guide you through assessing your site requirements, and then using that assessment to identify the CMS that will best fit your needs. It contains discussions of the major CMSs, and the issues that you should consider when choosing: their complexity to use, their features and the power they offer. It discusses technical considerations such as programming languages and compliance with best practice standards in a clear, friendly way that non-technical readers can understand.The book also contains quick-start guides and examples for the most popular CMSs such as WordPress, Joomla!, and Drupal, so that you can experiment with these CMSs, get a feel for how they work, and start using them to build your site.After reading this book, you can be confident that your CMS choice will support your web site's needs because you have carefully assessed your requirements and explored the available options.