Streams has become a very popular way to process a collection of elements. But a problem arises when some operation that you have to perform on the elements in the stream can throw an exception, which will interrupt your stream. In this article we will look at how we can handle it in an easy way by using an Attempt class.
Continue reading Handle Stream Exceptions with an AttemptDeploying Spring Boot in Pivotal Cloud Foundry
A lot of focus on my previous blogs has been on how to build micro services with Spring Boot. In this blog, I am going to cover how easy it is to deploy your application in Pivotal Cloud Foundry (PCF).
Continue reading Deploying Spring Boot in Pivotal Cloud FoundryWorking with High-Quality Reference Genomes
Learn how to work with high-quality reference genomes in this article by Tiago Antao, a bioinformatician currently working in the field of genomics. Originally a computer scientist, he crossed over to computational biology with an MSc in Bioinformatics from the Faculty of Sciences at the University of Porto, Portugal, and a Ph.D. on the spread of drug-resistant malaria from the Liverpool School of Tropical Medicine in the UK.
Continue reading Working with High-Quality Reference GenomesGarbage Collection in JDK 12 and onward
Garbage collection is one of the key concepts of Java programming and up to now the JDK ships with four different garbage collectors that all have their advantages and disadvantages. In this article, we will look at a new, the fifth garbage collector which plans to become the one and the only one we need.
Continue reading Garbage Collection in JDK 12 and onwardUnderstanding Convolution
Learn about convolution in this article by Sandipan Dey, a data scientist with a wide range of interests, covering topics such as machine learning, deep learning, image processing, and computer vision.
Continue reading Understanding ConvolutionLombok Builder with Jackson
Lombok comes with a very convenient way of creating immutable objects with the builder pattern. However, if you need to serialize or deserialize JSON objects then there isn’t any support straight of the box for it. In this post, we will look at how we can use Lombok Builder with Jackson when working with JSON.
Continue reading Lombok Builder with JacksonJUnit Test Spring Webflux
With a new way of programming, a new way of testing our code also has to come. In this post we will have a look at how we can JUnit test Spring Webflux.
Continue reading JUnit Test Spring WebfluxMaking Decisions with Java If, Else, and Switch
A way to use expressions and the decision-making operators is with Java’s if
, else
, and switch
keywords. They are just what you need for giving your games clear and unambiguous instructions.
Ansible Role: Keystore Truststore
We are going to look at an Ansible role for generating self-signed certificates and storing them in a PKCS12 keystore and truststore. With these, you can enable SSL/TLS on your services.
Continue reading Ansible Role: Keystore TruststoreCouchbase Ansible Role
Deploying Couchbase has never been easier than before by using Ansible. I’ve written an Ansible role for deploying a dockerized Couchbase.
Continue reading Couchbase Ansible Role