!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

80 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
27 Nov 2022
@drupol:matrix.orgPolI use VSCode, and rely on PHPCSFixer.18:03:12
@drupol:matrix.orgPolI can make a demo at anytime if you want.18:03:20
@hexa:lossy.networkhexaI feared as much 😄18:06:47
@hexa:lossy.networkhexamaybe I should embrace vscodium at least18:06:55
@drupol:matrix.orgPolUse any editor you want, then just run phpcsfixer to reformat the code18:16:06
@drupol:matrix.orgPolI can show you everything when you want.18:16:27
@hexa:lossy.networkhexathanks, I'll get back to that when I think I'm uncomfortable with what I have18:24:12
@drupol:matrix.orgPolOkay18:36:02
@etu:failar.nu@etu:failar.nu
In reply to @drupol:matrix.org
etu: I created the backport: https://github.com/NixOS/nixpkgs/pull/203285 against release-22.11 is it ok ?
I'm assuming the bot will do that.
19:24:27
@drupol:matrix.orgPolOki19:24:37
@drupol:matrix.orgPolThx for merging !19:24:41
@etu:failar.nu@etu:failar.nu
In reply to @hexa:lossy.network
my primary editors these days are neovim and helix
I use intelephense (it's nonfree but it's in nixpkgs) with an LSP integration in Emacs, it's great.
19:25:35
@hexa:lossy.networkhexasame with helix19:29:06
@etu:failar.nu@etu:failar.nuHowever I have some weird issue with intelephense... on my private laptop it works good... on my worklaptop it has started to crash a few weeks back... I even tried to clone the same open source project to the same filesystem path...19:33:16
@etu:failar.nu@etu:failar.nuI don't have an error message other than "it crashed quickly"19:33:30
@etu:failar.nu@etu:failar.nuIf I run the same program by full path with same command line flag, it starts up fine.19:33:56
@etu:failar.nu@etu:failar.nuSince 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.nu@etu:failar.nu
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.nu@etu:failar.nuI guess we should include that test and a fix for it and backport it to 22.11 as well then :)05:58:00

Show newer messages


Back to Room ListRoom Version: 6