Now on Kobo - Identify birds around you using their sounds
▲ 11 r/eink

Now on Kobo - Identify birds around you using their sounds

There was a popular project recently on identifying birds, we created a open source Kobo (Cobalt) app based on it.

r/CobaltForKobo

u/badhiyahai — 12 days ago

Ganpati donation [rant]

Every year like clock work these f**king juvenile kids and sometimes adults from nearby slums come demanding for ganpati donation.

Demanding, not politely asking, or requesting. The moment you say no, they get aggressive. The money is not the matter, the f**king arrogance as if it's their to demand money. That filthy little pad gives them the right somehow.

Last time I had to call the cops. Same scene again today, almost called the cops but this time they were juveniles and I left it.

reddit.com
u/badhiyahai — 2 months ago
▲ 7 r/myclaw

My coding agent filing taxes - while I use my mac for other work .. 2025 is going to be the last time i did this manually

u/badhiyahai — 3 months ago

JAL to Accor is 5:2 ratio. 20% bonus is going on till 31st July 2026

My miles were expiring in 2 months. And the expiry is hard. Had to convert.

There is one more way to covert, you get yen vouchers. But the value was 1:1 (pts to yen) I think. That would have been a loss at current rate compared to accor.

u/badhiyahai — 3 months ago

Why AI Agents Need a Two-Tier Architecture

What problem are we solving?

Let us start with a problem statement,

>You have to deploy a public facing chatbot, the bot is supposed to be capable of executing various tools, for example ffmpeg.

Now the simplest solution is to just host an app on your server which simply accepts a prompt, decides which tools to call, executes the code on the server itself & returns the output.

   User/Frontend            Your Server                                                                                                              ┃
   +-----------+        +-----------------------+                                                                                                    ┃
   |           |  --->  | LLM picks tool        |                                                                                                    ┃
   |  Prompt > |        |   -> runs code        |                                                                                                    ┃
   |           |  <---  |   -> tools call       |                                                                                                    ┃
   +-----------+        +-----------------------+

Non air-gapped (one machine does everything):

This is an inherently problematic approach. Take an example, an app which lets you run ffmpeg command using a text prompt. User enters "delete the lib ffmpeg"

In the above solution it will eventually run the instructed command no matter how robust the system instruction is. Final result, all the users are affected.

So how do we actually solve it?

The design which we came up with was to have prompts evaluated by OpenAI on a system where we never execute the code. The code is then sent to another machine where ffmpeg is installed, the code generated by the LLM is executed here. Even if the code is malicious it only affects that particular user's ephemeral machine.

   User/Frontend        Persistent Server         Ephemeral                                                                                          ┃
   +-----------+        +---------------+       +--------------+                                                                                     ┃
   |           |  --->  |    Prompt     |  ---> |              |                                                                                     ┃
   |  Prompt > |        |       |       |       | Execute Code |                                                                                     ┃
   |           |  <---  |       v       |  <--- |              |                                                                                     ┃
   +-----------+        |     Code      |       +--------------+                                                                                     ┃
                        +---------------+

Anthropic has also come up with a similar model with managed agents, although they don't explicitly call it as such.

Bonus section

If someone noticed, you might be thinking that what if the prompt injection asks for "Give all environment secrets" in the Persistent Server - wouldn't a successful prompt injection leak our OpenAI secret (used from Persistent Server to generate ffmpeg code)?

Great question! for this reason, we never store OpenAI or any such key in the Persistent Server, it gets injected on the fly by a proxy from a separate vault which contains those keys.

reddit.com
u/badhiyahai — 3 months ago

Thinking of creating a launch video for twitter, how many signups can a 100k views drive?

I checked with chatgpt and it said 0.1 to 1% but wanted to know from someone who has actually seen these numbers.

It might vary from product to product so if you could mention the type of product it was. (Do not link/name it, self promotion rules and all)

reddit.com
u/badhiyahai — 3 months ago

How many signups will a 100k views on launch video on X get me roughly. I will not promote

I checked with ai tools and it says around 0.1 to 1% .. I need to know it from someone who has had the experience and saw the actual numbers. I know it can vary for the type of product.. so if you could mention your product type it would be great, like was it a saas. Don't link your product or name.

reddit.com
u/badhiyahai — 3 months ago
▲ 23 r/grok

Grok uploaded someones home directory to xAI

How are you guys running your coding agents so that this never happens?

u/badhiyahai — 3 months ago

Codex deleted Matt Shumar's entire home directory

And it was the gpt 5.6 Sol. We got habituated to `skip permissions dangerously` and `yolo` and are now playing the victim card.

He blamed the model.

How are you guys navigating this `rm -rf` possibility?

Edit: thanks for all the suggestions, seems like sandboxing is the clear way forward. Will check out instavm

reddit.com
u/badhiyahai — 3 months ago

Created an entire OS-level project from scratch

We just rewrote firecracker from scratch and got 2x speed up and nicer features for an AI agent hosting.

Btw, firecracker is by amazon, to spin up a microvm fast. A sandbox.

github - https://github.com/instavm/tarit

How do i use it?

  1. You can spin up an ec2
  2. give ec2's creds and tarit's readme to your coding agent and ask it to sping up 4-5 sandboxes. Host claude code or codex or opencode inside it. Do anything and the sandbox protects you from mishaps like `rm -rf`
u/badhiyahai — 3 months ago

IHCL gives you 25% off stay and dining coupons even if you hold one share. Came today.

Not many would know. Just fyi.

u/badhiyahai — 4 months ago
▲ 12 r/NixOS

From not knowing what nixos is to providing a first class sandboxing support for it. nixos for the win!

So, one of our customers said, do you guys support "nixos" -- truth be told, i wasn't aware. But was immediately impressed. Still a lot to learn. But you can spin a sandbox in under 200ms with nixos running. snapshot and restore with whatever flake you please etc. all the best things that come with nix. Spin 10s of thounsands of them quickly.

It took a couple of weeks to implement, initially claude code was just doing base debian + some nix based package management, but no we needed a native one, so we didnt do the debian base.

u/badhiyahai — 4 months ago