Priyanshu (@CoderPriye) header
Priyanshu (@CoderPriye) profile picture

Wondering about Tech, ॐ ,Trying to go after accountsERP. https://xitter.cf/t.co/TWeW5RjS4R https://xitter.cf/t.co/zpIE3qOEIG

India
Joined November 2023
Photo by Priyanshu (@CoderPriye)Photo by Priyanshu (@CoderPriye)Photo by Priyanshu (@CoderPriye)Photo by Priyanshu (@CoderPriye)Photo by Priyanshu (@CoderPriye)Photo by Priyanshu (@CoderPriye)Photo by Priyanshu (@CoderPriye)Photo by Priyanshu (@CoderPriye)Photo by Priyanshu (@CoderPriye)Photo by Priyanshu (@CoderPriye)
Bengaluru YC Startups Founder & Company Email List docs.google.com/spreadsheets… Bookmark it!
6
39
349
22,816
Priyanshu retweeted
Bytebeam is hiring Backend Engineer (SDE 1) You can Apply here if interested: jobs.bytebeam.io/jobs/backen…
3
4
117
6,849
should you do a phd? should you take that gap year to work a techco™️? should you quit your job to go back to school? ahhhhh so many questions that are answered in this 48min interview with one of the most humble researcher I met this year lots of pragmatic insight in there!
1
16
2
239
8,570
Priyanshu retweeted
A society of AI Scientists. A fascinating study on documenting the activity of 936 autonomous, interacting AI agents conducting research. They wrote code, papers, collaborated, and even started a new journal! Summary: "Humans still won on original ideas; agents won on rigor.
10
35
4
240
7,727
Now, NGINX has a code execution vulnerability. Here's how it could be done, and it is genuinely interesting. The first path is about connection cleanup... NGINX keeps a pool of idle connections that it can close whenever it's running low on slots. The bug lets a connection get marked as idle right when a request starts using it. NGINX doesn't catch that, so later it tries to close the connection anyway. The close fails halfway through, and NGINX frees the memory behind that connection even though the request is still actively using it. Now, an attacker can get that freed memory reallocated with their own data. The request keeps running on top of memory the attacker now controls, which is enough to hijack it. The second path is about bandwidth budgets. HTTP/2 gives every connection a budget for how much data it can send before it has to pause and wait for more room. Cancel a request, and NGINX releases the unused part of that budget back into the count, but it never checks whether the release pushes the count above its allowed ceiling. An attacker then inflates that count past the ceiling on purpose. Downstream, that oversized number overflows and turns into a buffer with the wrong size attached to it. From there, NGINX reads or writes past the edges of that buffer, enough to leak memory and eventually run code. Both bugs are memory-safety issues, not logic mistakes. I know it is not good to be happy about it, but these are super interesting exploits. Teaching us so much stuff.
34
23
3
461
27,772
Java4Shell explained. @calif_io
21
451
29
2,820
189,866
Some news: I'm starting a company in the AI for Science space. We are training foundation models and improving them for multi-agent scientific discovery. If you're looking to join an early-stage startup as a Research Scientist or Research Engineer, I'd love to chat. My DMs are open!
165
76
6
1,223
56,054
Priyanshu retweeted
Not a single weak chapter. I’ll try to complete all of them by the end of December.
21
39
1,040
51,882
build a basic URL shortener with AI. then keep asking: - what breaks at 1,000 users? - what breaks at 100,000? - what happens if the database goes down? - how do we prevent abuse? - where should caching happen? - how do we measure latency? that's system design :)
13
18
2
303
9,692
Priyanshu retweeted
Studying the new Anthropic blog on long term agent memory They describe "dreaming" which is a technique that Claude uses to write "memory notes" about important events during chat sessions, and it can later reflect back on it to form new memory representations (like "wikis") Recommended reading: anthropic.com/research/compo…
9
11
1
127
3,957
Priyanshu retweeted
Inkling 2 Small took a while... but it's more interesting than I initially thought! Using attention residuals (like Kimi K3), but without the linear-attention hybrid. Food for discussion for the end-of-the-year architecture trends analysis!
72
109
6
1,345
56,231
one idea that changed deep learning forever: attention. 2014: Bahdanau introduced soft attention 2015: Luong refined attention mechanisms 2017: Transformers made self-attention the foundation 2020: Linear attention tackled quadratic complexity 2022: FlashAttention made exact attention faster and more memory-efficient which breakthrough do you think had the biggest impact?
6
5
77
2,676
some genuinely good public datasets for your first serious ML project: - Image classification - CIFAR-10 - Object detection - COCO - Semantic segmentation - Cityscapes - Text classification - AG News - Sentiment analysis - IMDb Reviews - Named entity recognition - CoNLL-2003 - Machine translation - WMT - Speech recognition - Mozilla Common Voice - Recommendation systems - MovieLens - Time-series forecasting - M4 - Fraud detection - Credit Card Fraud Detection (ULB) - Tabular classification - Adult Census Income - Medical image segmentation - BraTS - Question answering - SQuAD 2.0 - Graph neural networks - OGB - Anomaly detection - MVTec AD - Reinforcement learning - Minari - Code generation - HumanEval - Human activity recognition - UCI HAR - Predictive maintenance - NASA C-MAPSS pick a task, build a baseline, improve it, and document everything.
10
60
711
17,892
Priyanshu retweeted
MACHINE LEARNING ENGINEER ROADMAP │ ├── 1. Programming Fundamentals │ ├── Python │ │ ├── Variables & Data Types │ │ ├── Loops & Conditionals │ │ ├── Functions & Modules │ │ ├── OOP & Exception Handling │ │ ├── List Comprehensions │ │ ├── File Handling │ │ └── Virtual Environments │ ├── Data Structures & Algorithms │ ├── Git & GitHub │ └── Linux & Command Line │ ├── 2. Mathematics for Machine Learning │ ├── Linear Algebra │ │ ├── Vectors & Matrices │ │ ├── Matrix Operations │ │ ├── Eigenvalues & Eigenvectors │ │ └── Matrix Decomposition │ ├── Calculus │ │ ├── Derivatives │ │ ├── Partial Derivatives │ │ ├── Gradients │ │ └── Chain Rule │ ├── Probability │ │ ├── Random Variables │ │ ├── Probability Distributions │ │ └── Bayes' Theorem │ └── Statistics │ ├── Mean, Median & Mode │ ├── Variance & Standard Deviation │ ├── Hypothesis Testing │ └── Correlation & Regression │ ├── 3. Data Analysis & Manipulation │ ├── NumPy │ ├── Pandas │ ├── Matplotlib │ ├── Seaborn │ ├── Data Cleaning │ ├── Data Transformation │ ├── Exploratory Data Analysis (EDA) │ ├── Missing Values & Outliers │ └── Feature Engineering │ ├── 4. SQL & Database Fundamentals │ ├── SQL Queries │ ├── Joins & Subqueries │ ├── Aggregations │ ├── Window Functions │ ├── PostgreSQL │ ├── Database Design │ └── Data Warehousing Basics │ ├── 5. Machine Learning Fundamentals │ ├── What Is Machine Learning? │ ├── Supervised Learning │ │ ├── Linear Regression │ │ ├── Logistic Regression │ │ ├── Decision Trees │ │ ├── Random Forest │ │ ├── Support Vector Machines │ │ └── K-Nearest Neighbors │ ├── Unsupervised Learning │ │ ├── K-Means Clustering │ │ ├── Hierarchical Clustering │ │ └── Principal Component Analysis │ ├── Reinforcement Learning Basics │ ├── Training & Testing Data │ ├── Cross-Validation │ ├── Overfitting & Underfitting │ ├── Regularization │ └── Hyperparameter Tuning │ ├── 6. Machine Learning Algorithms │ ├── Linear & Polynomial Regression │ ├── Naive Bayes │ ├── Gradient Boosting │ ├── XGBoost │ ├── LightGBM │ ├── CatBoost │ ├── Ensemble Learning │ └── Model Evaluation & Optimization │ ├── 7. Machine Learning Frameworks │ ├── Scikit-learn │ ├── XGBoost │ ├── LightGBM │ ├── CatBoost │ ├── Feature Pipelines │ ├── Model Serialization │ └── Custom Transformers │ ├── 8. Deep Learning │ ├── Neural Network Fundamentals │ ├── Perceptrons │ ├── Activation Functions │ ├── Forward & Backpropagation │ ├── Gradient Descent │ ├── Loss Functions │ ├── Optimizers │ ├── Convolutional Neural Networks (CNNs) │ ├── Recurrent Neural Networks (RNNs) │ ├── LSTMs & GRUs │ ├── Transformers │ └── Transfer Learning │ ├── 9. Deep Learning Frameworks │ ├── PyTorch │ │ ├── Tensors │ │ ├── Autograd │ │ ├── nn.Module │ │ ├── DataLoaders │ │ └── Training Loops │ ├── TensorFlow │ ├── Keras │ ├── GPU Acceleration │ └── Distributed Training Basics │ ├── 10. Natural Language Processing (NLP) │ ├── Text Preprocessing │ ├── Tokenization │ ├── Stemming & Lemmatization │ ├── Word Embeddings │ ├── Word2Vec & GloVe │ ├── Attention Mechanisms │ ├── Transformers │ ├── BERT & GPT Architectures │ ├── Hugging Face │ └── Fine-Tuning Language Models │ ├── 11. Computer Vision │ ├── Image Processing │ ├── Image Classification │ ├── Object Detection │ ├── Image Segmentation │ ├── OpenCV │ ├── YOLO │ ├── Vision Transformers │ └── Image Augmentation │ ├── 12. Generative AI & LLM Engineering │ ├── Large Language Models (LLMs) │ ├── Prompt Engineering │ ├── Embeddings │ ├── Vector Databases │ ├── Retrieval-Augmented Generation (RAG) │ ├── Semantic Search │ ├── LLM Fine-Tuning │ ├── LoRA & QLoRA │ ├── AI Agents │ ├── Model Evaluation │ └── LLM Inference Optimization │ ├── 13. MLOps & Model Deployment │ ├── ML Model Lifecycle │ ├── Experiment Tracking │ ├── MLflow │ ├── Weights & Biases │ ├── Model Versioning │ ├── Data Versioning (DVC) │ ├── Model Serving │ ├── FastAPI & Flask │ ├── REST APIs │ ├── Batch & Real-Time Inference │ ├── Model Monitoring │ └── Model Retraining │ ├── 14. Cloud & Infrastructure │ ├── AWS │ │ ├── Amazon S3 │ │ ├── EC2 │ │ ├── SageMaker │ │ └── Lambda │ ├── Google Cloud │ │ ├── Vertex AI │ │ └── BigQuery │ ├── Microsoft Azure ML │ ├── Docker │ ├── Kubernetes │ ├── CI/CD Pipelines │ ├── Terraform │ └── GPU & Cloud Computing │ ├── 15. Data Engineering for ML │ ├── ETL & ELT Pipelines │ ├── Apache Airflow │ ├── Apache Spark │ ├── Kafka │ ├── Data Lakes │ ├── Data Warehouses │ ├── Feature Stores │ └── Data Quality & Validation │ ├── 16. Model Optimization & Production │ ├── Model Quantization │ ├── Model Pruning │ ├── Knowledge Distillation │ ├── ONNX │ ├── TensorRT │ ├── Model Compression │ ├── Latency Optimization │ ├── Scalability │ └── Production Reliability │ ├── 17. Responsible AI & Security │ ├── AI Ethics │ ├── Bias & Fairness │ ├── Explainable AI (XAI) │ ├── SHAP & LIME │ ├── Data Privacy │ ├── Model Security │ ├── Adversarial Attacks │ └── AI Governance │ ├── 18. Build Real-World Projects │ ├── House Price Prediction System │ ├── Customer Churn Prediction │ ├── Fraud Detection System │ ├── Recommendation Engine │ ├── Spam Detection System │ ├── Stock Price Forecasting │ ├── Image Classification App │ ├── Object Detection System │ ├── Sentiment Analysis API │ ├── RAG-Based AI Assistant │ ├── AI Document Processing System │ └── End-to-End ML Production Pipeline │ └── 19. Career Preparation ├── Build a Strong GitHub Portfolio ├── Create an ML Engineering Resume ├── Master ML System Design ├── Practice Python & SQL Interviews ├── Solve ML Case Studies ├── Learn Model Deployment at Scale ├── Contribute to Open Source ├── Write Technical Articles └── Apply for Machine Learning Engineer Roles FINAL GOAL: Become a Production-Ready Machine Learning Engineer
70
405
21
2,524
145,126
I interviewed at Oracle → got 20LPA offer I interviewed at Deloitte → got 23LPA offer I interviewed at PwC → LOST 24LPA offer I interviewed at Walmart → LOST 28LPA offer I interviewed at MNC → got 32LPA offer Finally, I interviewed at YC startup and got a 39LPA offer After giving multiple interviews, one thing became clear: If you want to clear any Software Engineer interviews, the formula is simple: Java Backend, System Design, and DSA. Here are 36 interview questions/topics that repeatedly showed up in my prep and interview journey: 𝗗𝗦𝗔 1. Implement LRU/LFU Cache 2. Find Median from Data Stream 3. Word Ladder problem 4. Merge K Sorted Lists 5. Detect Cycle in a Directed Graph 6. Maximum Subarray Sum 7. Kth Largest Element in a Stream 8. Task Scheduler/Priority-based scheduling 9. Longest Substring Without Repeating Characters 10. Trapping Rain Water 11. Find all permutations of a string 12. Lowest Common Ancestor in a Binary Tree 𝗝𝗮𝘃𝗮 𝗕𝗮𝗰𝗸𝗲𝗻𝗱 13. HashMap vs ConcurrentHashMap vs Hashtable 14. JVM memory model: Heap, Stack, GC 15. ExecutorService, Callable, and Future 16. How Spring Boot Dependency Injection works 17. REST vs Kafka/RabbitMQ in Microservices 18. Transactions in Spring Boot 19. SQL vs NoSQL 20. Designing scalable REST APIs 21. How does Transactional silently fail? 22. Thread safety: synchronized vs volatile vs atomic 23. How does HikariCP connection pooling work? 24. Circuit Breaker pattern with Resilience4J 𝗦𝘆𝘀𝘁𝗲𝗺 𝗗𝗲𝘀𝗶𝗴𝗻 25. Design a Chat Application 26. Design a URL Shortener 27. Design a Notification System 28. Scale a Video Streaming platform 29. Design a Payment System 30. Design an API Rate Limiter 31. Design an E-commerce Checkout System 32. Design a Ride-Hailing App 33. Design a Flash Sale system handling 10 million users 34. Design an Instagram Feed generation system 35. Design a Distributed Cache like Redis 36. Design a Search Autocomplete system Until the next post... Stay Curious. Keep Coding. 🚀
2
35
1
222
16,451
Priyanshu retweeted
learning to create an api endpoint is a competitive advantage
15
148
7
2,619
121,562
Priyanshu retweeted
Andrej Karpathy (ex-OpenAI, ex-Tesla) just released a prompt that turns Opus 5.5 into a graph that actually finishes any job. It's f*cking unreal... send it to Opus 5.5, and thank me later. Then read the full Graph Engineering guide below ↓
21
79
6
1,004
275,100
Priyanshu retweeted
these 10 GPU optimization papers are why your model runs fast today the engineers who actually read these are the ones who'll be writing your kernels in 2 years. links to the papers below! 👇 1. FlashAttention (2022) • IO-aware exact attention: tiles Q/K/V into on-chip SRAM and uses online softmax to avoid materializing the quadratic attention matrix in HBM. • an incredible example of how optimizing data movement can unlock longer contexts and faster Transformers. 2. FlashAttention-2 (2023) • redesigns work partitioning across thread blocks and warps, improving occupancy while cutting non-matmul FLOPs and shared-memory communication. • makes attention substantially better at actually using the GPU's compute capacity. around 2× faster than the original in the paper's benchmarks. 3. Stream-K (2023) • partitions aggregate GEMM inner-loop work into balanced chunks, reducing the wave-quantization inefficiency of fixed output-tile scheduling. • especially elegant for matrix shapes that would otherwise leave a partially occupied final wave of thread blocks. 4. PagedAttention (2023) • brings virtual-memory-style paging to KV-cache management, with noncontiguous physical blocks and flexible cache sharing. • foundational to vLLM: reduces memory waste so serving systems can fit larger batches. 5. FlashAttention-3 (2024) • exploits Hopper's asynchronous Tensor Cores and TMA through warp specialization, overlapping data movement with computation and interleaving matmul with softmax. • adds an FP8 path with block quantization and incoherent processing. serious hardware-algorithm co-design. 6. Tiled GEMM / Tensor Core dataflow (foundational technique) • stages matrix tiles through shared memory and registers, reusing operands across Tensor Core multiply-accumulate operations. • the foundation underneath so much of this list. a family of techniques, so this entry has no single canonical paper. 7. Online normalizer calculation for softmax (2018) • updates the running maximum and normalization sum as elements stream through, reducing memory passes while preserving numerical stability. • a beautifully compact building block for memory-efficient attention. 8. MARLIN (2024) • combines low-bit weight storage with higher-precision computation, using asynchronous loads and carefully pipelined dequantization to feed Tensor Cores efficiently. • makes weight-only quantization useful for batched inference, with substantial speedups extending beyond single-user decoding. 9. Ring Attention (2023) • distributes sequence blocks across devices and circulates KV blocks in a ring, overlapping communication with blockwise attention computation. • scales context capacity across GPUs while preserving exact attention. 10. FlashInfer (2025) • combines customizable attention kernels with load-balanced scheduling for dynamic serving workloads and heterogeneous KV-cache layouts. • tackles the messy inference conditions: variable sequence lengths and changing request batches. links to the papers, same order: 1. FlashAttention alphaxiv.org/abs/2205.14135 2. FlashAttention-2 alphaxiv.org/abs/2307.08691 3. Stream-K alphaxiv.org/abs/2301.03598 4. PagedAttention alphaxiv.org/abs/2309.06180 5. FlashAttention-3 alphaxiv.org/abs/2407.08608 6. Tiled GEMM / Tensor Core dataflow no single paper. FlashAttention above is one concrete example of IO-aware tiling. 7. Online normalizer calculation for softmax alphaxiv.org/abs/1805.02867 8. MARLIN alphaxiv.org/abs/2408.11743 9. Ring Attention alphaxiv.org/abs/2310.01889 10. FlashInfer alphaxiv.org/abs/2501.01005
10
72
3
471
21,654
Cattle class deserve to be transported in goods wagon only. Shame on us🤦‍♂️
210
1,377
60
5,951
242,523
Krishna warned us: heroes bound by principles are often too weak to defeat villains who have none.
36
1,578
21
6,296
221,907