Linux oft-required commands(for self reference)
Install and export JAVA_HOME:apt-get updatesudo apt install default-jdk which javaOutput: /usr/bin/javareadlink -f /usr/bin/javaOutput: /usr/lib/jvm/java-11-openjdk-amd64/bin/javaexport...
View ArticleBack propagation in neural network training
Back propagation is one of the fundamental building blocks of many neural network models in use today. As always, Andrej Karpathy does a fantastic job explaining how it is calculated and applied during...
View ArticleKubernetes Secrets in plain English
Want to get a high level view of kubernetes secrets? Read on...
View ArticleInstall PySpark on windows
Install java and expose JAVA_HOMEInstall spark and expose SPARK_HOMEInstall findspark:Launch jupyter lab and use pyspark in notebook:
View ArticleCreate google cloud VM inside custom VPC remotely with gcloud command
These are the steps for creating VM instances inside a google cloud VPC custom network remotely. It assumes that google cloud account has been created and cloud sdk has been installed and working...
View ArticleQuick sort routine in rust
A quick sort routine in rust:Source: https://github.com/ratulb/algos_in_rust
View ArticleAlgorithms and data structures in rust - mergesort
Bets about rust are turning out to be right. Initially proposed as system programming language(read servo - rewrite of firefox browser) - numerous front end web frameworks are appearing and becoming...
View ArticleExploring envoyproxy
With the adoption of micro-services, we need to tackle hosts of issues associated with remote calls and networking - because what used to be an in-process function call now becomes a RPC call that need...
View ArticleNested virtualbox VM inside google compute engine
Though guest VM inside google compute engine raises concerns about performance, there are situations where they prove useful. In this post I am going to discuss how we can install a ubuntu guest VM on...
View ArticleNFS persistent volume and claim in kubernetes
This write up shows detailed steps of how to setup a nfs server as a storage backend and make use of it in POD's persistent volume via persistent volume claim. These have been tested to work with...
View ArticleKuberenetes cluster on Openstack on a google compute engine
In this post we will deploy a kubernetes cluster on Openstack which itself is deployed on one single GCP compute engine. Provisioning the compute engine: Not all compute engines support virtualization...
View ArticleSetting up a kubernetes cluster - quick and easy
Often times, we need a kubernetes cluster to try out something new real quick or to use it on a daily basis for our development work. It's like back old days when every so often we needed a tomcat,...
View ArticleInstall kubernetes on containerd
Kubernetes is deprecating Docker as a container runtime after v1.20. This post shows how to install kubernetes on ubuntu 18.04 using containerd as a container runtime. For brevity, we do this just only...
View ArticleMulti master kubernetes on containerd with haproxy/nginx/envoy load balancer
Kubernetes has declared that it is going to remove support for docker as runtime. Its has deprecated docker as runtime post v1.20. Complete removal of docker as runtime is planned for the 1.22...
View ArticleMigrate kubernetes embedded etcd to external etcd - easy back and forth switch
Precursor: How easy is it to setup a single master kubernetes cluster? Quite easy. Might take in the range of 5 to 10 minutes - maybe.How about multi-master cluster? We would need to front the API...
View ArticleAlgorithmic Muscle Excercise - Rain Water Trapping Problem In Rust
Water trapped along continuous extent of buildings of different heights: Source: https://github.com/ratulb/algos_in_rust/blob/master/rain_water_trapping/src/lib.rs
View ArticleAlgorithmic Muscle Excercise - maximum subsequence length in rust
Maximum sub-sequence length of 3 strings - bottom up approach: Source: https://github.com/ratulb/algos_in_rust/blob/master/max_sub_sequence_bottom_up/src/lib.rs
View ArticleLinus Torvalds on rust in linux
https://www.zdnet.com/article/linus-torvalds-on-where-rust-will-fit-into-linux/
View ArticleInstall oracle jdk16 on ubuntu 18
add-apt-repository ppa:linuxuprising/java apt install oracle-java16-installer --install-recommendsThe above command would set java 16 as default. To avoid that - use the following command:apt install...
View Article