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

JosephLeedy, to random
@JosephLeedy@phpc.social avatar

I’m at my wits end with Enterprise Car & Van Hire UK right now. Anyone got any suggestions?

https://maps.app.goo.gl/YpXPXEpQewLZ4Dhj6?g_st=ic

derickr,
@derickr@phpc.social avatar

@JosephLeedy Small Claims Court. Might be a pain from the US though :-/.

derickr,
@derickr@phpc.social avatar

@JosephLeedy I reckon it depends how much evidence you have. You write "They even gave me a discount for the trouble." And, wasn't their anything insured? Ask them for the proof that you caused this damage (I suspect you have though?). I would suggest you don't pay anything. I wonder how they'd even send you for collections... you being in the US. You might also want to have a look at https://www.themotorombudsman.org/consumers/make-a-complaint for an alternative.

edgren, to php

The more I'm thinking about it, the more I consider it.

I want to add a map for my bicycle rides, but I can't find any good PHP maps. The PHP versions of Leaflet on GitHub are no good. They don't work at all. They just gives you errors like "can't load class" or something like that.

So even if I am against it only to challenge myself, I consider using Leaflet in JS for airikr.me/biking.

Or do you have any solution in PHP that works out of the box?

derickr,
@derickr@phpc.social avatar

@edgren I've used leaflet (js) on the Web, pulling data in geojson from a PHP backend. It works great.

Select the Flickr layer on https://maps.derickrethans.nl/ for an example.

derickr,
@derickr@phpc.social avatar

@edgren How would PHP do that in the browser?

derickr,
@derickr@phpc.social avatar

@edgren I would just get the right osm map tiles and draw on that. I did that ages ago.

derickr,
@derickr@phpc.social avatar

@edgren I'll check tomorrow or I still have that code somewhere.

sundogplanets, to random
@sundogplanets@mastodon.social avatar

I am talking o a reporter about this in a couple hours: https://regina.ctvnews.ca/from-outer-space-sask-farmers-baffled-after-discovering-strange-wreckage-in-field-1.6880353

This is about an hour away from my farm, so this'll be a fun conversation, and yet another great opportunity to tell a lot of people about what a huge problem we have with unregulated commercialization of orbit. (Also I just redid my slides for my public talk next week, this is going in!)

derickr,
@derickr@phpc.social avatar

@sundogplanets @planet4589 I'm sad he's no longer posting here.

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.

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