Kal’s Dev Journey
85 subscribers
41 photos
1 video
35 links
My daily journey as a backend and machine learning engineer.
https://www.kaleabs.com

Join https://t.me/KalsDevJourney_chatroom
Download Telegram
🚀 Arifoch Bootcamp 2.0 wrapped up on Saturday but this is just the beginning!

💡 The Hackathon is about to be launched soon.

👉 Updates will be announced in the coming days… stay tuned, #Arifoch🔥

📲 Join the community for all updates: https://t.me/arifochet

#Arifoch #Bootcamp #Hackathon #YenettaCode #Innovation #TechInEthiopia
🔥3
😁3
Surprise surprise
Forwarded from Typespace Media [en]
How to become Pavel Durov: we’ve collected the life principles of the Telegram founder from his latest interview.

Remember:

– Do a lot of sports. Every morning Pavel does 300 push-ups and squats, plus he goes to the gym 5–6 times a week. Sports build stress resistance and boost productivity.

– Give up the phone. Durov tries not to overload his brain with unnecessary information, so he only picks up a smartphone to test new Telegram features.

– Stick to a strict diet. Pavel completely gave up sugar — it causes addiction and an even stronger feeling of hunger, and the more you chew, the less time you have for business.

– Read dystopian novels. You can start with “1984,” “Animal Farm,” “Brave New World,” “The Castle,” “The Plague.” They help you remember what the future should not look like.

– Be born in a family with a genius brother. Nikolai Durov learned to read at the age of three, earned two PhDs in mathematics, and developed Telegram’s encryption algorithm. He was a walking “Wikipedia” for Pavel.

– Buy Bitcoin in 2013. Durov doesn’t make money from Telegram. All his income comes from the bitcoins he bought before the crypto hype. Durov believes the price will rise to $1 million.

You can watch the full interview here: https://youtu.be/qjPH9njnaVU

@typespace_ai
🧠 Need help building your fintech dream?

Whether you're stuck on API integration or refining your product pitch, Arifpay’s Webinars & Consultation Hours have your back.

👩🏽‍💻 Learn directly from experts.

💬 Get feedback, mentorship, and clarity.

📲 Scan the QR or visit arifpay.com to get started.

Powered by Yenetta Code.

📢 Stay connected: t.me/arifochet

#Arifpay #YenettaCode #FintechEthiopia #DeveloperSupport #APIIntegration #DigitalInnovation #HackathonPrep
👌2
Do you know there exists a thing called dropping zeros on your IP address try pinging 127.0.0.1 and 127.1 😊
🔥1
Some local services especially payment infrastructure should be maintained and kept well structured so as to maintain it at any moment its really frustrating for a developer to wait until a service is back again. Koy some times I got questions do they merge it themselves or is some guy approving their requests weys they work on the deployment. 🧐 a small CI/CD pipeline could resolve all this.
Forwarded from Chapi Dev Talks
The 100M Row Reality Check (Community Challenge)

Scaling isn’t a vibe; it’s pain you only feel when the data gets real. I challenge you to build a tiny product, then stuff its database with real-sized data:

Start at 20M rows

Push to 50M

Aim for 100M

Your goals:

get a simple query fast (measure + optimize)

build a tiny analytics dashboard

try deletes and backups without nuking performance

blog your journey: schema, hardware, load method, query times, what broke & how you fixed it

📌 Post your write-up + repo link and share your best p95 query time at each data size.

If you do this, you’ll understand databases before production teaches you the hard way. Let’s see who can make a 100M-row backup and keep the app snappy 😅

Recommendation for ideas

Event Log - Minimal product analytics—think “who did what, when, where”.

Best result definetely i will hire them.
1
Fix for Prisma + MongoDB “ENOTFOUND host.docker.internal” on Local Machines

If you’re using Prisma with MongoDB, you’ve probably seen this annoying error:

getaddrinfo ENOTFOUND host.docker.internal


It happens because Prisma needs a MongoDB Replica Set for transactions, but when Mongo runs inside Docker it often registers itself using a hostname your laptop cannot resolve — especially on Linux or when using a mobile hotspot.

The fix?
Run MongoDB in Docker, but force the replica set to always use:

127.0.0.1
This guarantees Prisma can connect no matter the network.

Working docker-compose.yml (Replica Set for Local Machine)
version: "3.8"

services:
mongo1:
image: mongo:7.0
command: ["--replSet", "rs0", "--bind_ip_all", "--port", "27017"]
ports:
- "27017:27017"

extra_hosts:
- "host.docker.internal:host-gateway"

healthcheck:
test: >
echo "try { rs.status() }
catch (err) {
rs.initiate({
_id:'rs0',
members:[{_id:0,host:'127.0.0.1:27017'}]
})
}" | mongosh --port 27017 --quiet
interval: 5s
timeout: 30s
retries: 30

volumes:
- mongo1_data:/data/db"
- mongo1_config:/data/configdb"

volumes:
mongo1_data:
mongo1_config:

Prisma Connection
DATABASE_URL="mongodb://127.0.0.1:27017/mydb?replicaSet=rs0"
👍2
Well well well