Let's learn about Java via these 500 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the Learn Repo or LearnRepo.com to find the most read blog posts about any technology.
Because COBOL and FORTRAN weren't stilted enough.
APK decompilation is the process of reverse engineering an APK file to retrieve its source
code. It is useful for understanding how an Android app works.
Spring Boot supports Postgres. Just add dependencies, create a database, connect to it, and create an entity, repository, and controller.
An easy approach to the hard leetcode problem Merge k Sorted Lists from that many people using Java Algorithms will need to learn in order to be effective.
In this article, you will learn how to code a Binary Tree Right side view in LeetCode.
We will learn how to solve "Number of Islands" from Blind 75 LeetCode Questions.
Clone Graph Blind75 LeetCode Problem
Returning an array of the non-overlapping intervals that span every input interval.
These books are full of advice and avoiding costly mistakes in the initial phase of software development.
Programming has been one of the most in-demand and highly-paid skills for the last two decades, and the demand is only increasing. In addition to this demand and popularity in the market, working as a developer also provides a lot of flexibility. You can work from wherever you want and contribute to projects all around the world. All of these reasons make software development highly compatible with the freelancing lifestyle.
In this article, we will look at how to schedule tasks using the Quartz framework in Spring Boot. We will consider JobStore, and thread pools.
In this tutorial, you'll learn how to build your own Programming language!
The article explains optimistic and pessimistic locking. We consider a Spring Data JPA application with concurrent transactional code as an example.
Given the root of a binary tree, determine if it is a valid binary search tree (BST
Everyone, well, almost everyone, loves video games. So even if you are not going to be a professional game developer or just don’t know for sure, to learn a programming language through practice and creating your own video game project is an excellent idea. Furthermore, it could be a good motivation for your learning.
The following is a list of the top 10 programming languages in 2022:
In this article, we'll learn about creating and using interceptors in Spring boot.
For Java developers, last, a couple of years has brought plentiful changes and posed a tough challenge with keeping up-to-date with new Java version every 6 months, and many release of popular frameworks like Spring 5, Spring Security 5, and Spring Boot 2 etc.
In your life, you’ve learned about many types of animals, people, buildings, sports, schools, and so on. In English class, we refer to these “people, places, or things” as nouns. In Java, we can refer to them as objects — you can think about objects in Java as you do about nouns in English.
In conclusion, the Single Responsibility Principle (SRP) is a software design principle that states that every class should have only one reason to change.
The focus on enhancing the developer experience is evolving rapidly post COVID, as businesses embark on the digitization journey. What really does this entail?
Choosing the right backend technology for fintech development involves a detailed look at Java and Scala.
"Optimizing List Manipulation: Two Pointers Technique" explores the effective application of the two-pointer technique to efficiently manipulate lists, reducing
How WebFlux threading model works under the hood
Feign is a declarative web service client. It makes writing web service clients easier. To use Feign, create an interface and annotate it. It has pluggable annotation support including Feign and JAX-RS annotations.
We all know that Data structures and Algorithms are the backbone of every concept we use. There are many concepts involved in Data structures and algorithms (for the sake of convenience, I'll use DSA). There will be many questions for a beginner like how to start learning DSA, as there are many concepts involved and he/she might get confused at the start. In this post, we are going to see a roadmap for learning DSA, which worked out for my friends. I am not saying that this is the perfect roadmap for DSA. You can use your own plans also but this is just an idea. So let's get started.
This guide explains how to use React and Redux to fetch data from JSON files in an easy and lightweight method through a real example and well explained steps.
Spreadsheet libraries are in high demand today. Such solutions are convenient as they offer ready-made applications, save the developers' time and the owners' money. They can be used in any business domain to deal with big amounts of data.
The article explores the Sliding Window pattern's efficient application through illustrative examples.
Spring profiles are very useful concept in framework but there are some cothas to catch for mastering it. Article about how to survive in multi profile set-up.
Here's a Simple and Structured Roadmap to Becoming One (with youtube videos)
We are living in an age of rapidly changing technology. With over 500 programming languages in use globally, it is a dynamic job market for developers. There are pros and cons of all the languages and their adoption is becoming more and more application-specific.
Unlock the power of functional programming in JavaScript! Learn key concepts, practical examples, and unleash its potential in your projects.
The 21st century is a century of digital citizens as technology has become the most important aspect of our lives. Having the knowledge of programming has become more of a necessity than an option and similar to the growing craze of coding, Ethical hacking has also become extremely popular these days. Everyone wants to become a hacker today especially the youth, but the truth is that hacking and becoming a hacker is not as easy as it is shown in numerous sci-fi movies, in-fact it takes years of practice and programming to become an Ethical hacking expert. There are several Programming languages used for Ethical hacking/ Whitehat hacking that are used extensively.
Javascript is introducing a few new array methods which let us simultaneously copy an array, rather than changing the original. Let's look at how they work.
A little backstory on how this started. My team needed to save some on money on the infrastructure we were requesting and since most of the load for the application we wanted to build would be on the client-side rather than the service side. We decided to see if we could combine a Spring Application with a React app and serve up a single war file.
Manacher’s Algorithm helps us find the longest palindromic substring in the given string. It optimizes over the brute force solution by using some insights into how palindromes work. How? Let’s see!
There’s a common misconception in software development that you have to spend hours at the office, chained to a PC and coding books to learn a new programming language. The good news is, with the impressive development of mobile coding education, you can learn on your feet and combine professional development with running personal errands.
Glassdoor is one of the biggest job markets in the world but can be hard to scrape. In this article, we'll legally extract job data with Python & Beautiful Soup
Disclaimer: This story is not sponsored by Async Profiler.
Hello folks, if you are preparing for System design Interview and looking for best resources to master Software design and System design then you have come to the right place.
I often receive questions like which is a first programming language to learn? Is Java a good programming language to start with?, how good Java is as a first programming language? which is the best programming language for beginners, or shall I start with Java or Python?.
A working example on how to use Spring Webflux to stream data from a REST API
We are going to build an e-commerce application using Java, Spring backend, build web UI in Vue.js, and mobile UI using android. Stay tuned!
I have read somewhere that a programmer should learn a new programming language every year ( I think it's code complete, not sure, though), but if you cannot do so, I suggest to at least learn following five programming language to do well in your career.
Docker, Maven, and Jenkins are some of the most popular tools in the DevOps and Java world. Maven helps to organize your project and provide support to build and deploy Java projects while Jenkins can provide continuous integration and delivery by completely automating build and deploy projects.
A simple program in Java to check whether a triangle is right-angled or not.
An event loop waits and reacts to events. In this article a multithreaded Java implementation is presented. A real world scenario inspired its implementation.
In this article, we will look at how to handle job failures in Quartz. We'll use an exponential random backoff policy for calculating the time of the next retry
The First Missing Positive problem is an algorithm problem that requires finding the smallest positive integer that is not present in a given unsorted array of
This is a rundown of amazing Java project ideas that will set off your career in programming. Given, there are dozens of projects that could help you learn or perfect some basic or complex Java tasks. But if you are a beginner who is rather skeptical about venturing out on your own, the projects in this mini-guide have been handpicked specifically for you.
Authentication and authorization are two important concepts in security. This post will teach you how to secure your REST API endpoints with Spring Security.
Now we are a few years into EMV mandates in the US, we all have one or more EMV chip cards in our wallet and have used them in stores.
In this article, we will compare Maven and Gradle. The article describes how to choose between them based on the type of project.
This tutorial explains how to deploy a Java Springboot app in AWS Free Tier
First of all, what are all these words - Statically - Dynamically - Strongly - Weakly Typed Languages?
This is how you can classify programming languages:
A journey through a buggy webflux application.
Coding Interviews are such an important thing in a programmer's life
that he just can't get away with that. It's the first hurdle they need
to cross to get the software developer job they wish throughout their
school and college days.
Software testing assists in quickly detecting and resolving all bugs and issues to ensure product quality prior to exposing it to the clients, which is critical
This article has provided a step-by-step guide to configuring and implementing the custom type mapper.
In this article, I compare two parsing methods with a focus on their performance. The first uses regular expressions, the second deterministic finite automaton
A simple java command that will provide us the vendor details describing what vendors java implementation has been installed on that particular server.
We are going to create an android UI for our UserProfile backend API we are creating for our demo E-commerce tutorial
Code reviews are pricey. Let machines catch style issues so humans can focus on what matters: security, scalability, and architecture.
Hello guys, I have awesome news to share with you. Pluralsight has announced that all their 7000+ expert-led courses are free for one-month, April 2020, to support people staying at home due to COVID-19.
A big question for Machine Learning and Deep Learning apps developers is whether or not to use a computer with a GPU, after all, GPUs are still very expensive. To get an idea, see the price of a typical GPU for processing AI in Brazil costs between US $ 1,000.00 and US $ 7,000.00 (or more).
Firebase is a mobile(Android or iOS) and web application development platform. It provides a suite of cloud-based tools and services offered by Google
The Datadog tool is used to visualize production logs. It can be installed on a MacOSX machine.
In this article, I want to teach you how to connect Java Spring Boot 2 with Elasticsearch. We’ll learn how to create an API that’ll call Elasticsearch to produ
So how long does it take to learn Java? Ten years, ten weeks, or one day? Maybe your whole life? You may find very peculiar answers to this question on some online forums. Let’s make it clear from the very beginning. In this article “to know Java” doesn’t mean you can write “Hello world program”. It is about knowing Java well enough to find your first job.
Learn how to stream data efficiently from a REST API into a Kafka topic using Kafka Connect.
If you are creating a new Java project for your REST backend over a relational database, you will probably not even blink before saying: Hibernate. But why? Did you really give a good thought on how this tool actually makes your work easier (or harder)? Did you consider the accurate needs of your architecture and have a good reason to include or not include it?
and Why You Should Too!
Java has been a developer staple for quite some time. In fact, Java is one of the most popular programming languages on the market. Part of the reason for that is Android.
If you are a computer science graduate or a programmer who wants to learn Java and looking for some awesome resources like books, tutorials, and online courses then you have come to the right place.
Full-stack development has been in the limelight in recent years. There has been a lot of talks surrounding the future scope of full-stack developers and how this position could change the business game for companies all across the globe. The rising demand for seamless technology has enabled developers to work on both back-end, front-end and many other related fields.
Are you about to start coding and gravitate towards an easy, reliable programming language that can be learned in a short time and used for creating a plethora of applications and programs? If yes, you just can’t go wrong with Java. But how long does it take to learn Java to become proficient in it? To estimate the approximate time you may need, let’s answer some essential questions.
Hello there, Today we are going to learn how we can make an amazing custom toolbar with gradient effect and also apply the gradient to the status bar like below
This article demonstrates the development of a Serverless API utilizing AWS services
With the help of the backtracking algorithm, I will solve the permutations and subsets problems in Java that are frequently used during job interviews.
Since being forked from MySQL back in 2009, MariaDB has become one of the most popular databases of choice for developers over the past decade. While many technologists have likely gravitated to it as a solution due to its open source roots and that it's rooted in the relational database world, that really only begins to scratch the surface of what MariaDB has to offer.
In this part of creating your own programming language we will implement classes and at the end will write the real Stack implementation
It's so lonely at the top of Olympus.
We will configure a CI/CD pipeline with GitLab CI/CD and execute Selenium testing over it through LambdaTest, an online Selenium Grid of 2000+ real browsers.
How to customize MariaDB Docker images: Execute SQL and shell scripts when the containers start and pass configuration files.
HOG - Histogram of Oriented Gradients (histogram of oriented gradients) is an image descriptor format, capable of summarizing the main characteristics of an image, such as faces for example, allowing comparison with similar images.
Module Design Pattern is a way to encapsulate and organize code in a self-containing module that can expose certain functionalities.
Dijkstra's Two-Stack algorithm, lexical analysis, syntax analysis, tokens
According to Wikipedia, Software profiling is a form of dynamic program analysis that measures, for example, the space (memory) or time complexity of a program, the usage of particular instructions, or the frequency and duration of function calls.
When you think about Android development, chances are one programming language immediately springs to mind and that is Java.
Hello folks, Spring Boot is one of the top Java frameworks to learn in 2020,
but as a full stack Java developer, just learning Spring Boot is not enough, you also need to learn all the technologies which make the eco-system like containers, could, testing spring Boot application, advanced Spring Boot features like Actuator, creating Microservices using Spring Boot, deploying Spring Boot applications on cloud platforms like AWS, Azure, and GCP.
As an object-oriented and class-based programming language, Java is loaded with numerous opportunities – it is portable, distributed, secure and dynamic. All the latest technologies depend on Java to support various functionalities. Which is why it comes as no surprise that Java reigns as the most popular programming language. It goes the same way with Java Frameworks which are very widely being used by Java developers today.
Flutter is the newest mobile app SDK from the house of Google, intended to make cross-platform app development easier than ever before. Since it’s preview release at the Google I/O 2018 and its stable release recently, Flutter development has generated a lot of hype among developers and businesses alike.
Explore the top Java Excel API Libraries and their notable features for your applications in this review of leading options.
An introduction to Kotlin coroutines compared to Futures/Promises such as Reactor’s Mono or Java’s CompletableFuture
Every Programmer wants to grow in their career, but it’s not easy, and if you don’t pay attention to your job, you will likely stay in the same
position for many years. The growth in the initial few years is
generally fast. Still, once you reach the barrier of 5 years, you need
to decide which direction you want to move like — people management,
product management, or software architecture.
In this article, java developers explain the Anatomy of system designing of a URL Shortener Solution or Tiny URL provider Service.
VS Code is Java-ready! Learn which extensions to use and how to configure it to start coding Java in a modern IDE.
In the beginning, you will most likely try to use a brute force method to solve search problems; this is because it is the easiest and most rudimentary way to find a target. However brute force has a time cost; The Big O notation of brute force is usually and unacceptably equal to or greater than bigO(n²).
A lot of data over the web or internally in an enterprise is available and accessible only through Rest APIs. Rest APIs do provide a secure and authenticated mechanism to access these services, but they are not very intuitive sometimes to query upon the data which is fetched through them.
Learn how to access forms in Selenium WebDriver for automated browser testing of your web application and ensure a cross browser compatible experience.
Explore effective methods for code sharing in microservices using comprehensive examples and multi-module libraries for streamlined development.
In shocking development, new computer is faster than the old one. In this case the new thin air beats a newish thicker M1 Max top of the line machine.
JSON Web Token or JWT has been popular as a way to communicate securely between services.
We can create a custom hook that will be used to handle all asynchronous data fetching and updating the state updating.
A central aspect of Java's philosophy is that names matter.
Learn How to make a simple Report Card System in Java, which will accept 2 subjects but later it will be updated to 15 subjects.
An extension for the Criteria API using Builder pattern and JPA Static Metamodel to increase readability and reduce read complexity with explicitness
The choice of a programming language for your startup directly depends on the needs of your project, your budget and other parameters.
GraphQL is revolutionising the way developers build APIs. It lets you query precisely what you want. Nothing more, nothing less! It also gives you the flexibility to query related objects in a single round trip, unlike the REST APIs.
How to best handle composite map keys in your code, and what offers the best performance
Unlock superior data efficiency with PostgreSQL Upsert in Spring. Explore the integration, benefits, and how to overcome its limitations. Boost performance now!
Java version 17 brought some changes to Java but also made many developers reconsider their desire to move to other JVM languages.
Java Frameworks are the pre-written code body through which you are enabled to add your own code. There are numerous Java frameworks that have different leading features, on the basis of the same here, I will discuss Top 10 JAVA Frameworks For Web App Development 2020-2021.
In this comprehensive guide, we'll explore practical insights, real-world examples, and actionable tips to help you navigate this crucial choice...
Many developers using React use Redux for state management. React Redux lets them use object notation to check action types for the code they are writing.
An in-depth overview of what memory leaks are in Java, how they cause, and workable strategies for preventing them.
Knowing several programming languages is trendy today and I am often approached by my students with requests like How long does it take to learn Java?
Hello guys, if you are thinking about career in tech like programming, web development, data science, test automation, machine learning and other career Java and Python are two of the most popular and influential programming language of the present time and future to start with.
Java is a general-purpose programming language designed by Sun Microsystems in 1995. Since then, the language has become widely spread—it was one of the five most used programming languages in 2019, and a fifth of Google search requests for programming tutorials were related to Java. No wonder both product owners and developers tend to use Java for software development, as Java is:
Clean Code by Robert C. Martin is the most recommended programming book of all time. There’s a good reason why.
Here at Peoplelogic, we aggregate and stitch together a lot of data from a lot of different sources on a regular basis – helping companies stay out of head of risks to their growth. Some of this aggregation takes a long time and we needed a way to distribute the processing of all this data across our fleet.
This is a simple black screen console game where first the program will automatically generate a random number, and all the players who play the game here will continue to guess the number one by one and match it with the previous program. The game will end if it matches the program's generated number. Whoever matches will be the winner of this game.
Here, we will add another interesting feature which is a counter. What is a counter? It's not just a recorder that will keep recording how many times the player is guessing and how many guesses after which a winner is actually found.
Hello guys, today I am going to talk about JUnit and unit testing, one of the key skills for any software developer. You may already know that JUnit and Mockito are two of the most popular testing libraries for Java applications, and you will find them in almost every Java application classpath.
In this article, I am going to share some of the best Java courses beginners can join to learn Java.
There are many useful features introduces from Java 8 to Java 13 like lambda expressions, Stream API, New Date, and Time API, Creating Immutable Lists, var for storing local variables without types, String in switch case, Text Block and many more.
Explore 2023's web design trends, from minimalism to 3D elements. Stay up to date with the latest innovations shaping web design.
If you are looking to learn Java, you may be wondering where to start. Which technologies should you focus on?
Here we've listed the most commonly asked concepts on constructors in java that can help you ace your java interview.
Today, microservices architecture is a common approach to building a system. In this article, I will show you how to build microservices using Java and Spring.
Selenium uses Firefox Driver to link the test cases with the Firefox browser. In this guide, we discuss how Selenium Firefox driver aka GeckoDriver works with the help of an example.
What Are Java Method References And Kinds Of Method References Available?
Versioning database changes is as important as versioning source code. By using a database migration tool we can safely manage how the database evolves, instead of running a bunch of non versioned loose SQL files. In some frameworks like Ruby On Rails, database versioning occurs along the development. But when it comes to Java world, I don't see it happening so often.
My favorite books, courses, and practice tests you need to prepare well for Oracle Certified Java SE 11 Developer Certification Exam with code 1Z0-819 in 2021.
Java and C# Generics look very similar but they work differently. The difference is because of how the support for Generics is implemented in these languages.
A walk-through of dependency injection.
So , I recently completed a course on Coursera named “Kotlin for Java Developers” and therefore I feel I am the right person for one of the most hot trending question “Kotlin or Java”.
How to dynamically exclude selected Spring Boot auto-configuration classes using profile groups.
How to create your custom annotation for request routing for Spring Boot? Custom BeanPostProcessor helps to parse and register target methods.
These are the best Big Data Frameworks developers can learn. It includes Apache Hadoop, Apache Spark, Apache Flink, Apache Storm, and Apache Hive
?A Java command line program accepts values from the command line during execution. With command line programs, you do not need a graphical user interface (GUI)
Find out what time is the right time to switch from free online education to one you pay for.
In order to become a Java 8 Certified developer, you need to pass two
exams, the OCAJP 8 exam with code 1Z0–808 and the OCPJP8 exam with code 1Z0–809. You will not be a Java SE 8 certified programmer if you just
pass the OCAJP8 exam.
This means to compare programming languages on what really matters, which in most cases, specifically in the enterprise world, is how efficient it is to develop
We use annotations to denote transactional behavior in modern Spring so we have no code, no failure, no debugging... But is it really?
(Some background: I’ve interviewed hundreds of candidates for software engineering jobs at Facebook and Microsoft. I’ve also failed several coding interviews myself when I wasn’t prepared.)
Use env properties in spring boot to add the environment variables.
Prisma ORM is a good choice for your project. It lacks some features of other ORMs. But it's not a big deal because you can jump the lover levels of raw SQL
Lookaheads and lookbehinds allow you to create your own ^ and $ sub-expressions
Keep up with the latest and best practices to build spring boot docker images.
Get through this in-depth guide on Java Streams in Java 8 where you can learn the basics of streams; explained with example codes.
Discover how to craft a custom Excel mapper using Java. This guide explores dynamic report generation through annotations.
Kotlin, Scala, and Groovy are three of the best programming languages Java developers can learn in 2021 to enhance their profile to become an all-round dev
Hibernate and the issue of duplicate entities, a well known problem. However do you know the origin of this behaviour? Let's dive under the hood of Hibernate!
There's a reason Java maintained popularity for such a long period of time. The language's conservative, slow and steady approach is the key to its success.
Benchmark of 5 LLMs solving LeetCode problems in Python, Java, Rust, Elixir, Oracle SQL and MySQL. Results show language popularity correlates with success.
In this post, we will look at prefix sums and how they can be used to solve a common coding problem, that is, calculating the sum of an array (segment). This article will use Java for the code samples but the concept should apply to most programming languages.
JShell or Java Shell is a Read-Evaluate-Print Loop (REPL). This means it evaluates expressions as and when they are entered and shows us the results. JShell can be accessed from the command line and is an excellent tool to make adjustments to your code. A basic Java program needs you to go through the tedious process of writing a complete program before compiling it, fixing the errors, running it only to find that the output is not what you expected. Using a JShell helps you find problems as and when you’re developing code. You can run individual statements in a JShell and use APIs you have no idea about.
I would like to share with you my experience in obtaining the coveted title of Oracle Certified Professional Java SE 11!
Recently, my colleagues and I discussed the popularity of a couple of technologies — in particular, Java and node.js. After a brief Internet surfing session, it turned out that these technologies are used by many information giants to develop and maintain their platforms. Below, I will mention only a few of them.
If you are a Java programmer and are wondering what to read to improve your knowledge of Java or become a better Java developer, then you have come to the right place.
Whether or not you've been actively developing within one of the JVM languages or not, you've likely at least heard of the concept of reactive programming by now. If not, I certainly encourage you to do a little research into the whole idea of declarative programming using data streams.
Auto-generation of documentation for Event-driven architecture
With this article, we will discuss every element of both the back-end technologies platforms to provide you with clear insights.
A fresh overview of the best platforms for learning Java and tips on how to make the process of learning Java from scratch effective and fast.
Congratulations on making it this far. Really, you have accomplish a great feat. The final test of how far you have come is for you to build your first graphical user interface game in Java. I have developed the entire game for you, and in this chapter, I will touch on the purpose of each class. With that knowledge, you will be able to reconstruct the entire project from the ground up.
Custom annotation-based authorization and headers propagation in Spring Boot
Top JavaScript libraries TensorFlow.js, Brain.js, Synaptic.js, ml5.js, ConvNetJS, Keras.js, WebDNN.
As we know blockchains are designed to be immutable.
Here we will design a simple blockchain that will help you understand how hashing makes a blockchain immutable with just a few lines of Java Code.
For the purpose of this, we’ll be using a basic ERC20 smart contract I created called JavaToken you can find here. We’ll be using it and the repository it’s in for demonstration purposes, so feel free to clone it and follow along! The network we will be deploying and running it on will be a local Ganache Testnet using Truffle.
Open-Source Web UI for Apache Kafka
The thundering herd problem occurs when numerous processes simultaneously access a shared resource, overwhelming distributed systems.
Have you ever wondered “What OSGi is?”. OSGi stands for Open Service Gateway Initiative, which is a Java framework for developing and deploying modular software
This guide will walk you through the process of setting up Jenkins on Kubernetes. Jenkins is a widely-used open source CI server that provides hundreds of plugins to support building, deploying and automating your projects.
Hi there! We are the Navigine team. For 8 years we have been providing integrated positioning mobile technologies that enable advanced indoor navigation and proximity solutions. Today we decided to open the doors to our technology and talk about how to scan BLE devices when the Android application is killed and in background mode.
Top 3 books and tutorials on Apache Kafka
Java 8 stream has made my programming life simpler as a software engineer. However there are a lot more that can be improved by incorporating the RXJava library. RXJava contains tons of functionalities to process streams or observables.
The programming language Python is famous for quite many reasons. It is loved by enterprises, developers, researchers all over the world. Be it enterprise development, machine learning or anything else, Python has more than a few applications in the present-day world. It has not just been able to impress users with its flexibility, ease of understanding, uncomplicated implementation and abundance of libraries, but also its frameworks that developers are falling in love with instantly.
Resilience4j: A Java library for building fault-tolerant applications with modules like Circuit Breaker, Rate Limiter, Retry, and Bulkhead.
Learn how the PBKDF2 algorithm strengthens the security of passwords by creating cryptographic keys for cryptographic operations like encryption.
Java: The Complete Reference, Head First Java, and Effective Java are the best Java programming books on the market today according to their review scores.
Want to get your hands dirty with Machine Learning / Deep Learning, but have a Java background and not sure where to start? Then read on! This article is about using an existing Java skillset and ramp-up your journey to start building deep learning models.
This article explains the features of live streaming apps in different fields, and how to build a live streaming app using the SDK.
Hello guys, If you are a Java developer or someone who wants to learn Java EE for web development and looking for some courses to kickstart your learning, then you have come to the right place.
How to easily deploy on Gradle for your Linux server without needing an entire development pipeline that the process normally requires you to have on hand.
Today I would like to talk about how you can optimize work with JPA repositories and improve performance by avoiding native SQL queries in the code.
Microservices are a part of cloud computing which will become more important over time. This is how to create microservices using Spring Boot for the process.
A powerful library to convert Excel and CSV Files to POJOs and vice versa in Java by using reflection and annotations
Is using @Component with @StepScope redundant or problematic? Does it make sense to use both annotations, or should you use a different approach?
If you are a Java programmer and are thinking of learning some more programming languages to expand your knowledge and skills, but not sure which programming languages to choose, then you have come to the right place.
In this article we will learn about how to create docker or OCI complaint images without installing any docker client or using Dockerfile for our SpringBoot application. We will be doing all of this with help of Jib.
Recently, I successfully passed the 1Z0-819 Oracle exam. In this article, I will share my prep strategy.
Learn how to use databases from Java
Automating your Java testing will help you become more efficient and effective. These Java Libraries are likely to be heavily used for automation testing.
Building a minimalistic release pipeline with a Spring Boot app, Github Actions, and DigitalOcean.
What does a potential Java junior need to know to get their first job or even qualify for a trainee position in a good company? What tools will help a Java programmer reach the next level? Which technologies should you study, and which ones are better to hold off on?
The article discusses the effective use of the @Transactional annotation in Spring, focusing on solving concurrency issues in microservices.
Soft skills matter in the tech world, but if you don’t know the right programming language or platform, you probably won’t get the job.
Parsing is a major source of production failures. Some are easy to track but some are insidious. Here's how you can debug them on the fly!
If you’re a Java developer, I’m sure that you have seen code similar to the featured image snippet above at least once. The code in the snippet above is an example of functional programming paradigm implementation in Java, which will filter and transform the List in the request to another List.
Recently I decided I would like to get a bit more into Ethereum development, as blockchain technology had always interested me but I never got around to actually making a project with it. With Android being my favorite environment, I decided this would be my platform. However, upon starting I noticed it was quite difficult to find much information about Ethereum development in mobile, leading to the creation of this article, where I’ll show you how to make a simple Ethereum application using web3j on the Ethereum Testnet Rinkeby.
The who, what, where, why, and how to fix the Log4j vulnerability.
Discover a new toolset aimed at solving application and API connectivity challenges, while still staying focused and meeting business needs.
If you’re a complete newbie or already have a bit of a programming background, you can’t go wrong with Java for game development.
Microservices is an architectural style used for creating applications made of individual fine-grained services, which encourages functional decoupling, re-usability, and scalability. This is becoming increasingly popular compared to the monolithic applications we generally build. Monoliths generally lack the flexibility given by microservices in separating out functional components to have their own independent development teams, lifecycles, and deployment.
Back-end engineering nowadays may require the integration of multiple services. It is painful for engineers to install many services in their local development environment. Docker has provided an easier way to do this, but it will still require some scripting outside our code. It also has not exactly had a perfect solution if we wanted to test smaller functions or classes instead of the whole service. This problem has been addressed by Testcontainers [1].
This article explains how I found a nice and simple algorithm to extract prominent colors out of an image.
State machines, as they are used today in software projects, are an effective way of developing software for a lot of different applications. They have been used in the embedded systems domain to model reactive systems for decades. Highly-sophisticated tools, like Mathworks Stateflow and YAKINDU Statechart Tools, help embedded systems engineers to model and simulate the behavior of their systems and generate high-quality code out of the statechart models.
Are you just taking your first step into web development, and you want to learn programming? Discover the benefits of learning more than one programming language.
In this article, I am going to share some of the best Java books ever written.
I recently bought Java Coding Problems by Anghel Leonard because the topics covered in this book interested me as a Java trainer. I decided to buy it after I saw the TOC here. Since Java has started to evolve quite fast is hard to keep myself up to date and is quite easy to miss new Java features or to not have time to explore them in detail.
Continuous streams of data are ubiquitous and becoming even more so with the increasing number of IoT devices being used. Of course this data is stored, processed and analyzed to provide predictive, actionable results. But petabytes take long to analyze, even with Hadoop (as good as MapReduce may be) or Spark (a remedy to the limitations of MapReduce).
I chose Spring Cloud for the architecture of my Kotlin pet project and it was right. What conclusions have I drawn?
In this article, we will see how can we perform crud operations with MySQL database using JDBC.
In this article, we will discuss some important 10 interview questions in Spring Boot. These the entire question is trending with building strong java career in the job market.
Write expressions like (myBigDecimalMap[ObjectKey] * 5 > 20) in Java... Manifold makes that happen. Expressions like "5 mph * 3 hr" produces distance!
16 missing features in the VS code debugger that are available in IntelliJ/IDEA. Are they worth switching your main IDE? Detailed lists and videos.
What does the rise of GenAI mean for Java developers? We set out to find the answer.
How much Java do you need to get your foot in the door as a Java specialist? There is no one correct answer.
This article describes Java libraries like Apache Commons, Guava, Log4j2, Logback, SLF4J, JUnit, TestNG, Mockito, Hamcrest, AssertJ, Jackson, Gson, JAXB, StAX
Two decades ago we worked on properties in Java. Lombok filled in that gap. Manifold aims to solve this same problem. Is it ready for prime time?
Sorting is like arranging a deck of cards in a certain order, from the smallest to the largest or vice versa.
In this article, I will show you a beginner-friendly approach to find whether a number is Automorphic or not in Java.
Exception handling is common to most programming languages, and the mechanism and behaviors are similar in most languages: try\catch\finally. It is well documented. We are not going to discuss that.
Read this interview with Java Creator James Gosling on the coding languages that engineers use every day!
Hello World, Today we are going to see how we can make a beautiful Splash Screen in your Android App.
InertiaJS is a routing library written in Javascript that lets you build single-page applications without using an API in the process, saving lots of time.
Playwright is not thread-safe. This limit, from performance standpoint, is bad. But we can overcome it with object-oriented programming.
In November 2020, I passed the Oracle Certified Professional Java 11 1Z0-819 exam. For me, it was a long journey of 4 months. Sitting with full concentration..
SpringAI and LangChain4j are redefining what’s possible for Java developers in the LLM era. This article compares them head-to-head across real code, architectu
Does programming sound like a stressful job for you? People believe it shouldn’t be since it seems all coders do is sit in front of the screen, typing. There are no life-or-death situations, no enormous responsibility compared to medicine, banking, or accounting. Technically speaking, software development should be one of the calmer jobs out there.
Immutable objects, HashMap data loss, Equals and HashCode, and Builder. Thread-safe, side-effects free.
CVE-2021–44228 (Log4Shell) is an unauthenticated Remote Code Execution(RCE) vulnerability & 0-day exploit which allows an attacker to take over a system
Insertion sort is a simple sorting algorithm and it is used to sort an array by iteratively inserting elements into a sorted subarray that results in a final so
Annotations are a form of metadata. It provides data about a program that is not part of the program itself. Annotations have no direct effect on the operation of the code they annotate. Annotations were first introduced in the Java language with the third edition of the Java Language Specification and first implemented in Java 5.
This article covers the most common security vulnerabilities for Java programming
Regular expressions are a powerful tool with a steep learning curve and plenty of opportunities to make mistakes - particularly in character classes.
It's impossible to write OOP code with Spring. From its core it promotes the use of singletons and anemic data structures a.k.a. data "objects" a.k.a. DTO. This fuels procedural programming and kills OOP.
How can we use data stream and what does that mean? Does Kotlin really offers an alternative?
Top 10 Programming Languages - 1: Python, 2: JavaScript, 3: Java, 4: C#, 5: C, 6: C++, 7: Go, 8: PHP, 9: Perl, 10: Swift...
In this article, I'll show you the pre-Java code for copying files from one directory to another as well post-Java 7 code which makes this task a lot easier.
Java & JavaScript are garbage collected languages. But memory leaks can still plague them. Avoid, detect and fix these heap problems using this guide
String manipulation is improving with JEP 430, but Manifold can help us today. Even on JDK 8, it goes further with a sophisticated templating engine.
Memento design pattern is a software design pattern that is used to roll back an object to its previous state. It is a part of the behavioural design pattern which is concerned with algorithms and assignment of responsibilities between objects.
When it comes to JavaScript, a promise that is fulfilled is said to be resolved while that that is broken is said to be rejected. Promises replaced callback functions that were used to handle asynchronous operations.
Kafka works with key-value pairs, so getting records with the same key on the same partition is essential.
An extension for the Criteria API using Builder pattern and JPA Static Metamodel Generator to increase readability and reduce read complexity with explicitness
Java program to display the multiplication of the input number from 1 to 10.
Lazy loading is a strategy that defers the loading of non-essential resources until they are needed, reducing the initial loading time and improving the overall
Launched in 1995, Java is being used by 134, 861 websites like ESPN, SnapDeal, Alibaba, etc. In its journey of 24 years, Java has proved itself to be the top general-purpose programming language for custom software development.
Software writing taught me that: a well written software is a simple software.
Every programming problem involves some kind of algorithm. An algorithm, in this sense, is a process or set of steps to accomplish a certain tasks; or simply a step-by-step way to solve a problem. There are about 700 programming languages. (Seriously: Here's a list.) So, what to learn and why to learn it - that's what most people are stuck on. From my perspective, you can (and should) choose learn any language. Learning the basics of one on-demand programming language will do you no harm. But: you must select ONE language that becomes your magic spell, and you should always be ready to create something out of it. Learning varieties of languages and not being able to do anything really well is like a curse.
Spring Boot Java applications now with real-time unified messaging and streaming with Apache Pulsar
"RxJava is a Java VM implementation of Reactive Extensions: a library for composing asynchronous and event-based programs by using observable sequences." by RxJava developers.
This blog will outline the top 6 trending programming languages to learn in 2022 and equip you with some tips to choose the best one.
Here are some basic Java interview questions and answers.
This article contains the secret - how to get rid of the boilerplate in tests and make your life much better.
Anytime I visit r/programming, without fail, there’s a post of a programmer that goes “I’ve completed Sololearn courses, read through coding books, and finished my CS curriculum. I even understand most programming jokes. So, am I already good enough?”.
This article explores different caching strategies—such as in-memory, distributed, and hybrid approaches—for optimizing performance in microservices or monolith
All languages are “tools” for solving numerous problems. However, there is one that can be considered a star choice — Java (though some would argue for Python).
If you already have a handy tool that you like to add to your daily environment, creating a slack app would be a great way to do it.
5 Major Challenges Faced by Web Application Development Teams Today and Solutions to Solve Them Without Breaking Your Company’s IT Budget
Bucket4j is a Java language library that provides an API for implementing rate limiting using token buckets.
URL shortener Java and Spring boot tutorial. A step-by-step guide that is easy to follow. This is a common interview task that should be understood by devs.
Production-ready RAG with Spring AI: ETL, PGVector, query rewriting, metadata filters, and tuning tricks for real-world retrieval workflows.
This guide aims to help you create from scratch a CRUD RESTful API with Spring Boot. We'll create a User entity and develop its endpoints accordingly with a Rest Controller and a Service class.
This article extends the principles and design of API gateway discussed in the article here API Gateway.
Wondering how to prepare for coding interviews? Here is your guide to prepare and crack your next interview with important topics, skills, and tips
In this part of creating your programming language, we'll implement arrays and make full-fledged tests - the recursive binary search algorithm.
Introducing the ZeptoN programming language its goals and ideas.
You can use a tool called Spring Initializr to generate the initial Spring Boot boilerplate code by accessing it through an online form.
Build your own Programming Language from Scratch Part 4, where we start new function constructions & implementing functions.
Keeping Dependencies Up To Date with Maven-Centralized Dependency Management
Learn how to make Java classes more consistent with a minimal effort.
Temporal is a tool for building distributed systems. Instead of relying on complex distributed setups, it gives teams a simpler path forward.
In this part of creating your programming language, we'll implement For, While and For-each loops. We'll implement and test the bubble sort algorithm
First, we will extract the docx archive. Next, we will read and map the file word/document.xml to a Java object.
I recently bought Java Coding Problems by Anghel Leonard because the topics covered in this book interested me as a Java trainer. I decided to buy it after I saw the TOC here. Since Java has started to evolve quite fast is hard to keep myself up to date and is quite easy to miss new Java features or to not have time to explore them in detail.
Maven is a tool, that all Java Developers are familiar with. But do you actually know Maven? Refresh your Maven knowledge with Getting Started with Maven.
When OSS advocacy goes too far & corporate greed takes over, free software is used as a tool to destroy competition and hurt the developer community.
Developers and beginners often get stuck in their career as a Java developer and every work need a certain effort and practice to master.
Developers often ask questions to their team or the public for solutions. As a Java developer, there are thousands of problems that they face every day. This problem could be critical or minor.
We’ve been talking about migrating workloads to the cloud for a long time, but a look at the application portfolios of many IT organizations demonstrates that there’s still a lot of work to be done. In many cases, challenges with persisting and moving data in clouds continue to be the key limiting factor slowing cloud adoption, despite the fact that databases in the cloud have been available for years.
To become a Senior Java Developer, I’ve been learning Java for many years and still I’m not gonna stop learning as actual coding never stops teaching. I’ve also been teaching it for over seven years now. Just fancy how many mistakes I’ve already made myself and how many I’ve watched my students doing. I am pretty sure now I know a hundred wrong ways of learning to code (as well as dozens of the right ones).
In this article I would like to talk about some particularities and misconceptions about volatile and the semantics of volatile as defined from Java 5 onwards
For any database administrator, being able to employ tools that make the job a bit easier can be the difference between getting everything done by the end of the day and struggling to meet deadlines.
In this post, we will talk about the features of working with SQL. We will talk about how you can possibly improve your database queries and speed up your app
The wrong regex can cause your app to overflow the stack and crash but detecting the condition doesn't have to be hard.
Modularity is central to modern software engineering - or may be all type of engineering not just software. We’ll explore support for modularity in Java and .Net platforms, but before that let’s first try to find answers for what and why of modularity.
JPA was born as the acronym for Java Persistence API.
Let’s talk about job hunting in programming. It’s no secret that software development is one of the most promising fields out there — yet, as hundreds of developers learn the language, it’s easy to feel insecure about job prospects.
In the era of non-stop personal development, more and more software engineers choose to become competent in the second or even the third programming language to gain more experience and access more career opportunities. If you are a C++ developer who’s looking for a second programming language to master, it makes sense to add Java to your skills cloud. Next, I will explain to you how long it takes to learn Java for C++ programmers and why you should go for it.
Behavior-Driven Development (BDD) is a really powerful tool that helps us build robust, value-based software. You can sometimes hear detractors say that it brings a lot of complexity and leads to long tests difficult to maintain. Let's take stock of what BDD really is, by determining anti-patterns and best practices.
Jython is an implementation of Python that runs on Java. For the most part, it is compatible with Python 2.7.
Program in java to input a number and display its prime digits.
A short guide on how to set-up a simple PHP 8.1 environment using docker
In this article, we will focus on Java and discuss various good practices and tools that enable us to secure Java applications in the Cloud.
Avoiding the small monolith antipattern. At what scale do Microservices make sense? Avoid a solution worse than the problem and understand the tradeoffs.
Microservices architecture is a methodology that allows you to split a monolithic single application into small applications and services.
Most beginners understand “threads”, but they struggle to visualize how multithreading works in Spring Boot.
Should I migrate to the next Java version?
There is no doubt that object-oriented programming is a pillar of software development and also one of the reasons for the huge success of Java. Strong knowledge of object-oriented programming helps you to create better software.
If you are a computer science graduate or a programmer who wants to learn Java and looking for some awesome resources like books, tutorials, and online courses then you have come to the right place.
Java is a skill that is in high demand and that’s why I and so many others have jumped on board the bandwagon and became a java developer. This field has so much to offer a young coder. Things like a high salary and job advancement are nice to have in a world where it seems like nothing is certain.
Logging is a crucial yet frequently underestimated component of application development. Proper logging practices can enhance the visibility of your application
When you look at the advanced programming frameworks popular among developers, you will notice that Quarkus and Spring Boot hold prominent places.
I am putting my understanding about functor,Applicative and Monad after spending few days to find out what monad is . Here is what I found. I am using Kotlin to explain with examples
Often considered as a tool to build applications in your web browser, JavaScript can also be used as a general-purpose scripting language. Discover why
Lambda vs GRPC vs Choreography vs HTTP / REST
You've probably heard about Heroku by now, but do you really know how Heroku works and when it should be a consideration?
With the evolution of technologies, both front-end and backend have evolved to a great extent. The difference between the two is what we are going to discuss.
Hello, everyone! I am Johnny, senior Java developer and … I am a code thief—indeed, an old offender in this area. But guess what’s the best part: It’s not a crime!
A practical example of the gains and pitfalls in migrating existing Sprint Boot logic to Vert.x with considerations to the experience and process involved.
For a tech newbie striving to learn programming, it might be a bit complicated to figure out which technology to choose. Let me help you out.
ORM frameworks like Hibernate and other JPA implementors can significantly simplify development of persistence layer. Introducing entity abstraction level helps to model clean business domain and to hide underlying SQL statements used to achieve persistence of the domain. Such approach is especially useful in large domains, since developer no longer needs to create and maintain all SQL statements used by application.
AI-generated code is no longer science fiction—it’s part of the modern developer’s toolkit.
An object that is instantiated, gathered, and otherwise managed by a Spring IoC container is called a bean.The configuration metadata that you provide to the co
Learn what database connection pools are, why you should use them, and how
Feel free to contribute on GitHub 💚
If you don’t write tests for your code, then I'll tell you why tests are worth every minute you invest in them.
Artem Sutulov is a Full-Stack Software Engineer, currently working for Revolut.
If you are a back-end developer, you are often faced with having to migrate your database schema with each new release.
How to implement a last-in-first-out (LIFO) stack using only two queues and why you should use this method based on a set of questions found on Leetcode.
Learn about Java's synchronized collections that helps you achieve thread-safety in the most easiest way!
This article is based on a story of one of our developers, ex Java now Scala developer, who decided to follow the Scala path because he found writing in Scala extremely developing and interesting.
There are tons of articles about the number of developers in the world. But most of them either lack good methodology or simply borrow statistics from other resources.
What are autoboxing and unboxing, and where are they taking place in your code.
Top 7 Most Used Web Frameworks Among Developers Worldwide 2021 [Statistics]
Hashmap is a collection of key-value pairs and an array of nodes. It uses an array and LinkedList for storing key-value pairs.
Sergei Golitsyn. Find the product of all the elements of nums except nums[i].
The product of any prefix or suffix of nums is guaranteed to fit in a 32-bit int
Learn Why And How To Use Relational Database Migrations. The way to initialize and update schema for relational databases with Java.
Explore data access in Java microservices: JDBC for control, JPA for abstraction. Code examples illuminate best practices and decision factors."
In my student years everybody around me mocked JavaScript. Being part of the tribe, I have never really tried to learn JavaScript. I used quick and dirty solutions, copied code from Stackoverflow, without really understanding it and hoped it will not break. It changed after my first full-time job.
Selenium is a widely used tool for automated browser testing. Being an open-source framework allowed Selenium to be compatible with multiple test automation frameworks for different programming languages and if we talk about automation testing with Selenium and JavaScript, there is a particular framework that never fails to take the spotlight and that is the Nightwatch.js. This is why I decided to come up with Nightwatch.js tutorial for beginners.
Interface is mostly viewed as a useful feature to write more maintainable code. But the concept of Interface developed to address a different issue with C++.
In this post, I want to tackle a real-world use case and describe which tools you can leverage to reduce the necessary changes.
I’ve been teaching Java for quite a while now. So I often share advice on how to learn programming faster and better. In talking to my students I can see that one thing distracts them very much: coding anxiety. It is a real trouble. Some people find it hard to focus their attention for more than one hour. Some are excessively stressed out by the job search.
Beyond the names that appear "similar," how else do these two programming languages differ from each other?
Simplify microservices integration using Feign client & POJO classes. Streamline complex projects effectively.
Track bugs within an application and its external dependencies without the source code or deep knowledge of the environment using these amazing tools!
I came across this question on StackOverflow listed under Dynamic Programming, but there didn’t seem to be an accepted solution with an explanation — so I figured I’d give it a shot and document the solution along-with my thought process.
Python or Java, which is better? This question has triggered lots of heated discussions around the global dev community.
In this AMA, Steve Wilson tells us about serverless security, application security in the JAVA ecosystem, SBOMs, and best practices.
12/10/2022: Top 5 stories on the Hackernoon homepage!
Save money on logging and reduce MTTR with dynamic log level changes. Change log levels without restarting or target logs to specific users.
In the "Moving Away From AWS and Onto Heroku" article, I provided an introduction of the application I wanted to migrate from Amazon's popular AWS solution to Heroku. While AWS is certainly meeting the needs of my customer (my mother-in-law), I am hoping for a solution that allows my limited time to be focused on providing business solutions instead of getting up to speed with DevOps processes.
The Java “tomb” is filling up. Here’s what’s being buried—and what you should use instead.
Kotlin vs java. Which one to choose for your next app? Read this blog to find out the similarities and differences between these two and which one to choose.
Choosing the correct language for web development can be difficult.
Wil Node.js be still relevant in 2022? Read about Node.js architecture, advantages, and disadvantages in comparison to Java and Python.
Table-driven testing simplifies how we test multiple input-output cases by organizing them like data rows.
In this part of creating programming language, we'll implement the hybrid inheritance for the classes like in C++ and write a calculator with multiple classes
Share code using these lightning fast sandboxes available in almost all popular languages
An extension for the Criteria API using Builder pattern and JPA Static Metamodel Generator to reduce complexity with explicitness and to increase readability
After paying an Uber, John Vester decided to dig into the Marqeta API used for payment processing. Hours later, he created a fully functional Payment Service.
The advent of Cloud and Container technology ushered a new era in distributed computing at “planet scale” which was unheard of and unimaginable just a decade ago. Another interesting movement was brewing up a decade ago which bolstered delivering these complex solutions at high speed and accuracy, DevOps.
The global market is reaching greater than ever before and mobile applications are taking a major role in it which has brought global services in the hands.
This is part 2 of the two-part article on deploying ML models on mobile. We saw how to convert our ML models to TfLite format here. For those of you who came here first, I recommend you click on the above link to get the whole picture. If you just want the android part ,the demo app we are building has a GAN model generating handwritten digits and a classifier model predicting the generated digit.
What are circuit-breakers? The stop a circuit when something wrong is happening right? But how can we control that?
The Linux bash shell is quite the wonder. With it, you can interact with the operating system in very powerful and flexible ways. To do that, you make use of one of many terminal emulators, such as GNOME Terminal, Guake, Terminator, or xterm.
A quick look at using web components with Alpine.js
A simple java program to show take the input a and b and display the output based on the formula selected by the user.
This comprehensive guide demystifies effective logging and monitoring practices for monolithic applications developed by multiple teams
Learn how to auto-generate production-ready REST APIs and type-safe SDKs from OpenAPI specs using Maven and OpenAPI Generator.
In this article, I will share my thoughts on choosing your first programming language, what it means to “learn to program,” and what you should learn first.
Spring AI is a lightweight, developer-friendly framework from the Spring team that bridges the gap between modern AI tools and the Spring Boot ecosystem.
Learn how to add DocRaptor to convert HTML to a PDF with advanced features, such as custom headers, footers, watermarks, and endless styling options.
The big release of Spring and official support for spring native resurfaced my thoughts on migrating to GraalVM native image. Is it SubstrateVM time?
author: Sergei Golitsyn https://t.me/crack_code_interview
- return true if any value appears at least twice
- number in the range that is missing from arr
When you use mutable objects as keys in hashed collections, changing them breaks contracts.
Control flow is much more than step over. You can "jump" to arbitrary code offsets while debugging to reproduce elaborate states and behaviors!
Java spring boot developers tutorial- Tips to use partitioning strategies in your microservices application and use of various Deployment Patterns & Strategies.
Every application needs memory to run. However, computer memory is limited. Therefore, it is important to clear it of old unused data to make room for new ones.
Here are my top ten best programming languages to learn first. Start from here, choose your path and get yourself on the road to your dream job.
Explore the journey of building gdocweb: a developer's insight into choosing Java 21, Spring Boot 3.x, and navigating tech stack challenges.
In this article, I want to show by example how ChatGPT can help a developer right now. We will make an application and then improve it.
Explore Promise Collection Methods in JavaScript, including Promise.all, Promise.allSettled, Promise.any, and Promise.race.
You need to solve this: given an integer array nums representing the amount of money of each house, return the maximum amount of money you can rob tonight.
A comprehensive introduction to modern Object Pascal and Java.
In this part of creating your own programming language, we will implement nested classes
Well-written multitier applications consist of multiple layers. The most widespread three-tier architecture divides our code into a presentation, business and data access tiers. Like it or not, but the business layer is where we, developers, spend the most time on a daily basis. This is the place where all processes and decisions our application depends on take place. Therefore, requirements for the business layer change more often than in any other layer. What hurts us, developers, most is that with every change, even the smallest ones, we need to recompile and rebuild our app. It usually takes a piece of the valuable time that we could use for more interesting things. What if we could move a business logic out of our code and let non-technician people change it?
I love to learn, I love to code. I'm on a journey to learn (at least the basics of) several new languages to enhance my resume. Join me!
author: Sergei Golitsyn
element appears twice except for one. Find that single one.
how many distinct ways can you climb to the top?
Scraping is a fragile discipline. As a workaround we often use a server. Debugging these issues is remarkably difficult. Or at least it was.
Remove or replace getters with behavior-rich methods that perform operations instead of exposing internal state.
This collection lists the best Java books. The books are listed in ascending order of the reader's level of training.
This is some thoughts about TDD and how things don't always work out perfectly even with the best-written tests when developing new software on a deadline.
Promise in JavaScript is the way to wait for certain actions to process or complete.
In this article, we will explore the key concepts of Java unit testing, including simple code examples, parametrization, exception testing, and annotations.
The some array method lets us check if some elements pass certain criteria. Let's look at how it works.
Most developers use LLMs as a "Junior Developer" to write boilerplate. The real 10x leverage comes from using LLMs as a "Hostile Principal Engineer."
The main innovation in Java 9 was the introduction of modules. There was a lot of talk about this feature, the release date was postponed several times to finish everything properly. Today we’ll talk about the mechanism of modules, and what benefits Java 9 brought in general. The post is based on the report of Sergei Malkevich, IntexSoft Java developer.
Are you just taking your first step into web development, and you want to learn programming? Discover the benefits of learning more than one coding language.
Take a look at our annual breakdown of the top web backend frameworks in 2023. Leading the list is the clear leader NodeJS.
Work (secure) with your backend database within HTML
author: Sergei Golitsyn
Implement a first in first out (FIFO) queue using only two stacks
Rewriting apps is easy. Doing it while preserving compatibility... That's a bit hard. Doing it live in production. That's the big challenge!
Remember mainframes? Serverless is pretty much that: we own the machine and you rent out time on our big iron. We went full circle on progress!
One of the most fundamental and crucial interactions while Selenium automation testing is done by automating click operations over elements on a web page. We facilitate the click interaction using a method called Selenium.click().
What is the best programming language to learn for a developer? Can’t name the best, but yes, Java is surely one of the Best! You can dive in for the reasons.
Write a program to take marks of 15 subjects from the user and display the Total, Percentage, Highest Marks, Average, and Remarks.
Strings are nothing but a combination of characters, and working on strings is a common part of a programmer’s life.
A performance comparison of Node.js (Express) and Spring Boot using a real-world URL shortener, across single and clustered deployments.
This article aimed to list the most useful and straightforward React libraries that cater to specific needs within the ecosystem.
My new online course is launching with the first video ready to view. Many more are coming in the coming months, also my book is ready for preorder!
Synchronized was revolutionary and still has great uses. But it's time to move to newer thread primitives and potentially, rethink our core logic.
Explore the nuances of migrating Java 8 to Java 11
Java Stream's Collectors methods fit most use-cases. They allow returning either a Collection or a scalar. For the former, you use one of the toXXX() method, for the latter, one of the reducing() one.
Stop replacing your monolith with a God service and start doing things better. Let John Vester show you how to get started.
Learn everything you need to know about Data Structures via these 87 free HackerNoon stories.
So, you’ve started to learn Java programming and wonder how to make the learning process faster and boost your career prospects. But what about practice?
Garbage Collection and premature optimization; a hack so malevolent it has permanently etched itself into my memory.
Flaky tests ruin the development experience. In this article, we will talk about how to avoid creating such tests.
In part 1 and part 2, the setting up and testing of GraphQL APIs was covered. In this article, the focus is on the querying of the graph DB, which is Neo4j in this case. For querying, the Neo4j OGM library and Spring Data’s Neo4jRepository will be used.
If you’re the one who’s stuck asking yourself “What should I learn to stand out as a Java developer?”, this blog post can help you figure things out.
The systemic process for debugging and finding issues in your application. In part 2 we delve into the nuts and bolts of the debugging process.
Coding is the future of tomorrow. As all industries shift to a more digitized platform, coding for kids has become an essential part of the educational curriculum. In this article, we will take a look at two widely used programming languages - Python and Java, to get an idea of what language to choose to depend on the kid’s requirement.
Eclipse and JUnit are two of the essential tools for Java Developers. Eclipse is a Java IDE, Integrated Development environment which allows you to
code, run and debug Java program from a single window, while JUnit is a unit testing library that allows you to test your Java code automatically.
The easiest way how to solve this problem is to divide N on 4 and that is it.
Understand how to reverse a string using recursion in C++ and Java
But when we introduce extraneous abstractions we reduce the goodness.
MO’s Algorithm aka Square Root Decomposition, a very efficient and easy technique to solve Range Query Problems (RQP). For MO’s Algorithm to work, the RQP has to be offline. In this post, we will understand about RQP, Offline RPQ, Naive Approach to solve RQP and an Efficient Approach using MO’s Algorithm.
What is Range Query Problem?
Best programming languages to learn as a beginner
Open closed principle is the most simple one in the list of software design principles I understand. "Open for extension, close for modification" - the idea seems quite straightforward. Let's create an example about validation.
This article will be useful for young QA specialists, as well as those who are interested in the features and capabilities of such popular testing frameworks as Selenide and Selenoid.
A discussion on how to implement Java and SFDC applications. Let's start talking!
Creating a springboot Project
Just because we do something one way, doesn’t always mean it is the right way … or even the best way.
In my Previous Blog I covered the basics of Multithreading in Java. Click here to read that blog.
When is ForkJoinPool used by default and how to avoid some common mistakes.
Create immutable object java. The best way to create Immutable object. Reliable Objects Java
This is a pretty straightforward way to test untestable code.
Instance variables or instance fields: these are variables declared inside a class without a static keyword, but outside a method, constructor, or code block.
I've had the opportunity to learn and experience what Flutter is capable of. I've read a lot of articles about it, as well as my hands dirty and I've built a few little Flutter apps. In this post, I would like to send you a taste into what Flutter is with a list of questions and answers, assuming that you have at least some of these questions on your mind, so I can address them.
In this post, I described my journey implementing XSD 1.1 validation in Java. It’s much less easy than I had expected in the first place
A practical deep dive into how Java manages memory — from stack vs heap to garbage collection, reference types, and modern GC tuning.
I started programming about 5 years ago. Ironically, only in the last year of my computer science degree. I was also made aware of the likes of Hackerrank and Hackerearth at the same time. I remember naively brute-forcing every single problem that I would come across on these platforms and later wonder why it would give me a TLE Error.
A Full- stack developer is someone who possesses proficiency in each subcaste of the tech stack.
So, originally, let’s see from the seeker’s perspective.
It's important for devs to regularly update and maintain their apps, while also following best practices such as input validation, and exception handling.
Do you want to pursue a career in Technology and don’t know where to start?
JWT is the abbreviation of JSON Web Tokens. JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object.
The thing with Java and Spring Boot is that it is slightly harder to learn them; once you have learned and spent some time with them, it is a breeze to use.
The 2022 State of Logs Report provides a detailed view of how this practice is shaping engineering and the technologies of the future.
Sergei Golitsyn. Implement a last-in-first-out (LIFO) stack using only two queues. The implemented stack should support all the functions of a normal stack.
A celebrity is known to everyone, but he does not know anyone at the party.
Modern modular monoliths (and Moduliths) are redefining the monolithic architecture. Pick the best of both worlds with the hybrid approach.
Java GC - brief overview before the interview
In this post, I'd like to shed some light on Gradle, so I can direct people to it instead of debunking the same "reasoning" repeatedly.
Dial up your debugging skills to 11 by leveraging some of the lesser known capabilities for debugging highly complex systems such as filters & wildcards
I want to describe a common method used to sort array elements in alphabetical and numerical order.
Unlock the secrets of debugging in software development. Dive deep into state bugs, thread issues, race conditions, and performance pitfalls.
To begin with, the Java programming language is easy enough to learn and has the greatest impact on the industry. So the question is: “which course to choose?"
This article will introduce how to embed Video Call into your website using the Prebuilt SDK with two lines of code.
Imperative and declarative styles of programming.
Monitoring applications can easier said than done. What if I told you that it can be easier and it can be done? Let's try Grafana and Prometheus!
A fragment can have its layout file, fragments have their lifecycle. A fragment exists in the context of activity and has its life cycle;
In this tutorial, we will learn about one of the core components of Java: I.e what is Java Runtime Environment.
Working with Localstack can help us understand AWS a bit more because we can run an environment that acts in a similar way to AWS Cloud Services.
A queue using an SQL-database? well, you need to know pros and cons, and a typical implementation.
Avoid methods that return Object, Any, or null instead of specific types. Make them fully polymorphic
while microservices come with their perks, the cons are so huge sometimes that they offset the pros. There are more manageable ways to achieve the same result.
The article discusses various approaches to implementing monkey-patching in Java.
In the world of powerful open Internet resources like books, tutorials, libraries, Youtube videos, blogs, and programming courses, everybody is talking about online learning. Now you have everything to study fast and effectively, at your own pace.
Hacker Noon's annual Noonie awards, hosted on NOONIES.TECH, seeks to find the best minds in the Tech industry today. One such impressive mind is Yassine Rachid from Canada.
Feeling lost debugging Kubernetes? This guide unveils powerful techniques like ephemeral containers & kubectl debug to conquer complex issues.
This feature helps you to group your regular expressions with name and reference to those groups later in the regex
Reading stack traces is directly related to your experience with a specific project.
In this part of creating your programming language, we’ll implement raising exceptions with the stack trace and provide the exceptions handling in Ruby syntax
A simple configuration that requires no code change can save you from a hack such as Log4Shell, even from vulnerabilities we don't know about yet!
In the last 10 years, more and more languages that run on the JVM have been developed but they look and feel nothing like Java. One such language is Kotlin.
How to create a dialogue with Lottie animation and a lot of customization in your Android App
Cloud Computing has emerged as a novel technology today. Every company is a software company today, and it is evident that no company can service without using the power of cloud computing. The cloud is seen as a conceptual layer on the Internet, making all available software and hardware resources transparent, rendering them accessible through a well-defined interface.
Time to market can make or break any idea or solution. Check out how quickly a RESTful API can be created by leveraging ChatGPT, Spring Boot, Gradle, and Heroku
Uber, Square, and DoorDash all have payment platforms built out using Marqeta.
Is API mocking in unit tests important or does it do nothing. I think the answer is a bit more nuanced but we do need such tests to reduce daily churn
https://en.wikipedia.org/wiki/HTC_Dream
A simplified example of an application that handles sensitive data leveraging Spring and Redis.
Why a Backend Software Engineer chose to write about his work on HackerNoon and how he managed to land his job at a fintech business with millions of clients.
Checkout my article on JUnit 5 to write better unit tests and improve your code quality.
Learn how to install JBoss Web Server using Ansible!
PVS-Studio’s year-end roundup of the top 10 strangest Java errors found in open-source projects in 2025.
This is a basic function which uses template literals, it can run the functions inside of a string which lets us to do many things like, retrieve data.
When you upload your Android app on GitHub, you need to hide it as no one has access to it except you. It is considered a security glitch, so that’s why it ...
Optimize AWS Lambda Java functions for performance and mitigate cold starts using techniques like GraalVM and Snapstart.
How to quickly get your open source product promoted on GitHub.
Explore smart-doc, used to automatically scan code to generate JMeter performance test scripts, improving the efficiency of performance stress testing.
Let’s see what awaits our favorite Java language directly, and then — what awaits the IT-sphere.
12/26/2025: Top 5 stories on the HackerNoon homepage!
Spring Boot is an easy to use web framework built on top of the framework Spring. Let's bootstrap an API using Spring Boot.
The next wave of great software isn't just integrated with AI; it's architected for AI.
Tracepoints (AKA Logpoints) are slowly gaining some brand name recognition. But some still don't know about the whole non-breaking breakpoints family.
Learn how to securely run SQL queries from Java apps using JDBC to prevent SQL injection attacks
Can WebFlux be better than the tradition MVC? Why and why not? This is your test to clear that up!
Thank you for checking out the 500 most read blog posts about Java on HackerNoon.
Visit the /Learn Repo to find the most read blog posts about any technology.