freenode/#lisp - IRC Chatlog
Search
14:04:14
schweers
I have a question regarding restarts on sbcl. I have a funcion which contains the following code: https://pastebin.com/W7gipV0A
14:05:10
schweers
I get a warning, that something could not be stack allocated. Can anyone tell me how I might find out what this is about?
14:07:14
schweers
Yeah, I gathered that. But I’m not sure what is to be allocated on the stack. I also only get this on restart-case.
14:07:39
schweers
I guess that a closure has to be allocated, but I’m not sure if that is what SBCL is complaining about.
14:09:07
schweers
what wonders me is that I’m not compiling with optimizations which (to my mind) warrent such a note.
14:10:18
Bike
restart-case expands into something that makes several closures, and sbcl will try to stack allocate them because there's no reason not to
14:11:08
schweers
I compiled under these settings: (declaim (optimize (speed 0) (safety 3) (compilation-speed 0) (debug 3)))
14:11:42
schweers
Bike: I wouldn’t have been surprised if this had happened under aggressive settings. I probably would have just ignored it then. But now I am wondering.
14:19:21
Bike
don't think you need to worry about it, regardless. though i'm not sure why it can't stack allocate this
14:25:44
beach
I have the same "problem", and it is not that I worry about anything, but the notes are irritating, because each time I jump and think I might have a warning.
14:30:39
schweers
beach: That is precisely the reason why I’m asking this question. It seems I’ll just have to live with it.
16:24:39
dim
sb-bsd-sockets:local-socket is not found when using SBCL 1.4.16 on windows, what can I do about that? (it makes loading qmynd impossible and then pgloader too)
16:25:50
dim
I guess #-win32 is what I can do, seeing https://github.com/sbcl/sbcl/commit/6eb5fcbeb890182d3f03c02edb430ec52d72bcfc
18:54:18
pfdietz
Is there Common Lisp support for FlatBuffers? I know there's a protobuf package out there.
19:57:51
katco
for you matrix users: experimenting with matrix "communities" (a way to group users, rooms together -- kind of like a slack instance?) https://matrix.to/#/+common-lisp:matrix.org
20:14:01
jgkamat
it's sort of like that, yes. It's more powerful though as it lets you view all the rooms in one view if you want (or only a subset)
20:16:18
katco
it looks pretty cool! i've opened it to everyone. if there are missing rooms, please lmk. or is there a way i can allow members to add rooms?
21:11:54
pfdietz
Hmm. environment objects can be put in binary files in clisp and ccl. Not sbcl, in general.
21:17:55
pfdietz
The problem here is the lexenv can have function objects in it, and those cannot be put into binary files (as values).
21:19:42
Bike
indeed, functions are not serializable objects. depending on how you interpret the standard it might actually be nonconforming for an implementation to let you serialize functions
21:20:48
pfdietz
Just put in a ticket for SBCL. I just need lexenvs serialized; it's ok to reconstruct the macro functions (make-load-form would build lambda forms for them).
21:24:13
pfdietz
The goal here is to save the context in which a DEFUN (or whatever) is sitting, so it can be redefined later in that context.
21:24:48
pfdietz
This means both the compile-time context (the lexenv), and the runtime context (whatever lexical vars are visible there). The latter is a different problem, but also solvable.
21:26:53
pfdietz
Basically, mutate a function and see if the test suite kills all the mutants. It's a way to evaluate the adequacy of test suites.
21:27:46
pfdietz
It's important not to generate too many mutants that maintain correctness, but there are tricks I can use for that.
21:29:21
pfdietz
Other applications too, like coverage testing, instrumenting code, things like that. Easier on top level defuns, but I want it to work in general with DEF- forms nested inside stuff.
21:32:15
aeth
katco: It doesn't look like there's a way to see the list without logging on. Can you put the list in a pastebin or something so people can tell you if you're missing a Freenode Common Lisp IRC channel?
21:33:06
aeth
Just on the top of my head there's #lispgames #lispcafe #ecl #ccl #sbcl and maybe ##lisp
21:33:59
aeth
There are others on cliki but a lot of them like #lispweb seem to be dead. https://www.cliki.net/IRC
21:35:23
katco
oh, hrm. i'm not sure the bridge is set up for these rooms. or if i personally have to be in these rooms to add them to the community
21:36:20
aeth
For projects, there's #clim for CLIM and the various game engine projects might have channels. Ask mfiano if First Light has one. I have #zombieraptor and #zombieraptor-dev for my game engine but it's a "bit" quiet (not sure if anyone went to one in a year) so I doubt those should go on any lists.
21:38:14
katco
i'm going to piggy back off of +lisprooms:matrix.org and delete mine :) thanks #'no-defun-allowed !
21:39:15
katco
aeth: mine was geared specifically towards cl, but we're all family being hugged by parens, so ;p
21:44:26
no-defun-allowed
basically the list of rooms my friend and I go on is #clschool #clgames #lisp #lispcafe #scheme #sicl #clim #petalisp #shirakumo #netfarm and ##symbolics2
21:45:04
katco
or is there a more self-organizing way for rooms to become part of a community? e.g. maybe adding community flare automatically adds them?
21:46:32
Gnuxie[m]
communites should be replaced with special rooms with weird room state soon but this is meant to have been coming like 6 months
21:46:41
aeth
oni-on-ion: I'm guessing there's unicode in the name that doesn't get transfered to the Freenode name
21:52:59
aeth
interestingly, every font (I just saw it in two) interprets "alien monster" differently and the one I'm seeing right now is fairly close to the Land of Lisp form, but in purple and with fewer arms.
21:56:00
oni-on-ion
i think so. i see a webpage showing about 20-30 different alien heads from different ... content providers? ie apple, facebook, google, samsung, etc
21:58:26
grewal
For a while, I've wanted to make a "font" that replaces all emoji with their unicode description
21:59:10
oni-on-ion
im waiting for the time that each emoji is a whole web page with full html5/css3/js
22:13:05
oni-on-ion
hmm just tried the alien face in my unicode/cairo thing. got to make sure i have the right fonts because its just a box =/
22:14:12
aeth
Usually, your system falls back to another font when the current font doesn't have it, which is why we probably have the same font for emoji because there are only a few of those for desktop. If you're programming with fonts manually, I doubt that happens automatically.
22:55:35
oni-on-ion
aeth, however! a cool thing, is that i've got cairo to opengl native, and also cairo to html5 canvas. quite nice to see; (the only visible difference so far is that "native" cairo does not handle right-to-left text quite right, but i've a workaround)