@derickr@phpc.social
@derickr@phpc.social avatar

derickr

@derickr@phpc.social

Hi, I'm Derick.

I work on PHP as part of the PHP Foundation.
I am the author of https://phpc.social/@Xdebug.

I like #walking, #languages, #photography, #astronomy, and #space, and will post about these topics alongside #PHP.

#fedi22

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

derickr, to BBC
@derickr@phpc.social avatar

It's Dead Ringers recording time at the for @BBCRadio4

derickr, to random
@derickr@phpc.social avatar

Tonight I'll toast to the AstraZenica . It was the first one available, and saved millions of lives. I am glad that my first shot was theirs. 💉

Slàinte Mhath!

itsjoshbruce, to php
@itsjoshbruce@phpc.social avatar

Learning how to do a thing.

Pretty sure it’s possible; never tried and haven’t been pulled to do so.

PHP creates sessions. Using cookies, it creates a cookie named: PHPSESSID (or similar).

I’d like to customize this; clean and simple.

Goal: I’d like to not have the PHPSESSID cookie. Not finding it.

Thinking:

  1. Disable session cookie
  2. Implement SessionHandlerInterface
  3. Set mine as the save handler
  4. Pass my session cookie in response header

Feel like I’m missing something.

derickr,
@derickr@phpc.social avatar

@itsjoshbruce Maybe set the https://www.php.net/manual/en/session.configuration.php#ini.session.name setting to something that isn't PHPSESSID? You're... going to need a cookie regardless.

derickr,
@derickr@phpc.social avatar

@bhhaskin @itsjoshbruce Yes exactly... so what would you want to do different?

jessie, to random
@jessie@mastodon.social avatar

Weird question: are there other languages where governments are putting money behind affordable, general-access language education as a restoration pathway like Welsh?

https://learnwelsh.cymru/

Asking for me, who loves language learning but also keeping to budgets.

derickr,
@derickr@phpc.social avatar

@jessie I've subscribed to their mailing list already too. I learned this on Duolingo before Welsh...

ralphschindler, to random
@ralphschindler@phpc.social avatar

Sending logs from php to stdout inside a docker container you’d think would be easy and a solved problem. It’s definitely not. I’ve seen dozens of different and clever ways.

My tried and true method for the last few years has been to use the DIO extension.

After googling to see if anything changed in php to make it possible, one comment sent me down the dark path of FFI.

This little evil dirty disgustingly sly, and while proud of won’t use gist was the result. 😈

https://gist.github.com/ralphschindler/94a1a51145ff3cc0df2d54b1c5acb9c9

derickr,
@derickr@phpc.social avatar

@ralphschindler Why can't you just open php://stdout and write to that?

derickr,
@derickr@phpc.social avatar
denniskoch, to php
@denniskoch@phpc.social avatar

It's nice to see PHP thriving again under the @thephpf. After the efforts in the past and the latest hires I think the development of the language is doing great.

What I'd love to see now, is some focus on:

  1. Marketing: Maybe starting with a modern PHP.net website to get rid of the „PHP is dead“ image and/or more tech content on social media.

  2. Sponsorship for important PHP tools and extensions like Xdebug, PHPStan, PHP CS Fixer, PHPUnit, Rector, to name a few.

derickr,
@derickr@phpc.social avatar

@denniskoch @thephpf There are slow rumbling plans for your first point under way.

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

@derickr There is a user3 account associated with you that keeps spamming me even though I am not following it.
Please fix.

derickr,
@derickr@phpc.social avatar

@grmpyprogrammer That's... Odd. Only I am in the follow list. Is it perhaps a hashtag that you're following, like # php?

derickr,
@derickr@phpc.social avatar

@Crell @grmpyprogrammer yes. But only manually. And I'm the only follower. So... And 't should only be able to get into your inbox if you follow one of its hash tags.

I did have an issue with a double ID. And I might have reposted that from my phpc.social account... But I still have no idea why it would show up for you.

It was like four of them, right?

derickr,
@derickr@phpc.social avatar

@Crell @grmpyprogrammer I'll be doing some more tinkering tomorrow, so we'll see then if it is fixed. It could just be the duplicate ID issue.

sean, to random
@sean@scoat.es avatar

This support dance of “pretend to talk to the bad AI thing that definitely can’t answer my question for 5 minutes before being allowed to talk to a human” is getting very old very quickly.

derickr,
@derickr@phpc.social avatar

@sean I only ever reply "I would like to speak to a human, please". Same with these phone "let me guess what you're saying" menus.

Synchro, to random
@Synchro@phpc.social avatar

Split is lovely, but I have to say that my knowledge of the rest of Dalmatia is spotty at best

derickr,
@derickr@phpc.social avatar

@Synchro Trogir is worth a visit.

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

Dwi'n cefnogi Jak Jones. Pob lwc! 🏴󠁧󠁢󠁷󠁬󠁳󠁿

molly0xfff, to random
@molly0xfff@hachyderm.io avatar

finally made an "AI" category (https://www.web3isgoinggreat.com/?collection=ai) for @web3isgreat to capture all the disasters pertaining to AI-powered cryptocurrencies and cryptocurrency-powered AI

derickr,
@derickr@phpc.social avatar

@Crell @molly0xfff @web3isgreat Numberwang!

derickr, to photography
@derickr@phpc.social avatar

📷 Spikey Moss

🚩 Weg van den Prins Willemsberg, Dieren, Nederland

sarah, to php
@sarah@phpc.social avatar

What are must-follow blogs AND do you have a recommendation for easy reading of their RSS feeds?

derickr,
@derickr@phpc.social avatar

@sarah I have an RSS feed, but I am not sure whether mine is must-follow 🙂

https://derickrethans.nl/feed-php.xml

derickr,
@derickr@phpc.social avatar

@sarah There are also some rumours of planet-php coming back in some form soon.

derickr, to random
@derickr@phpc.social avatar

Wordle 1,052 2/6

🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩

derickr, to photography
@derickr@phpc.social avatar

📷 Millennium Stones

🚩 Back Lane, Reigate and Banstead, United Kingdom

#StandingStoneSunday #Photography #Modernstonecircle

davidbisset, to random
@davidbisset@phpc.social avatar

🤦🏻‍♂️

"A local authority has announced it will ban apostrophes on street signs to avoid problems with computer systems" (#database issues).

https://www.bbc.com/news/uk-england-york-north-yorkshire-68942321

derickr,
@derickr@phpc.social avatar
grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

She Who Must Be Obeyed: “Not wearing your Princess Leia outfit today?”

Me: “I couldn’t get the slave outfit back from the drycleaners in time”

derickr,
@derickr@phpc.social avatar

@grmpyprogrammer I mean, other variants are available.

Image from Microsoft SwiftKey Keyboard

saramg, to random
@saramg@fosstodon.org avatar

Well, this is fairly satisfying...

https://www.bbc.com/news/live/uk-politics-68609729

derickr,
@derickr@phpc.social avatar

@saramg More LD elected councillors than Tories ... And Andy Street lost his mayoral election. Bring on the GE.

tericarol, to random
@tericarol@mastodon.scot avatar

I am absolutely DYING about Count Binface getting more than TWENTY FOUR THOUSAND votes in the London mayor election. I cannot stop laughing, it's cracking me up. So awesome.

derickr,
@derickr@phpc.social avatar

@tericarol He's on Mastodon! -> @CountBinface

markmccaughrean, to Netherlands
@markmccaughrean@mastodon.social avatar

Moo 🐮

Bonus picture from today’s 67km ride, taken on the edge of De Wilck nature reserve southeast of Leiden.

🚴‍♂️
🇳🇱
📷

derickr,
@derickr@phpc.social avatar

@markmccaughrean That's a great shot!

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