jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | offtopic --> #lispcafe
ilshad has joined #lisp
mbomba has joined #lisp
Fare has quit [Ping timeout: 264 seconds]
ilshad has left #lisp ["ERC (IRC client for Emacs 26.3)"]
gxt has quit [Remote host closed the connection]
gxt has joined #lisp
aartaka has quit [Ping timeout: 256 seconds]
EvW has quit [Ping timeout: 268 seconds]
earl-ducaine has quit [Ping timeout: 240 seconds]
earl-ducaine has joined #lisp
mbomba has quit [Quit: WeeChat 2.9]
jealousmonk has quit [Quit: Leaving]
Jeanne-Kamikaze has joined #lisp
Gerula has quit [Ping timeout: 256 seconds]
Gerula has joined #lisp
sympt has joined #lisp
Jeanne-Kamikaze has quit [Quit: Leaving]
bookhead has left #lisp ["Good Bye"]
Kaisyu has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rpg has joined #lisp
oxum has joined #lisp
Lord_of_Life has joined #lisp
Lord_of_Life_ has quit [Ping timeout: 272 seconds]
oxum has quit [Ping timeout: 264 seconds]
Jeanne-Kamikaze has joined #lisp
akoana has left #lisp ["Leaving"]
shifty has joined #lisp
Fare has joined #lisp
hendursa1 has quit [Quit: hendursa1]
asdflkj has joined #lisp
bitmapper has joined #lisp
sympt has quit [Ping timeout: 272 seconds]
dbotton_ has joined #lisp
dbotton has quit [Ping timeout: 240 seconds]
vzcx has joined #lisp
asdflkj has quit [Ping timeout: 272 seconds]
wsinatra has quit [Quit: WeeChat 2.9]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
hendursaga has joined #lisp
Gerula_ has joined #lisp
Gerula has quit [Disconnected by services]
Gerula_ is now known as Gerula
cer0 has quit [Quit: leaving]
noguchichan has quit [Quit: WeeChat 2.3]
judson_ has joined #lisp
Stanley00 has joined #lisp
sveit has quit [Quit: Bye]
sveit has joined #lisp
oxum has joined #lisp
_whitelogger has joined #lisp
Mixed_Case has quit [Remote host closed the connection]
torbo has quit [Remote host closed the connection]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gaqwas has quit [Read error: Connection reset by peer]
gaqwas has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fare has quit [Ping timeout: 260 seconds]
judson_ has joined #lisp
Fare has joined #lisp
toorevitimirp has joined #lisp
Alloc has quit [Ping timeout: 240 seconds]
Alloc has joined #lisp
tamarindo has quit [Ping timeout: 240 seconds]
Alloc has quit [Ping timeout: 240 seconds]
Alloc has joined #lisp
tamarindo has joined #lisp
miyasakitan has joined #lisp
tamarindo has quit [Ping timeout: 240 seconds]
tamarindo has joined #lisp
_whitelogger has joined #lisp
Alfr_ has quit [Ping timeout: 268 seconds]
beach has quit [Ping timeout: 272 seconds]
yonkunas has quit [Quit: Connection closed for inactivity]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
gaqwas has quit [Ping timeout: 268 seconds]
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
beach` is now known as beach
<beach> Good morning everyone!
Bike has quit [Quit: leaving]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
toorevitimirp has quit [Remote host closed the connection]
toorevitimirp has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
Mixed_Case has joined #lisp
Mixed_Case has quit [Quit: Leaving.]
Mixed_Case has joined #lisp
<Mixed_Case> Hey everyone!
<beach> Hello Mixed_Case.
kir0ul_ has joined #lisp
kiroul has quit [Ping timeout: 260 seconds]
renzhi has quit [Ping timeout: 268 seconds]
quazimodo has quit [Ping timeout: 240 seconds]
dxtr has quit [Remote host closed the connection]
quazimodo has joined #lisp
Bhartrihari has left #lisp ["Disconnected: closed"]
<billstclair> I'm retiring, but that doesn't mean I'll stop hacking lisp. I'll just work on what I want, not what someone else pays me for.
<billstclair> First project: Slime in JavaScript in the browser. Written in ClojureScript or Elm.
<billstclair> It will initially use a <textarea>. Then I'll find or write an Emacs clone.
<beach> Ambitious.
Bhartrihari has joined #lisp
<Mixed_Case> ^
<Mixed_Case> That sounds like its gonna take a while
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dim has quit [Ping timeout: 260 seconds]
dim has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
judson_ has joined #lisp
<sm2n> is there a reason why a vector being adjustable is not expressed in its type?
judson_ has quit [Client Quit]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
wxie has joined #lisp
<beach> sm2n: I can't think of any such reason, but then, I am not as good with programming-language design as the creators of the Common Lisp standard were (are?).
<Mixed_Case> If I had to guess, they probably wanted to stick to things that would definitely be useful at compile time (e.g. dimension and content type)
<Mixed_Case> things that could be checked at runtime are easy to retrofit using existing type system features
dim has quit [Ping timeout: 240 seconds]
<Mixed_Case> (namely using the SATISFIES type)
<sm2n> beach, I see
<sm2n> Mixed_Case, it would still be useful
<Mixed_Case> oh, I don't disagree
<sm2n> in particular you could do things like (coerce a-list '(vector * adjustable))
<Mixed_Case> but, language design is complex
<sm2n> though it's easy to paper over these things with wrapper functions, so not a huge deal
<Mixed_Case> yeah, that's what I was gonna say
<sm2n> yeah, of course
<Mixed_Case> seems like a hammer in search of a nail IMO
<Mixed_Case> (using coerce for that purpose, that is)
<sm2n> why? it's consistent with (coerce a-list 'vector)
<Mixed_Case> just because you *can* express that info in the type doesn't mean that's the best solution
<Mixed_Case> its the solution that's readily available given that function signature
<sm2n> that's true
<sm2n> well, all in all, it just feels a bit annoying, but it's not anything I would consider broken
<Mixed_Case> that's how I feel about a bunch of corners of lisp
<Mixed_Case> its got a bunch of janky parts, but I love it to death
galex-713 has quit [Ping timeout: 260 seconds]
<sm2n> oh, now that I check more closely, that's not all as useful as I thought it was
<sm2n> it's having a fill pointer that gives you access to vector-push-extend, not whether it's "actually adjustable", which is what prompted this
<Mixed_Case> well, a fill pointer lets you use vector-push
<Mixed_Case> vector-push-extend is going to want both a fill pointer and adjustability
<Mixed_Case> (but I have to imagine some implementations of vector-push-extend might not complain about non-adjustability until the vector needs adjusting!)
<sm2n> no that's not true from what I can tell
<Mixed_Case> > An error of type error is signaled by vector-push-extend if it tries to extend vector and vector is not actually adjustable.
<Mixed_Case> > vector-push-extend is just like vector-push except that if the fill pointer gets too large, vector is extended using adjust-array so that it can contain more elements. Extension is the minimum number of elements to be added to vector if it must be extended.
<Mixed_Case> Looks like vector-push-extend should work until the vector is full regardless of adjustability
<sm2n> oh I guess it's nonportable then
<sm2n> simple test works on sbcl
<easye> What's the contemporary way to recursively copy files on the filesystem? CL-FAD?
<Mixed_Case> are you seeing that a non-adjustable vector gets adjusted?
<Mixed_Case> easye I'd definitely use CL-FAD
<sm2n> reading the ADJUST-ARRAY page, it says you can resize even if your array isn't adjustable, but identity won't necessarily be preserved (it allocates a new thing)
<sm2n> yes
<sm2n> (progn (defparameter *a* (make-array 10 :element-type 'character :fill-pointer 0 :adjustable 'nil)) (loop :repeat 11 :do (vector-push-extend #\a *a*)))
<sm2n> this works
<Mixed_Case> hm. Definitely seems like it shouldn't
<sm2n> oh I see
<sm2n> it's not a conforming program
<sm2n> being "actually adjustable" seems to be implementation-dependent when not "expressly adjustable"
<Mixed_Case> ah, that'd do it
galex-713 has joined #lisp
<Mixed_Case> huh. Usually SBCL hews pretty close to the standard
<Mixed_Case> I'd have expected them to respect non-adjustable-ness
<Mixed_Case> guess they don't HAVE to
<Mixed_Case> but they go out of their way to detect all sorts of errors they don't have to, either...
* Mixed_Case shrugs
<sm2n> well good to know I guess
dim has joined #lisp
<sm2n> oh, that might answer the original question actually
<sm2n> since you probably wouldn't want an implementation-dependent type
<Mixed_Case> aren't implementations not obliged to specialize arrays based on type, either?
<beach> SICL vectors are all both simple and adjustable.
<beach> That is allowed by the standard.
narimiran has joined #lisp
<sm2n> really? does that mean that implementations are not required to support displacing arrays?
<sm2n> well, vectors
<sm2n> > If make-array is called with one or more of adjustable, fill-pointer, or displaced-to being true, whether the resulting array is a simple array is implementation-dependent.
<sm2n> huh
<Mixed_Case> that's definitely news to me
<Mixed_Case> but.. cool, I guess?
<sm2n> so an array being simple doesn't actually tell you much
<Mixed_Case> yeah. What does simple even mean?
<beach> sm2n: I don't think so. What makes you think that is the case?
<easye> Simple means not-displaced not-adjustable
<beach> easye: It does not.
<easye> beach: ok.
<beach> But not displaced and not adjustable means simple.
<sm2n> beach, I had it in my head that displaced arrays were not simple, but that doesn't necessarily seem to be the case
<easye> not-displaced not-adjustable no fill pointer?
<beach> I forget exactly, but the standard says that it must be simple if some restrictions apply.
bilegeek has quit [Quit: Leaving]
<sm2n> so as a user of the language, isn't whether an array is simple or not pretty much a useless distinction?
<beach> It does not say anything about what happens when those restrictions do not apply.
<sm2n> beach, easye: I linked it above
<beach> Thanks.
<sm2n> > The type of an array that is not displaced to another array, has no fill pointer, and is not expressly adjustable is a subtype of type simple-array. The concept of a simple array exists to allow the implementation to use a specialized representation and to allow the user to declare that certain values will always be simple arrays.
<sm2n> ok, this makes sense
<sm2n> or not quite, I suppose it's an abstraction for some kind of implementation dependent efficient representation, but it doesn't seem all that useful
Jeanne-Kamikaze has quit [Quit: Leaving]
oxum has joined #lisp
oxum has quit [Ping timeout: 258 seconds]
liberliver has joined #lisp
shka_ has joined #lisp
wxie has quit [Ping timeout: 256 seconds]
Sauvin has quit [Read error: Connection reset by peer]
oxum has joined #lisp
oxum has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
aartaka has joined #lisp
kir0ul_ has quit [Ping timeout: 272 seconds]
dim has quit [Ping timeout: 260 seconds]
tiwEllien has joined #lisp
edgar-rft has quit [Quit: Leaving]
orivej has quit [Ping timeout: 260 seconds]
gbr___ has quit [Ping timeout: 256 seconds]
zaquest has quit [Quit: Leaving]
Cymew has joined #lisp
bocaneri has joined #lisp
dim has joined #lisp
zaquest has joined #lisp
tiwEllien has quit [Ping timeout: 260 seconds]
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #lisp
lispbeginner has joined #lisp
Mixed_Case has quit [Ping timeout: 264 seconds]
frgo has joined #lisp
frgo_ has quit [Ping timeout: 256 seconds]
Lord_of_Life has quit [Changing host]
Lord_of_Life has joined #lisp
aartaka has quit [Ping timeout: 240 seconds]
quazimodo has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
aartaka has joined #lisp
wiml has joined #lisp
pve has joined #lisp
<ioa> easye, I did have some plans to go deeper in the ASDF jungle, but never got time for it and asd-graph is still really superficial.
gaqwas has quit [Remote host closed the connection]
Nilby has joined #lisp
v3ga has quit [Ping timeout: 240 seconds]
lispbeginner has quit [Quit: Konversation terminated!]
shifty has quit [Ping timeout: 240 seconds]
imode has quit [Ping timeout: 264 seconds]
<ioa> billstclair: re Emacs/Slime on the browser => lovely idea! Have you considered compiling to WebAssembly via some toolchain?
<billstclair> I'll consider it if it's too slow, but I doubt it will be.
<ioa> looking forward to it. Is there a website/repository to watch?
materialfuture[m has quit [Quit: Idle for 30+ days]
v3ga has joined #lisp
wxie has joined #lisp
hendursa1 has joined #lisp
treflip has joined #lisp
wxie has quit [Ping timeout: 272 seconds]
hendursaga has quit [Ping timeout: 240 seconds]
mokulus has joined #lisp
<billstclair> ioa: You have prompted me to create the repository. Nothing there yet but a readme, but it's a start. https://github.com/billstclair/iSlime
<ioa> thank you billstclair! I put it on my watchlist. :)
mokulus has quit [Client Quit]
aartaka_d has joined #lisp
space_otter has quit [Remote host closed the connection]
aartaka has quit [Ping timeout: 256 seconds]
ljavorsk has joined #lisp
mokulus has joined #lisp
<easye> ioa: asd-graph is a lovely piece of code for its results. ASDF internals are notoriously difficult for most people to grok, so be happy you got something working. If I had the time I would help it out be actually interrogating the in-memory ASDF graph rather than parsing the forms directly as it now does.
treflip has quit [Quit: WeeChat 2.6]
<easye> (a totally understandable implementation choice given the dense thickets of ASDF internals you'd otherwise have to bushwhack)
<ioa> thanks easye! Well I did discuss some of the issues with Robert Goldman a couple of years ago, and I seem to remember I wrote down a strategy on how to get a system's dependencies. So it's just the lack of time/priorities on other projects that have hindered this. :)
<ioa> * from ASDF
gbr___ has joined #lisp
Alloc has quit [Read error: Connection reset by peer]
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
toorevitimirp has quit [Ping timeout: 258 seconds]
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
dim has quit [Ping timeout: 260 seconds]
gbr___ has quit [Ping timeout: 260 seconds]
random-nick has joined #lisp
cosimone has joined #lisp
skapata has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
dim has joined #lisp
hineios has joined #lisp
amk has quit [Changing host]
amk has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
orivej has joined #lisp
cosimone has quit [Remote host closed the connection]
wiml has quit [Ping timeout: 260 seconds]
oxum has joined #lisp
oxum has quit [Ping timeout: 240 seconds]
Oddity_ has joined #lisp
gothnbass has joined #lisp
gothnbass has quit [Client Quit]
Oddity__ has quit [Ping timeout: 264 seconds]
_jrjsmrtn has quit [Ping timeout: 240 seconds]
__jrjsmrtn__ has joined #lisp
gaqwas has quit [Remote host closed the connection]
ariedro has quit [Read error: Connection reset by peer]
ariedro has joined #lisp
ariedro is now known as Guest6154
Guest6154 has quit [Read error: Connection reset by peer]
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
ariedro has joined #lisp
jw4 has quit [Read error: Connection reset by peer]
emys has joined #lisp
jw4 has joined #lisp
tfb has left #lisp [#lisp]
pankajsg has quit [Ping timeout: 260 seconds]
tfb has joined #lisp
cohnjalvin777 has joined #lisp
perrier-jouet has quit [Quit: WeeChat 2.9]
Stanley00 has quit []
emys has quit [Ping timeout: 264 seconds]
perrier-jouet has joined #lisp
gbr___ has joined #lisp
cohnjalvin777 has quit [Read error: Connection reset by peer]
emys has joined #lisp
cohnjalvin777 has joined #lisp
dbotton has joined #lisp
tfb has quit [Read error: Connection reset by peer]
dbotton_ has quit [Ping timeout: 256 seconds]
tfb has joined #lisp
gbr___ has quit [Ping timeout: 258 seconds]
oxum has joined #lisp
oxum has quit [Ping timeout: 264 seconds]
emys has quit [Ping timeout: 260 seconds]
random-nick has quit [Ping timeout: 264 seconds]
dim has quit [Ping timeout: 264 seconds]
ld has joined #lisp
TMA has quit [Ping timeout: 240 seconds]
perrier-jouet has quit [Quit: WeeChat 2.9]
Bike has joined #lisp
<ld> good evening
ld is now known as ldb
<cohnjalvin777> a
<phoe> cohnjalvin777: interesting, tell me more
<cohnjalvin777> ()
<phoe> :(
<phoe> okay
emys has joined #lisp
<cohnjalvin777> (islifeworthit)
<cohnjalvin777> T
frgo_ has joined #lisp
frgo has quit [Ping timeout: 268 seconds]
emys has quit [Ping timeout: 240 seconds]
EvW has joined #lisp
shifty has joined #lisp
<ldb> does popular common lisp compilers does the divmod optimization? that calling mod with div for the same pair of numbers together reuses the value left in the registers?
<Bike> you can just get both values at once with the floor, etc functions.
<Colleen> Bike: drmeister said 8 hours, 19 minutes ago: If I want to make Matter_O a subclass of cl:sequence - how would I do that?
<Bike> if you want to do integer division you'll be using floor or something anyway, rather than /
<flip214> the questions is which CL compilers translate (FLOOR x INTEGER) to a multiplication and shift?
<Bike> i think the question is whether compilers merge (values (floor x y) (mod x y)) into (floor x y), more or less
EvW has quit [Ping timeout: 260 seconds]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
oxum has joined #lisp
<phoe> this should be answerable by means of DISASSEMBLE
paul0 has joined #lisp
dim has joined #lisp
<Bike> i'm just not too concerned about it since, again, lisp does not have an integer division operation that doesn't also give you the remainder
<Bike> (values (floor x y) (mod x y)) is not code anybody writes
mmohammadi9812 has quit [Quit: Quit]
mmohammadi9812 has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
mmohammadi9812 has quit [Client Quit]
mmohammadi9812 has joined #lisp
gbr___ has joined #lisp
<Bike> or if they do they can just be told to write floor instead.
oxum has quit [Ping timeout: 258 seconds]
ex_nihilo_ has quit [Read error: Connection reset by peer]
emys has joined #lisp
rpg has joined #lisp
Fare has quit [Ping timeout: 260 seconds]
mmohammadi9812 has quit [Ping timeout: 260 seconds]
emys has quit [Ping timeout: 260 seconds]
mmohammadi9812 has joined #lisp
noobineer1 has quit [Read error: Connection reset by peer]
Fare has joined #lisp
emys has joined #lisp
galex-713 has quit [Quit: No Ping reply in 180 seconds.]
galex-713 has joined #lisp
wsinatra has joined #lisp
lucasb has joined #lisp
emys has quit [Ping timeout: 258 seconds]
emys has joined #lisp
dbotton has quit [Quit: -a- Connection Timed Out]
shka_ has quit [Ping timeout: 260 seconds]
dbotton has joined #lisp
cohnjalvin777 has quit [Quit: WeeChat 2.9]
aartaka has joined #lisp
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #lisp
aartaka_d has quit [Ping timeout: 246 seconds]
aartaka_d has joined #lisp
ldb has quit [Remote host closed the connection]
ldb has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
emys has quit [Ping timeout: 256 seconds]
noobineer has joined #lisp
shka_ has joined #lisp
emys has joined #lisp
oxum has joined #lisp
ex_nihilo has joined #lisp
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
oxum has quit [Ping timeout: 265 seconds]
emys has quit [Ping timeout: 265 seconds]
emys has joined #lisp
bocaneri has quit [Ping timeout: 256 seconds]
yonkunas has joined #lisp
emys has quit [Ping timeout: 246 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
ggole has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
ljavorsk has quit [Ping timeout: 260 seconds]
emys has joined #lisp
madage has quit [Ping timeout: 240 seconds]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
madage has joined #lisp
frgo_ has quit [Ping timeout: 268 seconds]
hhdave has joined #lisp
aeth has quit [Ping timeout: 268 seconds]
oxum has joined #lisp
aeth has joined #lisp
tiwEllien has joined #lisp
emys has quit [Read error: Connection timed out]
oxum has quit [Ping timeout: 264 seconds]
judson_ has joined #lisp
Kaisyu has quit [Quit: Connection closed for inactivity]
madage has quit [Ping timeout: 240 seconds]
aartaka_d has quit [Read error: Connection reset by peer]
aartaka has joined #lisp
zagura_ has joined #lisp
h11 has quit [*.net *.split]
even4void[m] has quit [*.net *.split]
lukego has quit [*.net *.split]
avicenna has quit [*.net *.split]
chewbranca has quit [*.net *.split]
Dmytro[m] has quit [*.net *.split]
kelamir[m] has quit [*.net *.split]
cairn has quit [*.net *.split]
housel has quit [*.net *.split]
zagura has quit [*.net *.split]
copec has quit [*.net *.split]
h11 has joined #lisp
kelamir[m] has joined #lisp
even4void[m] has joined #lisp
copec has joined #lisp
lukego has joined #lisp
avicenna has joined #lisp
cairn has joined #lisp
housel has joined #lisp
chewbranca has joined #lisp
Dmytro[m] has joined #lisp
copec has quit [Max SendQ exceeded]
copec has joined #lisp
ldb has quit [Quit: ERC (IRC client for Emacs 26.1)]
h11 has quit [Ping timeout: 246 seconds]
even4void[m] has quit [Ping timeout: 246 seconds]
kelamir[m] has quit [Ping timeout: 246 seconds]
Dmytro[m] has quit [Ping timeout: 246 seconds]
cairn has quit [Ping timeout: 246 seconds]
MrtnDk[m] has quit [Ping timeout: 246 seconds]
katco has quit [Ping timeout: 246 seconds]
Gnuxie[m] has quit [Ping timeout: 244 seconds]
ThaEwat has quit [Ping timeout: 244 seconds]
pcgme[m] has quit [Ping timeout: 244 seconds]
eriix[m] has quit [Ping timeout: 240 seconds]
kinope has quit [Ping timeout: 240 seconds]
santiagopim[m] has quit [Ping timeout: 244 seconds]
infra_red[m] has quit [Ping timeout: 260 seconds]
autumn[m] has quit [Ping timeout: 244 seconds]
madage has joined #lisp
emys has joined #lisp
mokulus has quit [Quit: WeeChat 2.9]
kir0ul has joined #lisp
mokulus has joined #lisp
emys has quit [Ping timeout: 268 seconds]
emys has joined #lisp
oxum has joined #lisp
oxum has quit [Remote host closed the connection]
EvW has joined #lisp
sjl_ has joined #lisp
emys has quit [Ping timeout: 240 seconds]
bitmapper has joined #lisp
v3ga has quit [Quit: WeeChat 2.7.1]
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
emys has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
noobineer has quit [Read error: Connection reset by peer]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
TMA has joined #lisp
tfb has quit [Remote host closed the connection]
frgo has joined #lisp
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
emys has quit [Ping timeout: 272 seconds]
kaftejiman has joined #lisp
tfb has quit [Ping timeout: 246 seconds]
infra_red[m] has joined #lisp
kinope has joined #lisp
rumbler31___ has joined #lisp
santiagopim[m] has joined #lisp
kelamir[m] has joined #lisp
cairn has joined #lisp
even4void[m] has joined #lisp
Dmytro[m] has joined #lisp
autumn[m] has joined #lisp
katco has joined #lisp
MrtnDk[m] has joined #lisp
rumbler31___ has quit [Ping timeout: 260 seconds]
Nilby has quit [Read error: Connection reset by peer]
Nilby has joined #lisp
infra_red[m] has quit [Quit: Bridge terminating on SIGTERM]
santiagopim[m] has quit [Quit: Bridge terminating on SIGTERM]
even4void[m] has quit [Quit: Bridge terminating on SIGTERM]
kinope has quit [Quit: Bridge terminating on SIGTERM]
cairn has quit [Quit: Bridge terminating on SIGTERM]
kelamir[m] has quit [Quit: Bridge terminating on SIGTERM]
Dmytro[m] has quit [Quit: Bridge terminating on SIGTERM]
katco has quit [Quit: Bridge terminating on SIGTERM]
autumn[m] has quit [Quit: Bridge terminating on SIGTERM]
MrtnDk[m] has quit [Quit: Bridge terminating on SIGTERM]
frgo has quit [Remote host closed the connection]
Nilby has quit [Read error: Connection reset by peer]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
dim has quit [Ping timeout: 240 seconds]
Gnuxie[m] has joined #lisp
dim has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
cohnjalvin777 has joined #lisp
hineios has quit [Quit: The Lounge - https://thelounge.chat]
mokulus has quit [Quit: WeeChat 2.9]
cohnjalvin777 has quit [Quit: WeeChat 2.9]
EvW has quit [Ping timeout: 240 seconds]
rumbler31___ has joined #lisp
TwoNotes has joined #lisp
adlai has joined #lisp
<adlai> cliki Scieneer Common Lisp
<adlai> ... even were minion still searching cliki, it appears that this implementation has evaporated.
<adlai> although my current decade's project is financial software, this consists almost entirely of general-purpose libraries for scientific computing, and I am quite saddened to see that Scieneer has vanished.
<adlai> in additional terrible news, domain name registration of the website hosting Henry Baker's archived works of research has expired.
<adlai> I hope that copies of the publications themselves, or at the very least, the innovations described within, remain in existence.
rumbler31___ has quit [Ping timeout: 240 seconds]
<adlai> a handful of the papers are still accessible in various Internet Archives, although I have not bothered to spider the entire site.
* adlai over;
kaftejiman has quit [Ping timeout: 244 seconds]
kinope has joined #lisp
cairn has joined #lisp
infra_red[m] has joined #lisp
katco has joined #lisp
tekipeps[m] has joined #lisp
Dmytro[m] has joined #lisp
MrtnDk[m] has joined #lisp
pcgme[m] has joined #lisp
autumn[m] has joined #lisp
santiagopim[m] has joined #lisp
eriix[m] has joined #lisp
ThaEwat has joined #lisp
even4void[m] has joined #lisp
kelamir[m] has joined #lisp
h11 has joined #lisp
hansbauer[m] has joined #lisp
goldrin1227[m] has joined #lisp
santiagopim[m]1 has joined #lisp
xzax_[m]1 has joined #lisp
xzax_[m] has joined #lisp
materialfuture[m has joined #lisp
bocaneri has joined #lisp
narimiran has quit [Ping timeout: 260 seconds]
dbotton_ has joined #lisp
zagura_ is now known as zagura
dbotton has quit [Ping timeout: 268 seconds]
tfb has joined #lisp
imode has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbotton_ has quit [Ping timeout: 240 seconds]
dbotton has joined #lisp
rumbler31___ has joined #lisp
TwoNotes has quit [Quit: Leaving]
mokulus has joined #lisp
ex_nihilo has quit [Quit: Leaving]
rippa has joined #lisp
bsd4me has joined #lisp
judson_ has joined #lisp
hineios has joined #lisp
hineios has quit [Quit: The Lounge - https://thelounge.chat]
dim has quit [Ping timeout: 246 seconds]
hnOsmium0001 has joined #lisp
tfb has quit [Ping timeout: 246 seconds]
dbotton has quit [Ping timeout: 272 seconds]
dim has joined #lisp
dxtr has joined #lisp
wiml has joined #lisp
dbotton has joined #lisp
dbotton has quit [Read error: Connection reset by peer]
dbotton_ has joined #lisp
dim has quit [Ping timeout: 240 seconds]
tfb has joined #lisp
hhdave has quit [Quit: hhdave]
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
EvW has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
tfb has quit [Remote host closed the connection]
tfb has joined #lisp
smazga has joined #lisp
tfb has quit [Ping timeout: 260 seconds]
tfb has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shka_> Xach: Question: what amount of memory you are using for building quicklip projects?
smazga has quit [Quit: leaving]
tfb has quit [Ping timeout: 264 seconds]
Christ0pher has joined #lisp
smazga has joined #lisp
smazga has quit [Client Quit]
Cymew has quit [Ping timeout: 272 seconds]
judson_ has joined #lisp
frgo has joined #lisp
bitmapper has quit [Quit: Connection closed for inactivity]
frgo_ has joined #lisp
frgo has quit [Ping timeout: 260 seconds]
dim has joined #lisp
Fare has quit [Ping timeout: 264 seconds]
narimiran has joined #lisp
clothespin has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
earl-ducaine has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
judson_ has joined #lisp
aartaka_d has joined #lisp
madage has quit [Ping timeout: 240 seconds]
aartaka has quit [Ping timeout: 260 seconds]
madage has joined #lisp
tfb has joined #lisp
treflip has joined #lisp
bsd4me has left #lisp ["Leaving"]
Steeve has joined #lisp
tfb has quit [Ping timeout: 272 seconds]
himmAllRight17 has quit [Quit: No Ping reply in 180 seconds.]
himmAllRight has joined #lisp
<flip214> I just saw USOCKET:IP= and similar stuff; is there a function that says whether an IPv4 or IPv6 is in some subnet? 127.0/24, fccc::/16, etc.
tamarindo has quit [Ping timeout: 240 seconds]
tamarindo has joined #lisp
<Alfr> flip214, iirc, simply apply that n-bit mask to to your subnet specification and the ip at hand and compare that they are equal, on of which you may be able to precompute and reuse.
<Alfr> s/on of/one of/
edgar-rft has joined #lisp
EvW has quit [Ping timeout: 260 seconds]
<flip214> Alfr: yeah, thanks, I know the theory. But IP and netmask as string vs. octet vector, length of netmask depending on ipv4/v6, short-hand "::" etc.... that's why I asked
<Alfr> I hate parsing things too. :) Thought to provide a short solution, didn't look into usocket.
<flip214> well, usocket at least could do the parsing
<flip214> thanks anyway!
dim has quit [Ping timeout: 265 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ggole has quit [Quit: Leaving]
Fare has joined #lisp
<Xach> shka_: --dynamic-space-size 4000
<shka_> Xach: thanks for the answer
judson_ has joined #lisp
random-nick has joined #lisp
judson_ has quit [Client Quit]
<Xach> shka_: what prompts the question?
judson_ has joined #lisp
treflip has quit [Quit: WeeChat 2.6]
dim has joined #lisp
EvW has joined #lisp
liberliver has quit [Ping timeout: 256 seconds]
nij has joined #lisp
<nij> Noob question.. how to get my hands on with commonlisp? I have a script to study: https://github.com/stylewarning/cl-permutation , but I don't know how to run it.
<nij> I know a bit of elisp, and can interact with elisp thanks to emacs. I'm looking for an interface for common lisp too.
villanella has joined #lisp
<pve> nij: if you're comfortable with emacs, then you should install slime and use that
wsinatra has quit [Read error: Connection reset by peer]
mbomba has joined #lisp
wsinatra has joined #lisp
<nij> pve: thanks! I have it running in my emacs. I've also loaded the main file (`cl-permutation.asd`) into slime. But it does not automatically load the lisp files in ``src``.. did I do anything wrong?
<pve> nij: try (require :cl-permutation)
<nij> (require :cl-permutation)
<nij> ASDF could not load cl-permutation because
<nij> Component #:ALEXANDRIA not found, required by #<SYSTEM "cl-permutation">.
<pve> you should symlink the asd file to a directory in your load path also, or make sure that the entire source folder is in the load path
<pve> if you have quicklisp you should do (quicklisp:quickload :cl-permutation), it will download the dependencies
<pve> ~/common-lisp is in the load path by default, i think
Steeve has quit [Quit: end]
EvW has quit [Ping timeout: 264 seconds]
<nij> no luck :(
galex-713 has quit [Ping timeout: 272 seconds]
wiml has quit [Quit: Leaving]
tiwEllien has quit [Ping timeout: 240 seconds]
<edgar-rft> nij: sorry, don't know what the specific problem is, but in case of doubt -> https://common-lisp.net/project/asdf/asdf/Configuring-ASDF.html#Configuring-ASDF
<pve> nij: you must ensure that the shell command "sbcl --quit --eval '(quicklisp:quickload :cl-permutation)'" works before you start doing anything with slime (I'm assuming SBCL here)
tfb has joined #lisp
galex-713 has joined #lisp
edgar-rft has quit [Quit: Leaving]
dbotton has joined #lisp
dim has quit [Ping timeout: 260 seconds]
dbotton_ has quit [Ping timeout: 256 seconds]
jello_pudding has quit [Ping timeout: 272 seconds]
dbotton_ has joined #lisp
dbotton has quit [Ping timeout: 256 seconds]
jello_pudding has joined #lisp
bilegeek has joined #lisp
bilegeek has quit [Remote host closed the connection]
<nij> thanks folks. I'm still trying. I'm sure after this phase it will be fun.
<nij> Oh JEEZ it works T__T
<nij> Thank you so much.
dim has joined #lisp
narimiran has quit [Ping timeout: 258 seconds]
tfb has quit [Ping timeout: 260 seconds]
nij has left #lisp ["ERC (IRC client for Emacs 27.1)"]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
bilegeek has joined #lisp
aartaka_d has quit [Ping timeout: 272 seconds]
wsinatra has quit [Quit: WeeChat 2.9]
EvW has joined #lisp
Fare has quit [Ping timeout: 264 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
hjudt has quit [Ping timeout: 268 seconds]
shka_ has quit [Ping timeout: 265 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
random-nick has quit [Ping timeout: 246 seconds]
hjudt has joined #lisp
hineios has joined #lisp
random-nick has joined #lisp
jello_pudding has quit [Ping timeout: 260 seconds]
jello_pudding has joined #lisp
mbomba has quit [Quit: WeeChat 2.9]
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
rpg has joined #lisp
aartaka has joined #lisp
Bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Bhartrihari has joined #lisp
villanella has quit [Quit: villanella]
asarch has joined #lisp
<asarch> What does "The return value of DELETE should not be discarded." mean?
<phoe> asarch: exactly what it states
<Bike> it means you're doing something like (progn (delete x y) y) and expecting y to be the list sans x
<phoe> you should not use DELETE for side effects
<Bike> i.e. relying on delete to have a particular side effect.
<phoe> rather, you should use its return value
<asarch> I have: (defparameter *food*) (setf *food* (append *food* '(tacos pizza tlayudas))) and later (delete 'tacos *food*)
<sm2n> that's bad
<Bike> so you're calling delete for effect, yeah. don't do that.
<asarch> (setf *food* (delete 'pizza *food*))
<phoe> (setf *food* (delete 'tacos *food*))
<asarch> ?
<sm2n> you need (setf *food* (delete 'tacos *food*)) instead
<sm2n> heh
<Bike> it is perfectly fine for an implementation to define delete = remove, so it has no side effects at all.
<asarch> Ok
<phoe> or (alexandria:deletef *food* 'tacos)
<phoe> DELETEF can be used for side effects
<asarch> I see
<asarch> Thank you guys
<asarch> Thank you very much :-)
<mokulus> Why is this like this?
<mokulus> if it's a linked list then why do you need to reassign?
<White_Flame> because the head can be no longer where the head used to be
<White_Flame> what if the first element is deleted?
<Bike> the standard gives implementations considerable leeway over what side effects can occur. any side effects are intended cocneptually as an increased performance thing, rather than being part of the semantics.
Steeve has joined #lisp
Jesin has quit [Quit: Leaving]
rumbler31 has joined #lisp
<phoe> (let ((list (list 1))) (delete 1 list) list)
<Bike> you can e.g. contrast this with nconc, which has very specifically defined side effects, and so can be used for those reliably
<phoe> there's no way the variable LIST can become NIL.
<White_Flame> A -> (1 . (2 . NIL))
<White_Flame> DELETE 1 from that list, DELETE returns the (2 . NIL) cell, A still points to the (1 . ...) cell
<phoe> a crazy enough implementation of DELETE could set the CAR of the first cons to 2 and its CDR to NIL, but no one really does that
<White_Flame> but it's even more apparent when you do things like destructive SORT or NREVERSE
dislocated has joined #lisp
<autumn[m]> who was/what did Henry Baker work on/research? Sorry, I'm just one of those irritating curious people.
<mokulus> so the problem is really that there are no empty lists
<asarch> (setf *food* (if add-food (append *food* some-new-value) (delete some-food *food))
andinus has quit [K-Lined]
<asarch> Much better, isn't?
<phoe> sure
<White_Flame> mokulus: the problem is that the variable still points to stale cons cells
<White_Flame> there certainly are empty lists
<White_Flame> each proper list ends with one
<asarch> That's why I love Common Lisp!
<phoe> autumn[m]: it seems like lots of Lisp research in general
<Bike> i actually have no idea what baker's institutional affiliation(s) are
<Bike> not totally sure he's still alive, even
<Bike> c2 wiki has a note "Can anyone figure out Baker's biography"
<autumn[m]> Oh interesting! Thanks.
<Bike> i mean, he's retired at least, i think
<phoe> this seems like a sorta comprehensive list of papers
<Gnuxie[m]> baker is a real life badass
shifty has quit [Ping timeout: 258 seconds]
asarch has quit [Remote host closed the connection]
asarch has joined #lisp
oxum has joined #lisp
Jesin has joined #lisp
Fare has joined #lisp
oxum has quit [Ping timeout: 268 seconds]
asdflkj has joined #lisp
tfb has joined #lisp
mokulus has quit [Ping timeout: 246 seconds]
sjl has joined #lisp
sjl_ has quit [Ping timeout: 240 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
Fare has quit [Ping timeout: 264 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrchampion has quit [Ping timeout: 265 seconds]
<asarch> One stupid question: Common Lisp classes are not fist class objects, right?
<Bike> no, they are
<Bike> try (find-class 'integer) or something, you get an object back. can put it in lists or whatever
<asarch> Thank you
<phoe> types are not first class objects; classes are
<phoe> so, like, the type KEYWORD is not a first-class object, but the class SYMBOL is one
<pillton> What is required to make a type a first class object?
miyasakitan has quit [Quit: WeeChat 2.3]
taniguchisan has joined #lisp
pve has quit [Quit: leaving]
<p_l> Implementation magic
<phoe> and extensions to the standard behavior
<p_l> AFAIK nothing stops a conforming CL implementation from doing that (I think SICL might have gone that way?)
<phoe> e.g. you'd like to be able to pass type objects to TYPEP
<pillton> You can pass type objects to typep.
<phoe> (typep 1 (find-type 'integer))
<Bike> sicl hasn't done that
<phoe> pillton: huh? what do you mean?
<phoe> you can't pass type objects because there are no type objects
<Bike> classes are type objects, sorta, but obviously not all types are classes
<phoe> type specifiers are not type objects
Steeve has quit [Quit: end]
<pillton> Hmm.. a type specifier defines a representation in much the same way a class does.
<Bike> a type specifier has names and is environment dependent
Fare has joined #lisp
<Bike> it is a "specifier", after all, not the type itself
skapata has joined #lisp
<pillton> You can test equality. You can test if one is a subtype of another.
<Bike> you can test the equality of the specified types. you can't get at the actual type. all you have is a name
<Bike> it's as if instead of classes you had to use class names
<pillton> Sure, I get that the representation is poor, but what can't you do with it that you can with something that has "first class" status?
<Bike> validly use it in any way without providing the environment
<phoe> describe and inspect it
<phoe> like, calling DESCRIBE on '(or integer string) will not tell you that it is a type specifier
<phoe> you cannot check if some value is a type; even checking if it is a type specifier is troublesome
<Alfr> pillton, subtypep may simply return nil nil, for all but the few cases specified in the spec.
<Bike> that's a limitation of subtypep not directly related to first class ness
tfb has quit [Ping timeout: 272 seconds]
mrchampion has joined #lisp
<Alfr> Bike, only wanted to point out, that we won't get a definitive answer for all type specifier pairs we may think of to feed to subtypep.
<pillton> I fail to see how elevating it to first class status helps with that problem.
<Bike> it does not.
asdflkj has quit [Ping timeout: 272 seconds]
<Bike> phoe's right that being able to tell if something is a type is a big one, though. one time i saw a system trying to do (ignore-errors (subtypep x t)) to see if x was a type specifier
Usersda has joined #lisp
<pillton> Interesting.
<Bike> (this does not work)
<pillton> Because the environment argument is missing?
<Usersda> Hello everyone.
<Bike> because subtypep does not actually have to signal an error if provided a non-type-specifier, among other reasons
<pillton> Oh of course.
gaqwas has quit [Ping timeout: 268 seconds]
wxie has joined #lisp
<pillton> You could say the same thing about environments not being first class.
<Bike> environments are not first class, no
<Usersda> I was wondering if i could get an opinion. This teacher is describing simple JS code. I noticed the relevant code he points out later and i think it's from years of parsing c++ bullshit. Am i mistaken or is what he doing what LISP philosophy teaches from the get go. https://youtu.be/F-JvvFlYcts?t=277
<pillton> It is a curious definition.
ebrasca has joined #lisp
Nilby has joined #lisp
frgo_ has quit [Remote host closed the connection]
frgo has joined #lisp
torbo has joined #lisp