!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

80 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
27 Nov 2022
@etu:failar.nuetuI don't have an error message other than "it crashed quickly"19:33:30
@etu:failar.nuetuIf I run the same program by full path with same command line flag, it starts up fine.19:33:56
@etu:failar.nuetuSince both... systems are built from the same nix config locked to the same versions... the only real thing that differs is the... hostname :D19:35:06
@drupol:matrix.orgPolOh19:48:42
@drupol:matrix.orgPolIntelephense on vscode ?19:48:48
@drupol:matrix.orgPolNever had issues with it :S19:48:53
@drupol:matrix.orgPolI wish it could be more active and provide more updates19:49:03
@drupol:matrix.orgPolI even paied the license to support the dev19:49:14
@etu:failar.nuetu
In reply to @drupol:matrix.org
Intelephense on vscode ?
No, emacs
20:32:13
@hexa:lossy.networkhexaworks on helix 😄20:42:42
@hexa:lossy.networkhexacan't say I like php tho20:42:50
@drupol:matrix.orgPolJust ignore the coding style... and use phpcsfixer... 21:10:05
@hexa:lossy.networkhexathat's the plan 😄22:46:32
29 Nov 2022
@tgerbet:matrix.orgtgerbet

Hey,

After encountering a segfault while running Psalm I saw that JIT SEAlloc in PCRE was re-enabled in https://github.com/NixOS/nixpkgs/pull/184634 (I disabled it in https://github.com/NixOS/nixpkgs/pull/184634)
The issue in the PHP bug tracker is indeed closed because it was considered there was nothing left to do on their side but it is still problematic.
Basically it breaks when the app fork(). This is mentioned in the PCRE README "It does not support fork() operation" https://www.pcre.org/readme.txt

As I said in my initial PR this option is likely to cause more troubles than the advantages it may bring. Especially since PHP 8 has a JIT on its own, running it in restricted env is likely to require more than enabling the PCRE JIT SEAlloc option.

How would you like to proceed on this etu Pol ?

16:41:13
@tgerbet:matrix.orgtgerbetI drafted a PR extending the existing PCRE test to demonstrate the issue https://github.com/NixOS/nixpkgs/pull/20363417:54:51
30 Nov 2022
@etu:failar.nuetuI guess we should include that test and a fix for it and backport it to 22.11 as well then :)05:58:00
@drupol:matrix.orgPolI think the same.07:08:43
@tgerbet:matrix.orgtgerbetThanks for the confirmation, PR updated :) 14:35:53
@etu:failar.nuetuDrunk github-actions bot is drunk: https://github.com/NixOS/nixpkgs/commit/9126bcf60802d2263dfe0d4fac3e2c31947f3c07#commitcomment-9155561215:06:56
@drupol:matrix.orgPolOh it has already been merged15:11:30
@drupol:matrix.orgPolThe filename was erroneous :S15:11:35
@drupol:matrix.orgPolOops sorry forget what I said.15:12:02
@drupol:matrix.orgPol Thanks for the PR tgerbet !!! 15:12:17
@tgerbet:matrix.orgtgerbetThanks for the fast merge 😄15:17:05
1 Dec 2022
@hexa:lossy.networkhexa changed their display name from hexa to hexa (22.11 now).13:09:13
@hexa:lossy.networkhexa changed their display name from hexa (22.11 now) to hexa.14:39:21
5 Dec 2022
@drupol:matrix.orgPolFifth day of the Advent Of Code08:29:13
@drupol:matrix.orgPolI'm having fun :)08:29:18
6 Dec 2022
@drupol:matrix.orgPolPosting my solutions here: https://github.com/drupol/aoc202209:21:40
7 Dec 2022
@drupol:matrix.orgPol You crazy etu ! 13:50:28

Show newer messages


Back to Room ListRoom Version: 6