@ramsey@phpc.social
@ramsey@phpc.social avatar

ramsey

@ramsey@phpc.social

Coder, author, & speaker. PHP 8.1 & 8.2 release manager. ramsey/uuid maintainer. Open source developer. Senior Staff Engineer. Pronouns: he/him/his

Co-admin of the https://phpc.social Mastodon server.

All original content in public posts © me & licensed CC BY-SA 4.0, unless otherwise specified. :cc: :ccby: :ccsa:

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

torgo, to random
@torgo@mastodon.social avatar

Ok I'm officially tired of seeing the XKCD "Nebraska" comic.

ramsey,
@ramsey@phpc.social avatar

@torgo “[XKCD Nebraska comic sharing] will continue until [support for maintainers] improves”

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

talks 10 years ago: "Use value objects instead of arrays."

PHP talks nowadays: "Use value objects instead of arrays."

ramsey,
@ramsey@phpc.social avatar

@Crell @SenseException Arrays are just so easy to use in . Perhaps with property hooks and interface properties (combined with past changes to support property types), value objects will be easier.

ramsey,
@ramsey@phpc.social avatar

@Crell @SenseException Maybe not, but I think it gives properties on objects a full story. I’m not sure at this point why we would need a struct-like data structure.

ramsey, to security
@ramsey@phpc.social avatar

I just received word that someone found code in ramsey/uuid on their server that had been compromised to provide a back door into their system. The good news is that ramsey/uuid itself has not be affected. This appears to be a hacker who gained access to their system and modified code (locally) in ramsey/uuid to provide a back door.

I’m asking for more details to share, and I’ll update this thread, as I’m able.

tjdraper, to random
@tjdraper@phpc.social avatar

I say this with no rancor whatsoever. It’s about time.
https://mastodon.macstories.net/@johnvoorhees/112281520227483097

ramsey,
@ramsey@phpc.social avatar

@tjdraper This looks really cool.

bobmagicii, to random
@bobmagicii@phpc.social avatar

anyone using siri american 2 is the worst person, and each person exposed using siri american 2 is worse than the one prior. thats just the rules. i made them up. and they are non-negotiable.

ramsey,
@ramsey@phpc.social avatar

@bobmagicii Siri American 2 is my favorite Siri voice.

ramsey,
@ramsey@phpc.social avatar

@bobmagicii To each their own. I think american 2 sounds most like a normal human being, and she sounds happy.

ramsey, to random
@ramsey@phpc.social avatar

vimeo/psalm version 5 requires nikic/php-parser ^4.16

phpunit/phpunit version 11 requires phpunit/php-code-coverage ^11.0

phpunit/php-code-coverage version 11 requires sebastian/lines-of-code ^3.0

sebastian/lines-of-code version 3 requires nikic/php-parser ^5.0

End result: can’t upgrade to PHPUnit 11 if using Psalm.

😭🐼

ramsey,
@ramsey@phpc.social avatar

@tjdraper I still use both Psalm and PHPStan, but more-and-more, I think I only need one or the other, and PHPStan is the one I’m leaning toward.

ramsey,
@ramsey@phpc.social avatar

@tjdraper I wonder if I can figure out how to get a similar badge like this for PHPStan? https://shepherd.dev/github/ramsey/composer-repl-lib

ramsey,
@ramsey@phpc.social avatar

@heiglandreas I know. In this case, the package is a dev tool that relies on other dev tools.

ramsey,
@ramsey@phpc.social avatar

@heiglandreas I know. It just gets a little complicated: I integrated PHPUnit directly in a REPL, so you can write assertions directly from the terminal.

tim, to php
@tim@mastodon.timnolte.com avatar

@ramsey does this really mean that Debian has patched PHP 7.4 for it's binary packages? 👀

"CVE-2023-3823 CVE-2023-3824 CVE-2024-2756 CVE-2024-3096"

https://lists.debian.org/debian-security-announce/2024/msg00068.html

ramsey,
@ramsey@phpc.social avatar

@tim You’ll need to ask someone in the Debian project, but typically, the distributions do keep up with backporting security patches to the versions of PHP they still support for their distros.

ramsey,
@ramsey@phpc.social avatar

@tim I think if it’s a version of the distro they still support, then they will backport the security patches, even if the upstream version is EOL. Some of the distros have lengthy support windows for their LTS editions.

chris, to random
@chris@mastodon.chriswiegman.com avatar

I no longer have a mortgage.

ramsey,
@ramsey@phpc.social avatar

@chris Congrats!🎉

ghorwood, to random
@ghorwood@mastodon.social avatar

if i could tell new developers one thing, it would be "don't put queries in loops".

after screener of laravel debug bar showing 10 queries

ramsey,
@ramsey@phpc.social avatar

@kboyd @ghorwood Clearly 10 queries is not enough queries. We need more queries to show that more work is being performed.

ramsey,
@ramsey@phpc.social avatar

@kboyd @ghorwood My boss gets excited when the numbers are bigger. He loves seeing the response time numbers increase.

saramg, to random
@saramg@fosstodon.org avatar

Unboxing my latest silly indulgence.

"The Legacy of Picard":

  • TNG Complete Series
  • Picard Complete Series
  • All four TNG movies
  • "The Wisdom of Picard" (200pg book of quotes from the shows/movies)
  • 4x Château Picard Coasters
  • 5x Badge magnets
  • 1 Deck of Federation Poker Cards

Number 7084/11750

Would upload images, but fosstodon is 503ing at me.

ramsey,
@ramsey@phpc.social avatar

@saramg It’s so beautiful!

ramsey, to random
@ramsey@phpc.social avatar

We went to the Edgar Allen Poe Speakeasy tonight. It’s a traveling “pop-up speakeasy” that performs readings of four Edgar Allen Poe stories and serves a different cocktail with each story.

I definitely recommend checking it out, if they’re performing near you. https://www.edgarallanpoebar.com

ramsey, to random
@ramsey@phpc.social avatar

To my Michigander friends: what exactly do you consider to be the UP (upper peninsula)?

I had someone tell me they live in Indian River “in the UP,” and I looked it up on a map, and it’s not where I always assumed the UP to be.

I assumed the UP was the stretch of land that’s across the lake and connected to Wisconsin. It’s the land that is literally a peninsula. Is my assumption wrong?

ramsey,
@ramsey@phpc.social avatar

@josh Well, this explains my confusion.

Crell, to random
@Crell@phpc.social avatar

Would be a Democrat or Republican?

https://youtu.be/VHVyo8mklD8

ramsey,
@ramsey@phpc.social avatar

@Crell Haven’t watched the video, but my gut reaction is that he’d be neither, and he might not even be for democracy.

Noupside, to random
@Noupside@saturation.social avatar
ramsey,
@ramsey@phpc.social avatar

@Noupside @thomasfuchs Wait until they hear about the chemicals put out by automobiles.

ramsey,
@ramsey@phpc.social avatar

@TheIdlestHand @Noupside I thought Grand Rapids was in Michigan.

ramsey,
@ramsey@phpc.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • lostlight
  • GTA5RPClips
  • magazineikmin
  • thenastyranch
  • osvaldo12
  • mdbf
  • Youngstown
  • slotface
  • khanakhh
  • tacticalgear
  • rosin
  • InstantRegret
  • kavyap
  • DreamBathrooms
  • provamag4
  • everett
  • ethstaker
  • cisconetworking
  • normalnudes
  • Durango
  • modclub
  • anitta
  • cubers
  • tester
  • provamag3
  • Leos
  • JUstTest
  • relationshipadvice
  • All magazines