Coffee Talk: Java, News, Stories and Opinions
Recent Posts
-
How to publish to UiPath Orchestrator example
- TechTarget 27 Jun 2024 -
2017: A year for women being bold with change in technology
- Scrumtuous Inc. 11 Apr 2024 -
Worlds toughest core Java interview question
- Scrumtuous Inc. 08 Apr 2024
UiPath Orchestrator runs in the cloud. UiPath Studio runs on a developer's desktop or laptop. And RPA robots typically run on a physical desktop computer as well. Which means a piece of software ...
This year, the theme for International Women’s Day was “Be Bold for Change”. To kick off my series on women in technology, I made a point of attending a local celebration hosted by Intuit. All the ...
The trickiest Java interview question ever asked? In five words or less, explain the red 'x' the Eclipse IDE displays at the end of the provided Java code snippet.
-
Ajax, JavaScript support and CDI alignment tops the list of what's new in JSF 2.3
- TechTarget 05 Apr 2024 -
Java EE makes best-of-breed software conglomerations a thing of the past
- TechTarget 22 Mar 2024 -
Imperative Git commit messages in the active tense or mood
- TechTarget 22 Mar 2024 -
How to git push an existing project to GitLab
- TechTarget 01 Mar 2024 -
Set a Git stash message. Pop with a Git stash name
- TechTarget 25 Feb 2024 -
How to list and show the git stash history
- TechTarget 23 Feb 2024 -
git@github: permission denied (PublicKey) SSH error fix
- TechTarget 16 Feb 2024
It was great to see the 2.3 release of JavaServer Faces finalized last week. When JSF 2.0 came out, I was quick to jump on the component based UI approach to software development, promoting the ...
Looking back at some of the Frankenstein-esque applications that were built using different frameworks, it's good to know there's no need for best-of-breed.
The pundits all say Git commit messages should be written in the imperative tense. I say that's outdated thinking.
Want to push a new project into an existing GitLab repository? Follow these steps, but beware one way that will work but might cause trouble on a shared repo.
Developers need to name their git stashes and add a message if they want to easily identify them in the future. Here's how to pop and apply a specific Git stash by name.
Show your shelved change history with git stash list and show.
Here are the three most common fixes to GitHub 'Permission denied (publickey)' SSH error.
-
String to long in Java
- TechTarget 14 Feb 2024 -
How to unstage a file in Git
- TechTarget 02 Feb 2024 -
Spring Boot file upload example
- TechTarget 02 Feb 2024 -
Quickly generate, add and setup GitLab SSH Keys
- TechTarget 30 Jan 2024 -
How to find and use a GitHub URL by example
- TechTarget 25 Jan 2024 -
Finding duplicate entries in a list in Python
- Lairds Computer Services 18 Jan 2024 -
Set your username and email in Git config
- TechTarget 15 Jan 2024 -
Install the Eclipse IDE on Windows video tutorial
- TechTarget 09 Jan 2024 -
Find duplicates in a List in Java
- Lairds Computer Services 09 Jan 2024 -
The prefix sum array problem
- TechTarget 08 Jan 2024 -
Remove duplicates from a Java List
- Lairds Computer Services 27 Dec 2023 -
How the Actor Model works by example
- CogArtTech 06 Dec 2023 -
Java vs. Python: Application code comparison
- Scrumtuous Inc. 18 Sep 2023 -
Is Python's GIL the software world's biggest blunder?
- Scrumtuous Inc. 12 Sep 2023 -
10 reasons to use Kotlin
- EnigmaStation 30 Aug 2023 -
Please make 'please' a sudo alias on your Linux box
- Scrumtuous Inc. 06 Jul 2023 -
Leibniz in Java and the Commodore 64: An exercise in optimization
- Lairds Computer Services 30 Jun 2023 -
Top 10 Chrome extensions for web developers
- Scrumtuous Inc. 21 Apr 2023 -
Six key stops on the Web3 developers' roadmap
- CogArtTech 06 Feb 2023 -
Put WebAssembly on the front-end and back-end in 2023
- CogArtTech 02 Feb 2023 -
AI tools list for developers
- CogArtTech 23 Jan 2023 -
The config-interface constructor design pattern in TypeScript
- CogArtTech 21 Dec 2022 -
Deliver software better, not faster
- EnigmaStation 19 Dec 2022 -
How to program to an interface in TypeScript
- CogArtTech 16 Dec 2022 -
What is an octothorpe? Cool tech words and computer science slang
- Scrumtuous Inc. 09 Dec 2022 -
11 technology acronyms software developers need to know
- Scrumtuous Inc. 27 Nov 2022 -
11 funny programmer jokes
- Scrumtuous Inc. 26 Nov 2022 -
Three interview success tips for tech job candidates
- EnigmaStation 08 Nov 2022 -
Docker interview questions for developers
- CogArtTech 04 Nov 2022 -
Four interviewing techniques to evaluate a tech hire
- EnigmaStation 01 Nov 2022 -
Hands-on Kubernetes interview questions
- CogArtTech 28 Oct 2022 -
My five-point ranking system to evaluate tech candidates
- EnigmaStation 12 Oct 2022 -
Taking REST APIs to the next level with hypermedia and HATEOAS
- CogArtTech 05 Oct 2022 -
Understanding the Kubernetes Container Runtime Interface
- CogArtTech 28 Sep 2022 -
Hierarchical Kubernetes namespaces explained by example
- CogArtTech 13 Sep 2022 -
Build a Hibernate SessionFactory by example
- TechTarget 02 Aug 2022 -
How should developers approach professional development?
- CogArtTech 31 May 2022 -
What should developers know about machine learning?
31 May 2022 -
Imperative vs. declarative Kubernetes commands: What's the difference?
- CogArtTech 09 May 2022 -
CDI Full vs CDI Lite: What's new in Contexts and Dependency Injection 4.0
20 Apr 2022 -
Hibernate 6.0 release marks a milestone for JPA 3.x development
- EnigmaStation 19 Apr 2022 -
Lessons learned from the Log4j vulnerability
25 Jan 2022 -
Comparing Rest vs GraphQL on performance and ease of use
- CogArtTech 23 Jan 2022 -
The psychology of offering developers programming advice
31 Dec 2021 -
Learn how Kubernetes Operators work from this example
- CogArtTech 06 Dec 2021 -
Top 5 things to know about the Jakarta Servlet 6.0 API release
29 Nov 2021 -
Kubernetes vs Docker Compose: What's the difference?
- CogArtTech 29 Nov 2021 -
What is the difference between Docker and containerd?
- CogArtTech 29 Nov 2021 -
The 5 things devs should know about the Jakarta Servlet 6.0 API release
- TechTarget 29 Nov 2021 -
What is the difference between kubectl and kubelet in Kubernetes?
- CogArtTech 29 Nov 2021 -
What is the difference between a Docker image vs a container?
- CogArtTech 31 Oct 2021 -
How to tag a Git commit id by example
- TechTarget 06 Oct 2021 -
Every change between JDK 11 and the Java 17 LTS release
- TechTarget 14 Sep 2021 -
When to you Docker vs Podman? A developer's perspective
- CogArtTech 31 Aug 2021 -
Docker versus Virtual Machines: Which DevOps tool is best?
- CogArtTech 31 Aug 2021 -
4 ways to create a Git branch quickly by example
- TechTarget 11 Aug 2021 -
Java shows promise AI app scaling
11 Aug 2021 -
RPA examples that prove robotic automation works
01 Aug 2021 -
How to download an older, specific version of UiPath Studio
- TechTarget 19 Jul 2021 -
How to download and install UiPath Studio
- TechTarget 02 Jul 2021 -
How to pass variables as UiPath arguments example
- TechTarget 30 Jun 2021 -
How to use the UiPath Switch activity
- TechTarget 28 Jun 2021 -
UiPath If-Then conditional statements
- TechTarget 25 Jun 2021 -
Delete the Windows recovery partition on a Lenovo Thinkpad or Desktop
- TechTarget 07 Jun 2021 -
Fix the ConcurrentModificationException
- TechTarget 03 Jun 2021 -
Quickly create a Git bare repo with init or clone example
- TechTarget 02 Jun 2021 -
What is a bare repository in Git?
- TechTarget 28 May 2021 -
How to use git submodules tutorial with examples
- TechTarget 21 May 2021 -
How to update Git submodules
- TechTarget 21 May 2021 -
How to create Git submodules in GitHub and GitLab by example
- TechTarget 30 Apr 2021 -
Yes, the original name for Java was Oak
- TechTarget 30 Apr 2021 -
Java's main function explained with examples
- TechTarget 29 Apr 2021 -
How to create a GitHub repository
- TechTarget 30 Mar 2021 -
How to run Jenkins builds on Docker example
- TechTarget 30 Mar 2021 -
Recursion vs Iteration: What's the difference?
- TechTarget 30 Mar 2021 -
Five examples of recursion in Java
- TechTarget 24 Mar 2021 -
How to clone from a git tag example
- TechTarget 26 Feb 2021 -
How to install Gitflow for Windows on old Git installations example
- TechTarget 26 Feb 2021 -
Full Gitflow init workflow example
- TechTarget 26 Feb 2021 -
Gitflow release branch process from start to finish example
- TechTarget 24 Feb 2021 -
Gitflow hotfix branch example from start to finish
- TechTarget 24 Feb 2021 -
Java Mission Control 8 Eclipse plugin install example
- TechTarget 29 Jan 2021 -
How to start Java's JVM Flight Recorder in 3 easy ways by example
- TechTarget 29 Jan 2021 -
Clone a git repository with submodules using init and update example
- TechTarget 29 Jan 2021 -
Performance cost of autoboxing Java primitive types explained
- TechTarget 29 Dec 2020 -
A Jenkins YAML pipeline example
- TechTarget 28 Dec 2020 -
How to run Jenkins on AWS by example
- TechTarget 23 Dec 2020 -
How to implement a remote Jenkins build trigger with a URL
- TechTarget 22 Dec 2020 -
An example hibernate.cfg.xml for MySQL 8 and Hibernate 5
- TechTarget 08 Dec 2020 -
Jenkins GitHub Webhook build trigger by example
- TechTarget 03 Dec 2020
The correct way to convert a String to long in Java is with the parseLong method of the wrapper class. The constructor conversion approach is deprecated! Use parseLong instead.
Want to unstage a file in Git? Use the restore command. Other options to have Git remove a file from the staging index have unintended consequences you'd really rather avoid.
Do you need to find a Spring Boot file upload that uses Ajax and works with Spring MVC web apps? This example uses HTML5 file input fields and a pure JavaScript Ajax call to accomplish the task.
To connect Git operations securely to your GitLab repository, you will need to configure GitLab SSH keys both locally and remotely. Here's a quick example of how to do it.
This example shows you how you can find and use the GitHub URL. Clone, fetch, push and pull to your remote repo easily with the GitHub URL at your disposal.
A common problem in computing is to find out if a list contains duplicate entries. It's also a good subject to explore various ways to solve a problem. In this case, we will see the performance ...
Avoid Git's fatal 'unable to auto-detect email' error and set your username and email address in Git config. This global git config example shows you how.
Need to install the Eclipse IDE on Windows? This quick video tutorial shows you how to install Eclipse and build your very first Java application in the popular, open-source IDE.
Need to dedupe a Java list? Here are 5 simple ways to remove duplicates from a List in Java.
The prefix sum problem is often used to test a developer's mettle. Here's a simple solution to the prefix sum problem in Java that uses loops, arrays and basic Java syntax.
Deduping is a common part of data cleansing. Here are four simple ways to remove duplicates from lists in Java.
For enterprise systems that need a flexible, asynchronous and message driven architecture, the Actor Model is often the right fit.
When you compare Java vs. Python application development in terms of simplicity, conciseness, security and performance, Java comes out on top in every category.
Python can't thread across cores, and the reason why dates back 30 years to a fatally flawed assumption that computers of the future would have only one CPU.
Curious about the Kotlin language? It's an excellent choice as either a companion or alternative to Java, and offers many capabilities Java programmers wish they had all along.
There's something hubristic and self-effacing about issuing "sudo" commands. That's why I always say "please" instead -- and you should, too. Here's how to set "please" as an alias for "sudo" on ...
How writing code on a Commodore 64 for fun led to a real-world optimization.
Installation of the right browser plugins can make a programmer significantly more productive. Here are 10 productivity boosting-Chrome extensions for web developers to install.
For those looking to get into smart contracts and blockchains, here are the most important things you need to know, and six key tools and technologies to plot your career along the Web3 developer ...
With near-native performance on both the server and the client, expect to see greater WebAssembly adoption in 2023.
Smart systems are changing the way organizations create modern software. Here's a list of 10 AI tools that every development team should think about integrating into their workflow.
Object creation in TypeScript can be greatly simplified through the use of the config-interface constructor design pattern.
Managers and developers are pressured to complete projects on time and on-spec, but problems arise when speed outweighs quality. Here's why both sides are responsible to slow down and do things right.
Abstraction is a key element in and domain driven design. For TypeScript developers, the ability to program to an interface helps make the concept of abstraction a reality.
What is an octothorpe? How is the 'spaceship operator' used? And will saying 'shebang' get me in trouble? Here are 11 slang computer science words every developer in tech needs to know.
From YAGNI to TAGRI, or POC to MVP, here are 11, popular software technology acronyms that often confuse junior developers new to big software development projects.
Looking for some cringeworthy programmer jokes to make your developer friends smile? Here are 11 popular setups and punchlines for you to share with your tech friends.
Don't be intimidated by an upcoming tech job interview. These tips will help you prepare how to answer tech questions and present yourself to give it your best shot.
Get a handle on these Docker interview questions to get a leg up on your next job, and a successful career using containers in your day-to-day activities.
Looking for the right tech hire for your team? These four interviewing techniques will help you gauge a candidate's skills and strengths to contribute to your team.
Review these in-depth Kubernetes interview questions and answers to showcase your applied knowledge of Kubernetes and container orchestration.
Worried about hiring the wrong tech candidate? Here's a tried and true, five point evaluation system that has regularly proven itself in the field.
Adding hypermedia links to REST APIs expands resource data abilities and improves users' experience. This walkthrough explains the ins and outs of REST APIs with hypermedia and the HATEOAS technique.
The Kubernetes Container Runtime Interface adds options beyond Docker for container orchestration. Here's a rundown of how Kubernetes and the CRI work.
Confused by hierarchical namespaces in Kubernetes? In this Kubernetes tutorial we'll examine what hierarchical namespaces are, how to add them to a Kubernetes cluster and then how to use them.
Hibernate SessionFactory tutorial If a developer uses the Hibernate core framework, they will need to build a SessionFactory before they can do any data persistence. As the name implies, the ...
There's a joke that goes like this: A doctor takes his Mercedes in for a brake job. When he picks up the vehicle the next day, the mechanic presents him with a bill for $2000. "Two thousand dollars ...
As artificial intelligence and machine learning become increasingly important in the world of enterprise development, programmers need to know the ins and outs of AI and ML.
Imperative and declarative Kubernetes commands are the two different ways to configure the state of your clustered environment. Here we compare declarative versus imperative commands and show you ...
There's an interesting change packaged inside the CDI 4.0 release that will change the way you think about the API. Version 4.0 of Jakarta Contexts and Dependency Injection (CDI) changed the ...
Hibernate 6.0 has finally been released. Here's what this full increment release means for developers who use JPA for persistence.
The Log4j 2 vulnerability was a black eye for the Java community. Here's how to protect yourself today, and how the community can protect itself in the future.
The problem with RESTful web services that use JSON or XML as a data exchange is bloat and verbosity. Compare REST vs GraphQL performance if you want to simplify your web API development.
Need to provide programming advice, or perhaps even harsh criticisms to a team of developers? Here's a nice way, pyscyhologically sound, way to do it.
Kubernetes (K8S) has become a very popular technology for working with distributed applications that run on the internet. K8S is intended to support an enormously large number of Linux containers ...
Jakarta EE 10 includes a full increment release of the Servlet API. Here are the top 5 features Java devs will enjoy when the Jakarta Servlet 6.0 API arrives.
Confused between the difference between Kubernetes and Docker compose? Here we explain how the two DevOps construct are similar, and how they are different.
What's the difference between containerd and Docker? Here we take a look at how these two cloud-native Kubernetes friendly technologies differ and compare.
Jakarta EE 10 includes a full increment release of the Servlet API. Here are the top 5 features Java devs will enjoy when the Jakarta Servlet 6.0 API arrives.
Are you working in a cloud-native, Docker and Kubernetes based environment and you're wondering what the difference is between kubelet and kubectl? Here we clear up the kubectl vs kubelet confusion.
Wondering what the difference is between a Docker image and container? Here we make the Docker container vs image comparision and show you how the two concepts differ.
Here's a quick example of how to tag a specific commit id in Git. This is perfect if an older commit id requires a tag but was not originally given one.
Wondering what's included in the new Java 17 LTS release? Here's a list of all the changes made to the JDK between the Java 11 and Java 17 LTS releases.
Docker and Podman play two very separate and distinct roles in the modern DevOps pipeline. Here we compare Docker and Podman and show you how to choose which one is best for you.
Forced to choose between Docker and a virtual machine, which one should a developer choose. Here we compare and contrast the two DevOps tools and let you know which one is best to use.
Forgotten the Git branch create command? Here we'l show you four different ways to create a Git branch, be it from the current branch, from a tag or from a commit id.
Find out how Java provides a promising alternative for coding data science applications that may make it easier to develop more scalable AI.
Although Robotic Process Automation has been around for years, banks and financial institutions continue to find new RPA use cases to save time, effort and money.
Want to stop UiPath Studio from updating to the latest release all the time? Here's how to download and install a specific version of UiPath Studio.
It’s actually a bit tricky to install UiPath. This UiPath Studio install tutorial shows you how to find the download link and the right version.
How do you use a variable from one UiPath sequence in another? This tutorial will teach you everything you need to know about passing data between workflows.
While the UiPath If activity is great for simple logic, multi-branching demands the UiPath Switch activity. Learn how to use it to perform conditional logic.
Learn how to use the conditional UiPath If activity to create branches of logic in your RPA programs. This quick UiPath If-Then example will show you how.
Recovery drive partition removal If you've purchased a laptop from Lenovo or desktop from Asus, there's a good chance there's a hidden recovery partition immediately after the boot sector. The ...
Has the ConcurrentModificationException been thrown in you Java app? Here are four simple ways to fix the ConcurrentModificationException in your code.
There are two ways to create a bare Git repo -- a bare Git clone or a Git init bare. This git bare repo tutorial will show you how to perform both.
A bare Git repo has all the capabilities of a non-bare repository, with the exception that it’s not meant for local development.
If you’re wondering how to git submodule and logically link repositories together, this git submodule tutorial -- with lots of examples -- is for you.
If your Git submodule is out of sync with the server, we can help. This git submodule update example shows you how to get the latest commits into your worktree.
In this GitHub submodule add example, we demonstrate how to take an independent GitHub repository, add a Git submodule and push back to the GitHub server.
When Sun Microsystems first developed a programming language to power their Star7 entertainment controller, they named it Oak, not Java.
Here's the anatomy of Java's main method. An anachronism with the rise of Servlets and JSPs, Spring Boot and Eclipse Microservice developers are seeing more of Java's main function as apps are ...
This GitHub repository tutorial shows users how to create a new repository in the popular, cloud-hosted Git offering. Let’s dig into the central concepts of GitHub-based DevOps.
In this Jenkins and Docker integration tutorial, I’ll show you how to create a Jenkinsfile build with Docker. Just pull a Jenkinsfile from a GitHub repository, and Docker will take care of the rest.
This Java recursion tutorial shows you how to create a recursive Java factorial function and compares these methods to iterative ones.
We often debate the merits of iterative vs recursive Java code. Let’s take a look at 5 Java recursion examples and see where the concept of recursion fits.
In this git tag clone example, we’ll demonstrate how to pull from a tag point in your git commit history. However, it comes with a catch, in the form of a detached head.
In some cases, Gitflow will come prepackaged with Git for Windows installations. Those on older installations will need do it manually. Here's a quick guide on how to perform a Gitflow install for ...
Here's a quick Gitflow init example, along with a quick tutorial on how to perform a full Gitflow workflow after you execute the command.
The Gitflow release branch is the final step in this software development process workflow. Here we look at the start, finish and impact the Gitflow release has on the master, develop and feature ...
If you’re lucky, you’ll never have to start the Gitflow hotfix process. But just in case, here’s a quick example of how to incorporate the Gitflow hotfix branch into your version control workflow.
Here's a quick Java Mission Control tutorial to show you how to install the Java Mission Control Eclipse plugin and start a Java Flight Recorder JVM profile run.
JDK Mission Control is feckless without a Java Flight Recorder file to profile. Here are 3 easy ways you can start Java Flight Recorder in Eclipse and monitor your JVM in JMC.
When you clone a git repository, it won’t necessarily bring down the branches and code for the associated submodules. The git submodule init and update command and the --recurse-submodules switch ...
The boxing and unboxing of Java primitive types has severe performance implications. Uncover the truth about autoboxing Java primitive types in this JDK Mission Control and JVM Flight Recorder example.
YAML has joined the ranks of declarative and scripted pipelines in Jenkins. Here's an example of what the syntax for a Jenkins YAML pipeline looks like.
Need to run Jenkins on AWS? It's not a bad idea, especially when developers consider the need for a CI/CD server to integrate with peripheral resources. This quick example shows you the easiest way ...
This quick example will demonstrate how to implement a remote Jenkins build trigger. With the remote Jenkins build URL, a developer can call jobs from scripts, the CURL command and even Java code.
Hibernate 5 has updated dialects for various databases, and MySQL 8 has a special one of its own. Here's an example hibernate.cfg.xml for MySQL 8 for Hibernate 5 apps or newer.
Running into difficulty with GitHub Webhooks and Jenkins builds? This Jenkins and GitHub webhook integration example shows how to trigger remote builds without the 403 no valid crumb in request ...