Computer buzzwords

This includes all cloud / devops , web-based , backend , machines etc Devops Glossary Elastic Search “Elastic” – It is highly scalable and can dynamically handle large volumes of data. “Search” – It is designed primarily for search and analytics, making retrieval fast and efficient. Elasticsearch is a distributed search and analytics engine built on Apache Lucene. It is designed for fast, scalable full-text search and is commonly used for log analysis, real-time data indexing, and search applications. ...

January 30, 2025 · 8 min · Mohit Dulani

Learning Event Loops ( JS / Python )

Learning JS Event Loop Event loop Main thread : where every thing happens something on main thread, takes a long time ( 200ms ) that becomes noticeable to the users and is not user exp The human body , is multithreaded in all ways , we can type , listen , understand , talk , move eyes , move lips ..etc all at the same time But only while sneezing, we become single threaded, we cant do nothing but sneeze ...

January 26, 2025 · 3 min · Mohit Dulani

Learning how web works and building my custom DOM for it !!

DOM Introduction Browser Use DOM Understanding this line The Document Object Model (DOM) is an application programming interface (API) for HTML and XML documents. DOM ( Document Object Model ) The DOM is like a map of a webpage or document. Imagine a webpage (HTML) as a tree where each part—like headings, paragraphs, buttons, or images—is a branch or a leaf. The DOM is the structure of this tree that makes it easy for programs to understand and interact with the webpage. ...

January 16, 2025 · 3 min · Mohit Dulani

Learning about Electrical signals

Electro Magnetic Field Learning about Electronics , signals , communication Communication Communication is sending information from one place to another. In wireless communication, we don’t use wires or cables — instead, we use waves to send information. Wave is simply a way to move energy or information from one place to another. Imagine throwing a pebble in a pond, ripples carry energy outwards Waves in communication work in a similar way, but instead of water, they travel through air or space. ...

January 15, 2025 · 3 min · Mohit Dulani

Learning Playwright , web and cloudfare

Playwright Web The current web page is advanced , the DOM is loaded only for the visible section on the page and the visible section can be increased or decreased based on the viewport height and width of the page .. To load the DOM in natural way you will need to scroll it down to get to the next set of links and it builds the DOM tree and the tree !! ...

January 12, 2025 · 4 min · Mohit Dulani

Learning computers from scratch

Links : http://www.gooath.org/blog/2022/12/05/how-do-computers-really-work-part-1-basics/ Transistor Diode Logic gates from transistor Basics Atom made up of electron , proton , nucleus conductor -> free electrons in valence shell insulator -> no electrons in valence shell semiconductor -> few electrons in valence neither a good conductor or insulator semiconductor in pure form is useless , dope it to make n / p type Diode Electric field: start from positive end to negative end electrons accelerate in the opposite direction of the field ...

January 11, 2025 · 3 min · Mohit Dulani

Async Programming

Google doc link Async Programming Basics of Async Programming At any single time, a single CPU thread executes only a single function ( no multiprocessing happens ) atleast in the case of python !! Its just smart switching Pick up a event loop / create a event loop Create / Add tasks in it Check for the status and if done return the result Coroutines : A coroutine is a special function that can give up control to its caller without losing its state. ...

January 2, 2025 · 8 min · Mohit Dulani

Learning Basics of networking

Basics of Networking Google doc link SSH explained ssh is a secure way to connect to a machine Logic A 2 layer key is setup , a public and private key you Setup Lets say a machine in London wants to talk to a machine in Delhi , london machine is connected to wifi and has a fixed internal IP ( 192.168.1.200 ) , the wifi IP is Dynamic , so in the router’s setting we need to create a port forwarding rule to internal IP (192.168.1.200) on port 22 ...

January 2, 2025 · 7 min · Mohit Dulani

AI Agents

Learning about AI agents and how they are built in real world

December 23, 2024 · 6 min · Mohit Dulani

Starter's guide to C language and a bit of Machine learning in C lang

C concepts LIBRARIES #include <stdio.h> : standard input - output , printf , stdin , stdout #include <string> : For string operations string a = “this is a string” #include <stdlib.h> : (https://www.tutorialspoint.com/c_standard_library/stdlib_h.htm) standard libraries , that contains functions, size_t , free , allocate , malloc , realloc , exit , rand , srand , abort , exit , rand , RAND_MAX, EXIT_SUCCESS , EXIT_FAILURE #include <time.h> : time() , use ...

December 22, 2024 · 6 min · Mohit Dulani

Learning basics of React

Doc link REPLIT Trying to Learn React once again Delta to learn react is high, you need JS, css, html Importing / Exporting Named export ( export function App ) Default export ( export default ) Default import ( import App from ‘./App’ ) Named import ( import {App} from ‘./App’ ) the { } must match the function name exactly Multiple Exports ** File is : app.js export const Test1 = (()=>{ }) export const Test2 = function(){ } export const Test3 = () => { } // call it as following import {Test, Test2 , Test3} from './app.js' Components : Different parts Like parts of a motorcycle , fan .. these are components and a site is made up many such components Component name should always start with a Capital letter Inside JSX, we can write javascript also Can only return only one parent element ...

December 4, 2024 · 9 min · Mohit Dulani

Activation and Norms

Activation / Non-linear function A non-linear function is one in which cannot be expressed from y = mx + c lets suppose a function with y = x * W1 * W2 .. Wl Linearity with respect to x, this means rest of the variable are constant and only x is changing , so linearity with respect to x is linear Linearity with respect to Wi, this means rest of the variable (x here) is constant and only weights are changing , so linearity with respect to W is non-linear ...

September 8, 2024 · 6 min · Mohit Dulani