@alessandrolai@phpc.social
@alessandrolai@phpc.social avatar

alessandrolai

@alessandrolai@phpc.social

Head of Platform @ Facile.it, https://phpc.social/@phpfig secretary, @MilanoPHP coordinator, computer science passionate, retired netgaming nerd

This profile is from a federated server and may be incomplete. Browse more on the original instance.

jaapio, to php Dutch
@jaapio@phpc.social avatar

discovered livetechhelper.com, while the initiative could be positive explained, the execution is horrible! I found https://livetechhelper.com/repos/jaapio/phpunit
I can help with #phpunit but obviously any income should go to the original maintainers not to me because I created a fork!

Same applies to other projects, should we stop this?! #php #foss?

alessandrolai,
@alessandrolai@phpc.social avatar

@thomastospace @jaapio oh wow, I opened the page and I'm listed as the third possible "helper" 🤦‍♂️ yep, this is a bit "shady" to say the least..

heiglandreas, to random
@heiglandreas@phpc.social avatar

Great! Something changed in symfony/phpunit-bridge between 6.4.7 and 6.4.x-dev 15607a3 that now results in

Error in bootstrap script: PHPUnit\Event\Code\NoTestCaseObjectOnCallStackException:
Cannot find TestCase object on call stack

...

Not how I thought my day would start... 😕

alessandrolai,
@alessandrolai@phpc.social avatar
ramsey, to php
@ramsey@phpc.social avatar

Opinions/thoughts/advice on monorepos with . Is anyone working within this problem space? What tools do you use?

I know is a . Are the tools they use specific to them, or can others use them?

alessandrolai,
@alessandrolai@phpc.social avatar

@ramsey what problem are you trying to solve with the mono repo? Align split libraries? Align multiple microsevices? Align backend and frontend?

alessandrolai, to random Italian
@alessandrolai@phpc.social avatar

Thank you @phpday for this new tree! 😃 It's a really nice tradition gifting these to speakers!

#phpday #green

https://tree-nation.com/it/alberi/visualizzare/6149685

ramsey, to random
@ramsey@phpc.social avatar

I’d love to see a behind-the-scenes or making-of for . How do they put it together in such a tight, well-made package. There don’t appear to be many cuts, and John Oliver’s hand motions and everything is so well-choreographed. Is he really that good, or do they practice this over and over?

alessandrolai,
@alessandrolai@phpc.social avatar

@kboyd @ramsey so, like, he has Italian heritage? 🤣😜

Gargron, to BelieveInFilm
@Gargron@mastodon.social avatar

I took a new (to me) lens to San Francisco, the Canon FD 50mm/1.4, which I haven't had a chance to test before going (which I in hindsight realized was not very wise). I shot 4 rolls of film on the trip. Eagerly awaiting the scans to come back from the lab...

alessandrolai,
@alessandrolai@phpc.social avatar

@Gargron I have the same one, and it's definitely fun! It's like having super powers to do wonderful portraits! 😁

donatj, to php
@donatj@mastodon.social avatar

You know, while we’re dropping parentheses on things in #PHP I’d like it if we dropped them from control structures like if/for/while

End the argument of

if($foo) {

vs

if ($foo){

once and for all

if $foo {

to rule them all

alessandrolai,
@alessandrolai@phpc.social avatar

@donatj you're skipping the "right" approach, the one with spaces on both sides, which is the one required by PSRs, and PER-CS lately: https://www.php-fig.org/per/coding-style/#5-control-structures

ramsey, to Kubernetes
@ramsey@phpc.social avatar

Why isn’t --record=true the default behavior when applying changes to a #Kubernetes deployment?

alessandrolai,
@alessandrolai@phpc.social avatar

@ramsey what command are talking about? I do not use kubectl so much since Helm took over in my projects, but I don't remember that option though

alessandrolai,
@alessandrolai@phpc.social avatar

@ramsey I always only did kubectl apply for changes, never delved deeper so I didn't know this option! I switched to Helm that handles revisions automatically for rollbacks too...

I was searching around to understand it and I stumbled on this, it seems they're deprecating it: https://stackoverflow.com/questions/73814500/record-has-been-deprecated-then-what-is-the-alternative

alessandrolai, to random Italian
@alessandrolai@phpc.social avatar

And for #phpday closing keynote, @sarah is on stage with her talk about "Twenty lessons from twenty years of PHP"

alessandrolai, to php Italian
@alessandrolai@phpc.social avatar

Just got down from the stage, wow! Thank you for all the questions!

Now after me at #phpday is time for @afilina to talk about her adventures in legacy codebase and upgrading them to the newest #PHP version!

alessandrolai, to Symfony Italian
@alessandrolai@phpc.social avatar

In 5 minutes I'll be on #phpday stage with my talk "#Symfony Messenger: the sharpest tool in your #PHP toolbox"

Come to see me, and please give me feedback on Joindin!

https://alessandrolai.dev/talks/2024-phpday-symfony-messenger/

alessandrolai,
@alessandrolai@phpc.social avatar

@rskuipers thank you! Yours was very good too!

alessandrolai, to random Italian
@alessandrolai@phpc.social avatar

After lunch, @OndrejMirtes snuck in the #phpday lighting talk session talk to us about @phpstan 1.11 new release, with a couple of interesting new features!

alessandrolai,
@alessandrolai@phpc.social avatar

Error identifiers is a new feature that allows us ignore specific kind of errors instead of using the PHPStan-ignore annotation

alessandrolai, to random Italian
@alessandrolai@phpc.social avatar

@rob this is the Docker snippet that I was talking you about to avoid needed the wait-for script. You define the healthcheck on the MySQL service in Docker Compose:

mysql:
image: mysql:8
healthcheck:
test: "netstat -tulpn | grep LISTEN | grep -q 3306"
interval: 1s
start_period: 60s

then you can call:

docker compose up --wait mysql

or

docker compose wait mysql

Those commands are recent additions though!

alessandrolai,
@alessandrolai@phpc.social avatar

@willpower232 @rob definitely! But it's just a small improvement over Rob's approach that he had in his slides at #phpday, where he was executing a well known "wait-for" script

alessandrolai, to php Italian
@alessandrolai@phpc.social avatar

Right now on #phpday stage, Enrico Zimuel presents a talk about LLM in #PHP, and reminds us how LLM are "based on really big deep learning networks, no one fully understand how it works internally'

alessandrolai, to php Italian
@alessandrolai@phpc.social avatar

Now @Girgias is doing live coding on the #phpday stage in the #PHP codebase

Pretty bold if you ask me! 😂

alessandrolai, to php Italian
@alessandrolai@phpc.social avatar

We now have @rob talking about CI/CD and Github Actions!

#cicd #php #phpday

alessandrolai, to random Italian
@alessandrolai@phpc.social avatar

Now @rskuipers on #phpday stage talking about decisions for developers!

And yes, 35000 is the amount of decisions per day that we take! 🤯

alessandrolai, to random Italian
@alessandrolai@phpc.social avatar

#phpday day 2, let's start!

alessandrolai, to random Italian
@alessandrolai@phpc.social avatar

Last #phpday talk for today, @heiglandreas is talking about clocks and figs... Erh, @phpfig 😂

alessandrolai, to php Italian
@alessandrolai@phpc.social avatar

Now @paolomainardi on the #phpday stage talking about security and supply chain issues in the #PHP ecosystem

alessandrolai, to random Italian
@alessandrolai@phpc.social avatar

I'm now following Babarinde Odewumi's #phpday talk about the combination of Laminas Mezzio and Swoole to develop fast APIs

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • mdbf
  • tacticalgear
  • osvaldo12
  • InstantRegret
  • DreamBathrooms
  • cubers
  • magazineikmin
  • thenastyranch
  • khanakhh
  • Youngstown
  • slotface
  • kavyap
  • megavids
  • ethstaker
  • tester
  • GTA5RPClips
  • Durango
  • modclub
  • Leos
  • ngwrru68w68
  • everett
  • anitta
  • cisconetworking
  • provamag3
  • normalnudes
  • lostlight
  • All magazines