Replies

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

Girgias, to php
@Girgias@phpc.social avatar

Welcome, my name is Gina, my profession #PHP Engine Janitor, finding obscure bugs while cleaning up code and creating new and better engine APIs.

Girgias,
@Girgias@phpc.social avatar

@nielsdos the classic :D

thepanz, to random
@thepanz@phpc.social avatar

Been waiting in a parking lot for a while, and to kill some time I decided to open @organicmaps

Found out that a few places I could see from my car were not mapped, and proceeded to do so.

Feels good, and it's a good alternative to the "infinite scrolling" on social media! ๐Ÿ˜…

Girgias,
@Girgias@phpc.social avatar

@thepanz @organicmaps My neighbourhood is not yet mapped, and I should get round to it instead of fixing railway metadata lol

beausimensen, to php
@beausimensen@phpc.social avatar

I'm looking for a or php-cs-fixer rule that will enforce Modifier Keywords Order as defined in PER.

I would be fine with a PER-specific solution but happy to configure something generic w/ PER rules.

Girgias,
@Girgias@phpc.social avatar

@beausimensen Doesn't teh visibility_required fixer do the trick? https://mlocati.github.io/php-cs-fixer-configurator/#version:3.13|fixer:visibility_required

Crell, (edited ) to php
@Crell@phpc.social avatar

Hey #PHP. When you use union and intersection types, do you include spaces?

(RT for reach, etc. This is survey data for @phpfig. If you know of any official policies by major projects already, please note/link in the replies.)

#codingstyle #phpfig

Girgias,
@Girgias@phpc.social avatar

@Crell @phpfig Not that my opinion is worth much because I don't do accessibility, but I don't use spaces and seeing spaces in a type is just really weird to me.

18+ maccath, to random
@maccath@phpc.social avatar

Isn't it funny how two-faced our politics and society can be?

On the one hand, the government won't pay my unemployed spouse out of work benefit because we're married - half of my income belongs to him.

On the other hand, the government taxes me at a higher rate because my income is mine alone. What about the half that apparently belongs to my husband? Is it not calculated according to his status? No.

Q. Is my income mine or his?
A. It depends; whichever benefits HMRC/DWP.

18+ Girgias,
@Girgias@phpc.social avatar

@maccath I am guessing that you do know about Marriage Allowance already (https://www.gov.uk/marriage-allowance)

But yeah, what ever is convenient is what any government uses.

Girgias, (edited ) to random
@Girgias@phpc.social avatar

So we completely forgot about adding support for marking parameters with attributes in the PHP documentation.

But this is now done and some functions now show that their password parameters are annotated with the #[\SensitiveParameter] attribute!

Girgias,
@Girgias@phpc.social avatar

@timwolla that would be a good idea, please open an issue! :D

Mainly because I will forget otherwise and I might need to think a bit about how to edit the class mark-up, which might need to wait for the DocBook 5.2 migration to be finished

vm666, to php French

Charles Fol a prรฉsentรฉ la faille (CVE-2024-2961) ร  le 10/05/2024. On n'a toujours pas de dรฉtails. On dirait bien qu'il n'y a pas d'attaques gรฉnรฉralisรฉes non plus.
Quelqu'un aurait vu des sites compromis via ce genre de chose rรฉcemment ? Ou pire ?

Girgias,
@Girgias@phpc.social avatar

@vm666 C'est surtout pas une faille dans PHP, et faut faire des choses vachement sous optimal pour que รงa soit exploitable IMHO.

maccath, to random
@maccath@phpc.social avatar

Live coding always works in rehearsal but never on the day! Thankfully @Girgias is adept at improv in C, and remains cool as a cucumber under pressure (at least outwardly).

It's a nice 'day in the life of a core developer' talk. ๐Ÿ˜‚

#PHPDay24 #phpday

Girgias,
@Girgias@phpc.social avatar

@maccath didn't go to plan at all but we managed somehow :')

Crell, to python
@Crell@phpc.social avatar

Teaching #Python folks the joys of clear and explicit object type definitions. An interesting experience...

#Programming

Girgias,
@Girgias@phpc.social avatar

@ramsey @Crell The only one I know is FB's one, Pysa, in which they took the lesson learned from Zoncolan (like taint analysis, whose white paper @psalm used).

But I'm guessing there are some competing one.

https://engineering.fb.com/2020/08/07/security/pysa/

sarah, to random
@sarah@phpc.social avatar

My journey of transition and self-discovery https://sarah-savage.com/my-journey-of-transition-and-self-discovery/

This is my "coming out" story.

Girgias,
@Girgias@phpc.social avatar

@sarah > I struggled for many months against the notion that I might be *different [...] *And I oscillated between relief at knowing myself and deep depression at the potential consequences of coming out.

Yeah, very relatable.
Acceptance is step 1.
And there is no how to guide on coming out, nor the perfect time to do so, always something that could be better, not the correct mood, etc.

It is just a leap of faith into the unknown.

But happy to see you on the other side of it. :)

SenseException, to mastodon German
@SenseException@phpc.social avatar

Are there clients out there that do interpret and format ? ๐Ÿค”

Girgias,
@Girgias@phpc.social avatar

@SenseException I use @elk on my desktop, which does interpret MD.

soatok, to random
@soatok@furry.engineer avatar

Here's a fun idea:

A rust rewrite of the PHP interpreter

Girgias,
@Girgias@phpc.social avatar

@soatok I mean someone is already doing that kinda: https://github.com/Davidflogar/phpl

Girgias, to random
@Girgias@phpc.social avatar

> FRENCH new entrant Kevin Speed has confirmed details of the new train fleet that it plans to order to operate Ilisto commuter services on three high-speed lines in France from 2028.

> Kevin Speed

> Kevin Speed

> Kevin Speed

Girgias,
@Girgias@phpc.social avatar
ian, to random
@ian@phpc.social avatar

Is there anyone in Kobe/Osaka/Tokyo who can hook me up with a Rakuten Mobile physical or eSIM? Probably impossible since I don't have a Japanese ID card, but would be cool to test all four mobile networks here.

@nauleyco, know anyone?

Girgias,
@Girgias@phpc.social avatar

@ian @nauleyco @tekimen @KentarouTakeda @chatii @zonuexe ๅคšๅˆ†ๆ‰‹ไผใ†ใ‹๏ผŸ

grmpyprogrammer, (edited ) to random
@grmpyprogrammer@phpc.social avatar

And while I am on the topic, here some challenges Iโ€™d like to see other devs take up for PHP:

  • langchain support
  • our own version of numpy
  • abstraction layer around FFI, similar to how FrankenPHP/Swoole provides an implementation/framework for Fiber usage
  • Jupyter notebooks with first-class PHP support

I know there are folks out there looking to sink their teeth into some #php-adjacent projects

Girgias,
@Girgias@phpc.social avatar

@grmpyprogrammer @anthony The C/C++ is really not hard, it is just modifying one line of code in one specialization: https://github.com/php/php-src/pull/9218/files#diff-773bdb31563a0f907c75068675f6056b25f003e61f46928a31d9837ae107460dL165-R165

One could make it more complete by creating a new specialized multiplication handle for int/float, similar to what addition does. (As + in PHP is not always commutative (because array "addition")).

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