@bcremer@phpc.social
@bcremer@phpc.social avatar

bcremer

@bcremer@phpc.social

Web craftsman and open source enthusiast. I do web and linux stuff. Organizer of https://phpc.social/@phpugms. Developer at at #check24. Former #shopware evangelist. (He/Him).

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

bcremer, to php
@bcremer@phpc.social avatar

I'm trying to understand how the reported active processes can be greater than pm.max_children in . Do I just understand the settings wrong?

https://github.com/php/php-src/issues/14212

heiglandreas, to random
@heiglandreas@phpc.social avatar

Question for the @phpstan pros:

What am I missing here?

final class stdClassList
{
/** @var array<int, stdClass> */
public readonly array $classes;

public function __construct(stdClass ...$classes)
{
$this->classes = $classes;
}
}

https://phpstan.org/r/5b86ba21-7486-4eb5-bccf-1ebd4327829e

PHPStan reports "Property stdClassList::$classes (array<int, stdClass>) does not accept array<int|string, stdClass>." but I would expect that $classes will always be array<int, stdClass> without any string-keys

bcremer,
@bcremer@phpc.social avatar

@heiglandreas @shochdoerfer @phpstan
The string keys are not removed when called by the spread operator: https://3v4l.org/P3EYE

So your explicit array_values call it the way to go here.

bcremer,
@bcremer@phpc.social avatar

@heiglandreas @shochdoerfer @phpstan
Still the phpdoc of the constructor should be treated as certain and overwrite that during inspection time.

Schrank, to random
@Schrank@phpc.social avatar

Can someone explain to me what’s wrong here and how to fix it? Because my Safari is not complaining 🤔

#ssl #https #ohdearApp

bcremer, (edited )
@bcremer@phpc.social avatar

@Schrank @digitalCalibrator you wanna watch this talk lighting talk by @benjojo. That explains what is happening in your browser:

https://blog.benjojo.co.uk/post/browsers-biggest-tls-mistake

In short: Browsers maintain a list of intermediate certs for badly configured servers.

heiglandreas, to random
@heiglandreas@phpc.social avatar

First takeaway from going back to MacOS: Running tests in a dockerized environment got considerably slower.... 😕

bcremer,
@bcremer@phpc.social avatar

@heiglandreas @yivi make sure that you use ARM64 compatible docker images so no x86 emulation is used

naderman, to random
@naderman@phpc.social avatar

Hope you enjoyed my talk on Software Supply Chains with Composer - here are the slides https://naderman.de/slippy/slides/2023-12-07-SymfonyCon-Brussels-Get-a-Grip-On-Your-Projects-Supply-Chain.pdf - Come meet me at the conference and tell me all about how you and your company work with Composer and dependencies in general!

I also got Composer stickers!

bcremer,
@bcremer@phpc.social avatar

@naderman Any specific reason why you recommend to dump the autoloader during deploy time and not in the CI/CD stage so it's part of the build artifact?

bcremer, to random
@bcremer@phpc.social avatar

It has been a while but I'm on the road again with a user group talk. You can finde me babble about and restores in Düsseldorf on November 28. https://www.meetup.com/web-engineering-duesseldorf/events/296721420/

bcremer,
@bcremer@phpc.social avatar

@shochdoerfer thanks to a certain that let me have a practice run.

bcremer, to grafana
@bcremer@phpc.social avatar

Does really always require offline_access scope for OIDC? That seems wrong.

https://github.com/grafana/grafana/pull/44274
https://github.com/grafana/grafana/issues/57622
https://github.com/grafana/grafana/issues/27725

CC @dasniko
We talked about that on

bcremer, to random
@bcremer@phpc.social avatar

Inspired by the Keynote at : "Sustainability in IT" by @ufried

A good start is to monitor power consumption so I'm starting to build a dashboard with the power readouts of our servers using ipmitool.

https://speakerdeck.com/ufried/patterns-of-sustainability-going-green-in-it

bcremer,
@bcremer@phpc.social avatar

And the first metrics are live in grafana.

bitexpert, to random German
@bitexpert@rheinneckar.social avatar

It‘s a wrap! See you all next year for 2024

image/jpeg
image/jpeg

bcremer,
@bcremer@phpc.social avatar

@bitexpert That's a weird boyband featured in the second photo. @Schrank and the ChatGPTs.

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

Database abstraction layer...

Wondering how many people actually ever had to switch database systems (like from MySQL to PostgreSQL) in PRODUCTION ?

(but other languages are welcome)

bcremer,
@bcremer@phpc.social avatar

@dgoosens every abstraction comes with drawbacks and you loose access to specialiazed functions of certain SQL dialects. I mostly use Doctrine DBAL for it's better defaults and better API to PDO and not to exchange the DB vendor.

bcremer,
@bcremer@phpc.social avatar

@dgoosens one can still use MySQL specific query functions in DBAL queries. In the end SQL itself is way to loosely specified.

bcremer,
@bcremer@phpc.social avatar

@dgoosens In those situations I tend to use DBAL for the complex filtering and fetch the entities by primary key afterwards. So no need to pollute the ORM with vendor specifics.

heiglandreas, to random
@heiglandreas@phpc.social avatar

Are there plans for a pre @unKonf gathering? Officially or inofficially?

bcremer,
@bcremer@phpc.social avatar

@heiglandreas @unKonf will also arrive Friday evening. Happy to gather for some food.

bcremer,
@bcremer@phpc.social avatar

@heiglandreas @odrotbohm @bitHolger @unKonf @shochdoerfer @rskuipers My current ETA for Mannheim HBF is 19:00. Will join as well.

dasniko, to random German
@dasniko@mastodon.cloud avatar

Endlich mal geschafft, ein Ticket für die @unKonf bei @bitexpert in Mannheim zu kaufen.
Freu mich auf den 07.10.!

https://unkonf.de

bcremer,
@bcremer@phpc.social avatar

@dasniko @unKonf @bitexpert

Gut zu Wissen, dann bereite ich keinen Talk zu Keycloak vor und höre stattdessen dem Profi zu :)

SenseException, to random German
@SenseException@phpc.social avatar

I bought an Mannheim ticket and I hope I'll see a lot of people I haven't seen for a long time. :elephpant_run: :partyparrot:

bcremer,
@bcremer@phpc.social avatar

@SenseException See you there 👋

Girgias, to php
@Girgias@phpc.social avatar

I kinda need ideas for talks.

Do people want to know something particular about ?
Be that internals, documentation, whatever insanity or pet peeve that goes through my mind (although that feels more like a regular podcast segment).

I'm all ears! :)

bcremer,
@bcremer@phpc.social avatar
theseer, to random
@theseer@phpc.social avatar

Why did I only today learn about the awesome https://mailcatcher.me/ project?

bcremer,
@bcremer@phpc.social avatar

@theseer you might also have a look at mailpit. The same but with a more modern frontend and comes as go binary.

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

In honour of my return from , I gathered up my collection of elephpants to share with you. I am looking to trade some of the doubles so let me know. 1/X

bcremer,
@bcremer@phpc.social avatar

@grmpyprogrammer The blue one is named Cody Blou from Shopware.

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