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
leo_song has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Remote host closed the connection]
nicktick has joined #lisp
rpg has joined #lisp
Josh_2 has quit [Ping timeout: 264 seconds]
vutral has quit [Quit: Connection closed for inactivity]
caltelt has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 260 seconds]
Oladon has joined #lisp
wsinatra has quit [Quit: WeeChat 2.9]
CodeSpelunker has joined #lisp
ebrasca has quit [Remote host closed the connection]
Bike has quit [Quit: Lost terminal]
galex-713 has quit [Ping timeout: 272 seconds]
vutral has joined #lisp
cjb has quit [Quit: I have bad packet loss, rebooting net]
dominic34 has joined #lisp
dominic34 has quit [Excess Flood]
dominic34 has joined #lisp
msk has quit [Ping timeout: 246 seconds]
shifty has quit [Ping timeout: 256 seconds]
msk has joined #lisp
dominic34 has quit [Ping timeout: 240 seconds]
mangoicedtea has quit [Remote host closed the connection]
msk has quit [Read error: Connection reset by peer]
msk has joined #lisp
cjb has joined #lisp
madage has quit [Remote host closed the connection]
rpg has joined #lisp
madage has joined #lisp
Lycurgus has joined #lisp
cjb has quit [Quit: brb]
dyelar has quit [Quit: Leaving.]
Lycurgus has quit [Remote host closed the connection]
eta has quit [Ping timeout: 240 seconds]
cjb has joined #lisp
yitzi has quit [Quit: yitzi]
eta has joined #lisp
jesse1010 has quit [Ping timeout: 240 seconds]
beach` has joined #lisp
terpri_ has joined #lisp
msk__ has joined #lisp
msk has quit [Read error: Connection reset by peer]
terpri has quit [Ping timeout: 260 seconds]
beach has quit [Ping timeout: 272 seconds]
Alfr__ has joined #lisp
Alfr_ has quit [Ping timeout: 260 seconds]
caltelt has quit [Ping timeout: 240 seconds]
mindCrime has quit [Ping timeout: 260 seconds]
pi123 has joined #lisp
johnjay has quit [Read error: Connection reset by peer]
shifty has joined #lisp
Oladon has quit [Quit: Leaving.]
CodeSpelunker has quit [Quit: CodeSpelunker]
pi123 has quit [Read error: Connection reset by peer]
vutral has quit [Quit: Connection closed for inactivity]
johnjay has joined #lisp
zaquest has quit [Quit: Leaving]
zaquest has joined #lisp
Odin- has quit [Ping timeout: 272 seconds]
Odin- has joined #lisp
cairn has quit [Ping timeout: 246 seconds]
liamz[m] has quit [Ping timeout: 246 seconds]
Jachy has quit [Ping timeout: 246 seconds]
LdBeth has quit [Ping timeout: 246 seconds]
dilated_dinosaur has quit [Ping timeout: 264 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gnuxie[m] has quit [Read error: Connection reset by peer]
Jach[m] has quit [Remote host closed the connection]
kinope has quit [Remote host closed the connection]
kelamir[m] has quit [Remote host closed the connection]
infra_red[m] has quit [Remote host closed the connection]
even4void[m] has quit [Remote host closed the connection]
fwoaroof[m] has quit [Write error: Broken pipe]
sammich has quit [Write error: Connection reset by peer]
camlriot42 has quit [Write error: Connection reset by peer]
eric[m]5 has quit [Remote host closed the connection]
gaqwas[m] has quit [Remote host closed the connection]
MrtnDk[m] has quit [Write error: Connection reset by peer]
Oladon has joined #lisp
Gnuxie[m] has joined #lisp
beach` is now known as beach
<beach> Good morning everyone!
jw4 has quit [Ping timeout: 256 seconds]
even4void[m] has joined #lisp
MrtnDk[m] has joined #lisp
camlriot42 has joined #lisp
kinope has joined #lisp
infra_red[m] has joined #lisp
userself has joined #lisp
fwoaroof[m] has joined #lisp
LdBeth has joined #lisp
cairn has joined #lisp
kelamir[m] has joined #lisp
gaqwas[m] has joined #lisp
sammich has joined #lisp
eric[m]4 has joined #lisp
Jachy has joined #lisp
unl0ckd has joined #lisp
liamz[m] has joined #lisp
Jach[m] has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
countvaj` has quit [Ping timeout: 260 seconds]
torbo has quit [Remote host closed the connection]
luckless_ has quit [Read error: Connection reset by peer]
zooey has quit [Remote host closed the connection]
gxt has quit [Write error: Connection reset by peer]
cantstanya has quit [Write error: Connection reset by peer]
madage has quit [Write error: Connection reset by peer]
Aurora_v_kosmose has quit [Remote host closed the connection]
hendursaga has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
zooey has joined #lisp
luckless_ has joined #lisp
cantstanya has joined #lisp
drot has joined #lisp
gxt has joined #lisp
madage has joined #lisp
countvaj` has joined #lisp
hendursaga has joined #lisp
Oladon has quit [Quit: Leaving.]
gravicappa has joined #lisp
gigetoo has quit [Ping timeout: 256 seconds]
gigetoo has joined #lisp
VincentVega has joined #lisp
Oladon has joined #lisp
krid has quit [Ping timeout: 240 seconds]
v3ga has joined #lisp
narimiran has joined #lisp
heisig has joined #lisp
bocaneri has joined #lisp
bocaneri is now known as Sauvin
bsd4me has quit [Quit: Leaving]
luckless_ has quit [Remote host closed the connection]
cantstanya has quit [Write error: Broken pipe]
madage has quit [Write error: Broken pipe]
Aurora_v_kosmose has quit [Remote host closed the connection]
gxt has quit [Read error: Connection reset by peer]
zooey has quit [Remote host closed the connection]
hendursaga has quit [Remote host closed the connection]
gxt has joined #lisp
hendursaga has joined #lisp
Aurora_v_kosmose has joined #lisp
luckless_ has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
zooey has joined #lisp
Aurora_v_kosmose has joined #lisp
narimiran has quit [Ping timeout: 265 seconds]
madage has joined #lisp
dilated_dinosaur has joined #lisp
akoana has joined #lisp
cantstanya has joined #lisp
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
space_otter has joined #lisp
ravndal has quit [Quit: WeeChat 2.9]
Oladon has quit [Quit: Leaving.]
EvW has joined #lisp
Kaisyu has joined #lisp
ravndal has joined #lisp
Kaisyu7 has joined #lisp
EvW has quit [Ping timeout: 260 seconds]
space_otter has quit [Remote host closed the connection]
heisig has quit [Quit: Leaving]
Kaisyu7 has quit [Ping timeout: 256 seconds]
v0|d has quit [Ping timeout: 240 seconds]
pve has joined #lisp
cjb has quit [Quit: end of day]
nicktick has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
nicktick has joined #lisp
countvaj` has quit [Ping timeout: 244 seconds]
countvaj` has joined #lisp
rgherdt has joined #lisp
shka_ has joined #lisp
Kaisyu7 has joined #lisp
EvW has joined #lisp
countvaj` has quit [Remote host closed the connection]
countvaj` has joined #lisp
nicktick has quit [Ping timeout: 240 seconds]
nicktick has joined #lisp
countvaj` has quit [Ping timeout: 246 seconds]
VincentVega has quit [Remote host closed the connection]
johnjay has quit [Ping timeout: 240 seconds]
|jonathan| has joined #lisp
<|jonathan|> Hello. Please suggest some Lisp Dialect for Windows please.
<phoe> |jonathan|: Common Lisp
heisig has joined #lisp
<phoe> (which is what #lisp is about; other Lisp dialects have other channels)
<|jonathan|> yes. thanks, phoe
<|jonathan|> please suggest some IDE for it for window
<|jonathan|> *Windows
<phoe> emacs + slime/sly
<phoe> or vim + slimv/vlime
<|jonathan|> Emacs I am using. Let me check slimv/vlime
<phoe> otherwise, I know that Atom and Sublime Text have clients for slime/sly; I don't use them personally though
<phoe> oh, use slime or sly then
<|jonathan|> I have used sublime text, but just for just for typing programs. I don't know if it has inbuilt compiler for Lisp
<phoe> compiler? no, that's the implementation's job
<phoe> the editor's job is to connect to the running Lisp image to allow the programmer to interact with it
<phoe> https://github.com/s-clerc/slyblime is the project in question
<|jonathan|> thanks phoe. I have used Python in Sublime text.
<|jonathan|> let me check the link
<|jonathan|> Link you provided is for Sublime Text
<|jonathan|> aam checking https://github.com/slime/slime
<phoe> slime is for emacs
<|jonathan|> oh
<phoe> slyblime is for sublime text
<phoe> sorry for the confusion
<|jonathan|> In my last visit, i was provided a link of a good book, i just want to practice that to learn Common Lisp
<|jonathan|> on Windows
<phoe> minion: tell |jonathan| about pcl
<minion> |jonathan|: please look at pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
<phoe> it was likely this one
<phoe> yessss
<|jonathan|> yes i am going through that and i want IDE to practice that.
<|jonathan|> in windows
treflip has joined #lisp
<|jonathan|> The book suggested 'Lisp in a box'
<phoe> don't use it
<phoe> it's ancient.
<phoe> if anything, try Portacle, which is a modern replacement for it
<phoe> it bundles emacs+slime+sbcl+quicklisp+git
<phoe> https://portacle.github.io/ - you might want to use it if you're going the emacs way
<|jonathan|> phoe: Portacle only I was suggested in my visit here but i don't know if you can remember, Portacle was working properly in windows. You even suggested me to visit its official IRC Channel and even the Developer also couldn't help me with it
<|jonathan|> many guys helped me solve the issue and i could just trace it back to some unsolved 'issue' on github
<|jonathan|> *many guys here helped me
<phoe> oh, I see
<|jonathan|> I guess I need to install Unix/Linux in Virtual Machine for that.
<|jonathan|> again i want to repeat that my goal is to learn some language flexible enough to help me solve complex Engineering Problems.
<|jonathan|> Data Science
<phoe> I don't know what else to suggest, then; the closest you can get to Portacle is manually setting up your emacs+lisp installation, meaning installing emacs+slime+sbcl+quicklisp+git
<|jonathan|> I have seen few videos which mention Lisp as Ideal Language for AI and like things
<phoe> you can use a prebuilt emacs distribution such as Spacemacs - that takes care of emacs+slime
<|jonathan|> oh, noted.
<|jonathan|> I guess running Portacle in some GNU Linux in Virtual Machine can solve all problems.
<|jonathan|> It will get me straight to the learning
<|jonathan|> am checking spacemacs
<phoe> I personally use and enjoy spacemacs with its common-lisp layer that includes slime
<phoe> (and I personally use Linux on all on my machines)
<splittist> Gnu has emacs binaries for Windows. There are git binaries. There are sbcl binaries. Installing quicklisp is super simple, and using quicklisp slime helper gets you slime. A sometimes tricky thing is that emacs and sbcl disagree about what the user home directory is.
johnjay has joined #lisp
shifty has quit [Read error: Connection reset by peer]
<|jonathan|> thanks splittist. I guess one single Portacle seems fine for me. Somehow I feel the things arn't going to work well in windows.
shifty has joined #lisp
<splittist> They've worked fine for me over the years. (:
<|jonathan|> okay fine. which Windows are you using?
<splittist> 10 currently
<|jonathan|> Am on Win 7, Home 64.
<|jonathan|> Just curious, why aren't you using Portable? it budles all in one.
<splittist> I've used that in the past. (Pre git, though, from memory.)
<|jonathan|> okay I will give it a try. Thanks.
<|jonathan|> thanks phoe for your precious time.
<phoe> no problem, good luck and let us know in case of any issues and/or successes
<splittist> I'm old enough to have had sufficient bad experiences with all-in-one solutions that I tend to want to do things my way. Or perhaps it's just ignorance and stubbornness (:
ukari has joined #lisp
<|jonathan|> I guess we all learn when we try to do things from scratch.
ukari has quit [Remote host closed the connection]
hendursa1 has joined #lisp
ukari has joined #lisp
Gnuxie[m] has quit [Quit: killed]
camlriot42 has quit [Quit: killed]
LdBeth has quit [Quit: killed]
kelamir[m] has quit [Quit: killed]
even4void[m] has quit [Quit: killed]
userself has quit [Quit: killed]
gaqwas[m] has quit [Quit: killed]
cairn has quit [Quit: killed]
MrtnDk[m] has quit [Quit: killed]
Jach[m] has quit [Quit: killed]
unl0ckd has quit [Quit: killed]
infra_red[m] has quit [Quit: killed]
sammich has quit [Quit: killed]
fwoaroof[m] has quit [Quit: killed]
kinope has quit [Quit: killed]
hendursaga has quit [Ping timeout: 240 seconds]
eric[m]4 has quit [Quit: killed]
Jachy has quit [Quit: killed]
liamz[m] has quit [Quit: killed]
ukari has quit [Remote host closed the connection]
simplegauss has quit [Ping timeout: 264 seconds]
johnjay has quit [Ping timeout: 240 seconds]
simplegauss has joined #lisp
Gnuxie[m] has joined #lisp
ljavorsk has joined #lisp
ukari has joined #lisp
even4void[m] has joined #lisp
MrtnDk[m] has joined #lisp
infra_red[m] has joined #lisp
kinope has joined #lisp
fwoaroof[m] has joined #lisp
userself has joined #lisp
camlriot42 has joined #lisp
LdBeth has joined #lisp
cairn has joined #lisp
kelamir[m] has joined #lisp
eric[m]4 has joined #lisp
sammich has joined #lisp
gaqwas[m] has joined #lisp
liamz[m] has joined #lisp
Jach[m] has joined #lisp
unl0ckd has joined #lisp
Jachy has joined #lisp
karlosz has quit [Read error: Connection reset by peer]
karlosz has joined #lisp
karlosz has quit [Ping timeout: 244 seconds]
karlosz has joined #lisp
userself has quit [Quit: Idle for 30+ days]
msk__ has quit [Ping timeout: 256 seconds]
jesse1010 has joined #lisp
yitzi has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
msk has joined #lisp
nicktick has quit [Ping timeout: 256 seconds]
ralt has joined #lisp
EvW has quit [Ping timeout: 256 seconds]
luna_is_here has quit [Ping timeout: 246 seconds]
luna_is_here has joined #lisp
ravndal has quit [Remote host closed the connection]
ravndal has joined #lisp
random-nick has joined #lisp
Bourne has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
dmrintr has joined #lisp
yitzi has quit [Quit: yitzi]
nullman has quit [Ping timeout: 260 seconds]
terpri__ has joined #lisp
bitmapper has quit [Ping timeout: 264 seconds]
terpri_ has quit [Ping timeout: 244 seconds]
frgo_ has quit [Remote host closed the connection]
katco has joined #lisp
galex-713 has joined #lisp
hjudt has quit [Quit: leaving]
narimiran has joined #lisp
Alfr has joined #lisp
Alfr__ has quit [Ping timeout: 244 seconds]
wxie has joined #lisp
EvW1 has joined #lisp
liberliver has quit [Quit: liberliver]
xlei has quit [Quit: ZNC - https://znc.in]
hjudt has joined #lisp
EvW1 has quit [Ping timeout: 244 seconds]
liberliver has joined #lisp
liberliver has quit [Client Quit]
igemnace has quit [Remote host closed the connection]
ralt has quit [Quit: Connection closed for inactivity]
ukari has quit [Remote host closed the connection]
kaftejiman has joined #lisp
yitzi has joined #lisp
wxie has quit [Ping timeout: 244 seconds]
<Xach> many users here have used CL since many years before portacle existed, also
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #lisp
<phoe> and Xach is not talking about lispbox and lispstick either
zooey_ has joined #lisp
ggole has joined #lisp
zooey has quit [Ping timeout: 240 seconds]
<jackdaniel> the only editor I know about is invoked with (ed)
<jackdaniel> (that's a lie, but it is an appealing lie, isn't it?)
<phoe> it is
wxie has joined #lisp
fe[nl]ix has quit [Read error: Connection reset by peer]
fe[nl]ix has joined #lisp
TwoNotes has joined #lisp
shifty has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
Bike has joined #lisp
wsinatra has joined #lisp
epony has quit [Ping timeout: 258 seconds]
epony has joined #lisp
frgo has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
frgo_ has joined #lisp
frgo has quit [Ping timeout: 260 seconds]
<Xach> i hook ed everywhere i can
<_death> do you have it working with a function name (or other symbol meanings?) as argument?
<Xach> no, just pathname designators
wxie has quit [Ping timeout: 240 seconds]
EvW has joined #lisp
<_death> shouldn't be hard to swank-call slime-edit-definition ;)
jw4 has joined #lisp
<Xach> that's the route
krid has joined #lisp
EvW has quit [Ping timeout: 244 seconds]
midre has quit [Ping timeout: 272 seconds]
vaporatorius has joined #lisp
vaporatorius has quit [Changing host]
vaporatorius has joined #lisp
vaporatorius__ has quit [Ping timeout: 265 seconds]
rumbler31 has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 240 seconds]
dyelar has joined #lisp
vaporatorius__ has joined #lisp
vaporatorius has quit [Ping timeout: 256 seconds]
whiteline_ has joined #lisp
whiteline has quit [Read error: Connection reset by peer]
dra has joined #lisp
nullman has joined #lisp
whiteline_ has quit [Read error: Connection reset by peer]
whiteline has joined #lisp
justache has quit [Remote host closed the connection]
sjl_ has joined #lisp
justache has joined #lisp
liberliver has joined #lisp
nicktick has joined #lisp
TwoNotes has quit [Quit: Leaving]
Bourne has joined #lisp
treflip has quit [Quit: WeeChat 2.6]
gko_ has joined #lisp
TwoNotes has joined #lisp
rpg has joined #lisp
luna_is_here_ has joined #lisp
nicktick has quit [Ping timeout: 240 seconds]
nicktick has joined #lisp
luna_is_here has quit [Ping timeout: 240 seconds]
Cymew has quit [Ping timeout: 246 seconds]
TwoNotes has quit [Quit: Leaving]
bsd4me has joined #lisp
jw4 has quit [Ping timeout: 240 seconds]
Bourne has quit [Ping timeout: 240 seconds]
jw4 has joined #lisp
<phoe> I'm glad that CL:LIST is a class even though it could have been a type
<phoe> for a moment I was scared that I'd need to specialize on NULL and CONS separately before I remembered the above
gaqwas has quit [Remote host closed the connection]
krid` has joined #lisp
krid has quit [Ping timeout: 264 seconds]
gko_ has quit [Remote host closed the connection]
gko_ has joined #lisp
bitmapper has joined #lisp
lisper_nl has joined #lisp
bsd4me has left #lisp ["Leaving"]
edgar-rft has quit [Quit: Leaving]
sjl_ has quit [Quit: WeeChat 2.3-dev]
ljavorsk has quit [Ping timeout: 246 seconds]
TwoNotes has joined #lisp
Bourne has joined #lisp
lisper_nl has left #lisp [#lisp]
mindCrime has joined #lisp
CodeSpelunker has joined #lisp
rgherdt has quit [Quit: Leaving]
EvW1 has joined #lisp
yitzi has quit [Quit: yitzi]
CodeSpelunker has left #lisp [#lisp]
gaqwas has joined #lisp
gaqwas has joined #lisp
nicktick has quit [Ping timeout: 240 seconds]
gko_ has quit [Ping timeout: 256 seconds]
galex-713 has quit [Quit: No Ping reply in 180 seconds.]
terpri__ is now known as terpri
galex-713 has joined #lisp
yitzi has joined #lisp
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life has joined #lisp
FreeBirdLjj has joined #lisp
random-nick has quit [Quit: quit]
dmrintr has quit [Ping timeout: 246 seconds]
FreeBirdLjj has quit [Ping timeout: 260 seconds]
random-nick has joined #lisp
orivej has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bonz060 has quit [Ping timeout: 264 seconds]
jw4 has quit [Ping timeout: 246 seconds]
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #lisp
choegusung has joined #lisp
kaftejiman has quit [Remote host closed the connection]
choegusung has quit [Quit: leaving]
gaqwas has quit [Remote host closed the connection]
<phoe> Is there a CL system that implements classes that have value semantics, just like functional data types? I'd like something with meaningful means of comparing and non-destructive editing
<phoe> I'm asking because I have just noticed that I am slowly inventing such a thing, and I'd like to avoid reinv---
<bitmapper> it was the predecessor to coalton iirc?
* phoe inspects
Josh_2 has joined #lisp
<phoe> I am about halfway satisfied
<Bike> classes with value semantics?
<phoe> yes, something like that
<bitmapper> *actual* algebraic data types, which that library sadly doesn't provide
hjudt has quit [Quit: leaving]
hjudt has joined #lisp
* phoe rethinks his desin
<phoe> design
<bitmapper> everything is just algebraic data types and pattern matching :v
rpg has joined #lisp
<phoe> I am having a situation in which a player has a set of tiles to play, and each of these tiles belongs to that player
<phoe> in a normal, mutable OO way I'd solve this with a pair of references
<phoe> but I'm wondering how I am supposed to work with this in a functional manner
<phoe> suddenly I want *some* things to have value semantics but I want *other* things to have identity
<phoe> and I'm wondering what kind of solution would be a good fit
<bitmapper> phoe: could you expand on a bit on the semantics of the tiles
<phoe> a tile always belongs to a given player
<bitmapper> yeah
<phoe> let's imagine that a player has 100 tiles of 10 kinds, and each of these tiles is marked as belonging to that player
<phoe> two tiles are value-equivalent if they belong to the same player and they have the same kind.
<bitmapper> ah
TwoNotes has quit [Ping timeout: 260 seconds]
<phoe> the kind is the part that has value semantics but the player is the part where, I guess, identity is important
<phoe> unless I'm still blind to some stuff and my design can be done better
<phoe> there's a natural circularity in here that I don't know how to resolve
<bitmapper> in like haskell i'd do `data Tile a = Tile1 a | Tile2 a | Tile3 a | ... deriving (Eq, Show)`
<bitmapper> where Tile1, Tile2, and Tile3 are the different kinds of tiles
<phoe> other than making some sort of gensyms and equipping each player with a gensym and each tile with a gensym
<phoe> and then the tile belongs to that player if they have the same... yeah, I guess that would work and I wouldn't need to dive into object semantics
<phoe> thanks!
<bitmapper> ?
<bitmapper> yeah
<bitmapper> that's basically how that would work
<bitmapper> (adt:defdata tile
<bitmapper> oops
<bitmapper> (adt:defdata tile (tile1 tile) (tile2 tile) (tile3 tile) ...)
<bitmapper> types are just unique identifiers that we enforce based on their associated constraints anyway
<bitmapper> at least in most systems
TwoNotes has joined #lisp
<stylewarning> You probably don’t want (tile1 tile) unless there’s some leaf
<Josh_2> evening
<bitmapper> ahh
<bitmapper> sorry
<bitmapper> i meant (tile1 person)
dddddd_ has joined #lisp
alejandrozf has joined #lisp
EvW1 has quit [Ping timeout: 260 seconds]
dddddd has quit [Ping timeout: 256 seconds]
<alejandrozf> hi! how are you? Do you know some CL library to use GAN (Generative adaptative networks) ?
dddddd__ has joined #lisp
dddddd_ has quit [Ping timeout: 264 seconds]
dddddd_ has joined #lisp
dddddd__ has quit [Ping timeout: 264 seconds]
xlei has joined #lisp
dddddd has joined #lisp
dddddd_ has quit [Ping timeout: 240 seconds]
jw4 has joined #lisp
jonatack has quit [Quit: jonatack]
<alejandrozf> quit
alejandrozf has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
Sauvin has quit [Remote host closed the connection]
jonatack has joined #lisp
wsinatra has quit [Quit: WeeChat 2.9]
gaqwas has quit [Remote host closed the connection]
wsinatra has joined #lisp
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 256 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepnem_ has joined #lisp
stepnem has quit [Ping timeout: 264 seconds]
rumbler31 has joined #lisp
lispyone_ has quit [Read error: Connection reset by peer]
ggole has quit [Quit: Leaving]
banjiewen has quit [Ping timeout: 244 seconds]
buoy49 has quit [Ping timeout: 244 seconds]
kilimanjaro has quit [Read error: Connection reset by peer]
jerme_ has quit [Read error: Connection reset by peer]
tfb has quit [Read error: Connection reset by peer]
banjiewen has joined #lisp
buoy49 has joined #lisp
lispyone_ has joined #lisp
kilimanjaro has joined #lisp
tfb has joined #lisp
banjiewen has quit [Ping timeout: 260 seconds]
jerme_ has joined #lisp
banjiewen has joined #lisp
mrcom has quit [Ping timeout: 265 seconds]
gravicappa has quit [Ping timeout: 256 seconds]
rumbler31 has quit [Ping timeout: 256 seconds]
TwoNotes has quit [Ping timeout: 256 seconds]
gargaml has joined #lisp
rumbler31 has joined #lisp
ukari has joined #lisp
okflo has joined #lisp
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
<markasoftware> When would there be multiple Store Variables in a setf expansion?
grewal has quit [Remote host closed the connection]
<_death> try (get-setf-expansion '(values a b))
stepnem_ has quit [Ping timeout: 246 seconds]
stepnem has joined #lisp
<drmeister> Hey - does anyone here do C++ programming, specifically C++17 template programming with an understanding of "fold expressions" in their day job? If so - can you ping me?
tutti has joined #lisp
<drmeister> I want to revamp some of the Clasp C++ interop and I've upgraded to C++17 and I think I can simplify the code considerably with some fancy "modern" C++ template programming. I'd like to bounce some ideas off of someone who knows more about it than I do.
rumbler31 has quit [Ping timeout: 240 seconds]
* drmeister is fully aware that the Venn diagram of people on #lisp and those who have the skills described above has a vanishingly small intersection.
<ecraven> drmeister: thanks for the pointer, those look interesting (though `int sum(&&... Args)' looks rather strange)
yitzi has quit [Read error: Connection reset by peer]
<drmeister> All of C++ looks strange. These people need more s-expressions in their lives.
<_death> in the recent decade my C++ became more like C and less like "modern C++", although I like that there's <thread> and such.. so if I use templates these days, it's only for simple things
<ecraven> drmeister: well, up until ~ C++14 things seemed ok.. now, stuff got weird fast ;)
rumbler31 has joined #lisp
<ecraven> actually, plain C++ is very much ok, but the stuff they do with templates should just be its own language :P
<drmeister> Ok - thanks.
<ecraven> good luck ;)
<drmeister> I'm trying to replace a lot of generated code that looks like this...
<drmeister> With a single template class that uses tuples and fold expressions.
<ecraven> sorry, that is quite above my level of confidence in templates :-/
<jasom> IF this is for CLASP I would say it's on-topic here; I'll take a look. I was just learning more about C++17 a couple years ago when I got pulled onto a C only project
<drmeister> This is for clasp.
<drmeister> I want to add multiple entry points ala Movitz. But if I keep going with generated template code it's going to go bananas. C++17 might offer a way out - but I'm not sure yet.
<drmeister> I'm gearing up to add 1. multiple entry points; 2. GC code; 3. Image save/load; all with C++ interop.
kaftejiman has joined #lisp
ukari has quit [Remote host closed the connection]
rogersm has joined #lisp
<jasom> drmeister: what's the side effect of the translate::from_object calls?
<jasom> drmeister: if the indentation isn't wrong, they are statements not expressions
<jasom> oh nevermind, that's a declaration
rumbler31 has quit [Ping timeout: 256 seconds]
<drmeister> Yes, I am declaring lexical variables of the type 'translate:from_object<xxx>'
<drmeister> This is because often C++ functions get around the lack of multiple return values by returning values in argument references.
<drmeister> The code I pasted can convert the values in those arguments back into Common Lisp values and add them to the multiple-values return.
yitzi has joined #lisp
<drmeister> That's all this stuff...
<drmeister> The programmer can also specify when pointers are returned this way - the lifetime of the pointed to object can be managed/adopted by Common Lisp - or not adopted by Common Lisp.
gaqwas has quit [Remote host closed the connection]
rumbler31 has joined #lisp
troydm has quit [Ping timeout: 256 seconds]
heisig has quit [Quit: Leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yitzi has quit [Read error: Connection reset by peer]
<drmeister> I went into the ##c++-general irc channel and asked the question.
<drmeister> I was pointed to this: https://en.cppreference.com/w/cpp/utility/apply
<drmeister> Someday - I hope that in Common Lisp that we can have a language feature as powerful and as expressive as C++17's std::apply.
<jasom> drmeister: how does apply solve this problem?
radikal has joined #lisp
yitzi has joined #lisp
<jasom> That works once you have a tupple of your translate::fromobject<> items, but I thought the confusion was generating a fold expresion that captures the frame->arg(N) initializers?
<jasom> Which thinking about it you can do with a templated lambda that increments a counter.
rpg has joined #lisp
<jasom> gah templated lambdas aren't until C++20
<jasom> fine a templated function that takes a reference to a counter and the frame :/
<jasom> Then just fold the comma operator in std::make_tuple
<jasom> I suppose the more C++ way would be to use a template method and keep the counter and frame in the class. Whatever.
mrcom has joined #lisp
narimiran has quit [Ping timeout: 264 seconds]
jufearcas has joined #lisp
jeosol has joined #lisp
wsinatra has quit [Quit: WeeChat 2.9]
rogersm has quit [Quit: Leaving...]
rumbler31 has quit [Remote host closed the connection]
akoana has left #lisp ["Leaving"]
shifty has joined #lisp
<jasom> drmeister: I commented with my example of how I would probably generate the tuple; from there you can use std::apply to use it.
<drmeister> Hi - I got pulled away for a few min.
<jasom> drmeister: note I haven't written any C++ code in 2 years so huge disclaimer on it even compiling out-of-the-box but should give you an idea
<jasom> s/I commented/I commented on the gist/
<jasom> it looked like the definition of "frame" was in a macro so I used "FrameType" as a placeholder.
<drmeister> I have three problems - I think. 1. Create a from_object<xxx> variable for each argument (I think I can do this with tuples). 2. Apply the function to the tuple (std::apply - I think). 3. Evaluate ReturnValueWhen(...) on each argument - (maybe std::apply??)
<jasom> no apply for ReturnValueWhen
<jasom> you want to use fold on the "," operator
hipete has joined #lisp
shka_ has quit [Ping timeout: 264 seconds]
<jasom> I also just noticed that you never use the a0/a1/a2 objects directly, just the ._v member; is there a side-effect of those objects being alive, or can you just put the ._v members directly in the tuple?
<drmeister> I'm not sure yet. I think I use the a0._v because I can declare the _v field with the type of the argument. The 'a0' part is the from_object<xxx> instance.
<drmeister> I agree with you about the fold on the comma operator.
rumbler31 has joined #lisp
Jesin has quit [Quit: Leaving]
ralt has joined #lisp
Jesin has joined #lisp
<copec> drmeister: Coming from someone who hasn't done much C++, and even then it was in the 90's, is your statement about std::apply sarcastic or serious?
edgar-rft has joined #lisp
Mawile is now known as Archenoth
<copec> It doesn't appear to me there are more modern programming language notions or something, so I'll guess sarcastic
<phoe> no, he's completely serious - it's not like in CL we have some means of applying arbitrary functions to arbitrary lists of arguments
whiteline has quit [Ping timeout: 265 seconds]
<jasom> phoe: but C++'s is *typesafe* :P
<jgodbout> void* ftw
gargaml has quit [Quit: WeeChat 2.9]
<phoe> Let's assume that we have a metaclass, and then several classes defined with that metaclass. What would be the cleanest way to automatically define a method specialized on each such class whenever that class is defined?
<phoe> In other words, I'd like (defclass foo () () (:metaclass my-class)) to also cause (defmethod frobnicate ((foo-1 foo) (foo-2 foo)) ...)
<phoe> should I define an :AFTER method on ENSURE-CLASS-USING-CLASS that calls ADD-METHOD?
<phoe> or should it be MAKE-INSTANCE on the metaclass?
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
stoneglass has joined #lisp
Lycurgus has joined #lisp
spoeplau has joined #lisp
<jasom> phoe: for class-redefinitions make-instance on the metaclass won't work, right?
<phoe> correct... huh, shared-initialize specialized on the metaclass?
<jasom> phoe: that looks right to me, but my MOP-fu is weak
rumbler3_ has joined #lisp
rumbler31 has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
Lycurgus has quit [Remote host closed the connection]
pve has quit [Quit: leaving]
<drmeister> copec: Sarcastic.
Necktwi has quit [Ping timeout: 246 seconds]
Necktwi has joined #lisp
dddddd_ has joined #lisp
<copec> Every remote now and then there is some nice novel syntax
dddddd has quit [Ping timeout: 240 seconds]
dddddd__ has joined #lisp
vidak` has quit [Read error: Connection reset by peer]
vidak` has joined #lisp
dddddd_ has quit [Ping timeout: 240 seconds]
spoeplau has quit [Quit: Leaving]
housel has quit [Read error: Connection reset by peer]
dddddd_ has joined #lisp
dddddd__ has quit [Ping timeout: 240 seconds]
dddddd__ has joined #lisp
rumbler3_ has quit [Remote host closed the connection]
bsd4me has joined #lisp
orivej has joined #lisp
dddddd_ has quit [Ping timeout: 240 seconds]
Bourne has quit [Ping timeout: 240 seconds]
Josh_2 has quit [Ping timeout: 264 seconds]
rumbler31 has joined #lisp
hasegawachan has joined #lisp
nicktick has joined #lisp
gendl has quit [Ping timeout: 244 seconds]
rme has quit [Ping timeout: 260 seconds]
terrorjack has quit [Ping timeout: 244 seconds]
jmercouris has quit [Read error: Connection reset by peer]
selwyn has quit [Read error: Connection reset by peer]
mpontillo has quit [Ping timeout: 260 seconds]
dddddd_ has joined #lisp
dddddd__ has quit [Ping timeout: 240 seconds]
mpontillo has joined #lisp
hasegawachan has quit [Quit: WeeChat 2.3]
tutti has quit [Ping timeout: 272 seconds]
bsd4me has quit [Ping timeout: 260 seconds]
terrorjack has joined #lisp
gendl has joined #lisp
jmercouris has joined #lisp
selwyn has joined #lisp
rme has joined #lisp
kaftejiman has quit [Remote host closed the connection]
epony has quit [Quit: reconfigure]
<markasoftware> phoe: maybe make all the metaclass instances inherit from a certain class, in the same way that all standard-class instances inherit from standard-object?
epony has joined #lisp
<markasoftware> I wrote this answer on SO a while ago: https://stackoverflow.com/a/63139872/1233320
nicktick has quit [Ping timeout: 256 seconds]
bsd4me has joined #lisp
grewal has joined #lisp
dra_ has joined #lisp
random-nick has quit [Ping timeout: 256 seconds]
mathrick has quit [Remote host closed the connection]
mathrick has joined #lisp
dra has quit [Ping timeout: 240 seconds]
mangoicedtea has joined #lisp
galex-713 has quit [Ping timeout: 272 seconds]
gal has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]