Posts

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

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

My local brewpub, #TailgateBrewery, is releasing a new beer named “J.R.R. Tokin' Hazy IPA,” and I am here for it! #beer #tolkien

PeterRobison,
@PeterRobison@nashtodon.com avatar

@ramsey
Cannabis-infused, I take it? I'm dubious. If you have tried it yet, how is it?

ramsey,
@ramsey@phpc.social avatar

@PeterRobison I haven’t tried it yet. I’ll try to get out this weekend and try it. I doubt it’s cannabis infused, or if it is, it’s one of the strains legal to grow and consume here. That said, all hops are in the hemp family.

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?

ramsey,
@ramsey@phpc.social avatar

@alessandrolai I don’t know. I’m not asking for me. 🙂

Crell,
@Crell@phpc.social avatar

@ramsey Symfony uses a custom Go tool to do their repo split, IIRC. That's the only way I'd even consider a monorepo.

ramsey, to random
@ramsey@phpc.social avatar

Et tu, ?

theshaunwalker,
@theshaunwalker@phpc.social avatar

@ramsey Je suis, iTerm3

Just because it rhymes.

ramsey, to php
@ramsey@phpc.social avatar

This is a pretty cool package, if you use #Twig with #PHP and #Xdebug. https://github.com/ajgarlag/AjglBreakpointTwigExtension

ramsey,
@ramsey@phpc.social avatar

@jaapio I did not know this. How do you set the breakpoints in the templates?

ramsey,
@ramsey@phpc.social avatar

@jaapio Never mind. That post shows how. 🙂

ramsey, to random
@ramsey@phpc.social avatar

@shiflett Happy birthday, Chris!

shiflett,
@shiflett@mastodon.social avatar

@ramsey Thanks, Ben!

ramsey, to random
@ramsey@phpc.social avatar

Matt Smith is really great in . It helps that he was my favorite Doctor.

wbrowar,
@wbrowar@hachyderm.io avatar

@ramsey have you gotten through season 2? Is it still good?

ramsey,
@ramsey@phpc.social avatar

@wbrowar Is season 2 out yet?

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?

kboyd,
@kboyd@phpc.social avatar

@ramsey I think it's actually a physical condition of his, and they have to practice toning it down.

alessandrolai,
@alessandrolai@phpc.social avatar

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

ramsey, to random
@ramsey@phpc.social avatar

Why are the bytes output from gpg --export different from those output from gpg-wks-client --install-key, for the same key… yet the fingerprint reported from both is the same?

How can I output the same bytes using just gpg --export? (The latter creates a file in a local openpgpkey directory, and I just want the bytes dumped to stdout instead.)

(Also, the latter generates a much, much smaller file size than the export command, which is why I’d prefer using it.)

ramsey, to random
@ramsey@phpc.social avatar

@osi I sent an email to the license-discuss list (I’m a member of the list), but I can’t tell whether the list actually got it. It doesn’t show up in the archives (nothing from May is in the archives, but maybe no mail has been sent this month?): https://lists.opensource.org/pipermail/license-discuss_lists.opensource.org/

Who should I contact to find out if the message was actually received? Maybe there’s moderation happening, and no one has approved it yet?

ed,
@ed@opensource.org avatar

@ramsey @osi this is weird. can you please email the list owner and list admin?

ramsey,
@ramsey@phpc.social avatar

@ed @osi Done. Thanks!

ramsey, to random
@ramsey@phpc.social avatar

It’s interesting to note that many of the AI suggestions for PHP code (in IDEs) use older syntax and practices, such as using a string for the fully-qualified class name, instead of ClassName::class, which is the modern and generally-accepted best practice today.

ramsey,
@ramsey@phpc.social avatar

So, if AI was trained on all the publicly-available code it found on GitHub and the rest of the web, and if MOST code is shit code, then does that mean AI is recommending the worst practices to new developers?

calinpristavu,

@ramsey the interesting thing for me will be that eventually newer/better(tm) models will be trained on code produced by older models. Talk about an echo chamber

ramsey, to Kubernetes
@ramsey@phpc.social avatar

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

ramsey,
@ramsey@phpc.social avatar

@alessandrolai Like when creating a deployment. It tells it to record the command used to create the deployment. If you don’t use it, then it doesn’t record the command, so if you update your deployment and don’t tell it to record, then when you look at your history, you see each revision, but not the command that made the revision.

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

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

ramsey, to php
@ramsey@phpc.social avatar

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

ramsey,
@ramsey@phpc.social avatar

@bobmagicii That’s chaotic evil!

bobmagicii,
@bobmagicii@phpc.social avatar

@ramsey excited about the html thing and implicit nullable though, i always thought that loop hole was weirdish as i stare at my method declarations being like "does this reallllllly make sense?"

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

18+ listless,
@listless@social.cringecollective.io avatar

@ramsey Whereas in the American system, the answer to ‘How much energy does it take to boil a room-temperature gallon of water?’ is ‘Go fuck yourself,’ because you can’t directly relate any of those quantities."

--Josh Bazell, Wild Thing

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)?

Crell,
@Crell@phpc.social avatar

@ramsey I believe it's used for a security key, much like the Laravel equivalent.

Symfony does some very dumb things with env files.

pieceofthepie,
@pieceofthepie@n8e.dev avatar

@ramsey yeah, that is weirdly hard to track down :S

Symfony does have some oddities.

https://symfony.com/doc/current/reference/configuration/framework.html#secret

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