i am a software developer. i play chess (roughly 1700 on chess.com) and badminton. i am currently reading Sherlock Holmes (not consistently tho).
a single-threaded TCP server written in C with an event loop using the poll()
system call,
without any third-party library. the server listens on a port and echoes back received data. i've also written
a simple client to test the server.
source code
Focker is a toy container runtime written in Go. it is based on Ubuntu 22.04 rootfs. this was an attempt to
understand how Docker works internally.
source code
i am implementing Neural Networks from scratch in Go and as a byproduct of it, i also created my own version
of NumPy for tensor operations like +, -, *, /, matrix multiplication, transpose etc. it also supports
broadcasting.
source code
web wanderer is a multi-threaded web crawler written in Python. it uses
concurrent.futures.ThreadPoolExecutor
and
Playwright to crawl and download web pages. it handles
dynamically rendered websites, making it capable of extracting content from modern web applications.
source code
a JSON parser written in Go from scratch. it prints error message with line and column number.
Phil Eaton's
blog post
helped me write the lexer and parser. it was fun.
source code
it is a very minimal, nano-like text editor written in C from scratch, using only the standard library. i
followed
Build Your Own Text Editor
tutorial. i learnt a lot about C and linux terminals while implementing this.
source code
it's a simple tool that helps you visualize multi-dimensional arrays. it uses HTML canvas for rendering the
image. i wrote this when i was trying to understand neural networks.
source code
try it
a simple GUI tool written with Tkinter in Python to find and replace all the matches of a regular expression
in files. you can either select the files directly or select a folder, in which case it will recursively look
for matches in files inside the subfolders. i wrote this because i wasn't aware of VS Code's search
functionality at the time.
source code
a
Brainfuck
interpreter written in C. it can also transpile Brainfuck programs to C. this interpreter takes about 45
seconds to run
Erik Dubbelboer's
Mandelbrot program.
source code