Posts
Node.Js Streams
Intro Node.js has a built-in support for streams. Streams are a fundamental concept in Node.js that enable efficient data handling, esp when dealing with large amounts of information OR working with data in real time.
Summary:
Explore the concept of streams in Node.js Understand the different types of streams available (Readable, Writable, Duplex, and Transform) Discuss best practices for working with streams effectively. What are Node.js Streams? Streams enable efficient data handling by reading or writing input/output sequentially.
Posts
Multi-threading with nodejs
Overview What is Multithreading How does Node.js handle asynchronous operations. How to use Node’s worker-threads module to create and manage threads. History Computers are becoming more powerful thanks to GPUs and multi-cre CPUs, and modern applications leverage threads(independent execution units in a process) to maximize application performance
However, JavaScript is a synchronous, blocking, single-threaded language. It was initially created to run on browsers, allowing for much of modern web page interactions, form validations, animations, and so on.
Posts
Python Enviroment
Anaconda Anaconda(python distributor) anaconda download link
Anaconda is a distribution of the Python and R programming languages that aims to simplify package management and deployment. It was initially released in July 17, 2021 by Continuum analytics under the Freemium license but other editions are SaaS.
Google Colaboratory (Colab) Google Colaboratory Colab allows users to write and execute python code on the browser. It is used by students, DS, AI programmers, and many more due to its ease of use.
Posts
Pandas
Introduction Pandas is an open-source python data analysis library created by Wes McKinney for quantitative finance (hence it’s name pandas from “PANel DAta System”, an econometrics term for data sets that include observations over multiple time periods). It was initially released on January 11th, 2008 and continues to be one of the most popular python tools used when handing data sets nowadays.
Basic Building Blocks 1 dimensional : Series, TimeSeries
Posts
SVG(Scalable Vector Graphics)
Introduction Deep dive into SVG SVG code for an icon is usually made up of a bunch of path elements with d attribute(aka. path data).
Path Data The d attribute is a series of commands that tell the browser how the path should be drawn. Below is an example of a d attribute cleaned up:
All path commands follow the same basic syntax - a single letter code followed by a series of numbers.
Posts
Web Application Server(WAS)
HTTP all web browsers communicate through HTTP client -> internet -> server
Server vs WAS(web application server) Web Server - HTTP, static content(HTML, CSS, JS, IMAGES, VIDEO), etc…. in simple terms, it’s a server that hosts and serves content to the client, used for simple tasks like serving static files, managing client connections, and handling basic request-response. ex: NGINX, APACHE WAS - Web Server + dynamic content, runs application logic code to provide dynamic HTML, API (JSON), SERVLET, JSP, SPRING MVC WAS provides an environment where developers can build, deploy, and run applications that process and generate dynamic content.
Posts
IaC
Summary Infrastructure as code (IaC) is an approach to managing and provisioning infrastructure resources through software and automated processes, rather than manual processes. It involves using machine-readable configuration files or scripts to define and control the infrastructure, treating it as code. With IaC, infrastructure resources such as networks, compute services, databases, and storage can be defined, managed, and deployed in a standardized, versioned, and parameterized manner.
Imperative vs Declarative IaC IaC allows you to define your infrastructure resources in a descriptive model, specifying the desired outcome rather than the specific steps to achieve it.
Posts
Apache Tomcat
What is Apache Tomcat? In web development, Apache Tomcat is an open-source web server and servlet container. It is designed to execute Java servlets and render JavaServer Pages(JSPs) to serve dynamic web content.
Tomcat is widely used as a web application server for hosting Java-based web applications. It provides a Java Servlet API implementation and supports the Java Enterprise Edition (Java EE) specifications. Developers can write servlets and JSPs, which are Java-based components, and deploy them on Tomcat for execution.
Posts
MacOS Command Line Tools
This post will have some command line tools used in macOS. Truth be told, I do not use ALL of these commands all of the time but I consider them useful nonetheless.
caffeinate (sleep) caffeinate to prevent your mac from going to sleep as long as the command is running. caffeinate -u -t <seconds> to specify the time. Adding the -d flag prevents the display from going to sleep. caffeinate <command> will start the command in a new process and will prevent sleep until that process exits.