4.7M impressions achieved.✅😎
Every interaction helped make this possible. Thank you for the continued support🌸🩷
Want to grow too? Let’s connect and grow together.🫶
@iamstillhe65874@ifOnlyKantala@grok I will want this influencers to be wiped out first… so atleast in the time left I can relive the life it used to be before social media BS
i have open sourced the repo for the Cricket 07 browser port (minus the game files)
link: https://t.co/KD0NxnYDuf
tldr of how i did it:
• took the original 2006 x86 .exe and statically recompiled it to C (~20k functions, ~1M instructions)
• wrote a small windows api layer (heap, files, threads, registry, timers) so the recompiled code can run outside windows. got it booting natively on my mac first
• translated the game's direct3d 8 calls to webgpu, including the old dx8 vertex/pixel shaders -> wgsl
• compiled the whole thing to wasm with emscripten
• multiplayer runs on netplay over websockets with a cloudflare durable object per room
Raft consensus in simple language.
Consider a database with three machines, A, B, and C.
> A is the leader and accepts writes.
> B and C are followers and keep copies of A's write log.
Suddenly, B and C stop hearing from A. A has either crashed or is still running, but B and C can't reach it due to a network partition. But B can't differentiate between the two cases, so it can't declares itself the new leader.
Raft consensus uses a voting mechanism to elect a leader on a majority basis. The failover process is:
1/ A stops sending heartbeats. B and C wait for a short timeout. Both eventually time out, but their timeouts are randomised, so usually only one starts an election first, and a split vote is avoided. This avoids starting an election for one late network message.
2/ B starts an election. It picks the next term. A term is just an election number that always goes up. Then B asks C for a vote.
3/ C checks B's copy of the log. C votes only when B's log is at least as up to date as C's. This stops a machine with old data from becoming leader.
4/ B has 2 votes. B's own vote plus C's vote make a majority. B is now the leader and can accept new writes.
5/ B copies each new write to C. When B and C both have the write, 2 of 3 machines have it. B can now tell the client that the write is saved.
6/ A returns. It sees the newer term from B and becomes a follower. The higher term forces this. A node always defers to a higher term. It stops accepting writes and catches up from B. Any writes A had that were never confirmed by a majority get discarded and overwritten by B's log.
I implemented Raft consensus from the point of view of the failures it prevents in Go. Do take a look.
Day 3 in Observability Zero to Hero we look at SLI, SLO & SLA
• SLI → What are we measuring?
• SLO → What are we aiming for?
• SLA → What are we promising?
You have 2,880 minutes this weekend
This is 104 minute video from Google on AI🤖 Agents. It will take 3.6% of your entire weekend to learn
- Building Agents
- Multi-Agent Systems
- Agent ADKs
That’s it, it just takes 104 mins for you to become AI-aware
Share & Bookmak 📕
After a certain age, your parents slowly become your children. They ask simple questions, repeat stories, and depend on your patience the way you once depended on theirs. Very few understand this role reversal. What looks like innocence or inconvenience is really time coming full circle. Don't correct them harshly. Don't rush them. Care for them the way they once protected you. This is not a burden. It is repayment.