IRC channel logs

2025-03-06.log

back to list of logs

<lechner>Hi, how may I use match-lambda* inside this syntax-case replacement expression, please? https://bpa.st/SEDQ
<mange>What's the error that you're getting?
<lechner>mange / "source expression failed to match any pattern in form"
<lechner>is that because of nested syntax features?
<mange>I think define-public only takes two forms, not three. You're expanding into (define-public name docstring (match-lambda* ...)), which doesn't work.
<mange>When it's 30 minutes between responses, it's helpful to give as much information as you can up-front (e.g. error messages).
<apteryx>is it possible to lazily refer to a binding produced by a macro in another macro?
<sneek>apteryx, you have 1 message!
<sneek>apteryx, civodul says: i can reproduce the hang when running ‘eudev --debug’ but i have no idea why it happens; my reading of eudev is that it causes it to log to /dev/console
<apteryx>civodul`: my reading as well! it's weird.
<apteryx>the doc says to stderr though
<apteryx>in log.c::log_open, it has a behavior dependent on log_target, which appears hard coded at the top of this file to LOG_TARGET_CONSOLE
<apteryx>OK, udevd has if arg_debug -> log_set_target(LOG_TARGET_CONSOLE); so that's confirmed
<apteryx>ah, for PID == 1, it attempts to write to /dev/console, otherwise to stderr
<apteryx>perelog_open_console
<apteryx>*per log_open_console
<apteryx>open_log does try to close syslog, assumed to be fdes -1. Not sure if this could cause a problem to shepherd.
<apteryx>I misread, -1 is when there was a problem opening /dev/log (syslog); otherwise it closes the valid fdes corresponding to it.
<civodul`>apteryx: perhaps you could try to modify the service to run “strace udev --debug”
<civodul`>sledgehammer, but it can provide useful hints
<apteryx>with the output logged to e.g. /tmp/udevd.strace ? or would i see it in ptty1 ?
<civodul>the output logged to stdout i’d say
<civodul>then you run a VM with ‘-serial stdio’
<z572>civodul: Hi, could you please merge this patch? https://0x0.st/8uNb.patch
<z572>bug-guile doesn't seem to have received the email I sent.
<civodul>z572: tweaked the commit log and merged; please close the corresponding bugs.gnu.org entry when it shows up
<civodul>thanks :-)
<civodul>ACTION is ‘git am’ as a service :-)
<z572>thanks!
<z572>ACTION update guile-next
<freakingpenguin>Hey all. Does anyone have an example of using Hoot's Procedure class in JS to call a Scheme function? I'm not sure how I'm supposed to generate the Procedure.