Caleb
127 subscribers
49 photos
2 videos
49 links
Caleb here ... a living proof that anyone can code. come see what I'm building and maybe learn something (or at least laugh at my struggles)

kalebalebachew.com
Download Telegram
Like every dev in 🇪🇹, I finally caved… the “every ethiopian dev has a telegram channel” thing has reached me lol.
I’ll log my dev journey, resources and mixing in a bit of life.
Come hang: https://t.me/kalebdev
🔥10😁3
Linkedin 😭🤦🏿‍♂️🤦🏿‍♂️
2🤣1
I recently ran into a tricky bug with Laravel’s whereDate().
the thing is i wanted to filter records of the past 24hrs and did this:

 Model::whereDate('created_at', today())->count();


On my local database it behaved fine. But once deployed to production with millions of rows, the query kept timing out.

The issue was that whereDate() applies a DATE() function to the column, which disables index usage and forces a full table scan. On large datasets, this quickly leads to timeouts.

The fix was to switch to a range query that allows the index to work properly:

Model::whereBetween('created_at', [today()->startOfDay(), today()->endOfDay()]);



Lesson learned: Eloquent methods aren’t always safe at scale 😅
3
so true 🤦🏿‍♂️
😁1
Funny how the loudest “AI will replace all devs” or “vibe coding is the future” takes rarely come from engineers. They mostly come from startup founders usually AI startup founders.

And honestly, it makes sense… they wanna replace their devs so bad, trading salaries for a $200/month subscription. wishful thinking i guess lol.

Whenever I see those hot takes, I check the source… and it’s almost never actual engineers.

@kalebdev
🤡1
👀 Found something interesting: https://agents.creofam.com

It’s a service for building AI voice agents that can handle calls (answering, booking appointments, etc.).
for your surprise it’s built by @LeulZenebe1 the same guy who made the CBE/Telebirr payment verifier. https://verify.leul.et/

props to him🫡
🔥2
I have never seen a payment integration this easy and seamless.

https://polar.sh/
2
When you stop celebrating that you saved the day and start questioning why the day needed saving in the first place.

That's when you stop being average and become an exceptional software engineer.
🔥32
Forwarded from Luna's pathway🤗 (Luna)
Being there at the beginning is as noble as being there at the end. True legacy is not measured by witnessing the finish line, but by the effort, sacrifice, and vision poured into the journey. Engineer Simegnew Bekele may not see the completion of the Renaissance Dam, but his hands and heart will forever stand within it.

Congrats all 😍
Please open Telegram to view this post
VIEW IN TELEGRAM
9
Yes/No ? Justify your answer.
NPM Nightmare 🤯

Josh, the dude running Chalk (300M downloads a week), got tricked big time.

A fake email, looking like it was from npm (“support@npmjs.help”), said his account needed a 2FA reset. It seemed real, so he typed his login and code.

Boom hackers took over!
On Sep 8, they slipped bad code into chalk and 17 other packages. The code was a crypto thief, swapping real wallet addresses (like for Ethereum) with fakes to steal money from browsers.

Watch Fireship
1
Being a hyper-observer is a double edged sword.
Forwarded from GebetaMaps
Learn about Ethiopia while having fun. You will see a place for a few seconds and guess where it is on the map.
Check it out at 👉 geo.play.gebeta.app or you can use @gebetaPlayGeoBot

📍 gebeta.app
This is the craziest thing i've seen in a while 🙌🏽