Author Archives: Ajitesh Kumar
AWS Temporary Credentials with Java & Spring Boot
AWS Security Token Service (STS) is an Amazon web service which enables you to request temporary, limited-privilege credentials for AWS Identity and Access Management (IAM) users or for users that you authenticate (federated users). By default, the AWS Security Token Service (AWS STS) is available as a global service, and all AWS STS requests go to a single endpoint at https://sts.amazonaws.com. You can optionally send your AWS STS requests to endpoints in any of the AWS regions shown in the table that follows. In this post, you would learn how to use AWS security token service to create temporary security credentials with Spring Boot and Java app. I would recommend …
10 Spring Framework Interview Questions for Freshers
Spring Framework is one of the most popular and widely used Java frameworks which makes it very easy to create a Java application/web application using several out-of-box framework components provided by Spring. Thus, it is imperative that beginners starting to do Java web app would end up using Spring framework for building the app. From that perspective, it becomes of great importance for beginners to take note of some of the basic concepts related to which interview questions can be asked. In this post, you will learn some of the Spring framework fundamentals concepts which could be asked in form of interview questions and answers. These questions and answers may …
Amazon S3 with Spring Boot & Java – Sample Code
Amazon Simple Storage Service (S3) is an AWS object storage platform which helps you to store the files/data in form of objects, and, store and retrieve any amount of data from anywhere – websites and mobile apps, corporate applications, and data from IoT sensors or devices. Each file stored in Amazon S3 (as an object) is represented using a key. The following are some of the usecases where S3 could be used. Thus, it becomes of utmost importance to understand how to interact with Amazon S3 API using AWS SDKs including AWS Java SDK. Backup & recovery Data archiving Big data analytics Disaster recovery Cloud-native application data Hybrid cloud storage …
Amazon Polly Hello World with Java & Spring Boot
Amazon Polly is one cool AWS service which can be used to achieve requirements such as creating business, security alerts via phone call. When integrated with communication providers such as Twilio, several value-added services could be created using Amazon Polly AWS service. In this post, you will learn about creating a sample Java app which uses Amazon Polly service for converting text to speech. You should be able to listen to the following text using the program given below: Hello World! How are you doing? This is Polly. I am happy to talk with you. The following are some of the aspects covered in this post: Create a Spring Boot app …
Spring Boot CommandLineRunner Code Example
Spring Boot helps you quickly get started with building a Spring-based web app in no time. All you need to do is go to Eclipse IDE, create a new Spring Starter Project and that is it. This is provided you installed Eclipse plugin, Spring Tools (aka Spring IDE and Spring Tool Suite) by going to Help > Eclipse Marketplace… and searching for “spring tools” keyword. Often, one wants to run a Spring Boot app as a Java application as like a traditional Java program and test different parts of their app. In this post, you will get a template code for quickly getting started with Command Liner which would help …
Python Quick Coding Tutorials for Experienced Developers
Learning Python has taken centerstage for many developers as Python is one of the key language for working in the field of data science/machine learning. If you are an experienced developer, this post would help you quickly get started with Python programming. In this post, you will quickly learn some of the following in relation to Python programming: Data types Input/output operations Defining functions Conditional expressions Looping constructs String functions Defining Module Defining Classes Exception handling Python Programming Concepts Data types: Python interprets and declares variables when they are equated to a value. The following represents how variables are casted to specific data types. float(variable): Casts variable to float int(variable): …
How to Get Started with Amazon Polly using AWS CLI
Amazon Polly is a text-to-speech service which turns text into life-like speech, allowing you to create applications that talk in a human voice. The human voice could be selected appropriately while configuring the service based on the region/location where the speech needs to be delivered. For example, for India, it supports voice with Name as Aditi and Raveena. The complete list can be found on this page, AWS Polly Available Voices. There could be many applications which could be built around Amazon/AWS Polly by integrating Polly with other AWS services or telephony services such as Twilio. For example, phone alerts/notifications, reminders, feedback, results etc. In this post, you would learn …
8 Machine Learning Javascript Frameworks to Explore
Javascript developers tend to look out for Javascript frameworks which can be used to train machine learning models based on different machine learning algorithms. The following are some of the machine learning algorithms using which models can be trained using different javascript frameworks listed in this article: Simple linear regression Multi-variate linrear regression Logistic regression Naive-bayesian K-nearest neighbour (KNN) K-means Support vector machine (SVM) Random forest Decision tree Feedforward neural network Deep learning network In this post, you will learn about different Javascsript framework for machine learning. They are some of the following: Deeplearn.js Propel ConvNetJS ML-JS KerasJS STDLib Limdu.js Brain.js DeepLearn.js Deeplearn.js is an open-source machine learning Javascript library …
Docker UI App – How to Get Started with Docker UCP
Docker Universal Control Plane (UCP) is a containerized web application (UI-based) that runs on Docker Enterprise Edition and makes it easier to deploy, configure, and monitor your applications at scale. You could as well get started with Docker UCP on your Docker community edition (CE). In this post, you would learn about some of the following: Brief introduction to Docker UCP Installation instructions for UCP Logging into UCP Brief overview of Docker UCP dashboard Brief introduction to Docker UCP One can do some of the following using Docker UCP: From Docker UCP UI, deploy applications using docker-compose.yml Using Docker UCP CLI, deploy applications using docker-compose.yml. Commands such as docker stack …
Docker UI App – How to Install Portainer
Portainer is a Docker UI app which can be used to manage one or more docker environments locally or remotely with ease. It provides a detailed overview of Docker environment including UI access to manage containers, images, networks and volumes. In addition, it helps in managing different aspects of Docker environment such as managing Docker images, containers etc. One of the most cool features is user management. You would be able to create users and associate it with different Docker environments (locally or remotely). In this post, you will learn about how to install Portainer on your Linux desktop environment having Docker runtime engine. How to install Portainer on Linux …
Sentiment Analysis Examples using Google Cloud NLP API
Sentiment analysis of a text document such as speech, articles on websites etc is about assessing sentiments associated with the document as a function of overall emotions expressed in form of different words. Sentiment analysis is primarily used for tracking voice of customer (VOC) by analyzing customer reviews, survey responses, etc., in social media websites such as Facebook, Twitter etc. The VOC can be related to products in general, an event, movies etc. In this post, you will learn about how to use Google Cloud NLP API for performing sentiment analysis of a text document. Java code is used for programming the sentiment analysis. Google NLP API – Sentiment Analysis Metrics …
How to Create Java NLP Apps using Google NLP API
Natural language processing (NLP) is an AI-based technology which is used for creating apps related to speech recognition, natural-language understanding, and natural-language generation. Some of the applications related to NLP are content classification, sentiment analysis, syntactic analysis etc. In this post, you will learn about how to get set up with a development environment for creating NLP based apps using Google Cloud NLP APIs. Setup Eclipse-based Development Environment for Google NLP API The steps below would help you get setup with Eclipse IDE and Java-based development environment for developing apps using Google Cloud Natural Language API. Create Google Project: Create a project by logging into Google Cloud console. I created …
5 Reasons to get Docker Certified Associate Certification
Docker certification is about passing Docker Certified Associate (DCA) exam and getting recognition for your Docker skills. The following are some of the benefits mentioned on the Docker certification page. Recognition for your Docker skills with an official Docker credential Digital certificate and use of the Docker Certified Associate logo Exclusive access to the Docker Certified professional network on LinkedIn and invites to certified-only events However, I believe there is much more to why developers should consider going through the Docker certification exam preparation, if not, take the exam and get certified. In this post, I would like to present some perspectives in relation to Docker certification. In the process, …
Docker Certification Practice Questions – Dockerfile
Docker allows applications to run securely while being isolated in a container, packaged with all its dependencies and libraries. It has become extremely popular virtualization technology of recent times. Thus, it makes it much more important to learn this technology and complement your developer’s experience as it not only enhances your productivity but also help you in your career from an overall perspective. Read this post in relation to why you should consider adopting docker sooner than later. In this post, you will take a practice test and learn the related notes in relation to building Docker image using Dockerfile. This and several other practice tests which will be published …
Kubernetes Certification Practice Test (Storage Volumes)
Kubernetes storage volumes is a very important concept in relation to how data is managed within a Pod (consisting of one or more containers) and also the data lifecycle. In this post, you will learn about some of the following in relation to Kubernetes storage volumes. There is a practice test which will help you test your knowledge in relation to the storage volumes concept in Kubernetes. This test could prove to be useful and helpful for Kubernetes certification examination for Certified Kubernetes Administration (CKA). It may also prove to be useful for interviews. Revision notes on Kubernetes storage volumes Practice test Revision Notes Kubernetes different volume types such as some of the following …
Data Science – What are Machine Learning (ML) Models?
Machine learning (ML) models is the most commonly used in a data science project. In this post, you will learn about different definitions of a machine learning model to get a better understanding of what are machine learning models? A model is the relationship between features and the label. (Tensorflow – Getting Started for ML Beginners) An ML model is a mathematical model that generates predictions by finding patterns in your data. (AWS ML Models) ML Models generate predictions using the patterns extracted from the input data (Amazon Machine learning – Key concepts) Learning in the supervised model entails creating a function that can be trained by using a training …
I found it very helpful. However the differences are not too understandable for me