Fabien

83 posts

Fabien banner
Fabien

Fabien

@xBafS

Software engineer, working at @ProtonPrivacy.

🌍 เข้าร่วม Mayıs 2009
652 กำลังติดตาม71 ผู้ติดตาม
E__Strobel
E__Strobel@E__Strobel·
@elonmusk Direct democracy is a terrible idea that has resulted in tyranny throughout history. America’s Founders & the Framers of the Constitution were rightly skeptical of the tyranny of the majority. x.com/i/grok/share/5…
English
9
8
132
11.4K
Elon Musk
Elon Musk@elonmusk·
The Martians will decide how they are ruled. I recommend direct, rather than representative, democracy. Uncrewed Starships landing on Mars in ~2 years, perhaps with crewed versions passing near Mars, and crewed Starships heading there in ~4 years are all possible.
Kaizen D. Asiedu@thatsKAIZEN

Once we colonize Mars, how should governance work? Should it be an extension of Earth’s nations? e.g. each Earth nation has part of Mars? Something else? There’s a Mars transfer window in Dec 2028/Jan 2029 SpaceX could send humans crewed to Mars then Future is coming fast

English
18.1K
8.1K
79.2K
45.9M
Fabien
Fabien@xBafS·
@_Codito_ You can use lint:container in the CI to ensure that arguments injected into services match type declarations
English
1
0
1
52
Greg Korba 🛠️🛹 Codito
Is there a way to validate #Symfony DI container in terms of correctness of services' definition? We found services that fail when fetched from container because of invalid arguments count, I thought it's something that is validated and caught during `cache:clear` 🤔?
English
4
0
1
542
Fabien
Fabien@xBafS·
@tdinh_me Just drink tea, there are so many varieties. Green/Oolong/Yellow/Puehr/Black and more, it's a world on its own.
English
0
0
1
12
Fabien
Fabien@xBafS·
@_Codito_ The naivety of the laravel cult will never cease to amaze me
English
0
0
1
181
Dary
Dary@codewithdary·
Just imagine building desktop applications for clients using PHP. We're so close...
English
20
6
130
16.3K
Fabien
Fabien@xBafS·
@VotrubaT @symfony @laravelphp Why migrating from Symfony DI to laravel ? I did the opposite; resolving services on runtime is a pain/error prone when you work on big projects. Having a compiler pass helped a lot and makes deployments much safer.
English
0
0
1
239
Tomas Votruba
Tomas Votruba@VotrubaT·
What are you working on today? 🤗 I'm currently migrating the biggest @symfony DI container to @laravelphp so far... the Easy Coding Standard. I'm curious about results 🙏
Tomas Votruba tweet media
English
5
1
13
10.7K
Fabien
Fabien@xBafS·
@brendt_gd I did and it was a huge pain to remove. Having app(), config() and other helpers don't force you to inject things and you end up with a big mess. Better to not have any by default and better not to pollute the global namespace. Pretty obvious to me.
English
0
0
0
65
Brent
Brent@brendt_gd·
Ok, raise of hands, who here has ever run into problems in real life projects with Laravel's global functions? Like where another package collided with these function names?
English
11
0
4
27.2K
Fabien
Fabien@xBafS·
@benjamincrozat Usually people working in big/complex ("bloated" as you say) codebases started with something simple. But as always; choose the right tool for the right job. You can always refactor later if it's a success.
English
0
0
0
65
Benjamin Crozat
Benjamin Crozat@benjamincrozat·
If you are the kind of developer who plans to work in a big company with bloated codebases and a huge team until retirement, that's great. It's a perfectly valid and safe route to take. You know best. 👍 BUT. Stop giving inadequate advices to others, thank you! 🙏
Benjamin Crozat tweet media
English
2
3
10
2.5K
Fabien
Fabien@xBafS·
@benjamincrozat Hehe I know, but you should give it a try once, just to see! The addition is actually new in Symfony so maybe it will create more traction in the PHP community.
English
0
0
0
41
Benjamin Crozat
Benjamin Crozat@benjamincrozat·
Some Laravel developers started using DTOs instead of custom form requests. Did you? Because I'm thinking about it. 🤔 Spatie even has a package for that (spatie/laravel-data). 👌
Benjamin Crozat tweet mediaBenjamin Crozat tweet media
English
33
6
138
27.8K
Fabien
Fabien@xBafS·
@levelsio I'm glad we don't have too many in Europe, I went to many in Asia and while it's fun to see, I see it as golden jails, there is often not much going on outside and I much prefer European living streets with shops around.
English
0
0
0
42
@levelsio
@levelsio@levelsio·
Interesting: Asia is now home to ALL of the top 10 biggest retail malls with 3 in Thailand and 3 in China #World's_largest_malls" target="_blank" rel="nofollow noopener">en.wikipedia.org/wiki/Shopping_…
@levelsio tweet media
English
50
32
293
250.9K
Fabien
Fabien@xBafS·
@_Codito_ @enunomaduro @laravelphp I hope they will reconsider the Dumpable thing but it's just in the continuity of adding vertical bloat to every class and couple everything together more. #issuecomment-1556142283" target="_blank" rel="nofollow noopener">github.com/laravel/framew…
English
1
0
0
29
nunomaduro
nunomaduro@enunomaduro·
I've been toying around with this idea of making the "explain" queries in @laravelphp better. You know how we usually grab the SQL query from Eloquent and EXPLAIN it in MySQL? Well, I thought, why not simplify the whole thing by adding "explain()->dd()". What do you think? 👇🏻
nunomaduro tweet media
English
16
15
223
19.1K
Fabien
Fabien@xBafS·
@benjamincrozat @FreWillems469 @doekenorg Having work with a big application it's all but a waste of time. What was a waste of time was to switch every function and facade back to using good old dependency injection with PSR interfaces, and finally be able to use another concrete implementation (and then remove Laravel).
English
0
0
1
39
Benjamin Crozat
Benjamin Crozat@benjamincrozat·
@FreWillems469 @doekenorg It's debatable. Some people think you must decouple your code as much as possible, while others think it's a waste of time. The first ones are unable to back their claims up with data unfortunately.
English
3
0
1
169
Benjamin Crozat
Benjamin Crozat@benjamincrozat·
Laravel developers, which coding style do you prefer? 1. Looks neat, but autocompletion doesn't work. 2. More verbose, but it's autocompletion-friendly.
Benjamin Crozat tweet media
English
44
10
78
20.5K
Fabien
Fabien@xBafS·
@taylorotwell Interesting, I can feel some influence of Stoicism there, which is quite curious/unexpected seeing this lambo. But I understand more what you mean with some context!
English
0
0
0
281
Taylor Otwell
Taylor Otwell@taylorotwell·
@xBafS why are you asking me that? why not the original tweet this is in response to which says fuck unimportant shit like having a family focus on making as much money as possible 😂 license plate is facade as a reminder that all material things are impermanent and unfulfilling ❤️
English
2
0
15
849
Fabien
Fabien@xBafS·
@taylorotwell @adamdotdev What is the point then? And what would be your definition of success? I'm genuinely curious.
English
2
0
0
893
Taylor Otwell
Taylor Otwell@taylorotwell·
@xBafS @adamdotdev it’s funny to me people genuinely believe I think it’s a symbol of success 😂
English
1
0
29
5.1K
Benjamin Crozat
Benjamin Crozat@benjamincrozat·
@digitalkaoz Haha OK. That's unfortunate. I know plenty of successful companies using Laravel that make hundreds of thousands and even millions, and not listed here.
English
1
0
0
2.1K
Benjamin Crozat
Benjamin Crozat@benjamincrozat·
Prepping a PR for Laravel's official website. This madness has to stop. I lose my sleep over new developers being confused.
Benjamin Crozat tweet media
English
4
5
115
29.3K
Fabien
Fabien@xBafS·
@CalEvans I wish, unfortunately is see the community pretty divided and saying "final is trash" doesn't help".
English
0
0
0
48
Cal Evans
Cal Evans@CalEvans·
The #PHP community is not just a group of developers, it's a family. We support each other, learn from each other, and grow together.
English
8
7
50
4.5K