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/>
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 246 seconds]
jonatack has joined #commonlisp
meaty has quit [Quit: touch grass]
meaty has joined #commonlisp
random-nick has quit [Ping timeout: 248 seconds]
troojg has joined #commonlisp
cow_2001 has quit [Quit: ✡]
cow_2001 has joined #commonlisp
Akbar-Birbal has joined #commonlisp
lucasta has joined #commonlisp
mala has quit [Read error: Connection reset by peer]
mala has joined #commonlisp
Guest19 has joined #commonlisp
Guest19 has quit [Client Quit]
kevingal has quit [Ping timeout: 244 seconds]
akoana has joined #commonlisp
brokkoli_origin has quit [Ping timeout: 248 seconds]
brokkoli_origin has joined #commonlisp
JuanDaugherty has joined #commonlisp
terrorjack4 has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack4 has joined #commonlisp
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
meaty has quit [Ping timeout: 252 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
wobbol has joined #commonlisp
acdw has joined #commonlisp
X-Scale has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
bilegeek has quit [Quit: Leaving]
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life has joined #commonlisp
troojg has quit [Ping timeout: 260 seconds]
troojg has joined #commonlisp
decweb has quit [Ping timeout: 245 seconds]
lucasta has quit [Quit: Leaving]
amb007 has joined #commonlisp
troojg has quit [Ping timeout: 260 seconds]
amb007 has quit [Ping timeout: 264 seconds]
neuroevolutus has joined #commonlisp
benjaminl has quit [Read error: Connection reset by peer]
benjaminl has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
terrorjack4 has quit [Quit: The Lounge - https://thelounge.chat]
akoana has quit [Quit: leaving]
terrorjack4 has joined #commonlisp
johnjaye has joined #commonlisp
neuroevolutus has quit [Ping timeout: 256 seconds]
wacki has joined #commonlisp
amb007 has joined #commonlisp
chomwitt has joined #commonlisp
cmack has quit [Ping timeout: 248 seconds]
chomwitt has quit [Ping timeout: 260 seconds]
JuanDaugherty has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
neuroevolutus has joined #commonlisp
mala has quit [Quit: ZNC 1.6.1 - http://znc.in]
ingeniot has joined #commonlisp
_Posterdati_ has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Posterdati has joined #commonlisp
shka has joined #commonlisp
donleo has joined #commonlisp
attila_lendvai has joined #commonlisp
alcor has joined #commonlisp
pve has joined #commonlisp
neuroevolutus has quit [Quit: Client closed]
mgl_ has joined #commonlisp
traidare has joined #commonlisp
bitspook has joined #commonlisp
random-jellyfish has joined #commonlisp
chomwitt has joined #commonlisp
<younder> Go too far from those default optimization settings and you never know what you are going to get
<younder> the speed 3 debug 0 is well tried. dangerous but predicatble
<younder> I mean is space even used in SBCL?
<younder> safety as far as I can see should almost never be 0 - 1 is fine
<younder> just my two bits
X-Scale has quit [Quit: Client closed]
<younder> Well I know combinatorics there is just no way all those combinations have been tested, let alone used
skeemer has quit [Ping timeout: 264 seconds]
<younder> You wanna break a compiler.. There's how
<alcor> I treat these optimization setting like I treat the flashy-looking buttons & knobs in a nuclear power plant. That is to say, I steer clear of them until I have a good understanding of what they *exactly* do (which won't be anything soon I'm afraid).
<alcor> *any time soon
elderK has joined #commonlisp
alternateved has joined #commonlisp
McParen has joined #commonlisp
alternateved has quit [Remote host closed the connection]
random-jellyfish has quit [Quit: Leaving]
alternateved has joined #commonlisp
alternateved has quit [Remote host closed the connection]
alternateved has joined #commonlisp
alternateved has quit [Remote host closed the connection]
binarydigitz01 has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
alternateved has joined #commonlisp
contrapunctus has joined #commonlisp
kathe has joined #commonlisp
<kathe> hello everybody. :)
<younder> You are Demosthenex
<younder> You are new.
<kathe> younder, i am not new.
<younder> Sorry for my overzealous emacs completer
<kathe> younder, your love for emacs is inspiring. ;)
decweb has joined #commonlisp
<younder> Company should have been replaced by cape by now. I am guilty of not setting it up right.
<younder> Anyhow welcome - not new - kathe
<kathe> where is the he from france?
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
<kathe> okay, where is beach?
<beach> You mean physically? In the Bordeaux metropolitan area.
<younder> Pascal Bourmigon - not a clue, nor the Pascal Costanza. Our German contenders like Gilbert Baumann are still at large
<kathe> beach!
chomwitt has quit [Ping timeout: 248 seconds]
<kathe> beach, i intend to write you a long-ish email. please don't get annoyed.
<beach> I promise.
<beach> What is it about?
<younder> And yes SICL creator extraordinaire beach.
<kathe> an outline for a possible book.
<beach> Oh, nice!
<younder> (Who is also German but living in France)
<beach> younder: Who is German living in France?
<beach> Certainly not me.
<younder> whatever
<younder> Like me you speak fluent German and French and also English. That is good enough for me
<younder> Now a CLIM book would be greatly appreciated.
X-Scale has joined #commonlisp
<younder> I mean I can basically figure it out, but it takes a lot of work. And help from our heros like jackdaniel
<beach> I agree that a user manual would be great, especially written the way I would like it to be. But I have too much on my plate already, and not enough remaining life expectancy.
<younder> Presumptuous to ask but.. Peter Seibel?
<younder> Is he still a thing after PCL
<beach> I don't know.
<younder> Shouldn't we find out.
<kathe> younder, do you think those other than you should attend to your whims?
<younder> That would be great kathe, but for not we are in the speculative
<younder> s/not/now/
<younder> You are staring to sound like my *eliza* bot. Yes that is why is on 'public' display here.
<younder> Let's assume we all want functional CLIM, with users, then we need a functional program and also a users manual. And at the moment we have neither.
<younder> I mean I use the 'cutting edge' code. And it still leaves a lot to be desired.
<pranav> younder: We have 2 manuals for the reference documentation.
McParen has left #commonlisp [#commonlisp]
<pranav> From Lispworks and Franz
<younder> And also a McClim user manual. What can I say they 'need work'
<younder> CLIM is *weird* from a current user's view. It is also cool - but that stands on understanding the difference between a window system and a interface manager between the Lisp program and the UI.
X-Scale has quit [Ping timeout: 256 seconds]
<younder> Recognize I can only speak as a fairly recent discoverer of this software.
<younder> Back in the 1990's we had all of the *RTFM*. But that wasn't the way to learn lisp. PCL gave lisp a 'boost'. Now I feel the same way about CLIM
chomwitt has joined #commonlisp
random-nick has joined #commonlisp
paddymahoney has quit [Ping timeout: 245 seconds]
kathe has quit [Quit: Leaving]
mgl_ has quit [Ping timeout: 265 seconds]
chomwitt has quit [Ping timeout: 246 seconds]
meaty has joined #commonlisp
attila_lendvai has quit [Ping timeout: 248 seconds]
synchromesh has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
edgar-rft_ has joined #commonlisp
paddymahoney has joined #commonlisp
edgar-rft has quit [Ping timeout: 246 seconds]
elderK has quit [Quit: Sleep]
shka has quit [Quit: Konversation terminated!]
shka has joined #commonlisp
mrcom_ has joined #commonlisp
mrcom has quit [Ping timeout: 264 seconds]
pin56 has joined #commonlisp
pin56 has quit [Remote host closed the connection]
pin56 has joined #commonlisp
pin56 has quit [Remote host closed the connection]
pin56 has joined #commonlisp
pin56 has quit [Remote host closed the connection]
yitzi has joined #commonlisp
varjag has joined #commonlisp
chomwitt has joined #commonlisp
ingeniot has quit [Ping timeout: 256 seconds]
ingeniot has joined #commonlisp
pin56 has joined #commonlisp
pin56 has quit [Remote host closed the connection]
pin56 has joined #commonlisp
pin56 has quit [Remote host closed the connection]
pin56 has joined #commonlisp
pin56 has quit [Remote host closed the connection]
pin56 has joined #commonlisp
JuanDaugherty has joined #commonlisp
pin56 has quit [Remote host closed the connection]
pin56 has joined #commonlisp
pin56 has quit [Remote host closed the connection]
meaty has quit [Quit: touch grass]
meaty has joined #commonlisp
ingeniot has quit [Ping timeout: 256 seconds]
awlygj has joined #commonlisp
binarydigitz01 has quit [Ping timeout: 252 seconds]
zxcvz has joined #commonlisp
varjag has quit [Ping timeout: 246 seconds]
pin56 has joined #commonlisp
zxcvz has quit [Client Quit]
pin56 has quit [Remote host closed the connection]
traidare has quit [Ping timeout: 265 seconds]
Akbar-Birbal has left #commonlisp [#commonlisp]
mwnaylor has quit [Ping timeout: 252 seconds]
Akbar-Birbal has joined #commonlisp
seanw has quit [Remote host closed the connection]
seanw has joined #commonlisp
cmack has joined #commonlisp
troojg has joined #commonlisp
bitspook has quit [Remote host closed the connection]
ski has joined #commonlisp
<alcor> I'm not sure if this is the best place to ask, but is there a way to _print_ an inspectable representation of a value in SLIME? I mean something like (pprint …), but with the result being inspectable.
bitspook has joined #commonlisp
<Bubblegumdrop> describe?
<Bubblegumdrop> (let ((x '(1 2 3))) (with-output-to-string (s) (describe x s) s))
<beach> I think alcor wants an Emacs presentation.
<alcor> Thanks beach, that was the right term I was looking for.
<beach> ... i.e., the stuff you can click on.
skeemer has joined #commonlisp
<alcor> You can mouse-2/3 the representation and open the inspector from it.
<alcor> *presentation I mean
<Bubblegumdrop> Hm, there's probably a way to do that
<beach> There must be since SLIME does it.
<Bubblegumdrop> I know you can hook into swank?
<Bubblegumdrop> One of my projects started a swank backend that I connected to instead of just launching a lisp
<Bubblegumdrop> I didn't do anything more advanced with it than that but you could probably lisp <-> emacs
<alcor> Interactively inspecting/exploring objects in the Lisp image at runtime is a useful. I used this feature a lot in Pharo Smalltalk. I remember it was possible in SLIME but I can't can't find it.
<alcor> https://slime.common-lisp.dev/doc/html/Presentations.html#Presentations says: "For some Lisp implementations you can also install the package slime-presentation-streams, which enables presentations on the Lisp *standard-output* stream and similar streams. This means that not only results of computations, but also some objects that are printed to the standard output […]"
<ixelp> Presentations (SLIME User Manual, version 2.24)
<alcor> The problem is, this doesn't seem to work. There's a bug on the SLIME bugtracker explaining that it doesn't do anything due to bitrot https://github.com/slime/slime/issues/730#issuecomment-1201211922
<ixelp> I have to make some patch to make slime-presentation-streams work · Issue #730 · slime/slime · GitHub
<jackdaniel> I've been wondering for a while whether a crowdfuning compaign for writing a book about McCLIM after current batch of chagnes would pan out
treflip has joined #commonlisp
<jackdaniel> and what would be the amount that'd make it financially speaking worthwhile
<beach> Probably a lot. Writing a book takes quite a lot of time.
troojg has quit [Ping timeout: 260 seconds]
<beach> And you would need a good proofreader who would require payment as well.
bitspook has quit [Read error: Connection reset by peer]
bitspook has joined #commonlisp
<zyd> alcor: there is also C-c C-v C-<tab> with your point/cursor on the presentation (horrendous default i somehow have stuck with and even memorized)
skeemer has quit [Ping timeout: 244 seconds]
<alcor> zyd: Well, the problem is – I don't have a presentation. I want to output a presentation from inside Lisp code, but (pprint …) doesn't do the trick any more due to SBCL patches in SLIME bitrotting.
<alcor> I'm trying to use (break) instead because according to the documentation, local variables in the debugger are presentations. But having issues with that too because SBCL aggressively prunes local variables.
<zyd> Ah, gotcha. Yeah, I wonder how you do that. I guess maybe a place to look is how slime handles instances of structs and classes?
<zyd> Those always have presentations, so that would be the code I would hunt down.
Akbar-Birbal has left #commonlisp [Error from remote client]
<alcor> I eventually got it working by using (break) and convincing SBCL to keep the binding alive, but it's not a very comfortable way to get the presentation. Currently digging through SLIME code.
<alcor> (no pun intended)
jon_atack has joined #commonlisp
McParen has joined #commonlisp
jonatack has quit [Ping timeout: 265 seconds]
treflip has quit [Ping timeout: 246 seconds]
chomwitt has quit [Ping timeout: 248 seconds]
<zyd> heh
chomwitt has joined #commonlisp
<mrcom_> alcor: If you're open to switching, Sly has functions to send objects to Emacs buffers--you can pop (clickable) stuff up in repl, inspector, editor buffer, and debug (IIRC).
mwnaylor has joined #commonlisp
<mrcom_> At least some of them work :) edrx over in #clschool was playing with it.
mrcom_ is now known as mrcom
<mrcom> (slynk-mrepl:copy-to-repl-in-emacs (make-instance 'foo) :blurb "Here is a foo.")_
bitspook has quit [Ping timeout: 272 seconds]
mwnaylor has quit [Ping timeout: 260 seconds]
<alcor> I tried Sly a few months ago, the problem was that it didn't quite work with `fido-vertical-mode' and Emacs 29+ vanilla *Completions* but maybe that has been fixed, so I'll give it another whirl. Thanks for reminding me mrcom.
JuanDaugherty has quit [Quit: JuanDaugherty]
mrcom has quit [Quit: Leaving]
chomwitt has quit [Ping timeout: 245 seconds]
ingeniot has joined #commonlisp
danza has joined #commonlisp
mgl_ has joined #commonlisp
mwnaylor has joined #commonlisp
danza has quit []
<alcor> I am enlightened. With Sly's "stickers" functionality, I don't even need to print presentations anymore. This is something even better than that.
<Bubblegumdrop> I use sly... it's pretty great
<alcor> Indeed, Stickers are cool. It's like putting a watch on any lisp form.
mon_key_phn has quit [Ping timeout: 272 seconds]
attila_lendvai has joined #commonlisp
drewjose has joined #commonlisp
bitspook has joined #commonlisp
<drewjose> Any way to represent float inf and NaN in a way that doesn't depend on any particular implementation? This is for a toml parser
aadcg has quit [Remote host closed the connection]
binarydigitz01 has joined #commonlisp
<drewjose> Ah I guess this library is the answer https://shinmera.github.io/float-features/
<ixelp> Float Features
<Shinmera> happy to help
<yitzi> drewjose: Also https://github.com/s-expressionists/Quaviver for parsing and base conversion.
<ixelp> GitHub - s-expressionists/Quaviver: A portable and extensible floating point base conversion and string library
<yitzi> The low level interface isn't documented yet, but it includes versions of integer-decode-float that can handle infinity and nan.
King_julian has joined #commonlisp
<younder> One question: does it really vary that much over different versions of C/C++?
<younder> There are like 12 different settings there
<yitzi> younder: who are you asking?
ingeniot has quit [Ping timeout: 256 seconds]
<younder> I'm referring to https://github.com/s-expressionists/Quaviver no a particular person.
<ixelp> GitHub - s-expressionists/Quaviver: A portable and extensible floating point base conversion and string library
<yitzi> I'm one of the authors. What do you mean "12 different settings?"
<yitzi> Are you asking about the standard level in the parser?
<younder> :C89 :C99 ... :C++26
<younder> AM I supposed to know the exact version of a compiler the file was written in?
<younder> sorry library
<ixelp> Quaviver/code/c/implementation.lisp at main · s-expressionists/Quaviver · GitHub
<yitzi> All the versions are available so a user doesn't need know the differences.
<younder> or can i just use :BLUB (presumably Hoyte/Graham reference for any non-lisp language)
<yitzi> Most non-lisp languages are equivalent to :blub
<yitzi> Is there a specific format you are looking for?
<younder> Not at the moment just curious.
<yitzi> ok
acdw has left #commonlisp [WeeChat 3.5]
synchromesh has quit [Read error: Connection reset by peer]
synchromesh has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
yitzi has quit [Remote host closed the connection]
cmack has quit [Remote host closed the connection]
cmack has joined #commonlisp
amb007 has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
Pixel_Outlaw has joined #commonlisp
binarydigitz01 has quit [Ping timeout: 264 seconds]
troojg has joined #commonlisp
<alcor> Fwiw the GNU ELPA version of Sly is hopelessly out of date.
cage has quit [Quit: rcirc on GNU Emacs 29.4]
amb007 has quit [Ping timeout: 248 seconds]
chomwitt has joined #commonlisp
char has joined #commonlisp
bitspook has quit [Ping timeout: 260 seconds]
mgl_ has quit [Ping timeout: 255 seconds]
shka has quit [Ping timeout: 276 seconds]
X-Scale has joined #commonlisp
King_julian has quit [Ping timeout: 252 seconds]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wacki has joined #commonlisp
triffid has quit [Remote host closed the connection]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amb007 has joined #commonlisp
random-nick has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 245 seconds]
skeemer has joined #commonlisp
alternateved has quit [Remote host closed the connection]
King_julian has joined #commonlisp
random-nick has joined #commonlisp
amb007 has joined #commonlisp
attila_lendvai has quit [Ping timeout: 260 seconds]
<zyd> most people use melpa
lucasta has joined #commonlisp
X-Scale has quit [Ping timeout: 256 seconds]
char has quit [Ping timeout: 260 seconds]
char has joined #commonlisp
King_julian has quit [Ping timeout: 260 seconds]
skeemer has quit [Ping timeout: 252 seconds]
pve has quit [Quit: leaving]
amb007 has quit [Ping timeout: 264 seconds]
troojg has quit [Ping timeout: 246 seconds]
yitzi has joined #commonlisp
jon_atack has quit [Ping timeout: 264 seconds]
amb007 has joined #commonlisp
jonatack has joined #commonlisp
char has quit [Ping timeout: 252 seconds]
amb007 has quit [Ping timeout: 265 seconds]
chomwitt has quit [Ping timeout: 248 seconds]
donleo has quit [Ping timeout: 265 seconds]
mistivia has quit [Ping timeout: 252 seconds]