Sanket's Blog
A personal blog where I share my thoughts and experiences. Css Light and Dark Theme
Dark themes provide significant benefits for user experience and accessibility, particularly for users who experience eye strain from bright displays This document details a robust approach to implementing theme switching in Rust web applications without relying on heavy UI frameworks. March 28, 2023 Python Coroutine
Consider the problem of maintaining a running sum of integers, which we will refer to as the Summer problem (a nod to the season). We will demonstrate how co-routines work by trying to implement running sum. March 08, 2023 Debugging Guide for Vim Errors
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. April 25, 2022 Weird S3 List Permission
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. June 20, 2021 Rust Ownership
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. December 20, 2020