Posts

Showing posts from April, 2025

Working with Markdown and PDF

Image
  Further to my previous post on Claude AI , since most of the GenAI tools (e.g. ChatGPT, Claude) present their default results in markdown, I have been looking for a reliable way to render the markdown.  Additionally, I want to be able to highlight, annotate and save the results for future reference. I reviewed a number of PDF tools. Adobe Acrobat (too expensive) Foxit PDFExpert (doesn't handle PDFs generated from markdown too well; while trying to highlight, it keeps selecting two lines instead of one) PDFGear (great for structuring if you want to add bookmarks like I did for Saurabh Mahapatra's thesis on Adobe Experience Platform's Data Distiller, but not much else) Skim , the most unpretentious on the tools on the list. But it handles highlighting on PDFs generated from markdown just fine. But more importantly, it refreshes when I update the PDF from markdown. My choice of Skim requires further elaboration. When I am researching a topic on Claude, I am constantly upd...
Image
  I spent the Saturday assembling a cedar planter, catching up with a college friend from IIT Roorkee, and exploring Anthropic's new model context protocol for their AI tool Claude.  Yup, that's how I roll! Claude now has richest set of MCP servers  that can be integrated into Claude to augment its capabilities to, for example, search the web (think of it as a sort of RAG), search your filesystem, search your Google Drive, and best of all, save memories about your preferences that Claude can recall and leverage in future exchanges. Think of MCP servers as Anthropic's open-source framework aimed providing a bridge for AI agents or agentic AI to access real world data . In large language models (LLMs), "context" refers to the information the model can "remember" during a single interaction — typically the prompt, any system instructions, and previous exchanges. This is often measured in tokens . One more thing, unless you're running a quantum ...

Solve It! Getting the kitchen sink to drain reliably

Image
  How To Solve It by G Polya I am starting a new "Solve It!" series of blog posts. This book came highly recommended to me many years ago and sadly I never gave it enough of my time. If I can still find it in my shed, I will give it another attempt. It thought of the book because I was reminded of it while trying to come up with a title for this series of blog posts. The book talks about problem solving strategies in mathematics. I won't discuss math here, but the idea is the same. You have to be a deep thinker to solve everyday problems. Contrary to Nobel Prize winners and such, my fascination in life has been with solving the common problems that plague us. The problems are common but the solutions often seem to evade us. This blog series will provide a few examples. Getting the kitchen sink to drain reliably If this sounds like a trivial problem to you, it is likely because you don't cook much or you just call the plumber. Here are the key elements to consider. The...