
Memento mori · Doing stuff with computers · https://teapaw.org/t.co/UsKPbvlQof
127.0.0.1
Joined May 2017
- Tweets3.6K
- Following747
- Followers342
- Likes2.7K
Zer0shki retweeted
This was in Ghana. I knew immediately from her accent, and I confirmed it by the taxi's color and license plate. She is a gorgeous lady, and she likely noticed his Nigerian accent too, but is most probably tired of being hit on by our "Forward-deployed Thrust Operatives" who only seek Mekwe.
I think this video should not have been shared, and she did the right thing. She was polite enough to listen (as Ghanaian women typically do), but his lines were wack. What is all that about having babies?
For Umu Naija, next time, admit you are a foreigner and want to get to know her better. A small line in Twi, no matter how broken, will get a laugh. Make them laugh first.
Being too forward, as Nigerians do (promising babies — WTF was that?), turns off most Ghanaian women unless they really find you really interesting. They will be polite, not rude, but they don't like Nigerian aggression, especially when you're just casually interested. My unmarried sisters-in-law tell me these things. Sharpen your game. They are the best women to marry on Earth.
Zer0shki retweeted
messaging my wife a link containing proof of her husband cheating on her from an anonymous instagram account and then when she clicks on it texting her to let her know she failed the family phishing test and she has to retake my cybersecurity course
Zer0shki retweeted
I've been working on Clay, a game engine for the web.
Rust compiled to wasm and threejs for core rendering and game logic, React for UI shell. #threejs
Here's the entire Accra built in 3D for a game in Flight. You may see some places you know.
More work on going. Deploying soon!
Zer0shki retweeted
Replying to @Maxin_check
This is my latest project as if this one is any better. Bomber laterine paaaa 😂😂🤣
i love how we major in the minor
A new app designed to help people verify the marital status of their prospective partners before entering into marriage has been launched in Ghana.
Read more in the comments section.
#GraphicOnline
Zer0shki retweeted
Peter Cullen has sadly passed away at the age of 85.
He is the iconic voice of many characters, including Optimus Prime.
Zer0shki retweeted
If you try explain Ghana to somebody them no born for here, he go think sey fever dream.
Because why you go desilt gutter take fill potholes??
Zer0shki retweeted
Lash Haven is offering 10% off when you book on @dooinngs 🥳🤩🎉🚀
Zer0shki retweeted
All that remains is vengeance. Announcing TMNT: The Last Ronin in partnership with @platinumgames. #tmnt #thelastronin @platinumgames_j @tmnt
Teenage Mutant Ninja Turtles: The Last Ronin | Announcement Teaser
Zer0shki retweeted
Sometimes a sentence cuts right to the heart of the human experience in a profound way.
Zer0shki retweeted
Counter-take: even with retries + a proper compensating delete, SAGA is the wrong shape for "register user + send email."
Reach for the transactional outbox instead:
1. Tx: INSERT user, INSERT OTP, commit.
2. after_commit hook enqueues the email job — only fires on commit, so a rolled-back tx can't leak a ghost job.
3. Job retries. Dead-letters if it never succeeds. User sits at confirmed_at IS NULL.
Why this beats SAGA here:
• Re-registration is free. Same email retries → UPDATE the unverified row, new OTP. No duplicate, no race between your DELETE and their second INSERT.
• Login becomes the recovery path. Unverified user logs in → blocked, fresh OTP auto-sent. They never "start the saga over."
• confirmed_at IS NULL is a state, not garbage. Funnel metrics, OTP history, login attempts, partner links — all keyed to a stable user_id. Compensation throws that away.
• No distributed coordination. SAGA needs the compensation itself to be reliable (what if DELETE fails after the email failed?). Outbox needs one thing: the DB commit.
SAGAs earn their complexity when step 1 has side effects DELETE can't undo — charges, provisioned numbers, Stripe customers, shipped packages. "INSERT user" isn't that. Model it as eventual delivery, not distributed rollback, and the system gets simpler.
User = source of truth. Email = side effect. The transaction boundary should reflect that.
Your registration endpoint shouldn’t leave orphaned users in the database when the welcome email fails to send.
The problem: user creation lives in PostgreSQL. Email sending lives in an external service. You can’t wrap both in a single database transaction.
The fix: if the email fails, delete the user and their invitation. This is the SAGA pattern. When a multi-system operation fails partway through, you compensate by undoing the completed steps.
Built this today in Go with Resend for email delivery and PostgreSQL transactions for the rollback.
Zer0shki retweeted
You're wrong, but you're pulling the degree card.
Return your PhD for a refund.
Zer0shki retweeted
Here. Consider this a technical rebuttal from someone in the field.
Clocks don't actually tick every nanosecond. The API returns a nanosecond field but the underlying resolution is way coarser. Windows defaults to about 15ms, Linux is usually microseconds, Java's Instant.now() gives microseconds on most JVMs. Two events 50ns apart get the same timestamp. Even the example in the post gives it away: 20260419080313546650 has 6 digits after the seconds, which is microseconds not nanoseconds. Off by what, 1000x?
At scale, same-timestamp collisions happen constantly. Adding userID only saves you if a single user can never fire two requests in the same tick, but retries, parallel async calls, and replays do exactly that. Then you've got clock skew across nodes: NTP keeps machines within 5 to 100ms of each other, not nanoseconds, so two nodes will absolutely stamp the "same time." And clocks go backward (NTP corrections, leap seconds, VM pauses), which means a pure-timestamp scheme can reissue old IDs after a jump.
This is why nobody in production does timestamp + known-ID. Snowflake = timestamp + machine ID + sequence counter. UUIDv7 / ULID / KSUID = timestamp + large random suffix. UUIDv4 = 122 bits of randomness. DB sequences or Redis INCR when you need strict ordering. Google built TrueTime with atomic clocks and GPS because NTP alone wasn't tight enough. The counter or random suffix is doing the real work. It's there because timestamp + known-ID isn't collision-safe. If the simple version worked nobody would've built the complex ones.
"NIBSS does it this way" doesn't prove anything. Low per-endpoint throughput hides the bug for years, and if they do use timestamp + userID they're almost certainly backed by idempotency keys at the transaction layer that catch collisions before they cause real damage. For payment IDs, a collision means your unique key isn't unique, and everything built on top of that (reconciliation, refunds, dispute lookups) starts producing wrong answers. The fix isn't a cleverer timestamp, it's an idempotency key from the client enforced with a unique constraint at the DB, plus a proper ID generator.
Zer0shki retweeted
Twitter literally had to solve this problem and shared it with us.
I guess they don't have people with degrees working for them.
blog.x.com/engineering/en_us…





























