Hello there, visitor! 💡

I'm Mahesh aka Light

Everything is Fine

This is my little space on the internet.

Recent tech posts
atom feed
  • A glance at Swift

    I recently picked up Swift. This article is about some of the things in Swift that I thought were cool. I will probably update this as I come upon more cool stuff, which is bound to happen as I’m still starting out.

    read full
  • Making LLMs do what you want

    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.

    read full
  • Iterate over Tuple Type in TypeScript without recursion

    A simple trick to iterate over a tuple in TypeScript without resorting to recursion.

    read full
What I'm upto
Recent projects

ai.nvim

AI 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

CSV Viewer

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 Extension

todo-rs

A 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 GitHub

XLSX to Text

A 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 GitHub
Socials
Recent TILs