mc0de Profile Banner
David Lun πŸ’» Profile
David Lun πŸ’»

@mc0de

Followers
288
Following
173
Media
67
Statuses
460

βš™οΈ Laravel Artisan | 🐍 Pythonista

Vilnius, Lithuania
Joined September 2009
Don't wanna be here? Send us removal request.
@mc0de
David Lun πŸ’»
2 years
When configuring queues the next value should be higher to avoid cuncurrency: ☒️ atomic lock < πŸƒ backoff (if fails) < ⏲️ timeout < πŸ” retry_after (if crashes).
@aarondfrancis
Aaron Francis
2 years
@taylorotwell If you have a job that times out after 5 minutes but a queue that retries after 60s, you end up with jobs that get processed twice. I'm not sure there's any way around it, but I've always wished for one attribute (job timeout) instead of two (time + retry after).
0
0
1
@mc0de
David Lun πŸ’»
3 months
how you accomplish something is as important as the accomplishment itself.
0
0
0
@mc0de
David Lun πŸ’»
7 months
Also here's helper to have more control over randomly selected values.
Tweet media one
@PovilasKorop
Povilas Korop | Laravel Courses Creator & Youtuber
7 months
Laravel tip: `fake()->optional()` with PROBABILITY for NULLABLE fields. See example?. The code of migration/factory and the result DB table. 0.3 means 30% chance of field with NOT NULL value.
Tweet media one
0
0
0
@mc0de
David Lun πŸ’»
7 months
LLMS are just word calculators!.
0
0
0
@mc0de
David Lun πŸ’»
7 months
I'm a developer, not GPT operator.
1
1
2
@mc0de
David Lun πŸ’»
9 months
got extorted, thank you @dbrand
Tweet media one
0
0
2
@mc0de
David Lun πŸ’»
10 months
Happy to meet, participate and share experience together with my true roots @DailyLaravel.
@ModestasMV
ModestasV
10 months
After 6 years @PovilasKorop and @DailyLaravel team is organizing a local meetup! . First topic is about @filamentphp by Povilas himself!
Tweet media one
Tweet media two
Tweet media three
0
0
2
@mc0de
David Lun πŸ’»
10 months
RT @ModestasMV: After 6 years @PovilasKorop and @DailyLaravel team is organizing a local meetup! . First topic is about @filamentphp by Pov….
0
7
0
@mc0de
David Lun πŸ’»
11 months
Agreed, do like it is your last one. So better make it count.
@PovilasKorop
Povilas Korop | Laravel Courses Creator & Youtuber
11 months
There's a saying: "How you do anything is how you do everything". So, adopt useful coding habits even when it's no big deal in some cases. Even if you have 20 records, select only the fields you need. Prevent yourself from being lazy to type a few words. It's a good habit.
Tweet media one
0
0
0
@mc0de
David Lun πŸ’»
11 months
You've officially completed the game of life, epic. πŸ‘πŸš€.
@taylorotwell
Taylor Otwell
11 months
I'm excited to announce that Laravel has raised a $57M Series A in partnership with Accel. I believe that Laravel is the most productive way to build full-stack web applications, and Laravel Cloud will be the platform for shipping those applications that this community deserves.
Tweet media one
0
0
1
@mc0de
David Lun πŸ’»
11 months
RT @taylorotwell: Highlights of what I announced during my @LaraconUS talk yesterday. 🧡.
0
97
0
@mc0de
David Lun πŸ’»
1 year
Stop asking to make SaaS course. SaaS is an objective of business and dictated by your payment processor.
0
0
0
@mc0de
David Lun πŸ’»
1 year
RT @aarondfrancis: My condolences to anyone who was relying on Joel. He'll be back in four to six weeks.
0
3
0
@mc0de
David Lun πŸ’»
1 year
Write long comments into editor, then copy/paste them. Browsers sometimes crash. πŸ₯‚.
1
0
4
@mc0de
David Lun πŸ’»
1 year
Install PHP extensions with ease when using Laravel Herd. Let me know how are you solving these problems in the comments
Tweet media one
0
0
0
@mc0de
David Lun πŸ’»
1 year
In a response "Don't use localhost, use 127.0.01":. I'd argue that you should use Unix domain sockets instead of TCP. How no one noticed that?. πŸ«³πŸŽ€πŸ›βš‘.
0
0
1
@mc0de
David Lun πŸ’»
1 year
Wasn't that the purpose of Filament?
Tweet media one
0
0
1
@mc0de
David Lun πŸ’»
1 year
How Laravel Forge makes deployments? Here's the answer:
Tweet media one
0
0
1
@mc0de
David Lun πŸ’»
1 year
How to display "ago" when using Carbon diffForHumans()?. There it is, see the difference?
Tweet media one
0
0
1
@mc0de
David Lun πŸ’»
1 year
And you can also do that a lot easier using carbon
laraveldaily.com
@PovilasKorop
Povilas Korop | Laravel Courses Creator & Youtuber
1 year
Laravel/MySQL code snippet. Querying upcoming birthdays from birth dates is more tricky than you would think. Look at this example from open-source project Genealogy. Source:
Tweet media one
0
0
0
@mc0de
David Lun πŸ’»
1 year
RT @lr_jordan: Google destroyed my business. They changed the rules. And they made the decision on behalf of our users that we were no long….
0
197
0