CodeJournal _ mah
97 subscribers
172 photos
8 videos
4 files
125 links
Sharing the journey and creating a space for developers to grow, learn, and stay sane.
Daily tips, critical tech alerts, and the real "dev life" struggle.
Let's connect @Mercyy1214
Download Telegram
A language that doesn't affect the way you think about programming, is not worth knowing.


t.me/code_journall
Forwarded from Frectonz
Devtopia is back with another interview. This one is with kinfish (@kinfishfarms). It ended up being our longest episode to date.

We talked about a lot of cool stuff, hope you enjoy the episode, also thank you kinfish for being on the episode.

[Devtopia - E04 - Kinfish]
Recently I spent hours debugging an issue where my frontend and backend REFUSED to communicate after deployment 😀

So my app decided to live its own life…

-Backend moved from Railway ➑️ Render
-Frontend still trying to talk to Railway
- Result: CORS errors, broken login, and only my test account working

Turns out the problems were: Old build cache still pointing to Railway ,Wrong API base URL in Vercel and CORS not allowing my Vercel domain also
App accidentally using TEST database in production 😡

πŸ›  Fixes:

Cleared build cache & redeployed

Updated VITE_API_BASE_URL to Render

Proper CORS config added

Separated test & production DBs

So πŸ‘‰
Always double-check your env variables
CORS is not your enemy, just misunderstood
Cache remembers your ex… forever

Developer life: 1 bug fixed, 5 new ones unlocked πŸ”“πŸ˜‚
Hope this helps someone stuck in the same rabbit hole πŸ°πŸ’»πŸ”₯
Forwarded from Sapphire Builds.
πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚these testimonials made my night
Good morning :)
❀3
αˆˆαˆ›αŠ•αŠ›α‹αˆ α‰₯α‹™ αŠ α‰΅ααˆ©πŸ˜‚
Forwarded from Dagmawi Babi
Introducing Enkokilish Bench
β€’ github.com/dagmawibabi/enkokilish_bench

This is a new benchmark for LLMs focused on evaluating an LLMs ability to understand, reason and solve Amharic riddles.

I used Evalite as the evals framework, AI SDK to make API calls to LLMs and used Vercel AI Gateway as a provider.

All the riddles and their answers are listed in datasets/enkokilsh.ts file and will keep on being updated.

For the quickest setup, clone the repo, set your AI Gateway API Key in the .env file and just pnpm eval:dev then open localhost:3006 and explore.

You can run the evals in node mode which enables you to export the results in JSON format, or run the evals in a CI/CD pipeline.

Oh and quick tip, I've organized and arranged it all in a way that you can rename and create any other benchmark of your choice just by changing the dataset and eval title.

If you've got a few Enkokilish you know, please contribute in the GitHub. Thanks ❀️

#MyProjects #EnkokilishBench
@Dagmawi_Babi
❀2πŸ”₯1πŸ‘1
πŸš€ TanStack β€” The Modern Web Toolkit You Should Know

TanStack is a collection of high-performance, TypeScript-first libraries designed to make front-end and full-stack development faster, cleaner, and more scalable. It’s quickly becoming a favorite among modern engineers for its flexibility and production-ready design.

πŸ”Έ What TanStack Includes

β€’ TanStack Query – Smart server-state management with caching, refetching, and mutations built-in.
β€’ TanStack Router – A type-safe, modern router with loaders, nested layouts, and great DX.
β€’ TanStack Table – A powerful headless table engine for building custom UI tables.
β€’ TanStack Virtual – Ultra-fast virtualization for long lists and large datasets.
β€’ TanStack Store – A lightweight, fine-grained state management library.
β€’ TanStack Start – An upcoming full-stack framework built on TanStack Router.

πŸ”Έ Why Developers Love It

Fully TypeScript-aligned

Framework-agnostic design

High performance

Clean APIs and minimal boilerplate

Perfect for both small apps and enterprise projects

⭐️ In Short

TanStack offers a modern, reliable toolkit that solves complex UI challenges with simple, maintainable solutions β€” making it one of the strongest ecosystems for building today’s web applications.


t.me/code_journall
❀1
Recursive Functions β€” The Cleanest Way to Solve Repeating Problems

A recursive function is simply a function that calls itself until it reaches a stopping point.
Perfect for tasks like factorials, tree traversal, search, and breaking problems into smaller chunks.

⚑️ Simple Example

function factorial(n) {
if (n === 1) return 1; // base case
return n * factorial(n - 1); // recursive call
}

console.log(factorial(5)); // 120


πŸ’‘ Why use recursion?

Cleaner logic

Reduces complex loops

Mirrors how many problems naturally break down


for more info πŸ‘‰ https://t.me/code_journall
Good morning ;)
Someone said
"I think, therefore I am. "

https://t.me/code_journall
⭐️ For University Students


If you're a university student, check out this opportunity!

You can get amazing offers such as:

▢️ A free domain name
▢️ GitHub Pro
▢️ Hosting on DigitalOcean
▢️Access to databases
▢️ Notion
▢️ Microsoft Azure
▢️ Heroku
▢️ Free courses and more


Make sure to check the offer before you apply, and carefully read the requirements.

πŸ”— GitHub Student Developer Pack

#UniversityStudents #StudentDeals #GitHubStudentPack #FreeResources
Good morning y'all :)
β˜‘οΈ CTRL + API – Discover the Power of M-PESA’s Open API

πŸ“’ We’re excited to invite you to an exclusive in-person developer session at Haramaya University! This session is your chance to explore new possibilities in mobile money and fintech

πŸ—“ Thursday, December 11
⏰ 2:30 – 6:00 LT

πŸ’‘ What You’ll Learn:
πŸ”Ή How to access and navigate the M-PESA Developer Portal
πŸ”Ή How to integrate M-PESA APIs to build digital platforms, create payment solutions, and transform ideas into viable startups or self-employment projects
πŸ”Ή Step-by-step guidance: account setup, documentation, sandbox testing

πŸ—― Session Agenda:
πŸ”Έ Introduction to the Mobile Money Ecosystem
πŸ”Έ Overview of M-PESA APIs
πŸ”Έ Live demo on accessing and testing Open APIs - Best practices for integrating M-PESA into student-built platforms
πŸ”Έ Q&A and networking with M-PESA teams

πŸ”— Start Exploring Today Sign up on the M-PESA Developer Portal:-
https://developer.safaricom.et/login

πŸ“Œ RSVP to Secure Your Spot:-
https://forms.office.com/r/ErkDqAbCnt
Happy Sabbath :)