FedoraFedora is Linux based and open-source operating system intended for developers and system administrators. It is supported by a huge Red Hat Community. It was introduced in Sep 2003. Initially, it was also known as Fedora Core. Fedora OS uses IPSec to connect to remote machines or networks. It uses Internet Key Exchange, IKE protocol to make secure, robust connections between machines.Red HatRed Hat Enterprise Linux, RHEL is also Linux based operating system but it is targetted for business usage. It is sold using annual/monthly subscription basis including the technical support and Red Hat network. It was introduced in 1994 ... Read More
In general, a slider is a component that displays a continuous range of values. This contains a track on which the numerical values are displayed. Along the track, there is a thumb pointing to the numbers. You can provide the maximum, minimum and initial values of the slider.The slider JavaFX provides contains only one thumb if you want to create a slider with two thumbs you need to rely on an external library named org.controlsfx.control.Following is the maven dependency for this library − org.controlsfx controlsfx 11.0.1 The RangeSlider class of this package is the JavaFXSlider but with ... Read More
FedoraFedora is Linux based and open-source operating system intended for developers and system administrators. It is supported by a huge Red Hat Community. It was introduced in Sep 2003. Initially, it was also known as Fedore Core. Fedora OS uses IPSec to connect to remote machines or networks. It uses Internet Key Exchange, IKE protocol to make secure, robust connections between machines.DebianDebian is again a Linux based open-source operating system. It is part of GNU project providing program components to Debian OS. Debian was developed targetting the end-users general purpose. It is highly user friendly and efficient. Many large and ... Read More
PythonPython is a programing language designed to be simple to implement and easy to understand. It is a dynamically typed language. It is not using pointers.BashBash is a command-line interpreter and is shipped by default in Linux and MacOS operating systems. It can be installed in other operating systems as well. It is default User Shell for Linux and MacOS.The following are some of the important differences between Python and Bash.Sr. No.KeyPythonBash1TypePython is a programming language mostly used in automation programming.Bash is a command-line interpreter or user shell to interpret user commands.2BasisPython is developed as an easy to implement an ... Read More
Unix PipesUnix Pipes are used in inter-process communication. A pipe as name suggests provides a unidirectional flow of information. Data flows from one end to another.Message QueuesMessage queue allows to share messages by a sender process to another process (es). A message queue is implemented as a linked list of messages and stored within kernel. Each message has a unique message queue identifier. The kernel keeps a record of message queues present in the system.The following are some of the important differences between Unix Pipes and Message Queues.Sr. No.KeyPipeMessage Queue1ConceptThe pipe is the Unix IPC form to provide a flow ... Read More
Kotlin was introduced in Android development considering multiple enhancements in Kotlin w.r.t Java. For example:Less no. of Lines and easier development with the same functionality.Java: TextView displayText = (TextView) findViewById(R.id.textView); displayText.setText("Hello World"); Kotlin: textView.setText("Hello World")Compile-time handling of infamous null pointer exception.var value: String = "abc" // compilation error value = nullData class instead of POJO.data class User(val name: String, val age: Int)The following are some of the important differences between Java and Kotlin.Sr. No.KeyJavaKotlin1ExceptionsJava uses checked exceptions for exception handling.Kotlin has no checked exception. It throws compile-time errors.2Null HandlingJava has not enforced null check thus null pointer exception ... Read More
Stream API provides lots of built-in functionality to help in performing operations on a collection using a stream pipeline. The API is declarative programming that makes the code precise and less error-prone. In Java 9, few useful methods have added to Stream API.Stream.iterate(): This method can be been used as stream version replacement for traditional for-loops.Stream.takeWhile(): This method can be used in a while loop that takes value while the condition is met.Stream.dropWhile(): This method can be used in a while loop that drops value while the condition is met.In the below example, we can implement the static methods: iterate(), takeWhile(), and dropWhile() methods of Stream ... Read More
JShell is an interactive Java Shell tool that executes code from the JShell and instantly displays an output. JShell is the REPL (Read-Evaluate-Print-Loop) tool that can run from the command-line prompt.In JShell, there is an option to load a script on startup that includes some special predefined options. These can be specified using the "--startup" flag passing in either a filename or one of DEFAULT, JAVASE, and PRINTING. We can use "/list -start" comamnd to see all startup snippets to be evaluated.DEFAULT: It loads the default behavior. This acts the same as if this is not specified at all.JAVASE: It imports all ... Read More
In this article we will be discussing the working, syntax and examples of map::at() function in C++ STL.What is a Map in C++ STL?Maps are the associative container, which facilitates to store the elements formed by a combination of key value and mapped value in a specific order. In a map container the data is internally always sorted with the help of its associated keys. The values in the map container are accessed by its unique keys.What is a map::at()?map::at() function is an inbuilt function in C++ STL, which is defined in header file. at() is used to access a ... Read More
In this article we will be discussing the working, syntax and examples of map::size() function in C++ STL.What is a Map in C++ STL?Maps are the associative container, which facilitates to store the elements formed by a combination of key value and mapped value in a specific order. In a map container the data is internally always sorted with the help of its associated keys. The values in the map container are accessed by its unique keys.What is a map::size()?map::size() function is an inbuilt function in C++ STL, which is defined in header file. size() is used to check the ... Read More