Suhrid Mathur (@MathurSuhrid) profile picture

Software Engineer @ShareChatApp

India
Joined March 2020
Photo by Suhrid Mathur (@MathurSuhrid)Photo by Suhrid Mathur (@MathurSuhrid)Photo by Suhrid Mathur (@MathurSuhrid)Photo by Suhrid Mathur (@MathurSuhrid)Photo by Suhrid Mathur (@MathurSuhrid)Photo by Suhrid Mathur (@MathurSuhrid)Photo by Suhrid Mathur (@MathurSuhrid)Photo by Suhrid Mathur (@MathurSuhrid)Photo by Suhrid Mathur (@MathurSuhrid)Photo by Suhrid Mathur (@MathurSuhrid)
Suhrid Mathur retweeted
Don't reinvent the wheel. Install it from npm, along with four hundred wheels you never asked for.
22
64
5
703
22,213
If I were the Prime Minister and the rivers in my country were in such a condition, I would be too embarrassed to travel abroad and meet global leaders until I fixed this.
357
1,135
60
6,417
100,207
💀
40
315
29
9,115
256,163
Suhrid Mathur retweeted
Recommended by Christopher Nolan 🎥 🍿
20
648
8
11,226
476,276
Suhrid Mathur retweeted
If this man can do it then imagine how useless our opposition is.
448
774
93
10,210
313,033
Suhrid Mathur retweeted
Ironically, the ones who prevent fires are the ones that burn out.
As an engineering leader, every few months you should remind yourself of this.
2
13
1,050
Suhrid Mathur retweeted
I want this Government to be criticised. Criticism makes democracy strong: PM @narendramodi
2,797
7,298
3,732
20,264
Suhrid Mathur retweeted
BJP will organize massive dharnas and protest march in all the state capitals of the country on 4th & 5th May, 2013. http://t.co/kK3JCVxT1x
116
383
216
991
Suhrid Mathur retweeted
Ho skta Dharmendra pradhan ko resignation letter likhne na atta ho
293
2,895
171
27,390
338,694
Suhrid Mathur retweeted
Gianni Infantino🗣️: “FIFA is officially the provider of happiness” Trump🗣️: “Unless his team loses (Argentina) Trump calling out Infantino for being corrupt right to his face on live camera is wild😭😭
1,570
26,703
2,572
244,130
12,565,498
Suhrid Mathur retweeted
Anyone disrespecting Cristiano Ronaldo isn't truly a football fan. It's time we gave him his flowers. You can be fans of both Ronaldo and Messi. Nobody has ever worked harder, sacrificed more, or shown greater discipline than him in football history.
1,103
1,719
435
13,696
543,047
Suhrid Mathur retweeted
And I would chose you again and again.
703
46,193
1,266
198,308
3,869,491
HDFC devaluation 🙂
54
Suhrid Mathur retweeted
Me after Printing Hello World
188
394
88
4,037
153,324
Suhrid Mathur retweeted
Lol these South Indians elect film actors as their CM. Such low IQ behaviour. They should learn from us. We have elected Gangsters & Crime Lords as our ministers & CMs.
153
1,617
64
15,981
375,185
Bro became Chief Minister. • His assistant is an IAS officer. • His advisor is a CA • His peon is a graduate. But the Chief Minister himself is illiterate. Long live democracy
593
3,513
144
17,945
389,170
Suhrid Mathur retweeted
Walking alone through a foreign city at night and realizing how far you’ve come has to be a top 3 peak moment of all time
925
22,183
5,556
107,926
19,317,988
Suhrid Mathur retweeted
LLM Knowledge Bases Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating knowledge (stored as markdown and images). The latest LLMs are quite good at it. So: Data ingest: I index source documents (articles, papers, repos, datasets, images, etc.) into a raw/ directory, then I use an LLM to incrementally "compile" a wiki, which is just a collection of .md files in a directory structure. The wiki includes summaries of all the data in raw/, backlinks, and then it categorizes data into concepts, writes articles for them, and links them all. To convert web articles into .md files I like to use the Obsidian Web Clipper extension, and then I also use a hotkey to download all the related images to local so that my LLM can easily reference them. IDE: I use Obsidian as the IDE "frontend" where I can view the raw data, the the compiled wiki, and the derived visualizations. Important to note that the LLM writes and maintains all of the data of the wiki, I rarely touch it directly. I've played with a few Obsidian plugins to render and view data in other ways (e.g. Marp for slides). Q&A: Where things get interesting is that once your wiki is big enough (e.g. mine on some recent research is ~100 articles and ~400K words), you can ask your LLM agent all kinds of complex questions against the wiki, and it will go off, research the answers, etc. I thought I had to reach for fancy RAG, but the LLM has been pretty good about auto-maintaining index files and brief summaries of all the documents and it reads all the important related data fairly easily at this ~small scale. Output: Instead of getting answers in text/terminal, I like to have it render markdown files for me, or slide shows (Marp format), or matplotlib images, all of which I then view again in Obsidian. You can imagine many other visual output formats depending on the query. Often, I end up "filing" the outputs back into the wiki to enhance it for further queries. So my own explorations and queries always "add up" in the knowledge base. Linting: I've run some LLM "health checks" over the wiki to e.g. find inconsistent data, impute missing data (with web searchers), find interesting connections for new article candidates, etc., to incrementally clean up the wiki and enhance its overall data integrity. The LLMs are quite good at suggesting further questions to ask and look into. Extra tools: I find myself developing additional tools to process the data, e.g. I vibe coded a small and naive search engine over the wiki, which I both use directly (in a web ui), but more often I want to hand it off to an LLM via CLI as a tool for larger queries. Further explorations: As the repo grows, the natural desire is to also think about synthetic data generation + finetuning to have your LLM "know" the data in its weights instead of just context windows. TLDR: raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM. I think there is room here for an incredible new product instead of a hacky collection of scripts.
2,938
7,404
2,229
61,116
22,062,055
Suhrid Mathur retweeted
someone should make a vscode extension which plays "FAAAAH" sound whenever a test fails
154
1,589
184
19,267
940,749
In 20 years, vibe coders will look at the Linux kernel repo the way we look at the pyramids. In awe, unable to imagine how they managed to drag all those giant stones and pile them up in the middle of the desert.
247
1,516
99
17,118
534,812