@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

“This guy seems to fundamentally misunderstand open source” — some rando on Hacker News

“Who is this guy?” — another rando on Hacker News

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.

ramsey, to php
@ramsey@phpc.social avatar

“Supply chain” always sounds corporate and boring, but these are crucial conversations we need to have within the and wider communities. https://phpc.social/@alessandrolai/112451344359136433

maccath, to random
@maccath@phpc.social avatar

@derickr @ramsey I get a 500 'generating thumbnail' whenever I try to upload an image attachment 😭 do you know what might be going on here?

ramsey,
@ramsey@phpc.social avatar

@derickr @maccath
@GeeH is the error @maccath mentions above the same error you were seeing?

ramsey,
@ramsey@phpc.social avatar

@maccath @GeeH
@ian might be able to answer this

msbellows, to random
@msbellows@c.im avatar
ramsey,
@ramsey@phpc.social avatar

@msbellows @paninid Was Kristi Noem her shopper?

ramsey, to php
@ramsey@phpc.social avatar

Brent Roose has another great write up about what’s new in 8.4. https://stitcher.io/blog/new-in-php-84

ramsey,
@ramsey@phpc.social avatar

@bobmagicii Yeah. I’m not sure I’m going to do it without the parens, but there are plenty of folks who want this feature, and other languages support this syntax.

ramsey,
@ramsey@phpc.social avatar

@bobmagicii That’s chaotic evil!

BlogWood, to random
@BlogWood@union.place avatar

An organization led by a wealthy Republican donor helped write a controversial new state law meant to force homeless people across Florida into state-sanctioned camps:
Sixty days in jail and forced psychiatric treatment: What Florida could do next to homeless people
https://jasongarcia.substack.com/p/sixty-days-in-jail-and-forced-psychiatric

ramsey,
@ramsey@phpc.social avatar

@KatM @Npars01 @lin11c @BlogWood I always thought these were government agencies. TIL they’re publicly-traded companies! 🤯

ramsey, to random
@ramsey@phpc.social avatar

TIL a pint is 4 gill

ramsey,
@ramsey@phpc.social avatar

A gill is 1/32 US gallon

ramsey,
@ramsey@phpc.social avatar

There are 32 US fluid drams in 1 gill

ramsey,
@ramsey@phpc.social avatar

@listless Yes, I know. The metric system is superior, but look at all the variety we have in the customary units system!

Crell, to random
@Crell@phpc.social avatar

I mean... elder Millennials might remember it, vaguely?

Nah, probably not...

ramsey,
@ramsey@phpc.social avatar

@hunter @Crell Elder Millennial would have been born around 81-84-ish.

I was born in 79, and I claim Xennial. 😉

GeeH, to random
@GeeH@phpc.social avatar

It is confirmed. @asgrim's job is to make me look good. I would like to upload the proof here but I still can't upload images 🤷 https://twitter.com/GeeH/status/1790345879959810432

ramsey,
@ramsey@phpc.social avatar

@GeeH @asgrim What’s happening when you try to upload images?

ramsey,
@ramsey@phpc.social avatar

@GeeH That’s because I toggled the “Confuse Gary” setting.

f_lombardo, to php Italian
@f_lombardo@phpc.social avatar
ramsey,
@ramsey@phpc.social avatar

@f_lombardo I wonder how standard Zend PHP compares or why they chose not to compare it.

ramsey, to Symfony
@ramsey@phpc.social avatar

Why does define what appears to be a “real” value for APP_SECRET in the .env file that’s committed to your repository, and then, right above it, there’s a comment that says (in all caps):

“DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.”

Where’s the documentation that explains what APP_SECRET is used for? Why doesn't it put this value in .env.local (ignored by .gitignore)?

ramsey,
@ramsey@phpc.social avatar

@manal @nicolasgrekas I think that should be explained in a comment in the .env file (or at least linked to from there). I have no idea how the value is used, so I assumed it was a “dummy” value. I was planning to push this code as a public repo, but I guess it’s not wise to leave that value in there?

ramsey,
@ramsey@phpc.social avatar

@ntha @tobiaskoengeter @Crell You can use attributes to define routes, now, and you don’t have to use YAML for configs; you can use PHP instead.

ramsey,
@ramsey@phpc.social avatar

@pieceofthepie I haven’t found anything that explains what APP_SECRET is used for, nor have I found any docs that say it needs to be regenerated for production

ramsey,
@ramsey@phpc.social avatar

@pieceofthepie How am I supposed to know APP_SECRET maps to that?!

ramsey,
@ramsey@phpc.social avatar

@jaapio I’ve been looking into this more, and I’m not sure what you mean by “it’s not a glue between symfony and existing middleware.” That’s exactly what it looks like, to me.

It allows you to use anything that implements Psr\Http\Server\MiddlewareInterface as middleware in Symfony, so any existing middleware should work.

ramsey,
@ramsey@phpc.social avatar

@tobiaskoengeter @Crell Yep. This is how it should be. And then, that .env file is ignored in .gitignore.

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

I managed to avoid for 10 years, but it’s finally caught up to me, so I hope I’m a Kubernetes god after going through all this required (by job) Kubernetes training.

When do I start honking like a duck goose?

ramsey,
@ramsey@phpc.social avatar

@flogallama See, I’m really bad about this.

I mean honk like a goose! 🪿

valorin, to random
@valorin@phpc.social avatar

Fair warning my Laravel & security friends:

Now that The Rings of Power promo is starting back up, I'll probably start talking about that on here too because I loved S1, and am very excited for S2. (I'll avoid spoilers though.)

If you'd just like to follow just my Laravel and Security work, I'd suggest signing up for my weekly security tips on http://securinglaravel.com. 🙂

ramsey,
@ramsey@phpc.social avatar

@valorin @derickr I think you’re right about the film rights. IIRC, Tolkien sold those to United Artists, and at some point, Saul Zaentz acquired them.

tress777, to random
@tress777@phpc.social avatar

Looking for some help with SimpleSAMLPhp. New to this platform, so I doubt my posts are getting much exposure. Please see previous posts. Thank you!

ramsey,
@ramsey@phpc.social avatar

@tress777 @bobmagicii Hey, Bill! One of the cool things about this platform is that we can follow hashtags, and then any post with that tag shows up in your main feed. So, in this case, you could add the hashtag, and then anyone following that hashtag might see your post and respond. It’s great for visibility when you don’t have tons of followers.

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