Pipas 🇲🇦 (@pipas_dev) header
Pipas 🇲🇦 (@pipas_dev) profile picture

Looking for a new job!

Morocco
Joined December 2016
Photo by Pipas 🇲🇦 (@pipas_dev)Photo by Pipas 🇲🇦 (@pipas_dev)Photo by Pipas 🇲🇦 (@pipas_dev)Photo by Pipas 🇲🇦 (@pipas_dev)Photo by Pipas 🇲🇦 (@pipas_dev)Photo by Pipas 🇲🇦 (@pipas_dev)Photo by Pipas 🇲🇦 (@pipas_dev)Photo by Pipas 🇲🇦 (@pipas_dev)Photo by Pipas 🇲🇦 (@pipas_dev)Photo by Pipas 🇲🇦 (@pipas_dev)
Thank you, everyone, for the positive feedback. I've added a new section where you can send me yours. Every message is appreciated. joinqahwa.com
2
2
29
812
20 seconds inside Qahwa, a Moroccan café you work in, in your browser. Walk in, pick a table, start a focus timer. Chat if you want, nobody has to. Walk in as a guest: joinqahwa.com
33
38
11
360
32,950
I'm building a Moroccan café you can work from. Walk in, pick a seat, the laptop opens, start a focus timer. The people around you are working too. Talk to whoever is near you, or don't. Three.js front end, server-authoritative realtime backend. Building it in public.
24
6
1
154
8,093
L Qahwa has a new url: joinqahwa.com
285
Moved Qahwa to its new home: joinqahwa.com
I'm building a Moroccan café you can work from. Walk in, pick a seat, the laptop opens, start a focus timer. The people around you are working too. Talk to whoever is near you, or don't. Three.js front end, server-authoritative realtime backend. Building it in public.
1
3
1
70
3,855
In a coworking app most people don't move for an hour. Sending everyone's position 20 times a second anyway was the biggest waste on my server. Only sending who changed cut per-person download from ~80 to ~22 KB/s at 50 people. Load test with what your users actually do.
5
284
setInterval(50) on Windows fires every ~62 ms. Timer resolution is ~15.6 ms, so 50 rounds up. My 20 Hz game server was quietly a 16 Hz server. Fix: schedule each tick against an absolute deadline, not "50 ms from now".
224
The rule behind Qahwa's whole backend: the server decides, the client predicts. What that looks like in a café where people walk, sit and focus:
1
9
643
Disconnects get a grace period. Refresh and you keep your seat. Leave on purpose and it frees at once.
1
28
What the server never writes to the database: positions, seats, who's in which room. Memory only. Postgres holds accounts, focus history, chat, reports. Keeping those apart made everything easier to reason about.
22
Question for people who work from cafés: what actually helps? The background noise, other people working around you, or just not being at home? Trying to work out which parts are worth recreating online and which aren't.
2
3
362
It's live if you want to walk in and look around. Rough edges included: qahwa-app-production.up.rail…
1
9
836
Pipas 🇲🇦 retweeted
Starship is preparing for catch Flight 15 is targeting to launch as early as Friday, November 13, pending regulatory approval → spacex.com/launches/starship…
1,149
3,652
917
25,153
3,564,433
Pipas 🇲🇦 retweeted
I turned GitHub contribution graphs into Moroccan zellige 🇲🇦 Every day is a tile, your busiest days get a heart, and you can put it in your profile README. Type any username → zellige-nine.vercel.app
1
1
4
233
I turned GitHub contribution graphs into Moroccan zellige 🇲🇦 Every day is a tile, your busiest days get a heart, and you can put it in your profile README. Type any username → zellige-nine.vercel.app
1
1
4
233
Pipas 🇲🇦 retweeted
Where does a raindrop in Morocco end up? I built Widyan, a map of the country’s rivers. Tap anywhere and it follows the water downhill to the Atlantic, the Mediterranean or an inland basin. widyan.vercel.app
2
1
5
220
Open any river to see its whole drainage basin. Fez drains to the Sebou; Marrakesh doesn’t.
1
1
33
The data is HydroSHEDS + OpenStreetMap, and it’s built with Next.js, MapLibre and deck.gl. Where the data has nothing, the map shows “—” instead of making something up.
23