Category: Open Source Programming

  • Instant Mockito by Marcin Grzejszczak

    By Marcin Grzejszczak

    In Detail

    Mockito is an open resource checking out framework for Java that automates unit assessments to be used in test-driven improvement (TDD) or behavior-driven improvement (BDD), decoupling try out code from the approach less than try by means of casting off the expect-run-verify trend. It permits you to write attractive checks with a fresh and straightforward API.

    Instant Mockito comprises lots of real-life examples on tips to unit try your code. It indicates you ways to exploit this checking out framework and explains top practices on easy methods to use it effectively.

    Instant Mockito is helping you holiday each one major procedure right into a set of functional examples. it is going to make clear all of the options of unit checking out and Mockito.

    You will how to appropriately trap and make sure arguments handed into your stubbed tools. we are going to additionally seriously look into verifying an order and returning customized solutions at the stubs. that allows you to reap the benefits of utilizing the Mockito framework’s API to tame your code base, then this can be the publication for you.

    You will examine every little thing you want to be aware of to unit try out your code in a transparent, readable, and top of the range manner.


    Filled with useful, step by step directions and transparent factors for crucial and helpful initiatives. this can be a commonplace, tutorial-based advisor utilizing lots of examples for illustration.

    Who this publication is for

    Instant Mockito is perfect for builders new to unit checking out, who're seeking to get to grasp the best way to create prime quality assessments utilizing Mockito. It’s assumed that you'll have a few event in Java already.

    Show description

  • Ionic Cookbook by Hoc Phan

    By Hoc Phan

    Over 35 interesting recipes to boost your program improvement with Ionic

    About This Book

    • Learn the best way to make the most of the strong positive factors of Ionic CLI and its framework to create, advance, and construct your cellular app
    • Explore new integrations with quite a few Backend-as-a-Services, besides AngularJS modules, for artistic solutions
    • Use out-of-the-box Ionic functionalities, customise present elements, and upload new parts with this finished, step by step guide

    Who This ebook Is For

    If you're a front-end developer and need to use your latest cellular software improvement talents to improve cross-platform cellular apps, this booklet is for you. you are going to increase your Ionic wisdom with in-depth recipes on Angular.js, Cordova, and Sass.

    What you are going to Learn

    • Authenticate clients utilizing an electronic mail password, Twitter, fb, Google+, and LinkedIn
    • Retrieve information and shop it utilizing Firebase
    • Access local equipment functionalities comparable to a digicam, touch record, electronic mail, and maps utilizing ngCordova
    • Work with localStorage and SQLite for chronic info entry at the patron side
    • Communicate to and out of your app utilizing push notifications or SMS
    • Leverage AngularJS occasions and Ionic-specific occasions to speak throughout pages, controllers, and directives
    • Customize the colour and subject matter of your Ionic app
    • Create new customized directives as components
    • Compile your app for iOS, Android, and home windows Phone

    In Detail

    The global of cellular improvement is very fragmented with many structures, frameworks, and applied sciences to be had. Ionic is meant to fill that hole, through permitting builders to construct apps that experience a local consider to them, utilizing net applied sciences comparable to HTML, CSS, and AngularJS. Ionic makes it effortless for front-end builders to develop into app builders. The framework presents more advantageous functionality with deep Cordova integration and a entire set of instruments for prototyping, backend aid, and deployment.

    Ionic Cookbook takes you thru the method of constructing a cross-platform cellular app utilizing simply HTML5 and the JavaScript-based Ionic.

    You will commence with an creation to the CLI after which flow directly to construction and operating an app. you are going to discover universal positive aspects of real-world cellular apps reminiscent of authenticating a person, and getting and saving info utilizing both Firebase or neighborhood garage. subsequent, the publication covers how Ionic integrates with Cordova to aid local gadget positive aspects utilizing ngCordova, and you'll detect how one can benefit from present modules round its atmosphere. additionally, you will delve into complicated issues, together with easy methods to expand Ionic to create new parts. ultimately, the e-book will stroll you thru customizing the Ionic topic and construction the app in order that it may be deployed to all platforms.

    Style and approach

    This e-book follows a recipe-based method of cross-platform cellular app improvement, the place each one job is defined in a conversational and easy-to-follow sort. each subject explains person beneficial properties or parts of Ionic, and gives additional info for readers to return up with customized strategies in keeping with real-world applications.

    Show description

  • Creating Development Environments with Vagrant by Michael Peacock

    By Michael Peacock

    In Detail

    Vagrant is a device for development entire improvement environments. With an easy-to-use workflow and concentrate on automation, Vagrant lowers improvement surroundings setup time, raises development/production parity, and makes the "it works on my computing device" excuse a specific thing of the past.

    "Creating improvement Environments with Vagrant" is a pragmatic, hands-on consultant that walks you thru the performance of Vagrant, Puppet, and Chef to create robust and versatile digital improvement environments. Create your individual virtualization environments containing configurations for various tasks that you should simulate complex environments that may be simply shared with colleagues to get your initiatives up and working speedy and effortlessly.

    "Creating improvement Environments with Vagrant" starts off with an creation to virtualization and the thoughts at the back of it, why it’s important, and an summary of the structure of Vagrant. we'll learn how to set up Vagrant and get to grasp its must haves. overlaying provisioning scripts with Puppet and Chef, studying to exploit them independently in addition to with Vagrant to create a strong combination.

    If you must in the neighborhood attempt your tasks, juggle a number of initiatives working on various models of software program, simply percentage expertise requirement alterations with colleagues, and, most significantly, are looking to practice these kinds of projects successfully, then this publication is for you.

    "Creating improvement Environments with Vagrant" will take you from a virtualization amateur to operating your whole initiatives throughout your workforce in powerful, remoted digital improvement environments.


    This is a pragmatic, hands-on consultant that can assist you arrange and enforce digital improvement environments with Vagrant simply and effortlessly.

    Who this e-book is for

    "Creating improvement Environments with Vagrant" is for builders, programmers, and coders who are looking to hold a number of tasks inside of their very own atmosphere. it's also geared toward businesses who're trying to install ready-to-go improvement options for brand spanking new employees or perhaps present employees relocating to new tasks, and to implement a constant and transportable digital improvement atmosphere that's effortless to create and fast to set up.

    Show description

  • NumPy Cookbook - Second Edition by Ivan Idris

    By Ivan Idris

    Over ninety attention-grabbing recipes to profit and practice mathematical, medical, and engineering Python computations with NumPy

    About This Book

    • Perform high-performance calculations with fresh and effective NumPy code
    • Simplify huge info units by means of analysing them with statistical functions
    • A solution-based advisor full of enticing recipes to execute complicated linear algebra and mathematical computations

    Who This publication Is For

    If you're a Python developer with a few adventure of engaged on medical, mathematical, and statistical purposes and wish to achieve knowledgeable realizing of NumPy programming on the subject of technological know-how, math, and finance utilizing sensible recipes, then this publication is for you.

    What you'll Learn

    • Learn complicated indexing and linear algebra
    • Deal with lacking inventory rate information utilizing masked arrays
    • Explore every little thing you must learn about photo processing
    • Dive into broadcasting and histograms
    • Profile NumPy code and visualize the results
    • Speed up your code with Cython
    • Use common services and interoperability features
    • Analyze your functionality utilizing caliber Assurance
    • Learn approximately exploratory and predictive info research with NumPy

    In Detail

    NumPy has the power to offer you velocity and excessive productiveness. excessive functionality calculations should be performed simply with fresh and effective code, and it lets you execute complicated algebraic and mathematical computations in no time.

    This publication provide you with an exceptional starting place in NumPy arrays and common capabilities. beginning with the set up and configuration of IPython, you will know about complicated indexing and array thoughts in addition to wide-spread but powerful services. you are going to then hide functional suggestions resembling picture processing, specified arrays, and common features. additionally, you will find out about plotting with Matplotlib and the comparable SciPy undertaking with assistance from examples. on the finish of the ebook, you are going to research easy methods to discover atmospheric strain and its similar recommendations. by the point you end this publication, you will write fresh and speedy code with NumPy.

    Show description

  • Securing Hadoop by Sudheesh Narayanan

    By Sudheesh Narayanan

    In Detail

    Security of massive information is without doubt one of the largest issues for agencies this day. How will we safeguard the delicate info in a Hadoop atmosphere? How will we combine Hadoop safety with present company safety platforms? What are the demanding situations in securing Hadoop and its surroundings? those are the questions which must be spoke back with the intention to determine powerful administration of huge info. Hadoop, besides Kerberos, offers safety features which permit massive facts administration and which continue information secure.

    This ebook is a practitioner’s consultant for securing a Hadoop-based immense info platform. This publication offers you a step by step method of enforcing end-to-end protection besides a pretty good origin of data of the Hadoop and Kerberos safeguard models.

    This useful, hands-on consultant seems on the defense demanding situations enthusiastic about securing delicate info in a Hadoop-based huge facts platform and likewise covers the protection Reference structure for securing mammoth facts. it is going to take you thru the internals of the Hadoop and Kerberos protection types and may offer targeted implementation steps for securing Hadoop. additionally, you will learn the way the internals of the Hadoop safety version are carried out, the right way to combine firm protection structures with Hadoop safety, and the way you could deal with and keep an eye on person entry to a Hadoop surroundings seamlessly. additionally, you will get conversant in enforcing audit logging and protection incident tracking inside of an enormous info platform.


    This e-book is a step by step instructional full of functional examples that allows you to concentration regularly at the key protection instruments and implementation suggestions of Hadoop security.

    Who this booklet is for

    This e-book is excellent for Hadoop practitioners (solution architects, Hadoop directors, builders, and Hadoop undertaking managers) who're trying to get a superb grounding in what Kerberos is all approximately and who desire to enforce end-to-end Hadoop defense inside of an firm setup. It’s assumed that you'll have a few uncomplicated figuring out of Hadoop in addition to be acquainted with a few easy defense concepts.

    Show description

  • Moodle 2.5 Multimedia by João Pedro Soares Fernandes

    By João Pedro Soares Fernandes

    In Detail

    Multimedia is a really outdated human exercise. It has taken mankind virtually 30,000 years because portray on cave partitions to get a mixture of textual content, picture, sound, and video all operating within the related medium, that's, in films. ultimately, after millions of years of human background, we will be able to all (not simply an elite few) create multimedia simply utilizing Moodle. Moodle was once equipped round an concept of studying that occurs whilst a gaggle of individuals build issues for each other, collaboratively making a small tradition of shared artifacts with shared meanings.

    A tutorial-based consultant, with transparent illustrations and examples of the way to create, convert and upload multimedia to Moodle utilizing various unfastened e-learning software program instruments and net functions. This publication follows the layout of assets and actions for the direction “Music for daily life”. The initiatives awarded are speedy and straightforward to do for lecturers and running shoes with busy schedules.

    Giving readers an perception into the construction and integration of multimedia in Moodle courses.

    Starting with photographs you are going to learn how to create picture collages, screenshots and comedian strips. you then will notice audio and the way to extract audio from CDs to create a soundtrack for a film and a podcast. Later, you are going to use video to provide a trailer for a film, picture slideshows, on-line TVs and screencasts. Following that, you'll strengthen an figuring out of interactive parts and net verbal exchange, corresponding to on-line maps, interactive timelines or internet conferences. eventually, you'll examine multimedia quizzes and overview of multimedia assignments, finishing with normal matters on copyright, licensing and safety.

    A concentration of the publication is to teach readers that utilizing multimedia is not only approximately enhancing guideline, but additionally bettering the ways that scholars can can now create multimedia simply, and percentage it with no nice effort.. To make this more uncomplicated, some of the moodle tutorials within the publication could be in accordance with actions designed for college students to create, talk about and check each one other’s multimedia works.


    A tutorial-based consultant the place readers can paintings via useful examples that truly describe tips on how to create multimedia functions utilizing Moodle and combine current multimedia assets into Moodle courses.

    Who this booklet is for

    If you're a instructor or coach who runs on-line classes and has a simple realizing of Moodle, this booklet could be perfect for you. it isn't essential to have a complicated technical history to create multimedia components because the projects may be basic, now not time eating, and may be useful for daily use.

    Show description

  • Introducing Gradle by Balaji Varanasi,Sudha Belida

    By Balaji Varanasi,Sudha Belida

    This concise booklet is a brief start-up primer at the Gradle construct and liberate device. you are going to know about Gradle and the way to set it as much as use. you will know about the Gradle lifestyles cycle and the way to successfully leverage and use it. additionally, you will study the fundamentals of utilizing web site plugins and producing Javadocs, try coverage/FindBugs stories, version/release notes and extra. in addition, you are going to reap the benefits of Gradle's archetypes to bootstrap new tasks easily.

    After interpreting and utilizing Introducing Gradle, you will have an figuring out of Gradle's dependency administration and the way to prepare easy and multi-module Gradle tasks. It contains the recent gains and improvements present in the most recent model of Gradle, an open resource more advantageous Java construct and unencumber device for Java that's specifically renowned between Spring software developers.

    What you’ll learn

    • What Gradle is and the way it compares with Ant, Maven and more
    • How to establish and try Gradle
    • What transitive dependencies are
    • How to create a easy Gradle project
    • How organize a multi-module project
    • What is the Gradle lifestyles cycle and the way to leverage it
    • How to generate Javadocs, unit try studies and extra with Gradle
    • How to exploit Gradle archetypes and templates
    • Releasing your venture with Gradle and more
    • How to combine with Subversion, Git, etc.

    Who this ebook is for

    This e-book is for in most cases skilled programmers who've a few publicity to Java and/or the Spring Framework.
    Show description

  • Python Machine Learning Blueprints: Intuitive data projects by Alexander Combs

    By Alexander Combs

    Key Features

    • Put laptop studying rules into perform to unravel real-world problems
    • Get to grips with Python's remarkable variety of laptop studying libraries and frameworks
    • From retrieving information from APIs to cleansing and visualization, develop into extra convinced at tackling each level of the knowledge pipeline

    Book Description

    Machine studying is remodeling the best way we comprehend and have interaction with the area round us. yet how a lot do you actually are aware of it? How convinced are you interacting with the instruments and versions that force it?

    Python desktop studying Blueprints places your talents and information to the try, guiding you thru the advance of a few outstanding computing device studying purposes and algorithms with real-world examples that exhibit how one can placed recommendations into practice.

    You'll methods to use cluster options to find cut price air fares, and practice linear regression to discover your self an inexpensive residence – and masses extra. every thing you research is subsidized by means of a real-world instance, no matter if its facts manipulation or statistical modelling.

    That approach you are by no means left floundering in idea – you will be easily accumulating and reading info in a fashion that makes a true impact.

    What you are going to learn

    • Explore and use Python's amazing laptop studying ecosystem
    • Successfully assessment and observe the simplest types to problems
    • Learn the basics of NLP - and positioned them into practice
    • Visualize information for optimum effect and clarity
    • Deploy desktop studying types utilizing 3rd social gathering APIs
    • Get to grips with characteristic engineering

    About the Author

    Alexander T. Combs is an skilled info scientist, strategist, and developer with a history in monetary facts extraction, average language processing and iteration, and quantitative and statistical modeling. he's presently a full-time lead teacher for an information technology immersive application in long island City.

    Table of Contents

    1. The Python desktop studying Ecosystem
    2. Build an App to discover Underpriced Apartments
    3. Build an App to discover affordable Airfares
    4. Forecast the IPO industry utilizing Logistic Regression
    5. Create a customized Newsfeed
    6. Predict even if Your content material Will cross Viral
    7. Forecast the inventory marketplace with computing device Learning
    8. Build a picture Similarity Engine
    9. Build a Chatbot
    10. Build a suggestion Engine
    Show description

  • NuGet 2 Essentials by Damir Arh,Dejan Dakic

    By Damir Arh,Dejan Dakic

    In Detail

    NuGet has made the method of discovering and referencing libraries from visible Studio a lot more uncomplicated and has strongly contributed to the growth of an open resource surroundings. within the 3 years due to the fact that its free up, it has turn into an important device for either eating and publishing classification libraries for the .NET framework.

    A concise and useful consultant to every little thing that NuGet has to supply to either shoppers and publishers. via many palms on examples, NuGet2 necessities will reveal all of NuGet’s good points and educate you ways to exploit them in daily improvement in a .NET framework.

    Starting out through the use of NuGet for eating third-party libraries, this concise advisor maintains with a close examine developing your individual programs, and ends via instructing you the way to establish your individual inner server. via sensible examples, you are going to learn how to deal with models of put in libraries on all improvement and construct machines. additionally, you will realize how one can create programs on your personal libraries to allow them to be simply ate up, irrespective of how a lot configuration they require. by means of web hosting an inner server, you have got complete regulate of programs getting used on your improvement environment.

    By the top of the e-book, you'll learn about every little thing that NuGet has to supply, and the way it could possibly make your improvement technique better.


    This concise consultant is filled with hands-on examples to steer you thru all of NuGet’s good points and use them in daily improvement of .NET frameworks.

    Who this publication is for

    If you're a .NET developer who desires to study extra approximately NuGet, this e-book is perfect for you. even though it doesn’t require any previous wisdom approximately NuGet itself, it assumes that you're already acquainted with visible Studio and the .NET framework. All code within the examples is written utilizing C# so that you also will want a minimum of a simple wisdom of the language.

    Show description

  • Beginning Arduino by Michael McRoberts

    By Michael McRoberts

    In Beginning Arduino, you are going to research all concerning the well known Arduino microcontroller through operating your method via an grand set of fifty cool initiatives. you are going to growth from an entire newbie concerning Arduino programming and electronics wisdom to intermediate abilities and the arrogance to create your individual impressive Arduino initiatives. completely no event in programming or electronics required!

    instead of requiring you to struggle through pages of concept earlier than you begin making issues, this publication has a hands-on method. you'll dive into making tasks correct from the beginning, studying the way to use a number of digital elements and the way to application the Arduino to regulate or converse with these components.

    every one venture is designed to construct upon the data realized in past tasks and to extra your wisdom in programming in addition to abilities with electronics. by means of the top of the ebook it is possible for you to create your individual initiatives expectantly and with creativity.

    Please observe: the print model of this identify is black & white; the book is complete colour. you could obtain the colour diagrams within the publication from

    What you’ll learn

    • Controlling LEDs
    • Displaying textual content and pics on liquid crystal display monitors
    • Making a line-following robotic
    • Using contact monitors
    • Using electronic strain sensors
    • Reading and writing info to SD playing cards
    • Connecting your Arduino to the net

    Who this ebook is for

    Electronics lovers who're new to the Arduino in addition to artists and hobbyists who are looking to learn this extremely popular platform for actual computing and digital art.

    Show description