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.
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:
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)
Prisma Connection
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
Forwarded from TIKVAH-ETHIOPIA
የሁሉም የስፖርት ውድድር ውርርድ ድርጅቶች የሥራ ፈቃድ ተሰረዘ።
በኢትዮጵያ ሎተሪ አገልግሎት ፈቃድ ተሰጥቷቸው ሲሰሩ የቆዩ የሁሉም የስፖርት ውድድር ውርርድ ድርጅቶች የሥራ ፈቃድ መሰረዙን አሳውቋል።
በኢትዮጵያ የኢትዮጵያ ሎተሪ አገልግሎት ከፌዴራላዊ ዴሞክራሲያዊ ሪፐብሊክ መንግሥት በተሰጡ መመሪያዎች እንዲሁም ለኢትዮጵያ ሎተሪ አገልግሎት በሕግ በተሰጠው የቁጥጥር ስልጣን መሰረት፣ የሁሉም የስፖርት ውድድር ውርርድ ድርጅቶች የሥራ ፈቃዶች ከታህሳስ 06 ቀን 2018 ዓ.ም ጀምሮ የተሰረዙ መሆኑን ገልጿል።
አገልግሎቱ የፈቃድ ስረዛው አስመልክቶ ባወጣው ይፋዊ መግለጫ ውሳኔው የሕዝብን ጥቅም ለማስከበር የተወሰደ እርምጃ ነው ያለው ሲሆን "ውሳኔው በስራ ላይ ባሉትና ቀደም ሲል በይፋ በታገዱት በሁሉም የውርርድ ድርጅቶች በእኩልነት ተፈጻሚ ይሆናል" ብሏል።
የፈቃድ ስረዛ ውሳኔው የተወሰደው በውርርድ እና በፋይናንስ ዘርፉ ላይ በተካሄደ አገር አቀፍ ጥልቅ ግምገማ ላይ በመመስረት መሆኑንም ተጠቁሟል።
የሎተሪ አገልግሎት ያወጣው መግለጫ"ከዚሁ ጋር በተያያዘ በሂደት ላይ ያለው ምርመራ በዘርፉ ውስጥ የተንሰራፋ ህገ-ወጥ አሰራር፣ የፈቃድ ውል ጥሰት እና ለብሔራዊ ደህንነት ስጋት የሚሆኑ ህገ-ወጥ የገንዘብ ዝውውሮች እንዳሉ በግልጽ አመላክቷል" ነው ያለው።
አገልግሎቱ ለሚመለከታቸው አካላት ባስተላለፈው መመሪያ መሰረት የስፖርት ውርርድ ድርጅቶች : -
• ከታህሳስ 06 ቀን 2018 ዓ.ም ጀምሮ በአካል፣ በዲጂታል ወይም በሌላ መንገድ የሚካሄድ ማንኛውንም የውርርድ ሥራ ወዲያውኑ ማቋረጥ ይጠበቅባቸዋል።
• ሁሉም የገንዘብ ማስገቢያ መንገዶች (Deposit Gateways) አገልግሎት መስጠት ማቆም አለባቸው።
• አዲስ ውርርድ መቀበል ፈጽሞ አይቻልም።
• ሁሉም የሰርቨር መረጃዎችን፣ የፋይናንስ መዝገቦችን እና የተጠቃሚ መረጃዎችን በጥብቅ ጠብቀው የማቆየት ግዴታ አለባቸው።
• ማስረጃን ማጥፋት፣ መቀየር ወይም ማሸሽ በወንጀል ሕጉ መሰረት ያስቀጣል።
ለፋይናንስ ተቋማት (ባንኮች፣ ፔይመንት ኢንስቱርመንት ኢሹወርስ እና ፔይመንት ሲስተም ኦፕሬተሮች: -
• ከታህሳስ 06 ቀን 2018 ዓ.ም ጀምሮ፣ የሁሉም የውርርድ ድርጅቶች የሥራ ፈቃድ በመሰረዙ፣ በእናንተ በኩል የውርርድ ድርጅቶቹ የሽያጭ እንቅስቃሴ እንዳያከናውኑ እንድታደርጉ ጥብቅ መመሪያ ተሰጥቷል።
• የኢትዮጵያ ሎተሪ አገልግሎት እንደ ተቆጣጣሪና አስፈጻሚ አካል በሕግ በተሰጠው ሥልጣን መሰረት፣ ይህን ውሳኔ ከሁሉም መንግስት ተቋማት ጋር በመተባበር በጥብቅ ይከታተላል።
በውሳኔው መሰረት የተላለፈውን መመሪያ የሚጥስ ማንኛውም አካል በሕግ ተጠያቂ እንደሚሆን የኢትዮጵያ ሎተሪ አገልግሎት አሳውቋል።
ቲክቫህ ኢትዮጵያ
አዲስ አበባ
@tikvahethiopia
በኢትዮጵያ ሎተሪ አገልግሎት ፈቃድ ተሰጥቷቸው ሲሰሩ የቆዩ የሁሉም የስፖርት ውድድር ውርርድ ድርጅቶች የሥራ ፈቃድ መሰረዙን አሳውቋል።
በኢትዮጵያ የኢትዮጵያ ሎተሪ አገልግሎት ከፌዴራላዊ ዴሞክራሲያዊ ሪፐብሊክ መንግሥት በተሰጡ መመሪያዎች እንዲሁም ለኢትዮጵያ ሎተሪ አገልግሎት በሕግ በተሰጠው የቁጥጥር ስልጣን መሰረት፣ የሁሉም የስፖርት ውድድር ውርርድ ድርጅቶች የሥራ ፈቃዶች ከታህሳስ 06 ቀን 2018 ዓ.ም ጀምሮ የተሰረዙ መሆኑን ገልጿል።
አገልግሎቱ የፈቃድ ስረዛው አስመልክቶ ባወጣው ይፋዊ መግለጫ ውሳኔው የሕዝብን ጥቅም ለማስከበር የተወሰደ እርምጃ ነው ያለው ሲሆን "ውሳኔው በስራ ላይ ባሉትና ቀደም ሲል በይፋ በታገዱት በሁሉም የውርርድ ድርጅቶች በእኩልነት ተፈጻሚ ይሆናል" ብሏል።
የፈቃድ ስረዛ ውሳኔው የተወሰደው በውርርድ እና በፋይናንስ ዘርፉ ላይ በተካሄደ አገር አቀፍ ጥልቅ ግምገማ ላይ በመመስረት መሆኑንም ተጠቁሟል።
የሎተሪ አገልግሎት ያወጣው መግለጫ"ከዚሁ ጋር በተያያዘ በሂደት ላይ ያለው ምርመራ በዘርፉ ውስጥ የተንሰራፋ ህገ-ወጥ አሰራር፣ የፈቃድ ውል ጥሰት እና ለብሔራዊ ደህንነት ስጋት የሚሆኑ ህገ-ወጥ የገንዘብ ዝውውሮች እንዳሉ በግልጽ አመላክቷል" ነው ያለው።
አገልግሎቱ ለሚመለከታቸው አካላት ባስተላለፈው መመሪያ መሰረት የስፖርት ውርርድ ድርጅቶች : -
• ከታህሳስ 06 ቀን 2018 ዓ.ም ጀምሮ በአካል፣ በዲጂታል ወይም በሌላ መንገድ የሚካሄድ ማንኛውንም የውርርድ ሥራ ወዲያውኑ ማቋረጥ ይጠበቅባቸዋል።
• ሁሉም የገንዘብ ማስገቢያ መንገዶች (Deposit Gateways) አገልግሎት መስጠት ማቆም አለባቸው።
• አዲስ ውርርድ መቀበል ፈጽሞ አይቻልም።
• ሁሉም የሰርቨር መረጃዎችን፣ የፋይናንስ መዝገቦችን እና የተጠቃሚ መረጃዎችን በጥብቅ ጠብቀው የማቆየት ግዴታ አለባቸው።
• ማስረጃን ማጥፋት፣ መቀየር ወይም ማሸሽ በወንጀል ሕጉ መሰረት ያስቀጣል።
ለፋይናንስ ተቋማት (ባንኮች፣ ፔይመንት ኢንስቱርመንት ኢሹወርስ እና ፔይመንት ሲስተም ኦፕሬተሮች: -
• ከታህሳስ 06 ቀን 2018 ዓ.ም ጀምሮ፣ የሁሉም የውርርድ ድርጅቶች የሥራ ፈቃድ በመሰረዙ፣ በእናንተ በኩል የውርርድ ድርጅቶቹ የሽያጭ እንቅስቃሴ እንዳያከናውኑ እንድታደርጉ ጥብቅ መመሪያ ተሰጥቷል።
• የኢትዮጵያ ሎተሪ አገልግሎት እንደ ተቆጣጣሪና አስፈጻሚ አካል በሕግ በተሰጠው ሥልጣን መሰረት፣ ይህን ውሳኔ ከሁሉም መንግስት ተቋማት ጋር በመተባበር በጥብቅ ይከታተላል።
በውሳኔው መሰረት የተላለፈውን መመሪያ የሚጥስ ማንኛውም አካል በሕግ ተጠያቂ እንደሚሆን የኢትዮጵያ ሎተሪ አገልግሎት አሳውቋል።
ቲክቫህ ኢትዮጵያ
አዲስ አበባ
@tikvahethiopia
Forwarded from Shega Media
𝗔𝗿𝗶𝗳𝗣𝗮𝘆 𝗔𝗰𝗾𝘂𝗶𝗿𝗲𝘀 𝗠𝗮𝗷𝗼𝗿𝗶𝘁𝘆 𝗦𝘁𝗮𝗸𝗲 𝗶𝗻 𝗘𝘁𝗵𝗶𝗼𝗽𝗶𝗮𝗻 𝗧𝗶𝗽𝗽𝗶𝗻𝗴 𝗣𝗹𝗮𝘁𝗳𝗼𝗿𝗺 𝗝𝗮𝗺𝗶 𝗶𝗻 𝗮 𝗠𝘂𝗹𝘁𝗶𝗺𝗶𝗹𝗹𝗶𝗼𝗻 𝗕𝗶𝗿𝗿 𝗗𝗲𝗮𝗹
ArifPay, the four-year-old financial technology company, has acquired a majority stake in Jami, an Ethiopian virtual tipping platform founded by Nathan Damtew.
The founder will continue as general manager, guiding the platform’s expansion.
The deal marks a strategic expansion for the fintech company, which has increasingly broadened its business portfolio from its primary offering as a payment operator.
𝗥𝗲𝗮𝗱 𝗺𝗼𝗿𝗲 𝗮𝗯𝗼𝘂𝘁 𝘁𝗵𝗲 𝗱𝗲𝗮𝗹.
https://shorturl.at/PoWNL
ArifPay, the four-year-old financial technology company, has acquired a majority stake in Jami, an Ethiopian virtual tipping platform founded by Nathan Damtew.
The founder will continue as general manager, guiding the platform’s expansion.
The deal marks a strategic expansion for the fintech company, which has increasingly broadened its business portfolio from its primary offering as a payment operator.
𝗥𝗲𝗮𝗱 𝗺𝗼𝗿𝗲 𝗮𝗯𝗼𝘂𝘁 𝘁𝗵𝗲 𝗱𝗲𝗮𝗹.
https://shorturl.at/PoWNL
Forwarded from Typespace Media [en]
Immortality could become real by 2039, says millionaire Brian Johnson.
Tech can already slow aging a lot, but Johnson worries about deadly side effects. He is waiting for AI to reach the level of real scientists and build a fully closed system to improve his body.
Johnson is obsessed with staying young. He even transfused blood from his 17-year-old son and tried many injections. According to him, at 48 his body works like an 18-year-old, and his brain is six years younger than his real age.
@typespace_ai
Tech can already slow aging a lot, but Johnson worries about deadly side effects. He is waiting for AI to reach the level of real scientists and build a fully closed system to improve his body.
Johnson is obsessed with staying young. He even transfused blood from his 17-year-old son and tried many injections. According to him, at 48 his body works like an 18-year-old, and his brain is six years younger than his real age.
@typespace_ai
Forwarded from Hacker News
Iran Shuts Down Starlink Internet for First Time (Score: 150+ in 4 hours)
Link: https://readhacker.news/s/6KdNs
Comments: https://readhacker.news/c/6KdNs
Link: https://readhacker.news/s/6KdNs
Comments: https://readhacker.news/c/6KdNs
Forbes
‘Kill Switch’—Iran Shuts Down Starlink Internet For First Time
No way out — Iran's blackout just got worse.
Forwarded from Hacker News
U.S. government has lost more than 10k STEM PhDs since Trump took office (🔥 Score: 169+ in 54 minutes)
Link: https://readhacker.news/s/6Lqth
Comments: https://readhacker.news/c/6Lqth
Link: https://readhacker.news/s/6Lqth
Comments: https://readhacker.news/c/6Lqth
www.science.org
U.S. government has lost more than 10,000 STEM Ph.D.s since Trump took office
A <cite>Science</cite> analysis reveals how many were fired, retired, or quit across 14 agencies
Forwarded from Typespace Media [en]
A man has locked himself in a room for a year to lose weight. His wife and children communicate with him through the door, and food is passed through a special hatch.
As part of the “Isolation Year” challenge, he must work out and get rid of doomscrolling, alcohol, and information overload. He is only allowed to leave the room in case of a fire.
Boyce is livestreaming his challenge 24/7 on YouTube. Watch here: youtube.com/watch?v=GDUL_smbvDs
@typespace_ai
As part of the “Isolation Year” challenge, he must work out and get rid of doomscrolling, alcohol, and information overload. He is only allowed to leave the room in case of a fire.
For one year, I'm cutting out distractions and noise so I can rebuild the basics: my health, discipline, focus and habits. What I've removed is optional stuff — constant scrolling, entertainment, social events and decisions that don't move me forward
Boyce is livestreaming his challenge 24/7 on YouTube. Watch here: youtube.com/watch?v=GDUL_smbvDs
@typespace_ai