Daniel Msanii (@daniel_msanii) header
Daniel Msanii (@daniel_msanii) profile picture

Entrepreneur. Dev. Chess. Incessantly building. https://teapawt.net/t.co/Lx3NDA8GpQ https://teapawt.net/t.co/garnR6JKHG https://teapawt.net/t.co/7Ew2g8dIZt https://teapawt.net/t.co/sXoA2CVorR https://teapawt.net/t.co/9jQYYUuzA2

Nairobi
Joined July 2013
Photo by Daniel Msanii (@daniel_msanii)Photo by Daniel Msanii (@daniel_msanii)Photo by Daniel Msanii (@daniel_msanii)Photo by Daniel Msanii (@daniel_msanii)Photo by Daniel Msanii (@daniel_msanii)Photo by Daniel Msanii (@daniel_msanii)Photo by Daniel Msanii (@daniel_msanii)Photo by Daniel Msanii (@daniel_msanii)Photo by Daniel Msanii (@daniel_msanii)Photo by Daniel Msanii (@daniel_msanii)
Daniel Msanii retweeted
When I first arrived in Silicon Valley, I watched two guys go to lunch, sketch an idea on a napkin, walk into a VC's office that afternoon, and have funding by the end of the week. Back home in Senegal, that same idea would've taken two years of permits, bribes, and government approvals before it could legally exist.  By then, the moment would be dead and the founder would be broke. That gap between what's possible in a free system and what's impossible in an unfree one is the reason I do what I do.
55
232
17
1,105
36,544
I love how creative Kenyan youth are.
On the upside, unemployment pushes those with open mind to get to know what they are capable of. Came across this "selfieccino". 😁 A very proactive GenZ here.
60
Daniel Msanii retweeted
dude computers are actually so fucking insane when you really think about it. we literally figured out how to write some fake-ass rules called code and somehow convinced rocks to follow them. like actual rocks. sand, melted, purified, carved into tiny pathways where electricity just flows in patterns. that’s it. that’s the whole magic. and yet from that we get operating systems, compilers, kernels, networks, distributed systems, machine learning models, entire virtual worlds running inside other virtual worlds. billions of tiny electrical decisions per second, all because we defined some abstract logic. humans basically invented a language of instructions and taught matter itself to execute it.
684
4,254
335
41,762
1,564,911
I recently entered Android Studio to wrap this app in a webview. See, I'm used to building my apps entirely as PWAs. What I'm learning: PWAs are way powerful and don't need gimmicky bypasses because they rely on optimized browsers, not browser engines.
1
1
58
Read more about Cross-Site Request Forgery (CSRF) and Cross-Site Scripting and why CORS won't protect you from them. CORS only protects data privacy (reading). Still, you can send requests that bypass CORS through CURL and clients such as Postman.
As a developer, have you asked yourself : Why does CORS exist if backend already checks auth?
77
I actually miss the old Twitter where there was meaningful engagement. Nowadays it's AI everything. Post anything meaningful and get only 4 views.
This app sucks. My feed is a mix of AI doomerism (all jobs gone in 12mo). Or fear mongering that jobs are still here but you are falling behind if you don’t spend 25/8 upskilling. Is it just me? I need some early spring cleaning on my feed. It’s exhausting.
1
51
Having difficulty deciding which one to go with. Which design do you prefer? Why?
35
As much as possible, I try to write self-explanatory code without comments. Is this self-explanatory enough?
31
Daniel Msanii retweeted
I’m 54, a physicist, have spent decades using mathematics to study the universe, solve problems, and build things. If your work touches numbers, now or in the future, and you want to learn math properly, this thread shows a from-the-ground-up math you’ll actually need:
1,066
3,165
283
25,188
3,140,642
Daniel Msanii retweeted
I tried to manufacture products in Africa. The optimist in me said “let’s create jobs at home!” Here’s what I learned: Getting cardboard boxes requires 1,000 minimum order, 50% upfront, and 4-8 weeks wait.  In the US? Order online, next day delivery, no minimum order. Now multiply that struggle across EVERYTHING you need to run a business. That’s why Africa stays poor.  Not colonialism. Not racism.  The regulations make legal business nearly impossible. And yet we keep adding more regulations, wondering why nothing changes.
264
746
99
3,920
192,289
Bad ideas vs good ideas ❌ Habit tracker ✅ Gut health tracker to help people fix their health issues ❌ Todo list ✅ Auto generated checklists for lawyers from a client file ❌ Link in bio ✅ Productized service to build websites for churches ❌ Directory of tools for indie hackers ✅ Directory of in-home hairdressers sorted by city ❌ The best CRM ever ✅ Browser extension to automatically create an entry to the biggest CRM on the market from a LinkedIn profile, an X account, an email etc ❌ Social media scheduler ✅ Content planner with AI creation for Vtubers ❌ Super AI chatbots ✅ AI assistant trained on Shopify documentation for e-commerce support teams ❌ Pomodoro timer ✅ Time tracking app that auto generates invoices for freelance translators ❌ Job board for devs ✅ Reverse job board for godo developers 👉🏻 All of those are 100% random ideas, but they’re all niched, with a specific target, easy distribution, and an existing market. Coaching sessions starts at $300/h 🙏
44
10
2
345
34,426
Anyone with legs can summit Mount Everest.
The problem with vibe-coding is that it opened the floodgates to a certain kind of person (myself included) who now pushes the idea that you can vibe-code an app in a few days and start printing life changing amounts of money. It’s turning into the same fake and lame energy of the info-guru world where the lifestyle becomes the product by setting unrealistic expectations to lazy people who want to get rich quick. In case I misled people: my belief is you can vibe-code an MVP. You can get interest, a waitlist, even early revenue. If the product is simple or you have basic engineering instincts, sometimes you really can build and scale something meaningful fast. It happens. But most of the time building real software still takes months. It needs iteration, debugging, new features, and actual users so you can test and fix. Non-engineers often misunderstand that software is a living, breathing organism. It needs maintenance, it needs oxygen (distribution and growth), and none of that is instant or finitely required. Anyone claiming you can fully automate marketing is lying. Anyone promising thousands of paying users overnight is selling an edge case. These outcomes happen, but they’re rare and treating them as the standard is how people end up disillusioned and angry. A lot of the “software fell off” narrative comes from comparing today to the 2000s/2010s, when (I believe) companies were built with decades in mind. Too many founders now (again, myself included) fantasize about quick wealth instead of lasting impact, largely due to social media and very largely due to every VC jamming the Cursor, Lovable, etc narrative down our throats (see: the fastest company to 100M ARR charts). I’m not saying you shouldn’t want to get rich, even quickly. That’s actually exactly what I want to do. I’m saying you may see more success by aiming to build something enduring because the opposite is a very unlikely-to-hit gamble where survivorship bias the only thing you see on your feed. To be completely clear (and TLDR): for selfish reasons alone, you should want to build for long-term impact. Do not let social media convince you that you can no-code a $10M ARR SaaS or raising $50M at 22 and exiting in 2 years are normal.
62
Machines versus men.
🚨 MIT just humiliated every major AI lab and nobody’s talking about it. They built a new benchmark called WorldTest to see if AI actually understands the world… and the results are brutal. Even the biggest models Claude, Gemini 2.5 Pro, OpenAI o3 got crushed by humans. Here’s what makes it different: WorldTest doesn’t check how well an AI predicts the next word or frame. It measures if it can build an internal model of reality and use that to handle new situations. They built AutumnBench 43 interactive worlds, 129 tasks where AIs must: • Predict hidden parts of the world (masked-frame prediction) • Plan multi-step actions to reach goals • Detect when the rules of the environment suddenly change Then they tested 517 humans vs the top models. Humans dominated every category. Even massive compute scaling barely helped. The takeaway is wild: Today’s AIs don’t understand environments they just pattern-match inside them. They don’t explore, revise beliefs, or experiment like humans do. WorldTest might be the first benchmark that actually measures understanding, not memorization. And the gap it reveals isn’t small it’s the next grand challenge in AI cognition. (Comment “Send” and I’ll DM you the paper 👇)
33
Where are those who rely on the frontend not sending multiple requests? 😂
I hate Non-idempotent API endpoints. who else ?
26
Daniel Msanii retweeted
This paper shows that you can predict actual purchase intent (90% accuracy) by asking an LLM to impersonate a customer with a demographic profile, giving it a product & having it give its impressions, which another AI rates. No fine-tuning or training & beats classic ML methods.
141
675
134
7,538
904,328
I'm appalled by how many people don't realize that many apps are PWAs, because yes, you can host them in the Play Store and App Store. The only reason no one installs them from the browser is that it's a gimmicky process. UI/UX = skill issue. This 👇 = PWA.
It’s been 10 years and I still don’t know a single person who uses a PWA on their phone. Great ideas, great execution, doesn’t matter. Adoption has its own weird kind of magic.
2
199
Daniel Msanii retweeted
If I had to set up an API, here are 6 protocols I'd consider: 1 REST (Representational State Transfer) ↳ A stateless, resource-based API protocol using standard HTTP methods ↳ Best for: CRUD operations in web and mobile apps ↳ Risk: over-fetch or under-fetch data because of fixed endpoints —— 2 gRPC (Google Remote Procedure Call) ↳ A high-performance, contract-based protocol using a binary format ↳ Best for: internal microservices communication ↳ Risk: limited browser support —— 3 GraphQL ↳ An API query language for clients to request specific data ↳ Best for: frontend-heavy apps with complex data fetching needs and faster response needs ↳ Risk: performance issues from overly flexible queries —— 4 SOAP (Simple Object Access Protocol) ↳ A protocol using XML for messaging with strict standards ↳ Best for: enterprise applications that need high security ↳ Risk: verbose and complex because of XML specifications —— 5 WebSockets ↳ A bidirectional, real-time protocol over a persistent TCP connection ↳ Best for: real-time apps, such as chat or sports updates ↳ Risk: extra logic needed to handle connection states and reconnections —— 6 MQTT (Message Queuing Telemetry Transport) ↳ A lightweight, publish-subscribe protocol ↳ Best for: IoT and sensor devices ↳ Risk: complex queries and large payloads may not work well —— What else should make this list?
11
99
2
473
30,911
Daniel Msanii retweeted
YEAH THAT'S RIGHT 😤 You can now search all viral posts on X using natural language Easily one of the best features I've built into SuperX *mic drop* 🌯 (iykyk)
33
7
2
194
23,033
We get it, browser devs: cache resources so a user's data is preserved next time they load the page, getting rid of unnecessary reloads and improving on speed. But how difficult is it to tell that this new file is updated because of the different sizes?
1
41