Buchy (@dev_buchi) header
Buchy (@dev_buchi) profile picture

Backend Engineer | Web3 | Golang | Laravel | Mod @BerfBased

127.0.0.1
Joined May 2018
Photo by Buchy (@dev_buchi)Photo by Buchy (@dev_buchi)Photo by Buchy (@dev_buchi)Photo by Buchy (@dev_buchi)Photo by Buchy (@dev_buchi)Photo by Buchy (@dev_buchi)Photo by Buchy (@dev_buchi)Photo by Buchy (@dev_buchi)Photo by Buchy (@dev_buchi)Photo by Buchy (@dev_buchi)
Database Transactions One thing you don't want in a wallet system is money leaving one account without reaching the other. I am building PropInvest, a property investment platform where users can fund wallets and invest in real estate. When an investor puts money into a property, the system needs to: - Deduct funds from their wallet - Create the investment record - Update the property's funding status - Log the transaction Now, what happens if the wallet is debited, but the server crashes before creating the investment? The investor's money is gone, but they don't own any shares. That's a nightmare. This is why database transactions matter. A database transaction lets you group multiple operations together so they either all succeed or all fail. If the wallet debit, investment creation, and transaction log all succeed, the transaction commits. If any step fails, everything rolls back. The wallet stays untouched. No partial state. This is called atomicity, the A in ACID. ACID stands for: - Atomicity: All operations succeed, or none do. - Consistency: The transaction preserves database rules and constraints. - Isolation: Concurrent transactions don't interfere with each other. - Durability: Once committed, changes persist even if the system crashes. For PropVest's wallet operations, every debit, credit, and record is wrapped in the same database transaction. One important detail though: this protects database changes within that transaction. It doesn't automatically reverse an external action, like a payment already sent to Paystack. That is why I also used idempotency keys, locked balances, and reconciliation workers. But transactions were the foundation. When handling money, a successful API response isn't enough. You need to make sure the underlying operations are actually safe. Never assume your code will complete every step. Design your database operations to handle failure.
馃 Made with AI
2
1
3
122
what? you think is impossible? or not necessary? I'm trying to understand the exact reason for this foolish question. I expected you to ask why he wants to build it so that we can educate you, that's a more valid question than "how".....
Dear Obi, Tell us how those 10k health centers will b built
1
52
We are very quick to blame the white man; after all he decieved us, he stole from us, he kidnapped and sold our ancestors as slaves. One fact we often overlook however, is the part our own kin played in this.
1
1
33
It is sad that in this day and age, we still have men like that amongst us who under the guise of "democracy", have decided to align themselves with candidates who are so obviously not the right fit for governance (and this is putting it very politely).
1
7
Why else would men like Yul Edochie and Kenneth Okonkwo be so vocal about their selfish political alignments?
12
probably won't be worth even half that much when vesting is over but still: insane generational wealth! 馃敟
JUST IN: Over 400 Anthropic employees are now worth more than $100,000,000 each following the $ANT IPO. Anthropic's seven co-founders are now worth over $20 billion each. The average Anthropic employee is worth over $40 million.
1
2
89
Forbes recognises 6 Nigerian billionaires. Home-based 1. Dangote 2. Rabiu 3. Adenuga 4. Otedola Diaspora 5. Ogunlesi 6. Awotona 7. Elumelu is also speculated to have reached that milestone, though not officially confirmed included by Forbes yet. The good thing is, regardless of your view on school, you have one example from the list that can support your view. If you believe school no too matter, you have an Otedola that is not a graduate and never really took school seriously. If you are a nerd with heavy belief in book, you have Ogunlesi, a first class graduate of Oxford. If you played draw (2:2) in school, you have Elumelu as your inspiration. If you go to a school that is partly theological, partly secular, you have Dangote as an example. If you do 9-5 and start business early, you have Elumelu. If you do 9-5 for long, you have Ogunlesi that was a salaried employee for 25+ years. If you japa, your children have Tope Awotona to look up to. If you stay in Naija, you have Rabiu, Aliko, Tony to look forward to. If you (or your children) are a tokunboh - born abroad and brought home - you (or your children) your have Otedola. If you're fonee-speaking, you have Ogunlesi. If your oral communication carries heavy dose of your native language, you have Dangote and Elumelu as inspiration. Whose path to billionaire matches your (academic, career & life) philosophy? PS: Otedola does not hold the view that school na scam, but he said he knew right from time it wasn't his thing.
109
932
44
4,467
188,164
Buchy retweeted
If one person gets it by merit, why can that person not be you? Until you approach life like this, there will always be someone or something you can point to or blame. It will never make sense to you that maybe there鈥檚 something you could have done differently.
2
44
177
2,365
as for me, I鈥檒l be successful.
as for me, I鈥檒l be successful.
1
44
Buchy retweeted
i stopped questioning God whenever something bad happened in my life. i stopped worrying cus, whenever i feel a load is too much to bear, i end up thanking God for putting me through it cus, every hard time i've survived has introduced me to a blessing i couldn't have imagined.
2
3
20
428
I just encountered this on a service I just hosted on Render. Easy fix for me was to ping a health endpoint in the service with UptimeRobot. very easy to set up, solved the issue for me
Render is so brutal the way it spins down your backend service. API takes more than a minute to get back up
1
4
121
My life would be 10X better next year.
My life would be 10X better next year.
2
87
Ask yourself: Am I struggling because the task is hard, or because I鈥檓 too arrogant to go back and learn the basics?
19
274
14
2,197
32,179
Buchy retweeted
Subtle reminder that you're supposed to feel overwhelmed. It means you're doing something new. You're taking a new path. You're learning. Growing. You branched into the unknown. It will be frustrating. You will feel lost. It will be painful, but staying the same is even worse.
324
1,000
123
9,561
312,718
North Korea stole $6.3 billion from Binance by inviting one of its engineers to a job interview at a company that didn't exist. And the guy didn't even have access to the money. It took them five months and two separate hacks to pull this off. Back in June, an engineer on Binance's wallet team went looking for an AI tool and installed a tampered Homebrew package. Binance caught it, swapped the laptop and reset the passwords. Problem solved, they figured. Except by then the attackers already knew who worked on that team and what each person did. So they went recruiting. In September a different Binance engineer got a message on a real job site from someone calling himself a project director. First round was a video call with a fake HR person, who even shared a social media account full of personal photos so the whole thing felt legit. Second round was with the "CEO," who told him to download a coding assignment onto his work computer. It was loaded with malware nobody had seen before, and Binance's security software missed it completely. Then they waited. On October 20 they used his laptop plus one of Binance's own internal AI tools to get onto two wallet engineers' computers, and one of those engineers had permission to spin up new code on Binance's systems. Nine days later the attackers did exactly that. They ran a script and used an Ethereum feature called EIP-7702 to hand themselves control of a hot wallet, one of the wallets Binance keeps online to process withdrawals. Money started pouring out at 8:05pm UTC. It took Binance four hours to stop it, which works out to more than $25 million a minute. And it took that long because of a safety feature. Binance splits the signing power on those wallets into pieces held by different parties, so no single employee can ever drain one alone. That sounds great until something goes wrong, because it also meant nobody could hit the off switch on their own. For context, the previous record was Bybit's $1.5 billion in February 2025, also North Korea. This one is four times bigger. Binance has already refilled about 98% of it out of its own pocket and says customers won't lose a cent. Binance says it blocked 57 suspected North Korean attacks this year, and the one that got through started with a guy who just wanted a new job.
JUST IN: Binance says hackers used a fake job interview to hack an employee and gain access to its internal crypto wallets.
191
1,151
81
6,524
971,181
At my last job, they were looking for a senior React Native + Rust dev with 5 years of professional experience I had never developed in React Native. I'd never touched Rust before. Completely underqualified. The only reason why I got an interview is because I met and talked to one of the company's employees in-person. Despite being a junior with less than a year of professional experience (I had just turned 18), I was hired full-time. I was thrown into the deep end. I went from making small web PRs to diving into the React Native codebase. I didn't really touch the Rust code but I read a lot of it. By the time tech layoffs hit, I was the second-to-top contributor of all time (despite writing 95% of my code by hand) and had helped to lead the development of countless major projects. --- Unlike what they say nowadays, you don't need to lie on your resume. Just send it in. What you really need is someone who is willing to invest in you, who can get you past the recruiters. The best way to do that is to meet up with people and talk to them in-person. If I hadn't gone to that in-person tech conference three years ago, I wouldn't have had that job. --- Despite having done frontend/mobile for my whole career, I'm currently interviewing for a few roles that I'm completely underqualified for, including a Senior DevOps role that requires prior experience. Deja Vu. I talked to someone at a tech conference. They connected me to someone who got me past the recruiters. Removing the middle man and the barriers between you and the job market is that easy. Go forth, my unemployed brothers; meet people, talk to people, and show them what you're capable of.
Normal people: "I don't have knowledge/ experience/can't do" Meanwhile devs:
20
59
8
960
82,699
Buchy retweeted
Database Transactions One thing you don't want in a wallet system is money leaving one account without reaching the other. I am building PropInvest, a property investment platform where users can fund wallets and invest in real estate. When an investor puts money into a property, the system needs to: - Deduct funds from their wallet - Create the investment record - Update the property's funding status - Log the transaction Now, what happens if the wallet is debited, but the server crashes before creating the investment? The investor's money is gone, but they don't own any shares. That's a nightmare. This is why database transactions matter. A database transaction lets you group multiple operations together so they either all succeed or all fail. If the wallet debit, investment creation, and transaction log all succeed, the transaction commits. If any step fails, everything rolls back. The wallet stays untouched. No partial state. This is called atomicity, the A in ACID. ACID stands for: - Atomicity: All operations succeed, or none do. - Consistency: The transaction preserves database rules and constraints. - Isolation: Concurrent transactions don't interfere with each other. - Durability: Once committed, changes persist even if the system crashes. For PropVest's wallet operations, every debit, credit, and record is wrapped in the same database transaction. One important detail though: this protects database changes within that transaction. It doesn't automatically reverse an external action, like a payment already sent to Paystack. That is why I also used idempotency keys, locked balances, and reconciliation workers. But transactions were the foundation. When handling money, a successful API response isn't enough. You need to make sure the underlying operations are actually safe. Never assume your code will complete every step. Design your database operations to handle failure.
馃 Made with AI
2
1
3
122
One of the reasons we have so much slop is cause people don鈥檛 understand that just because something can be created doesn鈥檛 mean it should be created.
16
194
8
1,121
15,575
100% and then, have to go back and learn another skill....and the cycle continues. because, no matter how we try to deny it, AI IS taking software engineering jobs, or at least morphing it. Tasks/projects that could take an entire team months can now be handled by a single engineer in a few weeks and if that engineer has solid fundamentals, he can easily maintain/scale it and there will be no consequence of bad code. So, more unemployed software engineers, less entry level roles. we're already feeling it, and AI agents are only getting smarter
The problem isn鈥檛 that we don鈥檛 want to learn a digital skill. We just don鈥檛 want to spend 2 to 3 years learning a skill that doesn鈥檛 exist at the end because AI can now do it better.
1
1
1
5
1,516