Code Monk

Tech forum for Java, algorithms & data-structures, Hibernate, RESTful API, Spring framework, Microservices architecture, Interview questions, Python, SDET, Machine learning, DevOps.

What is difference between Primary key and Unique Key

Carvia Tech | May 20, 2019 at 10:03 PM | 12 views

The main purpose of a Primary key is to uniquely identifies a given record in a Table, while the Unique Key constraint is meant to prevent duplicate values in a column (with exception of null value)

Read Article

Top 50 Multi-threading Java Interview Questions for Investment Banking Domain

Carvia Tech | May 20, 2019 at 03:30 PM | 690 views

Top 50 Java Multi-threading/Concurrency Interview Questions for Investment Banking & HealthCare, BFSI, healthcare, Core Java, hibernate, spring, algorithms for senior developer

Read Article

Creating custom Keras callbacks in python

Carvia Tech | May 20, 2019 at 03:25 PM | 25 views

In this article we will create custom keras callbacks using python i.e. logging batch results to stdout, stream batch results to CSV file, terminate training on NaN loss.

Read Article

Deploying Keras Model in Production using Flask

Carvia Tech | May 20, 2019 at 01:50 PM | 6 views

In this article, We are going to discuss the process of building a REST Api over keras's saved model. We are going to take example of a mood detection model which is built using NLTK, keras in python.

Read Article

What is new in Spring Boot 2

Carvia Tech | May 20, 2019 at 09:21 AM | 4 views | Spring Boot 2

Spring boot 2 brings major changes, including Java 8 baseline, Spring 5, reactive web programming, Kotlin support, embedded netty, simplified security configuration.

Read Article

Prevent Lost Updates in Database Transaction using Spring Hibernate

Carvia Tech | May 20, 2019 at 09:14 AM | 395 views

When a user is updating a row in database, other users must be notified/blocked from updating the stale data. Hibernate can use 2 strategies to handle such concurrent updates - Optimistic Locking & Pessimistic Locking. Even if you are using spring, hibernate will take care of the concurrency management.

Read Article

Running Spring Boot app as a service in unix

Carvia Tech | May 20, 2019 at 02:26 AM | 12 views

We can always run Spring Boot applications by using `java -jar ` command, but it is also possible to make fully executable applications for Unix systems (centos, ubuntu, etc) that can be executed like any other executable binary and even registered with `systemd`.

Read Article

Introduction to Sorting Algorithms

Carvia Tech | May 19, 2019 at 05:07 PM | 2 views

Introduction to various sorting algorithms and discussion on quick sort, merge sort and external merge sort.

Read Article

Count the number of open lockers in school

Carvia Tech | May 19, 2019 at 05:02 PM | 3 views | Python Coding Problem

A group of schools has a specific number of lockers and a specific number of students. All lockers are closed on the first day of school.

Read Article

Top 100 interview questions on Data Science & Machine Learning

Carvia Tech | May 19, 2019 at 04:55 PM | 32 views

Top 100 interview questions for data science and machine learning most relevant for freshers and experienced candidates. Questions comprises of coding and theory part

Read Article

This website uses cookies to ensure you get the best experience on our website. more info