The difference between Callable and Runnable is one of the most frequently asked multi-threading and concurrency interview question in Java world. I remember, it was 2007 when I first heard about Callable interface and that too on a telephonic interview. Till then, I was happy using Runnable to implement threads and just started paying attention to Java 1.5, as most of the application by then using Java 1.4.
Software Repair Tool is a free program for Windows 10 by Microsoft that you may be asked to run when contacting Microsoft Support. It has been designed to run a series of checks and fixes on a machine running Windows 10. The tool provides little information about what it does. In fact, the first screen is more or less useless when it comes to information about the program's functionality.
In normal scenarios, in an application using Hibernate, we don’t bother retrieving the whole entity with all its properties even though we don’t need all of them for a particular use case. A single entity might have 30 properties, while we might just need a few to be set in our web service response or display to the user. When in a scenario thousands of records are liable to retrieved based on our query, think of the unused fields we are heavily jamming our application with, which ultimately lead to a huge performance hit.
In this tutorial by Matt Jylkka, we’re going to explore a way to “hack” strokes in Adobe After Effects to fix the common resizing issue.
In this tutorial, we take a look at how one can implement serialization and deserialization techniques when programming in Java. First, we shall explain what the process basically is and how it can be advantageous.
It is important to make our Linux distribution usable to support our works. On this tutorial, I am going to show you how to connect to a network printer on Manjaro 16.06. Good for you if you have HP printers around you. Manjaro includes HP device manager application to manage your printers and other HP devices.
Let’s create the mystical, fantasy styled text from the new version of the Pete’s Dragon movie! In this Photoshop text effect tutorial we’ll try to work with fonts, but instead settle on a sketch and build our own font in Photoshop from a sketch and begin adding all the effects, colors, and lighting effects to this really neat little bit of graphic design. It’s not my longest tutorial, but you’re definitely going to enjoy this one.
The Network Time Protocol (NTP) is a protocol for synchronizing the clocks of computer systems over packet-switched, variable-latency data networks. NTP uses UDP port 123 as its transport layer. It is designed particularly to resist the effects of variable latency (Jitter).
The following guide explains to you how to change digital pen shortcuts on devices running Windows 10. Windows 10's Anniversary Update brought along with it a new home for digital pens called Windows Ink. It is the new Hub for digital pens, and if you have ever connected a pen to your device, you will notice the Windows Ink icon in the system tray which opens it right away on selection.
In Adobe Illustrator, one of the more challenging tools for beginners (and even advanced users) is the Pen tool. It’s no easy tool to master, and it’s not particularly intuitive in the beginning either. The Pen tool is challenging because it really requires an investment in time to get proficient at it. I’m often reminded of this when I need to teach someone how to use the Pen tool. I get questions like, “How do you know where to click to create the next anchor point?” There’s often no good answer because a lot of it comes down to experience.
By default installation the cron jobs get logged to a file called /var/log/syslog. You can also use systemctl command to view last few entries. In this quick tutorial you will learn about the default cron log file and how to change or setup a cron.log file to contain just the cron job entries that show up in syslog.
What are snaps and why you should use them? The Linux ecosystem has suffered from an old problem since the dawn of the concept of 'distribution', and that problem is fragmentation. One of the biggest issues that cause this fragmentation is different package formats; I can't run my .debs on my Fedora system or my .rpms on my Ubuntu machine. Yes, we do have alien, which should allow the transition between the two formats, but there are two problems with this approach :
We frequently use printers to print important documents, but problems with printers can sometimes appear. To fix printer problems we sometimes need to remove the printer, but Windows 10 users reported that they can’t remove printer on their PC.
Contrary to what many people think, an application written in Java can indeed present memory leak problems. Unfortunately, a large number of Java programmers think memory leak is something for C/C++ and the Java Garbage Collector solves this problem completely. In this article, I intend to show that although the Garbage Collector works very well, it cannot do magic.
In this series of blog posts, I am going to show you how to output dates in different formats and walk you through some of the most commonly used date functions in Excel. In the first blog post, we’re going to come to grips with how to format dates differently and have a look at a few useful and commonly used date functions to get you started.
If you have ever written Java programs using Notepad or inside DOS editor, then you know that how a single curly brace can blow your program and throw 100s of error during compilation. I was one of those lucky people who started their programming on DOS editor, the blue window editor which allow you to write Java program. I didn't know about PATH, CLASSPATH, JDK, JVM, or JRE at that point. If you have ever written Java programs using Notepad or inside DOS editor, then you know that how a single curly brace can blow your program and throw 100s of error during compilation. I was one of those lucky people who started their programming on DOS editor, the blue window editor which allow you to write Java program. I didn't know about PATH, CLASSPATH, JDK, JVM, or JRE at that point.
In the previous part, we created a Post Class which will handle our article request and perform CRUD operation on it. In this tutorial, we are going to use the same class and will insert, update and delete articles. We are going to make forms for insert and update article, create a view for article and a page where all the articles will be listed and can be deleted. I will be using bootstrap for styling. Let’s get started:
The java.util.Date has no concept of time zone, and only represents the number of seconds passed since the Unix epoch time – 1970-01-01T00:00:00Z (midnight at the start of January 1, 1970 GMT/UTC)...
Sometimes you required to run a command or shell script during system startup and shutdown. This is helpful for starting a service on system start and stop it during system shutdown. This tutorial will help you to run scripts on system startup and shutdown on Gentoo Linux. Now the scripts inside /etc/local.d/ directory with suffix .start will be executed at system startup and all the scripts with suffix .stop will be executed during system shutdown.