Hello!
I'm Mahesh, better known as Light . Welcome to my website!
I like to read, code, write. Mostly that's all you'll find here.
Tired of spending hours convincing an LLM to just do that one thing? You have tried lots of different ways to no satisfaction and yet it eludes you why it isn't able to just do this really simple task? Look no further! You've reached the place you'll learn the dark arts of making any LLM head over heels for you. I have worked with LLMs since about two years now and this guide is about what I learnt and how we can ensure the best prompts while also modifying prompts to accomodate evolving requirements.
Often, when working with Typescript, people tend to go for type assertions to suppress errors. Though that does suppress the immediate error, it is often the case that you're causing yourself a pain by not fixing the underlying issue, and exposing yourself to bugs at runtime. The main advantage of Typescript is the types we define, the more accurate they are to reality the less often you'll encounter type related bugs in production.The rest of this article is about type assertion, non null assertion, and how to avoid it.
Tired of downloading random CSVs? This extension lets you view CSV files directly in your browser with easy searching, sorting, and cell content copying.
Get the ExtensionA JS library to convert all sheets of a spreadsheet to a textual format like CSV. Then you can directly feed the resulting text to an LLM.
View on GitHubA todo list app that's actually useful! Jot down your thought immediately on the nearest terminal with this CLI todo list app. It's power lies in managing multiple lists at once and detecting TODO.md in your cwd. Checkout the repo to see all it's features.
View on GitHubAI in NeoVim! This project is a plugin to add AI features in NeoVim. It is super unintrusive i.e. you only interact with it by calling it explicitly. Current features include chat and quick suggestion. A lot more to come!
View on GitHub