gigamonkey has quit [Ping timeout: 246 seconds]
[deleted] has joined #commonlisp
livoreno has quit [Ping timeout: 250 seconds]
tophullyte has joined #commonlisp
akoana has quit [Quit: leaving]
Oddity has quit [Changing host]
Oddity has joined #commonlisp
ivche has joined #commonlisp
<ivche> hey ppl, so im going through some material, and im trying to make a web server as an exercise
<ivche> i use sbcl and the resource uses clisp, so socket implementation is different
<ivche> therefore I cant see where I'm making a mistake
<ivche> here is my code, when I start up the server with the (serve) function, and try to visit the server from my browser
<ivche>
<ivche> #<SB-SYS:FD-STREAM for "socket 127.0.0.1:8820, peer: 127.0.0.1:39478" {100288D503}>:
<ivche>
<ivche> the octet sequence #(252 3 3 43) cannot be decoded.
<ivche> [Condition of type SB-INT:STREAM-DECODING-ERROR]
<ivche> i get this error
<ivche> any ideas why that might be the case?
tophullyte has quit [Quit: Leaving]
<kakuhen> depending on what exactly the clisp resource uses, you may be able to get away with using usocket
<kakuhen> it should give you the relevant sbcl socket calls when using it
<kakuhen> anyway, assuming your serve function is set up correctly, can you trace the function that gets given that octet sequence
<pjb> ivche: you don't specify an :element-type to sockets, so it's character by default, therefore it uses an encoding. Since you didn't specify a common :external-format, it's the default one in each process that is used. Probably not the same.
<pjb> Try :element-type '(unsigned-byte 8)
<ivche> but look
<ivche>
<ivche> CL-USER> sb-ext:*default-external-format*
<ivche> :UTF-8
<pjb> How do you know the other process uses utf-8 too?
<ivche> The default external format is UTF-8. It can be changed via
<ivche>
<ivche>
<ivche> sb-ext:*default-external-format* and sb-ext:*default-c-string-external-format*
<ivche>
<ivche> docs
<ivche> also
<pjb> ivche: also, 3 is not the ASCII code of a character, but an ASCII control code (for ETX). So it's not a character stream.
<ivche> i think i accessed it via https
<ivche> and that messed it up
<pjb> Then you'd have to use a TLS library.
<pjb> ivche: you can try: telnet 127.0.0.1 8820
<ivche> but when i tried http, i get localhost sent an invalid response
<ivche> and when i tried to curl it, i got
<pjb> Does your exercise involves TLS?
<ivche> * Connected to localhost (127.0.0.1) port 8822 (#0)
<ivche> > GET /greeting HTTP/1.1
<ivche> > Host: localhost:8822
<ivche> > User-Agent: curl/7.77.0
<ivche> > Accept: */*
<ivche> >
<pjb> Sounds good.
<ivche> * Received HTTP/0.9 when not allowed
<ivche> * Closing connection 0
<ivche> no
<ivche> why cant i GET it tho?
<ivche> Trying 127.0.0.1...
<ivche> Connected to 127.0.0.1.
<ivche> Escape character is '^]'.
<ivche> this is the telnet output
<pjb> GET /greeting HTTP/1.1 RET
<ivche> Trying 127.0.0.1...
<ivche> Escape character is '^]'.
<ivche> Connected to 127.0.0.1.
<ivche> GET /greeting HTTP/1.1 RET
<ivche>
<ivche> Sorry... I don't know that page.Connection closed by foreign host.
<pjb> Are you witting a server or a client?
<ivche> omg i actually got a response
<ivche> server
<ivche> i sent the code
<pjb> But it is not correct, it should start with a http status code!
<ivche> u can skim over it
<ivche> no but it's a mock server
<ivche> it doesn't implement all of http
<pjb> ok
<ivche> why can't i access it from the browser tho
<pjb> Anyways, contrarily to the appearances, HTTP is a binary protocol…
<ivche> okay?
<pjb> ivche: because you didn't implement HTTP, only a mock version of it.
<ivche> yeah but the guy in the book gets a response
<pjb> perhaps he doesn't use the same browser?
<ivche> can it be that the book is ancient?
<ivche> i mean 2010
<pjb> Yes.
peterhil_ has quit [Ping timeout: 246 seconds]
<pjb> ivche: it could help if you flushed the buffers!
<ivche> it actually works on firefox
<ivche> W O W
ivche has left #commonlisp [ERC (IRC client for Emacs 27.2)]
ivche has joined #commonlisp
<ivche> killed the buffer
<ivche> by mistake
<ivche> i was saying, firefox works
zacts has joined #commonlisp
zacts has quit [Client Quit]
<ivche> but why does it display this <!DOCTYPE html><html><meta charset="utf-8"><h1>Hello world!</h1></html>
<ivche> instead rendering the HTML?
<pjb> Because you didn't return a HTTP header with the content-type.
<ivche> i see
<ivche> yeah, a lot has changed
<pjb> See the example in section 2.1 in https://datatracker.ietf.org/doc/html/rfc7230
<pjb> (page 7)
<ivche> lets gooo
<ivche> thank you a lot.. With the headers, it works on chrome too
<ivche> brave*
<ivche> but that's chrome anyways :D
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #commonlisp
ircseeker has joined #commonlisp
prxq_ has joined #commonlisp
prxq has quit [Ping timeout: 252 seconds]
ivche has left #commonlisp [ERC (IRC client for Emacs 27.2)]
ec has quit [Quit: ec]
<beach> Good morning everyone!
<Josh_2> Morning beach
Posterdati has quit [Ping timeout: 265 seconds]
char has joined #commonlisp
Posterdati has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 252 seconds]
Lord_of_Life_ is now known as Lord_of_Life
shka has joined #commonlisp
Bike has quit [Quit: Lost terminal]
<rdrg109> Good evening
<beach> Hello rdrg109.
yp has joined #commonlisp
yp is now known as Guest5592
CrashTestDummy2 has joined #commonlisp
CrashTestDummy has quit [Ping timeout: 246 seconds]
dsk has joined #commonlisp
srhm has quit [Quit: Konversation terminated!]
<rdrg109> I'm using SBCL and I'm trying to understand how to use ASDF, so I'm reading this manual https://common-lisp.net/project/asdf-install/tutorial/index-save.html#pre. According to that guide, I can load ASDF-INSTALL by executing (require :asdf-install)
<rdrg109> However, when I execute that command, I get
<rdrg109> Don't know how to REQUIRE ASDF-INSTALL.
<kakuhen> I thought most major CL implementations came with asdf bundled?
ircseeker has quit [Remote host closed the connection]
<char> kakuhen: yes but they are not always "available" and must be requred.
<rdrg109> How should I require asdf-install?
<char> rdrg109: did you try just (require :asdf)
<kakuhen> ^
<rdrg109> (require :asdf) returns nil
<rdrg109> But when I try to execute (asdf-install:install :cl-ppcre)
<rdrg109> I get: Package ASDF-INSTALL does not exist.
<char> (asdf:load-system :cl-ppcre)
<rdrg109> Thanks, it works. How can I use asdf:install?
<kakuhen> this just looks like a really old quicklisp
<rdrg109> Mmhh, I visited https://www.cliki.net/asdf-install and found the following
<kakuhen> anyway, the "Installing ASDF-INSTALL" section is relevant for you I think
<rdrg109> asdf-install completely died more than a decade ago, having been completely superseded by Quicklisp.
<char> rdrg109: what effect do you want that to have?
<kakuhen> nice, my intuition was right
<kakuhen> most people just use quicklisp nowadays, which automatically loads asdf, either the asdf bundled with your implementation, or a custom one supplied by quicklisp itself (if your implementation doesnt offer one)
<rdrg109> char: As a clisp newbie, I thought that using ASDF-INSTALL was necessary for insatlling packages, but now with the information provided at https://www.cliki.net/asdf-install, I know that it is not necessary and I should use Quicklisp insterad
<rdrg109> Thanks for the help
<kakuhen> I strongly recommend you install quicklisp; instructions are here -> https://www.quicklisp.org/beta/
CrashTestDummy3 has joined #commonlisp
<char> quicklisp is really super. I'm experimenting with using guix to manage common lisp packages too though.
<kakuhen> the process looks involved, but essentially you are downloading a lisp file, passing it to sbcl, and then you run (quicklisp-quickstart:install) and (ql:add-to-init-file) so that it loads whenever sbcl runs
<char> rdrg109: happy to help
CrashTestDummy2 has quit [Ping timeout: 246 seconds]
<rdrg109> I'm trying to install this library https://common-lisp.net/project/lisplab/ and it mentions that it needs to be installed through asdf.
<rdrg109> I want a library for experimenting with matrices so I choosed that one.
<char> quicklisp uses asdf in the background, so if you quicklisp:quickload it, it will work, granted it is on quicklisp repository
<White_Flame> it's not, I tried
<White_Flame> however, it probably really should read "Lisplab is _loaded_ via asdf"
<char> still good to use quicklisp to automatically get dependencies.
<kakuhen> ^
<White_Flame> install quicklisp ( https://www.quicklisp.org/beta/ ), download the code and unzip it under ~/quicklisp/local-projects/, and then you should be able to (ql:quickload "lisplab")
<White_Flame> *download the lisplab code and unzip it under....
<White_Flame> however if you're just looking for matrices, it'd be better to grab one that quicklisp supports
<kakuhen> make sure you install lapack and the other deps too
<kakuhen> I dont think quicklisp will pull those in
<kakuhen> lapack is some fortran library iirc so id be surprised if it can somehow install it for you
<White_Flame> are you looking for general mathematic matrices, or specifically like 3d graphics matrices?
<rdrg109> general mathematic matrices
<White_Flame> ok, I know less about that, but there is a linkage to octave: https://www.common-lisp.net/project/cl-octave/
<rdrg109> White_Flame: How can I get a list of Quicklisp packages. The more information, the better. I only know how to list their names with (ql:system-apropos "")
<White_Flame> but yeah, maybe lisplab would be the primary one here
<White_Flame> there was site, quickdocs, but unfortunately the owner shut it down
<char> rdrg109: there should be system-apropos-list too
Inline has quit [Quit: Leaving]
<rdrg109> char: I get The function COMMON-LISP-USER::SYSTEM-APROPOS-LIST is undefined.
<char> It would be ql:system-apropos-list, but my memory may be failing
<beach> rdrg109: Please don't use "clisp" as an abbreviation for Common Lisp.
<beach> rdrg109: CLISP is a particular implementation of Common Lisp.
<beach> rdrg109: If you IRC client doesn't have abbrevs, you can use "CL" to mean Common Lisp.
<rdrg109> beach: Understood!
* beach wonders why anyone would write an IRC client without abbrevs, and why anyone would want to use such a client.
<rdrg109> I'm using weechat. Taking into account weechat's extensibility, there probably is a feature for that.
* beach also wonders why so few people seem to be interested in saving time by using abbrevs.
<rdrg109> :o
<rdrg109> will keep that in mind
d4ryus has quit [Quit: WeeChat 3.2]
<moon-child> beach: I think that systemic approaches to typing speed (such as stenography) may be worthwhile, but that my prose is not redundant enough that such a thing would be very helpful
<beach> moon-child: I am tempted to go to the logs and do a frequency analysis of your utterances. :)
d4ryus has joined #commonlisp
ibinderwolf has joined #commonlisp
<rdrg109> I moved lisplab to ~/quicklisp/local-projects/lisplab and I was able to execute (ql:quickload "lisplab"). The problem is that I'm getting a ton of errors with the following format: is 0.0, not a DOUBLE-FLOAT. [Condition of type SIMPLE-TYPE-ERROR] (complete log: http://0x0.st/-9CT.txt)
<moon-child> beach: http://0x0.st/-9CA.txt for your perusal
<rdrg109> Is that normal behavior? Are those types of warnings as happen with g++ and big Qt projects?
<moon-child> (also consider cognitive overhead, because obviously gzip will do a number on it)
<beach> moon-child: Heh! How long is that?
susam_ has joined #commonlisp
susam_ has quit [Client Quit]
<beach> moon-child: It is interesting that the top one is "the", because my fingers are unable to type "the", and I end up with "teh" instead. So I have an abbrev that corrects that one.
CrashTestDummy2 has joined #commonlisp
<moon-child> seems to be 20k unique words, 260k overall over a few years
<moon-child> I have other logs from a few years before that
susam_ has joined #commonlisp
<moon-child> 'teh' vs 'the' is interesting; I would think 'the' is easier to spell, because it uses alternating hands!
<moon-child> s/spell/type/
<beach> I gave up trying to fix it the finger way.
<moon-child> right, that's completely fair, I just find it interesting
<beach> Indeed.
<susam_> Hello everyone! Good morning!
<beach> Hello susam_.
CrashTestDummy3 has quit [Ping timeout: 265 seconds]
<susam_> Hello beach!
<susam_> Interesting discussion. I too make mistype "the" as "teh" often but indeed "the" should be easier to type due to alternating hands.
<susam_> s/make//
<kakuhen> (defmacro teh (type form) `(the ,type ,form))
<kakuhen> problem solved
<beach> Also, a per-word analysis is not quite fair since an abbrev can generate several words, as in "first-class global environments", "(admittedly small) family", "Good morning everyone!", "Common Lisp HyperSpec", "Second Climacs", "(first) Climacs", "my favorite coauthor", "Common Lisp", each of which I have an abbrev for.
<moon-child> true
char has quit [Ping timeout: 258 seconds]
Cymew has joined #commonlisp
unyu has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
leeb has joined #commonlisp
leeb_ has quit [Ping timeout: 258 seconds]
attila_lendvai has joined #commonlisp
peterhil has joined #commonlisp
<flip214> ah, that explains half a bit of redundancy
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
<phoe> I remember that there was a technique for garbage-collecting class objects generated via DEFCLASS. What was required is SETF FIND-CLASS NIL and REMOVE-DIRECT-SUBCLASS but there must be something more because the finalizer on the class object is not firing for me - any ideas what I'm missing?
Duuqnd has joined #commonlisp
<phoe> oh wait, it works
whosit has quit [Quit: leaving]
<flip214> phoe: you could also redefine the class to contain no slots anymore... that should call INITIALIZE-INSTANCE
<phoe> flip214: yes, but the constraint is, I explicitly want the old object to get collected
<beach> flip214: INITIALIZE-INSTANCE? Really?
<phoe> reinitialize-instance will work on the old object and keep it alive instead
<flip214> ah, sorry, UPDATE-INSTANCE-FOR-REDEFINED-CLASS
<phoe> woop, this one, yes
<phoe> this one has nothing to do with GC though
robin has quit [Remote host closed the connection]
<prxq_> phoe: if you generate many classes often and want to have them GCed regularly, it pays to have them in temporary packages which can just be deleted. Subsequently the classes get GCed as well.
prxq_ is now known as prxq
<phoe> prxq: actually they don't
<phoe> the superclass-subclass link will keep them alive
amb007 has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
<prxq> you mean from object?
<phoe> I mean the link between the class object and its superclasses
<phoe> (and/or subclasses)
<prxq> even if the only superclass is object?
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
<phoe> what do you mean, is object?
amb007 has joined #commonlisp
<phoe> every class object has a default superclass of standard-class
<prxq> what's the superclass of (defclass foo () ())
<phoe> standard-class
<prxq> I think it's T, it's object in Python m)
<phoe> okay, you are right
<prxq> ok, so if the only superclass is standard-class....
<phoe> the *direct* superclass of that is standard-class
<phoe> everything is of class T, by definition
terpri has joined #commonlisp
<flip214> phoe: I guess having a UPDATE-INSTANCE-FOR-REDEFINED-CLASS method that runs CHANGE-CLASS on the instances to switch to a slotless (ie empty) class and triggering that via MAKE-INSTANCES-OBSOLETE might not need patching super/subclass relationships
<phoe> flip214: I have DEFCLASS'd a hundred thousand times and I want these classes to be completely gone from the memory
<phoe> because nothing uses these classes anymore
clintm has quit [Remote host closed the connection]
White_Flame has quit [Remote host closed the connection]
<flip214> well, you could just keep a pool of "free" STANDARD-CLASS instances and recycle them as needed as well ;)
White_Flame has joined #commonlisp
<phoe> we are reinventing manual allocation!
<flip214> no, a "performance optimization" ;)
ibinderwolf_ has joined #commonlisp
Tomte has joined #commonlisp
ibinderwolf has quit [Ping timeout: 252 seconds]
kakuhen has quit [Remote host closed the connection]
clintm has joined #commonlisp
kakuhen has joined #commonlisp
hendursa1 has joined #commonlisp
hendursaga has quit [Ping timeout: 244 seconds]
pve has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
<flip214> CFFI pushes symbols in CFFI onto *FEATURES* (not keywords!), that means that such a *FEATURES* list may not be readable in arbitrary other images (because the package isn't available)
selwyn has joined #commonlisp
zacts has joined #commonlisp
<splittist> Wouldn't that be a highly misleading *features* list anyway?
ceblan` has quit [Read error: Connection reset by peer]
<flip214> CFFI-FEATURES:FLAT-NAMESPACE CFFI-FEATURES:X86-64 CFFI-FEATURES:UNIX :CFFI CFFI-SYS::FLAT-NAMESPACE
<flip214> other things use a dot, eg. :ESRAP.CAN-HANDLE-LEFT-RECURSION
<flip214> perhaps CFFI should migrate
<splittist> It does make actually using feature expressions more difficult (having other packages)
<flip214> only if you need to check for these non-keyword features, right? although, if it's in your own packages you can make sure the package exists before testing for them
zacts has quit [Quit: gtg]
makomo has joined #commonlisp
tyson2 has joined #commonlisp
kevingal has joined #commonlisp
IAmRasputin has quit [Ping timeout: 252 seconds]
IAmRasputin has joined #commonlisp
IAmRasputin has quit [Ping timeout: 258 seconds]
prxq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
ibinderwolf has joined #commonlisp
random-nick has joined #commonlisp
ibinderwolf_ has quit [Ping timeout: 246 seconds]
amb007 has quit [Read error: Connection reset by peer]
ibinderwolf_ has joined #commonlisp
amb007 has joined #commonlisp
ibinderwolf__ has joined #commonlisp
ibinderwolf has quit [Ping timeout: 265 seconds]
ibinderwolf has joined #commonlisp
ibinderwolf_ has quit [Ping timeout: 268 seconds]
ibinderwolf__ has quit [Ping timeout: 252 seconds]
susam_ has quit [Quit: Client closed]
erik_ has joined #commonlisp
<susam> Inspired by the rainbow-delimiters customization discussion yesterday and phoe's colour scheme for it, I managed to finally customize my rainbow-delimiters today: https://i.imgur.com/9aDbSkL.png . These are darker shades of the colours phoe shared yesterday. Now I have to wait and watch to see if I really like it or if I find the extra colours distracting.
<phoe> my colors were used with a more grayish background from the zenburn theme; they're gonna look different on a black background
<phoe> but, well, I like low-contrast themes, and zenburn gives me that
<susam> Yes, that is what I realized. I have a darker background, so had to make the colours a bit darker to suit my contrast preference.
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
ibinderwolf_ has joined #commonlisp
ibinderwolf has quit [Ping timeout: 265 seconds]
derelict has quit [Ping timeout: 250 seconds]
mortemeur has quit [Remote host closed the connection]
clintm has quit [Read error: Connection reset by peer]
<edgar-rft> susam: if you want a really beautiful emacs I recommend this -> https://www.emacswiki.org/emacs/PinkBliss :-)
erik_ has quit [Ping timeout: 258 seconds]
<susam> Eh! Too colorful! :) I use wombat + some customizations of mine. I like the muted colours of wombat.
<edgar-rft> M-x unicorn-mode
<kakuhen> i use a modified version of monokai in emacs when its night time
<kakuhen> and rainbow-delimiters makes an actual rainbow
<kakuhen> which is really nice
<kakuhen> with that said, good night everybody~
kakuhen has quit [Quit: Leaving...]
clintm has joined #commonlisp
derelict has joined #commonlisp
clintm has quit [Remote host closed the connection]
attila_lendvai has quit [Ping timeout: 250 seconds]
ibinderwolf_ has quit [Ping timeout: 268 seconds]
cage has joined #commonlisp
makomo has quit [Quit: WeeChat 3.0.1]
IAmRasputin has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
IAmRasputin has quit [Ping timeout: 258 seconds]
knobo has joined #commonlisp
aeth has quit [Ping timeout: 246 seconds]
aeth has joined #commonlisp
srhm has joined #commonlisp
unyu has quit [Quit: WeeChat 3.2]
mayureshkathe has joined #commonlisp
<mayureshkathe> hello. :)
<beach> Hello mayureshkathe.
<mayureshkathe> hello beach from france. :)
Bike has joined #commonlisp
cage has quit [Remote host closed the connection]
<mayureshkathe> gotta go now, ttyl.
mayureshkathe has quit [Quit: Leaving]
<beach> Another non-user of abbrevs, apparently.
<beach> mayureshkathe: y, syl, tc.
IAmRasputin has joined #commonlisp
Cymew has quit [Ping timeout: 268 seconds]
selwyn has quit [Read error: Connection reset by peer]
selwyn has joined #commonlisp
waleee has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
Inline has joined #commonlisp
char has joined #commonlisp
djuber has joined #commonlisp
cage has joined #commonlisp
peterhil_ has joined #commonlisp
<Josh_2> Afternoon :D
peterhil has quit [Read error: Connection reset by peer]
ghard has joined #commonlisp
aeth has quit [Ping timeout: 265 seconds]
aeth has joined #commonlisp
<Josh_2> Anyone here used the function bknr.datastore:snapshot? Mine keeps failing trying to rename the a file
<Josh_2> Not sure if its because I'm using relatives paths
attila_lendvai has joined #commonlisp
<pjb> phoe: standard-class is a meta-class. standard-object could be the superclass: (defclass foo () ()) (typep (make-instance 'foo) 'standard-object) #| --> t |#
<phoe> pjb: yes, that is what was meant - a class object instantiated via DEFCLASS has a direct superclass that is, by default, STANDARD-CLASS
<pjb> (c2mop:class-direct-superclasses (find-class 'foo)) #| --> (#<standard-class standard-object>) |#
<pjb> Ok.
<phoe> or am I mixing things up?...
* phoe double-checks
<pjb> (typep (find-class 'foo) 'standard-class) #| --> t |#
<pjb> (c2mop:class-direct-superclasses (class-of (find-class 'foo))) #| --> (#<standard-class ccl::std-class>) |#
<beach> phoe: I don't think that's true.
<pjb> phoe: me careful not to confuse superclasses and metaclasses.
<phoe> beach: right, I am checking this now
<phoe> yes, I screwed things up
<pjb> beach: he's right: class of a class is the metaclass.
<phoe> the class is an *instance* of standard-class
tfb has joined #commonlisp
<pjb> phoe: well, modulo implementations can insert any classes they want in the hierarchy.
<phoe> yes
<pjb> such as ccl::std-class in ccl.
attila_lendvai has quit [Ping timeout: 268 seconds]
char has quit [Ping timeout: 250 seconds]
tfb has quit [Quit: died]
char has joined #commonlisp
<Josh_2> made an issue for bnkr but I do not expect that to get fixed
<Josh_2> might have no choice but to go back to use postgres :(
yitzi has joined #commonlisp
manicennui has joined #commonlisp
seanw has joined #commonlisp
char has quit [Ping timeout: 265 seconds]
tfb has joined #commonlisp
<_death> mcclim was useful in making debugging easy today https://adeht.org/dump/vid-2021-06-24T1821.mp4
<jackdaniel> looks fancy!
<jackdaniel> and shows that graph layout algorithm needs some work :)
<_death> thanks, wrote it today to debug some annoying bug ;)
<Josh_2> Very cool
<jackdaniel> if you have problems with clipping-to-ellipse being very slow, fret not - it will be faster soon enough
<_death> well, they're ok if you tweak some settings and the graph isn't too complex.. most serious was, I think, the incremental redisplay doesn't not working well if stuff is in formatting-x.. or I don't understand it well enough
<jackdaniel> incremental redisplay needs some work (the same could be said about table formatting)
<jackdaniel> so I wouldn't be surprised if you have hit a bug
patience_ has quit [Ping timeout: 258 seconds]
<_death> but otherwise it's very nice to create such a functional UI in <400 loc
_whitelogger has joined #commonlisp
palter has joined #commonlisp
conjunctive has joined #commonlisp
killsushi has quit [Ping timeout: 250 seconds]
hugo has joined #commonlisp
Vultyre has joined #commonlisp
selwyn has quit [Read error: Connection reset by peer]
zephyr has joined #commonlisp
azimut_ has joined #commonlisp
<beach> _death: Nice! Yes, that's the strength of CLIM. Not much code is needed to get something useful.
azimut has quit [Ping timeout: 244 seconds]
<_death> another CL secret weapon ;)
waleee has quit [Quit: WeeChat 3.2]
yitzi has quit [Ping timeout: 265 seconds]
waleee has joined #commonlisp
Tomte has quit [Quit: Leaving]
<Josh_2> Whats the method that I can specialize in order to do something when missing a specific method for specific args?
<beach> ::clhs no-applicable-method
<Colleen> Clhs: standard generic function no-applicable-method http://www.lispworks.com/documentation/HyperSpec/Body/f_no_app.htm
<Josh_2> Thanks
<beach> Pleasure.
<shka> _death: 400 loc? pretty nice!
<_death> well cloc says 326 ;)
Guest63 has joined #commonlisp
<Guest63> are global functions (defun) considered closures?
<shka> Guest63: from technical standpoint, i guess? from the practical standpoint not really
<beach> Guest63: The terminology varies, but they certainly are if they are defined in a non-null environment.
<tfb> Guest63: they're closures if they are define in a non-empty environment. Which they almost never are
<beach> Guest63: Like (let ((x 10)) (defun ff (y) (+ x y))) for instance.
<Guest63> shka: thanks, yes that's what I thought. I guess they "predated" the idea of closures, but they basically are - since they have lexical scope on the bindings
<Guest63> tfb: so a top-level defun is not a closure?
<shka> they can be closures as beach pointed out
<shka> you can do the following
<shka> (let ((counter 0)) (defun count () (incf counter)))
yitzi has joined #commonlisp
<jackdaniel> a pattern sometimes found in the wild: (flet ((some-local-utility (…) …)) (defun a () … (some-local-utility …)) (defun b () … (some-local-utility) …)))
<tfb> Guest63: If you define a closure as a function which uses a free lexical binding, then no, but really the distinction is artificial
<shka> yeah, what jackdaniel presented is probably more practical example
<beach> Guest63: The terminology varies. You can say that it's a closure with an empty static environment. But more often you would then say that it's not a closure.
<Guest63> thanks all - that makes sense
<shka> anyway, thing is, 99% of times defun has no outer lexical env of note worthy
<Guest63> shka: yep, agree. I was just writing some notes and wanted to put "recursion" under closures but it also applies to functions, that got me thinking
<shka> ah, ok
<shka> i guess, this is this time when theoretical categorization has limited practical application
<beach> Right, recursion and closures are orthogonal concepts.
<tfb> I think really that the whole 'closure' thing is a hangover from the days when you had to explicitly say 'I want to make a closure' rather than what you can do now which is just assume scope & extent work right
<tfb> (well, Schemey people would say 'mostly right' I suppose)
<Guest63> beach: agreed, now that I think of it, they are related but don't really have anything to do with each other
<Guest63> tfb: there is definitely a lot of terminology that is a hangover from older days, it does add a bit of complexity to learning the language
<beach> How can they both be related and have nothing to do with each other?
<Guest63> but I guess once you do, you get better at computer science - since the terms are quite exact
<Guest63> beach: because one would often use recursion in closures :)
<beach> Nah.
<shka> there is small overlap :D
<shka> with scope
<shka> but i think that that's it
<beach> Nah.
<jackdaniel> shka: what do you mean?
<beach> There is no overlap.
<beach> They are orthogonal concepts.
* iisi defenestrates the word "orthogonal", for being used variously to mean: related, not related, intersecting, not intersecting, overlapping, not overlapping, intersecting at a 90 degree angle
<shka> jackdaniel: when invoking recursive function, function lookup may be performed in the lexical environment, this allows for instance to write weird code like (defun ha ()) (flet ((ha () (ha))) (flet ((ha () (ha))) (ha))
<shka> but i guess this is stretching it :P
<jackdaniel> shka: I still don't understand
<jackdaniel> where was the recursion in there?
<beach> But this being #commonlisp, the issue has to be debated to death.
<shka> jackdaniel: i think that there is nothing to understand, i was trying to be contrarian when i really shouldn't be :P
<jackdaniel> beach: it all connects, the person who broke the silence was _death
* jackdaniel scribbles something on the wall energetically
<shka> *bonk* go to the semantics jail
tfb has quit [Quit: died]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
varjag has joined #commonlisp
selwyn has joined #commonlisp
zacts has joined #commonlisp
peterhil_ has quit [Ping timeout: 252 seconds]
peterhil has joined #commonlisp
char has joined #commonlisp
aeth has quit [Ping timeout: 258 seconds]
aeth has joined #commonlisp
<Josh_2> I like restarts, they are cool :P
hendursa1 has quit [Ping timeout: 244 seconds]
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
char has quit [Ping timeout: 268 seconds]
char has joined #commonlisp
VFR has quit [Read error: Connection reset by peer]
VFR has joined #commonlisp
char has quit [Ping timeout: 265 seconds]
<shka> more importantly... they are useful
<shka> even if you don't end up defining your own, ability to select what should happen from the debugger is at times such a time saver!
zacts has quit [Quit: gtg]
erik_ has joined #commonlisp
char has joined #commonlisp
peterhil has quit [Ping timeout: 258 seconds]
Quasus has joined #commonlisp
char has quit [Ping timeout: 256 seconds]
Guest63 has quit [Quit: Connection closed]
hendursaga has joined #commonlisp
peterhil has joined #commonlisp
selwyn has quit [Read error: Connection reset by peer]
greaser|q has joined #commonlisp
greaser|q has quit [Changing host]
greaser|q is now known as GreaseMonkey
<phantomics> Cool, more orthogonal meaning disputes
killsushi has joined #commonlisp
killsushi has quit [Changing host]
killsushi has joined #commonlisp
ggoes has quit [Quit: WeeChat 2.3]
[deleted] has quit [Ping timeout: 250 seconds]
sabra has quit [Quit: Konversation terminated!]
selwyn has joined #commonlisp
[deleted] has joined #commonlisp
prxq has joined #commonlisp
ggoes has joined #commonlisp
peterhil_ has joined #commonlisp
peterhil has quit [Ping timeout: 265 seconds]
srhm has quit [Ping timeout: 252 seconds]
peterhil_ has quit [Quit: Must not waste too much time here...]
peterhil has joined #commonlisp
erik_ has quit [Quit: Leaving]
<Josh_2> being able to reconnect to a server without losing any state at the time of disconnection is epic
<Josh_2> thank you very much restarts
shka has quit [Ping timeout: 250 seconds]
CrashTestDummy3 has joined #commonlisp
CrashTestDummy2 has quit [Ping timeout: 246 seconds]
CrashTestDummy3 has quit [Quit: Leaving]
knobo has quit [Ping timeout: 246 seconds]
yitzi has quit [Quit: Leaving]
lottaquestions has quit [Ping timeout: 268 seconds]
kakuhen has joined #commonlisp
killsushi has quit [Quit: Leaving]
phoe_ is now known as phoe
phoe has quit [Changing host]
phoe has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 27.1]
lad has joined #commonlisp
Quasus has quit [Quit: abiit]
tfb has joined #commonlisp
tfb has quit [Client Quit]
CrashTestDummy has joined #commonlisp
pve has quit [Quit: leaving]
CrashTestDummy2 has joined #commonlisp
CrashTestDummy3 has joined #commonlisp
CrashTestDummy has quit [Ping timeout: 256 seconds]
CrashTestDummy has joined #commonlisp
<kevingal> How do y'all set up slime-asdf? It doesn't seem to be available in MELPA.
CrashTestDummy2 has quit [Ping timeout: 256 seconds]
CrashTestDummy3 has quit [Ping timeout: 256 seconds]
<kevingal> Never mind, it's an extension to the slime package, so you just add (push 'slime-asdf slime-contribs) to your Emacs config.
kevingal has quit [Remote host closed the connection]
[deleted] has quit [Ping timeout: 258 seconds]
tyson2 has quit [Ping timeout: 258 seconds]
lad has quit [Ping timeout: 256 seconds]
dsk has quit [Ping timeout: 250 seconds]
taiju has quit [Ping timeout: 252 seconds]
taiju has joined #commonlisp
taiju has quit [*.net *.split]
CrashTestDummy has quit [*.net *.split]
kakuhen has quit [*.net *.split]
selwyn has quit [*.net *.split]
varjag has quit [*.net *.split]
ChanServ has quit [*.net *.split]
azimut_ has quit [*.net *.split]
hendursaga has quit [*.net *.split]
VFR has quit [*.net *.split]
jdz has quit [*.net *.split]
Xach has quit [*.net *.split]
Bike has quit [*.net *.split]
pieguy128 has quit [*.net *.split]
xlei has quit [*.net *.split]
sm2n has quit [*.net *.split]
prxq has quit [*.net *.split]
aeth has quit [*.net *.split]
zephyr has quit [*.net *.split]
Vultyre has quit [*.net *.split]
djuber has quit [*.net *.split]
Guest5592 has quit [*.net *.split]
seanw has quit [*.net *.split]
mister_m has quit [*.net *.split]
sp41 has quit [*.net *.split]
froggey has quit [*.net *.split]
sjl has quit [*.net *.split]
leo_song_ has quit [*.net *.split]
Noisytoot has quit [*.net *.split]
andreyorst has quit [*.net *.split]
micro has quit [*.net *.split]
gpiero has quit [*.net *.split]
luna-is-here has quit [*.net *.split]
hugo has quit [*.net *.split]
phoe has quit [*.net *.split]
ghard has quit [*.net *.split]
Inline has quit [*.net *.split]
trufas has quit [*.net *.split]
Lord_of_Life has quit [*.net *.split]
specbot has quit [*.net *.split]
commandoline has quit [*.net *.split]
engblom_ has quit [*.net *.split]
IAmRasputin has quit [*.net *.split]
random-nick has quit [*.net *.split]
Duuqnd has quit [*.net *.split]
lucerne has quit [*.net *.split]
jeosol has quit [*.net *.split]
X-Scale has quit [*.net *.split]
Lord_Nightmare has quit [*.net *.split]
skyl4rk has quit [*.net *.split]
hhdave has quit [*.net *.split]
casual_friday_ has quit [*.net *.split]
srji has quit [*.net *.split]
edgar-rft has quit [*.net *.split]
fengshaun has quit [*.net *.split]
fishfinger has quit [*.net *.split]
amk has quit [*.net *.split]
mingus has quit [*.net *.split]
terrorjack has quit [*.net *.split]
Colleen has quit [*.net *.split]
peterhil has quit [*.net *.split]
ggoes has quit [*.net *.split]
amb007 has quit [*.net *.split]
borodust has quit [*.net *.split]
Demosthenex has quit [*.net *.split]
fiddlerwoaroof_ has quit [*.net *.split]
jgkamat has quit [*.net *.split]
Krystof has quit [*.net *.split]
Mandus has quit [*.net *.split]
etiago has quit [*.net *.split]
eta has quit [*.net *.split]
marcrosoft has quit [*.net *.split]
antoszka has quit [*.net *.split]
cross has quit [*.net *.split]
krjst has quit [*.net *.split]
hineios has quit [*.net *.split]
joast has quit [*.net *.split]
xantoz has quit [*.net *.split]
pok has quit [*.net *.split]
totoro has quit [*.net *.split]
ck_ has quit [*.net *.split]
mfiano has quit [*.net *.split]
skempf has quit [*.net *.split]
gabc has quit [*.net *.split]
SAL9000 has quit [*.net *.split]
_death has quit [*.net *.split]
jemoka has quit [*.net *.split]
spacebat1 has quit [*.net *.split]
hirez has quit [*.net *.split]
sukaeto has quit [*.net *.split]
markasoftware has quit [*.net *.split]
dieggsy has quit [*.net *.split]
luis` has quit [*.net *.split]
katco has quit [*.net *.split]
akanouras has quit [*.net *.split]
Gnuxie has quit [*.net *.split]
manicennui has quit [*.net *.split]
jasom has quit [*.net *.split]
^[ has quit [*.net *.split]
luis has quit [*.net *.split]
loke has quit [*.net *.split]
thonkpod has quit [*.net *.split]
pranavats has quit [*.net *.split]
pjb has quit [*.net *.split]
beach has quit [*.net *.split]
|3b| has quit [*.net *.split]
danieli has quit [*.net *.split]
ryanbw has quit [*.net *.split]
jealousmonk has quit [*.net *.split]
spec has quit [*.net *.split]
etimmons has quit [*.net *.split]
loke[m] has quit [*.net *.split]
rdrg109 has quit [*.net *.split]
les has quit [*.net *.split]
travv0 has quit [*.net *.split]
dbotton has quit [*.net *.split]
hexology has quit [*.net *.split]
dale has quit [*.net *.split]
iisi has quit [*.net *.split]
jmercouris has quit [*.net *.split]
gendl has quit [*.net *.split]
lonjil has quit [*.net *.split]
gko has quit [*.net *.split]
bldr has quit [*.net *.split]
dcx has quit [*.net *.split]
zups has quit [*.net *.split]
victor has quit [*.net *.split]
drmeister has quit [*.net *.split]
flip214 has quit [*.net *.split]
jackdaniel has quit [*.net *.split]
cpape has quit [*.net *.split]
hubvu has quit [*.net *.split]
splittist has quit [*.net *.split]
cheers has quit [*.net *.split]
easye has quit [*.net *.split]
igemnace has quit [*.net *.split]
scymtym has quit [*.net *.split]
MichaelRaskin has quit [*.net *.split]
moon-child has quit [*.net *.split]
Fade has quit [*.net *.split]
MetaYan has quit [*.net *.split]
Shinmera has quit [*.net *.split]
jason_m has quit [*.net *.split]
pl has quit [*.net *.split]
zagura has quit [*.net *.split]
tux0r has quit [*.net *.split]
gwefnn_ has quit [*.net *.split]
mariari has quit [*.net *.split]
phantomics has quit [*.net *.split]
fe[nl]ix has quit [*.net *.split]
theBlackDragon has quit [*.net *.split]
greyrat has quit [*.net *.split]
IUSR has quit [*.net *.split]
alanz has quit [*.net *.split]
jsatk has quit [*.net *.split]
trn has quit [*.net *.split]
mgxm has quit [*.net *.split]
ecraven has quit [*.net *.split]
waleee has quit [Quit: WeeChat 3.2]
jgkamat has joined #commonlisp
Mandus has joined #commonlisp
luna-is-here has joined #commonlisp
Demosthenex has joined #commonlisp
gpiero has joined #commonlisp
micro has joined #commonlisp
sm2n has joined #commonlisp
andreyorst has joined #commonlisp
xlei has joined #commonlisp
leo_song_ has joined #commonlisp
trufas has joined #commonlisp
pieguy128 has joined #commonlisp
froggey has joined #commonlisp
sp41 has joined #commonlisp
mister_m has joined #commonlisp
Guest5592 has joined #commonlisp
Bike has joined #commonlisp
djuber has joined #commonlisp
seanw has joined #commonlisp
Xach has joined #commonlisp
jdz has joined #commonlisp
Vultyre has joined #commonlisp
zephyr has joined #commonlisp
aeth has joined #commonlisp
VFR has joined #commonlisp
prxq has joined #commonlisp
tux0r has joined #commonlisp
pl has joined #commonlisp
zagura has joined #commonlisp
Shinmera has joined #commonlisp
jason_m has joined #commonlisp
MetaYan has joined #commonlisp
moon-child has joined #commonlisp
MichaelRaskin has joined #commonlisp
scymtym has joined #commonlisp
sjl has joined #commonlisp
Fade has joined #commonlisp
igemnace has joined #commonlisp
Colleen has joined #commonlisp
terrorjack has joined #commonlisp
mingus has joined #commonlisp
amk has joined #commonlisp
SAL9000 has joined #commonlisp
skempf has joined #commonlisp
mfiano has joined #commonlisp
totoro has joined #commonlisp
krjst has joined #commonlisp
joast has joined #commonlisp
marcrosoft has joined #commonlisp
eta has joined #commonlisp
gabc has joined #commonlisp
etiago has joined #commonlisp
ChanServ has joined #commonlisp
mgxm has joined #commonlisp
ecraven has joined #commonlisp
jsatk has joined #commonlisp
alanz has joined #commonlisp
antoszka has joined #commonlisp
IUSR has joined #commonlisp
greyrat has joined #commonlisp
trn has joined #commonlisp
theBlackDragon has joined #commonlisp
fe[nl]ix has joined #commonlisp
mariari has joined #commonlisp
phantomics has joined #commonlisp
gwefnn_ has joined #commonlisp
Krystof has joined #commonlisp
fiddlerwoaroof_ has joined #commonlisp
ggoes has joined #commonlisp
amb007 has joined #commonlisp
borodust has joined #commonlisp
azimut_ has joined #commonlisp
peterhil has joined #commonlisp
hendursaga has joined #commonlisp
ck_ has joined #commonlisp
pok has joined #commonlisp
hineios has joined #commonlisp
cross has joined #commonlisp
xantoz has joined #commonlisp
pranavats has joined #commonlisp
|3b| has joined #commonlisp
danieli has joined #commonlisp
beach has joined #commonlisp
pjb has joined #commonlisp
ryanbw has joined #commonlisp
jealousmonk has joined #commonlisp
spec has joined #commonlisp
Inline has joined #commonlisp
hugo has joined #commonlisp
ghard has joined #commonlisp
travv0 has joined #commonlisp
waleee has joined #commonlisp
phoe has joined #commonlisp
Lord_of_Life has joined #commonlisp
specbot has joined #commonlisp
Lord_Nightmare has joined #commonlisp
commandoline has joined #commonlisp
engblom_ has joined #commonlisp
random-nick has joined #commonlisp
Duuqnd has joined #commonlisp
X-Scale has joined #commonlisp
IAmRasputin has joined #commonlisp
jeosol has joined #commonlisp
casual_friday_ has joined #commonlisp
skyl4rk has joined #commonlisp
hhdave has joined #commonlisp
lucerne has joined #commonlisp
fishfinger has joined #commonlisp
fengshaun has joined #commonlisp
srji has joined #commonlisp
edgar-rft has joined #commonlisp
akanouras has joined #commonlisp
katco has joined #commonlisp
Gnuxie has joined #commonlisp
loke has joined #commonlisp
jasom has joined #commonlisp
luis` has joined #commonlisp
manicennui has joined #commonlisp
luis has joined #commonlisp
thonkpod has joined #commonlisp
dieggsy has joined #commonlisp
^[ has joined #commonlisp
akanouras has quit [Ping timeout: 272 seconds]
Gnuxie has quit [Ping timeout: 272 seconds]
waleee has quit [Client Quit]
splittist has joined #commonlisp
hubvu has joined #commonlisp
easye has joined #commonlisp
cheers has joined #commonlisp
gendl has joined #commonlisp
les has joined #commonlisp
dale has joined #commonlisp
hexology has joined #commonlisp
gko has joined #commonlisp
dbotton has joined #commonlisp
dcx has joined #commonlisp
bldr has joined #commonlisp
loke[m] has joined #commonlisp
etimmons has joined #commonlisp
rdrg109 has joined #commonlisp
jackdaniel has joined #commonlisp
iisi has joined #commonlisp
jmercouris has joined #commonlisp
lonjil has joined #commonlisp
cpape has joined #commonlisp
flip214 has joined #commonlisp
victor has joined #commonlisp
drmeister has joined #commonlisp
zups has joined #commonlisp
lucerne has quit [Max SendQ exceeded]
_death has joined #commonlisp
jemoka has joined #commonlisp
spacebat1 has joined #commonlisp
hirez has joined #commonlisp
sukaeto has joined #commonlisp
markasoftware has joined #commonlisp
varjag has joined #commonlisp
CrashTestDummy has joined #commonlisp
Noisytoot has joined #commonlisp
kakuhen has joined #commonlisp
taiju has joined #commonlisp
taiju has quit [Remote host closed the connection]
travv0 has quit [Ping timeout: 246 seconds]
travv0 has joined #commonlisp
etimmons has quit [Ping timeout: 272 seconds]
loke[m] has quit [Ping timeout: 272 seconds]
luis` has quit [Ping timeout: 272 seconds]
dieggsy has quit [Ping timeout: 272 seconds]
katco has quit [Ping timeout: 272 seconds]
tyson2 has joined #commonlisp
ChanServ has quit [*.net *.split]
ChanServ has joined #commonlisp
frgo has quit [Remote host closed the connection]
travv0 has joined #commonlisp
travv0 has quit [Changing host]
frgo has joined #commonlisp
aeth has quit [Ping timeout: 258 seconds]
selwyn has joined #commonlisp
aeth has joined #commonlisp
azimut_ has quit [Remote host closed the connection]
azimut has joined #commonlisp
taiju has joined #commonlisp
waleee has joined #commonlisp
char has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
<char> scymtym, Bike: I noticed that you changed the license on trivial-with-current-source-form. Any particular reason for that?
<Bike> I think somebody asked scytym to change it? i don't remember
<scymtym> char: etimmons said they couldn't use the system at work due to the license. are you asking for any particular reason?
<char> I like gpl, but this change makes my life so much easier
sp41 has quit [Quit: leaving]
aeth has quit [Ping timeout: 256 seconds]
<tux0r> eww. gpl.
aeth has joined #commonlisp
<Bike> well, it's lgpl now
lad has joined #commonlisp
lad is now known as Guest6063
Guest6063 has quit [Client Quit]
lad_ has joined #commonlisp
prxq has quit [Ping timeout: 258 seconds]
prxq has joined #commonlisp
lad_ has quit [Client Quit]
lad_ has joined #commonlisp
tfb has joined #commonlisp
char has quit [Ping timeout: 240 seconds]
lad_ is now known as lad
<kakuhen> I try to license all of my stuff with the ISC license
<kakuhen> silly valley is probably not interested in "stealing" lisp code, and even if they are, they probably want Clojure, not Common Lisp.
tfb has quit [Client Quit]
Oladon has joined #commonlisp
Duuqnd has quit [Remote host closed the connection]
char has joined #commonlisp