@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.

donatj, to php
@donatj@mastodon.social avatar

You know, while weโ€™re dropping parentheses on things in 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 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, to random Italian
@alessandrolai@phpc.social avatar

And for 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 is time for @afilina to talk about her adventures in legacy codebase and upgrading them to the newest version!

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

In 5 minutes I'll be on stage with my talk " Messenger: the sharpest tool in your 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 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 , where he was executing a well known "wait-for" script

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

Right now on stage, Enrico Zimuel presents a talk about LLM in , 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 stage in the 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!

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

Now @rskuipers on 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

day 2, let's start!

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

Last talk for today, @heiglandreas is talking about clocks and figs... Erh, @phpfig ๐Ÿ˜‚

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

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

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

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

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

After some small technical difficulties, we have @maccath on the stage, with her talk about "Shrek, Onions and Architecture" ๐Ÿง…๐Ÿ˜‚

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

Finally! I'm at dear Hotel San Marco, which feels like home! โ™ฅ๏ธ

Now that I collected my tag, I can sit and relax and watch the next talk...

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

I'm near Verona now, I'll be there soon!

I got back my connection, just in time for @derickr presentation about new #PHP 8.3 (and 8.4!) features at #phpday

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

My train has started, delay was due to bad weather, it will even have to skip a stop..

Spotty connection, so I have to ditch my plan of building a new Docker image while traveling ๐Ÿ˜‚ but I'm trying to follow #phpday stream and Johannes Pichler's talk about building APIs with Laravel

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

My #phpday is not starting great, with 1h delay for my train ๐Ÿ˜–

In the meantime I'm sitting at the station and following @michelle's opening keynote stream, titled "Community, #PHP and us: Growing up"

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

Today is @phpday! Getting ready to get there!

PS: I'll be very active in the next 48h, if you're not interested you should mute the hashtag

dshafik, to random
@dshafik@phpc.social avatar

This is a great example of things you can do... but probably shouldn't: https://github.com/paragonie/typed-arrays (is paragonie in the fediverse?)

alessandrolai,
@alessandrolai@phpc.social avatar

@dshafik don't know about the company, but @scottarc is here

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