Shreyash (@WebDevCaptain) header
Shreyash (@WebDevCaptain) profile picture

Software Engineer | Full-Stack | AI and Machine Learning Building something that excites me 🔥

Bengaluru
Joined March 2012
Shreyash retweeted
celld's otel with parquet files is so nice. literally an entire observability stack enabled with one flag. across multiple services with-in your worker app, queryable with duckdb. when you have the right abstractions (workers programming model) things just click
23
15
4
487
25,435
A malicious release of LiteLLM on PyPI stole passwords and keys from machines, even if your code never used LiteLLM. Here is how it worked... First, how it got in. The attacker added one line to the build config: `data = "cook"`. That line caused three extra files to be included in the package during the build. The public GitHub repository did not contain this line, so the source code looked clean. Only the published package was malicious. Second, why it ran without being imported. Python has a feature where a `.pth` file in `site-packages` can execute code every time Python starts. The attacker added a `cook.pth` file containing a single line: `import cook`. From that point on, almost any Python process on the machine could trigger the stealer: your app, pip, your editor, or your CI jobs. Third, what it stole. It went after almost every secret a developer machine might have: - SSH keys and shell history - AWS, Azure, GCP, k8s, and GitHub credentials - Claude Code, Cursor, and Codex Keys - Saved browser passwords - Environment variables - LLM API keys stored in a LiteLLM proxy database Fourth, how it pushed data out. It encrypted everything so that only the attacker could decrypt it, then uploaded it to a `/healthcheck` URL, making the traffic look like a routine health check. Turns out, we cannot trust the source repository alone. We need to also, pin package versions (classic) with hashes, give new releases time to be scrutinized before adopting them, and inspect the actual artifacts you install. Security is more critical than ever! The software supply chain is a different beast. You can audit every line in a repository and still end up running malicious code. Interesting times.
71
85
18
1,010
54,104
We have presents for you! 🎁 - A new WebMCP Skill with best practices for security, development, & consequential flows - WebMCP Types: TypeScript definitions, with type inference from InputSchema Give em to your agent, it helps scaffold out WebMCP so fresh and so clean clean
40
128
15
876
73,337
Shreyash retweeted
I love how anpad BJP goons and some Silicon Valley right wing bros both got offended by this tweet. Goes to show that having the ability to write code isn't the pinnacle of intellectual achievement. People in tech need to get more into Humanities.
If you are an Indian working in Tech and you support BJP, you are patently supporting a majoritarian right-wing fascist govt. If you also happen to live in the West, you have no right to complain about how you get treated here.
33
38
4
436
15,031
Thanks for teaching today’s youngsters many of the same lessons, Modiji!
Personally, the Emergency brings back many memories. As youngsters, we learnt a lot during the anti-Emergency movement.
843
5,870
160
46,175
2,098,663
Shreyash retweeted
Meet Husky: a Model-Specific Inference (MSI) engine up to 4.5× faster than Apple's MLX Woof, Underdog's Pareto frontier model, now runs up to 730 tokens/sec on a MacBook Finally local models are as fast & capable. Try it now in underdog.ai - your personal private AI
260
229
52
2,795
437,229
Shreyash retweeted
Reinforcement learning
92
1,048
105
10,814
852,263
You don't need a Studio to run a local model. 16 GB is enough - a base MacBook Air or Mac Mini. At that size, Qwen3.5-4B at 4-bit is the pick. It uses 6 GB and hits ~61 tok/s on a base M4 Mini, leaveing 10 GB for everything else. $ rapid-mlx recipe The command reads your Mac and picks two models: the smartest one that fits, and the fastest one. You never have to work out which quant loads.
27
96
6
913
81,419
Shreyash retweeted
NVIDIA has lost it 🤯 Someone just made CUDA run on Apple Silicon. Your MacBook can now run the same particle simulations NVIDIA H100 clusters do, using the EXACT CUDA code they wrote. For years, CUDA only speaks NVIDIA. Apple GPUs speak a different language called Metal. So they built a translator chain using get 5.6 sol that rewrites CUDA 5 Metal step by step through existing compilers. zero source code changes. They tested it on a heavy 3D fluid simulation, not a hello-world demo. this one sorts particles, builds neighbor lists, and runs atomics simultaneously. the kind of workload that breaks toy translators. Results on a single laptop chip: → Apple GPU: 6 seconds → Same code on CPU: 60 seconds → 10x faster, GPU fully saturated the entire run The translation layer wasted zero performance. cross-compilation usually eats 30–50% of your throughput. this eats none. Every CUDA codebase in the world just became runnable on a MacBook. the NVIDIA moat everyone said was uncrackable just got a crack. 100% open source.
55
199
42
2,021
528,448
Shreyash retweeted
18 hours, 233K views and 463 replies later the ultimate @Hetzner_Online alternative The leaderboard per mentions: 1. @netcup — 43 2. @ContaboCom — 41 3. @OVHcloud_US — 38 4. @digitalocean — 20 5. Self-hosting — 19 6. @Hostinger — 11 7. @OracleCloud — 8 8. @ionos_help_US / @linode — 7 each 9. @awscloud / @Vultr — 6 each But the best provider depends on the job: → EU + best value: Netcup → Maximum RAM per dollar: Contabo → US or dedicated servers: OVH → Easy, reliable production: DigitalOcean → Personal projects: self-host → Cheap and beginner-friendly: Hostinger → Experiments: Oracle’s free tier Netcup users reported paying: • €8.10/month for 8GB RAM • €20.99/month for 24GB RAM + 10 cores Contabo was the most polarizing: incredible specs for the money, but mixed reviews on uptime and support. DigitalOcean wasn’t the cheapest, but people consistently praised its reliability and UX.
hetzner price increase is outrageous I am paying 24.99 for my 8GB server If I want another server now, it is 73.49 This is almost a 3x price increase Any hetzner alternative?
42
22
12
477
58,180
I’m Not in good shape but not so bad either... Rather than asking me to break my fast please join me on 20th July... Peaceful March to the Parliament. #cockroachjanataparty #jantarmantar #cjpprotest #chalosansad – at Delhi, India
6,147
29,137
1,311
114,387
7,524,708
Shreyash retweeted
JODER… esto va a romper internet. Un equipo acaba de tirar a la basura todo lo que conocíamos de emuladores de AWS. Se llama Floci. Un solo binario de Go de 13 MiB que levanta 45 servicios de AWS (S3, Lambda, DynamoDB, SQS, SNS, IAM, CloudFormation, Step Functions y más) en menos de 1 segundo. Sin Docker. Sin LocalStack. Sin facturas. Sin 4 GB de RAM robados. Sin esperas de 30 segundos. Solo descargas el ejecutable, lo lanzas y ya tienes toda la nube de AWS corriendo en tu laptop. Por qué esto es una puta locura: • 13 MiB de RAM total. Una pestaña de Chrome consume 200 veces más. • Arranque en frío en menos de 1 segundo. • Un solo binario. Cero dependencias. • Compatible al 100% con AWS SDK y CLI. Apuntas el endpoint a localhost y todo sigue funcionando. • Binarios para Linux, macOS y Windows. Descargas y ejecutas. LocalStack Pro de $40/mes → muerto. Docker Desktop comiéndose tu RAM → muerto. Entornos de staging caros → muertos. Y lo mejor: funciona en CI/CD. Levantas todo el entorno en pipelines en menos tiempo del que tardas en escribir el comando. 100% open source Si eres developer de AWS y esto te ha hecho decir “joder, por fin”… dale like, RT y sígueme. Esto es solo el principio. El local development con AWS acaba de cambiar para siempre.
27
420
6
2,854
171,719
Andrew's post about the Bun Rust rewrite unfortunately starts off way too emotional. But this is a fantastic point made inside the article (Sadly it comes after many paragraphs of personal attacks, but it is a very valid point)
26
13
2
348
47,180
Shreyash retweeted
It has taken longer than expected, but wasm is finally becoming important
51
32
7
839
85,527
Shreyash retweeted
TLDR
never worked anywhere that fights big company antics as actively as we do.
74
221
43
3,369
700,777
Shreyash retweeted
Thread summary: • antirez: Chinese models aren't strong from distilling US ones via API. True distillation needs full logits (impossible at scale, esp. summarized CoT). • Reproducing complex model from few API points = mathematical sci-fi. • DeepSeek showed reproducible pretrain/SFT/RL pipelines; their distills helped thinking but weren't magic. • Black-box API use = SFT on outputs or RL signals (imitation), not proper KD. Limited transfer. • Replies: Anthropic warned on attacks; some call narrative cope, stress independent Chinese scaling & engineering. • TLDR: Stop the nonsense—it shows you don't get ML.
2
1
168
More AI-generated code doesn't make your team faster. It might actually slow you down.
609
2,378
1,389
18,840
6,630,863
See, I have never believed that the divine purpose of human existence is to open some 3-pane text editor with weirdly colored text and hit random keyboard shortcuts all day. Even though I love building apps, and I love the flow state that comes with writing code in an IDE - I have no qualms about the fact that there is nothing to "romanticise" about the IDEs. A tech company CEO (or even many product managers) are after all "prompt engineering" their tech teams to materialsie a reality that they have already imagined. If you can shout at your computer and it conjures up an app, and it actually works, and your users actually like it and use it - so be it. Your end users never cared about how the developer felt when they in their flow state in their IDEs when making that app. But all that said, these statements from Claude team, at least today, feel extreme disrespectful to any and all users of their products. Because the quality and the competence of these agentic systems are just not there. They might be, in few months/years for sure, but today they are not. So when you do not care about the output they generate and only write loops that write more loops that generate prompts, yes sure some code is generated. "Something" comes out of it, but it is the ugly mess that Claude Code is. I implore anyone who has not used anything other than Claude Code, to once, just for trying out, use OpenCode or Pi or Amp or Goose. Just see the difference. Just see how many bugs you're literally living and breating on a daily basis. And they continue to pile on more into it.
This quoted post is unavailable.
45
20
1
389
73,856
Shreyash retweeted
Why does tsgo use so much memory? Because it literally never frees memory allocated for types! And multi-threading overhead makes it likely to duplicate typechecking state on multiple threads I wrote about this in more detail here: zackoverflow.dev/writing/why… Basically: - nearly every type is allocated and then never freed (including transient types which are created and destroyed very quickly) - each thread gets its own type-checking state (types, symbols, etc.) - but they don't share data - so it's very easy for one thread to end up recomputing and allocating memory for types/symbols/etc. that another thread already did The end result is a very high peak memory usage!
13
16
1
311
27,436