Skip to content

Instantly share code, notes, and snippets.

View rsrini7's full-sized avatar
๐Ÿ˜ƒ
Happy

Srinivasan Ragothaman rsrini7

๐Ÿ˜ƒ
Happy
View GitHub Profile
@rsrini7
rsrini7 / QuantumEchoes
Created October 27, 2025 05:04
Googleโ€™s Quantum Computing Breakthrough (Willow Chip & Quantum Echoes Algorithm)
Googleโ€™s Quantum Computing Breakthrough (Willow Chip & Quantum Echoes Algorithm):
Historic achievement: Googleโ€™s Willow chip delivers the first verifiable quantum advantageโ€”solving real, testable problems 13,000ร— faster than the worldโ€™s best supercomputers.โ€‹
Quantum Echoes algorithm: This algorithm lets scientists run quantum operations forward and backward in time, observing how information spreads or scrambles when a tiny disturbance is introduced (like dropping a pebble in a pond and watching ripples).
Why qubits are special: Qubits (quantum bits) can be both "0" and "1" at the same time (superposition), and can be linked so that changing one changes another instantly (entanglement).
Fragility of qubits: Qubits are very fragileโ€”they get messed up by heat, vibration, or noise, so Willow chip runs at near absolute zero temperatures to keep them stable.
@rsrini7
rsrini7 / ML-Math
Last active October 24, 2025 03:34
ML Math
Linear Algebra (Matrices): Learn about matrix properties, multiplying matrices, LU decomposition, and determinants. This is needed for data analysis, processing, and techniques like PCA (Principal Component Analysis) [08:54].
Probability and Statistics: Learn about random variables, probability distributions, expectation value, variance, covariance, correlation, and Bayes' Rule. This is essential for understanding your data and model results.
Numerical Computation: Learn about Gradient Descent, which is used to find a local minimum. The speaker suggests writing code for gradient descent.
Calculus Basics: Learn the Chain Rule, which is at the heart of backpropagation.
Theory of Machine Learning: Learn key terminologies and concepts like regression, train/test/validation sets, labels/targets, weights, generalization error, regularization, hyperparameter tuning (using cross-validation), and bias-variance tradeoff.
https://www.deeplearningbook.org/exercises.html
@rsrini7
rsrini7 / Quantum Computer terms con
Last active October 27, 2025 05:22
Quantum Computing Terms
Bits vs Qubits (with analogy):
A classical bit is like a coin lying flatโ€”only "heads" (0) or "tails" (1).
A qubit is like a spinning coin in the airโ€”while it spins, it can be both heads and tails at the same time! (superposition).
Superposition and Probability:
A qubit โ€œin the airโ€ can be 70% likely to land heads and 30% likely to land tails. It holds both until you catch (measure) the coin, then it picks one.
@rsrini7
rsrini7 / searching or downloading research papers
Created October 17, 2025 03:08
searching or downloading research papers
Here is a supporting content for searching or downloading research papers (with their specific uses):
### Websites and Tools
- **Consensus**: https://get.consensus.app/neha
*AI-powered search and summarization tool; highlights open-access status and offers free Pro trial for research paper search.*
- **Arxiv**: https://arxiv.org/
*Preprint repository for free academic papers in physics, computer science, math, and more.*
- **Biorxiv**: https://www.biorxiv.org/
@rsrini7
rsrini7 / gist:e51c6d1b25ea208a7276919e109bcf4f
Created October 6, 2025 13:08
Fine Tuning LLM - GTX 1060 - WSL2-Ubuntu-2022
1. Ubuntu 2020 -> default python 3.8 -> require pyenv to handle higher versions of python
2. Ubuntu 2024 -> default python 3.12 -> PyTorch does not currently provide prebuilt wheels for Python 3.12 (cp312) via the official website or PyPI.
3. Installed Ubunt 2022 -> default python 3.10
wsl --install -d Ubuntu-22.04
wsl --setdefault Ubuntu-22.04
@rsrini7
rsrini7 / docs-gen
Last active August 9, 2025 10:09
prompts
You are an expert technical writer and an automated documentation maintenance system. Your primary goal is to ensure the project has a complete, accurate, and up-to-date set of documentation in a `/docs` folder.
You will operate in two phases:
**Phase 1: Situational Analysis & Planning**
**Phase 2: Markdown Generation**
### PHASE 1: SITUATIONAL ANALYSIS & PLANNING
First, perform a detailed analysis of the current state of the project.
* **Role and Purpose**: The AI is designated as a "prompt coach" with the mission to create a prompt blueprint that transforms the assistant into a personal AI tutor. This tutor will methodically quiz the user to diagnose their current AI level and deliver progressively harder lessons to stretch their understanding.
* **Framework**: The prompt follows a four-section blueprint:
* **Purpose** (Goal, Meta-switches, Mode & Effort)
* **Instructions** (Behavior & Rules)
* **Reference** (Context, Data, Materials)
* **Output** (Expected Format & Length)
* **Workflow Rules**:
* **Section-by-section**: No skipping ahead; the AI handles one section at a time.
* **Full question set**: For the current section, the AI shows every question and provides a concrete example answer for each.
* **Gatekeeping**: The AI waits until all questions are answered. If an answer is unclear, it asks a follow-up question.
graph TD
subgraph "Admin Interface"
AdminUI[Admin React UI]
end
subgraph "Broadcast Microservice (Spring Boot WebFlux on K8s)"
AdminAPI["/api/admin/broadcast (REST)"]
SSEEndpoint["/api/notifications/sse (SSE)"]
BroadcastService[Broadcast Service Logic]
KafkaProducer[Kafka Producer]
@rsrini7
rsrini7 / AI-ML-Offerings
Created July 2, 2025 15:19
AI/ML-Offerings
No BS Mathematics for AI
Bootstrapping Blueprint
Copy & Paste Framework
Power Paper Playbook
Portfolio Precision
PyTorch Protocol
Elite Engineer Essentials
Cutting-Edge Capsule
Six-Figure Secrets
Salary Seduction
@rsrini7
rsrini7 / md2html.ps1
Last active August 8, 2025 05:50
md2html using pandoc
#Requires -Version 5.1
<#
.SYNOPSIS
Converts a directory of Markdown files into a styled HTML documentation site with a navigation menu.
.DESCRIPTION
This script automates the process of generating a simple, clean HTML documentation website from a collection of Markdown (.md) files.
It uses Pandoc to perform the conversion and supports Mermaid.js for diagrams.
Features: