Posts

Showing posts from November, 2022

Quick post about using Docker for setting R7 Repositories on an R8 VM

Image
A repository is much like a library for the operating system. Had a fun task at work today so wanted to write a quick post about it. A linux system receives its OS and software updates from a location called the 'Repository', for an Operating System such as CentOS or Ubuntu, the repositories come pre-listed with the operating system and there's no addition work involved. Fig. 1 - Ubuntu repolist However, for the Red Hat operating systems which are paid, you need to manually register the system to the Red Hat customer portal and then need to attach a subscription. The command to do so looks like the following:  subscription-manager register --username <username> --password <password> --auto-attach Doing so will give us access to the repositories from which we can install our packages and update existing ones. As you can imagine, different versions of Red Hat would have different repositories and they wouldn't be interoperable. If any of you have tried install

What I've learned in Java up to Nov' 7th '22

Image
As mentioned in the previous blog post, I started learning Java just to be able to understand solutions to Leetcode problems & solutions discussed in 'Cracking the Coding Interview' book. This blogpost is going to focus a little less on being didactic and more about me just rambling on about what I've learned in the past few weeks. Part 1 - The Basics J ava was developed by  James Gosling  at  Sun Microsystems  and  released in May 1995 according the Java page on Wikipedia. To start writing and developing program in Java, we will first need the JDK ( Java Development Kit)  which provides all the tools, executables, and binaries required to compile, debug, and execute a Java Program.  JDK is a platform-specific software and that’s why we have separate installers for Windows, Mac, and Unix systems.  Java versioning is kinda weird (much like Samsung's S series) but what we need to know is that the long-term supported versions are 8, 11, and 17. I've installed JDK f

Back after a 3 month hiatus! - What's coming soon.

Image
Here's why I haven't been able to post to this blog for the past three months: September - Focussed on learning DSA for coding and got caught up with work. Also was excited about the upcoming trip and was planning/doing purchases. October - Took the month off to travel back home after 4 years. Arrived in Canada in September 2018 as a student and now went back home as a working professional with experience. It was a very good visit and got to visit family after a long time. November - This month, I'm focusing on learning Java. I have the silliest reason for learning this programming language, I picked up this book called Cracking The Coding Interview by Gaayle McDowell and all the solutions to the coding DSA problems are in Java. Also, on the Leetcode website, when you look at the official solutions, more often than not, the solutions are in Java there as well.  I also figured Java would be a good language to learn for the following reasons: 1. Since Java is an Object-o