Glad to bring full Symfony support to Laravel Cloud. Symfony has been incredibly important to the health of the PHP ecosystem for two decades. ❤️
If you're running a Symfony app and want a robust deployment platform with scale-to-zero compute, preview environments, and more, give Laravel Cloud a try. We'd love to have you.
In a .NET app lifetime, when the application starts, the authorization middleware is built before any HTTP request exists.
Since there is no request yet, there is no scoped lifetime available.
That's why IAuthorizationPolicyProvider must be registered as a Singleton.
Hello everyone! I,m looking for job opportunities AI Applied Engineer, Forward deployed engineer, Fullstack AI Engineer.
If you need someone that is expert, can communicate clearly, high agency and can easily pickup the stack at work, I'm the right person.
I'm good with building AI Agents, Infra (AWS), DevOps, Fullstack development and so on,
You can watch my talk here on building production grade AI Agent Harness at AWS User Group Meetup @ TRX https://t.co/aCBD7yrapy
I used to work at AWS as a Solutions Architect, Software Engineer at SEEK.
Let me know if anyone is hiring I'm able to start early of August! Pm me for my CV
Please help to RT this tq!
Zig has strict No LLM / No AI policy.
Andrew Kelley, creator of Zig, explains the language's strict No AI policy and why AI-generated PRs become a bottleneck for the team.
Belajar bina production grade AI Agent anda sendiri dengan senang..
Nak build AI agent ni, kena faham tentant context layer, harness, tool calling, saya fikir tak cukup dengan tulis article dan buat video sahaja.
Someone recently made a Mac version using the Notepad++ name and logo, but the original creator Don Ho said this is not his project and called it unauthorized and confusing for users.
The developer fixed the problem by changing the name to Nextpad++ for Mac.
It is still a free app for Mac computers that uses the same open-source code as Notepad++ and offers similar tools like color coding for code.
Hey Laravel Developers 👩💻
I often get questioned about why I add declare(strict_types=1) to the top of every file.
So basically, having this statement protects me from pesky, unnoticeable errors that might occur due to PHP's type conversion system.
Below is a code example that will explain how my code behaves with and without this strict type declaration.
This is extremely useful when your application depends on a lot of external data.
For me, it's a must-have. Let me know about you!
#laravel #php
We just shipped a new Boost skill: laravel-best-practices.
It equips your AI agent with 100+ curated Laravel best practices, covering Eloquent, caching, queues, authentication, and more — so it can generate code that’s not just correct, but idiomatic.
$ composer update
$ php artisan boost:install
Selepas setahun simpan rahsia, i’m pleased to announce restoran pertama Khairulaming
Dengan menelan modal 4 juta ringgit, kita bina bangunan dari scratch di atas tanah kosong seluas 8,000 kaki di Kg Baru, jarak 9 minit dari KLCC. Ini adalah investment terbesar KA pernah buat untuk one single project
Selepas 10 tahun dalam dunia online, i’m finally ready untuk mulakan langkah ke dunia offline. Ini adalah permulaan untuk planning KA 10 tahun yang seterusnya. Selamat datang ke Rembayung 😊
🚀 Spring Data AOT repositories just changed how I think about startup performance.
💨 Build-time repository processing = 50-70% faster startup + easier debugging.
✨ No more runtime magic, you can actually see the generated SQL and implementations
https://t.co/920nJqArsl
What is the Strategy Pattern?
The Strategy Pattern is a design pattern that lets you define a family of algorithms, put each in a separate class, and make them interchangeable.
It helps you change the behavior of your code at runtime by swapping out different strategies.
Why Use the Strategy Pattern?
- Makes your code more flexible and easier to maintain.
- Helps avoid long if-else or switch statements in your code.
- Lets you add new strategies without changing the main logic.
How Does It Work?
- You create an interface or abstract class for the strategy.
- Each specific algorithm (strategy) implements this interface.
- Your main class (context) uses the strategy interface to call the algorithm.
Example Code 👇
Imagine you are building a payment system that supports multiple payment methods (like Credit Card, PayPal, UPI).
Instead of writing a long method with if-else for each payment type, we can use the Strategy Pattern.
Yesterday I noticed the office printer was working perfectly, which raised my suspicion immediately.
I checked the logs and saw someone had cleared a paper jam at 3:12 p.m.
No ticket, no Slack, no communication.
Just silent action.
I asked the office if anyone had fixed it.
Everyone looked confused except one employee, who stared at his laptop a little too hard.
I pulled him aside afterward.
He admitted he unjammed it because “it was right there” and “took five seconds.”
I told him unilateral problem-solving disrupts our culture of collaboration and that he needed to go through the right channels if he wanted to take on a new project outside of his job description.
He said he didn’t realize fixing things was a chain-of-command issue.
I told him everything is a chain-of-command issue.
I wrote down “rogue operational autonomy” and locked the printer tray.
Hi, saya sedang mencari penyewa untuk rumah single storey saya di Cheras Bt 9. Kemasukan bulan 12/1 if possible. Kawasan kejiranan yang harmoni inshaAllah sesuai utk korang yang ada family kecil. 😮💨 Rumah baru renovate and cat.
**Nanti pagar tu saya sambung cat😅