Avatar
Ben Ramsey
e653eb60b2db5edf906d354c2825bf00a80dfab1b1766cd97805155e8fcc0db3
Coder, Author, & Speaker. PHP 8.1 & 8.2 RM. ramsey/uuid. Open Source. Staff+ Engineer. he/him Co-admin of https://phpc.social All original content © me & licensed CC BY-SA 4.0, unless otherwise specified. :cc: :ccby: :ccsa: The opinions expressed on this profile are my own and do not necessarily reflect the views of my employer or any affiliated organizations. Any information shared is intended solely for informational purposes and should not be construed as professional advice.
Replying to Avatar dseguy

nostr:npub1jpp36eeycvlkkdy4d4l4lgswvf8jtdare5vly0w0sk7rc39pzgrqlyu59l I’m not sure what difference I’m supposed to see. All 8 versions are the same. EOL may be?

nostr:npub1c25hmmzjxfne2j9psplew985g7ac5jw0gajx437n7e4ae7v30scskk6m89 There’s a difference in the output of the two links in my original post.

Replying to Avatar Ben Ramsey

I can get PHP’s RecursiveDirectoryIterator working by passing it to RecursiveIteratorIterator and looping over it, like here: https://3v4l.org/ll176

But I can’t seem to figure out how to get this working with RecursiveCallbackFilterIterator. From my understanding, this should have the same output as the example above, but it’s not even looping because $contents->valid() is returning false. https://3v4l.org/MM7kZ

What am I doing wrong?

I don’t know why, but apparently `foreach` makes a difference. Maybe something is confusing `valid()`? https://3v4l.org/vCif6

I can get PHP’s RecursiveDirectoryIterator working by passing it to RecursiveIteratorIterator and looping over it, like here: https://3v4l.org/ll176

But I can’t seem to figure out how to get this working with RecursiveCallbackFilterIterator. From my understanding, this should have the same output as the example above, but it’s not even looping because $contents->valid() is returning false. https://3v4l.org/MM7kZ

What am I doing wrong?

nostr:npub12lxtr540euchz3wpu4l745spze9fesue5lcentzceegq04ftzzxsajjvjy I heard he didn’t want to do that bit in Happy Gilmore, but when he heard he would get to kick Adam Sandler’s ass, he signed on.

Cargo pants cult

nostr:npub1pf5mgs65s6fd3lfjmre0qh2gxchhctpjxz6vndg6ra5rcrylg2cqdad0wg I almost responded in the opposite direction and replied, “I just use Safari.” 🤣

nostr:npub1hxqujespmq3rm9qthmery6e8x0hst8mecdlg6wjws5udteh4f5xqg7mxz5 Oh, yeah. Sorry. It was this: https://www.jetbrains.com/help/phpstorm/resolve-conflicts.html

Since I use the command line mostly, I never see that UI, but you can get it it by right-clicking a conflicted file, choosing to resolve conflicts, and then clicking the Merge button. I had gotten that far before but I didn’t click the Merge button because I didn’t know what it would do. 🤣

Let's say you want to maintain a staff of about 100 people per year for 100 years. If salaries stay completely flat over that time (and they won't), you'd need about $1.5 billion dollars, and this doesn't include all the other operational and infrastructure costs.

So, just from salaries alone, to maintain a company of 100 people, you'd need 41,667 paying customers at $36k each.

Everyone's focusing so much on the storage/technology costs around the #WordPress #100YearPlan, but no one's talking about the personnel costs.

You have to pay engineers to keep this stuff running. Even if it's static content in the cloud, there's still infrastructure and a company to run around it.

$38k for 100 years sounds pretty cheap to me when you consider the costs to maintain continuity and staff for a business over that time.

nostr:npub1hwzna5706gkfu7963zctxy0978kfxsva4zf8nq2zx93rtrm4yj8ssag6cs The GitHub UI is becoming overwhelming, as well. They’re trying to pack in too many features.

nostr:npub1hwzna5706gkfu7963zctxy0978kfxsva4zf8nq2zx93rtrm4yj8ssag6cs Because it’s easier (to me) install, configure, and use. I have never been a fan of the GitLab UI. I find it unintuitive and overwhelming.

nostr:npub10t7n0dwuqvfcrdjl0q7shjxrl27hqv74wegxuz5rm0ys46z6frpq8ddg2d nostr:npub1kmxyvf4dk3ez7nxxtpwgv84jq7h47zj7un2lfx2q5cc9t7tfhxlsmqvmdk nostr:npub1sdw0ntn3uh6rjt7tfmevaedr65ahxd5psyzt02lrsejvchr2u03s65er45 I don’t have a problem with the decision to make them static, other than the fact that I have 460 data providers that need to be modified, along with whatever else they call and depend on.

nostr:npub10upwcy5gkxm48pecr883hfh86lc04dhkk5khvlqclvu6ew7vjeusuntqyu VTTs (virtual table tops) are becoming very popular. I play on #Roll20, and one group I play with uses #FoundryVTT.