万本电子书0元读

万本电子书0元读

Android Application Development Cookbook - Second Edition
Android Application Development Cookbook - Second Edition
Rick Boyer
¥80.65
Over 100 recipes to help you solve the most common problems faced by Android Developers today About This Book Find the answers to your common Android programming problems, from set up to security, to help you deliver better applications, faster Uncover the latest features of Android Marshmallow to make your applications stand out Get up to speed with Android Studio 1.4 - the first Android Studio based on the IntelliJ IDE from JetBrains Who This Book Is For If you are new to Android development and want to take a hands-on approach to learning the framework, or if you are an experienced developer in need of clear working code to solve the many challenges in Android development, you can benefit from this book. Either way, this is a resource you’ll want to keep at your desk for a quick reference to solve new problems as you tackle more challenging projects. What You Will Learn Along with Marshmallow, get hands-on working with Google’s new Android Studio IDE Develop applications using the latest Android framework while maintaining backward-compatibility with the support library Master Android programming best practices from the recipes Create exciting and engaging applications using knowledge gained from recipes on graphics, animations, and multimedia Work through succinct steps on specifics that will help you complete your project faster Keep your app responsive (and prevent ANRs) with examples on the AsynchTask class Utilize Google Speech Recognition APIs for your app. Make use of Google Cloud Messaging (GCM) to create Push Notifications for your users Get a better understanding of the Android framework through detailed explanations In Detail The Android OS has the largest installation base of any operating system in the world; there has never been a better time to learn Android development to write your own applications, or to make your own contributions to the open source community! This “cookbook” will make it easy for you to jump to a topic of interest and get what you need to implement the feature in your own application. If you are new to Android and learn best by “doing,” then this book will provide many topics of interest. Starting with the basics of Android development, we move on to more advanced concepts, and we’ll guide you through common tasks developers struggle to solve. The first few chapters cover the basics including Activities, Layouts, Widgets, and the Menu. From there, we cover fragments and data storage (including SQLite), device sensors, the camera, and GPS. Then we move on more advanced topics such as graphics and animation (including OpenGL), multi-threading with AsyncTask, and Internet functionality with Volley. We’ll also demonstrate Google Maps and Google Cloud Messaging (also known as Push Notifications) using the Google API Library. Finally, we’ll take a look at several online services designed especially for Android development. Take your application big-time with full Internet web services without having to become a server admin by leveraging the power of Backend as a Service (BaaS) providers. Style and approach This book progresses from the fundamentals of Android Development to more advanced concepts, with recipes to solve the most common problems faced by developers. This cookbook makes it easy to jump to specific topics of interest, where you’ll find simple steps to implement the solution and get a clear explanation of how it works.
VMware Performance and Capacity Management - Second Edition
VMware Performance and Capacity Management - Second Edition
Iwan 'e1' Rahabok
¥107.90
Master SDDC Operations with proven best practices About This Book Understand the drawbacks of the traditional paradigm and management that make operations difficult in SDDC Master performance and capacity management in Software-Defined Data Center Operationalize performance and capacity monitoring with proven dashboards Who This Book Is For This book is primarily for any system administrator or cloud infrastructure specialist who is interested in performance management and capacity management using VMware technologies. This book will also help IT professionals whose area of responsibility is not VMware, but who work with the VMware team. You can be Windows, Linux, Storage, or Network team; or application architects. Note that prior exposure to the VMware platform of data-center and cloud-based solutions is expected. What You Will Learn Simplify the task of performance and capacity management Master the counters in vCenter and vRealize Operations and understand their dependency on one another Educate your peers and management on SDDC Operations Complete your SDDC monitoring to include non-VMware components Perform SDDC performance troubleshooting Explore real-life examples of how super metric and advanced dashboards Introduce and implement a Performance SLA Accomplish your Capacity Management by taking into service tiering and performance SLA In Detail Performance management and capacity management are the two top-most issues faced by enterprise IT when doing virtualization. Until the first edition of the book, there was no in-depth coverage on the topic to tackle the issues systematically. The second edition expands the first edition, with added information and reorganizing the book into three logical parts. The first part provides the technical foundation of SDDC Management. It explains the difference between a software-defined data center and a classic physical data center, and how it impacts both architecture and operations. From this strategic view, it zooms into the most common challenges—performance management and capacity management. It introduces a new concept called Performance SLA and also a new way of doing capacity management. The next part provides the actual solution that you can implement in your environment. It puts the theories together and provides real-life examples created together with customers. It provides the reasons behind each dashboard, so that you get the understanding on why it is required and what problem it solves. The last part acts as a reference section. It provides a complete reference to vSphere and vRealize Operations counters, explaining their dependencies and providing practical guidance on the values you should expect in a healthy environment. Style and approach This book covers the complex topic of managing performance and capacity in an easy-to-follow style. It relates real-world scenarios to topics in order to help you implement the book’s teachings on the go.
Mastering Concurrency Programming with Java 8
Mastering Concurrency Programming with Java 8
Javier Fernández González
¥99.18
Master the principles and techniques of multithreaded programming with the Java 8 Concurrency APIAbout This BookImplement concurrent applications using the Java 8 Concurrency API and its new componentsImprove the performance of your applications or process more data at the same time, taking advantage of all of your resources.Construct real-world examples related to machine learning, data mining, image processing, and client/server environmentsWho This Book Is ForIf you are a competent Java developer with a good understanding of concurrency but have no knowledge of how to effectively implement concurrent programs or use streams to make processes more efficient, then this book is for you.What You Will LearnDesign concurrent applications by converting a sequential algorithm into a concurrent oneDiscover how to avoid all the possible problems you can get in concurrent algorithmsUse the Executor framework to manage concurrent tasks without creating threadsExtend and modify Executors to adapt their behavior to your needsSolve problems using the divide and conquer technique and the Fork/Join frameworkProcess massive data sets with parallel streams and Map/Reduce implementationControl data-race conditions using concurrent data structures and synchronization mechanismsTest and monitor concurrent applicationsIn DetailConcurrency programming allows several large tasks to be divided into smaller sub-tasks, which are further processed as individual tasks that run in parallel. All the sub-tasks are combined together once the required results are achieved; they are then merged to get the final output. The whole process is very complex. This process goes from the design of concurrent algorithms to the testing phase where concurrent applications need extra attention. Java includes a comprehensive API with a lot of ready-to-use components to implement powerful concurrency applications in an easy way, but with a high flexibility to adapt these components to your needs.The book starts with a full de*ion of design principles of concurrent applications and how to parallelize a sequential algorithm. We'll show you how to use all the components of the Java Concurrency API from basics to the most advanced techniques to implement them in powerful concurrency applications in Java.You will be using real-world examples of complex algorithms related to machine learning, data mining, natural language processing, image processing in client / server environments. Next, you will learn how to use the most important components of the Java 8 Concurrency API: the Executor framework to execute multiple tasks in your applications, the phaser class to implement concurrent tasks divided into phases, and the Fork/Join framework to implement concurrent tasks that can be split into smaller problems (using the divide and conquer technique). Toward the end, we will cover the new inclusions in Java 8 API, the Map and Reduce model, and the Map and Collect model. The book will also teach you about the data structures and synchronization utilities to avoid data-race conditions and other critical problems. Finally, the book ends with a detailed de*ion of the tools and techniques that you can use to test a Java concurrent application.Style and approach A complete guide implementing real-world examples with algorithms related to machine learning, data mining, and natural language processing in client/server environments. All the examples are explained in a step-by-step approach.
Mastering OpenLayers 3
Mastering OpenLayers 3
Gábor Farkas
¥90.46
Create powerful applications with the most robust open source web mapping library using this advanced guideAbout This BookDevelop responsive and platform-independent web mapping applications with OpenLayers 3Learn the key points of creating great applications with native JavaScript through the step-by-step examplesMaster the use of the library, from compiling custom builds to developing a complete WebGIS applicationWho This Book Is ForThis book is intended for front-end developers with basic understanding of JavaScript and GIS concepts, and preferably for those who are familiar with the fundamentals of OpenLayers 3. You might have never used OpenLayers 3 as a seasoned JavaScript developer. If this is the case and you are eager to learn web mapping, this book will definitely set you on the right track.What You Will LearnUse the advanced functionality of the OpenLayers 3 library effectivelyImplement the library in your application, shaping it to your needsManage layers and the layer stack dynamicallyCreate not only stunning but also accurate thematic mapsExtend OpenLayers 3 with your own custom classesDevelop mobile-friendly web mapping applicationsMake stunning effects with canvas manipulation, or visualize point clouds with WebGLIntegrate third-party applications, and create custom builds that completely satisfy your needsIn DetailOpenLayers 3 allows you to create stunning web mapping and WebGIS applications. It uses modern, cutting edge browser technologies. It is written with Closure Library, enabling you to build browser-independent applications without painful debugging ceremonies, which even have some limited fallback options for older browsers.With this guide, you will be introduced to the world of advanced web mapping and WebGIS.First, you will be introduced to the advanced features and functionalities available in OpenLayers 3. Next, you will be taken through the key points of creating custom applications with OpenLayers 3. You will then learn how to create the web mapping application of yours (or your company's) dream with this open source, expense-free, yet very powerful library. We’ll also show you how to make amazing looking thematic maps and create great effects with canvas manipulation.By the end of this book, you will have a strong command of web mapping and will be well on your way to creating amazing applications using OpenLayers 3.Style and approachThis is an advanced guide packed with comprehensive examples, and it concentrates on the advanced parts of OpenLayers 3 and JavaScript. It intentionally skips the basic and well-known methodologies, but discusses the hard-to-understand ones in great detail.
Object–Oriented Programming with Swift 2
Object–Oriented Programming with Swift 2
Gastón C. Hillar
¥80.65
Get to grips with object-oriented programming in Swift to efficiently build powerful real-world applicationsAbout This BookLeverage the most efficient object-oriented design patterns in your Swift applicationsWrite robust, safer, and better code using the blueprints that generate objectsBuild a platform with object-oriented code by using real-world elements and represent them in your appWho This Book Is ForIf you are an iOS developer who has a basic idea of object-oriented programming and want to incorporate its concepts with Swift to optimize your application's code and create reusable and easily to understand building blocks, then this book is for you. This is a very useful resource for developers who want to shift from Objective C, C#, Java, Python, JavaScript, or other object-oriented languages to SwiftWhat You Will LearnBuild solid, stable, and reliable applications using SwiftWork with encapsulation, abstraction, and polymorphism using Swift 2.0Customize constructors and destructors based on your needsDevelop Swift 2.0 with classes, instances, properties, and methodsTake advantage of generic code to maximize code reuse and generalize behaviorsUse state of inheritance, specialization, and the possibility to overload membersWrite high quality object-oriented code to build apps for iOS or Mac OS XIn DetailObject-Oriented Programming (OOP) is a programming paradigm based on the concept of objects; these are data structures that contain data in the form of fields, often known as attributes and code. Objects are everywhere, and so it is very important to recognize elements, known as objects, from real-world situations and know how they can easily be translated into object-oriented code.Object-Oriented Programming with Swift is an easy-to-follow guide packed full of hands-on examples of solutions to common problems encountered with object-oriented code in Swift. It starts by helping you to recognize objects using real-life scenarios and demonstrates how working with them makes it simpler to write code that is easy to understand and reuse.You will learn to protect and hide data with the data encapsulation features of Swift. Then, you will explore how to maximize code reuse by writing code capable of working with objects of different types. After that, you'll discover the power of parametric polymorphism and will combine generic code with inheritance and multiple inheritance. Later, you move on to refactoring your existing code and organizing your source for easy maintenance and extensions.By the end of the book, you will be able to create better, stronger, and more reusable code, which will help you build better applications.Style and approachThis simple guide is packed with practical examples of solutions to common problems. Each chapter includes exercises and the possibility for you to test your progress by answering questions.
Web Application Development with R Using Shiny - Second Edition
Web Application Development with R Using Shiny - Second Edition
Chris Beeley
¥71.93
Integrate the power of R with the simplicity of Shiny to deliver cutting-edge analytics over the WebAbout This BookUse Shiny's built-in functions to produce engaging user interfaces, and integrate them into your own web pagesImplement powerful user-contributed packages to access graphics from the web, make your own dashboards, use interactive maps, and moreExtend Shiny using JavaScript and jQuery with minimal coding using this handy, step-by-step guideWho This Book Is ForThis book is for anybody who wants to produce interactive data summaries over the web, whether you want to share them with a few colleagues or the whole world. No previous experience with R, Shiny, HTML, or CSS is required to begin using this book, although you should possess some previous experience with programming in a different language.What You Will LearnBuild interactive applications using Shiny's built-in widgetsUse the built-in layout functions in Shiny to produce user-friendly applicationsIntegrate Shiny applications with web pages and customize them using HTML and CSSHarness the power of JavaScript and jQuery to customize your applicationsEngage your users and build better analytics using interactive plotsDebug your applications using Shiny's built-in functionsDeliver simple and powerful analytics across your organization using Shiny dashboardsShare your applications with colleagues or over the Internet using cloud services or your own serverIn DetailR is a highly flexible and powerful tool for analyzing and visualizing data. Most of the applications built using various libraries with R are desktop-based. But what if you want to go on the webHere comes Shiny to your rescue!Shiny allows you to create interactive web applications using the excellent analytical and graphical capabilities of R. This book will guide you through basic data management and analysis with R through your first Shiny application, and then show you how to integrate Shiny applications with your own web pages. Finally, you will learn how to finely control the inputs and outputs of your application, along with using other packages to build state-of-the-art applications, including dashboards.Style and approachLearn by doing! Each chapter includes code and examples to use and adapt for your own applications. As the chapters progress, the code and examples are built upon until you have all the materials required to build a large, complex, real-world analytics application.
Procedural Content Generation for Unity Game Development
Procedural Content Generation for Unity Game Development
Ryan Watkins
¥90.46
Harness the power of procedural content generation to design unique games with UnityAbout This BookLearn the basics of PCG developmentDevelop a 2D game from start to finishExplore all the different ways PCG can be applied in gamesWho This Book Is ForThis book is for Unity game developers, especially those who work on indie games. You should be familiar with Unity and C# *ing but you'll be able to jump in and start learning PCG straightaway.What You Will LearnUnderstand the theory of Procedural Content GenerationLearn the uses of Pseudo Random NumbersCreate reusable algorithm designs for PCGEvaluate the data structures for PCGDevelop smaller games with larger amounts of contentGenerate content instead of spending time designing every minute detailLearn when and how to add PCG to your gameLearn the fundamental techniques of PCGIn DetailProcedural Content Generation is a process by which game content is developed using computer algorithms, rather than through the manual efforts of game developers. This book teaches readers how to develop algorithms for procedural generation that they can use in their own games. These concepts are put into practice using C# and Unity is used as the game development engine.This book provides the fundamentals of learning and continued learning using PCG. You'll discover the theory of PCG and the mighty Pseudo Random Number Generator. Random numbers such as die rolls and card drafting provide the chance factor that makes games fun and supplies spontaneity. This book also takes you through the full development of a 2D game.Starting with level generation, you'll learn how PCG can make the game environment for you. You'll move into item generation and learn the different techniques to procedurally create game items. Thereafter, you'll be guided through the more abstract PCG areas such as scaling difficulty to the player and even generating music! The book helps you set up systems within your games where algorithms create computationally generated levels, art assets, quests, stories, characters, and weapons; these can substantially reduce the burden of manually creating every aspect of the game.Finally, you'll get to try out your new PCG skills on 3D terrain generation.Style and approachAn easy-to-follow, project-based guide that will let you build a complete game by the end of the book using PCG.
Building Apple Watch Projects
Building Apple Watch Projects
Stuart Grimshaw
¥80.65
Discover exciting and fun projects by building brilliant applications for the Apple WatchAbout This BookExplore the opportunities opened up to developers by Apple’s latest device: the Apple WatchBe a crackerjack at developing software across a broad range of watch app categoriesFrom an eminent author, master all stages of development, from the first stage through to a completed projectWho This Book Is ForIf you have some basic knowledge of programming in Swift and are looking for the best way to get started with Apple Watch development, this book is just the right one for you!What You Will LearnUnderstand the concept of the Apple Watch as an autonomous device as well as it being paired with the iPhoneGet your app up and runningDesign exciting, inspiring, and attractive layouts for your appsMake your user interface more engaging using images and animationEnable your Watch and iPhone apps to transport and share dataLeverage the feature-rich set of WatchKit technologies provided by AppleConnect your apps to the InternetSubmit your app to the App StoreIn DetailWith Apple’s eagerly anticipated entry into the wearable arena, the field is wide open for a new era of app development. The Apple Watch is one of the most important technologies of our time.This easy-to-understand book takes beginners on a delightful journey of discovering the features available to the developer, right up to the completion of medium-level projects ready for App Store submission. It provides the fastest way to develop real-world apps for the Apple Watch by teaching you the concepts of Watch UI, visual haptic and audio, message and data exchange between watch and phone, Web communication, and finally Visual, haptic as well as audio feedback for users.By the end of this book, you will have developed at least four fully functioning apps for deployment on watchOS 2.Style and approachThis is a step-by-step guide to developing apps for the Apple Watch with the help of screenshots and fully coded working examples.
Unity 5.x Game AI Programming Cookbook
Unity 5.x Game AI Programming Cookbook
Jorge Palacios
¥80.65
Build and customize a wide range of powerful Unity AI systems with over 70 hands-on recipes and techniques About This Book Empower your agent with decision making capabilities using advanced minimaxing and Negamaxing techniques Discover how AI can be applied to a wide range of games to make them more interactive. Instigate vision and hearing abilities in your agent through collider based and graph based systems Who This Book Is For This book is intended for those who already have a basic knowledge of Unity and are eager to get more tools under their belt to solve AI and gameplay-related problems. What You Will Learn Use techniques such as A*and A*mbush to empower your agents with path finding capabilities. Create a representation of the world and make agents navigate it Construct decision-making systems to make the agents take different actions Make different agents coordinate actions and create the illusion of technical behavior Simulate senses and apply them in an awareness system Design and implement AI in board games such as Tic-Tac-Toe and Checkers Implement efficient prediction mechanism in your agents with algorithms such as N-Gram predictor and na?ve Bayes classifier Understand and analyze how the influence maps work. In Detail Unity 5 comes fully packaged with a toolbox of powerful features to help game and app developers create and implement powerful game AI. Leveraging these tools via Unity’s API or built-in features allows limitless possibilities when it comes to creating your game’s worlds and characters. This practical Cookbook covers both essential and niche techniques to help you be able to do that and more. This Cookbook is engineered as your one-stop reference to take your game AI programming to the next level. Get to grips with the essential building blocks of working with an agent, programming movement and navigation in a game environment, and improving your agent's decision making and coordination mechanisms - all through hands-on examples using easily customizable techniques. Discover how to emulate vision and hearing capabilities for your agent, for natural and humanlike AI behaviour, and improve them with the help of graphs. Empower your AI with decision-making functions through programming simple board games such as Tic-Tac-Toe and Checkers, and orchestrate agent coordination to get your AIs working together as one. Style and approach This recipe-based guide will take you through implementing various AI algorithms. Each topic is explained and placed among other related techniques, sometimes building on the knowledge from previous chapters. There are also references to more technical books and papers, so you can dig deeper if you want to.
Mastering .NET Machine Learning
Mastering .NET Machine Learning
Jamie Dixon
¥99.18
Master the art of machine learning with .NET and gain insight into real-world applications About This Book Based on .NET framework 4.6.1, includes examples on ASP.NET Core 1.0 Set up your business application to start using machine learning techniques Familiarize the user with some of the more common .NET libraries for machine learning Implement several common machine learning techniques Evaluate, optimize and adjust machine learning models Who This Book Is For This book is targeted at .Net developers who want to build complex machine learning systems. Some basic understanding of data science is required. What You Will Learn Write your own machine learning applications and experiments using the latest .NET framework, including .NET Core 1.0 Set up your business application to start using machine learning. Accurately predict the future using regressions. Discover hidden patterns using decision trees. Acquire, prepare, and combine datasets to drive insights. Optimize business throughput using Bayes Classifier. Discover (more) hidden patterns using KNN and Na?ve Bayes. Discover (even more) hidden patterns using K-Means and PCA. Use Neural Networks to improve business decision making while using the latest ASP.NET technologies. Explore “Big Data”, distributed computing, and how to deploy machine learning models to IoT devices – making machines self-learning and adapting Along the way, learn about Open Data, Bing maps, and MBrace In Detail .Net is one of the widely used platforms for developing applications. With the meteoric rise of Machine learning, developers are now keen on finding out how can they make their .Net applications smarter. Also, .NET developers are interested into moving into the world of devices and how to apply machine learning techniques to, well, machines. This book is packed with real-world examples to easily use machine learning techniques in your business applications. You will begin with introduction to F# and prepare yourselves for machine learning using .NET framework. You will be writing a simple linear regression model using an example which predicts sales of a product. Forming a base with the regression model, you will start using machine learning libraries available in .NET framework such as Math.NET, Numl.NET and Accord.NET with the help of a sample application. You will then move on to writing multiple linear regressions and logistic regressions. You will learn what is open data and the awesomeness of type providers. Next, you are going to address some of the issues that we have been glossing over so far and take a deep dive into obtaining, cleaning, and organizing our data. You will compare the utility of building a KNN and Naive Bayes model to achieve best possible results. Implementation of Kmeans and PCA using Accord.NET and Numl.NET libraries is covered with the help of an example application. We will then look at many of issues confronting creating real-world machine learning models like overfitting and how to combat them using confusion matrixes, scaling, normalization, and feature selection. You will now enter into the world of Neural Networks and move your line of business application to a hybrid scientific application. After you have covered all the above machine learning models, you will see how to deal with very large datasets using MBrace and how to deploy machine learning models to Internet of Thing (IoT) devices so that the machine can learn and adapt on the fly. Style and approach This book will guide you in learning everything about how to tackle the flood of data being encountered these days in your .NET applications with the help of popular machine learning libraries offered by the .NET framework.
Babylon.js Essentials
Babylon.js Essentials
Julien Moreau-Mathis
¥54.49
Understand, train, and be ready to develop 3D Web applications/video games using the Babylon.js framework, even for beginners About This Book Understand the basics of 3D (along with the theory) before practicing Each mini-project provides previous features, alongside the new feature you are learning, to supply the examples Learn from the best of the best, a developer at Microsoft, France Who This Book Is For Babylon.JS Essentials is intended for developers who want to enter the world of 3D development for the Web, or developers who want to add the Babylon.js framework to their skill set. The notion of Oriented Object Programming would be helpful to understand the architecture of the Babylon.js framework. Also, a familiarity with Web development would be useful, to understand the principles used. What You Will Learn Understand what the TypeScript language is and its benefits (compared to JavaScript) in large projects such as 3D engines Learn the basics of 3D using Babylon.js without too much theory but with an emphasis on practice, for a better understanding of the architecture Know the usage of Material—a fundamental principle of 3D engines in Babylon.js—and then customize the appearance of 3D objects Integrate collisions and physics in gameplay. Understand the notion of impostor for physics simulation Manage, create, and spatialize audio tracks in 3D scenes Go further with the Babylon.js framework to create actions on events Create rendering effects provided by the Babylon.js framework, such as post-processes In Detail Are you familiar with HTML5Do you want to build exciting games and Web applicationsThen explore the exciting world of game and Web development with one of the best frameworks out there: Babylon.JS. Starting from the beginning, the book introduces the required basics for 3D development and the knowledge you need to use the Babylon.js framework. It focuses on the simplicity provided by Babylon.js and uses a combination of theory and practice. All the chapters are provided with example files ready to run; each example file provides the previously learned features of the framework. Finally, developers will be ready to easily understand new features added to the framework in the future. Style and approach The book is a comprehensive guide packed with ready-to-run examples with a mix of theory and practice.
Getting Started with RethinkDB
Getting Started with RethinkDB
Gianluca Tiepolo
¥63.21
Absorb the knowledge required to utilize, manage, and deploy RethinkDB using Node.js About This Book Make the most of this open source, scalable database—RethinkDB —to ease the construction of web applications Run powerful queries using ReQL, which is the most convenient language to manipulate JSON documents with Develop fully-fledged real-time web apps using Node.js and RethinkDB Who This Book Is For Getting Started with RethinkDB is ideal for developers who are new to RethinkDB and need a practical understanding to start working with it. No previous knowledge of database programming is required, although a basic knowledge of JavaScript or Node.js would be helpful. What You Will Learn Download and install the database on your system Configure RethinkDB’s settings and start using the web interface Import data into RethinkDB Run queries using the ReQL language Create shards, replicas, and RethinkDB clusters Use an index to improve database performance Get to know all the RethinkDB deployment techniques In Detail RethinkDB is a high-performance document-oriented database with a unique set of features. This increasingly popular NoSQL database is used to develop real-time web applications and, together with Node.js, it can be used to easily deploy them to the cloud with very little difficulty. Getting Started with RethinkDB is designed to get you working with RethinkDB as quickly as possible. Starting with the installation and configuration process, you will learn how to start importing data into the database and run simple queries using the intuitive ReQL query language. After successfully running a few simple queries, you will be introduced to other topics such as clustering and sharding. You will get to know how to set up a cluster of RethinkDB nodes and spread database load across multiple machines. We will then move on to advanced queries and optimization techniques. You will discover how to work with RethinkDB from a Node.js environment and find out all about deployment techniques. Finally, we’ll finish by working on a fully-fledged example that uses the Node.js framework and advanced features such as Changefeeds to develop a real-time web application. Style and approach This is a step-by-step book that provides a practical approach to RethinkDB programming, and is explained in a conversational, easy-to-follow style.
Unreal Engine 4 AI Programming Essentials
Unreal Engine 4 AI Programming Essentials
Peter L. Newton
¥63.21
Create responsive and intelligent game AI using Blueprints in Unreal Engine 4 About This Book Understand and apply your Game AI better through various projects such as adding randomness and probability, and introducing movement Configure and debug Game AI logic using multiple methodologies Bridge the gap between your knowledge and Game AI in Unreal Engine 4 Who This Book Is For This book is for programmers and artists who want to expand their knowledge of Game AI in relation to Unreal Engine 4. You are recommended to have some experience of exploring Unreal Engine 4 prior to this book because we jump straight into Game AI. What You Will Learn Understand the fundamental components of Game AI within Unreal Engine 4 Skillfully introduce Game AI within Unreal Engine 4 Configure, customize, and assign Navigation and AI components to your pawn Create, debug, and analyze Game AI behavior Design responsive Game AI using the Behavior Tree methodology Create smart objects designed to interact with AI Utilize advanced AI features within your project to maximize the user experience In Detail Unreal Engine is a powerful game development engine that provides rich functionalities to create 2D and 3D games. It is one of the three big game engines used, alongside Unity and CryEngine. Developers have the opportunity to build cross-platform mobile and desktop games from scratch. With Blueprints in Unreal Engine 4, you’re able to fully leverage the visual aid that Behavior Trees are built on. Rarely has there been an opportunity to prototype powerful Game AI and have immediate control over constructing, *ing, and viewing the response in a live gaming environment. This book will show you how to apply artificial intelligence (AI) techniques to your Unreal Script using C++ as your *ing language through multiple projects. With the knowledge gained through this book, you’ll be able to leverage the benefits of Unreal Engine 4. We’ll start with an introduction to AI, and you’ll learn how it is applied to gaming. Then you’ll jump right in and create a simple AI bot and apply basic behaviors to allow it to move randomly. Furthermore, you will get to know the difference between an AI Controller and a Player Controller. As you progress, you’ll find out how to implement randomness and probability traits. Using Navmesh, we will impart navigation components such as Character Movement, MoveTo Nodes, Settings, and World Objects, and implement behavior trees. You will see different techniques to sense the environment and create your own sensory system, and will implement Steering Behaviors, Path Following, Avoidance, and Projectiles. At the end of the book, we will troubleshoot any issues that might crop up while building the entire game. Style and approach This easy-to-follow project-based guide throws you directly into the excitement of Game AI in an approachable and comprehensive manner.
Learning Google Apps Script
Learning Google Apps Script
Ramalingam Ganapathy
¥71.93
Customize and automate Google Applications using Apps Script About This Book Gain insight into customizing and automating Google applications with JavaScript Create add-ons for Google Sheets, Docs, or Forms; automate your workflow; integrate with external APIs; and more. A step-by-step guide to building real-world solutions Who This Book Is For Newbies to google apps * but having practical experience in Java*. What You Will Learn Learn about the Google Apps * platform and work with *s to develop Google apps Create custom menus and dialogs Parse and send emails Generate Google calendar events Build Translator and RSS reader applications Develop interactive web pages Design interactive web-forms Form a workflow application In Detail Google Apps Script is a cloud-based *ing language based on JavaScript to customize and automate Google applications. Apps Script makes it easy to create and publish add-ons in an online store for Google Sheets, Docs, and Forms. It serves as one single platform to build, code, and ultimately share your App on the Web store. This book begins by covering the basics of the Google application platform and goes on to empower you to automate most of the Google applications. You will learn the concepts of creating a menu, sending mails, building interactive web pages, and implementing all these techniques to develop an interactive Web page as a form to submit sheets You will be guided through all these tasks with plenty of screenshots and code snippets that will ensure your success in customizing and automating various Google applications This guide is an invaluable tutorial for beginners who intend to develop the skills to automate and customize Google applications Style and approach An easy-to-follow yet comprehensive guide, filled with many code examples and screenshots illustrating various Google Apps *s.
Creating Dynamic UIs with Android Fragments - Second Edition
Creating Dynamic UIs with Android Fragments - Second Edition
Jim Wilson
¥54.49
Create engaging apps with fragments to provide a rich user interface that dynamically adapts to the individual characteristics of your customers’ tablets and smartphones About This Book From an eminent author comes a book that will help you create engaging apps that dynamically adapt to individual device characteristics The only book that includes the latest fragment-oriented features and their role in Material design This book provides code-intensive discussions and detailed examples that help you understand better and learn faster. Who This Book Is For This book is for developers with a basic understanding of Android programming who would like to improve the appearance and usability of their applications by creating a more interactive user experience and dynamically adaptive UIs; providing better support for tablets and smartphones in a single app; and reducing the complexity of managing app UIs. What You Will Learn Learn the role and capabilities of fragments Use Android Studio's fragment-oriented features Create an app UI that works effectively on smartphones and tablets Manage the creation and life cycle of fragments Dynamically manage fragments using the FragmentTransaction class Learn the application design for communicating between fragments Leverage fragments when implementing applications that take advantage of the latest features of Material Design In Detail Today’s users expect mobile apps to be dynamic and highly interactive, with rich navigation features. These same apps must look fantastic whether running on a medium-resolution smartphone or high-resolution tablet. Fragments provide the toolset we need to meet these user expectations by enabling us to build our applications out of adaptable components that take advantage of the rich capabilities of each individual device and automatically adapt to their differences. This book looks at the impact fragments have on Android UI design and their role in both simplifying many common UI challenges and in providing best practices for incorporating rich UI behaviors. We look closely at the roll of fragment transactions and how to work with the Android back stack. Leveraging this understanding, we explore several specialized fragment-related classes such as ListFragment and DialogFragment. We then go on to discuss how to implement rich navigation features such as swipe-based screen browsing, and the role of fragments when developing applications that take advantage of the latest aspects of Material Design. You will learn everything you need to provide dynamic, multi-screen UIs within a single activity, and the rich UI features demanded by today’s mobile users. Style and approach A fast-paced learning guide that gives a hands-on, code-intensive approach with a focus on real-world applications.
Building a Pentesting Lab for Wireless Networks
Building a Pentesting Lab for Wireless Networks
Vyacheslav Fadyushin
¥80.65
Build your own secure enterprise or home penetration testing lab to dig into the various hacking techniques About This Book Design and build an extendable penetration testing lab with wireless access suitable for home and enterprise use Fill the lab with various components and customize them according to your own needs and skill level Secure your lab from unauthorized access and external attacks Who This Book Is For If you are a beginner or a security professional who wishes to learn to build a home or enterprise lab environment where you can safely practice penetration testing techniques and improve your hacking skills, then this book is for you. No prior penetration testing experience is required, as the lab environment is suitable for various skill levels and is used for a wide range of techniques from basic to advance. Whether you are brand new to online learning or you are a seasoned expert, you will be able to set up your own hacking playground depending on your tasks. What You Will Learn Determine your needs and choose the appropriate lab components for them Build a virtual or hardware lab network Imitate an enterprise network and prepare intentionally vulnerable software and services Secure wired and wireless access to your lab Choose a penetration testing framework according to your needs Arm your own wireless hacking platform Get to know the methods to create a strong defense mechanism for your system In Detail Starting with the basics of wireless networking and its associated risks, we will guide you through the stages of creating a penetration testing lab with wireless access and preparing your wireless penetration testing machine. This book will guide you through configuring hardware and virtual network devices, filling the lab network with applications and security solutions, and making it look and work like a real enterprise network. The resulting lab protected with WPA-Enterprise will let you practice most of the attack techniques used in penetration testing projects. Along with a review of penetration testing frameworks, this book is also a detailed manual on preparing a platform for wireless penetration testing. By the end of this book, you will be at the point when you can practice, and research without worrying about your lab environment for every task. Style and approach This is an easy-to-follow guide full of hands-on examples and recipes. Each topic is explained thoroughly and supplies you with the necessary configuration settings. You can pick the recipes you want to follow depending on the task you need to perform.
App Inventor 2 Essentials
App Inventor 2 Essentials
Felicia Kamriani
¥54.49
A step-by-step introductory guide to mobile app development with App Inventor 2 About This Book Get an introduction to the functionalities of App Inventor 2 and use it to unleash your creativity Learn to navigate the App Inventor platform, develop basic coding skills and become familiar with a blocks based programming language Build your very first mobile app and feel proud of your accomplishment Follow tutorials to expand your app development skills Who This Book Is For App Inventor 2 Essentials is for anyone who wants to learn to make mobile apps for Android devices – no prior coding experience is necessary. What You Will Learn Perform technical setup and navigate the App Inventor platform Utilize the interactive development environment by pairing a mobile device with a computer using Wi-Fi or USB Build three apps: a game, an event app and a raffle app Create the user interface of the app in the Designer and program the code in the Blocks Editor Integrate basic computer science principles along with more complex elements such fusion tables and lists Test and troubleshoot your applications Publish your apps on Google Play Store to reach a wide audience Unleash your creativity for further app development In Detail App Inventor 2 will take you on a journey of mobile app development. We begin by introducing you to the functionalities of App Inventor and giving you an idea about the types of apps you can develop using it. We walk you through the technical set up so you can take advantage of the interactive development environment (live testing). You will get hands-on, practical experience building three different apps using tutorials. Along the way, you will learn computer science principles as well as tips to help you prepare for the creative process of building an app from scratch. By the end of the journey, you will learn how to package an app and deploy it to app markets. App Inventor 2 Essentials prepares you to amass a resource of skills, knowledge and experience to become a mobile app developer Style and approach Every topic in this book is explained in step-by-step and easy-to-follow fashion, accompanied with screenshots of the interface that will make it easier for you to understand the processes.
Mastering Git
Mastering Git
Jakub Narębski
¥90.46
Attain expert-level proficiency with Git for enhanced productivity and efficient collaboration by mastering advanced distributed version control features About This Book Set up Git for solo and collaborative development Harness the full power of Git version control system to customize Git behavior, manipulate history, integrate external tools and explore platform shortcuts A detailed guide, which explains how to apply advanced Git techniques and workflows and ways to handle submodules Who This Book Is For If you are a Git user with reasonable knowledge of Git and familiarity with basic concepts such as branching, merging, staging, and workflows, this is the book for you. Basic knowledge of installing Git and software configuration management concepts is essential. What You Will Learn Explore project history, find revisions using different criteria, and filter and format how history looks Manage your working directory and staging area for commits and interactively create new revisions and amend them Set up repositories and branches for collaboration Submit your own contributions and integrate contributions from other developers via merging or rebasing Customize Git behavior system-wide, on a per-user, per-repository, and per-file basis Take up the administration and set up of Git repositories, configure access, find and recover from repository errors, and perform repository maintenance Chose a workflow and configure and set up support for the chosen workflow In Detail Git is one of the most popular types of Source Code Management (SCM) and Distributed Version Control System (DVCS). Despite the powerful and versatile nature of the tool enveloping strong support for nonlinear development and the ability to handle large projects efficiently, it is a complex tool and often regarded as “user-unfriendly”. Getting to know the ideas and concepts behind the architecture of Git will help you make full use of its power and understand its behavior. Learning the best practices and recommended workflows should help you to avoid problems and ensure trouble-free development. The book scope is meticulously designed to help you gain deeper insights into Git's architecture, its underlying concepts, behavior, and best practices. Mastering Git starts with a quick implementation example of using Git for a collaborative development of a sample project to establish the foundation knowledge of Git operational tasks and concepts. Furthermore, as you progress through the book, the tutorials provide detailed de*ions of various areas of usage: from archaeology, through managing your own work, to working with other developers. This book also helps augment your understanding to examine and explore project history, create and manage your contributions, set up repositories and branches for collaboration in centralized and distributed version control, integrate work from other developers, customize and extend Git, and recover from repository errors. By exploring advanced Git practices, you will attain a deeper understanding of Git’s behavior, allowing you to customize and extend existing recipes and write your own. Style and approach Step-by-step instructions and useful information make this book the ultimate guide to understanding and mastering Git. This book will show road to mastery example by example, while explaining mental model of Git. The Introduction section covers the 'Essentials' just for refreshing the basics. The main highlight is that the concepts are based on HOW the technology/framework works and not just practical 'WHAT to do'.
RSpec Essentials
RSpec Essentials
Mani Tadayon
¥71.93
Develop testable, modular, and maintainable Ruby software for the real world using RSpec About This Book Explore the concept of testability and how to implement tests that deliver the most value Maximize the quality of your Ruby code through a wide variety of tests Master the real-world tradeoffs of testing through detailed examples supported by in-depth discussion Who This Book Is For This book is aimed at the software engineer who wants to make their code more reliable and their development process easier. It is also aimed at test engineers who need to automate the testing of complex systems. Knowledge of Ruby is helpful, but even someone new to the language should find it easy to follow the code and tests. What You Will Learn Identify a unit of software for the purposes of testing Manage test states with hooks, fixtures, and mocks Handle external web services in tests using various techniques Configure RSpec flexibly and cleanly using support code and environment variables Interact with rich web apps in tests using Capybara Build the right feature with behavior-driven development Customize matchers and failure messages Verify correct development and production environments In Detail This book will teach you how to use RSpec to write high-value tests for real-world code. We start with the key concepts of the unit and testability, followed by hands-on exploration of key features. From the beginning, we learn how to integrate tests into the overall development process to help create high-quality code, avoiding the dangers of testing for its own sake. We build up sample applications and their corresponding tests step by step, from simple beginnings to more sophisticated versions that include databases and external web services. We devote three chapters to web applications with rich JavaScript user interfaces, building one from the ground up using behavior-driven development (BDD) and test-driven development (TDD). The code examples are detailed enough to be realistic while simple enough to be easily understood. Testing concepts, development methodologies, and engineering tradeoffs are discussed in detail as they arise. This approach is designed to foster the reader’s ability to make well-informed decisions on their own. Style and approach This comprehensive tutorial is packed with real-world examples of testing with RSpec. The most important features of RSpec are introduced in the early chapters and are used in examples of growing complexity in the following chapters. Concepts and methodologies are discussed in detail.
Multithreading with C# Cookbook - Second Edition
Multithreading with C# Cookbook - Second Edition
Eugene Agafonov
¥90.46
Over 70 recipes to get you writing powerful and efficient multithreaded, asynchronous, and parallel programs in C# 6.0 About This Book Rewritten and updated to take advantage of the latest C# 6 features Learn about multithreaded, asynchronous, and parallel programming through hands-on, code-first examples Use these recipes to build fast, scalable, and reliable applications in C# Who This Book Is For This book is aimed at those who are new to multithreaded programming, and who are looking for a quick and easy way to get started. It is assumed that you have some experience in C# and .NET already, and you should also be familiar with basic computer science terminology and basic algorithms and data structures. What You Will Learn Use C# 6.0 asynchronous language features Work with raw threads, synchronize threads, and coordinate their work Develop your own asynchronous API with Task Parallel Library Work effectively with a thread pool Scale up your server application with I/O threads Parallelize your LINQ queries with PLINQ Use common concurrent collections Apply different parallel programming patterns Use Reactive Extensions to run asynchronous operations and manage their options In Detail Multi-core processors are synonymous with computing speed and power in today’s world, which is why multithreading has become a key concern for C# developers. Multithreaded code helps you create effective, scalable, and responsive applications. This is an easy-to-follow guide that will show you difficult programming problems in context. You will learn how to solve them with practical, hands-on, recipes. With these recipes, you’ll be able to start creating your own scalable and reliable multithreaded applications. Starting from learning what a thread is, we guide you through the basics and then move on to more advanced concepts such as task parallel libraries, C# asynchronous functions, and much more. Rewritten to the latest C# specification, C# 6, and updated with new and modern recipes to help you make the most of the hardware you have available, this book will help you push the boundaries of what you thought possible in C#. Style and approach This is an easy-to-follow guide full of hands-on examples of real-world multithreading tasks. Each topic is explained and placed in context, and for the more inquisitive, there are also more in-depth details of the concepts used.
Practical Data Analysis Cookbook
Practical Data Analysis Cookbook
Tomasz Drabas
¥90.46
Over 60 practical recipes on data exploration and analysis About This Book Clean dirty data, extract accurate information, and explore the relationships between variables Forecast the output of an electric plant and the water flow of American rivers using pandas, NumPy, Statsmodels, and scikit-learn Find and extract the most important features from your dataset using the most efficient Python libraries Who This Book Is For If you are a beginner or intermediate-level professional who is looking to solve your day-to-day, analytical problems with Python, this book is for you. Even with no prior programming and data analytics experience, you will be able to finish each recipe and learn while doing so. What You Will Learn Read, clean, transform, and store your data usng Pandas and OpenRefine Understand your data and explore the relationships between variables using Pandas and D3.js Explore a variety of techniques to classify and cluster outbound marketing campaign calls data of a bank using Pandas, mlpy, NumPy, and Statsmodels Reduce the dimensionality of your dataset and extract the most important features with pandas, NumPy, and mlpy Predict the output of a power plant with regression models and forecast water flow of American rivers with time series methods using pandas, NumPy, Statsmodels, and scikit-learn Explore social interactions and identify fraudulent activities with graph theory concepts using NetworkX and Gephi Scrape Internet web pages using urlib and BeautifulSoup and get to know natural language processing techniques to classify movies ratings using NLTK Study simulation techniques in an example of a gas station with agent-based modeling In Detail Data analysis is the process of systematically applying statistical and logical techniques to describe and illustrate, condense and recap, and evaluate data. Its importance has been most visible in the sector of information and communication technologies. It is an employee asset in almost all economy sectors. This book provides a rich set of independent recipes that dive into the world of data analytics and modeling using a variety of approaches, tools, and algorithms. You will learn the basics of data handling and modeling, and will build your skills gradually toward more advanced topics such as simulations, raw text processing, social interactions analysis, and more. First, you will learn some easy-to-follow practical techniques on how to read, write, clean, reformat, explore, and understand your data—arguably the most time-consuming (and the most important) tasks for any data scientist. In the second section, different independent recipes delve into intermediate topics such as classification, clustering, predicting, and more. With the help of these easy-to-follow recipes, you will also learn techniques that can easily be expanded to solve other real-life problems such as building recommendation engines or predictive models. In the third section, you will explore more advanced topics: from the field of graph theory through natural language processing, discrete choice modeling to simulations. You will also get to expand your knowledge on identifying fraud origin with the help of a graph, scrape Internet websites, and classify movies based on their reviews. By the end of this book, you will be able to efficiently use the vast array of tools that the Python environment has to offer. Style and approach This hands-on recipe guide is divided into three sections that tackle and overcome real-world data modeling problems faced by data analysts/scientist in their everyday work. Each independent recipe is written in an easy-to-follow and step-by-step fashion.