Jun 11Nodejs module and export shenanigansTrivia: Lets say we have a test.js file with the following content: console.log(arguments); What would be the output? The output would be this: [Arguments] { '0': {}, '1': [Function: require] { resolve: [Function: resolve] { paths: [Function: paths] }, main: Module {…Node3 min read
Feb 10NPM commandsHere I will note down few npm commands and their usage. Before starting with the commands, I want to note the semvar notations for npm dependency versions. Node dependencies follow Semvar annotations. Which means: major.minor.patch. Carret (^) sign means major version has to match and rest can be changed durning…NPM1 min read
Jan 20Java version on MacOSSome handy commands when it comes to managing java versions on MacOS. — To view installed java versions on Mac use this command /usr/libexec/java_home -V The output will be like (abridged): Matching Java Virtual Machines (9): 11.0.12, x86_64: "Zulu 11.50.19" /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home 1.8.0_302, x86_64: "Zulu 8.56.0.21" /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home 1.8.0_251, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/HomeJava2 min read
Published in Analytics Vidhya·Mar 26, 2021Amazon SageMaker built-in Algorithms: Quick-notesWhile I was preparing for my AWS Machine Learning Specialty Certification exam, I was looking for a place where I can have quick look at the summaries. Being a total novice in this area, I found this kind of resource saved my time looking up for information on the built-in…Blazingtext3 min read
Mar 25, 2021Maven Enforcer Plugin to Ban dependencyMaven enforcer plugin has many usages when it comes to managing dependencies. The one I am going to give an example of now, has to do with banning certain dependencies. The use case is something like this — you have a multi-module maven project. As time has grown your repo…Maven1 min read
Published in Analytics Vidhya·Jun 22, 2020My ML Glossary: Part 1As I familiarize myself with the Machine Learning technology, I am keeping notes of the concepts that I am coming across. Someone else like me, may benefit from this. So here goes the first part of the glossary. Confusion matrix: Confusion matrix for a classification model is a layout that…ML7 min read
Mar 6, 2020How to automate interactive installation on Linux: Short&SweetNifty way to automate installations — Expect command. Short&Sweet: yum -y install expect autoexpect ./your-installer-file.sh This will spawn your installer file and prompt you for the answers to the questions and you will provide answers just this once — I promise! It will record your answers and generate a file named script.exp in the same directory. Next time or any number of times you want to run the installer with the same inputs, you just need to do:Linux1 min read
Dec 31, 2018Overcoming Imposter Syndrome — a workshopIf you are a woman in tech, you must be familiar with “Imposter Syndrome”. Even if you don’t know what it means, I can bet at one time or the other, you have definitely felt it. Few weeks ago I went to a meet-up/workshop that was titled “overcoming imposter syndrome”…Imposter Syndrome4 min read
Jul 30, 2018Testing Ansible Playbook in a Docker ContainerI am considerably new with Ansible and wanted to verify the changes I have made to an existing Ansible project. I found a nifty solution to my problem. I am now running the Ansible playbook inside a docker container. …Docker2 min read
Jul 15, 2018In search of balance for Bangladeshi working momsPrologue: I’m from Bangladesh, now living in Melbourne, Australia. In Bangladesh the culture of having childcare is not prevalent. And raising children is still considered to be women’s job. So if you are a working mom in Bangladesh, you have to resort to having a nanny, unless you have any…Parenting2 min read