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
I’ll log my dev journey, resources and mixing in a bit of life.
Come hang: https://t.me/kalebdev
Telegram
Caleb
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
kalebalebachew.com
🔥10😁3
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:
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:
Lesson learned: Eloquent methods aren’t always safe at scale 😅
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
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
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
Forwarded from Frectonz
YouTube
The Story of Python and how it took over the world | Python: The Documentary
This is the story of the world's most beloved programming language: Python. What began as a side project in Amsterdam during the 1990s became the software powering artificial intelligence, data science and some of the world’s biggest companies. But Python's…
👀 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🫡
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🫡
Creoagents
Creoagents - AI Voice Agents for Your Business
Custom-built AI voice agents that handle calls, book appointments, qualify leads, and integrate with your existing tools.
🔥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.
That's when you stop being average and become an exceptional software engineer.
🔥3❤2
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😍
Congrats all
Please open Telegram to view this post
VIEW IN TELEGRAM
❤9
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
Watch Fireship
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
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
Check it out at 👉 geo.play.gebeta.app or you can use @gebetaPlayGeoBot
📍 gebeta.app
Highly recommend this if you’re planning on starting a company from the man himself Sam Altman.
https://youtu.be/CBYhVcO4WgI?si=kP-QFUfuoV0B9OeD
https://youtu.be/CBYhVcO4WgI?si=kP-QFUfuoV0B9OeD
YouTube
Lecture 1 - How to Start a Startup (Sam Altman, Dustin Moskovitz)
Lecture Transcript: http://tech.genius.com/Sam-altman-lecture-1-how-to-start-a-startup-annotated
Sam Altman, President of Y Combinator, and Dustin Moskovitz, Cofounder of Facebook, Asana, and Good Ventures, kick off the How to Start a Startup Course. Sam…
Sam Altman, President of Y Combinator, and Dustin Moskovitz, Cofounder of Facebook, Asana, and Good Ventures, kick off the How to Start a Startup Course. Sam…
❤1
If you wanna convince your boss here's github's email template 😂
https://githubuniverse.com/convince
https://githubuniverse.com/convince
GitHub Universe
GitHub's global developer event is back. Join the world's fair of software.
🔥1