Quantcast
Browsing all 147 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Keeping Spring Boot Powered REST API Request and Response Objects Minimal

I am a big fan of Spring Boot. It is my preferred choice for building REST APIs in Java. It takes less than 5 minutes(given that you have Maven dependencies on your local machine) to get started with...

View Article


Image may be NSFW.
Clik here to view.

Fixing VLC No Suitable Decoder Module For Video Format undf

Today, I tried to play a video with .mkv extension using VLC media player but I was greeted with error message. The problem is that VLC does not have the right codec to play the audio. So, video will...

View Article


Image may be NSFW.
Clik here to view.

Teradata Covalent with Angular 4 Compilation Error

Today, I decided use Teradata Covalent components in my Angular 4 application. After adding the dependency, my project stopped compiling. I started getting following errors I tried googling this error...

View Article

Image may be NSFW.
Clik here to view.

Unit Testing File Upload REST API using Spring MVC MockMvc

Today a colleague asked me how he could unit test a Spring MVC REST resource. I am using Spring MVC test support for some time now so the obvious answer was to use MockMvc. In case you have not used...

View Article

Image may be NSFW.
Clik here to view.

10 Things I Learnt By Reading Retrofit Source Code

Welcome to the first post of X-things-I-learnt-reading-Y’s-source-code series. In this blog series, I will share what I learnt after reading source code of popular open-source projects. Each week I...

View Article


Image may be NSFW.
Clik here to view.

strman-java 0.4.0 Released

I am happy to announce 0.4.0 version of strman library. strman is a Java 8 library to work with String. It implements a number of helper utility functions that you makes it easy to work with String....

View Article

Image may be NSFW.
Clik here to view.

Angular 4: Use of base-href and deploy-url build options

I use Angular 4 at work for building a single page application. Today, I faced the problem where I had to use different base paths for router and static assets. Angular makes use of the base href to...

View Article

Image may be NSFW.
Clik here to view.

2 Things I learnt By Reading Failsafe Source code

Welcome to the second post of X-things-I-learnt-reading-Y’s-source-code series. This week I decided to read source code of failsafe library. Failsafe is a lightweight, zero-dependency library for...

View Article


Image may be NSFW.
Clik here to view.

Unit testing ngModel in Angular 4

Angular 4 is a good choice for building modern web applications. It comes bundled with Test utilities that makes it easy to write good quality test cases quite easily. Angular official testing guide...

View Article


Image may be NSFW.
Clik here to view.

Implementing file save functionality with Angular 4

Today, I faced a requirement where I need to implement file save functionality in an Angular 4 application. In this quick post, I will show you how to implement this functionality in Angular 4 using...

View Article

Image may be NSFW.
Clik here to view.

Caitie McCaffrey Talk: The Verification of a Distributed System

This is a great video that explains importance of developer testing in writing robust distributed system. She talked about unit testing, integration testing, and verification language that can be used...

View Article

Image may be NSFW.
Clik here to view.

Using Spring Boot @SpyBean

Today, a colleague asked me to help him write a REST API integration test. We use Spring’s MockMvc API to test the REST API. The application uses MongoDB with Spring Data MongoDB. The application uses...

View Article

Image may be NSFW.
Clik here to view.

Software Development 101: Validate your assumptions

In my last assignment, I was asked to mentor a software development team as part of the Dojo program. I am not a big believer in Training initiatives, but because Dojo program has a different format I...

View Article


Image may be NSFW.
Clik here to view.

Martin Fowler Talk: The Many Meanings of Event-Driven Architecture

This is an awesome talk to understand different patterns in Event-Driven architecture. Martin Fowler explained four patterns: Event notification Event-carried State Transfer Event Sourcing CQRS

View Article

Image may be NSFW.
Clik here to view.

Angular 4 Karma Loading CSS in Unit Testing

Today, while writing unit test for one of my Angular 4 application I wanted to load bootstrap css. My components uses Bootstrap for styling. The problem is when test run they don’t load CSS so they are...

View Article


Image may be NSFW.
Clik here to view.

How to Rename and Change Boolean column to Integer in PostgreSQL

Today, I faced a situation where I had to change a column type from Boolean to Integer. Also, I wanted to rename the column. Let’s suppose, we have tasks table that has a boolean column done. I want to...

View Article

Image may be NSFW.
Clik here to view.

Finatra Tutorial: Building Scalable Services The Twitter Way

Finatra is an open-source project by Twitter that can be used to build REST APIs in Scala programming language. Finatra builds on top of Twitter’s Scala stack — twitter-server, finagle, and...

View Article


Image may be NSFW.
Clik here to view.

Building an Angular 4 Drag And Drop Application in 15 Minutes

Last week, I had to build an application that required drag and drop functionality. This made me learn about couple of third party Angular 4 drag-and-drop APIs. The popular options in Angular 2+ world...

View Article

Image may be NSFW.
Clik here to view.

React License

Yesterday, I wrote a private note on my organization Slack channel educating people on React license. We use React in few of our projects. Everyone please read this as it is important to understand...

View Article

Image may be NSFW.
Clik here to view.

Sentiment Analysis in Scala with Stanford CoreNLP

In this post, we will learn how to use Stanford CoreNLP library for performing sentiment analysis of unstructured text in Scala. Sentiment analysis or opinion mining is a field that uses natural...

View Article
Browsing all 147 articles
Browse latest View live