zotan_ has joined #lisp
alexmlw has quit [Ping timeout: 240 seconds]
Bike has joined #lisp
<stylewarning> dmiles for the talk?
pedh has joined #lisp
pedh has quit [Ping timeout: 252 seconds]
dtornabene has quit [Read error: Connection reset by peer]
<dmiles> thx.. sharing it with someone in ##prolog
zotan has quit [Read error: Connection reset by peer]
zotan- has joined #lisp
zotan- is now known as zotan
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #lisp
earl-ducaine has joined #lisp
Cymew has joined #lisp
DeadTrickster has quit [Read error: Connection reset by peer]
DeadTrickster has joined #lisp
Cymew has quit [Ping timeout: 248 seconds]
notnull has quit [Ping timeout: 265 seconds]
xrash has joined #lisp
jameser has joined #lisp
red-dot has quit [Remote host closed the connection]
red-dot has joined #lisp
jmarciano has quit [Read error: Connection reset by peer]
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 240 seconds]
atgreen has joined #lisp
peterppp has joined #lisp
<peterppp> so I just installed sbcl and usocket on ubuntu and am trying to load usocket with the line (require :usocket)
<aeth> Why not use Quicklisp?
<peterppp> sbcl says it doesn't know how to find usocket though
<peterppp> I don't know? it was recommended?
<peterppp> it's all the same to me I guess
Xal has quit [Ping timeout: 264 seconds]
nirved has quit [Quit: Leaving]
ChadMcNugget has joined #lisp
<peterppp> I got the impression that sbcl is the most widely used implementation
<aeth> ASDF knows where to find usocket, if it's installed in a place where it looks for ASDF system definition files. And Quicklisp uses ASDF to go beyond that, downloading dependencies for you.
atgreen has quit [Quit: atgreen]
<aeth> Generally the only reason not to use Quicklisp for handling your dependencies is if you're packaging something.
<peterppp> ah! thanks
<peterppp> I guess it's working now
<aeth> Usually, the way to handle dependencies is to create a your-project.asd file (just look how existing projects set up their ASDF files) at the top level of the directory, and put a link to that directory in ~/quicklisp/local-projects/ so you can treat your project as if it's included in Quicklisp and just (ql:quickload :your-project)
<peterppp> thanks, that was actually very helpful
<aeth> There's actually a library that can automate this. https://www.xach.com/lisp/quickproject/
notnull has joined #lisp
<aeth> Actually, if you use Quickproject, you don't even need to make a link, apparently.
xantoz has joined #lisp
Xal has joined #lisp
smurfrobot has joined #lisp
bigos_ has joined #lisp
<phoe> I only use quickproject.
smurfrobot has quit [Ping timeout: 264 seconds]
stara has joined #lisp
<aeth> I do just this: cp -t . ../some-old-project/LICENSE.txt ../some-old-project/.gitignore ../some-old-project/some-old-project.asd
<aeth> And base everything on some old project of mine, with edits to update the name, copyright year, etc.
smurfrobot has joined #lisp
smurfrobot has quit [Ping timeout: 256 seconds]
EvW has quit [Ping timeout: 265 seconds]
peterppp has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 256 seconds]
bigos_ has quit [Quit: Leaving]
JuanDaugherty has quit [Quit: Ex Chat]
SyntaxASI has quit [Quit: #MoonBNC ZNC Services]
dddddd has quit [Remote host closed the connection]
fikka has joined #lisp
cpc26 has joined #lisp
cpc26 has quit [Changing host]
cpc26 has joined #lisp
cpc26 has quit [Client Quit]
fikka has quit [Ping timeout: 264 seconds]
ChadMcNugget has quit [Quit: Leaving]
dieggsy has joined #lisp
d4ryus4 has joined #lisp
d4ryus3 has quit [Ping timeout: 248 seconds]
notnull has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
lclark`` has joined #lisp
lclark` has quit [Ping timeout: 240 seconds]
rm8 has quit [Quit: i slep]
fikka has quit [Ping timeout: 264 seconds]
atgreen has joined #lisp
notnull has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
fikka has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 248 seconds]
red-dot has joined #lisp
jamtho has joined #lisp
atgreen has quit [Quit: atgreen]
dieggsy has quit [Ping timeout: 248 seconds]
damke_ has joined #lisp
fikka has joined #lisp
damke has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
sjl has joined #lisp
pedh has joined #lisp
wigust has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
sjl has quit [Ping timeout: 268 seconds]
stara has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pedh has quit [Ping timeout: 272 seconds]
ikki has quit [Ping timeout: 252 seconds]
fikka has joined #lisp
<loke> jack_rabbit: second half of the video is the first in reverse?
fikka has quit [Ping timeout: 256 seconds]
<Xach_> jack_rabbit: nice. reminds me of that xscreensaver smearing hack
<jack_rabbit> loke, Not quite. The process in the second half is similar to the reverse of the first.
<jack_rabbit> Xach_, ha! thanks.
<loke> Xach_: thanks for merging my zs3 fixes. I'm starting to have some concerns that I might have introduced a small bug, and I need your opinion on this:
<loke> Xach_: Specifically, it's the fix to REGION-ENDPOINT. It now returns *S3-ENDPOINT* if it's set. The question is if this will be a problem if *S3-ENDPOINT* is set to a bucket-domain (such as foo.s3.amazonaws.com)
<loke> I'm using Wasabi (alternative S3 provider, and all works fine there)
<Xach_> loke: hmmmmmmmm
<Xach_> loke: is there any way for you to test it?
<loke> Xach_: Yes, but I'm not sure I know how to test all permutations. The ones I've tested works fine.
fikka has joined #lisp
<Xach_> you tried it with a bucket-domain?
<loke> I guess my problem is that I'm not sure about the exact purpose of *S3-ENDPOINT*. When would you need to set it to a name of the form bucketname.s3.amazonaws.com?
<loke> If you don't do that, obviously everything will work perfectly.
<loke> (i set it to s3.wasabisys.com for example)
<Xach_> Hmm, I don't see that it is documented anywhere, so I don't know if anyone is using it except you.
<Xach_> I'm up for proceeding with the change and adapting quickly if it causes someone harm.
jamtho has quit [Ping timeout: 256 seconds]
* Xach_ will release-wrangle a number of his projects this month
fikka has quit [Ping timeout: 260 seconds]
<beach> Good morning everyone!
fikka has joined #lisp
python476 has quit [Ping timeout: 240 seconds]
pedh has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
pedh has quit [Ping timeout: 260 seconds]
<loke> Xach_: I'm the only user of zs3? That sounds strange.
<Xach_> loke: of *s3-endpoint*
<Xach_> it isn't in the docs
<loke> Ah, I see.
<loke> Ok then :-)
<Xach_> it seems like it should be!
<loke> It's a very convenient way to use alternative S3 providers though. Google also uses the same API
<loke> And Wasabi is significantly cheaper than Amazon
<loke> (also, Amazon sucks, and I don't want to give them my money)
<Xach_> ok
DeadTrickster_ has joined #lisp
zooey has quit [Quit: quit]
zooey has joined #lisp
DeadTrickster has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
<loke> Xach_: when you implemented *S3-ENDPOINT*, what was the original reason for it?
<loke> Did you have alternative providers in mind?
fikka has quit [Ping timeout: 260 seconds]
ahungry has joined #lisp
schoppenhauer has quit [Ping timeout: 240 seconds]
antismap has quit [Ping timeout: 268 seconds]
<Xach_> loke: i think different regions. let me double-check docs.
schoppenhauer has joined #lisp
pierpa has quit [Quit: Page closed]
<Xach_> hmm, i don't remember, sorry, and haven't time to dig at the moment.
Bike has quit [Quit: Lost terminal]
fikka has joined #lisp
<loke> Xach_: I'll let you know if I find something myself.
pedh has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
pedh has quit [Ping timeout: 252 seconds]
Fare has quit [Read error: Connection reset by peer]
fikka has joined #lisp
Fare has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
Fare has quit [Read error: Connection reset by peer]
Fare has joined #lisp
fikka has joined #lisp
rumbler31 has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
rumbler31 has quit [Ping timeout: 252 seconds]
fikka has joined #lisp
pedh has joined #lisp
fikka has quit [Ping timeout: 272 seconds]
pedh has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
vtomole has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
<drmeister> loke: I use s3 services on AWS
<drmeister> Xach_: I see your library 'zs3'.
<drmeister> You use ironclad - do you use many of ironclad's features or just the hashing?
<Xach_> drmeister: hashing and hmac
<drmeister> Yeah
<drmeister> I wish there were a lighter weight library for just those.
fikka has joined #lisp
<Xach_> yes. the structure of ironclad makes it difficult to go a la carte
<Xach_> i wrote my own sha stuff for quicklisp's pgp verification. have not done hmac. tempted to spin it into its own library.
<Xach_> it's slower but sufficient for me
Fare has quit [Read error: Connection reset by peer]
Fare has joined #lisp
<drmeister> Clasp struggles mightily to compile ironclad because of terrible scaling in llvm and slowness in the Clasp runtime and Cleavir (working on it).
<drmeister> I got so desperate I added C++ header libraries for hashing and hmac and exposed those functions.
<Xach_> drmeister: not a bad approach in a pinch. better than having a terribly slow runtime for those too.
fikka has quit [Ping timeout: 252 seconds]
<loke> drmeister: What is it about clasp that makes is particularly slow for Ironclad? I mean, Irconclad is always slow to compile, since, as I understand it, it generates a lot of code through macros.
fikka has joined #lisp
<drmeister> I haven't drilled into it carefully to figure it out and so I have to be careful where I attribute blame. It takes something like 7 hours to compile full ironclad.
<beach> loke: My personal guess is that the Cleavir-based compiler does not yet implement most of the planned optimizations, so the entire native code base is just not good enough.
<drmeister> Some of the time is in llvm - we know that it has terrible scaling for large functions.
<beach> loke: The theory that the Cleavir-based compiler has some bottlenecks because it is using a lot of generic functions might be somewhat true, but I think it would be counterproductive to look for such bottlenecks before the optimizations are implemented.
<beach> loke: But yeah, there is also the LLVM possibility. Many compiler optimization techniques require quadratic time in the size of the code, so if code is generated using macros, then that could very well be a big problem.
fikka has quit [Ping timeout: 248 seconds]
<loke> I thought that ironclad generated massive functions, but I have to admit that I have never actually confirmed the sizes myself. So some of it could be just assumptions.
<drmeister> It does.
borodust has joined #lisp
<loke> drmeister&beach: How fast is ironclad running in Clasp after this 7 hour compile? Is the generated code any good?
<drmeister> Yeah - that's fine. I haven't benchmarked it - but I haven't noticed any problems.
<beach> loke: Like I said, the code generator of the Cleavir-based compiler is not good enought.
<beach> loke: So that affects both the execution time of code that is compiled with it, and, of course, the time to execute the compiler itself, because that code is itself compiled with the compiler.
<drmeister> I dunno beach - this looks like some n^m power scaling with the size of the function.
<drmeister> It requires more analysis when I can get to it.
<beach> drmeister: That's fine. But, we still don't have enough optimizations. :)
<drmeister> Granted.
hexfive has quit [Quit: WeeChat 1.9.1]
<drmeister> I've been using it a lot interactively - the performance is good enough for what I've been doing.
<drmeister> Somewhere between Python and sbcl speed.
<drmeister> (big range)
<loke> The SBCL compiler is called Python, isn't it? :-)
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
ahungry has quit [Remote host closed the connection]
<drmeister> An unfortunate coincidence.
j0nd0e has joined #lisp
fikka has joined #lisp
<drmeister> Is it typical for compilers to decide NOT to inline code if the resulting function becomes too large?
<beach> Yes.
<beach> Usually, inlining is done against some kind of "budget", and size is one consideration. In fact, the cost function typically reflects the cost of further optimizations, so it might take the size squared.
fikka has quit [Ping timeout: 252 seconds]
dieggsy has joined #lisp
fikka has joined #lisp
python476 has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
shka has joined #lisp
damke has joined #lisp
dieggsy has quit [Remote host closed the connection]
damke_ has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
python476 has quit [Remote host closed the connection]
python476 has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
pfdietz has joined #lisp
fikka has joined #lisp
smurfrobot has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
smurfrobot has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
nika_ has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
<Zhivago> Not to mention the anticipated cache pressure.
<Zhivago> One reason that using a bytecode interpreter can sometimes improve performance.
rippa has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
<Fare> tacoexwhorvaaqsogomo
nika__ has joined #lisp
<Fare> nokjhwecbjkhgosdfiyvhb
nika__ has quit [Client Quit]
nika__ has joined #lisp
nika_ has quit [Ping timeout: 268 seconds]
<internet_cafe> Fare: you too
sjl has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
sjl has quit [Ping timeout: 252 seconds]
dec0n has joined #lisp
mishoo_ has joined #lisp
Karl_Dscc has joined #lisp
fikka has joined #lisp
manualcrank has joined #lisp
southwold has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
Tobbi has joined #lisp
manualcrank has quit [Quit: WeeChat 2.0.1]
manualcrank has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
smurfrobot has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
d4ryus4 is now known as d4ryus
smurfrobot has quit [Ping timeout: 248 seconds]
vtomole has quit [Ping timeout: 260 seconds]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
manualcrank has quit [Quit: WeeChat 2.0.1]
manualcrank has joined #lisp
fikka has joined #lisp
oleo has quit [Quit: Leaving]
scymtym has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 252 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Cymew has joined #lisp
<jasom> drmeister: one amazing optimization if you have whole-program information is to inline all functions that are called exactly once. It makes the code smaller and run faster.
fikka has joined #lisp
Ven`` has joined #lisp
<jasom> drmeister: llvm normalizes code to SSA form. This can have a quadratic effect on code size.
<jasom> code size for the intermediate representation that is; it gets reduced to something sane after optimizations, but the optimizations themselves run on the quadratically larger IR stream.
Ven`` has quit [Read error: No route to host]
Ven`` has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
jibanes has quit [Ping timeout: 252 seconds]
jibanes has joined #lisp
fikka has joined #lisp
smurfrobot has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
shka has quit [Quit: Konversation terminated!]
smurfrobot has quit [Ping timeout: 256 seconds]
Ven`` has quit [Ping timeout: 248 seconds]
raphaelss has joined #lisp
fikka has joined #lisp
defaultxr has quit [Quit: gnight]
Murii has joined #lisp
fikka has quit [Ping timeout: 272 seconds]
nowhereman has quit [Ping timeout: 252 seconds]
scymtym has joined #lisp
nowhereman has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
<ym> Are cl-json experts around?
Ellusionist has joined #lisp
<ym> I got "Invalid SB-MOP:SLOT-DEFINITION initialization: the initialization argument :NAME was constant: :OK." condition.
<ym> Should I dig it or this is some sort of known not-a-bug-but-a-feature?
<ym> Oh, found it.
<ym> SBCL quirk indeed.
Jesin has quit [Ping timeout: 260 seconds]
<beach> It sounds like a very bad idea to have slot names that are keyword symbols, though.
fikka has joined #lisp
<beach> Slot names are implementation details that should be private to the module in question. By making them keyword symbols, they are automatically exported to the entire world, so that you have no protection against (setf (slot-value obj :OK) ...)
myrkraverk has joined #lisp
<beach> The :name argument is a slot name. An error is signaled if this argument is not a symbol which can be used as a variable name.
EvW has joined #lisp
<beach> So, I think SBCL is right.
<Shinmera> Well not necessarily right, since it errors in an obscure way
<Shinmera> but it is not wrong.
fouric has quit [Ping timeout: 260 seconds]
pedh has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
damke_ has joined #lisp
fikka has joined #lisp
damke has quit [Ping timeout: 264 seconds]
fouric has joined #lisp
EvW has quit [Ping timeout: 260 seconds]
pedh has quit [Ping timeout: 264 seconds]
xrash has quit [Remote host closed the connection]
dddddd has joined #lisp
jack_rabbit has quit [Ping timeout: 272 seconds]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 252 seconds]
smurfrobot has joined #lisp
jack_rabbit has joined #lisp
smurfrobot has quit [Ping timeout: 248 seconds]
j0nd0e has quit [Read error: Connection reset by peer]
j0nd0e has joined #lisp
milanj has joined #lisp
Murii has quit [Ping timeout: 240 seconds]
_cosmonaut_ has joined #lisp
arduo has joined #lisp
<Fare> Bug in ASDF causes spurious rebuilds in presence of misnamed secondary systems :-(
Jesin has joined #lisp
pedh has joined #lisp
pedh has quit [Ping timeout: 265 seconds]
j0nd0e has quit [Ping timeout: 252 seconds]
ramus has quit [Ping timeout: 264 seconds]
peterppp has joined #lisp
pseudonymous has joined #lisp
Tobbi has joined #lisp
loke has quit [Remote host closed the connection]
loke has joined #lisp
smurfrobot has joined #lisp
j0nd0e has joined #lisp
BigSafari has joined #lisp
ramus has joined #lisp
nika__ has quit [Ping timeout: 252 seconds]
Kaisyu has quit [Quit: Connection closed for inactivity]
fikka has quit [Ping timeout: 252 seconds]
SaganMan has joined #lisp
j0nd0e` has joined #lisp
<osune_> Does somebody know who owns cvberry.com ?
smurfrobot has quit [Remote host closed the connection]
fikka has joined #lisp
<lieven> a Mr Currell Berry from Atlanta according to whois.
j0nd0e has quit [Ping timeout: 268 seconds]
<osune_> lieven: thanks, I meant more in a username way which I can message :)
<lieven> you can send him an email :)
<osune_> haw. totally forgot about that
smurfrobot has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
sjl has joined #lisp
smurfrobot has quit [Ping timeout: 256 seconds]
peterppp has quit [Ping timeout: 252 seconds]
southwold has quit [Ping timeout: 272 seconds]
sjl has quit [Ping timeout: 264 seconds]
smurfrobot has joined #lisp
rippa has quit [Read error: Connection reset by peer]
lnostdal has joined #lisp
rippa has joined #lisp
fikka has joined #lisp
pseudonymous has quit [Ping timeout: 248 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
poorbean has joined #lisp
pedh has joined #lisp
pseudonymous has joined #lisp
poorbean has quit [Remote host closed the connection]
raynold has quit [Quit: Connection closed for inactivity]
pedh has quit [Ping timeout: 260 seconds]
smurfrobot has quit [Remote host closed the connection]
smurfrobot has joined #lisp
Ellusionist has quit [Ping timeout: 248 seconds]
smurfrobot has quit [Ping timeout: 252 seconds]
Kundry_Wag has joined #lisp
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
jameser has quit [Ping timeout: 248 seconds]
Kundry_Wag has quit [Remote host closed the connection]
nowhereman has quit [Ping timeout: 268 seconds]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brendyn has quit [Ping timeout: 252 seconds]
jamtho has joined #lisp
pedh has joined #lisp
atgreen has joined #lisp
atgreen has quit [Client Quit]
m00natic has joined #lisp
CrazyEddy has quit [Ping timeout: 248 seconds]
pedh has quit [Ping timeout: 265 seconds]
dddddd has quit [Remote host closed the connection]
CrazyEddy has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
alexmlw has joined #lisp
pseudonymous has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
Trasformatore has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 252 seconds]
pedh has joined #lisp
smurfrobot has joined #lisp
fikka has joined #lisp
pedh has quit [Ping timeout: 252 seconds]
smurfrobot has quit [Ping timeout: 268 seconds]
fikka has quit [Ping timeout: 256 seconds]
grumble has quit [Quit: Well, would you look at the time. I've almost missed my ambiguous, non-existent appointment that I have scheduled just when I start to lose interest in my current conversation.]
Kundry_Wag has joined #lisp
fikka has joined #lisp
grumble has joined #lisp
atgreen has joined #lisp
Kundry_Wag has quit [Ping timeout: 250 seconds]
j0nd0e` has quit [Ping timeout: 256 seconds]
python476 has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 260 seconds]
python476 has joined #lisp
``Erik_ is now known as ``Erik
fikka has joined #lisp
BigSafari has quit [Quit: Textual IRC Client: www.textualapp.com]
nirved has joined #lisp
ecraven has quit [Quit: bye]
ecraven has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
osune_ has quit [Remote host closed the connection]
<dim> how do you typically add (local) projects to ASDF/QL? I'm used to playing with asdf configuration files, but I'm now wondering if there's an easier way to do it?
osune_ has joined #lisp
<pjb> dim: nowadays, the easiest way is to put them (or a symlink) in ~/quicklisp/local-projects/
<pjb> Otherwise, as one-shot: (pushnew #P"/path/to/your/project/dir/where/the/asd/file/is/" asdf:*central-registry* :test 'equal) (ql:quickload :your-project)
<dim> I just added a symlink, to no avail
<dim> (restarted ccl too)
<Shinmera> dim: (ql:register-local-projects)
<dim> thx
<pjb> yep.
<pjb> But it should not be needed normally.
<dim> (ql:where-is-system "pgloader") -- the QL version is still prefered
<dim> I mean it loads #P"/Users/dim/quicklisp/dists/quicklisp/software/pgloader-v3.4.1/" rather than ~/quicklisp/local-projects/pgloader
<dim> ok going to edit ~/.config/common-lisp/source-registry.conf.d/ etc
<pjb> dim: strange, this is not what I observe here.
fikka has joined #lisp
<dim> ok with a file-based setup it just works
<dim> pjb: I'm used to asdf needing some convincing
Murii has joined #lisp
pedh has joined #lisp
fikka has quit [Ping timeout: 252 seconds]
atgreen has quit [Quit: atgreen]
pedh has quit [Ping timeout: 265 seconds]
pseudonymous has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
pseudonymous has quit [Ping timeout: 256 seconds]
nowhereman has joined #lisp
Ven`` has joined #lisp
xaotuk has joined #lisp
FreeBirdLjj has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
CrazyEddy has quit [Ping timeout: 252 seconds]
fikka has quit [Ping timeout: 248 seconds]
ikki has joined #lisp
rumbler31 has joined #lisp
fikka has joined #lisp
dieggsy has joined #lisp
smurfrobot has joined #lisp
EvW has joined #lisp
<phoe> beach: ping!
dieggsy has quit [Ping timeout: 252 seconds]
<phoe> Are you around per chance?
Ven`` has quit [Ping timeout: 256 seconds]
pseudonymous has joined #lisp
<phoe> I have a question regarding protocols, testing, and CLOS. I'll just post it here.
Bike has joined #lisp
<phoe> Let's suppose that I have a protocol, which includes a protocol class. Each class participating in the protocol must subclass this protocol class.
Jesin has quit [Quit: Leaving]
smurfrobot has quit [Remote host closed the connection]
milanj has quit [Quit: This computer has gone to sleep]
<phoe> I have created such a participating class, and I decided to write some tests for it. And, at this point, I had a doubt. Since I will be testing the class's participation in the protocol, this means that my tests will be limited to the operations listed in the protocol, and therefore will not really be specific to this concrete class. They will be testing the protocol itself.
oleo2 has joined #lisp
<phoe> And this means that these tests should be valid for any class that participates in the protocol. At which point, I wondered - can I just grab all (in)direct subclasses of this protocol class, and run tests on these concrete classes?
<Xach_> dim: hello
<Xach_> dim: do you have the quicklisp directory as a tree in your asdf registry config?
<phoe> I can use CLOS and MOP to grab all (in)direct subclasses of a protocol class, and I can run these protocol tests on each of these classes. My question is - does this approach look sane? Or do I have some error in my thinking somewhere I can't see yet?
<beach> phoe: Yes, I'm here.
<dim> Xach_: hi, no I don't think so, not explicitely at least
pseudonymous has quit [Ping timeout: 272 seconds]
<beach> phoe: The test will be specific, because there will be methods on the operations in the protocol that are specialized to the concrete subclasses.
<Xach_> dim: because there is normally no way that a quicklisp directory system would take precedence over a local-projects system
<Xach_> there are some ways to tweak it so it happens but it is not normal
<beach> phoe: Obviously, if your subclasses participate in other protocols as well, you need to write separate tests for the operations in those other protocols.
<dim> mmm, it's on a brand new laptop, too
<dim> I didn't make any setup yet, apart from installing quicklisp and slime
<Xach_> dim: ok. if it can be recreated i would be very happy to help troubleshoot
<phoe> beach: I'm still digesting the "there will be methods on the operations in the protocol that are specialized to the concrete subclasses" part.
<dim> I think it's easy to reproduce. git clone https://github.com/dimitri/pgloader ~/dev/pgloader (or somewhere else), then ln -s ~/dev/pgloader ~/quicklisp/local-projects, then (ql:where-is-system "pgloader")
<phoe> I have a protocol class FOO, with a method BAR invoked like (BAR FOO). I know that method BAR will always return a string; the contents of that string may vary from concrete class to concrete class, but the protocol says that it will always be a string.
<dim> (maybe the ln has to be tweaked to work, I did it differently and just wrote the steps from memory, trying to adjust them to another env, etc)
<beach> phoe: So if you have a concrete subclass of FOO, like BAZ, clearly, you will have a method on BAR that specialized on BAZ, or else you wouldn't need the concrete sublass.
<phoe> Yes, this is correct.
<phoe> And therefore my test will apply to the method BAZ.
<beach> phoe: And this method will be run, i.e. tested, when you execute BAR with a BAZ as its argument.
<phoe> s/method/subclass/
<phoe> Yes, this is correct.
<beach> And that's all that is required when it comes to the participation of BAZ in your protocol, so you are done.
<phoe> If I have another subclass, QUUX, then (BAR QUUX) should also be tested with this test that I wrote. This is my thinking right now.
<phoe> Like, if QUUX is a subclass of FOO, then it means that (BAR QUUX) should return a string, therefore the test I wrote before works also for QUUX.
<beach> Sure, you need to run the tests for all possible subclasses, but that's not something to put in the protocol. The protocol can't possibly "know" how to create instances of those classes.
Kundry_Wag has joined #lisp
<phoe> Yes, this is already about tests and less about protocols.
<beach> That's the responsibility of the client code that creates BAZ and QUUX.
milanj has joined #lisp
rumbler31 has quit [Remote host closed the connection]
<phoe> I see.
<phoe> So client code can prepare the instances of those classes in any way it wants, and then it can invoke tests that are bundled as a part of the protocol, and pass those instances to the tests as a parameter. Is this correct?
<beach> That would certainly be possible, yes. The protocol library can then contain tests that make sure that those classes respect some of the invariants that it defines.
<beach> Invariants, preconditions, etc.
<phoe> Yes, that is what I'm thinking.
<phoe> The concrete classes can contain their own tests for whatever specific functionality the concrete classes provide.
<phoe> s/contain/provide/
<beach> Right.
atgreen has joined #lisp
smurfrobot has joined #lisp
Kundry_Wag has quit [Ping timeout: 272 seconds]
<phoe> Hmm. I see.
<phoe> Thanks!
<beach> Sure.
smurfrobot has quit [Ping timeout: 248 seconds]
nika_ has joined #lisp
pedh has joined #lisp
random-nick has joined #lisp
python476 has quit [Ping timeout: 256 seconds]
pedh has quit [Ping timeout: 264 seconds]
atgreen has quit [Quit: atgreen]
atgreen has joined #lisp
atgreen has quit [Client Quit]
random-nick has quit [Quit: quit]
alexmlw has quit [Remote host closed the connection]
oleo2 has quit [Ping timeout: 240 seconds]
EvW has quit [Ping timeout: 248 seconds]
warweasle has joined #lisp
dddddd has joined #lisp
FreeBirdLjj has joined #lisp
rumbler31 has joined #lisp
nowhereman has quit [Ping timeout: 248 seconds]
<Xach_> dim: for me, as soon as the symlink exists, it is found by quicklisp first.
* Xach_ can discuss later
<dim> ccl and sbcl alike? (that might be the difference here, otherwise if you're interested I will nuke my asdf setup and reproduce)
Cymew has quit [Remote host closed the connection]
<Xach_> dim: hmm, only tried sbcl. but last i checked they had the same behavior.
FreeBirdLjj has quit [Ping timeout: 248 seconds]
aindilis has quit [Ping timeout: 252 seconds]
Cymew has joined #lisp
PuercoPope has joined #lisp
sjl has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
LiamH has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
smurfrobot has joined #lisp
kajo has joined #lisp
smurfrobot has quit [Ping timeout: 248 seconds]
Jesin has joined #lisp
Jesin has quit [Remote host closed the connection]
Jesin has joined #lisp
pedh has joined #lisp
eudoxia has joined #lisp
pedh has quit [Ping timeout: 256 seconds]
vtomole has joined #lisp
milanj has joined #lisp
dec0n has quit [Read error: Connection reset by peer]
Karl_Dscc has joined #lisp
nowhereman has joined #lisp
CrazyEddy has joined #lisp
pedh has joined #lisp
oleo has joined #lisp
rawste has joined #lisp
raphaelss has quit [Remote host closed the connection]
pedh has quit [Ping timeout: 252 seconds]
smurfrobot has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
smurfrobot has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
vtomole has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 240 seconds]
Murii has quit [Ping timeout: 248 seconds]
mishoo_ has quit [Ping timeout: 265 seconds]
smurfrobot has joined #lisp
fikka has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
_cosmonaut_ has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 252 seconds]
SaganMan has quit [Quit: WeeChat 1.6]
Tobbi has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
python476 has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Kundry_Wag has joined #lisp
raynold has joined #lisp
pseudonymous has joined #lisp
Kundry_Wag has quit [Ping timeout: 252 seconds]
rickardg has joined #lisp
fikka has joined #lisp
cross has quit [Ping timeout: 272 seconds]
FreeBirdLjj has joined #lisp
pedh has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
pedh has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
notzmv has quit [Ping timeout: 264 seconds]
arbv has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
smurfrobot has quit [Remote host closed the connection]
smurfrobot has joined #lisp
fikka has joined #lisp
xaotuk has quit [Ping timeout: 268 seconds]
fikka has quit [Ping timeout: 252 seconds]
frob has joined #lisp
frob is now known as Guest59536
Guest59536 has left #lisp [#lisp]
fourier has joined #lisp
makomo has joined #lisp
m00natic has quit [Remote host closed the connection]
jmarciano has joined #lisp
pseudonymous has quit [Ping timeout: 256 seconds]
pedh has joined #lisp
<jmarciano> hello
smurfrobot has quit [Remote host closed the connection]
<oleo> evening
<jmarciano> for some reason I cannot connect to #emacs, so maybe here somebody knows how to (read from file in Emacs?
<jmarciano> I am doing (with-temp-file *my-activity-file* (insert (prin1-to-string data))) while data is hash
<jmarciano> how can I simply read that data from file?
smurfrobot has joined #lisp
<jmarciano> I am needing something like (setf hash-data (read-from-file *my-activity-file*))
pedh has quit [Ping timeout: 248 seconds]
Murii has joined #lisp
<Xach_> jmarciano: is that common lisp?
<Xach_> in cl there is no standard read syntax for a hash table.
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has joined #lisp
smurfrobot has quit [Remote host closed the connection]
<Bike> emacs, they said
<Bike> i didn't know it had prin1-to-string though
nika_ has quit [Quit: Leaving...]
fourier has quit [Remote host closed the connection]
fourier has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
<Xach_> or *special-variables*
vtomole has joined #lisp
notzmv has joined #lisp
smurfrobot has joined #lisp
ikki has quit [Ping timeout: 252 seconds]
fikka has joined #lisp
smurfrobot has quit [Ping timeout: 256 seconds]
<PuercoPope> You can setup delay: /set irc.look.smart_filter_delay 5
<PuercoPope> ups sorry about that
fikka has quit [Ping timeout: 264 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
smurfrobot has joined #lisp
scymtym has quit [Ping timeout: 265 seconds]
rm8 has joined #lisp
rogersm has joined #lisp
rickardg has quit [Remote host closed the connection]
ikki has joined #lisp
fikka has joined #lisp
smurfrobot has quit [Remote host closed the connection]
wigust has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 248 seconds]
<pfdietz> If you just want to serialize and deserialize lisp objects to/from a file or stream, but not in readable format, then something like cl-store would be what you want. https://common-lisp.net/project/cl-store/
<pfdietz> "readable" as in "human readable, or readtable readable"
osune has joined #lisp
wigust has joined #lisp
himmAllRight has quit [Remote host closed the connection]
EvW has joined #lisp
fikka has joined #lisp
turkja has quit [Ping timeout: 240 seconds]
pedh has joined #lisp
larryh has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
pedh has quit [Ping timeout: 248 seconds]
vtomole has quit [Quit: Page closed]
larryh has left #lisp [#lisp]
vtomole has joined #lisp
makomo has quit [Ping timeout: 252 seconds]
jmercouris has joined #lisp
emacsoma` has joined #lisp
<jmercouris> Anyone know how to make CCL restarts not crash a compiled application?
<jmercouris> E.g. maybe show a window to the user with available restarts
quazimodo has quit [Ping timeout: 240 seconds]
epony has quit [Remote host closed the connection]
rogersm has quit [Quit: rogersm]
makomo has joined #lisp
ChadMcNugget has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
rpg has joined #lisp
vtomole has quit [Ping timeout: 260 seconds]
Karl_Dscc has joined #lisp
epony has joined #lisp
epony has quit [Max SendQ exceeded]
epony has joined #lisp
TamePikachu has quit [Ping timeout: 264 seconds]
random-nick has joined #lisp
warweasle has quit [Quit: away]
pedh has joined #lisp
``Erik_ has joined #lisp
DeadTrickster_ has quit [Remote host closed the connection]
mishoo has joined #lisp
<jackdaniel> read ccl documentation for the function, which allows you creating binary
<jackdaniel> save-application afair
<jackdaniel> it has various options on what to do, when things break
``Erik has quit [Ping timeout: 265 seconds]
whoman has quit [Quit: Leaving]
fikka has joined #lisp
pedh has quit [Ping timeout: 268 seconds]
whoman has joined #lisp
notzmv has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 248 seconds]
makomo has quit [Ping timeout: 240 seconds]
fourier has quit [Ping timeout: 252 seconds]
varjag has joined #lisp
foom2 has joined #lisp
wigust_ has joined #lisp
foom has quit [Ping timeout: 265 seconds]
python476 has quit [Ping timeout: 248 seconds]
wigust has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
Cymew has joined #lisp
damke_ has joined #lisp
josemanuel has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
damke has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 256 seconds]
<jmercouris> jackdaniel: Ok, will do, thanks
<jmercouris> Interesting, apparently the default behavior is to open a listener
<jmercouris> but that only works when you launch the application via Terminal
frob has joined #lisp
frob is now known as Guest25965
Guest25965 is now known as makomo
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
copec has quit [Ping timeout: 272 seconds]
copec has joined #lisp
<makomo> hi everyone, i'm using SLIME and have an ASDF system that has been loaded (created with quickproject). if i add to DEFPACKAGE a list of nicknames, what's the right thing to do for this change to take effect?
<makomo> am i supposed to just re-eval the DEFPACKAGE form (not sure if that's legal)? or should i somehow reload the ASDF system?
<rpg> makomo: You can do either. re-eval should be sufficient.
eudoxia has quit [Quit: Leaving]
fikka has joined #lisp
Murii has quit [Ping timeout: 256 seconds]
<makomo> rpg: from what i can see in CLHS "If the new definition is at variance with the current state of that package, the consequences are undefined; an implementation might choose to modify the existing package to reflect the new definition."
<makomo> so does everyone just rely on implementations being sane i guess?
rickardg has joined #lisp
EvW has quit [Ping timeout: 265 seconds]
nullman has quit [Ping timeout: 264 seconds]
<jackdaniel> makomo: since you are in development phase, you may see what implementation does and decide, if this is good enough for you
<jackdaniel> you won't change package definition in "final" application at runtime
scymtym has joined #lisp
nullman has joined #lisp
<rpg> makomo: I've only ever done this with SBCL and ACL, which both seem to Do The Right Thing. Note that some changes like *removing* an export might not be reflected properly. But adding a nickname should not be a "demanding" change for the implementation.
attila_lendvai has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
<makomo> jackdaniel: ah, fair point
<makomo> rpg: yeah, i'm using SBCL. i would expect so too.
python476 has joined #lisp
nimiux has quit [Ping timeout: 248 seconds]
<rpg> Personally, I tend to do a lot of incremental compilation, and avoid full ASDF rebuilds for long periods of time. Old habits from developing systems that have complicated internal state that I don't like to destroy and rebuild
nimiux has joined #lisp
brendyn has joined #lisp
cryptomarauder[m is now known as cryptomarauder
dieggsy has joined #lisp
fikka has joined #lisp
cro__ has quit [Quit: Leaving]
<Fare> rpg: any time to review syntax-control ?
cromachina has joined #lisp
dieggsy has quit [Remote host closed the connection]
<rpg> Fare: I'll try to get to it today.
Karl_Dscc has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 240 seconds]
milanj has quit [Quit: This computer has gone to sleep]
pierpa has joined #lisp
<Fare> thanks
<Fare> the bug I reported this week (based on a a sly issue) is pretty damning and must be fixed in next release
<Fare> I'll try to do an interactive session where I reproduce the bug, add a test case, and hopefully fix the bug before I send an MR.
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
makomo has quit [Ping timeout: 260 seconds]
mson has joined #lisp
EvW has joined #lisp
fikka has joined #lisp
jmercouris has quit [Ping timeout: 265 seconds]
fikka has quit [Ping timeout: 240 seconds]
rm8 has quit [Quit: i quit]
kajo has quit [Quit: WeeChat 2.0]
fikka has joined #lisp
Karl_Dscc has joined #lisp
pedh has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
Tobbi has joined #lisp
makomo has joined #lisp
pedh has quit [Ping timeout: 248 seconds]
<phoe> I like how roswell installs its quicklisp in a hidden directory.
<phoe> So i no longer have a ~/quicklisp directory lying around after a default installation.
<phoe> makomo: you can do either in this case. BUT
<phoe> removing an export causes warnings on SBCL, "package FOO also exports the following symbols: BAR, BAZ, QUUX, ...", and the compilation fails.
orivej has joined #lisp
<phoe> ASDF treats these as errors.
<phoe> So you need to manually UNEXPORT things.
fikka has joined #lisp
arbv has quit [Remote host closed the connection]
``Erik has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
``Erik_ has quit [Ping timeout: 272 seconds]
ChadMcNugget has quit [Quit: Leaving]
rickardg has quit [Remote host closed the connection]
rickardg has joined #lisp
Zakkor has joined #lisp
rickardg has quit [Remote host closed the connection]
rickardg has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
LiamH has quit [Quit: Leaving.]
rickardg has quit [Remote host closed the connection]
rickardg has joined #lisp
raphaelss has joined #lisp
fikka has joined #lisp
<PuercoPope> phoe in sl{y,ime} you can do C-c x with a negative argument to unexport it automatically (and remove it from the defpackage
rickardg has quit [Remote host closed the connection]
rickardg has joined #lisp
<whoman> cool , did not know that =)
random-nick has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 264 seconds]
rickardg has quit [Read error: Connection reset by peer]
rickardg has joined #lisp
<phoe> PuercoPope: woah
rickardg has quit [Remote host closed the connection]
Cymew has joined #lisp
rickardg has joined #lisp
makomo has quit [Ping timeout: 265 seconds]
rickardg has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 252 seconds]
mishoo has quit [Ping timeout: 252 seconds]
rickardg has joined #lisp
ikki has quit [Ping timeout: 248 seconds]
<|3b|> is there some way to see if a symbol names a cffi enum or bitfield type?
Cymew has joined #lisp
<|3b|> (aside from just trying to use it as one and checking for errors)
Intensity has quit [Ping timeout: 246 seconds]
Bike has quit [Ping timeout: 260 seconds]
rickardg has quit [Remote host closed the connection]
fikka has joined #lisp
eschatologist has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 240 seconds]
Murii has joined #lisp
eschatologist has joined #lisp
<Shinmera> |3b|: Digging in the source gives me (typep (cffi::ensure-parsed-base-type 'foo) 'cffi::foreign-enum)
<Shinmera> Obviously unexported, so
Jesin has quit [Quit: Leaving]
fikka has quit [Ping timeout: 264 seconds]
<Shinmera> Checking whether a symbol names a certain kind of CFFI type seems like something that would generally be desirable though, so raising an issue/discussion to add that functionality would be worth it
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fikka has joined #lisp
pedh has joined #lisp
<Shinmera> Great :)
heurist`_ is now known as heurist
pedh has quit [Ping timeout: 248 seconds]
Intensity has joined #lisp
wigust_ has quit [Ping timeout: 256 seconds]
Achylles has joined #lisp
Murii has quit [Quit: WeeChat 1.4]
Kundry_Wag has joined #lisp
damke has joined #lisp
Bike has joined #lisp
python476 has quit [Read error: Connection reset by peer]
damke_ has quit [Ping timeout: 264 seconds]
osune has quit [Remote host closed the connection]
Amplituhedron has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
<Xach_> fooey, twitter is rejecting my cool animated text gif as invalid
fikka has quit [Quit: leaving]
fikka has joined #lisp
Arcaelyx has joined #lisp
TMA has quit [Ping timeout: 248 seconds]
sjl has quit [Ping timeout: 250 seconds]
ikki has joined #lisp
pedh has joined #lisp
pedh has quit [Ping timeout: 240 seconds]
fiddlerwoaroof has quit [Ping timeout: 250 seconds]
<|3b|> does (compile 'foo ...) remove existing compiler macros for FOO ?
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
mson has quit [Quit: Connection closed for inactivity]
rpg has quit [Remote host closed the connection]
rpg has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
Amplituhedron has quit [Remote host closed the connection]
fikka has joined #lisp
rumbler31 has quit [Ping timeout: 248 seconds]
mrcom has quit [Read error: Connection reset by peer]
mrcom has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
amerlyq has quit [Ping timeout: 255 seconds]
fikka has joined #lisp