Sanket's Blog

Debugging Guide for Vim Errors

2 minute read Published: 2022-04-25

Vim's default configuration presents significant debugging challenges due to its minimalistic design. While plugins substantially enhance Vim's capabilities, they can introduce complex error scenarios that require systematic troubleshooting techniques. This guide provides a structured approach to diagnosing and resolving Vim-related issues.

Weird S3 List Permission

2 minute read Published: 2021-06-20

S3's file storage system employs a flat namespace architecture, where all objects are stored as key-value pairs without hierarchical folders. While most interfaces simulate folder hierarchies using / as a path delimiter, this abstraction can introduce security risks when designing access policies for list operations.

Rust Ownership

3 minute read Published: 2020-12-20

Program execution requires persistent storage of intermediate results to support sequential instruction execution. This stateful memory must be carefully managed across concurrent program executions, a task traditionally handled by operating systems through system calls (e.g., brk/sbrk). Programming languages provide abstractions over these mechanisms to enable safer memory management strategies.

Browser Scratch File Editor

1 minute read Published: 2020-07-22

Developers often require ephemeral scratch files for temporary note-taking during workflow without the overhead of context switching. To address this need, a browser-native text editor solution leverages data URLs to create lightweight, on-the-fly text editors.

Linux Input Injection Through Unusual Methods

2 minute read Published: 2020-07-18

For people familiar with Unix philosophy, ["Everything is a file"][everyting_is_file] is a common phrase. Rarely do we get a case to use it in practice. This is one of those cases.