Monday, February 15, 2021
Saturday, January 23, 2021
Friday, January 1, 2021
Scala REPL no echo on input Ask Question
This seems to be an issue with JLine2 being built with JDK9+, but being used on JDK8. If you're on bionic, try this PPA for jline2: https://launchpad.net/~lokkju/+archive/ubuntu/java-compat/
(or just download and install https://launchpad.net/~lokkju/+archive/ubuntu/java-compat/+build/16458066/+files/libjline2-java_2.14.6-1ubuntu1~bionicppa1_all.deb via dpkg)
You can verify jline2 is the problem by running scala -Ydebug, and looking for ByteBuffer class not found error.
Wednesday, December 30, 2020
Extracting structure failed --- Error while importing SBT project
I have used the following plugin
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2")
Got the following error.
When i change the plugin version to the following then everything is working fine.
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")
view the library dependencies (as you would with Maven) rather than the task dependencies (which is what inspect tree displays)
If you want to actually view the library dependencies (as you would with Maven) rather than the task dependencies (which is what inspect tree displays), then you'll want to use the sbt-dependency-graph plugin.
Add the following to your project/plugins.sbt (or the global plugins.sbt).
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")
Then you have access to the dependencyTree command, and others.
Thursday, December 3, 2020
Sunday, November 29, 2020
7 Ways to improve your programming skills
In this era of continuous advancements in the software industry, it is important for coders to focus on the improvement of their programming skills. Upskilling, reskilling, and practice are some of the few options that
1. Improve your learning method
Learning is an art and this art is a quality in some from birth while the rest of the population earns it. As a programmer, you might feel overwhelmed from the similar problem solving tasks. Therefore, it is necessary to include entertaining techniques to learn effectively like flashcards, online quizzes, algorithmic puzzles, designing creative apps etc. Always give yourself time to remember the concept rather than just referring notes. Enjoy coding or you will feel burdened by the concepts.
2. Gain fluency in debugging
Debugging is an integral part of programming. When a programmer compromises basic concepts of debugging, they waste precious time and efforts on searching bugs. This is why, debugging techniques including divide and conquer, and proper usage of logs and debuggers should be crystal-clear in your head.
3. Read other developer’s code
Before considering yourself a master already, see how a master creates a code. In simple words, browse through GitHub repositories, learn how other developers have written their code and make your own judgement on how to add quality in the code. This is how one can master coding.
4. Write readable code
As stated by Martin Fowler, “any fool can write code that a computer can understand.
- It will help you debug your code easily
- It will allow other developers to understand your code effortlessly.
5. Work on projects
Search for an app to build, learn how to get started, and work on it. I am not asking you to add quality but at least challenge yourself and see how bonded you are with coding concepts. You will be able to judge your weak points and get a chance to improve.
6. Master one tech stack
Trying to learn every other tool, framework, and
7. Have curiosity
Your curiosity to learn more and more may get you hired. A good recruiter hires candidates who can contribute to the company's long-term growth rather than the one who plans to use the known skills on
Recent Post
Databricks Delta table merge Example
here's some sample code that demonstrates a merge operation on a Delta table using PySpark: from pyspark.sql import SparkSession # cre...
-
Step 1: we have check the installed sbt version . if sbt installed version on out laptop is say : 1.3.13 [info] welcome to sbt 1.3.13 ...
-
Apache Avro is becoming one of the most popular data serialization formats nowadays, and this holds true particularly for Hadoop-based bi...
-
OpenVPN 2.4 also became the default version your connections use. OpenVPN 2.4 adds many security and performance improvements. Because OpenV...








