Skip to content
View samarthyadavv's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report samarthyadavv

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
samarthyadavv/README.md

Samarth Yadav, backend and full-stack engineer in Mumbai. Go, TypeScript and Python.

I build Python backends for model evaluation and document search. My merged work includes two fixes in Cloudflare Workers SDK and four contributions to the ttt editor. I’m based in Mumbai and open to remote backend, full-stack, and developer-tooling roles.

Read the merged Cloudflare KV diff Read the merged ttt clipboard diff Browse all my public pull requests Connect with Samarth on LinkedIn

Two cursors, one undo

In ttt, the status bar could show two cursors while Paste changed text at only the primary one. I made the editor give each cursor one clipboard line when the counts match. It merges overlapping selections and applies edits from the bottom up so an insertion can’t shift the next target. The whole paste goes onto the undo stack as one edit.

Two cursors in the ttt editor: pasting Q and R turns abc and xyz into aQbc and xRyz. One undo restores abc and xyz.

Read the Go regression tests

Inspect the clipboard values

The two cursors sit after a and x.

Action First line Second line
Before abc xyz
Paste Q\nR aQbc xRyz
Undo once abc xyz

More work merged upstream

  • Miniflare now passes JSON and metadata options through local KV bulk reads, so callers can retrieve parsed values and per-key metadata together. KV bulk-read patch
  • Wrangler now exits with status 1 when the Basin SQL service rejects a query, so shell scripts can detect the failure and read the database errors on stderr. CLI error-handling patch
  • ttt completes filesystem paths in the background and discards a directory listing if the cursor moves before it arrives. Path completion patch
Two more merged ttt patches
  • Added the owning plugin’s name to command-palette entries while keeping commands searchable by their original titles. Command discovery
  • Tested per-user plugin settings across editor restarts, including isolation between two users sharing the same plugin installation. Plugin settings tests

Backends and product work

  • Gauge AI compares completed model runs with matching dataset fingerprints and shows both outputs for each prompt that changed from passing to failing. Comparison endpoint
  • Sentinel checks the workspace on both a passage and its parent document before ranking the passages by vector distance for a cited answer. Retrieval query
  • At ProjectBoard, I implemented classroom workflows in Vue, class-edit permission checks in Go, and the in-app and email notifications students received when a teacher added them to a class. ProjectBoard

Patches in progress

  • Open · llama.cpp — I proposed replacing recursive graph traversal with an explicit stack and splitting a WebGPU lookup table to fit WebKit’s limit. Graph and shader patch
  • Draft · Gitea — My repository-list API change uses the repository ID to break ties between timestamps so pagination stays consistent. Repository sorting proposal

Popular repositories Loading

  1. samarthyadav.github.io samarthyadav.github.io Public

    HTML

  2. guessmynumber guessmynumber Public

    guess my number is game buit on purely html css and javascript.

    JavaScript

  3. pig-game pig-game Public

    JavaScript

  4. e-commerce-sanity e-commerce-sanity Public

    JavaScript

  5. React-Admin-Dashboard React-Admin-Dashboard Public

    JavaScript

  6. mern-frontend mern-frontend Public

    JavaScript