Ken Mwangi (@ken_cipher) header
Ken Mwangi (@ken_cipher) profile picture

Software Engineer @African_RE | Building tech for Africa’s property market | https://nitter.gq/t.co/MijNzXpXzw

Joined August 2016
Ken Mwangi retweeted
done with the first chapter 🤧 who knew HTTP had so many concepts i'll have to revisit it later when i'm practicing really. humbling stuff
11
4
1
357
27,091
Ken Mwangi retweeted
This repo is a goldmine if you are preparing forn Systemd Design Interviews github.com/liquidslr/system-…
40
626
9
4,615
276,894
Ken Mwangi retweeted
We're launching Claude Community Ambassadors. Lead local meetups, bring builders together, and partner with our team. Open to any background, anywhere in the world. Apply: claude.com/community/ambassa…
1,746
3,307
1,457
27,098
6,857,992
You've been using Linux for years. But you're still doing things the hard way. Here are 7 commands that'll save you hours on terminal 1. Forgot to add sudo? - Type `sudo !!` - It repeats your last command with sudo. No retyping. 2. Just created a file? - Use `vim !$` to open it. - The !$ grabs the last thing you typed. 3. Can't remember that command? - Press Ctrl + R and start typing. - It searches your entire command history. 4. Made a typo in a long command? - Type `fc` - It opens your last command in an editor. Fix it and save. Done. 5. Jumping between folders? - Use pushd /some/path to save a location. - Use popd to go back. - No more typing long paths over and over. 6. Want to see your folder structure? - Type `tree -L 2` - Shows everything like an actual tree. Much cleaner than ls. 7. Need to go back to your last folder? - Just type cd - - Takes you right back. Simple. Bonus: Stop writing `cat file | grep something` - Just write `grep something file` - Does the same thing. Way cleaner. I've used Linux for years. These small commands save me time every single day. Bookmark this. Your future self will thank you.
5
23
131
8,460
Ken Mwangi retweeted
you can get so much value out of a small channel
5
57
2
821
24,175
Ken Mwangi retweeted
Since last 2 days I was exploring this GitHub repo. It contains Production-grade Go microservices repo worth studying Link: github.com/meysamhadeli/shop… Here are some key learnings that I found informative to devs like me: - Vertical Slice Architecture - feature folders, not layers - CQRS + Go-MediatR - clean separation, pipeline behaviors - Event-driven with RabbitMQ - async communication - OpenTelemetry + Jaeger - distributed tracing - gRPC for inter-service calls - uber-go/fx for dependency injection - Full test coverage (unit/integration/e2e) It shows how to minimize coupling and maximize cohesion in real microservices.
3
34
2
250
11,880
Ledger before UI update Idempotency everywhere Rate limit everything Tokenize sensitive data Message queues for money flows Version APIs strictly Feature flags for risky releases Canary deploy financial changes Rollbacks must be instant High chaos testing Double-entry ledger invariants (debits = credits, always) Reconciliation jobs daily (and on-demand) against processor/bank statements Immutable audit trail for every state change (who, what, when, why) Separate authorization vs capture vs settlement states (never “one status”) Never trust client inputs for money amounts, currency, or fees Validate currency + rounding rules explicitly (minor units, bankers rounding, etc.) Use strong id keys for external providers (dedupe webhooks + retries) Store raw webhook payloads + signatures for dispute/debugging Exactly-once is a myth, design for at-least-once with dedupe Outbox pattern for publishing financial events reliably Backpressure and circuit breakers around payment providers Strict timeouts + bounded retries (with jitter) for external calls Manual review lane for high-risk actions (limits, velocity, anomaly triggers) Principle of least privilege for IAM, DB, queues, and secrets Encrypt PII at rest + in transit, and rotate keys regularly Secrets never in env files in prod; use a secrets manager + rotation Data retention policies (PII deletion, log retention, legal holds) Separate prod vs non-prod credentials and accounts (no shared anything) Access logs for admin actions and privileged reads (PII access included) Auditability: every balance must be explainable from events + ledger entries Compliance-ready logging: structured, correlation IDs, no sensitive payloads Pen tests + threat modeling before major launches Regular security reviews + dependency scanning in CI Fraud controls: device fingerprinting, IP reputation, behavioral signals Limits everywhere: per user, per account, per instrument, per time window Disaster recovery drills (restore DB, replay events, reconcile balances) SLOs for critical flows (authorize/capture/withdrawal), alert on user pain “Break glass” procedures for incidents (with audited access) Independent auditor-friendly artifacts: policies, runbooks, diagrams, controls Periodic internal audits of controls + access + reconciliation outcomes
- Ledger before UI update - Idempotency everywhere - Rate limit everything - Tokenize sensitive data - Message queues for money flows - Version APIs strictly - Feature flags for risky releases - Canary deploy financial changes - Rollbacks must be instant - High chaos testing
7
40
2,612
They are doing to Rongai what they did in githurai guys don’t be silent about RONGAI
110
9,441
109
13,836
343,751
The blocking of live coverage is so that they can begin executing their SHOOT TO KILL ORDERS without any accountability.
24
2,503
22
4,632
73,434
Unacceptable!
1,242
9,872
495
20,037
630,823
IPOA will say they haven't seen this video!
172
997
87
1,818
122,657
Tuesday is Tuesday
146
2,056
23
5,555
117,801
The DIG Lagat's car was blocked by angry citizens from moving out of his office
51
1,494
27
4,490
181,716
Matatu driver forced to switch off music watu wasikize kuhusu #NaneNaneMatch Mercy Mwangangi City Mortuary Hanifa Aoko #RutoMustBeStopped
59
2,636
40
4,557
155,703
Ken Mwangi retweeted
Unless there is more bravery to stand up for what is fair and right, Christianity will perish
56,424
98,364
15,017
634,305
118,514,969
Ken Mwangi retweeted
Blackout in Nyahururu but 🕯️🕯️🕯️
101
259
115
825
346,940
Alinur is currently being held at Kamakunji police station #FreeAlinur
266
3,568
39
4,913
121,120
Ken Mwangi retweeted
Techies walking Eliud Owalo out with his ICT Bill
2
9
24
1,290
Ken Mwangi retweeted
The Youth are just getting started in our quest to hold the government accountable and co-create a country that works for all Kenyans.
1
155
4
182
8,331