Posts

Spring History

Image
The first version of Spring was written by Rod Johnson , who released the framework with the publication of his book Expert One-on-One J2EE Design and Development in October 2002. The framework was first released under the Apache 2.0 license in June 2003. As of Spring Framework 5.1, Spring requires JDK 8+ (Java SE 8+) and provides out-of-the-box support for JDK 11 LTS. Spring is open source. It has a large and active community that provides continuous feedback based on a diverse range of real-world use cases. This has helped Spring to successfully evolve over a very long time. Spring continues to innovate and to evolve. Beyond the Spring Framework, there are other projects, such as Spring Boot, Spring Security, Spring Data, Spring Cloud, Spring Batch, among others. It’s important to remember that each project has its own source code repository, issue tracker, and release cadence. See spring.io/projects for the complete list of Spring projects. Below are the versio

Wipro says may ask some staff to go on leave, no layoffs

Image
The company's CFO Jatin Dalal and President & Chief Human Resources Organisation (CHRO) Saurabh Govil spoke to CNBC-TV18 soon after the company declared its fourth-quarter earnings. "There are many indications to show that the pandemic is worse than the global financial meltdown," said Dalal. "In 15 days alone, due to just the discontinued operations, we have seen a 0.7-0.8% hit to the business". Govil said that the company could look at various options to cut costs. "We will look at if people can go on furloughs and leaves. If sub-contractor costs can come down and if we can deploy people there. We will have to cut costs wherever possible. These are tough times and we may have to take tough decisions." Wipro's fourth-quarter net profit 6 percent sequentially to Rs 2,345 crore. Revenues rose marginally to Rs 15,296 crore. It also suspended its formal guidance citing uncertainty. The outbreak of the novel coronavirus

Amazon Shutdown in France: No End in Sight, Says Head

Image
Amazon has no clarity yet on when its warehouses in France might reopen, the head of its French business said on Thursday, after the e-commerce giant clashed with unions over the measures taken to limit the risks of coronavirus contagion. The world's largest online retailer is facing mounting scrutiny on both sides of the Atlantic as it juggles a surge in online orders during unprecedented lockdowns during the pandemic and employees' safety. France is the only country where it has shut down all of its so-called fulfilment centres after unions complained that they were still too crowded and filed a legal challenge. A court sided with the workers on Tuesday, ordering Amazon to focus only on delivering essential items like food while it revised health protocols. Amazon's French Chief Executive Frederic Duval rejected the court's order on Thursday, saying the company had spent "colossal amounts" on health precautions including sanitary

Valid Parenthesis String

Given a string containing only three types of characters: '(', ')' and '*', write a function to check whether this string is valid. We define the validity of a string by these rules: Any left parenthesis '(' must have a corresponding right parenthesis ')' . Any right parenthesis ')' must have a corresponding left parenthesis '(' . Left parenthesis '(' must go before the corresponding right parenthesis ')' . '*' could be treated as a single right parenthesis ')' or a single left parenthesis '(' or an empty string. An empty string is also valid. Example 1: Input: "()" Output: True   Example 2: Input: "(*)" Output: True   Example 3: Input: "(*))" Output: True   Note: The string size will be in the range [1, 100].  class Solution {     public boolean checkValidString(String s) {        int left = 0, rem = 0;        for (

Reverse Integer

Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321   Example 2: Input: -123 Output: -321   Example 3: Input: 120 Output: 21   Note: Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [−2 31 ,  2 31  − 1]. For the purpose of this problem, assume that your function returns 0 when the reversed integer overflows. class Solution {     public int reverse(int x) {         StringBuilder sb;         String str = x+"";         int i;         if(x==0)             return 0;         if(x<0){             String sub1 = str.substring(0,1);             String sub2 = str.substring(1);             sb = new StringBuilder(sub2);             sb.reverse();             str = sub1+sb.toString();         }         else{             sb = new StringBuilder(str);             sb.reverse();             str = sb.toString();             for( i=0;i<str.length();i++){       

Top Programming books for beginners to read

As a beginner in coding, the importance of reading books to attain a clear understanding of the basics cannot be neglected. #1. C Programming Language by Kernighan and Ritchie Written by Brian Kernighan and Dennis Ritchie (creator of the C language), this book explains the intricacies of the C programming language in an elaborate manner. Individuals interested to study computer concepts and C programming fundamentals must read this book. #2. Head First book series – Multiple Authors Apart from the popular must-reads for programmers if you’re looking to excel in Java, Python, JavaScript and other programming languages, this introductory series is preferred for its unconventional methodology where learners are engaged through visualization of concepts as the book follows a conversational style of teaching. #3. Code Complete: A Practical Handbook of Software Construction by Steve McConnell Recognized as one of the best practical guides for programming, this boo