jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/> | News: ELS'22 this Monday (2022-03-21), see https://european-lisp-symposium.org
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 272 seconds]
frgo has joined #commonlisp
frgo_ has quit [Ping timeout: 272 seconds]
dra_ has quit [Ping timeout: 260 seconds]
torbo has left #commonlisp [ERC (IRC client for Emacs 27.2)]
zacque has joined #commonlisp
Oladon has quit [Quit: Leaving.]
ec has quit [Quit: ec]
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
Lord_of_Life has joined #commonlisp
yauhsien has quit [Ping timeout: 246 seconds]
<zacque> Hi, I don't get the OBJECT parameter in PPRINT-LOGICAL-BLOCK. It's stated that "The object is normally a list that the body forms are responsible for printing." Yet, it makes no difference if I pass a list object or NIL into it
<yitzi> You need call `(pprint-pop)` and friends
<yitzi> clhs 22.2.2
<specbot> Examples of using the Pretty Printer: http://www.lispworks.com/reference/HyperSpec/Body/22_bb.htm
<yitzi> zacque: ^
<zacque> Ah, makes sense! I was confused by the first SIMPLE-PPRINT-DEFUN example, didn't notice that PPRINT-POP is used in the PPRINT-LET example
<zacque> Thanks!
<yitzi> np
causal has joined #commonlisp
Guest74 has joined #commonlisp
<zacque> CLHS 22.2.1.1 is so difficult to understand. Does anyone have the code to generate Figure 22-3?
<zacque> (a) Is there a line break at the end of "000000000000000000000000000"? Or does it wrap around to "11"? (b) So, is the space in "11 111111111111111111111111" meant to be a whitespace or a line break? (c) Why are there so many spaces before "22 222", "333 3333", and "444..."?
akoana has joined #commonlisp
azimut has joined #commonlisp
hashfunc1204 has joined #commonlisp
aartaka has joined #commonlisp
yauhsien has joined #commonlisp
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
yauhsien has quit [Ping timeout: 260 seconds]
Sankalp has quit [Ping timeout: 240 seconds]
WBarends has quit [Ping timeout: 246 seconds]
Sankalp has joined #commonlisp
igemnace has quit [Quit: WeeChat 3.5]
igemnace has joined #commonlisp
les has quit [Quit: Adios]
les has joined #commonlisp
karlosz has joined #commonlisp
waleee has quit [Ping timeout: 248 seconds]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #commonlisp
<beach> Good morning everyone!
akoana has quit [Quit: leaving]
karlosz has quit [Quit: karlosz]
trev has joined #commonlisp
szkl has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
bitmapper has quit [Quit: Connection closed for inactivity]
aartaka has quit [Ping timeout: 240 seconds]
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
Oladon has joined #commonlisp
rainthree has joined #commonlisp
aartaka has quit [Ping timeout: 272 seconds]
mrcom has quit [Remote host closed the connection]
aartaka has joined #commonlisp
mrcom has joined #commonlisp
aartaka has quit [Ping timeout: 272 seconds]
aartaka has joined #commonlisp
mrcom has quit [Remote host closed the connection]
igemnace has quit [Quit: WeeChat 3.5]
igemnace has joined #commonlisp
hashfunc1204 has quit [Ping timeout: 260 seconds]
igemnace has quit [Quit: WeeChat 3.5]
igemnace has joined #commonlisp
bilegeek has quit [Quit: Leaving]
attila_lendvai has joined #commonlisp
yauhsien has joined #commonlisp
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
yauhsien has quit [Ping timeout: 244 seconds]
aeth has quit [Read error: Connection reset by peer]
Oladon has quit [Quit: Leaving.]
aeth has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
Josh_2 has joined #commonlisp
asarch has joined #commonlisp
<asarch> How are the multi-lines comments?
<jackdaniel> #| bo \n bo \n |#
<jackdaniel> or #+(or)"boo\nbo\nbo"
<jackdaniel> and #-(and)"boo\nbo\nbo"
<jackdaniel> alternatively ;;; foo \n;;; bar
<asarch> Thank you, thank you very much :-)
<jackdaniel> I have a strong conviction that you should know that by now if you were listening to advices on this channel
<asarch> I lost the half of the log when I was trying to build the OpenSmalltalk-VM with OpenBSD
elderK has quit [Quit: Connection closed for inactivity]
<asarch> I clobber the main partition by mistake with dd if=/dev/zero of=/dev/sda bs=512 count=1 :-(
<jackdaniel> I don't really care, my point is that instead of doing systematic study you waste people time by pursuing chaotic endvaours (that in itself is fine, but you keep coming here to ask very basic questions for years)
<jackdaniel> openbsd and partitioning is offtopic on this channel
<asarch> I know, I know
szkl has quit [Quit: Connection closed for inactivity]
<asarch> And I really appreciate your help with my basic questions
Oladon has joined #commonlisp
<asarch> My web app gets better every time I ask something like this
<asarch> I am still stuck at the part where I need to generate Lisp code dynamically a la (:htm (:body (:table (:thead (:tr (:th …) (:th …) (:th …) …)))))
<asarch> The (:th …) part
<asarch> How could you pass a list to a function to generate the table header columns and then pass the result to the (:htm) generator?
<jackdaniel> minion: tell asarch about pcl
<minion> asarch: look at pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
frgo_ has joined #commonlisp
frgo has quit [Read error: Connection reset by peer]
rotateq has joined #commonlisp
aartaka has quit [Ping timeout: 246 seconds]
aartaka has joined #commonlisp
asarch has quit [Quit: Leaving]
Oladon has quit [Read error: Connection reset by peer]
frgo_ has quit []
random-nick has joined #commonlisp
Cymew has joined #commonlisp
yauhsien has joined #commonlisp
yauhsien has quit [Ping timeout: 240 seconds]
Cymew has quit [Ping timeout: 246 seconds]
gxt has quit [Remote host closed the connection]
anticomputer has quit [Remote host closed the connection]
gxt has joined #commonlisp
anticomputer has joined #commonlisp
shka has joined #commonlisp
yauhsien has joined #commonlisp
zacque has quit [Quit: Goodbye :D]
aartaka has quit [Ping timeout: 246 seconds]
aartaka has joined #commonlisp
cage has joined #commonlisp
dra_ has joined #commonlisp
rainthree has quit [Ping timeout: 246 seconds]
aartaka has quit [Ping timeout: 246 seconds]
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
treflip has joined #commonlisp
ttree has quit [Ping timeout: 260 seconds]
Josh_2 has quit [Remote host closed the connection]
Josh_2 has joined #commonlisp
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
trev has quit [Remote host closed the connection]
<madnificent> jackdaniel: I think we should inform that hte first section of PCL is a bit outdated. It starts with setting up an environment and part of that is now commonly handled by quicklisp. The book is great and I've bought a few to motivate peers.
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
lisp123 has joined #commonlisp
Sauvin has joined #commonlisp
yauhsien has quit [Ping timeout: 240 seconds]
<jackdaniel> madnificent: sure
yauhsien has joined #commonlisp
yauhsien has quit [Remote host closed the connection]
yauhsien has joined #commonlisp
Dynom has joined #commonlisp
yauhsien has quit [Ping timeout: 246 seconds]
lisp123 has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
pillton has quit [Remote host closed the connection]
trev has joined #commonlisp
yauhsien has joined #commonlisp
tyson2 has joined #commonlisp
yauhsien has quit [Ping timeout: 246 seconds]
Oddity has quit [Ping timeout: 244 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
Noisytoot has quit [Ping timeout: 246 seconds]
Noisytoot has joined #commonlisp
pfd has joined #commonlisp
Bike has joined #commonlisp
miker2049 has quit [Remote host closed the connection]
miker2049 has joined #commonlisp
miker2049 has quit [Remote host closed the connection]
miker2049 has joined #commonlisp
trev has quit [Quit: trev]
lisp123 has quit [Remote host closed the connection]
Alfr has joined #commonlisp
Dynom has quit [Quit: WeeChat 3.5]
Dynom has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
Josh_2 has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
Josh_2 has joined #commonlisp
frgo has joined #commonlisp
dlowe has joined #commonlisp
rotateq has quit [Remote host closed the connection]
euandreh has quit [Ping timeout: 260 seconds]
aartaka has quit [Ping timeout: 272 seconds]
aartaka has joined #commonlisp
pfd97 has joined #commonlisp
pfd97 has quit [Client Quit]
pfd23 has joined #commonlisp
pfd23 has quit [Write error: Broken pipe]
pfd27 has joined #commonlisp
pfd has quit [Ping timeout: 252 seconds]
pfd27 has quit [Client Quit]
shka has quit [Quit: Konversation terminated!]
trev has joined #commonlisp
attila_lendvai has joined #commonlisp
waleee has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 26.3)]
Oladon has joined #commonlisp
attila_lendvai has quit [Ping timeout: 246 seconds]
morganw has joined #commonlisp
frgo has quit [Ping timeout: 248 seconds]
n1to has joined #commonlisp
frgo has joined #commonlisp
frgo has quit [Ping timeout: 248 seconds]
aeth has quit [Ping timeout: 244 seconds]
aeth has joined #commonlisp
ttree has joined #commonlisp
waleee has quit [Ping timeout: 240 seconds]
Everything has joined #commonlisp
rotateq has joined #commonlisp
szkl has joined #commonlisp
thuna` has joined #commonlisp
<thuna`> Does anyone know the equivalent of `unread-char' for non-character streams?
<Bike> i don't believe there is one, but the flexi-streams library has an unread-byte.
<thuna`> Hm. How does unread-char work anyway?
mrcom has joined #commonlisp
<jackdaniel> there is usually a slot that maintains "unread" object
<jackdaniel> next read takes it
<jackdaniel> variation that allows multiple unreads may maintain a list with push/pop
<jackdaniel> unread is a standardized hack ;) if there is scan pointer then it may be simply decremented
<jackdaniel> but that applies only to some streams
mrcom has quit [Quit: Leaving]
tyson2 has quit [Remote host closed the connection]
<Guest74> anyone know if there's a function you can call from lisp to clear the slime repl?
orestarod has joined #commonlisp
<Alfr> Guest74, slime-repl-clear-..
<Guest74> from common lisp.
<Alfr> Guest74, only if you allow cl to control emacs.
<Guest74> not a problem.
yauhsien has joined #commonlisp
lisp123 has joined #commonlisp
<Guest74> I'm guessing those functions use a global that isn't present when you send something over to be eval'd.
yauhsien has quit [Ping timeout: 248 seconds]
<Alfr> Guest74, can't look that up rn, using sly on this machine, sorry.
<Alfr> Guest74, best guess, simply affecting the current buffer in emacs?
lisp123 has quit [Ping timeout: 272 seconds]
<Guest74> best guess about what?
<Alfr> Guest74, about how the command decides what buffer to clear.
aeth has quit [Ping timeout: 272 seconds]
karlosz has joined #commonlisp
aeth has joined #commonlisp
aartaka has quit [Ping timeout: 240 seconds]
Guest74 has quit [Quit: Connection closed]
aartaka has joined #commonlisp
selwyn has quit [Ping timeout: 276 seconds]
selwyn has joined #commonlisp
SAL9000 has quit [Remote host closed the connection]
mrcom has joined #commonlisp
tyson2 has joined #commonlisp
frgo has joined #commonlisp
SAL9000 has joined #commonlisp
karlosz_ has joined #commonlisp
azimut has quit [Ping timeout: 240 seconds]
aartaka has quit [Ping timeout: 240 seconds]
aartaka has joined #commonlisp
karlosz has quit [Ping timeout: 260 seconds]
karlosz_ is now known as karlosz
aartaka has quit [Ping timeout: 244 seconds]
aartaka has joined #commonlisp
neirac has joined #commonlisp
<neirac> I'm trying to use :ceramic, but I failed to load the example application, seems clack-v1-compat is missing, this error is the same that I'm seeing http://report.quicklisp.org/2021-08-15/failure-report/lucerne.html
<mfiano> lucerne was removed from Quicklisp on that month, and never added thereafter.
karlosz has quit [Quit: karlosz]
<neirac> mfiano thanks, so ceramic is pretty outdated then?, I just was exploring on what to use to create a desktop application
<mfiano> Yes. You should consider McCLIM. The channel is #clim
<neirac> mfiano thanks!, I thought McCLIM does not work on macos
<mfiano> Sorry, but I don't know anything about proprietary operating systems. jackdaniel may be able to answer that.
X-Scale` has joined #commonlisp
<neirac> mfiano thank you very much!
X-Scale has quit [Ping timeout: 256 seconds]
<neirac> mfiano just tested, failed compiling display stuff
X-Scale` is now known as X-Scale
lisp123 has joined #commonlisp
mrcom has quit [Quit: Leaving]
lisp123 has quit [Ping timeout: 246 seconds]
Oddity has joined #commonlisp
<jackdaniel> xquarz is osx library implementing x protocol, afaik some people use that
<jackdaniel> sdl2 backend is underway
<jackdaniel> ops, spoiler
<mfiano> Hopefully it is better than that hunk of junk third-party sdl2 backend
<jackdaniel> idk about the other one but I'll try my best to make it good
<mfiano> Using cl-sdl2
<mfiano> ?
<jackdaniel> yes but mostly bindings to ffi
<mfiano> Ok I've been trying to add new API features to that recently. It's hard to keep up as I've been neglecting it for so long
<mfiano> Let me know if you are missing anything
<jackdaniel> as I said, I'm mostly using raw bindings with my own abstractions
<jackdaniel> so I'm good, thanks
<mfiano> You might find zulu's better then, than to deal with the autowrap generated bindings
OlCe has quit [Ping timeout: 260 seconds]
treflip has quit [Quit: zzz]
<jackdaniel> autogenerated is fine because I may use it with sdl2 docs. also too much is already done to switch
<mfiano> One feature you might find interesting in the most recent SDL2 release this month is subpixel precision
aeth has quit [Ping timeout: 260 seconds]
<mfiano> There are new structs for rects etc that take floats.
<jackdaniel> I'm utilizing gl context for the renderer
<mfiano> Aha
aeth has joined #commonlisp
<mfiano> The renderer will use gl on linux if using the texture api.
VGaranja has joined #commonlisp
<mfiano> I find the gl context overkill in most cases :)
<mfiano> the hardware accelerated abstraction is usually what I want these days
<jackdaniel> I know that sdl renderer is accelerated, but it lacks some features. also, this is for a tutorial too
neirac has quit [Ping timeout: 276 seconds]
<morganw> I'm 95% sure that the GL context is needed to avoid some issues with some Intel graphics drivers/chipsets on Linux.
frgo has quit [Remote host closed the connection]
OlCe` has joined #commonlisp
frgo has joined #commonlisp
Brucio-61 has quit [Quit: Application exit]
tyson2 has quit [Remote host closed the connection]
frgo has quit [Ping timeout: 272 seconds]
fitzsim has joined #commonlisp
Dynom has quit [Read error: Connection reset by peer]
Josh_2 has quit [Remote host closed the connection]
frgo has joined #commonlisp
scymtym has quit [Ping timeout: 244 seconds]
trev has quit [Remote host closed the connection]
scymtym has joined #commonlisp
causal has quit [Quit: WeeChat 3.5]
irc_user has joined #commonlisp
aeth has quit [Ping timeout: 272 seconds]
causal has joined #commonlisp
aeth has joined #commonlisp
causal has quit [Client Quit]
Brucio-61 has joined #commonlisp
causal has joined #commonlisp
frgo has quit [Read error: Connection reset by peer]
<mfiano> Most issues with Intel graphics driver on Linux stems from Mesa relying on floating point errors to fail silently when linking shader programs, which happens in both an explicit GL context and with SDL2's implicit GL context, unless you mask the float traps yourself.
<mfiano> Useless trivia: I have submitted so many bug reports to Mesa in this regard that my game engine's shader code is used in Mesa's test suite, but it's a losing battle I gave up on a long time ago.
<mfiano> CL generated shader code is in the Linux intel driver :)
ec has joined #commonlisp
<rotateq> oh really? cool
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 240 seconds]
frgo has joined #commonlisp
frgo has quit [Read error: Connection reset by peer]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
Everything has quit [Quit: leaving]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
Oladon has quit [Quit: Leaving.]
Guest74 has joined #commonlisp
frgo has joined #commonlisp
Guest74 has quit [Client Quit]
ec has quit [Ping timeout: 240 seconds]
euandreh has joined #commonlisp
szkl has quit [Quit: Connection closed for inactivity]
euandreh has quit [Client Quit]
euandreh has joined #commonlisp
frgo has quit [Ping timeout: 248 seconds]
ec has joined #commonlisp
tyson2 has joined #commonlisp
karlosz has joined #commonlisp
frgo has joined #commonlisp
dra_ has quit [Quit: Leaving]
dra has joined #commonlisp
frgo has quit [Ping timeout: 260 seconds]
flip214 has quit [Ping timeout: 248 seconds]
frgo has joined #commonlisp
waleee has joined #commonlisp
frgo has quit [Ping timeout: 260 seconds]
frgo has joined #commonlisp
frgo has quit [Ping timeout: 260 seconds]
flip214 has joined #commonlisp
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
akoana has joined #commonlisp
mzan has joined #commonlisp
mzan has quit [Client Quit]
frgo has joined #commonlisp
mzan has joined #commonlisp
jmdaemon has quit [Ping timeout: 248 seconds]
frgo has quit [Ping timeout: 248 seconds]
<grawlinson> That’s very cool, which branch? All of them, I assume?
carlosneira has joined #commonlisp
karlosz has quit [Ping timeout: 252 seconds]
frgo has joined #commonlisp
yauhsien has joined #commonlisp
<mfiano> I'm not sure if it's in mesa or the intel driver's codebase. I can't find it at the moment. It's been a few years since they added it.
<mfiano> I thought they were one project but I'm not seeing where the tess are in mesa
frgo has quit [Ping timeout: 260 seconds]
yauhsien has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
carlosneira has quit [Ping timeout: 240 seconds]
lisp123 has quit [Ping timeout: 244 seconds]
frgo has joined #commonlisp
frgo has quit [Read error: Connection reset by peer]
ec has quit [Quit: ec]
ec has joined #commonlisp
frgo has joined #commonlisp
frgo has quit [Ping timeout: 260 seconds]
lisp123 has joined #commonlisp
frgo has joined #commonlisp
frgo has quit [Ping timeout: 272 seconds]
frgo has joined #commonlisp
carlosneira has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
frgo has quit [Ping timeout: 244 seconds]
frgo has joined #commonlisp
lisp123 has joined #commonlisp
frgo has quit [Ping timeout: 272 seconds]
frgo has joined #commonlisp
materialfuture has quit [Ping timeout: 260 seconds]
frgo has quit [Ping timeout: 272 seconds]
dra_ has joined #commonlisp
dra has quit [Ping timeout: 260 seconds]
szkl has joined #commonlisp
frgo has joined #commonlisp