About

Hi, I'm Krishna. I've been working in the tech industry since 2000. This site is my collection of notes and thoughts on topics that fascinate me: technology, business, coding, Linux, AI, Emacs, home automation, and more.


Latest posts

May 11, 2025

Rust & Iced: Let's draw some arrows!

I have been working on a chess desktop application using the iced GUI library. This is my first big project using rust, so it has been a fun endeavor learning iced as well as rust at the same time. The iced documentation is almost non-existent, so hopefully i can document some of my learnings here for future reference. The iced API is also evolving rapidly, so its possible this gets obsolete pretty quickly, but the general ideas here will still be valid. One of the features I am implementing is the ability to show the contents of a chess pgn file on a chessboard, which means building out a full fledged chessboard in iced. Visual annotations, like arrows, are incredibly useful for highlighting key moves and strategic ideas in chess analysis. In this post, I’ll guide you through the process of drawing these arrows using the Iced Rust GUI library’s canvas feature.

Apr 18, 2025

Using Claude Code with Gemini/OpenAI models

I’ve been wanting to try Anthropic’s Claude Code for a while now, and tried this out today. While exploring options, I came across Claude Code Proxy which is a neat way to use Gemini or OpenAI models with Claude code, instead of just relying on the (expensive) Anthropic models. It works by proxying prompts from claude models to Gemini/OpenAI models that you can configure. To save cost, it uses a BIG_MODEL for complex queries, and SMALL_MODEL for simpler queries. Sonnet and Haiku are the default models for Anthropic, but I tried with gemini-2.5-pro-preview-03-25 for the BIG_MODEL, and gemini-2.0-flash for the SMALL_MODEL. Use the Gemini models page for up-to-date names of these models.

Apr 13, 2025

Quickly subscribing to RSS feeds in FreshRSS

I use a selfhosted FreshRSS instance to manage my rss feeds. I wanted a quick way to add a web page’s rss feed into FreshRSS without copy pasting the URLs. So i created a bookmarklet with the following code to open the freshRSS add-feed page with the URL filled in.