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

Looking for a new job!

Morocco
Joined December 2016
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
35
43
11
406
40,106
A quick tour of Qahwa’s Games Room with pool, Last Card, checkers, and a crossword you can solve together. Don’t forget to leave your feedback at the feedback section. joinqahwa.com
4
3
1
31
1,046
A one-minute tour of Qahwa: walk in, sit down, start a focus timer, chat, close a door, switch to Darija. joinqahwa.com
4
1
38
821
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
36
956
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.
25
7
1
156
8,431
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
72
4,095
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
307
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".
245
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
660
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
374
It's live if you want to walk in and look around. Rough edges included: qahwa-app-production.up.rail…
1
9
862
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,148
3,650
917
25,154
3,567,094
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
246
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
246