Fully-Faltoo blog by Pratyush

Bio Twitter Screener

31st Oct. 2025

Handling large deletes in MySQL

Last night, a simple delete query brought screener.in down. This is how the things went.

  • One of the tables in the database had around 80 million rows.
  • I ran a MySQL query to delete around 60 million rows.
  • I went off to sleep and my remote shell got disconnected.
  • 7 hours later, I woke to see the website performing very slowly.
  • The disk utilisation showed writes of 80MB/s for the last 7+ hours.

Disk Utilisation Graph in Grafana

After an hour of debugging, this is what solved it.

SET PERSIST innodb_redo_log_capacity = 4294967296; -- 4 GiB

Why did this happen?

I later learned that any …


28th Sept. 2025

Had the second bundle of joy

Radhika and I had our second baby. He shares the birthday date with Radhika - 3rd September.

Whole family welcomes the kid

Kid with the elder sister, Keshavi (Dia)

Kid with Dadi, Nani, Nanu and Doctor Aunty

Baby and the mom

Baby and Me


1st Aug. 2025

CoffeeMode in Neovim

Enso, a writing tool, has a beautiful little feature called CoffeeMode. It enables writing privately in public places. Anything we write appears as a •.

Hide what you type in Neovim

I was sitting in a library recently, scribbling my random thoughts in my jrnl. This CoffeeMode sounds perfect for such moments (such as on airplanes). Interestingly, it was easy to implement this mode in Neovim using the conceal feature.

:syntax match CoffeeShop /[a-z]/ conceal cchar=• :set conceallevel=2 # might need to do this too active it in both normal and insert mode # this allows us to see the …

26th June 2025

Using bgrun to run a command in background

Yesterday I wrote a script to create backups for my server. Just when I ran the script, I realised it would take an hour to complete.

It was 7pm. I needed to leave for home.

I cursed myself for not doing bgrun bash backup.sh instead of bash backup.sh.

The thing is bgrun doesn’t exist.

The closest thing I found was:
nohup your_command > output.log 2>&1 & disown.

Let’s break it down:

  • nohup = no hangup
  • your_command = anything like bash backup.sh
  • > output.log = put the output of the …

23rd June 2025

MarsEdit = more blogging

A bad carpenter blames his tools

I implemented metaWeblog APIs on this blog over the weekend. This allows me to use MarsEdit (or any other blogging tool) for writing posts.

I remember using Microsoft’s Live Writer a lot in the early days. The desktop interface reduces the friction of opening a webpage, logging in, and navigating various menus. I created my own blogging system to avoid the ever-growing complexity of WordPress. Still it is a multi-step work to write. MarsEdit removes this need for a browser and provides focus on writing.

Screenshot of MarsEdit website

What to write …


17th April 2025

Handling DDoS attacks

Handling millions of requests from thousands of IPs is hard! A flood of millions of requests clogs one drain after another.

This is what happened when we had a DDoS attack this week.
  • First, our hard-disk got filled due to access logs
  • Then our hard-disk got filled due to too many open files error logs
  • Various services started hitting file descriptor limits
  • The system started dropping packets and killing connections as the connections table got full

Is it a DDoS?

The best way to check if it is a DDoS is to run the netstat command
sudo netstat -nta …

3rd Jan. 2025

Learning = Sweating. Otherwise it's entertainment.

This post by Andrej Karpathy stuck with me.
There are a lot of videos on YouTube/TikTok etc. that give the appearance of education, but if you look closely they are really just entertainment. This is very convenient for everyone involved : the people watching enjoy thinking they are learning (but actually they are just having fun). The people creating this content also enjoy it because fun has a much larger audience, fame and revenue. But as far as learning goes, this is a trap. This content is an epsilon away from watching the Bachelorette. It's like snacking on those "Garden …

Page 1 of 64.
next last »