Search
Monday, 10th of June 2019, 0:04:15 UTC
0:25:10
semz
Is FORMAT required to detect whether its string arguments share data if *print-circle* is set? (let ((x " and share") (*print-circle* t)) (format nil "Let's share~A~A~A!" x x x)) gives "Let's share#1= and share#1##1#!" instead of "Let's share and share and share and share!".
0:27:09
semz
on CCL 1.11.5 at least
0:31:27
grewal
fwiw, cmucl, sbcl, and clisp print "Let's share and share and share and share!" with that code
0:45:52
RaycatWhoDat
What's the commonly used library for dealing with the filesystem in Common Lisp?
0:46:24
RaycatWhoDat
UIOP is proving to be more difficult than expected.
2:48:10
beach
Good morning everyone!
5:04:06
Elronnd
is there a way to check if a file contains valid code, without loading it?
5:04:20
no-defun-allowed
define "valid"?
5:04:35
beach
Elronnd: You can get some information by compiling it.
5:04:44
Elronnd
no-defun-allowed: if it could be loaded
5:04:51
Elronnd
beach: how do I do that?
5:04:56
specbot
http://www.lispworks.com/reference/HyperSpec/Body/f_cmp_fi.htm
11:02:26
jmercouris
having a bit of a problem getting dbus to work macOS
11:02:28
jmercouris
https://gist.github.com/jmercouris/3c4f792cb7068b8d845a79161c06069d
11:02:52
jmercouris
"No server addresses left to try to open", however I believe this is false
11:03:43
jmercouris
how can I test that?
11:04:48
jmercouris
the thing is "addresses is nil"
11:05:58
jackdaniel
someone calls (open-connection whatever nil), I'm not sure if there is much moer to it given this scarce backtrace
11:06:24
jackdaniel
(some <whatever> nil) ; -> nil
11:07:16
jmercouris
(dbus:session-server-addresses) --> nil
11:07:36
jmercouris
using this (dbus:with-open-bus (bus (dbus:session-server-addresses)) ...)
11:08:24
jmercouris
we have this: https://gist.github.com/jmercouris/b98a3f3e24c47175aa09ea6010b9ef5e
11:08:40
jmercouris
so I think somehow dbus is not setting my env properly on macOS?
11:09:31
Lycurgus
ACTION doesn't think so
11:10:11
jmercouris
it doesn't it is ported and I've installed it
11:10:35
jmercouris
so here is some more interesting stuff, I've used DBUS server/client ping/pong scripts I've written
11:10:45
jmercouris
so I know the system is functional using the session DBUS
11:11:04
jmercouris
echo $DBUS_LAUNCHD_SESSION_BUS_SOCKET -> /private/tmp/com.apple.launchd.3vLn74rWFQ/unix_domain_listener
11:11:16
jmercouris
echo $DBUS_SESSION_BUS_ADDRESS ->
11:11:36
jmercouris
can some of you Linux users please confirm if you have a value for $DBUS_SESSION_BUS_ADDRESS ?
11:11:58
Lycurgus
where in default shell?
11:12:09
jmercouris
I guess, I don't know much about Linux
11:12:30
Lycurgus
unix:path=/run/user/1000/bus here
11:12:49
jmercouris
did you swap "user" from your username? or is that the literal string?
11:13:05
Lycurgus
literal string copied from commmand line echo
11:13:28
jmercouris
let me try setting that
11:14:18
Lycurgus
may be /opt/run for you or such
11:15:30
jmercouris
I tried setting that, and it still failed
11:18:33
jmercouris
I have figured it out
11:18:47
jmercouris
should be: DBUS_SESSION_BUS_ADDRESS=unix:path=$DBUS_LAUNCHD_SESSION_BUS_SOCKET
11:30:55
jmercouris
here is an issue I opened up: https://github.com/death/dbus/issues/24
11:31:06
jmercouris
do you guys think that my solution makes sense?
11:31:25
jmercouris
or is there a better solution/way?
11:32:35
jmercouris
no, it is for Next browser
11:35:33
mercourisj
so do you think this is something that belongs in CL D-Bus library, or should be handled by the user? if so, is there a better way?
11:37:23
mercourisj
I thought about just writing my own session-server-addresses
Monday, 10th of June 2019, 12:04:15 UTC