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

mcc, to random
@mcc@mastodon.social avatar

I have just been informed that Plex has a bug where if you upload to your Plex server an album either credited to "Various Artists" or containing a mix of artists on each track, it will list that album in the UI as being by "KONAMI". This is apparently a known issue.

ramsey,
@ramsey@phpc.social avatar

@mcc @andrewfeeney I’m now going down the mental rabbit hole of all the meta permutations we could make of this.

Later, they release an actual self-titled album, every one of the tracks is by “Various Artists, with various artists.”

heiglandreas, to random
@heiglandreas@phpc.social avatar

I wrote about why I think we should not use composer to install development tools:

https://andreas.heigl.org/2024/06/02/of-tools-and-dependencies/

ramsey,
@ramsey@phpc.social avatar

@ralphschindler @heiglandreas Its method of distribution is just composer require. https://laravel.com/docs/11.x/pint#installation

Do you mean the way it allows writing test files that don’t depend on external classes?

ramsey,
@ramsey@phpc.social avatar

@ralphschindler @heiglandreas The real problem comes when you have extensions. For example, PHPStan has a Phar distribution you can require using Composer, but when you also require one of its extensions, they depend on the main package (not the Phar package), so you get the full version with all its dependencies anyway. I’m also not sure how feasible it is for a self-encapsulated Phar to reach outside itself to include extensions that also might have dependencies.

ramsey, to random
@ramsey@phpc.social avatar

Is it appropriate for lawyers to appear on national news talk shows and spread unfounded conspiracy theories that would cause massive distrust in our legal system? That seems like something you should be disbarred for doing, right?

ramsey,
@ramsey@phpc.social avatar

@cam Right, but some professional associations have rules against causing harm to the profession. I’m not sure whether that’s a rule for admission to the bar, though, and they could also argue that they believe they’re telling the truth, and if so, their opposition is causing the harm. 🤷‍♂️

ramsey,
@ramsey@phpc.social avatar

@nick @cam That’s a good question, though I’d hope they’d be able to back up their claims with some kind of evidence, even if circumstantial.

Quinnypig, to random
@Quinnypig@awscommunity.social avatar

Amazon just chose violence on my spicy mustard order.

ramsey,
@ramsey@phpc.social avatar

@Quinnypig How many cases of it did you order that it saved you $9.99 in shipping fees?

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

I haven’t said it in a while, but I want to make sure everyone knows that I really appreciate what @eric and @john are doing at @phparch. I think the work they’re doing is awesome!

You should check out @phparch.

(No one is paying me for this promotion, nor have I been asked to do this.)

ramsey,
@ramsey@phpc.social avatar

@lewiscowles1986 @eric @john @phparch I’m not sure what this means.

sarah, to random
@sarah@phpc.social avatar

Do you include built-in functions in your namespace “use” declarations or not? Why or why not?

ramsey,
@ramsey@phpc.social avatar

@stevegrunwell @sarah There’s actually a micro-optimization reason for either importing or using \ in front of internal functions/classes, and that’s because PHP will first look in the current namespace to try to resolve the symbol. It falls back to the global namespace, if it can’t find it. If you tell it exactly where it is, PHP doesn’t have to do that work.

ramsey,
@ramsey@phpc.social avatar

@stevegrunwell @sarah This provides a bit of information about how PHP resolves function and class names: https://www.php.net/manual/en/language.namespaces.rules.php

maxalmonte14, to random
@maxalmonte14@indiehackers.social avatar

If people are not going to the movies anymore I have a crazy idea, hear me out, what if studios start doing small, well thought-out romantic comedies and dramas instead of the 300 million dollar CGI shit fest we have been getting during the last decade?

ramsey,
@ramsey@phpc.social avatar

@maxalmonte14 When you see the opening weekend numbers for movies like Dune 2 and Oppenheimer, it’s hard to believe people aren’t going to the movies.

ramsey, to random
@ramsey@phpc.social avatar

When running tests “with Coverage” in any #JetBrains IDE, where does it store the coverage files?

My project is running in containers with docker compose, and this is all set up properly. In fact, the tests run, and presumably, the coverage report is generated, but the IDE doesn’t show the coverage, and I think it’s because it must be storing the coverage report on the container somewhere, and the IDE can’t access it when trying to display the lines covered.

#PhpStorm

ramsey,
@ramsey@phpc.social avatar

@julesbl I think it’s not a PhpStorm issue, now. I think there’s some issue inside the container. I tried running PHPUnit directly in the container with --coverage-html and again with --coverage-text. Both times, the tests run and pass, but then there’s just the word “Killed” that appears where the code coverage messages are supposed to appear.

Synchro, to random
@Synchro@phpc.social avatar

My kind of conference feedback 😍

ramsey,
@ramsey@phpc.social avatar

@Synchro Is the number in parentheses the median, or something like that?

nixCraft, to random
@nixCraft@mastodon.social avatar

This is why you shouldn't be obsessed with Linus Torvalds, Richard Stallman (RMS), Stormy Peters, Alan Cox, and other figures in the open-source or Unix or Linux communities. 😂

ramsey,
@ramsey@phpc.social avatar

@nixCraft @lisamelton Is it celebrity worship that causes us to be less intelligent, or is it the less intelligent who are more prone to celebrity worship? 🤔

bootblacksubwoofer, to random
@bootblacksubwoofer@woof.group avatar

You're walking in the desert. There's no one around and your shield is dead
Out of the corner of your eye you spot him: Shai-Hulud

He's following you, about 30 miles back. He crests over a dune and breaks into a sprint
He's gaining on you: Shai-Hulud

You’re looking for your camp but you're all turned around. He's almost upon you now
and you can see there's teeth in his face. My God, there's teeth everywhere!

ramsey,
@ramsey@phpc.social avatar

@bootblacksubwoofer @uberbrady I’m reading Children of Dune (for the 2nd time), and I just got to the point where Leto II pops up from the sand dunes, wearing his sand trout skin, and shouts, “Surprise, motherfuckers! I’m Shai-Hulud!”

andrewfeeney, to random
@andrewfeeney@phpc.social avatar

Seen on reddit:

"The average US president has been convicted of 0.7 felonies"

ramsey,
@ramsey@phpc.social avatar

@bobmagicii @andrewfeeney Love statistics!

GeePawHill, to random
@GeePawHill@mastodon.social avatar

Actually, that's an interesting last sentence in that last thread: "Maybe I shoulda fought more."

One of the challenges of being an elder in the geek trades is this.

When you look at stuff in the trade, geek stuff, and you're appalled, you have to constantly wonder: is the problem really the problem you see, or is the problem the fact that you're just aging out?

ramsey,
@ramsey@phpc.social avatar

@GeePawHill The internet is bullshit. Computers are bullshit. Telecommunications is bullshit.

ramsey,
@ramsey@phpc.social avatar

@GeePawHill @thebillasch I’m only half goofin’, and with each passing year, I goof less on this.

ramsey, to random
@ramsey@phpc.social avatar

@a1ba Random question, but someone boosted a post of yours, and I noticed the UUID as your name. I’m curious about the story behind it (if there is one), since it doesn’t follow the standard. 🙂

(I’m not here to point out that it’s wrong, or anything like that. I’m just curious.)

ramsey,
@ramsey@phpc.social avatar

@a1ba Actually, that’s a pretty cool story. 😁

paninid, to Seinfeld
@paninid@mastodon.world avatar

All had to do was not say anything.

And he just could. not. resist.

You steal one guy’s idea to make a show about nothing and your inability to be a character actor and live long enough to project all your insecurities.

ramsey,
@ramsey@phpc.social avatar

@keithpjolley @paninid I didn’t think he’d done standup since before his show went off the air.

ramsey,
@ramsey@phpc.social avatar

@keithpjolley @paninid Just looked it up. I stand corrected. He’s done a few tours over the years.

ramsey,
@ramsey@phpc.social avatar

@paninid @angiebaby @peterbutler Show’s over. Nothing to cringe about. We enjoyed the set, though we were one of the youngest couples there (at 45!).

He was on script the whole time, but when he got a standing ovation at the end, he stuck around and answered some audience questions. Some folks shouted out some political questions, which he said he wasn’t going to touch.

He is super nihilistic, though.

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