!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

81 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
3 Oct 2022
@etu:semi.socialetuAnd it ran the tests as well so it should be fine :)08:25:13
@drupol:matrix.orgPolmassive!08:25:42
@etu:semi.socialetu So now we have figured out why imap were disabled for darwin 6 years ago and fixed it 08:26:01
@drupol:matrix.orgPolYep, nice one08:26:14
@etu:semi.socialetu I'm pretty sure uwimap were possible to build on darwin back then as well... just that nobody cared enough 😛 08:26:24
@drupol:matrix.orgPolNow the 22.11 blocker :D08:26:25
@drupol:matrix.orgPolyep 08:26:31
@drupol:matrix.orgPolWe should enable PHP nts by default instead of zts08:26:42
@etu:semi.socialetuI actually don't really know the difference :D14:04:17
@drupol:matrix.orgPolIt's about threads. NTS - Non Thread Safe, ZTS - Zend Thread Safe.14:16:12
@drupol:matrix.orgPolZTS was used when it was PHP was used mostly with Apache.14:16:32
@drupol:matrix.orgPolNowadays NTS is mostly used, this is the default now.14:17:08
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.14:25:32
@etu:semi.socialetuI see, so I guess we should just switch over to NTS then? Will it affect Apache usage though?14:55:24
@aanderse:nixos.devaanderse

Will it affect Apache usage though?

yes, httpd can't/shouldn't use threaded php with mod_php

15:43:15
@etu:semi.socialetuYeah, we have to... organize that in some nice way that doesn't get cluttered I guess15:57:06
@etu:semi.socialetuAnd gets cached15:57:12
@drupol:matrix.orgPol ramsey: 17:42:41
@drupol:matrix.orgPolThe message you posted on Twitter the other day, about immutability and stuff17:42:58
@drupol:matrix.orgPol * The message you posted on Twitter the other day, about immutability and PSalm stuff17:43:05
@drupol:matrix.orgPol Was it related to the class RandomNodeService of ramsey/identifier ? 17:43:26
@drupol:matrix.orgPolI guess this is the reason why you didn't do:17:43:36
@drupol:matrix.orgPolimage.png
Download image.png
17:43:39
@ramsey:matrix.orgramseyYes17:45:43
@drupol:matrix.orgPolAh right, so, you can discard my screenshot then :)17:46:02
@ramsey:matrix.orgramseyWell... sort of. It was about using that class within another class that's immutable17:46:03
@drupol:matrix.orgPolOkay17:46:23
@ramsey:matrix.orgramseyIt was about trying to designate the UUID factories as immutable, but I can't do that because I'm using that random service here: https://github.com/ramsey/identifier/blob/cd0fb1c321bf3c3c1fd418a3318f5904b3a8e9c3/src/Uuid/Factory/UuidV4Factory.php#L5217:47:48
@drupol:matrix.orgPolOh... what's the best pattern there?17:49:23
@ramsey:matrix.orgramseyI don't know. It technically mutates the state of the randomizer on the machine, so the class can't be considered immutable17:49:53

Show newer messages


Back to Room ListRoom Version: 6