
Java is Dead! Once More
Programming languages are ranked based on different criteria. For example, Stack Overflow lists programming languages based on the number of questions and answers; while it is a clear indication of the recent popularity of a language, already matured languages not necessarily require the developers to search for "how to write a loop". Similarly, the famous index Tiobe lists Java as the second most popular language next to C at the time of writing this article. Tiboe ranks programming languages based on the number of skilled engineers world-wide, courses, and third-party vendors. Popular search engines such as Google, Bing, Yahoo!, Wikipedia, Amazon, YouTube, and Baidu are used to calculate the ratings. It is important to note that the TIOBE index is not about the best programming language or the language in which most lines of code have been written.
Coming to the point, recently I saw an index claiming Python took the first place pushing Java to the second place. Nothing to worry; good for Python! The programming language war is never-ending like the Linux distribution war. Fanboys always claim that their language is superior to any other language. This article analyzes if Java is dying and is Python replacing Java so that you can learn and live with Python only. I am comparing Python against Java because of the most recent claims I've seen over the internet but the core idea remains the same for any language out there.
Install the Latest Oracle JDK on Mac
Running Docker Without Sudo on Linux
After installing Docker on Linux, you may get a permission denied message as shown below when you try to run your first docker command:
docker: Got permission denied while trying to connect to the Docker
daemon socket at unix:///var/run/docker.sock: Post
http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create: dial unix
/var/run/docker.sock: connect: permission denied.
See 'docker run
--help'.
You can solve this problem by running Docker with root privileges (using sudo). However, by following these simple steps given below, you can run docker without root privileges.
Install Scala the Old School Way
13 Things To Do After Installing IntelliJ Idea
IntelliJ Idea: the famous IDE for JVM languages including Java, Scala, and
Kotlin. If you don't have it installed, follow Install IntelliJ IDEA on Linux
to install the latest IntelliJ Idea. This article shows you some hidden tweaks
to boost your productivity with IntelliJ Idea.
Wait! Isn't IntelliJ Idea ready to be used out of the box? There is no doubt about the capability of IntelliJ Idea; of course, it can handle your project without any tweaks and customization. However, this article shows you how I customize my IntelliJ Idea for better productivity. All we going to do is enabling some hidden features and installing some plugins that may take your favorite IDE to the next level.
Though I specifically mention the IntelliJ Idea, the following tweaks apply to all Jetbrains' IDEs:
- Android Studio
- AppCode
- CLion
- GoLand
- PhpStorm
- PyCharm
- Rider
- RubyMine
- WebStorm
1. Enable the toolbar
Go to View → Appearance and select Toolbar
The toolbar provides quick access to frequently used buttons such as Save All,
Back, and Forward with a cost of small vertical space. I prefer to have the
toolbar enabled because it moves the Build button to the left that makes it
easy to access using my muscle memory. In addition, you can add more shortcuts
to this toolbar if you like.
Install IntelliJ IDEA on Linux
Install IntelliJ IDEA 2020.2 and Older on Linux
Install Oracle JDK 15 on Linux
Even though OpenJDK is available in Linux repositories, some applications strictly require Oracle Java Development Kit. This article shows you how to manually install Oracle JDK $java_version on your Linux system. This article uses JDK $java_version$java_update_no to demonstrate the installation. In the provided commands, replace the version specific paths and file names according to your downloaded version.
sudo dpkg -i jdk-$java_version$java_update_no_linux-x64_bin.deb
If your Linux distribution is using RPM package format like Cent OS, you can download and install the jdk-$java_version$java_update_no_linux-x64_bin.rpm file using the following command:sudo rpm -ivh jdk-$java_version$java_update_no_linux-x64_bin.rpm
However, this article explains the manual installation method which is applicable for all Linux distributions out there. Personally, I prefer the manual installation because I have more control over the changes made in the system.
Read and Write ORC Files in Core Java
- Oracle JDK 8 or the latest version
- Apache Maven
-
IntelliJ IDEA
or
Eclipse
with Maven support
Install PyCharm on Linux
Presto SQL for Newbies
SELECT acc.account_no as account_no, trans.amount
FROM mysql.bank.accounts acc LEFT JOIN hive.bank.transactions trans
ON acc.account_no = trans.account_no
WHERE trans.amount > 1000;
Install Oracle JDK 14 on Linux
Even though OpenJDK is available in Linux repositories, some applications strictly require Oracle Java Development Kit. This article shows you how to manually install Oracle JDK $java_version on your Linux system. This article uses JDK 14$java_update_no to demonstrate the installation. In the provided commands, replace the version specific paths and file names according to your downloaded version.
sudo dpkg -i jdk-$java_version$java_update_no_linux-x64_bin.deb
If your Linux distribution is using RPM package format like Cent OS, you can download and install the jdk-$java_version$java_update_no_linux-x64_bin.rpm file using the following command:sudo rpm -ivh jdk-$java_version$java_update_no_linux-x64_bin.rpm
However, this article explains the manual installation method which is applicable for all Linux distributions out there. Personally, I prefer the manual installation because I have more control over the changes made in the system.