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
cosimone has quit [Ping timeout: 260 seconds]
Nilby has quit [Read error: Connection reset by peer]
ym555 has joined #lisp
ym555 has quit [Client Quit]
rgherdt has quit [Ping timeout: 246 seconds]
EvW has joined #lisp
ym555 has joined #lisp
ym555 has quit [Client Quit]
kam1 has joined #lisp
skapata has quit [Ping timeout: 260 seconds]
kam1 has quit [Ping timeout: 272 seconds]
notzmv has quit [Read error: Connection reset by peer]
notzmv has joined #lisp
banjiewen_ has quit [Read error: Connection reset by peer]
jerme_ has quit [Read error: Connection reset by peer]
kilimanjaro has quit [Read error: Connection reset by peer]
alanz has quit [Ping timeout: 258 seconds]
random-nick has quit [Ping timeout: 272 seconds]
jerme_ has joined #lisp
banjiewen_ has joined #lisp
kilimanjaro has joined #lisp
alanz has joined #lisp
Fare has quit [Ping timeout: 260 seconds]
Oladon has quit [Quit: Leaving.]
aeth has quit [Ping timeout: 240 seconds]
urek__ has quit [Quit: urek__]
aeth has joined #lisp
rumbler31 has quit [*.net *.split]
troydm has quit [*.net *.split]
jurov_ has quit [*.net *.split]
nitrix has quit [*.net *.split]
minion has quit [*.net *.split]
jonatack has quit [*.net *.split]
stux|RC-only has quit [*.net *.split]
edgar-rft has quit [*.net *.split]
thecoffemaker has quit [*.net *.split]
loli has quit [*.net *.split]
hvxgr has quit [*.net *.split]
loke has quit [*.net *.split]
Krystof has quit [*.net *.split]
lad has quit [*.net *.split]
Firedancer_ has quit [*.net *.split]
ineiros has quit [*.net *.split]
APic has quit [*.net *.split]
bacterio has quit [*.net *.split]
tychoish has quit [*.net *.split]
cyberlard has quit [*.net *.split]
lavaflow has quit [*.net *.split]
Robdgreat has quit [*.net *.split]
alandipert has quit [*.net *.split]
ck_ has quit [*.net *.split]
kam1 has joined #lisp
stux|RC-only has joined #lisp
kam1 has quit [Ping timeout: 272 seconds]
gioyik has joined #lisp
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
luckless has joined #lisp
Lord_Nightmare has joined #lisp
rumbler31 has joined #lisp
troydm has joined #lisp
jurov_ has joined #lisp
nitrix has joined #lisp
minion has joined #lisp
jonatack has joined #lisp
edgar-rft has joined #lisp
loli has joined #lisp
thecoffemaker has joined #lisp
hvxgr has joined #lisp
loke has joined #lisp
Krystof has joined #lisp
lad has joined #lisp
Firedancer_ has joined #lisp
ineiros has joined #lisp
APic has joined #lisp
bacterio has joined #lisp
tychoish has joined #lisp
lavaflow has joined #lisp
cyberlard has joined #lisp
Robdgreat has joined #lisp
alandipert has joined #lisp
ck_ has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
rumbler3_ has joined #lisp
wxie has joined #lisp
rumbler3_ has quit [Ping timeout: 258 seconds]
PuercoPop has quit [Ping timeout: 268 seconds]
Lord_of_Life_ has joined #lisp
skapata has joined #lisp
Lord_of_Life has quit [Ping timeout: 260 seconds]
Jeanne-Kamikaze has joined #lisp
Lord_of_Life_ is now known as Lord_of_Life
wxie has quit [Ping timeout: 240 seconds]
kaftejiman has quit [Remote host closed the connection]
skapata has quit [Ping timeout: 272 seconds]
wxie has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
<Xach> ok, the quicklisp stats files are set to update automatically
EvW has quit [Ping timeout: 260 seconds]
akoana has quit [Quit: leaving]
luckless has quit [Ping timeout: 240 seconds]
<phantomics> Can see them at those urls?
luckless has joined #lisp
<Xach> yes
<Xach> the current month will be updated daily
wxie has quit [Ping timeout: 240 seconds]
wxie has joined #lisp
toorevitimirp has joined #lisp
sgibber2018 has joined #lisp
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 268 seconds]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
myall has quit [Ping timeout: 258 seconds]
phoe has quit [Ping timeout: 260 seconds]
vydd has quit [Ping timeout: 256 seconds]
Nilby has joined #lisp
Fare has joined #lisp
wxie has quit [Remote host closed the connection]
wxie1 has joined #lisp
wxie1 is now known as wxie
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
dyelar has quit [Quit: Leaving.]
amerlyq has joined #lisp
Alfr has joined #lisp
Alfr_ has quit [Ping timeout: 268 seconds]
<beach> Good morning everyone!
charles` has joined #lisp
_jrjsmrtn has quit [Ping timeout: 268 seconds]
<charles`> Is it possible to typecast an object to be a child object? basically add slots of child class and change type.
__jrjsmrtn__ has joined #lisp
<beach> Sure
<beach> clhs change-class
<beach> But it's not called "type cast".
Bike has quit [Quit: leaving]
<charles`> Thanks so much. I knew I probably wasn't called that. I just didn't know the right terminology
<beach> Pleasure. Good luck.
<beach> And it doesn't have to be a child class, they can be completely independent classes as far as the subclass relationship is concerned.
Stanley00 has joined #lisp
<charles`> It does if I want it to inherit methods though right?
<beach> Sure. For the original methods to be applicable, it would have to be a child class.
<no-defun-allowed> Although it likely won't make sense, you could create a class with both the old and new classes as superclasses, and CHANGE-CLASS to that class.
<no-defun-allowed> There is a library called dynamic-mixins which does that for you; as the name suggests, it makes the most sense for mixin classes.
slyrus has joined #lisp
<beach> Never heard of that library. What does it do again?
<no-defun-allowed> It basically does what I described charles could do, "adding" mixins to an instance by creating a superclass of the old class and the mixin class, and calling CHANGE-CLASS.
<beach> I see.
<no-defun-allowed> I modeled my connection protocol off Gray streams, so there is one binary-connection class, and another character-connection class. Now I have a connection class which forwards messages to another connection - are its instances binary-connections or character-connections? It depends on the class of the connection I forward to; and I use dynamic-mixins to update the class of the forwarding connection.
thmprover has quit [Quit: Another long day's journey into night.]
orivej has quit [Ping timeout: 246 seconds]
karlosz has joined #lisp
karlosz has quit [Client Quit]
karlosz has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
quazimodo has quit [Ping timeout: 240 seconds]
rumbler31 has quit [Ping timeout: 260 seconds]
quazimodo has joined #lisp
Oladon has joined #lisp
GuerrillaMonkey has joined #lisp
narimiran has joined #lisp
Jeanne-Kamikaze has quit [Ping timeout: 256 seconds]
wxie has quit [Ping timeout: 256 seconds]
<lotuseater> charles`: you can have a look on and try this, it thought me much https://en.wikipedia.org/wiki/Circle%E2%80%93ellipse_problem#Change_the_programming_language
<lotuseater> it also tought me for defining SETF methods in its lambda list first the new value then the object (and not the other way around as i tought)
<lotuseater> hm in my first message of course also the past form of "teach" and not "think"
<beach> Sounds Indian.
<lotuseater> why indian? o_O
<beach> They often can't pronounce "th" and pronounce "t" instead.
* beach does not understand the nature of accents.
<lotuseater> oh noez it's "taught". too early here for me :D
<no-defun-allowed> If I read https://en.wikipedia.org/wiki/Help:IPA/Hindi_and_Urdu correctly (please correct me if I missed something), then there isn't a "th" sound that one would have to learn?
<lotuseater> now as i look on the macroexpand in SBCL for (defstruct person name age) there one can also see first new value then object. but it doesn't use DEFMETHOD but SB-C:XDEFUN
GuerrillaMonkey has quit [Quit: Leaving]
<lotuseater> but no beach, i never have been to India, wish i could one day or same parts of asia in general
<no-defun-allowed> We would be looking for a /θ/ sound.
Alfr has quit [Remote host closed the connection]
Alfr has joined #lisp
rumbler31 has joined #lisp
<beach> lotuseater: I have never been either, but I hear people from India talk on TV fairly often.
<beach> And I still don't understand accents.
<lotuseater> you mean phonetically?
<beach> I don't understand why people can't pronounce things they way they hear others pronounce those things.
<beach> the way
<lotuseater> haha right, same here (but in another context)
<beach> And it's not just about not being able to make the sound.
<oni-on-ion> i think the reason is that some brains work in terms of words/spelling/letters, rather than audio or visual. i heard that these same type of people have no "inner monologue/dialogue"
<oni-on-ion> back in the day we termed it left brain, right brain
<beach> Many Germans pronounce English `v' as an English `w', like "enwironment", even though there is a perfectly good `v' in German (spelled `w').
<beach> I just don't get it.
<oni-on-ion> same with some east indian, tamil i think. "dodge wiper"
<oni-on-ion> ancient hebrew the letter 'v' was pronounced as our 'w' and 'u', letters have moved around a bit since
<oni-on-ion> (where then, the lighter 'b' was used as 'v')
<oni-on-ion> now i wonder, how come Volkswagen has both W and V
<beach> Sure, but I still don't understand why, when you stand in front of a native speaker of German, you say "enVironment", then that person can go straight ahead and pronounce it "enWironment" a second later.
<beach> oni-on-ion: They are pronounced differently.
<Nilby> Habits of the mouth. Wiring lower than cognition.
<lotuseater> some german words are the same in english, even in spelling, but don't ask me why. Schnitzel, Kindergarten and so on
<oni-on-ion> yep as Nilby said. it is related to the reasons why a non-native speaker will pronounce it naturally with an accent, strong or weak. however... they can "act" with british or american accent just fine. it is just about habit vs. intentional effort
frost-lab has joined #lisp
nowhere_man has quit [Ping timeout: 272 seconds]
<lotuseater> hearing stuff like talks or films in English helps also a lot. but a native speaker would recognize the difference when hearing me speaking
wxie has joined #lisp
bilegeek has joined #lisp
andreyorst has joined #lisp
Fare has quit [Ping timeout: 260 seconds]
Oladon has quit [Read error: Connection reset by peer]
Oladon has joined #lisp
waleee-cl has quit [Quit: Connection closed for inactivity]
kam1 has joined #lisp
ex_nihilo has joined #lisp
<flip214> lotuseater: Zeitgeist is popular, too ;)
<lotuseater> hehe
galex-713 has quit [Ping timeout: 272 seconds]
galex-713 has joined #lisp
yangby has joined #lisp
karlosz has quit [Quit: karlosz]
yangby has quit [Client Quit]
jeosol has quit [Remote host closed the connection]
shka_ has joined #lisp
Oladon has quit [Quit: Leaving.]
bilegeek_ has joined #lisp
fanta1 has joined #lisp
bilegeek has quit [Ping timeout: 260 seconds]
bilegeek_ is now known as bilegeek
_whitelogger has joined #lisp
andreyorst has quit [Ping timeout: 265 seconds]
andreyorst` has joined #lisp
andreyorst` has quit [Remote host closed the connection]
andreyorst` has joined #lisp
ssd532_ has joined #lisp
kam1 has quit [Ping timeout: 240 seconds]
jeosol has joined #lisp
_whitelogger has joined #lisp
rgherdt has joined #lisp
phoe has joined #lisp
atomik has joined #lisp
atomik_dog has quit [Ping timeout: 260 seconds]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
rogersm has joined #lisp
rogersm has quit [Client Quit]
_whitelogger has joined #lisp
atomik has quit [Killed (adams.freenode.net (Nickname regained by services))]
Guest57331 has joined #lisp
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 264 seconds]
daniel1302 has quit [Quit: ZNC 1.8.2 - https://znc.in]
hdasch_ is now known as hdasch
daniel1302 has joined #lisp
zacts has joined #lisp
zacts has quit [Client Quit]
liberliver has joined #lisp
jeosol has quit [Remote host closed the connection]
vidak`` has joined #lisp
vidak`` has quit [Client Quit]
Lycurgus has joined #lisp
sgibber2018 has quit [Quit: WeeChat 2.9]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
gioyik has quit [Quit: WeeChat 3.0]
pve has joined #lisp
jprajzne has joined #lisp
ravndal has quit [Remote host closed the connection]
ravndal has joined #lisp
hendursa1 has joined #lisp
saganman has joined #lisp
spongiforma has joined #lisp
hendursaga has quit [Ping timeout: 240 seconds]
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
scrungyforma has joined #lisp
aartaka_d has quit [Read error: Connection reset by peer]
aartaka has joined #lisp
scrungyforma has quit [Client Quit]
bilegeek has quit [Quit: Leaving]
ssd532_ has quit [Quit: Connection closed for inactivity]
jurov has joined #lisp
jurov_ has quit [Ping timeout: 260 seconds]
jurov has quit [Ping timeout: 264 seconds]
cosimone has joined #lisp
jurov has joined #lisp
wxie1 has joined #lisp
wxie has quit [Read error: Connection reset by peer]
wxie1 is now known as wxie
cognemo has quit [Quit: cognemo]
cognemo has joined #lisp
<beach> Happy solstice everyone!
villanella has joined #lisp
<beach> (10:01 UTC)
<no-defun-allowed> Okay, I'm bored with the sun, you can have it back now.
<beach> THANK YOU, THANK YOU!
<no-defun-allowed> But it's kinda big, so it'll come back in six months probably.
heisig has joined #lisp
<imode> Happy soltice!
wxie has quit [Ping timeout: 240 seconds]
<Lycurgus> somebody, maybe neil degrasse, pointed out that the idea that the days get shorter in wintor and longer summer must be false
<Lycurgus> since winter starts today and the days will only get longer
<beach> Lycurgus: That's so biased towards the northern hemisphere.
<imode> days get shorter towards winter and longer towards summer. inverse for the southern hemisphere.
<Lycurgus> same deal for summer
<beach> Plus, that's debatable. I consider winter solstice to be the middle of the winter. Not the beginning.
<Lycurgus> well it's definitely not the middle here, maybe 20% in at most
<flip214> imode: the southern hemisphere _also_ gets longer days towards _their_ summer....
<imode> my family parses it as "as soon as the solstice comes, day length starts growing slowly until it hits peak in summer, then swings back towards its trough"
<Lycurgus> (rougly 43 north)
<Lycurgus> *roughly
<beach> As usual, in #lisp, everything has to be debated to death.
<phoe> beach: disagreed, not everything
<phoe> and I'm unwilling to change my position, prove me otherwise
<flip214> agreed, not everything
<beach> I don't think you should disagree.
<Lycurgus> everbody is pretty much in lock/goose step on the parens alignment deal
<imode> I can find someone to die on this hill.
<phoe> not everything has to be debated to the death, and I'll gladly debate that to the death
<beach> :)
* phoe cough cough
<phoe> I mean ummmmm
<flip214> well, if "contradiction isn't an argument", would "consent" be one?
Stanley00 has quit []
aartaka_d has joined #lisp
flotox has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
Lycurgus has quit [Quit: Exeunt]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
flotox has quit [Quit: Leaving]
Nilby has quit [Read error: Connection reset by peer]
eden has joined #lisp
v3ga has quit [Ping timeout: 268 seconds]
<jmercouris> I disagree with our stance on parens
<jmercouris> wait, was our stance on parens again?
<phoe> they are too round for 2021, therefore we officially replace them with brackets in CLtL5
<flip214> jmercouris: the more the better, but only the round ones
<phoe> [defun foo [bar] [* bar bar]]
<flip214> phoe: well, then go unicode as well
<no-defun-allowed> <defun foo <bar> <* bar bar>>
<flip214> «identity t»
<phoe> yes
<no-defun-allowed> Because [] looked too round.
<jmercouris> lol
<phoe> ≤+ 2 2≥ for weak calls maybe? can return 4 or 3 or 5
<jmercouris> I’m going to use carets from now on
<jmercouris> << 3 5> ; t
<imode> I wouldn't mind [] as brackets tbh.
<phoe> anyway
<imode> I use them in my language.
<imode> less keypresses.
* phoe hides before beach returns with his debating comment
<no-defun-allowed> ^+ x xv ; you can't use v in names, also it looks like Smalltalk
<phoe> imode: actually I have [] and () swapped on my keyboard
<imode> oh nice.
<no-defun-allowed> Same here.
<imode> good idea.
<jmercouris> same, there’s a way to do it in emacs
<phoe> imode: in shell, setxkbmap -option parens:swap_brackets
<phoe> I do it globally in my X session
<imode> yeah but that'll screw with other stuff. :x
<jmercouris> pjb had a snippet you can find it in my config
<no-defun-allowed> I know someone who swapped - and / but it's a bit much.
<jmercouris> don’t swap globally, only in emacs
<phoe> I actually do swap globally, I like having parens without pressing shift
srandon111 has joined #lisp
varjag has joined #lisp
<flip214> phoe: no shift for parens, but then using emacs? nice dichotomy ;)
<phoe> flip214: what do you mean
<phoe> I use leader mode for most emacs commands, less shifting for me :D
* flip214 mutters I've got an editor for you that uses modes instead of special keys...
<flip214> ah, okay
<no-defun-allowed> I don't jump between commands and text as frequently as I type parens.
<phoe> somewhat unrelated, but I really enjoy spacemacs with its modal approach to everything
<phoe> I don't press control or meta or shift as much as I used to!
random-nick has joined #lisp
surabax has joined #lisp
<jmercouris> why can’t I have a method with a different number of arguments as a method of the same name?
vegansbane6 has quit [Quit: The Lounge - https://thelounge.chat]
<jackdaniel> you can given you use &rest arguments or &key &allow-other-keys
<jackdaniel> but to answer the "why": because methods are parts of the same generic functions
<jackdaniel> you don't expect a single function to have different signatures, do you?
<jackdaniel> in other words, methods are *not* functions, they are chunks of a fancy function dubbed "generic"
<jmercouris> aha
<jmercouris> so the generic function is responsible for dispatch to the methods?
<jmercouris> we are always invoking the generic function whose job it is to act like a router?
<mfiano> You can use specialization-store if you want multiple arity and to be able to specialize on &rest/&key/&optional arguments
<jackdaniel> more or less, yes
<jackdaniel> (by "or less" I mean, that it is possible, that there is a mechanism "outside" of the generic function that does the dispatch
<jackdaniel> )
<jmercouris> I see
<jmercouris> mfiano: I’ll look into specialization store, thanks
<jackdaniel> but conceptually generic function is a bag with methods and depending on arguments methods are invoked /in some order/ (or not invoked)
<jmercouris> jackdaniel: i finally understand, thanks
<jackdaniel> sure
<mfiano> (or to also dispatch on _types_)
<jackdaniel> (satisfies (random-elt t nil))
<mfiano> specialization-store requires cltl2 environment support though, so may not work the same everywhere.
vutral has quit [Quit: Connection closed for inactivity]
<mfiano> I use it for the constructors in my linear algebra library, for example to be able to construct 4x4 matrices from 16 scalars, 4 column vectors, a single scalar for identity, etc
skapata has joined #lisp
kaftejiman has joined #lisp
ldbeth has joined #lisp
<ldbeth> good evening
<aeth> Alternatively, the actual generic function in DEFGENERIC can have many, mandatory arguments, but it can be wrapped in another DEFUN, which you actually call, that has the &optional, &key, or &rest that you want
<aeth> &rest is problematic, but &optional and &key absolutely could've had a class in DEFGENERIC and it's a flaw that they can't have one. I guess the committee couldn't agree on a syntax.
vegansbane6 has joined #lisp
Lycurgus has joined #lisp
<mfiano> Luckily we have things like filtered-functions to write our own dispatchers
<aeth> The correct syntax, by the way, would be (variable default-value class supplied-p)
<aeth> Since you'll probably need a default-value anyway.
frost-lab has quit [Quit: Connection closed]
<aeth> Oh, and you probably always want the &allow-other-keys that jackdaniel brought up for these sorts of APIs because you wouldn't want there to be a breaking change if you added a key.
<aeth> (assuming the key is actually optional, which most, but not all, tend to be)
[d]_ has joined #lisp
narimiran has quit [Ping timeout: 260 seconds]
narimiran has joined #lisp
joaot has joined #lisp
imode has quit [Quit: Batsharks are people too!]
nowhere_man has joined #lisp
Bike has joined #lisp
Lycurgus has quit [Quit: Exeunt]
ggole has joined #lisp
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #lisp
a0 has joined #lisp
eden has quit [Ping timeout: 240 seconds]
aeth_ has joined #lisp
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
igemnace has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 268 seconds]
aartaka has joined #lisp
luckless has quit [Ping timeout: 240 seconds]
luckless has joined #lisp
EvW has joined #lisp
aartaka_d has quit [Ping timeout: 240 seconds]
retropikzel has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` is now known as X-Scale
aartaka has quit [Ping timeout: 256 seconds]
ldbeth has quit [Quit: ERC (IRC client for Emacs 27.1)]
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #lisp
EvW has quit [Quit: EvW]
EvW has joined #lisp
pfdietz has joined #lisp
pfdietz has left #lisp [#lisp]
pfdietz has joined #lisp
a0 has quit [Remote host closed the connection]
a0 has joined #lisp
wsinatra has joined #lisp
ljavorsk has joined #lisp
dim has quit [Quit: ZNC - http://znc.sourceforge.net]
ljavorsk has quit [Ping timeout: 256 seconds]
notzmv has joined #lisp
a0 has quit [Ping timeout: 240 seconds]
[d]_ has quit [Excess Flood]
[d] has joined #lisp
<jurov> anyone knows about package-local nicknames pls? I have no idea why this errors in sbcl 2.0.1:
<jurov> defvar p2 (make-package "p2")) (sb-ext:add-package-local-nickname "pee" p2 p2) (let ((*package* p2)) (read-from-string "pee::p"))
igemnace has joined #lisp
<beach> It would seem add-package-local-nickname is a function, no?
<beach> Did you check it's signature?
<phoe> jurov: case
<phoe> (read-from-string "|pee|::p") will succeed
<beach> Ah, heh.
<beach> Good catch.
<phoe> your nickname is lowercase, upcase it if you want to type pee::p.
<phoe> also oh god the pun
hiroaki has quit [Ping timeout: 256 seconds]
aartaka has joined #lisp
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 264 seconds]
a0 has joined #lisp
joaot6 has joined #lisp
joaot has quit [Ping timeout: 245 seconds]
hiroaki has joined #lisp
ebrasca has joined #lisp
mrchampion has quit [Ping timeout: 256 seconds]
charles` has quit [Ping timeout: 264 seconds]
Duuqnd has joined #lisp
spongiforma has quit [Read error: Connection reset by peer]
joaot6 has quit [Ping timeout: 245 seconds]
orivej has joined #lisp
nowhere_man has quit [Ping timeout: 258 seconds]
nowhere_man has joined #lisp
mrchampion has joined #lisp
kaftejiman has quit [Remote host closed the connection]
sjl has joined #lisp
aeth has quit [Ping timeout: 260 seconds]
aeth has joined #lisp
waleee-cl has joined #lisp
griffinbyatt has joined #lisp
EvW has quit [Ping timeout: 268 seconds]
andreyorst` has quit [Quit: andreyorst`]
Aurora_v_kosmose has quit [Ping timeout: 240 seconds]
CrazyEdd has joined #lisp
aartaka has joined #lisp
Steeve has joined #lisp
Duuqnd has quit [Ping timeout: 256 seconds]
toorevitimirp has quit [Remote host closed the connection]
gioyik has joined #lisp
Aurora_v_kosmose has joined #lisp
aartaka_d has quit [Ping timeout: 240 seconds]
rogersm has joined #lisp
kam1 has joined #lisp
lowryder has joined #lisp
cactus is now known as scorpion
scorpion is now known as MrFantastik
hal99999 has joined #lisp
CookE[] has joined #lisp
a0 has quit [Ping timeout: 240 seconds]
vegansbane6 has quit [Remote host closed the connection]
kam1 has quit [Ping timeout: 260 seconds]
aeth_ has joined #lisp
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
CookE[] has quit [Ping timeout: 240 seconds]
CookE[] has joined #lisp
vegansbane6 has joined #lisp
bjorkint0sh has quit [Quit: Leaving]
dim has joined #lisp
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
aeth has quit [Ping timeout: 246 seconds]
aeth has joined #lisp
CookE[] has quit [Ping timeout: 240 seconds]
cosimone has quit [Ping timeout: 256 seconds]
lucasb has joined #lisp
<jackdaniel> when we have two load-time-value's with the value (make-instance 'foo) (read-only-p defaults to nil), and we load the compiled file, should they be eq to each other?
<jackdaniel> or, /can/ they be EQ to each other?
<phoe> clhs load-time-value
<jackdaniel> I think that they should be only when the read-only-p is T, but maybe I'm missing something
<phoe> "If t, the result is a read-only quantity that can, if appropriate to the implementation, be copied into read-only space and/or coalesced with similar constant objects from other programs."
<phoe> so if read-only-p is true, then it CAN be coalesced
<jackdaniel> sure, that's clear
<phoe> "If nil (the default), the result must be neither copied nor coalesced; it must be considered to be potentially modifiable data. "
<phoe> so if read-only-p is false, then it MUST NOT be coalesced
EvW has joined #lisp
<jackdaniel> that's my understanding, but I'm usually doubting myself when I see sbcl doing something different
<jackdaniel> (than what I would anticipate)
<phoe> what does SBCL do?
<jackdaniel> coalasces them
<phoe> could you give an example?
<jackdaniel> hm, I'm confused, I've rerun my example and it worked as expected
<phoe> a particularly shy bug
<phoe> disappears upon closer look
<jackdaniel> hm, nevermind me then, thanks
hiroaki has quit [Ping timeout: 256 seconds]
hineios1 has joined #lisp
kam1 has joined #lisp
rogersm has quit [Quit: Leaving...]
sm2n_ has joined #lisp
sm2n has quit [Remote host closed the connection]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
hineios has quit [Ping timeout: 264 seconds]
hineios1 is now known as hineios
hiroaki has joined #lisp
stzsch has quit [Read error: Connection reset by peer]
stzsch has joined #lisp
andreyorst has joined #lisp
aeth_ has joined #lisp
aeth has quit [Disconnected by services]
phantomics has quit [Quit: Ex-Chat]
aeth_ is now known as aeth
matta has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
stux|RC-- has joined #lisp
mfiano has quit [Ping timeout: 246 seconds]
actuallybatman has quit [Ping timeout: 246 seconds]
eschatologist has quit [Ping timeout: 246 seconds]
eschatologist_ has joined #lisp
actuallybatman has joined #lisp
samebchase has quit [Ping timeout: 246 seconds]
stux|RC has quit [Ping timeout: 246 seconds]
amerlyq has quit [Ping timeout: 264 seconds]
renzhi has quit [Ping timeout: 264 seconds]
cgay has quit [Ping timeout: 264 seconds]
snits has quit [Ping timeout: 264 seconds]
samebchase has joined #lisp
cgay has joined #lisp
amerlyq has joined #lisp
<matta> Puzzle from a noob -- please help me figure how the right way to do this: (deftype coordinate (simple-array fixnum (3)))
snits has joined #lisp
mfiano has joined #lisp
<matta> I want to be able to use 'coordinate in check-type, (declare (type (coordinate foo))), etc.
renzhi has joined #lisp
<phoe> matta: (deftype coordinate () '(simple-array fixnum (3)))
<phoe> you forgot the type lambda list, and you need to quote the return value
<matta> Ahhh, I had tried quoting but forgot the type lambda list. Thanks!
cosimone has joined #lisp
<matta> Learning new languages teaches one to be humble. ;-)
<phoe> no problem! good luck, and feel free to ask any more questions you may have
<aeth> matta: do you actually want coordinates to be fixnums?
<aeth> That means you have no control over the size
<aeth> you could do e.g. (signed-byte 32) and most implementations will probably support that size
<aeth> Implementations have to support simple-character, character, and bit arrays. They almost certainly support (unsigned-byte 8) arrays. They also likely support single-float, double-float, and signed/unsigned bytes for 8, 16, and 32
<aeth> So you have a fair bit of control over which kind of arrays you use
phantomics has joined #lisp
<phoe> fixnum is at minimum ub16
<_death> signed-byte 16
EvW has quit [Ping timeout: 258 seconds]
<phoe> oops - sorry
kam1 has quit [Ping timeout: 256 seconds]
rumbler31 has joined #lisp
galex-713 has quit [Ping timeout: 264 seconds]
kam1 has joined #lisp
galex-713 has joined #lisp
entre-parenteses has joined #lisp
stux|RC-- has quit [Quit: Aloha!]
stux|RC has joined #lisp
cosimone has quit [Remote host closed the connection]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
liberliver has quit [Quit: liberliver]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
cosimone has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
Nilby has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
zmagii has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
skapata has quit [Ping timeout: 264 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
kam1 has quit [Ping timeout: 260 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
skapata has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
<jurov> phoe: thanks!
<matta> aeth: thanks for the tips re: signed-byte 32.
amb007 has quit [Read error: Connection reset by peer]
EvW has joined #lisp
ex_nihilo has quit [Quit: Leaving]
amb007 has joined #lisp
<matta> What is the easiest way to compare two arrays for structural equality (i.e. as EQUALS does for lists)?
<phoe> EQUALS? you likely mean EQUAL
<ebrasca> How do shadow work?
<phoe> but, EQUALP compares arrays if you want EQUALP for comparison
<ebrasca> How does shadow work?
<phoe> for vectors, there's serapeum:vector=
<phoe> ebrasca: there's an answer in http://www.flownet.com/gat/packages.pdf
<phoe> basically, SHADOW creates a symbol with a given name and unimports any other symbol with the same name that might have been imported
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
hiroaki has quit [Ping timeout: 264 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
<ebrasca> phoe: Thanks!
<phoe> so when you shadow a symbol with name FOO, then first FIND-SYMBOL is called to find it
amb007 has quit [Read error: Connection reset by peer]
<phoe> if it does not exist, it is interned
amb007 has joined #lisp
<phoe> if it exists and it is imported from another package, it is uninterned and then a fresh one is interned
<phoe> otherwise, it's a no-op
<phoe> oh, and each package maintains a shadowing symbols list, that symbol is added there by #'SHADOW.
hiroaki has joined #lisp
cranes has quit [Remote host closed the connection]
<aeth> put that in an article under the headline "shadow facts" as a reference to https://xkcd.com/1272/
<varjag> slyrus: i implemented guo-hall thinning over opticl
Aurora_v_kosmose has quit [Remote host closed the connection]
<varjag> is it of interest for the project, or does it sound too application specific
Aurora_v_kosmose has joined #lisp
Lycurgus has joined #lisp
hnOsmium0001 has joined #lisp
froggey has quit [Ping timeout: 260 seconds]
Younder has joined #lisp
tool_man has joined #lisp
froggey has joined #lisp
andreyorst has quit [Ping timeout: 264 seconds]
galex-713 has quit [Ping timeout: 272 seconds]
karlosz has joined #lisp
entre-parenteses has quit [Ping timeout: 256 seconds]
ggole has quit [Quit: Leaving]
jprajzne has quit [Quit: Leaving.]
ykm has joined #lisp
Younder has quit [Quit: Leaving]
ykm has left #lisp [#lisp]
kaftejiman has joined #lisp
galex-713 has joined #lisp
entre-parenteses has joined #lisp
Lycurgus has quit [Quit: Exeunt]
cosimone_ has joined #lisp
kam1 has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
jw4 has quit [Read error: Connection reset by peer]
cosimone has quit [Ping timeout: 260 seconds]
cosimone_ is now known as cosimone
cosimone has quit [Client Quit]
jw4 has joined #lisp
cosimone has joined #lisp
jeosol has joined #lisp
eschatologist_ is now known as eschatologist
gaqwas has joined #lisp
gaqwas has joined #lisp
akoana has joined #lisp
notandinus has quit [Ping timeout: 240 seconds]
EvW has quit [Ping timeout: 264 seconds]
narimiran has quit [Ping timeout: 240 seconds]
zmagii has joined #lisp
imode has joined #lisp
gaqwas has quit [Remote host closed the connection]
zacts has joined #lisp
galex-713 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
galex-713 has joined #lisp
EvW has joined #lisp
galex-713 has quit [Client Quit]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
galex-713 has joined #lisp
gjnoonan has quit [Ping timeout: 244 seconds]
chewbranca has quit [Ping timeout: 244 seconds]
mgsk has quit [Ping timeout: 244 seconds]
lukego has quit [Ping timeout: 258 seconds]
cg505 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
cg505 has joined #lisp
entre-parenteses has quit [Remote host closed the connection]
lukego has joined #lisp
mgsk has joined #lisp
chewbranca has joined #lisp
gjnoonan has joined #lisp
shka_ has quit [Ping timeout: 240 seconds]
kam1 has quit [Ping timeout: 272 seconds]
aartaka has quit [Ping timeout: 272 seconds]
wsinatra has quit [Quit: WeeChat 3.0]
<slyrus> varjag, what is quo-hall thinning? I'm assuming this is something like: https://people.eecs.berkeley.edu/~fateman/294-9/lectures/thin.html ?
<slyrus> of course all of the images on Fateman's site are busted, which doesn't really help explain what's going on.
<slyrus> sure, happy to add to opticl, thanks! Can you make a PR for it?
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
matijja has quit [Ping timeout: 240 seconds]
astronavt has quit [Remote host closed the connection]
astronavt has joined #lisp
matijja has joined #lisp
Jesin has quit [Quit: Leaving]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
dmiles[m] has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
<Xach> hmm, the stats update seems to have worked
<phoe> let me look!
<phoe> yes, I can see phoe-toolbox with the majestic result of 8 downloads
<Xach> so the stat-gaming begins
karlosz_ has joined #lisp
karlosz_ has quit [Remote host closed the connection]
karlosz_ has joined #lisp
karlosz_ has quit [Remote host closed the connection]
karlosz_ has joined #lisp
karlosz has quit [Ping timeout: 264 seconds]
karlosz_ is now known as karlosz
kam1 has joined #lisp
<phoe> (loop (drakma:http-request (ql::archive-url (ql::find-release "phoe-toolbox")))) intensifies
aartaka has joined #lisp
Jesin has joined #lisp
<phoe> Xach: updated the readme of quicklisp-stats to mention the new cutoff of 1000 projects.
amb007 has joined #lisp
Jesin has quit [Remote host closed the connection]
aartaka has quit [Ping timeout: 240 seconds]
<varjag> slyrus: yep, a kind of morphological thinning, among the better ones
<varjag> i'll tidy up and make a pr
EvW has quit [Ping timeout: 268 seconds]
Jesin has joined #lisp
IAmRasputin has joined #lisp
tempest_nox has joined #lisp
ebrasca has quit [Remote host closed the connection]
matta has quit [Ping timeout: 256 seconds]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
rumbler31 has quit [Ping timeout: 240 seconds]
Aurora_v_kosmose has joined #lisp
surabax has quit [Quit: Leaving]
EvW has joined #lisp
hal99999 has quit [Quit: hal99999]
heisig has quit [Quit: Leaving]
matta has joined #lisp
nucranium has joined #lisp
amb007 has quit [Ping timeout: 256 seconds]
gioyik has quit [Quit: WeeChat 3.0]
sjl has quit [Ping timeout: 260 seconds]
karlosz has quit [Remote host closed the connection]
karlosz has joined #lisp
<jmercouris> anyone know of a GitHub API wrapper in CL?
<jmercouris> trying to figure out a way to automate backing-up discussions from GitHub, I see that it is not yet on their API, but I imagine it will come sooner or later
rumbler31 has joined #lisp
ffwacom has quit [Ping timeout: 244 seconds]
pve has quit [Quit: leaving]
mgsk has quit [Ping timeout: 264 seconds]
amb007 has joined #lisp
splittist has quit [Ping timeout: 264 seconds]
l1x has quit [Ping timeout: 264 seconds]
mjl has quit [Ping timeout: 264 seconds]
RagnarDanneskjol has quit [Ping timeout: 264 seconds]
yonkunas has quit [Ping timeout: 260 seconds]
villanella has quit [Ping timeout: 260 seconds]
[d] has quit [Read error: Connection reset by peer]
[d] has joined #lisp
charles` has joined #lisp
kaftejiman has quit [Remote host closed the connection]
nucranium has quit [Quit: WeeChat 2.8]
Steeve has quit [Quit: end]
kam1 has quit [Read error: Connection reset by peer]
kam1 has joined #lisp
akoana has quit [Quit: leaving]
rgherdt has quit [Ping timeout: 272 seconds]
IAmRasputin has quit [Ping timeout: 272 seconds]
imode has quit [Quit: WeeChat 2.9]