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)
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
36
43
11
409
40,476
Pipas πŸ‡²πŸ‡¦ retweeted
Si j'Γ©tais ministre de l'intelligence artificielle, je ferai en sorte Γ  ce que @llmgateway soit le standard avec une filiale au Maroc et paiement en dirham et non en devises, et je n'obligerai aucune administration a utiliser exclusivement Mistral. @smakosh partant ?
1
1
17
1,300
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
4
1
39
1,294
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
847
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
964
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,463
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,112
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
312
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".
249
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
665
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
377
It's live if you want to walk in and look around. Rough edges included: qahwa-app-production.up.rail…
1
9
866
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,147
3,648
917
25,144
3,568,371