Search
Tuesday, 13th of March 2018, 19:37:35 UTC
19:42:26
Xach
Ok, booked for ELS travel & lodging. See you there!
20:57:53
Xach
jackdaniel: does ecl support AF_LOCAL/AF_UNIX socket stuff?
20:59:00
jackdaniel
Xach: yes, api is literally the same as sbcl (minus stuff added later) - even package nickname is sb-bsd-sockets
20:59:47
Xach
I wonder who *doesn't* support AF_UNIX/AF_LOCAL
20:59:59
Xach
I can't find support for it in USOCKET
21:00:49
jackdaniel
yup, there isn't one on usocket - I wanted to add it and make PR for a long time now, but never found time to get to it
21:01:04
Xach
I guess my question is then "why does usocket not support af_unix/af_local" in the nicest way possible.
21:01:21
Xach
Is it because of OS portability issues? Implementation portability issues? Lack of someone doing it?
21:01:33
jackdaniel
I'd bet for the last one
21:03:22
jackdaniel
I think there was an issue for that on usocket tracker, but I don't remember for sure
21:04:01
jackdaniel
it seems there isn't
21:06:14
Xach
Allegro supports it on Unix. Don't see it in the LW manual.
21:07:20
jackdaniel
it can be done on lispworks
21:07:37
Xach
Cool. Is it in the manual somewhere?
21:07:43
Xach
(I can't always find things)
21:07:47
jackdaniel
ACTION directs Xach's attention at dep-* files in portable clx in sharplispers repository
21:08:09
jackdaniel
I don't know lw - simply remember seeing unix-domain-sockets there
21:09:03
Xach
yikes. lots of ::. I wonder if it's changed since that was made.
21:09:23
jackdaniel
I assume fli is basically ffi
21:10:50
Xach
yes, though comm::*socket_af_unix* makes it seem like there's some support deep inside somehow
21:11:05
Xach
FLI is the Foreign Language Interface. I think that is possibly a nicer name than FFI.
21:12:31
jackdaniel
here you have less 'hacky' version of the same: https://github.com/binghe/lispworks-udp/blob/master/unix.lisp
21:12:49
jackdaniel
I'm getting back to my precious layout protocol off-by-one errors in McCLIM, laters o/
23:01:14
z3t0
Can someone direct me to a well structured project that explains how to properly write a package using ASD and quicklisp and essentially just a guide for how to properly structure a project
23:01:25
z3t0
Currently I am using quickproject:makeproject and refactoring an older project
23:01:46
Xach
I use make-project. I think roswell also has a project-skeleton-making thing.
23:02:30
z3t0
great, thank you and much apprecited
23:02:58
Xach
https://www.xach.com/tmp/quickstart.html
23:03:58
Xach
I'm not sure that's exactly what you're talking about, but I hope it helps.
23:03:59
Shinmera
Portacle offers M-x create-project
23:07:55
Xach
z3t0: is there any particular area that troubles you?
23:22:41
krwq
are there any known problems with cffi callbacks when native part calls them inside of the thread?
23:23:12
krwq
my sbcl seems to be crashing when I call any lambda inside such callback
23:23:31
krwq
might be something on my part but please let me know if you know about anything
23:32:25
rme
I know that ccl goes to some trouble to support calling back into lisp from foreign threads. I'm not sure what sbcl does in that case.
23:33:40
Shinmera
Unless your SBCL is Really Old™, it should work fine.
23:34:10
Shinmera
It used to require thruption and wtimer features, but I think that's no longer necessary.
23:43:18
krwq
Shinmera: define old - mine is 1.3.1 - so calling back works but it crashes when I try to funcall a lambda in that callback
23:46:04
Shinmera
Grepping the changelog shows changes made since then related to callbacks
23:48:45
krwq
Shinmera: do you have any script for building from sources somewhere? last time I tried using the version from sources I was hitting various issues
23:48:53
krwq
which branch should I use?
23:49:27
krwq
my current script is doing: echo '"1.0.99.999"' > version.lisp-expr; ./make.sh --fancy; sudo ./install.sh
23:49:54
Shinmera
clone the latest tag, run make.sh --fance, run install.sh, done.
23:50:23
krwq
ok, sounds good, will give it a shot, thank you!
23:50:58
krwq
will need to disconenct as Im on stumpwm atm
23:51:58
Xach
Yeah, if you don't use latest (which I personally find very safe), the latest release tag of the form sbcl-<version> is usually a good bet.
23:53:00
krwq
sounds good, thanks guys! brb need to recompile and test couple of things
0:42:37
asarch
Lisp for C programmers: "(defun main () ...) (main)" :-P
0:47:52
rumbler31
they get 5 minutes in then forget they haven't declared any types and freak out
0:59:36
krwq
wow - stumpwm was setting SBCL_HOME and i was wondering for a while wtf was wrong
0:59:57
krwq
it was trying to load old sbcl core image on new sbcl
1:12:55
krwq
ok, callbacks work correctly after upgrading sbcl - thank you Shinmera and Xach
1:17:35
vtomole
defun allows use of backquote. Why should i use defmacro?
1:18:10
Bike
you don't know what backquote does
1:18:21
specbot
Couldn't find anything for backquote.
1:18:25
specbot
http://www.lispworks.com/reference/HyperSpec/Body/02_df.htm
1:18:45
Bike
(defun foo (a) `(+ ,a 7)) now what is (foo 13)?
1:19:25
vtomole
Ok makes sense nvm. Thanks.
4:32:14
opal
[amsg] RIP STEPHEN HAWKING
4:46:20
beach
Good morning everyone!
6:29:47
pjb
He'll be remembered for his role in the big bang theory…
6:45:15
easye
More interesting for me, is his contribution to the observation that the event horizon has an informational invariant.
Wednesday, 14th of March 2018, 7:37:35 UTC