Marek Bartoš

179 posts

Marek Bartoš

Marek Bartoš

@MabarDev

Web developer, creator of @OrisaiDev

Katılım Mayıs 2018
59 Takip Edilen25 Takipçiler
Haroon
Haroon@cyber_scrutiny·
You need to decentralized your infrastructure (community PoPs, etc), allow workers to deploy to other CDNs and atleast allow old workers code to execute during outages Your current centralised model is just not sustainable! Our team had to face a lot of music from ent clients! Like many, we're going to form a task force internally to mitigate this risk in future
English
2
0
8
3K
Marek Bartoš
Marek Bartoš@MabarDev·
@pronskiy I've rebuild whole crontab with extra features in PHP - orisai/scheduler It is even able to explain cron expressions, with built-in support for orisai/cron-expression-explainer (currently supports English, Czech and Slovak)
English
1
0
1
206
Roman Pronskiy
Roman Pronskiy@pronskiy·
Hey! I’m putting together the next PHP Annotated. If you’ve worked on something cool lately and want it featured, feel free to drop it in this thread or DM me
English
25
15
61
6.9K
Marek Bartoš
Marek Bartoš@MabarDev·
@infection_php No mutating of strings passed to filesystem functions. Fortunately it deleted just the project and not the whole system 😆 Including wrappers like symfony/filesystem Perhaps phpstan would be able to track that?
English
1
0
0
50
Infection PHP
Infection PHP@infection_php·
Periodic question: what is the most wanted feature you would like us to implement in the near future? Any ideas or something that bothers you?
English
3
2
6
738
Marek Bartoš
Marek Bartoš@MabarDev·
@jakubvrana Též se mi stalo. Nahrazen v seznamu autorů. U balíku který jsem psal celý já. Některým lidem se prostě nelze zavděčit.
Čeština
0
0
8
744
Jakub Vrána
Jakub Vrána@jakubvrana·
Mám celkem 2040 commitů do anglické PHP dokumentace a někdo se 119 commity mě prostě smázne z autorů… Stejně jako 7 dalších. github.com/php/doc-en/com…
Čeština
4
0
49
5.1K
Michal Špaček
Michal Špaček@spazef0rze·
@OndrejMirtes @jakubvrana Nám možná nejvíc pomohl level 6→7, nebo aspoň ten krok si pamatuju jako nejzásadnější (a možná i nejtěžší). Když jsme byli na L6 a objevila se nějaká chyba na produkci, tak jsem ověřil, že L7 by ji našel - a tak jsme to na něj nakonec dotáhli.
Čeština
1
0
3
177
Jakub Vrána
Jakub Vrána@jakubvrana·
Adminer prochází přes PHPStan level 6. Nižší levely odhalily skutečné chyby, u vyšších levelů už šlo spíš jen o to, „jak mu zavřít hubu“. Ale vynikající kus software, klobouk dolů!
Čeština
2
1
58
3.2K
Marek Bartoš
Marek Bartoš@MabarDev·
@janedbal You should not rely on mocks! is even better recommendation. Own test doubles are more reliable and often easier to use.
English
0
0
1
45
Jan Nedbal
Jan Nedbal@janedbal·
You should not rely on default return values of #PHPUnit's mocks! #[DisableReturnValueGenerationForTestDoubles] saves the day. Just place it over all your testcases (as attribute inheritance is not supported). PHPUnit 11.1 needed.
Jan Nedbal tweet media
English
1
0
2
199
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
I have the first todo item for PHPStan 3.0 😅
English
2
0
21
1.5K
Marek Bartoš
Marek Bartoš@MabarDev·
@adamwathan @adamwathan feel free to contact me if help with some of the possible optimizations written under this Tweet are welcome
English
0
0
0
4
Marek Bartoš
Marek Bartoš@MabarDev·
@adamwathan You can pay for minutes on better hardware. Or use own server with Dockerized self-hosted runners. If your pipelines can utilize more cores, it will make CI much faster. #about-billing-for-github-actions" target="_blank" rel="nofollow noopener">docs.github.com/en/billing/man…
English
6
0
0
25
Adam Wathan
Adam Wathan@adamwathan·
Anyone running Windows CI stuff through something other than GitHub Actions for better performance? If so what service are you using? Slow CI stuff is grinding my soul into dust lately — so over waiting like 10 minutes for CI to run to merge a PR.
English
22
1
28
50.5K
Marek Bartoš
Marek Bartoš@MabarDev·
@adamwathan Bit out of scope, but if you want faster feedback for branches without a PR, this is how you can cancel duplicit runs when a PR is already opened #L30-L32" target="_blank" rel="nofollow noopener">github.com/orisai/auth/bl…
English
0
0
0
1
Adam Wathan
Adam Wathan@adamwathan·
Alternatively I'll happily pay anyone who can figure out how to make all of our GitHub Actions run like 10x faster with whatever voodoo is required. Example run in the reply 👇🏻
Adam Wathan@adamwathan

Anyone running Windows CI stuff through something other than GitHub Actions for better performance? If so what service are you using? Slow CI stuff is grinding my soul into dust lately — so over waiting like 10 minutes for CI to run to merge a PR.

English
21
2
59
36.4K
Marek Bartoš
Marek Bartoš@MabarDev·
@adamwathan Self-hosted runner on Windows may be quite pricey due to Microsoft licensing policy, but depending on minutes you use monthly may be worth it.
English
0
0
0
12
Marek Bartoš
Marek Bartoš@MabarDev·
@janedbal Alias is just an alias. The method can be called in the trait and the trait is not isolated from class where it is used - PHP internally practically just copy-pastes the code into the class. It has to work this way
English
0
0
0
32
Jan Nedbal
Jan Nedbal@janedbal·
Yet another #php's secret chamber. Did you know this?
Jan Nedbal tweet media
English
1
0
0
124
Marek Bartoš
Marek Bartoš@MabarDev·
@beberlei Also works well with cheap hostings where sockets are not accessible due to permission restrictions.
English
0
0
0
10
Marek Bartoš
Marek Bartoš@MabarDev·
@beberlei Alright, secured. I'd rather copy 4 lines of code that need only base url for configuration than install a dependency that relies on usage of specific webserver and breaks when socket configuration changes.
Marek Bartoš tweet media
English
2
0
0
16