Dual booting arch setup with windows

So now we have arch installed and need to dual boot with windows ( obviously for nvidia broadcast to work and cracked premiere pro to work there, wine just doesnt work for me ) Partition The first role is to make a partition , a virtual partition in your drive so that we can install windows there .. How to make a partition ? if you want to part a drive that is mounted ( means that you are using it or is accessible to you ) then it cant be done as you need to unmount it first to create a partition .. ...

April 25, 2025 · 2 min · Mohit Dulani

Learning F&O and game theory

F&O learning Derivatives Includes Futures and Options Financial Instruments Nifty 50, Nifty Bank , Stock Options , Commodities , Soybean Futures etc Index h , joh ki top 50 indian companies ko track krta h .. Ye apne aap m khuch nhi hota toh isko khareed bech nhi skte nifty m trading krne ka matlab hota h , ki nifty k futures m trade krna Futures No premium , just have to pay the margin 3 month in future , last thursday of each month ka dekha jata h aka near future and far-away future. Lot m kaam krta h ,multi-day kr skte ho and isme short kr skte ho Last thrusday of that month ko expire hoga mtlb agar aapne apna balance khtm nhi kiya uss din tk toh apka broker automatically apko uss din nikal dega .. Futures m you can go either go long or go short Long position : means you bullish on the stock price that it will go up Short position : means you are bearish that stock price will go down in future Already leveraged prodcut h … ...

April 13, 2025 · 15 min · Mohit Dulani

Learning and Making CUDA kernels as a future skill

THIS IS A SKILL OF FUTURE CUDA DOCS Beginners introduction to CUDA How do GPU work by geohotz starts at 20:00 Amazing CS336 Stanford Stanford lecture Cpu does something called as branch prediction that allows to flow its operations without waiting for operations to get completed first, so this looks like, its gets many wrong also sometime but eventually stores the pattern ( Branch-1 was taken recently , branch-2 was not taken recently like this … ) ...

March 30, 2025 · 6 min · Mohit Dulani

Learning Celery

Background task Maintaining background tasks specially in python django is damn tough, so we to think spawning some daemon threads and getting that solved is very tough .. so rather we should use celery that starts a complete new process and doesnt maintain any-thing inside main process Celery What is the use of celery ? and its comparisons asyncio.create_task() : This creates and executes task in event loop ( efficient management of event loop ) ...

March 29, 2025 · 2 min · Mohit Dulani

Node modules and Github

A noob method of playing with Node modules Steps to follow to update code from a node_module like d3-force directly !! So what we get in a node_modules are the build folder that dont support HRM (hot reload module) so we have to make changes and then build that folder using the rollup module ( maybe we can use other libs also !!) Steps: Make that change in the file that you want !!(be it debugging statements or logic change ) Install the required files, using npm install and if required change the package manager from yarn to npm Then lookup to package.json and you might find a function named “prepublishOnly” Run the command npm run prepublishOnly, If the command requires the some folder , build those or remove those folders from the npm command !! Then once you fix the errors , got the errors solved , then we build this file using npm run prepublishOnly Then run the development server using the npm run dev -- --cache This is how to rebuild a node-module !! ...

March 26, 2025 · 11 min · Mohit Dulani

Learning the 'Why' in Deep Learning

https://claude.ai/share/82ba8ee9-f673-4f8a-a89a-9fd380bd0e53 We all know about DL architectures, but do we know how researchers arrived at this !! How to arrive at a deep learning architecture ? How to make connections between layers and be intuitionally correct ? The logic behind a deep learning architecture , how to make the gradients flow from different parameters space and still making sense , and the use of residual connections , layer normalisation .. etc ...

March 17, 2025 · 7 min · Mohit Dulani

Learning internals of building a PC

computer from starting up computerphile explaining CPU Inside a CPU blog explaining cpu working compiler explorer What is a disassembler? and what does that mean? Disassembles Machine code to human readable assembly code and the assembly code is specific to the processor as it depends on ISA of the processor !! Popular disassembler is IDA ( integrated disassembler ) Modern compilers add a lot of functions to make it efficient so its becomes an art decompiling it !! ...

March 7, 2025 · 9 min · Mohit Dulani

Learning Authentication

Learning Authentication and Authorization HTTP in itself is stateless that is each request is considered as a seperate new request and with no previous baggage or memory. 3 basic terms : Session JWT Cookies JWT : JSON web token, 64 bit cryptographic hashed token, has 3 parts seperated by ‘.’, those are headers, payload, and server side secret-key , so if anyone tries to change any value in any of the fields the hash will change and will no longer remain valid and our server side secret wont be able to match it (uses minimum resources to validate, only a single secret string that can be stored in env also ) , this JWT can be stored in a cookie, local storage , memory etc ...

March 6, 2025 · 3 min · Mohit Dulani

Learning about Hardware and ROS and controllers

Learning Hardware stuff Nice_Chat : https://chatgpt.com/share/67c0be3f-ca80-8009-b271-f3c1f626edbf Terms VLSI : Very large scale integration ( millions / billions of transistors on chip FPGA : Field programmable gate array SoC : Systems on Chip GPIO : general purpose input output ( can act as input or output pin, depending on the code and its usage ) HDL : hardware description language verilog : its a type of hdl , that is used to model electronic system Esp32 : One of the most popular microcontroller that is inbuilt with bluetooth and wifi card ! ATmega328P : Microcontroller that is used in Arduino UNO Learning microcontrollers What is a firmware ? Firmware is a low level control over hardware , directly written in the hardware RAM, to the memory ( embedded in metal ) kinda like a kernel that manages / controls the microcontroller ...

February 28, 2025 · 7 min · Mohit Dulani

Learning TypeScript

Typescript Intro and Setup for Typescript Superset of Javascript, its built on top of JS JS is a dynamically typed language, where we dont define the types and they are associated with run-time also like python whereas, TypeScript is a statically typed language, you define types to variable like , C , java You need to compile Typescript to work for your case, it compiles .ts to .js and Learning typescript let id = 5; // js let id: number = 5; // typescript Here we defined a type and as the modern browsers can only understand JS and no this fancy languages so we need to compile this to JS. ...

February 28, 2025 · 6 min · Mohit Dulani

Learning nginx

Proxy Something that sits in front of client is called proxy ! HTTP and Frontend working So the frontend code renders on the user site (everyone knows but how does that happen ?) The user requests the site url https://mysite.com , the http protocol goes to the hosted server and gets code for frontend site data and then render to the user system. In the frontend code we mention in depth what we want , how we want , how to interact with the data .. ...

February 16, 2025 · 22 min · Mohit Dulani

Web Scraping

Learning to scrape web The modern web is dynamic, so we need to use a tool that can atleast scrape dynamic content and get the relevant results The static scraping sites like : Requests , cheerio, they dont work for dynamic site Dynamic sites scraping : Use tools like playwright ( inject javascript on site load and get the data ) But modern sites catch this data (playwright) We have something called Chrome Devtools Protocol ( CDP ) CDP is a low-level, JSON-based protocol that allows external tools to interact directly with Chromium-based browsers (like Chrome and the Chromium engine used by Edge). ...

February 10, 2025 · 3 min · Mohit Dulani