Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas) header
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas) profile picture

Senior Developer @ IIT Madras

Land of Coconuts πŸ₯₯
Joined September 2017
Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)Photo by Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ (@tinyannadas)
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
If you want to get hired, open the screen recorder on your computer and create a short, tailored intro / pitch video to the company you want to get an interview with. DM this video along with a short introduction and link to your 1 page resume to someone in the company responsible for the role you are hiring for. Most importantly, only do this for roles you actually think you’re capable of. It will work 1,000x better than this slop.
Claude Cowork can apply to 50 jobs in under 30 minutes. Here's how to set it up.οΏΌ
109
266
64
4,803
775,114
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Most people will never admit this about web development: the biggest lie in 2025 is that "AI will replace devs." It’s bullshit - but the truth is far scarier. 1/20 ↓
1
1
1
68
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Added a slide to my upcoming QCon AI NYC talk. Because I'm still hearing people say "RAG is dead" when to me it looks more alive than ever. LLMs need context. Either they find it (MCP, etc) or you give it to them (RAG). Both are valid and alive. Many ways to do each.
1
15
1,402
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @gwenshap
Postgres stores each row in β€œpages” (fixed-size blocks of 8 KB). If a value (like JSON) is too big to fit after compression, it is moved to the TOAST storage. lz4 is one of such TOAST compression algorithm I made a post πŸ‘‡ nitter.gq/tinyannadas/status/199…
How does Postgres compress large values? When it’s large (e.g.JSON field), Postgres tries to compress it so it takes less space on disk. Why does Postgres compress large values? Postgres stores each row in β€œpages” (fixed-size blocks of 8 KB). 1. If a value (like JSON) is too big to fit: 2. Postgres compresses it. If still big, it moves it β€œout of line” to a thing called TOAST storage. Think of TOAST as a separate storage area for big values. What is default_toast_compression? It’s a Postgres setting that tells Postgres: β€œWhen you compress large column values, use THIS algorithm.” Two algorithms matter: 1. pglz β†’ the old, slower, worse compression 2. lz4 β†’ the newer, faster, better-balanced one What is LZ4? LZ4 is: - A compression algorithm β†’ shrinks data - Designed for speed first, with decent (not maximum) compression - Much faster to compress and decompress than pglz. - Uses less CPU overall So for JSON storage, which is mostly text, LZ4 is ideal because: - JSON is repetitive β†’ compresses well - Queries read the data often β†’ need fast decompression Why does switching to LZ4 save CPU, memory, and storage? Storage: LZ4 compresses JSON better β†’ smaller TOAST values β†’ smaller disk usage. CPU: Pglz = slow + CPU-heavy LZ4 = very fast β†’ less CPU spent compressing/decompressing JSON Memory: Less data moved in & out of memory buffers.
2
7
1,884
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
India seems to be a good place for significant growth right now. The folks here just need a significant paradigm shift after all. What’s stopping you from doing the things you actually want to do? For the longest time, I thought it was fear. Or failure. Or lack of time. Or lack of clarity. But now I realise the real thing stopping me was… me. I’ve failed a lot. Regretted a lot. Wasted stupid amounts of time. But somewhere along the way, my thinking started to shift. Probably because of the people I met. The conversations I had. The small nudges that hit at the right time. And suddenly I started seeing something new: The future me (Your mind will be blown with this new paradigm!) This guy… He’s everything the current me is trying to become β€” successful, calm, sharp, disciplined, empathetic, respected, and happy. And I trust him. Like crazy. More than I’ve ever trusted anyone in my entire freaking life. That’s the wild part: the person I trust the most is the future version of me. So why not move in the direction of the person I already know I’m becoming? Why not try the crazy things? Why not take the path nobody around me has walked? Why not let go of the insecurities the current me is still holding onto? Because the me of today is already unrecognisable from the me of 2–3 years ago. And the me of tomorrow will be unrecognisable from who I am right now. This phase - this messy transition full of failures, experiments, rewiring, and tiny improvements isn’t a breakdown. It’s a transformation. Honestly, I’ve started treating life like it’s on steroids (not literally lol). Every year should feel like ten. Ten years of growth, packed into one. So what am I waiting for? What are you waiting for? Trust your future self. He’s already cheering for you. He already knows you make it. He’s already built the life you’re dreaming of. All you have to do now is walk toward him. One crazy step at a time.
β€œbased in India” will never be an insult for me. even if we accept that India is not a good place to live, the fact that I’m living a much better life than these haters just shows how pathetic their lives are. I can easily survive on my β€œIndian” income in the US and live comfortably in most parts of Europe. I retired my parents before I turned 20 while these losers live paycheck to paycheck.
2
3
2
25
3,815
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @brankopetric00
Every storage tier has two costs: 1. Storage cost - the price to keep data sitting somewhere 2. Retrieval cost - the price to pull data out and read it Hot tiers make you pay more for storage, less (or zero) for retrieval. Cold tiers make you pay less for storage, more for retrieval.
1
4
1,574
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @brankopetric00
A Lambda invocation is like a tiny isolated worker that must start fresh each time. - that means every limitation, cold starts, memory caps, 15-minute timeout etc directly multiplies when you run millions of units of work. - batch processing is fundamentally different. It’s stateful, long-running, and throughput-driven. - when the goal is to push as many records as possible through a pipeline in a fixed time window, what matters most is control over CPU time, not elasticity. - On ECS/Fargate, a container is just a continuously running process. - No cold starts, no forced restarts every 15 minutes, no need to split work into micro-invocations. - You pay for runtime, not for millions of function calls. - With Spot capacity, you also treat compute like a commodity, squeezing cost per CPU second as low as possible. Here too, the workload didn’t need serverless elasticity; it needed raw, predictable, long-lived compute.
1
5
1,088
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @hnasr
- masking was invented because old network devices could corrupt WebSocket data. - TLS makes this corruption impossible. - so when TLS is used, masking does not add security, it just wastes CPU cycles. - but masking remains part of the standard because of history, backward compatibility, and the difficulty of updating global protocols.
1
1
30
3,767
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @popovicu94
Why mixing gRPC + vsock is amazing? - lower latency - no ip address needed, hence no DHCP, port forwarding, firewall rule - no network packets means no external attackers, more secure
2
2
56
7,883
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @Prathkum
X API is proxied by cloudflare, cloudflare going down will take out X (anytime)
1
3
764
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @brankopetric00
CloudFront’s TTL only applies if the origin provides explicit cacheability. Without that, CloudFront treats objects as β€œmust-revalidate,” ignoring your 1-day TTL.
1
8
4,250
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @thegeeknarrator
Database performance issues I have faced , - Inefficient serialization - excessive use of json fields to store nested objects, instead of building proper relations. - N+1 query problems - bad database design
1
1
4
1,207
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @brankopetric00
In prod, real load = new connections + multiple hosts + DNS lookups per target = resolver overload.
1
8
855
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
We’re a 2-dev startup. Code β†’ push β†’ production (no tests, no CI/CD). Finally setting up a proper pipeline to stop flying blind. Starting with lint + smoke tests β€” curious what else a β€œtiny-team CI/CD” really needs.
1
1
214
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @brankopetric00
For stable, long-running, API-heavy backends β€” containers (ECS/EKS) are cheaper and easier to manage than Serverless. Serverless shines for event-driven, low-frequency, high-burst workloads.
1
2
31
2,486
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Here's a Python gotcha that can waste your time. If you have a method that returns an instance or None, it can be tempting to rely on truthyness in conditions. Like this: thing = get_thing() if thing: do_stuff_with_thing(thing) That works until you define a __bool__ method, then you have created a very confusing bug for yourself. Suddenly sometimes `do_stuff_with_thing` doesn't get called. And if some time has passed, you are going to have a hard time finding the problem. The solution is always to use explicit `is None` (or `is not None`) checks : if thing is not None: do_stuff_with_thing(thing) Consider this a "best practice". Do it even if you can't see an immediate need for it. There is no downside.
16
11
4
166
19,641
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Replying to @brankopetric00
What makes it is that the rate limiting is usually an after thought. We think of it as protective not load bearing
1
1
26
10,332
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
🧠 CPU β€” The general-purpose brain. Handles all kinds of tasks β€” from your OS to your browser tabs. βš™οΈ GPU β€” Built for parallelism. Thousands of small cores working together for graphics, video, and AI math. πŸ€– TPU β€” Google’s custom chip for deep learning. Special hardware that accelerates tensor operations (large-scale matrix multiplications common in neural networks) for model training. πŸ“± NPU β€” The on-device AI engine. Runs neural networks locally on phones and laptops for fast, private inference. The trend: from general β†’ parallel β†’ specialized β†’ personal. Each step makes machines think faster and closer to us.
1
176
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
Redesigned our hero section. Which one feels better β€” Top or Bottom? πŸ‘‡
1
145
Tiny Anna Das πŸ™‹πŸ½β€β™€οΈ retweeted
I still think about this a lot
391
5,753
219
58,451
2,181,764