Laravel job batches are 🔥
It's pretty easy to parallelize long-running tasks and do something when every job succeeds.
This example generates a few classes and then creates a zip file after everything is finished:
Excited to announce that I’ve hired a new CEO for X/Twitter. She will be starting in ~6 weeks!
My role will transition to being exec chair & CTO, overseeing product, software & sysops.
Wrote docs for the new "Pipeline" facade. We've used the Pipeline internally in Laravel for years, but more end users have recently discovered its usefulness. So, had to document it. 📚
https://t.co/axdzQIVRAb
As a man if you're to reach your full potential, then embrace the hard things & get rid of comfort
-working out is HARD so most are out of shape
-being hungry is HARD so most are overweight
-sexual discipline is HARD so most have baby mama drama
A new "size" auto-scaling strategy has been added to Horizon. 💪
This strategy assigns more worker processes to queues based on total queue size. The default strategy (time) assigns processes based on estimated time to clear the queue.
@taylorotwell I hope you find this tweet. I'm using Laravel Nova v3 in our project and I'm stuck, I want to customize the Nova error pages 404, 500, and 403, I have tried different options but to no avail. Can you kindly assist with this?
Some *very talented* developers end up not building innovative or cool new things because they think about the technical constraints up-front, which demotivates them. That is a mistake, as technical constraints can be solved after some hours of hacking on it.
Two words you need to remember when reviewing your code before releasing/pushing it.
WHAT IF...?
- What if we had 10x more records in DB for this feature?
- What if a user entered invalid XYZ values here?
- What if a front-ender makes an invalid request to my API?
- What if..?
Laravel 9.42 comes with a new singleton `Route::singleton()` method to register routes for singleton resources. These are resources that are either "one of one" or "zero or one" resources. For example, a profile endpoint:
Laravel docs https://t.co/bFDtDTQ3yI