<ixelp>
Daniel Jay Haskin: "I wanted to give an update on the 2024 Common Lis…" - Universeodon Social Media
X-Scale has joined #commonlisp
<bike>
thuna`: the recursivep argument basically exists to control some error behavior and stuff in cl:read. cl:read does not read-byte. so, it's unnecessary.
<bike>
honestly it's probably not necessary in read-char either. sbcl's read-char ignores it
<char>
Hey bike, is this a good place to talk about ctype stuff? I would like there to be some concept of aliasing (as in deftype). Using the string type as an example, it gets really ugly after parsing, then unparsing. Would you be open to a parsed ctype retaining what its original form was perhaps? Obviously if enough operations take place then the alias will no longer apply.
istewart has quit [Quit: Konversation terminated!]
danse-nr3 has joined #commonlisp
danse-nr3 has quit [Read error: Connection reset by peer]
danse-nr3 has joined #commonlisp
waleee has quit [Ping timeout: 264 seconds]
wbooze has quit [Remote host closed the connection]
<bike>
char: might as well talk about it here. i already put in a ton of logic to try to unparse the types to something nice, but yeah, might be easier to just keep around the original if only for display.
<bike>
and then fall back to the unparse logic if the type was made artificially by whatever means
krasjet has quit [Quit: bye]
krjst has joined #commonlisp
<char>
As someone who now understands the type system and ctype. I appreciate the expansion of the string type for example. As someone who just wants to string, I don't want to see a huge disjunction type.
<bike>
naturally
<bike>
the unparse method on disjunctions is more code than the entire rest of the type's implementation. lol.
<char>
I'm hoping to take advantage of user defined type aliases as well.
<bike>
i'm not sure exactly what you mean by that. the idea is that deftype is handled by typexpand.
char has quit [Ping timeout: 252 seconds]
rainthree has joined #commonlisp
danse-nr3 has quit [Remote host closed the connection]
rtypo has quit [Ping timeout: 268 seconds]
danse-nr3 has joined #commonlisp
wacki has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 264 seconds]
wbooze has joined #commonlisp
skeemer has quit [Ping timeout: 264 seconds]
X-Scale has quit [Ping timeout: 250 seconds]
attila_lendvai has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
X-Scale has joined #commonlisp
ec has quit [Remote host closed the connection]
danse-nr3 has quit [Ping timeout: 246 seconds]
attila_lendvai has quit [Ping timeout: 268 seconds]
attila_lendvai has joined #commonlisp
attila_lendvai has quit [Ping timeout: 255 seconds]
ym has joined #commonlisp
X-Scale has quit [Ping timeout: 250 seconds]
FragmentedCurve has joined #commonlisp
CrashTestDummy has joined #commonlisp
random-nick has joined #commonlisp
Th30n has joined #commonlisp
amb007 has quit [Ping timeout: 246 seconds]
jon_atack has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
CrashTestDummy2 has joined #commonlisp
CrashTestDummy has quit [Ping timeout: 264 seconds]
char has joined #commonlisp
<char>
I'm just giving another example use case.
char has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
rainthree has quit [Remote host closed the connection]
<ixelp>
CLHS: Function READ, READ-PRESERVING-WHITESPACE
<thuna`>
In the third paragraph in the description, the second READ is a typo for READ-PRESERVING-WHITESPACE, correct?
X-Scale has quit [Ping timeout: 250 seconds]
luca_ has quit [Quit: luca_]
czy has joined #commonlisp
X-Scale has joined #commonlisp
CrashTestDummy2 has joined #commonlisp
varjagg has quit [Ping timeout: 260 seconds]
runxiyu_ has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
runxiyu_ has joined #commonlisp
CrashTestDummy has quit [Ping timeout: 268 seconds]
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
X-Scale has quit [Ping timeout: 250 seconds]
yottabyte has quit [Ping timeout: 255 seconds]
iquites has quit [Ping timeout: 272 seconds]
gendl__ has quit [Ping timeout: 256 seconds]
splittist has quit [Ping timeout: 255 seconds]
dbotton has quit [Ping timeout: 255 seconds]
mister_m has quit [Ping timeout: 268 seconds]
masinter has quit [Ping timeout: 268 seconds]
delyan_ has quit [Ping timeout: 255 seconds]
pl has quit [Ping timeout: 255 seconds]
stylewarning has quit [Ping timeout: 256 seconds]
cracauer has quit [Ping timeout: 268 seconds]
fourier has quit [Ping timeout: 256 seconds]
mustafa has quit [Ping timeout: 255 seconds]
alanz has quit [Ping timeout: 256 seconds]
sgithens_ has quit [Ping timeout: 272 seconds]
gaze__ has quit [Ping timeout: 256 seconds]
youthpastor has quit [Ping timeout: 256 seconds]
patrix has quit [Ping timeout: 256 seconds]
griffinmb_ has quit [Ping timeout: 256 seconds]
dmho has quit [Ping timeout: 256 seconds]
palter has quit [Ping timeout: 255 seconds]
drmeister has quit [Ping timeout: 255 seconds]
nxtr__ has quit [Ping timeout: 268 seconds]
jmercouris has quit [Ping timeout: 256 seconds]
antoszka has quit [Ping timeout: 256 seconds]
jsatk__ has quit [Ping timeout: 268 seconds]
decweb has joined #commonlisp
danse-nr3 has quit [Ping timeout: 246 seconds]
masinter has joined #commonlisp
dmho has joined #commonlisp
youthpastor has joined #commonlisp
drmeister has joined #commonlisp
palter has joined #commonlisp
dbotton has joined #commonlisp
sgithens_ has joined #commonlisp
griffinmb_ has joined #commonlisp
pl has joined #commonlisp
iquites has joined #commonlisp
jmercouris has joined #commonlisp
fourier has joined #commonlisp
patrix has joined #commonlisp
nxtr__ has joined #commonlisp
cracauer has joined #commonlisp
antoszka has joined #commonlisp
delyan_ has joined #commonlisp
mister_m has joined #commonlisp
yottabyte has joined #commonlisp
mustafa has joined #commonlisp
stylewarning has joined #commonlisp
splittist has joined #commonlisp
gendl__ has joined #commonlisp
jsatk__ has joined #commonlisp
alanz has joined #commonlisp
gaze__ has joined #commonlisp
gaze__ has quit [Ping timeout: 256 seconds]
gaze__ has joined #commonlisp
rtypo has joined #commonlisp
Gleefre has joined #commonlisp
danse-nr3 has joined #commonlisp
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
wbooze has quit [Remote host closed the connection]
King_julian has quit [Ping timeout: 252 seconds]
King_julian has joined #commonlisp
Alfr has quit [Remote host closed the connection]
X-Scale has joined #commonlisp
Alfr has joined #commonlisp
CrashTestDummy2 has quit [Ping timeout: 256 seconds]
CrashTestDummy has joined #commonlisp
jonatack has joined #commonlisp
lucasta has joined #commonlisp
<beach>
Looks that way.
<beach>
thuna`: Would you care to submit a WSCL issue?
chomwitt has joined #commonlisp
King_julian has quit [Ping timeout: 255 seconds]
wbooze has joined #commonlisp
King_julian has joined #commonlisp
danse-nr3 has quit [Ping timeout: 255 seconds]
King_julian has quit [Ping timeout: 268 seconds]
X-Scale has quit [Ping timeout: 250 seconds]
<thuna`>
sure
<beach>
Thanks.
czy has quit [Ping timeout: 255 seconds]
skeemer has joined #commonlisp
King_julian has joined #commonlisp
josrr has joined #commonlisp
<Shinmera>
really hate that DESCRIBE does not return the described object
Cymew has quit [Ping timeout: 268 seconds]
<jackdaniel>
why?
<Shinmera>
because it means I can't just carry on probing the object with *, I have to do **, and if I describe it again and again with ** and *** I end up losing access to it altogether
<Shinmera>
So I keep having to do the spiel of first typing ** to get it into * and then describing again and aaaaa
<Shinmera>
and no I don't want to stuff it into a variable
<Shinmera>
it's just kinda dumb there's no reason for it to return no values, just give me the object back
Cymew has joined #commonlisp
<Shinmera>
anyway, I can hack it in my init file, just a thing
<yitzi>
Perlis intervened and demanded that DESCRIBE not know the value of anything.
Cymew has quit [Client Quit]
CrashTestDummy2 has joined #commonlisp
X-Scale has joined #commonlisp
CrashTestDummy has quit [Ping timeout: 256 seconds]
cage has quit [Remote host closed the connection]
X-Scale has quit [Ping timeout: 250 seconds]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
X-Scale has joined #commonlisp
Th30n has quit [Ping timeout: 264 seconds]
jonatack has quit [Ping timeout: 255 seconds]
dawids_ has joined #commonlisp
dawids_ has quit [Remote host closed the connection]
King_julian has quit [Ping timeout: 252 seconds]
CrashTestDummy3 has joined #commonlisp
emaczen has joined #commonlisp
CrashTestDummy2 has quit [Ping timeout: 264 seconds]
NotThatRPG_ has joined #commonlisp
NotThatRPG has quit [Ping timeout: 264 seconds]
NotThatRPG_ has quit [Ping timeout: 252 seconds]
chomwitt has quit [Ping timeout: 255 seconds]
chomwitt has joined #commonlisp
danse-nr3 has joined #commonlisp
NotThatRPG has joined #commonlisp
zxcvz has joined #commonlisp
wacki has joined #commonlisp
edgar-rft_ has joined #commonlisp
lucasta has quit [Remote host closed the connection]
<jackdaniel>
hexa6: you may want to get in touch with #lispgames community -- they have annual lisp game jam and are very knowledgeble about engines, UIs and other gamedev related topics
<jackdaniel>
(and if you are just searching for the engine, then what dlowe said)
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
danse-nr3 has joined #commonlisp
jonatack has quit [Ping timeout: 268 seconds]
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
mon_key_phn has joined #commonlisp
<younder>
jackdaliel or shimera who has published a game on steam
<younder>
jackdaniel
<younder>
wink
rainthree has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
jonatack has quit [Ping timeout: 246 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
CrashTestDummy2 has joined #commonlisp
emaczen has joined #commonlisp
CrashTestDummy3 has quit [Ping timeout: 252 seconds]
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jonatack has joined #commonlisp
wacki has joined #commonlisp
jonatack has quit [Ping timeout: 256 seconds]
CrashTestDummy3 has joined #commonlisp
CrashTestDummy2 has quit [Ping timeout: 255 seconds]
jweeks has quit [Remote host closed the connection]
<hexa6>
ty! only problem is i don't have a libera/nickserv account and can't join the channel without one
mgl_ has quit [Ping timeout: 246 seconds]
X-Scale has joined #commonlisp
Gleefre has joined #commonlisp
jonatack has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.3]
jonatack has quit [Ping timeout: 256 seconds]
danse-nr3 has quit [Ping timeout: 264 seconds]
mwnaylor has joined #commonlisp
danse-nr3 has joined #commonlisp
ym has quit [Ping timeout: 256 seconds]
X-Scale has quit [Quit: Client closed]
metti_ has joined #commonlisp
metti_ has quit [Remote host closed the connection]
metti_ has joined #commonlisp
metti_ has quit [Remote host closed the connection]
thuna` has quit [Remote host closed the connection]
<dlowe>
hexa6: send help to nickserv to get info on how
wbooze has quit [Remote host closed the connection]
thuna` has joined #commonlisp
<jackdaniel>
younder: I'm quote certain I've never published a game on steam
<jackdaniel>
quite*
danse-nr3 has quit [Ping timeout: 268 seconds]
awlygj has quit [Quit: leaving]
attila_lendvai has quit [Ping timeout: 256 seconds]
jonatack has joined #commonlisp
X-Scale has joined #commonlisp
jonatack has quit [Ping timeout: 264 seconds]
chomwitt has quit [Ping timeout: 255 seconds]
chomwitt has joined #commonlisp
walee_ has joined #commonlisp
waleee has quit [Ping timeout: 264 seconds]
pve has quit [Quit: leaving]
mgl_ has joined #commonlisp
walee_ has quit [Ping timeout: 252 seconds]
mgl_ has quit [Ping timeout: 268 seconds]
tfeb has joined #commonlisp
X-Scale has quit [Quit: Client closed]
pranav has quit [Read error: Connection reset by peer]
tfeb has quit [Client Quit]
waleee has joined #commonlisp
<thuna`>
Is there any requirement that FRESH-LINE with a broadcast-stream only writes newlines to its component streams which are at the beginning of a line?
<thuna`>
s/which are/which are not/
<yitzi>
It calls fresh-line on each stream. They make their own decisions.
mgl_ has joined #commonlisp
<yitzi>
The entry for the broadcast-stream class lists what happens in general.
<thuna`>
Right, that's what I figured, but I don't see that that's how it has to be. I have (defun fresh-line (stream) (unless (stream-bolp stream) (terpri stream))) which, just going off of the text, is conformant
wbooze has joined #commonlisp
<yitzi>
That is not how fresh-line works. It inspects stream-start-line-p in the case of gray streams.
<thuna`>
FRESH-LINE writes a newline to the stream unless it's at the start of a line, according to the text
pranav has joined #commonlisp
<thuna`>
What it means for a broadcast stream to be at the start of a line is ambiguous and debatable, but the act that is taken when it *is* at the start of a line is to write a newline to it, which writes a newline to all of its component streams, regardless of whether they are at the start of a line themselves or not
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
waleee has quit [Quit: WeeChat 4.1.2]
<bike>
why would you want that?
<thuna`>
If there are multiple ways FRESH-LINE can be interpreted - that is, it is stream-dependent - I would need to make it a generic, and either consider it a low-level function or stop considering the functons I've made generic as low-level functions as a rule, so there's some friction
jweeks has joined #commonlisp
<thuna`>
Though, I think I already have a precedent for the latter case, so I guess I'll just do that
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thuna`>
The expected interpretation isn't what the text says though, so maybe that's worth a WSCL issue, what do you think?
NotThatRPG has joined #commonlisp
mgl_ has quit [Ping timeout: 264 seconds]
josrr has quit [Remote host closed the connection]
szkl has joined #commonlisp
akoana has joined #commonlisp
jweeks has joined #commonlisp
jweeks has quit [Changing host]
chomwitt has quit [Ping timeout: 246 seconds]
chomwitt has joined #commonlisp
X-Scale has joined #commonlisp
<jmercouris>
I just installed libfixposix-devel on OpenSuse via Zypper. It claims to be installed, but when I go to load iolib, it fails
<jmercouris>
I'm just wondering if there is some CFFI specific config I need to do to tell it to look somewhere
emaczen has quit [Ping timeout: 255 seconds]
<jmercouris>
it is in /usr/lib64
<kanuba>
Make sure there is a symlink from .so.4 -> .so as a distribution should place during installation. As the error message indicates, it is not looking for .so.4
<wbooze>
welp, i didn't like libfixposix either
<jmercouris>
also, I did already restart my machine
<wbooze>
i had a feeling it caused some inversions
<jmercouris>
kanuba: it exists as libfixposix.so
<jmercouris>
jmercouris@localhost:~> ls /usr/lib64/libfix* -> /usr/lib64/libfixmath.so /usr/lib64/libfixposix.so /usr/lib64/libfixposix.so.4 /usr/lib64/libfixposix.so.4.0.1
<wbooze>
is libfixposix a posix certified lib itself ?
<jmercouris>
I don't know
<wbooze>
or does it just impose itself onto posix in order to change behaviour ?
<jmercouris>
but it is used by iolib, and iolib is very useful
<kanuba>
The headers also need to be in the correct location
<jmercouris>
I've been infinitely annoyed by libfixposix myself, but I am new to this machine and am trying to get it to work
<wbooze>
well, i see libfixposix even get listed by the distro package manager hmmmmm
dino_tutter has quit [Ping timeout: 260 seconds]
<kanuba>
libfixposix is a C library created by the iolib maintainer
<jmercouris>
yes, Stelian
<kanuba>
CFFI looks for the .h file in the system's standard include paths
<kanuba>
Or well, the definition of iolib does, since it doesn't specify a path
<jmercouris>
kanuba: how can one see what the include paths are?
<kanuba>
/usr/include is the standard location under unix-likes, which I assume CFFI checks for
<jmercouris>
well, it isn't there
Demosthe1ex has joined #commonlisp
Demosthenex has quit [Ping timeout: 268 seconds]
<kanuba>
I would expect a no such foreign function error if the header wasn't there, but the library was loaded. Instead, the library isn't loaded. I'm not that familiar here to be of much assistance, but I'm sure someone will know
<jmercouris>
I don't believe the headers are necessary, just the shared library
<kanuba>
When compiling a wrapped cffi type, the header file is consulted iirc. But that's later, after the object is loaded by CFFI.
<jmercouris>
I think I need to update *foreign-library-directories*
<kanuba>
For example, when I wrap SDL, if there is no such function defined in the header, or it is hidden behind a post-processor macro that CFFI can't parse, I would get a no such foreign function error.
<kanuba>
or rather "alien function not defined" I think, on SBCL at least.
jonatack has joined #commonlisp
<jmercouris>
aha, the problem is with Guix...
jon_atack has joined #commonlisp
<kanuba>
That makes sense. You'd probably need to modify LD_LIBRARY_PATH and potentially more in the restricted subshell
mgl_ has joined #commonlisp
jonatack has quit [Ping timeout: 268 seconds]
<kanuba>
Or figure out how to install a CL wrapper properly with Guix. One that makes use of pkg-config like lfp might be troublesome, but I'm sure it has been done
akoana has quit [Quit: leaving]
<jmercouris>
of course it has been done, there are conflicts with my local install
<jmercouris>
that's the problem
char has joined #commonlisp
mgl_ has quit [Ping timeout: 264 seconds]
<char>
Shinmera: With Sly, you can always do #v49 (or whatever number) to get to previous repl outputs. The number always references the same thing in the history no matter how many commands are after it.
waleee has joined #commonlisp
cognemo has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
donleo has quit [Ping timeout: 252 seconds]
mwnaylor has quit [Ping timeout: 268 seconds]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]