Author: chrisj

How does your computer resolve in the browser

I was recently asked this question as a follow-up to the interview question “what happens when you type in the browser?”. The answer to the main question is on a high level, i.e. starting with checking the browser’s cache

Bash basics example

List the number of lines in all of the csv data files. wc -l *.csv Next, remove the line containing the word “total”. wc -l *.csv | grep -v total Display the line with fewest number of lines wc -l

Bash basics 2

Summary: head and tail select rows, cut selects columns, and grep “phrase” selects lines that contain “phrase“. Note: grep -v: invert the match, i.e., only show lines that don’t match ** Writing to an output file command > output_file **

Bash basics

Environmental variables — are in all caps. E.g HOME, USER — the set command displays all the environmental variable Getting the value of an environmental variable: 1. echo $HOME — note the $ as the first character 2. set |

Python Variable

Variable Assignment: n = 300 — python creates an object of type integer in memory and assigns n as a pointer to it’s location. m = n — python DOES NOT create a not integer object, but assigns m as

Python Files

Use the open() method to access the contents of a file. example: FH = open(“filename”, “mode”) –> returns a file object that can be used to manipulate the file’s content. More efficient way: with open(“filename”, “mode”) as FH: –> returns

Python files (CSV data)

Libraries: CSV and JSON CSV Methods: reader() –> returns a reader object. Each row read from the csv file is returned as a list of strings. No automatic data type conversion is performed. DictReader() –> returns a writer object responsible

Kubernetes and Docker

This post is where I plan to document my learning and experiences deploying both Kubernetes and Docker for managing Jupyter notebooks in an educational setting. Kubernettes: is defined as “a container orchestration and management tool for automating the deployment and

Database Notes

MySQL has been my database of choice for the web app projects I worked on. My fellowship experience has made me realize that my level of knowledge was limited due to the size of my data and the complexity of

I’m excited!

I recently did a DevOpps fellowship at Insight. It was an intense and exhilarating experience. My reason for accepting the fellowship was so that I could learn about network infrastructure in the cloud. The world of data collection has drastically