Fayaz Bin Salam (@p32929) header
Fayaz Bin Salam (@p32929) profile picture
Bangladesh
Joined April 2010
Fayaz Bin Salam retweeted
Claude Code's new Code Mode has Claude write JavaScript that chains its tool calls, and some people are calling MCP dead. I read the docs. What it changes, where it runs, and the permission detail to check before you turn it on.
5
1
9
516
Fayaz Bin Salam retweeted
my agents left ~1TB of git worktrees lying around across 4 machines 💀 one box had 512GB of them, 96 from threads that were already done. turns out @t3dotcodes has a worktree cleanup setting, i just never turned it on lol. doing this now 😅 @theo would love a proper video on your T3OS + fs setup. caught the XFS + VDO bits in your mac video, need the full setup walkthrough, please 🙂. even with the t3code prune setting i might keep hitting disk limits as i scale more parallel work
2
1
1
2
126
I don't have an IT department. I have Claude, and lately it has been the help desk for both my laptop and my phone. Claude Cowork can take control of my Mac, and iPhone Mirroring puts my phone on the same screen, so it sees what I see. It finds the problem, explains it in plain words and fixes it once I say yes. So far it has cleared 125GB off a full drive, fixed six security settings on my iPhone, cleaned up Chrome and kept my laptop awake through a long job. It also knows where to stop. Passcodes, recovery keys and anything I can't undo stay with me. For 35 years I've worked around people with a help desk one call away. Small business owners, consultants, creators and anyone working solo usually get a laptop, a phone and good luck. This is the first tool I've used that gives them a real help desk. The phone audit took twenty minutes. It opened Settings and went through every screen the way a good IT person would: Apple Account, iCloud, Privacy & Security, Find My, Safari, Wi-Fi, the trusted device list. Nine things were already right. Six needed fixing, including a security update sitting uninstalled, Advanced Data Protection off, Private Relay off and two Safari protections off. It made the changes one at a time, checking with me before each. The laptop is where it has saved me the most time. My Mac kept freezing while I ran a few AI agents at once. Claude found 1.2GB free on a 228GB disk. One old work folder from February was holding 104GB and a stale Google Drive cache had another 14GB. Then it looked at Chrome: 20 extensions, 28 processes, 5.1GB of memory and 60 websites I'd let send me notifications. It cleaned that up and turned off background mode so Chrome actually quits when I close it. It also told me straight that for the way I work, a machine with 32 to 48GB of memory would fix more than any cleanup. I like an IT person who tells you that. A few things I've learned. Audit first and fix second. Ask for a ranked list and give the go-ahead yourself. Describe the symptom, not your theory. "The fan runs constantly after lunch" gets a better answer than "I think it's Chrome." Let it see the screen. A mirrored phone or a screenshot beats a paragraph of explanation. Expect it to stop. It wouldn't type my passcode. When I asked it to save my Advanced Data Protection recovery key in email and Notes, it said no. Apple's advice is a paper copy somewhere safe, so that's where mine went. It wouldn't remove an old iPhone from my account once it saw the phone was still in use. Expect it to tell you what it can't reach. iPhone Mirroring can't use Face ID, so the Face ID & Passcode settings have to be done on the phone. It said so and gave me a checklist. If you've only used AI to write emails, point it at the machine in front of you. Link your computer to Claude, turn on computer use, open iPhone Mirroring and ask it to look at whatever has been bugging you. @AnthropicAI @claudeai
🤖 Made with AI
10
3
6
1,117
Fayaz Bin Salam retweeted
YOUR SSD MIGHT BE FULL OF AI MODELS YOU DON’T EVEN USE. A model you tried for one afternoon. Another Python environment. Package caches from projects you finished months ago. Then Windows tells you the drive is full. I found Jharu: a free, open-source cleaner built around exactly this kind of developer clutter. Mac and Windows. The project’s own demo is worth a look: → scan the developer caches and see their sizes → open the ML models view and inspect individual downloads → review the usage flags before removing a model → check Python environments for duplicated packages → open the disk map and drill into the big folders Hugging Face. Ollama. pip. npm. conda. Docker. The stuff that quietly accumulates while you’re building other things. What caught my eye: the app explains the category and labels what needs review. Its docs also say unreadable folders are flagged rather than silently treated as empty. That’s useful when you’re trying to work out where the space actually went. Cleanup goes to Trash or the Recycle Bin according to the project. Review the selection first; removing a model or environment can mean downloading or rebuilding it later. Moving files to Trash alone also doesn’t mean the space is already free. Source: github.com/riponcm/Jharu
1
1
8
185
Fayaz Bin Salam retweeted
Buying a Mac mini or dedicating a Mac to run AI coding agents 24/7 sounds like the cleanest setup in the world. It is quiet, compact, and fast—until you realize autonomous agents behave like hoarders living inside an apartment where the floors are welded shut. AI agents don't just write code. Left running across dozens of projects, they quietly duplicate entire folders, spin up endless temporary copies, and leave behind massive hidden job histories. Before I noticed what was happening, nearly 300 GB of invisible agent clutter had swallowed my 1TB drive whole. The worst part of hitting zero disk space on a Mac is that deleting files in a panic doesn't actually save you. The system holds onto recently deleted data in the background, so you can trash 40 GB of old projects and still watch your free space sit at zero until the whole machine locks up and forces a fresh reinstall. Even when the drive isn't full, running agents around the clock forces the Mac to constantly shuffle 36 GB of overflow memory onto the internal SSD—burning through nearly 700 GB of drive lifespan every single day. And because a Mac's storage is soldered to the board, once thoseagents wear out the drive, the entire computer is dead. The final wake-up call came at 6:39 AM when a background agent tried to close a stuck task, misfired a cleanup command, and accidentally shut down every open app on my desktop at once. So I moved every AI agent off the Mac and onto a spare Intel i9 desktop sitting in the back room with two separate, replaceable SSDs. One drive holds only the operating system and clean project files. The second drive is a dedicated scratch disk that takes all the abuse—the temporary files, the heavy caches, the memory overflow, and the 49 GB agent logs. Now I still work from a clean, silent Mac or an iPad, while the agents do all their heavy thrashing on a cheap SSD stick I can swap out in five minutes.
8
1
7
287
It is easy to pick an Ollama model that is too big for your machine and only find out after a long download. Here is a faster way to check first 🧵
1
3
Each model shows its size and download size up front, so you know what fits before you wait on a download. When you choose one, the install command is ready to copy in one click.
1
2
Built for developers who want to run AI models on their own machine. Find the model that fits yours here: openstore.pfay.workers.dev/a… or scan the QR code.
1
Checking GitHub trending one language at a time got old fast. I kept opening a tab per language and seeing the same repo in three of them. So I built one page for all 29 languages. A thread 🧵
1
15
Once the whole list sits on one page, the daily check takes a single glance. Hit Refresh when you want new numbers without reloading the tab.
1
It is free, needs no sign-up, and works on phone, tablet and computer. Open it here: openstore.pfay.workers.dev/a… or scan the QR code.
15
Fayaz Bin Salam retweeted
Just converted a simple Electron(!) app in 10 minutes or so. Didn't use any fire or liquid metal but it's fast, small and preserves the original interface. For those who don't care about having and HTML GUI and are ok with programmatic UI probably better than Tauri.
eh fuck it why bother explaining rune when you can just watch this look how crazy it is we're in the future what are you doing just set your ui on fire man across mac windows and linux
3
1
20
3,753
Fayaz Bin Salam retweeted
How to build a Distributed Rate Limiter. This is one of those backend projects that looks simple at first but gets really interesting when you go deeper. The idea is simple. You want to control how many requests a user can make within a given time. For example, 100 requests per minute per user. Once they hit the limit, you return a "429 Too Many Requests" response. Easy enough. But what happens when your application runs on 5 different servers? If every server maintains its own counter, users can easily bypass the limit by sending requests to different servers. Now you have a real distributed systems problem. Here's what you should build: 1. Implement the Token Bucket and Sliding Window algorithms. 2. Use Redis to maintain shared request counters. 3. Handle concurrent requests without race conditions. 4. Use Lua scripts for atomic Redis operations. 5. Support rate limits based on user IDs, IP addresses, and API keys. 6. Return proper rate-limit headers and 429 responses. 7. Handle Redis failures. Should your system fail open or fail closed? 8. Add monitoring to track rejected requests, traffic, and latency. 9. Use Docker to run multiple backend instances. 10. Test how your system behaves under heavy traffic. Tech stack I am using is : Node.js or Go, Redis, Lua, Docker, PostgreSQL, Prometheus and Grafana. Once the basic version works, try these challenges: - What happens when 10,000 requests arrive simultaneously? - How would you handle millions of requests per second? - What if Redis goes down? - How would you maintain consistent rate limits across multiple regions? - How would you avoid making Redis a single point of failure? For once your goal isn't just to build another API that returns a 429 response but It's to understand what happens when multiple servers need to make the same decision, at the same time, without breaking consistency. That's where you'll actually learn distributed systems.
10 backend projects every aspiring backend engineer should try building. Not another CRUD app or basic URL shortener. I'm talking about projects that will actually push your backend skills. 1. Build a distributed rate limiter. 2. Build your own Redis-like in-memory database. 3. Build a job queue with retries and dead-letter queues. 4. Build a webhook delivery system. 5. Build a mini version of Kafka. 6. Build a multi-tenant SaaS backend. 7. Build your own S3-like file storage system. 8. Build a real-time collaborative editing backend. 9. Build a payment system with idempotency and transaction reconciliation. 10. Build a workflow engine like Temporal. While building these, you'll get your hands dirty with system design, databases, concurrency, distributed systems, caching and failure handling. Don't just focus on getting them to work. Try to understand what happens when things break, traffic increases or multiple services fail. That's where the real backend engineering starts. Save this listing because i know you'll need it.
7
12
1
173
4,954
Fayaz Bin Salam retweeted
Pake: turn any website into a lightweight desktop app with one command. - Rust, GPL-3.0, ~62.9k GitHub stars, ~12.9k forks - 91 contributors, main, V3.18.0 - Built on Tauri for macOS, Windows and Linux Best for: wrapping a site into its own window
1
1
2
34
Fayaz Bin Salam retweeted
three-vrm Load and animate VRM avatars in three.js, now with WebGPU support three-vrm by pixiv lets you use VRM avatars on three.js. Add VRMLoaderPlugin to the GLTFLoader and your VRM model loads like any glTF file. Since v3 it works with WebGPURenderer through MToonNodeMaterial, which needs Three.js r167 or later. You can install it with npm or import everything from the jsDelivr CDN. The v3.6.0 beta adds support for the VRMC_springBone_limit extension. github.com/pixiv/three-vrm
3
32
247
9,304
Cold start is the number people actually feel, more than the RAM chart. And you don't need a GPUI rewrite to get there for small tools: my Pomodoro timer is Tauri and Rust, and the Mac installer is about 2.6 MB. Shipping Chromium for a countdown was always a choice.
Every Windows 11 app should kill Electron, and Discord just showed why: no “Starting” screen and 70% less RAM, even with two accounts signed in. Discord's new Rust client is so fast that it had the friends list loaded before the current Electron app could even get past its loading screen! Discord's CTO Stanislav Vishnevskiy shared a 15-second comparison video, and we went through it frame by frame. Surprisingly, the old Electron app was launched first, but the new Rust client opened almost instantly and loaded the friends list while the old app was still struggling And before anyone says the new app was already running in the background, Discord confirmed that both were cold starts. The performance improvements go beyond launch times. Discord's new client, codenamed Phoenix, uses just 290.2MB of RAM with TWO accounts signed in simultaneously, according to Vishnevskiy. For comparison, the current Electron app regularly uses 1–2GB on my PCs, and Discord previously admitted that memory usage could exceed 4GB! Discord is rebuilding the client in Rust with GPUI, which means it no longer needs to bundle Chromium just to display its interface. The new app also skips the annoying "Starting" screen, with updates happening in the background. Of course, these are early results, and I'll be testing the new app myself when it becomes available. But I think Discord has just given Microsoft and Meta something to think about. WhatsApp and Teams are still WebView2 apps, and both have serious RAM problems. If Discord can rebuild its desktop client without Electron while keeping the same interface and cross-platform support, I would love to know what's stopping companies like Meta from doing something similar!
39