Hammed Oyedele

2.4K posts

Hammed Oyedele

Hammed Oyedele

@devhammed

Innovative senior software engineer with 7+ years of experience in developing cutting-edge web and mobile applications. Ask me about JavaScript, PHP & Dart.

Ibadan, Nigeria 加入时间 Ağustos 2015
456 关注953 粉丝
置顶推文
Hammed Oyedele
Hammed Oyedele@devhammed·
Can I automate browsers with AI??? Can I automate email replies with AI??? Can I sleep at night peacefully, knowing fully well that there is something constantly monitoring the platforms under my care are running through scheduled checks? Can I monitor that particular online store for discounts on products I would love to buy??? I answered YES to these questions and many more with my first personal project! I'm calling it Flowshub for now, but that is still open for changes. Watch this space for the final launch!
Hammed Oyedele@devhammed

The full editor in all its glory. Anything inside {{ }} is a valid JavaScript expression. I can't believe I'm starting 2026 by writing a template engine with its editor. 😅😅😅😅

English
2
2
14
4.1K
Hammed Oyedele 已转推
Rahul Gangotri
Rahul Gangotri@rahul__gangotri·
Cooking something demo out soon!! All using native edge.js engine but reactive 😍 @adonisframework FTW!!!
Rahul Gangotri tweet media
English
1
4
15
642
Hammed Oyedele 已转推
Josh Cirre
Josh Cirre@joshcirre·
Merge it.
English
2
1
24
874
Hammed Oyedele
Hammed Oyedele@devhammed·
My Senior Software Engineer really helped me in customizing all of @shadcn UI components. She made no mistakes. 😎😎😎😎
English
1
0
7
61
Hammed Oyedele
Hammed Oyedele@devhammed·
My daughter will be a year old in less than 30 minutes....
English
3
1
8
108
Hammed Oyedele 已转推
Jonathan Wilke
Jonathan Wilke@jonathan_wilke·
Holy crap... with the @nextjs 16.2 update the next server is now using 10GB+ of memory and my MacBooks fan is running constantly (before it never even turned on). What's going on here...
Jonathan Wilke tweet media
English
67
10
511
70.7K
Hammed Oyedele
Hammed Oyedele@devhammed·
@sebastienlorber @BrodaNoel Yeah, I agree there are cases where guarding against production works but not in this case where you only want that piece of code to run when in a certain environment.
English
0
0
0
22
Seb ⚛️ ThisWeekInReact.com
Seb ⚛️ ThisWeekInReact.com@sebastienlorber·
@devhammed @BrodaNoel I think you are both right/wrong and it depends on the context Here I definitively this to only be applied for tests since it's an escape hatch to make tests pass due to a Jest limitation (no support for ESM)
English
2
0
1
39
Hammed Oyedele
Hammed Oyedele@devhammed·
@sebastienlorber @BrodaNoel Exactly why checking against the actual environment you want it to run is much safer than just guarding against production. If you have used what he suggested, this code will definitely run everywhere because it will be undefined at that point.
English
1
0
1
36
Hammed Oyedele
Hammed Oyedele@devhammed·
I think you should take time to test this out before defending your take on this. He made a typo with the environment variable. N0DE_ENV instead of NODE_ENV. At that point, N0DE_ENV will be undefined because it is referencing an environment variable that was never defined. N0DE_ENV === 'test' will always evaluate to false so the condition body will never execute. N0DE_ENV !== 'production' will always evaluate to true which means the condition body executes which is potentially a dangerous code to run in production.
English
0
0
0
13
Broda Noel
Broda Noel@BrodaNoel·
@devhammed @sebastienlorber Absolutely no. If the environment is not test, what is? it's staging or prod. You never want that. As fallback, the environment should always be consider "test"
English
2
0
0
54
Hammed Oyedele
Hammed Oyedele@devhammed·
@BrodaNoel @sebastienlorber What he wrote is much safer. N0DE_ENV will never equal 'test' so the dangerous code will never run. If you invert that, the N0DE_ENV is obviously not defined so which means it will be undefined which is not equal to 'production' obviously and the dangerous code runs.
English
1
0
0
61
Broda Noel
Broda Noel@BrodaNoel·
@sebastienlorber The best part is this: Due to it was not "test", then it probabaly was consider "production". So, you killed the DB hahaha. It's always better to set: "!== 'production'", so, any error like this results on "test"
English
1
0
0
1K
Hammed Oyedele
Hammed Oyedele@devhammed·
@nummanali @mlevy02 @kenn There is Minio or Localstack for local development. Cloudfare R2 also supports S3 API, Digital Ocean Spaces too, Google Cloud Storage too.
English
1
0
1
115
Numman Ali
Numman Ali@nummanali·
@mlevy02 @kenn I must've been living under a rock haha Haven't used S3 for a while, current company is Azure heavy But looking to review options soon
English
2
0
0
94
Hammed Oyedele
Hammed Oyedele@devhammed·
@DelaneyGillilan "fast enough" to display the streams from that site just like it would in an actual terminal.
English
1
0
0
19
Hammed Oyedele
Hammed Oyedele@devhammed·
@EIsenah @AmanVirk1 I get you but Django Admin is customizable and you actually have to login as a super user. Drizzle and Prisms Studio are just database management tools.
English
0
0
2
40
Harminder Virk
Harminder Virk@AmanVirk1·
Are we (JS devs) using Admin panels? Laravel has Nova. Rails has Active Admin. Django ships one out of the box. What do we have 👀 Genuinely curious what everyone is using, or if this just isn't a thing in the JS world.
English
36
2
86
24.5K
Emmanuel Isenah
Emmanuel Isenah@EIsenah·
@AmanVirk1 I dunno, I think it's whatever your ORM provides. I use Drizzle or Prisma studio.
English
1
0
0
864
Hammed Oyedele
Hammed Oyedele@devhammed·
Day 007 of putting it out there that I'm open for new opportunities! I have 8 years of experience working with libraries, tooling and frameworks built with JavaScript and PHP including but not limited to Laravel, WordPress, AdonisJS, Next.js, Nest.js, React, Vue.js, Svelte, jQuery, Tailwind CSS, Inertia.js, etc. linkedin.com/in/devhammed
Hammed Oyedele@devhammed

Day 006 of putting it out there that I'm open for new opportunities! I have 8 years of experience working with libraries, tooling and frameworks built with JavaScript and PHP including but not limited to Laravel, WordPress, AdonisJS, Next.js, Nest.js, React, Vue.js, Svelte, jQuery, Tailwind CSS, Inertia.js, etc. linkedin.com/in/devhammed

English
0
7
10
226
Hammed Oyedele 已转推
Harminder Virk
Harminder Virk@AmanVirk1·
Shipped two new AdonisJS Plus packages this week. 👉 Persona gives you low-level APIs for user management, email verification, password resets, and 2FA. 👉 Permission gives you a type-safe RBAC layer that integrates with Bouncer. These packages are the foundation for Kit components (full-stack copy-paste components) we are building for AdonisJS apps. Super excited about where this is heading. We are getting to a point where you can set up the foundation of a SaaS product in minutes, on top of a modern, type-safe framework with zero lock-in. adonisjs.com/blog/introduci…
English
3
9
43
1.6K
Hammed Oyedele 已转推
Lennex Zinyando
Lennex Zinyando@zinyando·
I accidentally built a local AI inference engine. Never intended to. Just wanted to test some models. Now it has transcription, TTS, voice cloning—all running locally. Writing custom Metal kernels to make it faster. github.com/izwi-ai/izwi
English
7
18
174
7.6K
Hammed Oyedele
Hammed Oyedele@devhammed·
@PovilasKorop I remember posting something similar but the main reason why I had to create the calculation as a variable string then use in both select and where statement is because in SQLite, a HAVING clause is only valid when used with a GROUP BY or an aggregate context.
English
0
0
0
65
Hammed Oyedele 已转推
Povilas Korop | Laravel Courses Creator & Youtuber
Laravel tip. Location-based filtering is a common requirement: - “find nearby” - “within X km” - “order by distance” Eloquent scope helps avoid repeating Haversine queries. You may put it into a Trait to use it in many models. Or maybe even a Package to use in many projects.
Povilas Korop | Laravel Courses Creator & Youtuber tweet media
English
9
21
147
6.1K