fikka has joined #lisp
orivej has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
turkja has joined #lisp
bjorkintosh has quit [Remote host closed the connection]
nullniverse has quit [Ping timeout: 248 seconds]
bjorkintosh has joined #lisp
vancan1ty has joined #lisp
emacsoma` has quit [Remote host closed the connection]
dra has joined #lisp
georgiy has quit [Quit: Leaving]
<dra> Hi. With slime-cl-indent in contribs the exports in defpackage (:export :foo :bar :baz) aren't indented correctly for me, "correctly" meaning exported symbols are aligned. Is this a known problem?
lisp_guest has quit [Ping timeout: 240 seconds]
papachan has joined #lisp
_paul0 has quit [Quit: Leaving]
sjl has joined #lisp
rumbler31 has quit [Remote host closed the connection]
fikka has joined #lisp
fortitude has quit [Quit: Leaving]
Bike_ has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
rocx has joined #lisp
Bike has quit [Ping timeout: 250 seconds]
happy-dude has quit [Quit: Connection closed for inactivity]
margeas has quit [Ping timeout: 260 seconds]
marvin2 has quit [Ping timeout: 240 seconds]
dra_ has joined #lisp
EvW has quit [Ping timeout: 240 seconds]
dra has quit [Ping timeout: 240 seconds]
vancan1ty has quit [Ping timeout: 250 seconds]
Bike_ is now known as Bike
z3t0 has joined #lisp
vancan1ty has joined #lisp
attila_lendvai has quit [Quit: Leaving.]
CrazyEddy has quit [Remote host closed the connection]
bmansurov has joined #lisp
CrazyEddy has joined #lisp
bmansurov has left #lisp [#lisp]
yakuza has joined #lisp
CrazyEddy has quit [Ping timeout: 240 seconds]
<yakuza> hi
vzerda has quit [Ping timeout: 240 seconds]
yrk has quit [Read error: Connection reset by peer]
<pjb> hi
python476 has joined #lisp
<python476> hello
<python476> i'm reading art of the mop, it's pretty nice to peel off CLOS metalevel, Im curious if you knew similar books (lisp or not)
z3t0 has quit [Remote host closed the connection]
z3t0 has joined #lisp
safe has joined #lisp
<yakuza> I'd venture say Lisp in Small Pieces, Let Over Lambda, SICP, Anatomy of Lisp, depending on what sort of metalevel you are interested in (then there's lambda calc and such mathematical theories)
<Bike> none of those are so much about designing a modifiable system in quite the same way, i don't think
<python476> I've some of them, they don't have the same metameta feel (if that makes sense)
daniel-s has joined #lisp
<yakuza> Oh I get it
<python476> I'm curious about reading Cantwell 3lisp (have been for years) for the reflection focus
<Bike> that thing is.... extremely thick
<Bike> i couldn't stand it. best of luck
<python476> in its wording or just the pagecount ?
<python476> i skimmed through the first pages long ago, I didnt drown but I remember thinking that this is not the typical computing book
z3t0 has quit [Ping timeout: 240 seconds]
BitPuffin|osx has quit [Ping timeout: 240 seconds]
<Bike> mostly the wording
<Bike> it's definitely non typical. it seemed almost wholly semantic
<Bike> like i'm readin whitehead or some shit
<python476> yeah, well summarized
<python476> an exercise in pure thinking in a way
z3t0 has joined #lisp
<python476> the more I read the more I get away from the machine, so now Im tempted by very abstract, even things that I would consider pure snob fluff years ago
<Bike> humility is a virtue.
z3t0 has quit [Client Quit]
<python476> what do you mean
<python476> it's not good to abstract too much ?
<Bike> no, just saying it's good you gave up on writing things off as snobbery.
space_otter has joined #lisp
<python476> I guess age shifts your perspective
<python476> one of the reason I don't like ageism, time teaches
<python476> or "youngism" I should say
damke has quit [Ping timeout: 240 seconds]
damke has joined #lisp
ramus_ is now known as ramus
fikka has joined #lisp
neoncontrails has quit [Ping timeout: 248 seconds]
rumbler31 has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
EvW1 has joined #lisp
z3t0 has joined #lisp
nika has joined #lisp
z3t0 has quit [Remote host closed the connection]
z3t0 has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
z3t0 has quit [Remote host closed the connection]
z3t0 has joined #lisp
z3t0 has quit [Client Quit]
d4ryus2 has joined #lisp
d4ryus1 has quit [Ping timeout: 258 seconds]
asarch has joined #lisp
zacts has quit [Quit: WeeChat 1.4]
zacts has joined #lisp
whoman has joined #lisp
python476 has quit [Ping timeout: 240 seconds]
pierpa has quit [Quit: Page closed]
vancan1ty has quit [Ping timeout: 250 seconds]
damke has quit [Ping timeout: 240 seconds]
sjl__ has joined #lisp
damke has joined #lisp
papachan has quit [Quit: WeeChat 0.4.2]
sjl has quit [Ping timeout: 248 seconds]
asarch has quit [Quit: Leaving]
vancan1ty has joined #lisp
sjl__ has quit [Ping timeout: 240 seconds]
<beach> Good morning everyone!
EvW1 has quit [Ping timeout: 240 seconds]
yakuza has quit [Ping timeout: 240 seconds]
<vutral> good morning beach
shenghi has quit [Remote host closed the connection]
shenghi has joined #lisp
damke_ has joined #lisp
damke has quit [Ping timeout: 240 seconds]
truename has quit [Ping timeout: 250 seconds]
xrash has quit [Remote host closed the connection]
HazWard has left #lisp ["WeeChat 1.9.1"]
gabiruh_ has quit [Ping timeout: 264 seconds]
truename has joined #lisp
CrazyEddy has joined #lisp
gabiruh has joined #lisp
CrazyEddy has quit [Changing host]
CrazyEddy has joined #lisp
Bike has quit [Quit: Lost terminal]
dddddd has quit [Remote host closed the connection]
safe has quit [Read error: Connection reset by peer]
christoph_debian has quit [Ping timeout: 248 seconds]
christoph_debian has joined #lisp
angavrilov has joined #lisp
daniel-s has quit [Remote host closed the connection]
vancan1ty has quit [Ping timeout: 240 seconds]
pjb has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
vancan1ty has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<dmiles> what is the fastest planner that is written in comonlisp ?
<pillton> planner?
<dmiles> planner = fastdownward
<dmiles> or shop2
<dmiles> that run on PDDL files
gigetoo has quit [Ping timeout: 248 seconds]
gigetoo has joined #lisp
<beach> Amazing how the three answers to a question immediately suggest three more questions. "fastdownward"? "shop2"? "PDDL"?
<dmiles> hehe
<dmiles> i could have started with: is there a faster planner in lisp than https://github.com/calyau/shop2 ?
schoppenhauer has quit [Ping timeout: 248 seconds]
schoppenhauer has joined #lisp
<dmiles> actually since its still maintained it might be taking on all the discoveries made each year
<dmiles> when one planner author finds out the secret of ohters in yearly compititions everyone else i think incorperates it
<edgar-rft> fourth question: what is meant with "fast"? I assume tat a slow planner can be faster on a simple plan than a fast planner on a complex plan?
Achylles has quit [Ping timeout: 264 seconds]
pjb has joined #lisp
<dmiles> fast means = consumes complex plans (tetris domains) like sugar water
<dmiles> super fast would mean able ot be used to play chess :P
<edgar-rft> even the slowest planner is capable to play chess if there's enough time
<dmiles> ah so i think i want the least slowest planner for chess in common lisp
<dmiles> (that is not chess specific of course)
nsrahmad has joined #lisp
<aeth> I was considering making a chess game as a Lisp game but I think that that is the road of spending the next 10 years on chess AI instead of a game.
<Zhivago> Just have the AI be a player.
<aeth> Well, maybe the game can be to provide an API for people to write their own AIs.
<aeth> "Here's a CL chess engine, now bring your own chess AI."
<aeth> I doubt there's a shortage of people interested in AI
damke has joined #lisp
<dmiles> well it might be better if you made an API to more than just Chess.. perhaps any game such as https://en.wikipedia.org/wiki/Stratego
<dmiles> oops not stratego! i meant https://en.wikipedia.org/wiki/Feudal_(game)
damke_ has quit [Ping timeout: 240 seconds]
<dmiles> feudal was like 3d chess when i was a kid
<aeth> Well, there was at least one game that was a bunch of board games. I remember playing one of these a long time ago. I didn't realize they made so many of them, though, so I don't know which one. (link to gamefaqs because they have so many games in their database) https://www.gamefaqs.com/search?game=hoyle+board+games
<aeth> probably the one from 2001 or 2002
<aeth> (Hoyle Board Games looks like one of those games that was/is rereleased almost every year.)
skali has joined #lisp
nsrahmad has quit [Quit: nsrahmad]
Mon_Ouie has joined #lisp
wheelsucker has joined #lisp
test1600 has joined #lisp
pjb has quit [Ping timeout: 240 seconds]
skali has quit [Ping timeout: 240 seconds]
Khisanth has quit [Ping timeout: 248 seconds]
vancan1ty has quit [Ping timeout: 250 seconds]
jameser has joined #lisp
Vagabond has joined #lisp
yangby has joined #lisp
Vagabond has quit [Quit: Page closed]
Khisanth has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skali has joined #lisp
AxelAlex has joined #lisp
<pillton> I think there are chess AIs that operate using standard input and standard output.
oleo has quit [Quit: Leaving]
<Zhivago> You might look at the existing chess protocols.
<pillton> aeth: crafty I think.
<Zhivago> Ah, FICS.
skali has quit [Ping timeout: 248 seconds]
Khisanth has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
<aeth> I've never used standard input in CL, actually.
<aeth> Is *standard-input* stdin?
fikka has quit [Ping timeout: 248 seconds]
Khisanth has joined #lisp
<pillton> It depends on the binding.
BigSafari has joined #lisp
<Ober> wow 7.1 much faster
lisp_guest has joined #lisp
zmt00 has quit [Quit: Leaving]
Karl_Dscc has joined #lisp
thebardian has joined #lisp
dec0n has joined #lisp
lisp_guest has quit [Ping timeout: 240 seconds]
<aeth> well, UCI and Winboard
LocaMocha has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
d4ryus2 is now known as d4ryus
<aeth> pillton, Zhivago: Thanks, I guess I was wrong about chess. Turns out there's a well-defined difference between chess engine and chess GUI through the two protocols (XBoard/WinBoard and UCI) so it actually isn't a monumental undertaking to make a chess GUI.
<aeth> of course, like KDE/Qt vs. GNOME/Gtk or RSS vs Atom or Emacs vs vim etc, there are two warring standards, because why not?
thebardian has quit [Remote host closed the connection]
<aeth> Or, alternatively "maybe the game can provide an API" was something people thought of in 2000 (UCI) and 1994 (xboard)
knobo has quit [Ping timeout: 268 seconds]
skali has joined #lisp
skali has quit [Ping timeout: 240 seconds]
vlatkoB has joined #lisp
kjak has quit [Read error: Connection reset by peer]
kjak has joined #lisp
Mon_Ouie has quit [Ping timeout: 248 seconds]
BigSafari has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kolko has quit [Quit: ZNC - http://znc.in]
mishoo_ has joined #lisp
flamebeard has joined #lisp
kolko has joined #lisp
BigSafari has joined #lisp
BigSafari has quit [Client Quit]
varjag has joined #lisp
<aeth> How do I read output? I can do with-output-to-string, but that will take all the output. What if I want to read it one line at a time, like with read-line when I'm reading a file?
<loke`> aeth: with-input-from-string?
knobo has joined #lisp
<aeth> I don't understand
Cymew has joined #lisp
skali has joined #lisp
<aeth> I'll clarify my question. I can take a UCI chess engine, e.g. stockfish (no idea if it's good, it's just UCI and in Fedora's repos), like this: (with-output-to-string (out) (with-input-from-string (in "uci") (uiop/run-program:run-program "stockfish" :output out :input in) out))
Mon_Ouie has joined #lisp
Cymew has quit [Remote host closed the connection]
<aeth> That will give it the command uci (which starts the program) and it'll speak a bunch of things to the string out
<aeth> but it looks like it's a line oriented-protocol, i.e. I should be parsing each line into its own string, to then handle
dec0n_ has joined #lisp
Tobbi has joined #lisp
damke_ has joined #lisp
sjl__ has joined #lisp
<aeth> What it looks like I should be doing instead with uiop's run-program is having a loop where I send the program one or more lines of input through in and then read one line of output at a time through out.
damke has quit [Ping timeout: 240 seconds]
<aeth> (Actually, sending it things will be based on clicks and not automatic, but that's a long way away.)
fikka has joined #lisp
dec0n has quit [Ping timeout: 248 seconds]
skali has quit [Ping timeout: 264 seconds]
damke_ has quit [Ping timeout: 240 seconds]
<aeth> If it was a file with one-line commands instead of output from an external program it would be something like this: (with-open-file (foo #P"~/foo.foobar") (some-loop-thing (do-something-with-each-line (read-line foo))))
sjl__ has quit [Ping timeout: 248 seconds]
caseyowo has quit [Ping timeout: 248 seconds]
damke_ has joined #lisp
klltkr has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jasom> aeth: doing that right is very hard with pipes on unix (ignoring the question of lisp)
vlatkoB has quit [Remote host closed the connection]
Murii has joined #lisp
vlatkoB has joined #lisp
shka has quit [Ping timeout: 248 seconds]
thebardian has joined #lisp
resttime has joined #lisp
resttime has quit [Quit: Leaving]
Cymew has quit [Remote host closed the connection]
Tobbi has joined #lisp
Cymew has joined #lisp
space_otter has quit [Remote host closed the connection]
Cymew has quit [Remote host closed the connection]
Cymew has joined #lisp
damke has joined #lisp
damke_ has quit [Ping timeout: 240 seconds]
scymtym has quit [Ping timeout: 240 seconds]
Oladon has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
Oladon has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
hhdave has joined #lisp
hhdave has quit [Client Quit]
skali has joined #lisp
skali has quit [Ping timeout: 248 seconds]
skali has joined #lisp
hhdave has joined #lisp
_cosmonaut_ has joined #lisp
drcode has joined #lisp
skali has quit [Ping timeout: 248 seconds]
skali has joined #lisp
scymtym has joined #lisp
dfhakh has joined #lisp
borei has joined #lisp
<borei> hi all
ioa1 has joined #lisp
sysx1000 has joined #lisp
sjl has joined #lisp
damke_ has joined #lisp
vlatkoB has quit [Remote host closed the connection]
Oladon has quit [Ping timeout: 248 seconds]
damke has quit [Ping timeout: 240 seconds]
ioa1 has quit [Quit: Leaving.]
fikka has joined #lisp
ioa1 has joined #lisp
ioa1 has quit [Quit: Leaving.]
skali has quit [Ping timeout: 260 seconds]
Oladon has joined #lisp
skali has joined #lisp
strelox has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
skali has quit [Ping timeout: 248 seconds]
Ellenor is now known as Reinhilde
m00natic has joined #lisp
scymtym has quit [Read error: Connection reset by peer]
scymtym_ has joined #lisp
cpape` is now known as cpape
mrottenkolber has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
sz0 has joined #lisp
mrottenkolber has joined #lisp
WorldControl has joined #lisp
mrottenkolber is now known as Guest33527
nika has quit [Remote host closed the connection]
jmercouris has joined #lisp
damke has joined #lisp
damke_ has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Ping timeout: 260 seconds]
test1600 has quit [Read error: Connection reset by peer]
test1600 has joined #lisp
Cymew has quit [Remote host closed the connection]
sjl has quit [Ping timeout: 240 seconds]
Guest33527 has left #lisp [#lisp]
mrottenkolber has joined #lisp
EvW has joined #lisp
Oladon has quit [Ping timeout: 264 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Oladon has joined #lisp
ssake has quit [Remote host closed the connection]
Achylles has joined #lisp
fikka has joined #lisp
Patzy has quit [Quit: leaving]
Patzy has joined #lisp
attila_lendvai has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
malice has joined #lisp
wxie has joined #lisp
Cymew has joined #lisp
dec0n_ has quit [Read error: Connection reset by peer]
fikka has joined #lisp
dec0n has joined #lisp
Amplituhedron has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
bigos has joined #lisp
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #lisp
test1600_ has joined #lisp
minion has quit [Remote host closed the connection]
klltkr_ has joined #lisp
minion has joined #lisp
vibs29 has quit [Ping timeout: 248 seconds]
test1600 has quit [Ping timeout: 248 seconds]
klltkr has quit [Ping timeout: 248 seconds]
vibs29 has joined #lisp
wxie has quit [Remote host closed the connection]
fikka has joined #lisp
<malice> What's the difference between the DECLAIM in top-level and PROCLAIM?
<malice> It looks like the effect would be the same, eventually DECLAIM would shadow the previous PROCLAIM?
<Shinmera> One is a macro and one is a function.
dddddd has joined #lisp
whoman has quit [Quit: Leaving]
EvW has quit [Ping timeout: 250 seconds]
<malice> And the effective difference, as in the observable effects?
fikka has quit [Ping timeout: 240 seconds]
<Shinmera> Well, PROCLAIM being a function, it is not evaluated at compile-time.
<Shinmera> The clhs entries on these are not long. Just read them.
<malice> Well, I guess I'll use declaim. Thank you.
fikka has joined #lisp
_cosmonaut_1 has joined #lisp
_cosmonaut_ has quit [Ping timeout: 248 seconds]
margeas has joined #lisp
knobo has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 248 seconds]
knobo has joined #lisp
quazimodo has joined #lisp
_cosmonaut_ has joined #lisp
_cosmonaut_1 has quit [Ping timeout: 268 seconds]
Amplituhedron has quit [Ping timeout: 240 seconds]
EvW1 has joined #lisp
jameser has joined #lisp
pjb has joined #lisp
lisp_guest has joined #lisp
raynold has quit [Quit: Connection closed for inactivity]
fikka has joined #lisp
Amplituhedron has joined #lisp
Bike has joined #lisp
__Lorn__ has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
dilated_dinosaur has quit [Remote host closed the connection]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has joined #lisp
EvW1 has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 240 seconds]
Amplituhedron has quit [Ping timeout: 268 seconds]
EvW has joined #lisp
rpg has joined #lisp
damke_ has joined #lisp
damke has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
Devon has joined #lisp
Bike has quit [Ping timeout: 252 seconds]
fikka has quit [Ping timeout: 268 seconds]
pillton has quit [Ping timeout: 248 seconds]
EvW has quit [Ping timeout: 246 seconds]
Josh_2 has joined #lisp
narendraj9 has joined #lisp
<hjudt> Shinmera: i've got a problem with radiance setup: when i call the server from another machine, any links that get generated by r-clip are transformed into localhost://. example: <a href="#" @href="/some/resource/on/this/server/{0} *">...
EvW1 has joined #lisp
fikka has joined #lisp
<hjudt> i mean, this happens on the same machine too of course. is this something defined by https://github.com/Shirakumo/radiance/blob/master/default-config.lisp?
nsrahmad has joined #lisp
<hjudt> that would probably be the domains part which i need to change?
fikka has quit [Ping timeout: 252 seconds]
<Shinmera> How are you accessing the pages from your other machine?
<Shinmera> Like, what URL are you using?
bigos has quit [Remote host closed the connection]
<hjudt> i want to use the machine's hostname or ip address
<Shinmera> Okey. Well, in order to be able to differentiate what are subdomains and what aren't, Radiance needs to know about potential "top level domains". So you need to add all the domains to the configuration.
<Shinmera> I thought I wrote about how to do that somewhere, hold on
<hjudt> how can i change the configuration? is it possible on the fly?
<Shinmera> It is.
<Shinmera> ::look up radiance add-domain
<Colleen> Function radiance-core:add-domain https://shirakumo.github.io/radiance#FUNCTION%20RADIANCE-CORE%3AADD-DOMAIN
nsrahmad has quit [Quit: nsrahmad]
Denommus has joined #lisp
skali has joined #lisp
quazimodo has quit [Ping timeout: 268 seconds]
<hjudt> i have added "my-machine" with radiance-core:add-domain, but that didn't help. the links generated are still "localhost:8080/project/some-other-page".
<Shinmera> What is the link you're using in the browser?
<Shinmera> Hrm, okey, hold on.
<hjudt> i am not using uri-to-url by the way
<Shinmera> ... then what are you using?
Bike has joined #lisp
<hjudt> only what i wrote above. <a href="#" @href="/some/resource/on/this/server/{0} *">...
fikka has joined #lisp
<Shinmera> @href uses uri-to-url
<hjudt> ok, i thought so
<hjudt> iirc r-clip docs say so
<Shinmera> It's possible :)
<hjudt> the result of add-domain was ("my-machine" "radiance" "localhost" "127.0.0.1" "::1")
<Shinmera> Yeah, just give me a while, I'm testing stuff.
skali has quit [Ping timeout: 248 seconds]
<hjudt> i will also see if i didn't miss saving the template...
<hjudt> but it shouldn't matter
<hjudt> i have removed "localhost" and "radiance" using radiance-core:remove-domain, but it didn't help.
fikka has quit [Ping timeout: 240 seconds]
<Shinmera> Ooohh. It's a bug.
<Shinmera> I'm a dumbass.
<Shinmera> Sec
<Shinmera> Try (setf radiance::*domain-internalizers* (radiance::compile-domain-internalizers))
<Shinmera> Fix is out now, so if you (ql:update-dist "shirakumo") you should have the fix to make add/remove-domain work.
<hjudt> yes, this fixed it
<Shinmera> Great!
<hjudt> now what would be a good place to configure this?
<Shinmera> Add-domain already updates the configuration for you
<hjudt> ok. would there be any reason to remove e.g. "radiance" which is added by default?
<hjudt> s/added/set
<Shinmera> Tiny performance gains in some cases? Keeping things clean? Idk.
fikka has joined #lisp
<Shinmera> I can't think of a case where it would actively hurt.
<hjudt> ok, other question related to this. i could e.g. change the database implementation as described here: https://github.com/Shirakumo/radiance-tutorial/blob/master/Part%207.md
<hjudt> where would i do this? in another programming language or setup i could simply edit a configuration file. how would i do this with radiance?
<Shinmera> It's in the same configuration file as the domains. (uiop:native-namestring (mconfig-pathname :radiance))
<Shinmera> You can change the mapping either in there manually or with (mconfig :radiance :interfaces :database)
<hjudt> ok. and then i would have to restart radiance, as told by the tutorial, right?
<Shinmera> Yes. Implementations of interfaces generally can't be switched out on the fly.
fikka has quit [Ping timeout: 258 seconds]
<hjudt> that's ok. as a newbie, this is not trivial. it is also not written in the documentation as far as i could see, especially the stuff with the mconfig pathname. thanks for your help
<Shinmera> ::look up radiance 1.11
<hjudt> you did write something about it in the deployment part of your tutorial though...
<Shinmera> Yes, though it's not very elaborate.
<Shinmera> I should probably write about it in a bit more length somewhere, but I'm not sure where to stuff it.
fikka has joined #lisp
<hjudt> Colleen: thanks. that at least lists some stuff. it is just so weird and strange from anything one can find out there (speaking of non-lispy stuff) that i probably am not used to deal with it this way. to be more explanatory, i have glanced over this stuff (1.11 environment), but at the time i read it i did not know what to do with this kind of information.
<Colleen> Unknown command. Possible matches: 8, grant, time, tell, say, mop, block, award, roll, help,
<hjudt> ok, colleen is the bot
<Shinmera> Yeah, it's a reference document, so it's not really great for telling you what to do with it.
<hjudt> Shinmera: just a suggestion: imho, there is no need to explain every function, but what is missing is "here is the default config. if you want to change anything, you have to..."
<Shinmera> Should probably talk about it in the tutorial somewhere.
mson has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<hjudt> maybe at the start of the tutorial mention "This gets you quickly started with radiance on your local machine. If you want to set it up to be accessible from other machines or change the default configuration, follow the instructions at the end of the tutorial...", referencing Page 7 and adding a "Changing configuration" section there?
nzambe has quit [Remote host closed the connection]
<Shinmera> Maybe even a Pt. 8 with other assorted "need to know" things.
dilated_dinosaur has joined #lisp
<hjudt> probably. part 7 has grown very long already.
<Shinmera> The domains thing in particular is obscured because the bootstrapper already configures that for you
<Shinmera> So it is, technically, covered in 7, just not in a way you would be able to realise.
narendraj9 has quit [Ping timeout: 260 seconds]
<hjudt> when i started with radiance, i didn't even use r-clip, but used uri-to-url directly and wondered why it didn't work.
<Shinmera> Sorry!
<hjudt> so it is important enough to mention it somewhere separately i think
<Shinmera> Yes, definitely.
<hjudt> no need to be sorry. i am a tester now ;-)
<Shinmera> There's a few people using radiance now, from what I've heard, but I haven't gotten much feedback yet, so it is possible there's other corners that aren't working quite right.
<hjudt> Part 0 would be a good place to mention where to look further for configuration: https://github.com/Shirakumo/radiance-tutorial/blob/master/Part%200.md
<hjudt> it is also still rather short, so it won't look too confusing
<Shinmera> I'll file it on my todo
__Lorn__ has quit [Ping timeout: 240 seconds]
<Shinmera> Need to do read some papers now
<hjudt> sure, thanks
test1600_ has quit [Read error: Connection reset by peer]
paule32 has joined #lisp
<paule32> hello
<paule32> i have following code:
<paule32> like you can see, the topic is electronics
<paule32> is line 46 and forward right?
EvW1 has quit [Ping timeout: 258 seconds]
AxelAlex has quit [Ping timeout: 240 seconds]
yrk has joined #lisp
<Josh_2> Idk but instead of (if .. (if .. you could just do (if (zerop (and inp inm))
<Josh_2> and you don't drop the ) onto new lines
<Josh_2> also (if <condition>
fikka has joined #lisp
<Josh_2> oops (if <condition> <if true do this> <if false do this>) so I'm not sure if on line 9 you meant to (setq out-state 0) regardless of whether the condition is true or false
<paule32> hi Josh_2
<Josh_2> If you want to do multiple things if it is true/false then you need to wrap them in a (progn ..)
<paule32> can you provide a small example, of a power circle?
<paule32> with a and-circuit
fikka has quit [Ping timeout: 260 seconds]
norserob has quit [Quit: leaving]
fikka has joined #lisp
<pjb> Josh_2: (defun and-circuit (a b) (logand 1 (logand a b)))
<Josh_2> That's an even better way
<pjb> Of course. Just fucking use booleans! (and a b)
<beach> Josh_2: Your code is badly indented.
<Josh_2> How so?
<beach> Josh_2: Indent it with SLIME and you will see.
<Josh_2> I did indent it with slime
<beach> Then your pastebin must have screwed up the indentation.
<Josh_2> I wrote the function straight into repl
<beach> And then you removed the prompt?
<beach> ... before pasting?
<Josh_2> Nope
<Josh_2> I see the problem
Guest84675 has quit [Remote host closed the connection]
Mon_Ouie has quit [Quit: WeeChat 1.9.1]
<beach> Josh_2: Also, you need to know that many attempts have been made to help paule32, and he hasn't followed a single piece of advice he has been given. For example, the thing about not preceding closing parentheses with whitespace has been given a very large number of times. I am telling you this, because you are very likely wasting your time trying to be helpful in this case.
fikka has quit [Ping timeout: 260 seconds]
<paule32> and how can i code a power circle with 2 and's ?
attila_lendvai has quit [Quit: Leaving.]
Tobbi has joined #lisp
<beach> It has been explained to him over and over that it is highly impolite to submit code for others to read if it does not follow widely agreed-upon conventions, and these conventions have been explained many many times. Despite this fact, paule32 continues this very impolite behavior, while still demanding help.
<Josh_2> I feel just a little sick reading the code
<beach> Yes, and getting such feelings across seems impossible.
nika_ has joined #lisp
<Josh_2> beach: I'll just shh myself
nika_ has quit [Remote host closed the connection]
oleo has joined #lisp
fikka has joined #lisp
okflo has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
papachan has joined #lisp
sjl has joined #lisp
AxelAlex has joined #lisp
<pjb> Josh_2: power circles are CIRCLES! They cannot be represented by a single integer, and they cannot be coded with two AND or any number of IF!
<pjb> Josh_2: you need a more complex representation. For a power cicle you'd need at least a point (two coordinates) and a radius (one coordinate). So you need a structure or a vector with 3 slots.
<pjb> Furthermore your circuit will be in a given state, so you will need an angle at a given time.
Jesin has quit [Quit: Leaving]
sjl has quit [Ping timeout: 240 seconds]
<pjb> And even more to represent the phasors.
<Josh_2> Well that causes a few problems then
<pjb> Sorry, s/Josh_2/paule32/
<pjb> paule32: ^
sjl has joined #lisp
<paule32> how can i code such slots? for the simple power source + and - , and electrical metal leader
<pjb> Well, you would have to learn lisp. Lisp provides various data types that you can use to code such slots.
<Bike> what is a power circle?
<paule32> i mean a simple power source
<paule32> with the two poles + and -
sz0 has quit [Quit: Connection closed for inactivity]
<pjb> Bike: a device to help computing stuff about power lines.
jmercouris has quit [Ping timeout: 248 seconds]
<pjb> paule32: a power source doesn't simply have two poles. It provides tension intensity, it has an electro-motrice force, etc.
fikka has joined #lisp
<beach> Bike: And "tension" is the correct term for what Americans incorrectly call "voltage", in case you wonder.
knobo has quit [Ping timeout: 240 seconds]
<Bike> no, i know that one
<beach> Good.
<beach> "amperage" should be "current", "mileage" should be "distance", "wattage" should be "power", etc.
<Bike> voltage is the only one i actually got in my EE classes
<beach> "mileage" is of course sometimes "fuel efficiency".
<Bike> yeah i was going to say.
<Bike> anyway, so this power circle thing is like, phasors? i'm just asking out of curiosity, all teh stuff i learned was microelectronics
<Bike> i only know a bit of transmission line stuff from biology
<beach> But Americans usually say "how tall are your?" rather than "what is your footage and inchage?".
<Bike> in europe, they say "metrage"
<pjb> Bike: well, I don't reallay know anything about it, I just googled power circle five minutes ago…
Cymew has quit [Remote host closed the connection]
<Bike> i see. i found some ieee papers from the 50s but none of them were introductory.
<beach> Bike: Unfortunately, in France they use "metrage" for movie films.
Jesin has joined #lisp
<pjb> yes, because movie films are measured by length.
<beach> pjb: Doesn't give then an excuse to use a particular unit, rather than just "film length".
Cymew has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
<pjb> "métrage" is the generic term for any kind length, not only firms.
<beach> *sigh*
<pjb> It's also the action to measure.
<beach> That's true.
<Bike> as far as measurements go i'm just glad they're redefining amps to be physically measurable and kilograms to be something other than "the mass of this one lump of platinum alloy in france"
<pjb> And short movies are called "Court-métrage".
rumbler31 has joined #lisp
LiamH has joined #lisp
tumdum_ has joined #lisp
nika_ has joined #lisp
__Lorn__ has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
__Lorn__ has quit [Ping timeout: 268 seconds]
python476 has joined #lisp
fikka has joined #lisp
sz0 has joined #lisp
narendraj9 has joined #lisp
Oladon has quit [Read error: Connection reset by peer]
pfdietz has quit []
dyelar has joined #lisp
Oladon has joined #lisp
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 258 seconds]
rippa has joined #lisp
narendraj9 has quit [Ping timeout: 240 seconds]
papachan has quit [Quit: Saliendo]
__Lorn__ has joined #lisp
fikka has joined #lisp
strelox` has joined #lisp
strelox has quit [Ping timeout: 258 seconds]
papachan has joined #lisp
caseyowo has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
tumdum_ is now known as tumdum
tumdum has quit [Changing host]
tumdum has joined #lisp
Cymew has quit [Remote host closed the connection]
scymtym_ has quit [Ping timeout: 240 seconds]
hexfive has joined #lisp
asarch has joined #lisp
EvW has joined #lisp
flamebeard has quit [Quit: Leaving]
DGASAU has joined #lisp
fikka has joined #lisp
happy-dude has joined #lisp
__Lorn__ has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 240 seconds]
Jesin has quit [Quit: Leaving]
user9829 has joined #lisp
user9829 has left #lisp [#lisp]
<pjb> beach: perhaps a new outlet: https://www.shift-society.org/salon/2018/
narendraj9 has joined #lisp
Jesin has joined #lisp
__Lorn__ has joined #lisp
dec0n has quit [Read error: Connection reset by peer]
Arcaelyx has joined #lisp
AxelAlex has quit [Remote host closed the connection]
AxelAlex has joined #lisp
manualcrank has joined #lisp
fikka has joined #lisp
AxelAlex has quit [Ping timeout: 248 seconds]
Poeticode is now known as Aeres__
Aeres__ is now known as Poeticode
vlatkoB has joined #lisp
jdz has quit [Ping timeout: 264 seconds]
Poeticode is now known as Aeres___
Aeres___ is now known as Poeticode
fikka has quit [Ping timeout: 250 seconds]
margeas is now known as mvorg
EvW has quit [Ping timeout: 240 seconds]
wheelsucker has quit [Quit: Client Quit]
WorldControl has quit [Quit: Ex Chat]
jdz has joined #lisp
fikka has joined #lisp
dilated_dinosaur has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
pjb has quit [Ping timeout: 240 seconds]
dilated_dinosaur has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
rocx has quit [Quit: classes]
Arcaelyx has quit [Read error: Connection reset by peer]
Xal has quit [Ping timeout: 240 seconds]
Arcaelyx has joined #lisp
pjb has joined #lisp
Xal has joined #lisp
vlatkoB has quit [Remote host closed the connection]
thinkpad has quit [Ping timeout: 248 seconds]
FreeBirdLjj has joined #lisp
strelox` has quit [Remote host closed the connection]
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
narendraj9 has quit [Ping timeout: 248 seconds]
yangby has quit [Quit: Go out for a walk and buy a drink.]
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
random-nick has joined #lisp
juki has joined #lisp
mvorg is now known as margeas
mson has quit [Quit: Connection closed for inactivity]
fikka has joined #lisp
moei has quit [Quit: Leaving...]
juki` has joined #lisp
juki` has left #lisp [#lisp]
damke has joined #lisp
<Josh_2> is there a loop keyword to skip an iteration of a loop?
<Josh_2> based on a condition
damke_ has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
<Bike> you can put code in a conditional block
<Bike> like "unless (test) collect thing"
juki has quit [Ping timeout: 260 seconds]
<rpg> I think ITERATE has (next) or something like that
foom2 is now known as foom
<Josh_2> Can I use :unless condition :unless?
<rpg> Josh_2: Yes, but be careful! The nesting of conditionals in LOOP is nasty (one of the big reasons for my preference for ITERATE)
nika has joined #lisp
fikka has joined #lisp
<sjl> with iterate you could do (unless foo ...rest of the body here...), or use (when foo (next-iteration))
<sjl> (the first one is just the vanilla cl UNLESS)
<Josh_2> hmm, maybe I should look into iterate then
<Josh_2> To break out of a loop early I use return right?
<Fade> you definitely can.
<Josh_2> if I use the function (return) inside of a :do does that cause the function to return?
<Josh_2> or the call to (loop..
varjag has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
fikka has quit [Ping timeout: 248 seconds]
damke has quit [Ping timeout: 240 seconds]
wheelsucker has joined #lisp
<Fade> in fact, Practical Common Lisp is a good source for any fundamental questions.
__Lorn__ has quit [Ping timeout: 248 seconds]
sysx1000 has quit [Ping timeout: 248 seconds]
<Fade> minion, tell Josh_2 about PCL
<minion> Josh_2: direct your attention towards 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).
<sjl> > Expansion of the loop macro produces an implicit block named nil unless named is supplied. Thus, return-from (and sometimes return) can be used to return values from loop or to exit loop.
<sjl> note that there's also a loop clause named return
<sjl> the "Setting up and Tearing Down" section of PCL that Fade linked covers your options
dfhakh has quit [Ping timeout: 260 seconds]
jibanes has quit [Ping timeout: 252 seconds]
<Josh_2> Yes I found my answer thanks
stnutt has joined #lisp
<Josh_2> Am gonna use (loop-finish) :D
jibanes has joined #lisp
sz0 has quit [Quit: Connection closed for inactivity]
fikka has joined #lisp
<solene> hello, I don't know much about GUI toolkits. What lib would you recommend me for writing a GUI app in common lisp ?
<sjl> Josh_2: if it's just a simple test you can do it with LOOP's until
jmercouris has joined #lisp
<mrottenkolber> solene: on what operating system shall the program run?
<solene> mrottenkolber, linux/freebsd/openbsd mainly
<solene> I don't need complex widgets too
SaganMan has joined #lisp
<mrottenkolber> solene: does it have to look modern?
<solene> no
raynold has joined #lisp
<mrottenkolber> solene: maybe give mcclim a try https://common-lisp.net/project/mcclim/
<turkja> Damn it sucks that firefox quantum drops the legacy API... i had to write this: https://bitbucket.org/turkja/mitmcheck/src/
<solene> mrottenkolber, that seem to fit my need :)
<turkja> (but otoh it was a pleasure :D )
<mrottenkolber> solene: alternatively there are some good Qt bindings for CL, but I don’t know which project specifically I should point to. McCLIM experts hang out in #clim
<solene> I'm afraid that Qt would be too complicated isn't it ?
<mrottenkolber> solene: I share that fear of Qt
<mrottenkolber> but I haven’t done any GUI programming in CL so \o/
hhdave has quit [Ping timeout: 248 seconds]
<emaczen> solene: If you have a Mac I would recommend using CCL's builtin cocoa-bridge
vlatkoB has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
narendraj9 has joined #lisp
<SaganMan> Hello peeps
nika has quit [Remote host closed the connection]
fikka has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
<sjl> qtools makes using Qt from Lisp less painful, but unfortunately it's built on an older version of Qt that's beginning to bitrot
k-stz has joined #lisp
<sjl> There's also Lispworks' thing if you've got cash to burn for a license.
scymtym has joined #lisp
fikka has joined #lisp
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has quit [Ping timeout: 255 seconds]
<Josh_2> sjl: it is a simple test, but I have to do something and then break out of the loop so I have used (progn some-stuff (loop-finish))
Karl_Dscc has joined #lisp
FreeBird_ has joined #lisp
random-nick has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
Amplituhedron has joined #lisp
shka has joined #lisp
<Josh_2> So i've ported two algorithms from C like languages and they don't look particularly nice, they are just the same procedural code but in CL, am I going to be murdered for doing that? I'm not really sure how to do it any other way
nika_ has quit [Quit: Leaving...]
<Bike> why would anyone murder you for that? that would be a pretty pathetic reason to break the law
<Bike> anyway, you can do a straight port like that but it's possible there's a "lispier" way to do it
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Kaisyu has quit [Quit: Connection closed for inactivity]
<Josh_2> I think I may spend tomorrow trying to make my ports lispier, I'm sure with lots of study I'll be able to understand the algorithms enough to make them look nicer
m00natic has quit [Remote host closed the connection]
optikalmouse has joined #lisp
FreeBird_ has quit [Ping timeout: 240 seconds]
knobo has joined #lisp
<pjb> Josh_2: lispier doesn't necessarily make the algorithm better or the implementation faster.
<pjb> Josh_2: you can keep the ugly algorithm, if it's working good or fast, and just wrap it in a lispy API.
<Josh_2> Alright :)
<pjb> Josh_2: eg. if you have a graph algorithm using vectors of small and compact ints as nodes, you may keep the uglyness, but wrap it in a function that would map a list of symbols or other lisp objects to the fixnums.
Tobbi has joined #lisp
<Josh_2> Well both the algorithms are fuzzy string matchers
<shka> good evening!
alexmlw has joined #lisp
<pjb> Josh_2: so as long as your API takes lisp strings, you can do anything inside. Like converting strings to trees of fixnums (using code-char), etc.
<pjb> Josh_2: functional abstractions; we don't care what's inside as long as it's bug-free, and does the job.
<Josh_2> Alright thanks for the heads up!
fikka has joined #lisp
<turkja> but there's nothing wrong in writing lisp like C, it's still better than writing C like C
AxelAlex has joined #lisp
<pjb> indeed
<shka> Josh_2: i fully agree with pjb, as a example, this is clustering algorithm i implemented recently, notice how ugly it is underneath
<shka> i think i could make it slightly prettier, but frankly, API is reasonable
<shka> so why should i care?
Amplituhedron has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 248 seconds]
<shka> well, i still want to clean it
<mrottenkolber> shka: yeah too be honest that looks kinda brutal
<shka> was in the hurry
Jesin has quit [Quit: Leaving]
<jmercouris> shka: Yeah, I don't know I agree with that, as the underlying maintainer, you should care, as you will have to expand and fix the code when it breaks
<jmercouris> Users of your API should not concern themselves, but you yourself should
<shka> but the point is, some things are just slightly more complicated
FreeBirdLjj has quit [Ping timeout: 248 seconds]
<pjb> I would dare to say that absolutely ALL the algorithms in TAOCP look ugly in lisp.
<takitus> pjb: But there are plenty of algorithms with an elegant functional expression that look horrible in imperative form, as well.
<pjb> sure
<jmercouris> takitus: Far fewer though
<jmercouris> Basically 99% of algorithms look much better procedural style
<jmercouris> *disclaimer* I made up that number
<takitus> jmercouris: I suppose it's a matter of taste, but just clearing out the forest of assignments seems to improve clarity. Quicksort comes to mind.
<shka> there is no, by definition, fully functional implementation of quicksort
<takitus> shka: I meant improvements in clarity, not that it's a good algorithm :)
<shka> well, yes
<shka> but i guess it is very subjective area
<takitus> Computational aesthetics?
<jmercouris> I should think though that it really doesn't matter, as 99% of the job of programmers is not algorithm implementation, but glue code and object relationship structuring, and edge cases
<shka> for instance, I am fine as long as main loop is tidy
<shka> so i can follow basic steps
sjl__ has joined #lisp
<jmercouris> (defun main () (call-function-i-copied-all-code-to (arg1 ... arg99))
<shka> but other than that, i don't care that much
<shka> for instance, in this paste
<shka> choose medoids, assign data, choose efective medoids, check if we are done, post processing
<pjb> jmercouris: what is the function arg1?
sjl has quit [Disconnected by services]
<takitus> jmercouris: Since the job of a programmer is to describe a computation, I should think that knowing how to express computations elegantly would be very important.
sjl__ is now known as sjl
<jmercouris> pjb: I'm joking that the user is passing several hundred args from their main function
AxelAlex has quit [Quit: AxelAlex]
fikka has joined #lisp
<paule32> hello
<paule32> i have a problem with a class
<paule32> the pid shall stand for programm id
<paule32> or process id
<Josh_2> paule32: You haven't dropped the parens to new lines *thumbs up*
<shka> jmercouris: sounds like everything ever in R
malice has quit [Remote host closed the connection]
<pjb> jmercouris: function arguments are passed directly, you don't put them in parentheses! This is lisp!
<pjb> (call-function-i-copied-all-code-to arg1 ... arg99)
<jmercouris> pjb: You can pretend it's a macro :D, sorry I was thinking in python mode for a second there
fikka has quit [Ping timeout: 240 seconds]
<pjb> paule32: you can use the backtrace debugger command to see the stack of called functions, so you may get an idea of where you've done the mistake.
<pjb> paule32: it seems you've pasted incomplete code, since there's no make-instance 'application-gui in it.
<paule32> oh, sorry
<paule32> i think, we think the same
fikka has joined #lisp
<paule32> pjn: i use sbcl and run program, then type in "start"
<paule32> (SB-C:COMPILER-ERROR SB-C::INPUT-ERROR-IN-COMPILE-FILE :CONDITION #<SB-INT:SIMPLE-READER-ERROR "unmatched close parenthesis" {1003130DB3}> :STREAM #<SB-SYS:FD-STREAM for "file /home/jens/Projekte/ai/test/kallup.lisp" {1005CEC513}>)
<paule32> is a little bit magic, to find the parens
fikka has quit [Ping timeout: 248 seconds]
zmt00 has joined #lisp
<SaganMan> I just realized let* is nested let
skali has joined #lisp
skali has quit [Client Quit]
fikka has joined #lisp
<paule32> ah o got it
<paule32> i find the feature of intelsense - where parentens checked which is open or closed
<paule32> seems no write rights here, because i have to enable this by each start of the editor
fikka has quit [Ping timeout: 240 seconds]
turkja has quit [Read error: Connection reset by peer]
Achylles has quit [Ping timeout: 258 seconds]
<pjb> paule32: you're programming lisp with Visual Studio?
<paule32> haha, no
okflo has quit [Remote host closed the connection]
<pjb> There's no intelsense in emacs.
thebardian has quit [Remote host closed the connection]
<paule32> but highlightnig
Bike has quit [Read error: Connection reset by peer]
Bike has joined #lisp
fikka has joined #lisp
<jmercouris> paule32: What are you using to program?
<paule32> gnome gedit
narendraj9 has quit [Remote host closed the connection]
<jmercouris> paule32: Use a proper editor, and you'll have far fewer problems
<pjb> yeah, use emacs.
<pjb> Currently, you're programming blindfolded and both hands tied in the back…
<paule32> hui
<paule32> >.>
<jmercouris> You might as well be programming only using terminal redirection
<paule32> i have a problem with progn : https://pastebin.com/S43veXbG
<paule32> i do this, both
<Zhivago> Asking a question about it might be useful.
<paule32> i am currently under gui
<paule32> plus tui console
<paule32> with nano
<Zhivago> Are you wearing pants?
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LocaMocha has quit [Ping timeout: 248 seconds]
<paule32> haha, no
<jmercouris> Wait, are you actually programming with nano?
<paule32> yes
<Zhivago> Ok. Feel free to give us more irrelevant background information while you work on forming a question.
<jmercouris> beach: I think you were right about paule32
<Bike> this is why the goddess in her wisdom gave us the metnal capacity required to ignore things.
<paule32> whats up? pants != shoes ?
<Bike> the mental capacity and irc client options
fortitude has joined #lisp
<paule32> s
Amplituhedron has joined #lisp
<Josh_2> paule32: you gotta use Emacs and slime
<paule32> no, i lost at install slime
thebardian has joined #lisp
<paule32> but the gurus here have no time for greenhorns
<paule32> to help
<Zhivago> paule32: Complain after you learn how to ask questions.
<jmercouris> paule32: Wenn du problemen hast, du kannst mal auch in deutsch fragen, vielleicht es gibt jemanden dass ihnen hilfen kann
<jmercouris> Just message them in private chat to avoid polluting this main channel
Tobbi has joined #lisp
<sukaeto> "the gurus" here have no time for someone who is going to talk at them and then ignore any advice they give
<paule32> that is assumptation
<paule32> not real
<sukaeto> it is an observation of what has actually happened
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<paule32> i have to translate all messages, and follow the red line
<Josh_2> paule32: Get emacs and slime http://lisp-lang.org/learn/getting-started/
<jmercouris> I believe shinmera has an all in one client, I can't remember what it's called
<jmercouris> It is a one click "install"
* Zhivago notes the continuing lack of a question.
cvoxel has joined #lisp
<Josh_2> https://github.com/portacle that is it
<jmercouris> paule32: https://portacle.github.io
<pjb> Bike: and the /ignore irc command
* jmercouris shakes first at Josh_2 for being slightly faster
<jmercouris> s/first/fist
<pjb> paule32: again, it would be trivial in emacs, to have a whole channel be translated automatically thru google translate.
<pjb> Even a newbie should be able to do that in emacs lisp during an afternoon.
<jmercouris> pjb: I also told him that he can just ask in German, and likely someone can also help him in German
<jmercouris> pjb: There is no german speaking lisp channel unfortunately
<pjb> jmercouris: you can create one, just type /join #lisp-de
takitus has left #lisp [#lisp]
<pjb> and you may add it to http://cliki.net/IRC if you intend to stay on it.
<pjb> paule32: you don't have a problem with progn. In your pasted code, progn is about the only thing that works correctly. Even if you could remove it and it wouldn't make a difference.
<pjb> paule32: You're writing expressions that have no side effect and of which you don't use the result.
<Josh_2> pjb: there is a spelling error on that site #lispweb "developped"
WorldControl has joined #lisp
<pjb> paule32: you're referencing to variables that are undefined.
<pjb> Josh_2: it's a wiki, correct it!
<Josh_2> I will do that
<pjb> paule32: you still don't get it that to call a function you have to use the Call operator: (
<Josh_2> The site isn't HTTPS and it wants me to put in an email and pass...
<pjb> paule32: as in ( kallup-init-app ) = Call the function kallup-init-app and no more argument.
<pjb> paule32: in lisp we need a closing parenthesis for all expressions, because they can take a variable number of argument, and we want to be able to process them with macros that don't know the operators!
<paule32> thank you pjb
<pjb> paule32: hence (kallup-init-app) ; we don't write useless spaces.
rpg has joined #lisp
Achylles has joined #lisp
<paule32> ok
<Josh_2> Okay I fixed it
cvoxel has left #lisp ["Killed buffer"]
<pjb> Josh_2: thanks.
tumdum has quit [Remote host closed the connection]
WorldControl has quit [Quit: Ex Chat]
<Josh_2> There is a dead link in the getting started, shall I remove the whole entry? I am going to put that new link that I posted just a minute a go in its place? Sorry for the question I've never done this before
<Josh_2> I just left it and left a comment in the HTML
Denommus has quit [Quit: going home]
<pjb> Depends what link?
<pjb> Usually it's good to keep the dead link around. Perhaps it'll resurrect. Or we may find it in archive.org
<Josh_2> http://www.cliki.net/Getting%20Started "Getting started in Common Lisp on ubuntu" Doesn't work for me. I added the link underneath.
jstoddard has joined #lisp
<Josh_2> yes
<Josh_2> That's the one that isn't working for me
<pjb> So you mean indicate it on the page, and link to the archive instead.
<Josh_2> I guess so
<pjb> /mean/may/
angavrilov has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
fikka has quit [Ping timeout: 268 seconds]
<rpg> Xach, XachX: about to release ASDF 3.3.1 I can no longer replicate your issue with loading the new UIOP.
Achylles has quit [Ping timeout: 240 seconds]
rocx has joined #lisp
<dmiles> can (defun (setf foo) ..) be easily transformed to s (defsetf foo ..) ?
fikka has joined #lisp
<Ober> failing on lw7.1 also?
<Bike> easily? well, it's not that hard
<Josh_2> dmiles: with a macro
<Bike> they mean different things, though
<Josh_2> I did not realize that (defsetf is already a function
<dmiles> i am failing at googling to find an exact tranformation.. lets say i wanted to transtate my defsetf (long and short forms ti defun (setfs ..)
<Bike> well, that might not always be possible. defsetf makes something like a macro, so it can use compile time things.
<Bike> though it probably won't.
<dmiles> ok but the other direction would work?
<Bike> yeah, it's like janky inlining.
<Bike> why do you want to?
<dmiles> its for my compiler and i want a single represenation.. or two .. but not three
papachan has quit [Quit: Saliendo]
<Bike> i don't follow. defsetf and (defun (setf ...) ...) do different things.
fikka has quit [Ping timeout: 250 seconds]
<Bike> the former tells setf how to macroexpand. the latter just defines the function called by the default macroexpansion.
<dmiles> jsut as defsetf shortform and long form do differnt things right?
<Bike> no, in that case the short form is kind of a shorthand for a stereotyped long form.
<dmiles> ok good.. so at least i only need two representation
<dmiles> (i cna convert the short form to long form)
<dmiles> cna/can
<Bike> I don't understand what you mean by "representation".
<dmiles> a "representation" would be a single evaluatable form (one API)
<dmiles> that each setf expander would macroexpand into
vzerda has joined #lisp
<Bike> setf expanders are functions.
<Bike> you can have defsetf and define-modify-macro expand into define-setf-expander, which hangs a function somewhere where get-setf-expansion can use it.
<Bike> er, not define-modify-macro.
<dmiles> ok yes it looks like all the forms can be converted to a DEFINE-SETF-EXPANDER
<Josh_2> pjb: on the home page "exercises" is spelt wrong but I can't change because it is a link to a new page which is named incorrectly
<Josh_2> It's spelt "excercices"
<vsync> what's the advantage of funcallable-standard-object over an object with a slot holding the function?
<shka> vsync: they are for different things
<vsync> it saves an extra lookup I guess if there's only 1 function associated but it certainly avoids the "linking them in separate hashtable" mentioned in spec
<vsync> shka: oh?
quazimodo has joined #lisp
<shka> funcallable-standard-object can be a generic function
<shka> and this comes with method combinations and all that jazz
asarch has quit [Ping timeout: 264 seconds]
<vsync> yeah but couldn't you put a generic function in the slot too?
<dmiles> Bike.. ok a "represention is what is stored in *setf-expanders* .. i see that emacs-cl has definations that populate that variable https://github.com/TeamSPoon/wam_common_lisp/blob/master/prolog/wam_cl/emacs-cl/cl-flow.el#L640-L722
<shka> you can, but now you are doing this for a different reason
<vsync> how so?
<paule32> Warning (initialization): An error occurred while loading `/home/jens/.emacs':
<paule32> File error: Cannot open load file, /home/jens/.quicklisp/slime-helper.el
dra_ has quit [Quit: Leaving]
<paule32> i have tried chown
<shka> so, you have custom funcallable-standard-object subclass
<shka> why did you made this subclass?
jstoddard has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
fikka has joined #lisp
Jesin has joined #lisp
<vsync> hmm...brb
varjag has joined #lisp
thebardian has quit [Remote host closed the connection]
<vsync> shka: that's partly what I'm trying to grok :-)
<vsync> but presumably to have some state and also close over it
<shka> well, subclass of funcallable-standard-object is not a common sight
<shka> i have this in my lib
<shka> but i have my reasons
<vsync> and not sure why it can't just be a function that gets the state it needs from the object
<shka> could you show your code?
<vsync> I guess for some reason of having code that doesn't know what name your function is, or something
<vsync> brain's kinda not on all cylinders today
<vsync> oh I don't have any code
<vsync> I'm trying to learn what it's about so I know the point when I might have code that could benefit from it
<shka> uh, so should i show my?
<shka> well, ok
<vsync> that would be awesome
<shka> second
<vsync> the constructor example didn't quite make me understand the point
<shka> take a look at that
<shka> so what i am doing here is that i constructed protocol describing generic functions
<paule32> so, my first windows with lisp is gone
<shka> so now i know at the runtime that generic function will try to enlarge my container
<paule32> thank you for helping - gn8
<shka> for instance
<shka> i can also dispatch methods on my api functions
<shka> like this for instance
<shka> this way algorithm does not care what SPECIFIC function it is working with because all it really needs to know that it can use this function as argument to make-bucket
k-stz has quit [Remote host closed the connection]
<shka> all of this allows me to share code between multiple implementations of functions that modify container
<Bike> dmiles: this is wrong, short form defsetf can have documentation. i don't know what emacs-cl is though.
<shka> which is nice, because it reduces number of code lines i have to maintain
<shka> vsync: does that looks better?
<vsync> 1sec, got pulled, sorry
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dmiles> Bike: yeah that file had two versions.. line 640 doent nesc understand short form docs .. line 669 might
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tobbi has joined #lisp
rpg has joined #lisp
<vsync> back, lemme read
knobo has quit [Ping timeout: 240 seconds]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vlatkoB has quit [Remote host closed the connection]
Achylles has joined #lisp
quazimodo has quit [Ping timeout: 260 seconds]
hhdave has joined #lisp
<vsync> shka: hmm where are you specializing for example ADD?
<vsync> don't see defmethods
quazimodo has joined #lisp
<vsync> but I think I'm kinda getting the direction of it
<shka> per category of container
<vsync> oh, saw that... got confused by the package
<vsync> and right now you just have dicts right?
<shka> yeah
<shka> but i will be adding sequences and sets soon enough
<vsync> what's position-modification? don't get why the passing the name of the corresponding function in other package
<shka> but first release will be just sets
<shka> name?
Tobbi has joined #lisp
<shka> well, as for position-modification: it is generic function that is supposed to perform modification of container
<vsync> for example defmethod cl-ds:add on (functional-dictionary t t), first one
<shka> because not all api functions should be applicable to everything
<shka> this way, user will get typical exception about lack of method
<vsync> yeah but wouldn't you get the same from just making a method of cl-ds:add on the type of container that it is
<shka> that's what i am doing here to be honest
<vsync> rather than a method of position-modification
EvW1 has joined #lisp
<shka> position-modification is for something else
<shka> you see, i have few ways to insert element into dictionary
<shka> add, insert, update (could add update-if as well)
<vsync> yeah
<shka> all have the same position-modification implementation for data structure
<shka> which i like, because i don't have to maintain separate copies of the same code
<vsync> how so?
<vsync> they're named different because they have different semantics right?
<shka> yes, but they have something in common
<vsync> or is it on a different type of container, like a set, that it would do different things?
<shka> namely, all will attempt to insert another value into container
<vsync> ok
<shka> which i call grow
<vsync> ohhhhhhh
<vsync> so if you have a container type that 2 operations do the same thing
<shka> yes
<vsync> you can specialize on the type of it?
<shka> sure
<shka> take a look at this
<vsync> ok but for a dict won't you clobber a value already there? so not necessarily growing
<shka> depends!
<shka> insert will clobber, update will only clobber, add will never clobber
<vsync> nice
<shka> but that's just another value for me to return
<shka> on the lower level i have set of functions, they will return status of operation which includes information like: did anything actually changed?
<shka> or: what was old value
<shka> look at line 153
fikka has quit [Ping timeout: 248 seconds]
<shka> actually 152
<vsync> k
<vsync> ohhhhh
<vsync> because for the functional variants you need to do common rebuilding stuff
<vsync> ok
<shka> yes
<vsync> so where do methods of grow-bucket live? for dicts
<shka> and having this indirection layer makes things way simpler
<vsync> or types of dicts
Oladon has quit [Read error: Connection reset by peer]
<vsync> yeah I guess I would have done with a function that takes a function, or an :around method, or a macro
<vsync> but naively and I haven't gotten into it like you have
<vsync> so does update signal an error if the key doesn't exist already?
<shka> nah, it just returns second value
Oladon has joined #lisp
<shka> i have docs describing library itself
<shka> anyway, thanks to this object oriented description of functions, i can easily do higher order stuff without code duplication
<shka> i have lazy evaluation in place
<shka> and when I add another api function that calls position-modification, i don't have to touch this file at all
alexmlw has quit [Quit: alexmlw]
<shka> all thanks to this one trick
<vsync> colo
<vsync> cool
<shka> yeah
<vsync> docs look nice... generated? or hand-coded?
<shka> :-)
<shka> generated
thebardian has joined #lisp
<vsync> what do you use to make them?
<shka> i wrote my own generator
<vsync> looks like it calculates rectangle sizes just a little too small though
<shka> it is rough around the edges to say the least
safe has joined #lisp
<shka> it also enforces usage of another of my libs, which is suboptimal for anyone but me
dyelar has quit [Quit: Leaving.]
<shka> but it works for me, and honestly i care almost only about cl-data-structures nowdays
sjl has quit [Ping timeout: 248 seconds]
<vsync> so back to the funcallable stuff
<shka> yeah?
<vsync> they're not hanging fancy methods off it
<vsync> it seems to be for a different purpose
<shka> not huge fan of this example myself
<shka> but that works, as well, i guess
<vsync> i guess it's most handy for reentrant sort of stuff
<vsync> where you're dealing with things that only deal with functions
<vsync> and you may get your own function back later
<vsync> and want to introspect on it
<vsync> aside from the stuff you showed
fikka has joined #lisp
<shka> well, honestly i would just curry a function instead of doing that construct stuff
<vsync> well yeah for that example
<shka> anyway, for me, it is awesome feature
<shka> but i never felt like i need to tinker around set-funcallable-instance-function
<shka> which is ironic, because example tries to show that this is why this thing exists
<shka> it actually is the case, if you want to implement OO from scratch, but i never felt like doing that
<shka> vsync: good night
fikka has quit [Ping timeout: 255 seconds]
<vsync> night, thanks
<shka> i'm glad that i could be of any assistance
Patzy has quit [Quit: leaving]
Patzy has joined #lisp
optikalmouse has quit [Quit: optikalmouse]
Patzy has quit [Client Quit]
Patzy has joined #lisp
caseyowo has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
DeadTrickster_ has joined #lisp
mson has joined #lisp
hhdave has quit [Quit: hhdave]
DeadTrickster has quit [Ping timeout: 250 seconds]
klltkr_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
caseyowo has joined #lisp
Jesin has quit [Quit: Leaving]
fikka has quit [Ping timeout: 248 seconds]
<aeth> I understand my stream problem a little more now. I have to use trivial-gray-streams to define my own stream(s).
Karl_Dscc has quit [Remote host closed the connection]
Jesin has joined #lisp
k-stz has joined #lisp
EvW1 has quit [Ping timeout: 260 seconds]
heurist has quit [Ping timeout: 258 seconds]
pillton has joined #lisp
Patzy has quit [Quit: leaving]
Patzy has joined #lisp
<aeth> And... it looks like charcter streams are backed by a (circular?) buffer string of size (expt 2 13)
<aeth> So if that's true I can just dust off my queue as circular buffer macro and stick the resulting struct in the new stream class under a buffer slot.
quazimodo has quit [Ping timeout: 268 seconds]
<aeth> (Technically, I could just make the stream class a circular buffer directly, but I already have one as a macro.)
fikka has joined #lisp
Murii has quit [Remote host closed the connection]
Amplituhedron has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 250 seconds]
papachan has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Bike has quit [Ping timeout: 255 seconds]
LiamH has quit [Quit: Leaving.]
fikka has joined #lisp
mishoo_ has quit [Ping timeout: 240 seconds]
shka has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 255 seconds]
nullniverse has joined #lisp
SaganMan has quit [Quit: WeeChat 1.6]
thebardian has quit [Remote host closed the connection]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Devon has quit [Ping timeout: 240 seconds]
Tobbi has joined #lisp
thebardian has joined #lisp
thinkpad has joined #lisp
Bike has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
thebardian has quit [Remote host closed the connection]
wxie has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
pierpa has joined #lisp
kolko has quit [Ping timeout: 240 seconds]
Achylles has quit [Ping timeout: 246 seconds]
kolko has joined #lisp
elimik31 has quit [Ping timeout: 250 seconds]
neoncontrails has joined #lisp
k-stz has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
stnutt has left #lisp [#lisp]
wxie has quit [Quit: Bye.]
fikka has joined #lisp
DGASAU has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 268 seconds]
jmercouris has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Quit: Leaving.]
attila_lendvai1 has joined #lisp
attila_lendvai1 is now known as attila_lendvai
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]