---
title: "Samrid (@CaffeineDuck) | Hashnode"
description: "I know that I don't know. Read the latest articles by Samrid on Hashnode."
url: "https://hashnode.com/@CaffeineDuck"
---

@CaffeineDuck

# Samrid

@CaffeineDuck · Kathmandu, Nepal · Joined June 2021

I know that I don't know

### [I tried to put Go inside Python. A Unix socket won.](https://blog.samrid.me/go-wasm-python-unix-socket?utm_source=hashnode&utm_medium=feed)

Five abandoned Python-Go bridges, then the Unix socket that shipped.

9 min read · [blog.samrid.me](https://blog.samrid.me/go-wasm-python-unix-socket?utm_source=hashnode&utm_medium=feed)

[Jul 13](https://hashnode.com/posts/go-wasm-python-unix-socket/6a54d99d401f2b202d317a28)

### [There are no images in π (I found some anyway)](https://blog.samrid.me/images-in-pi-search-engine?utm_source=hashnode&utm_medium=feed)

Ten million digits, an 18-byte perceptual index, and a nearest-neighbor search that runs in a Web Worker.

14 min read · [blog.samrid.me](https://blog.samrid.me/images-in-pi-search-engine?utm_source=hashnode&utm_medium=feed)

[Jul 13](https://hashnode.com/posts/images-in-pi-search-engine/6a54d91ade6c736852f485f6)

### [Data Race in Python despite GIL?](https://blog.samrid.me/data-race-in-python-despite-gil?utm_source=hashnode&utm_medium=feed)

It might even seem silly even to assume that GIL would let you have a condition like data race. But to understand that we'll need to understand GIL.

6 min read · [blog.samrid.me](https://blog.samrid.me/data-race-in-python-despite-gil?utm_source=hashnode&utm_medium=feed)

[4](https://hashnode.com/posts/data-race-in-python-despite-gil/642f282e25084a0ac18043cc) [Apr 6, 2023](https://hashnode.com/posts/data-race-in-python-despite-gil/642f282e25084a0ac18043cc)

### [How to convert the type of function's arguments in Python at runtime?](https://blog.samrid.me/how-to-convert-the-type-of-functions-arguments-in-python-at-runtime?utm_source=hashnode&utm_medium=feed)

Converting the type according to type hints in python

9 min read · [blog.samrid.me](https://blog.samrid.me/how-to-convert-the-type-of-functions-arguments-in-python-at-runtime?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-to-convert-the-type-of-functions-arguments-in-python-at-runtime/61e8409e0204273bdcb11e86) [Jan 19, 2022](https://hashnode.com/posts/how-to-convert-the-type-of-functions-arguments-in-python-at-runtime/61e8409e0204273bdcb11e86)

### [Handling the fear of Asynchronous file handling in Python](https://blog.samrid.me/handling-the-fear-of-asynchronous-file-handling-in-python?utm_source=hashnode&utm_medium=feed)

File handling in Python with aiofiles and asyncio

7 min read · [blog.samrid.me](https://blog.samrid.me/handling-the-fear-of-asynchronous-file-handling-in-python?utm_source=hashnode&utm_medium=feed)

[6](https://hashnode.com/posts/handling-the-fear-of-asynchronous-file-handling-in-python/61e6feed0204273bdcb0f838) [Jan 18, 2022](https://hashnode.com/posts/handling-the-fear-of-asynchronous-file-handling-in-python/61e6feed0204273bdcb0f838)
