Luca Bruno

Results 26 comments of Luca Bruno

> I agree in general that we need to find some mechanism to indicate which resource attributes are identifying vs descriptive. To plot exactly 1 metric in Prometheus all the...

@shlevy that's because `mkDerivation` throws, so you don't have a derivation to override... perhaps we have to delay the `meta.broken` check down to nix. Alternatives? We might have a `_derivationError`,...

What's the point of checking mbstring.func_overload if `mb_strlen($aMessage['BINARY_NOTIFICATION'],'latin1');` does always the right job? It could be used in place of strlen always I guess.

It makes sense, but can you explain what's the problem with `pcntl_signal_dispatch` in your custom script? Also consider this change might break existing code that relies on that dispatch, so...

@jbaez ok, but can you explain _your_ specific problem? What's your use case for which the dispatch is wrong.

@jbaez oh I guess that's because you are queuing the kill signal on purpose? Thus `pcntl_signal_dispatch` would make the child quit?

@jbaez if you get a SIGCHLD it's because the child has exited, and with `pcntl_signal_dispatch` you see it. `pcntl_signal_dispatch` per se shouldn't send a SIGCHLD to the parent, rather the...

@jbaez it's not a "fix", it's a fix for your program that you applied to this library. I'm sure existing applications are relying on apns triggering signals in the loop....

@jbaez the reason for dispatching signals is that's a busy loop, and it would block signals if you don't dispatch them. It's quite natural for scripts, whether you are using...

I'm quite opposed to add a systemd service. It's just few lines of code and you are probably going to edit it anyway. It complicates all the documentation about `/etc`...