2015-01-30T00:00:03Z rm34D quit (Ping timeout: 264 seconds) 2015-01-30T00:00:53Z vaporatorius quit (Remote host closed the connection) 2015-01-30T00:02:11Z ggherdov quit 2015-01-30T00:03:13Z JokesOnYou77: What's the best way to get command line args in an image? 2015-01-30T00:05:34Z `JRG quit (Ping timeout: 246 seconds) 2015-01-30T00:07:09Z MutSbeta quit (Quit: Leaving.) 2015-01-30T00:07:44Z durson joined #lisp 2015-01-30T00:08:00Z durson quit (Remote host closed the connection) 2015-01-30T00:10:01Z hiroakip quit (Ping timeout: 244 seconds) 2015-01-30T00:10:01Z Kanae quit (Read error: Connection reset by peer) 2015-01-30T00:12:26Z raphaelss joined #lisp 2015-01-30T00:12:45Z meiji11 joined #lisp 2015-01-30T00:12:47Z Xach: JokesOnYou77: varies by implementation. 2015-01-30T00:13:04Z attila_lendvai quit (Quit: Leaving.) 2015-01-30T00:14:42Z ggherdov joined #lisp 2015-01-30T00:17:07Z nyef: Surely the "best" way is to use some portability library? 2015-01-30T00:17:31Z nyef: ... I know that there is one for making an "application", but the name escapes me. 2015-01-30T00:21:16Z mishoo quit (Ping timeout: 255 seconds) 2015-01-30T00:23:18Z JokesOnYou77: Using lispworks. Right now we use this function, but I was wondering if there's a more common practice: http://paste.lisp.org/display/145464 2015-01-30T00:23:53Z pillton: lisp-executable can do it for you. 2015-01-30T00:25:01Z Xach: JokesOnYou77: that's for processing argument/value pairs from the command line 2015-01-30T00:25:05Z Xach: JokesOnYou77: is that what you mean? 2015-01-30T00:27:34Z JokesOnYou77: Xach, Yes. I'm looking at building an image and as I write my entry point function I'm reviewing what I have from work. 2015-01-30T00:28:16Z innertracks quit (Quit: innertracks) 2015-01-30T00:31:39Z pillton: Oh, lisp-executable has no support for LispWorks. 2015-01-30T00:32:22Z defaultxr joined #lisp 2015-01-30T00:33:27Z JokesOnYou77: Oh, bummer. I'll take a look in any case. I borked my sbcl install somehow a while back so I'm just using a LW image I build at the office as the slime backend. 2015-01-30T00:36:30Z cjmacs`` quit (Read error: Connection reset by peer) 2015-01-30T00:43:15Z bb010g joined #lisp 2015-01-30T00:48:33Z bgs100 joined #lisp 2015-01-30T00:50:42Z innertracks joined #lisp 2015-01-30T00:55:14Z manuel__ joined #lisp 2015-01-30T00:57:04Z Xach: JokesOnYou77: what you have there is fine. 2015-01-30T01:08:39Z Bicyclidine quit (Ping timeout: 256 seconds) 2015-01-30T01:12:12Z enitiz joined #lisp 2015-01-30T01:12:55Z oleo__ quit (Quit: Verlassend) 2015-01-30T01:17:05Z nell quit (Quit: WeeChat 1.2-dev) 2015-01-30T01:20:32Z oleo joined #lisp 2015-01-30T01:20:32Z Bicyclidine joined #lisp 2015-01-30T01:20:50Z Jirachier joined #lisp 2015-01-30T01:20:54Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T01:21:29Z MrWoohoo joined #lisp 2015-01-30T01:22:23Z wilfredh quit (Quit: Connection closed for inactivity) 2015-01-30T01:24:43Z taspat`` joined #lisp 2015-01-30T01:26:24Z jleija joined #lisp 2015-01-30T01:28:19Z taspat` quit (Ping timeout: 255 seconds) 2015-01-30T01:28:31Z taspat quit (Ping timeout: 265 seconds) 2015-01-30T01:29:52Z Bicyclidine quit (Ping timeout: 245 seconds) 2015-01-30T01:31:08Z devll quit (Ping timeout: 272 seconds) 2015-01-30T01:31:52Z Bicyclidine joined #lisp 2015-01-30T01:32:11Z Bicyclidine quit (Client Quit) 2015-01-30T01:43:22Z playnu_com_ar_ quit (Remote host closed the connection) 2015-01-30T01:45:26Z enitiz quit (Ping timeout: 265 seconds) 2015-01-30T01:47:25Z Karl_Dscc joined #lisp 2015-01-30T01:47:38Z ivan\ quit (Read error: Connection reset by peer) 2015-01-30T01:48:08Z robot-beethoven joined #lisp 2015-01-30T01:48:18Z ivan\ joined #lisp 2015-01-30T01:53:57Z j_ quit (Quit: Leaving) 2015-01-30T01:59:12Z profess joined #lisp 2015-01-30T02:01:21Z manuel__ quit (Quit: manuel__) 2015-01-30T02:06:03Z taspat`` quit (Ping timeout: 264 seconds) 2015-01-30T02:06:21Z enitiz joined #lisp 2015-01-30T02:09:43Z mingvs quit (Ping timeout: 255 seconds) 2015-01-30T02:11:27Z mingvs joined #lisp 2015-01-30T02:15:04Z Karl_Dscc quit (Remote host closed the connection) 2015-01-30T02:19:24Z sismondi quit (Ping timeout: 276 seconds) 2015-01-30T02:22:01Z goglosh joined #lisp 2015-01-30T02:23:19Z sismondi joined #lisp 2015-01-30T02:31:31Z echo-area joined #lisp 2015-01-30T02:39:05Z loke_ quit (Ping timeout: 265 seconds) 2015-01-30T02:42:00Z agumonkey_ quit (Quit: ZNC - http://znc.in) 2015-01-30T02:43:16Z agumonkey joined #lisp 2015-01-30T02:45:44Z loke_ joined #lisp 2015-01-30T02:47:49Z goglosh: Xach: thank you so much about skippy! 2015-01-30T02:48:09Z goglosh: s/about/for/ 2015-01-30T02:48:37Z JuanDaugherty joined #lisp 2015-01-30T02:48:48Z Xach: no problem! are you using it in a cool way? 2015-01-30T02:51:35Z goglosh: I'm starting to use it but it was exactly what I googled for :P 2015-01-30T02:51:39Z loke_ quit (Ping timeout: 265 seconds) 2015-01-30T02:52:55Z fantazo quit (Quit: Verlassend) 2015-01-30T02:53:04Z Xach: glad to hear it 2015-01-30T02:53:18Z Helapu joined #lisp 2015-01-30T02:53:19Z Xach: as it happens, i just made a minor update to it, the first since 2011 2015-01-30T02:53:32Z Xach: the example code did not work, and now it does 2015-01-30T02:55:16Z goglosh: lol 2015-01-30T02:55:45Z cpc26 joined #lisp 2015-01-30T02:56:17Z MrWoohoo quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-01-30T02:56:43Z Helapu left #lisp 2015-01-30T02:56:58Z cpc26_ quit (Ping timeout: 255 seconds) 2015-01-30T02:59:01Z goglosh: um why does it say unbound-varibale #:skippy? 2015-01-30T02:59:29Z Xach: What says that? 2015-01-30T02:59:43Z xyh joined #lisp 2015-01-30T02:59:49Z goglosh: sbcl when I say (use-package #:skippy) 2015-01-30T03:00:06Z nell joined #lisp 2015-01-30T03:00:15Z Xach: goglosh: because use-package is a function and it evaluates its arguments. #:skippy is a symbol that is unbound. 2015-01-30T03:00:26Z antgreen joined #lisp 2015-01-30T03:00:37Z Xach: goglosh: you would have better results if you quote it, or use a self-evaluating thing like a string or keyword 2015-01-30T03:00:56Z goglosh: b-but it's right in your examples 2015-01-30T03:01:08Z goglosh: I copied that verbatim 2015-01-30T03:01:08Z Xach: Uh oh. Maybe time for a new release with better docs! 2015-01-30T03:01:26Z Xach: Indeed it is. Those are bad examples, sorry! 2015-01-30T03:02:01Z Xach: skippy is very old and nobody contacted me about those problems. :~( 2015-01-30T03:02:04Z goglosh: ehehe it's okay, so if I already used (ql:quickload "skippy") am I ready to use it? 2015-01-30T03:02:33Z __main__ quit (Ping timeout: 256 seconds) 2015-01-30T03:03:45Z Xach: goglosh: if you don't use the skippy package, you must use package prefixes on its functions 2015-01-30T03:03:55Z Xach: use as in "use-package" or the ":use" option to defpackage 2015-01-30T03:04:37Z goglosh: dayum I've never put myself to learn about the packaging system 2015-01-30T03:04:47Z loke_ joined #lisp 2015-01-30T03:04:49Z drmeister: Does anyone know how SLIME deals with unbound variables when you display a stack frame in sldb? 2015-01-30T03:05:20Z drmeister: I'm having some kind of trouble with it. 2015-01-30T03:06:52Z xyh quit (Ping timeout: 255 seconds) 2015-01-30T03:10:17Z innertracks quit (Quit: innertracks) 2015-01-30T03:13:36Z __main__ joined #lisp 2015-01-30T03:13:42Z xyh joined #lisp 2015-01-30T03:15:33Z jumblerg joined #lisp 2015-01-30T03:16:04Z jumblerg quit (Client Quit) 2015-01-30T03:16:54Z Xach: goglosh: the examples in the docs have been updated 2015-01-30T03:19:03Z smokeink joined #lisp 2015-01-30T03:20:04Z badkins quit 2015-01-30T03:20:44Z normallyme quit (Remote host closed the connection) 2015-01-30T03:20:55Z gendl joined #lisp 2015-01-30T03:21:19Z goglosh: awesome, thanks man 2015-01-30T03:21:23Z goglosh: have an internet 2015-01-30T03:23:14Z xyh quit (Ping timeout: 272 seconds) 2015-01-30T03:25:58Z goglosh: uh... so... sorry for the noobness, but I still don't get how to use the package... 2015-01-30T03:26:28Z theseb quit (Quit: Leaving) 2015-01-30T03:26:29Z goglosh: oh nvm 2015-01-30T03:26:58Z Helapu joined #lisp 2015-01-30T03:27:03Z cpc26_ joined #lisp 2015-01-30T03:29:34Z cpc26 quit (Ping timeout: 272 seconds) 2015-01-30T03:29:45Z beach joined #lisp 2015-01-30T03:29:53Z beach: Good morning everyone! 2015-01-30T03:30:40Z splittist: morning beach! 2015-01-30T03:31:34Z nyef: Hello beach. 2015-01-30T03:31:39Z drmeister: Hello beach 2015-01-30T03:31:54Z drmeister: I just sent you an email. 2015-01-30T03:32:05Z beach: I saw it. 2015-01-30T03:32:28Z beach: I'll try to answer your questions. 2015-01-30T03:32:54Z drmeister: Is the problem with the first instruction that the place that points to the first instruction isn't being updated? 2015-01-30T03:33:01Z beach: For the ENTER-INSTRUCTION, you might want to replace it with a subclass if it. 2015-01-30T03:33:22Z beach: That is why you should use change-class. 2015-01-30T03:33:44Z drmeister: I'm doing the "return a new class to replace it with thing". 2015-01-30T03:34:11Z beach: Hmm, yeah, that might not work with ENTER. 2015-01-30T03:34:30Z drmeister: I was actually thinking I was going to write a whole graph of instructions that converted the llvm arguments to variables. 2015-01-30T03:34:32Z beach: With enter, do CHANGE-CLASS and return the original. 2015-01-30T03:34:57Z drmeister: Why return the original? 2015-01-30T03:35:00Z Helapu_ joined #lisp 2015-01-30T03:35:09Z beach: CHANGE-CLASS preserves identity. 2015-01-30T03:35:13Z drmeister: Oh - I see, that's all I have. 2015-01-30T03:35:24Z drmeister: Right, preserves identity. 2015-01-30T03:36:15Z drmeister: So I don't want to insert any instructions above the enter-instruction? 2015-01-30T03:36:21Z drmeister: Can I insert instructions under it? 2015-01-30T03:36:42Z drmeister: Or am I going about this the wrong way? 2015-01-30T03:37:55Z beach: You should be able to insert instructions after the ENTER since it has a single successor. 2015-01-30T03:38:21Z beach: There should be a comment about it associated with INSERT-INSTRUCTION-AFTER 2015-01-30T03:38:24Z drmeister: Because the first thing that happens when you enter a function is you have the closed environment, nargs, regarg0, regarg1,...regarg4 and the rest are in the MultipleValues array. I was thinking I would generate MIR to handle all that stuff. 2015-01-30T03:38:26Z Helapu quit (Ping timeout: 264 seconds) 2015-01-30T03:38:39Z beach: Sure. 2015-01-30T03:40:14Z drmeister: Here's the new classes that I created and the SPECIALIZE method that I specialized on them. It's trivially changing cleavir-ir:XXX classes to cleavir-llvm-ir:XXX classes. 2015-01-30T03:40:48Z drmeister: https://gist.github.com/drmeister/d353ae4497215de7a3ae 2015-01-30T03:41:26Z drmeister: My classes inherit from cleavir-ir:instruction and depending on what they are cleavir-ir:no-successors-mixin or cleavir-ir:one-successor-mixing yadda, yadda yadda. 2015-01-30T03:41:43Z drmeister: s/mixing/mixin/ 2015-01-30T03:42:07Z beach: I don't see a problem with that. 2015-01-30T03:42:31Z beach: Why do you put closing parentheses by themselves on a line? 2015-01-30T03:43:09Z beach: Very unconventional. 2015-01-30T03:43:10Z drmeister: Because I'm crazy like that. 2015-01-30T03:43:44Z beach: And why do you sometimes have no blank line, sometime 1, sometimes more than 1? 2015-01-30T03:43:47Z drmeister: I was copying and pasting the make-instance... and it was easier to put the trailing parenthesis on a separate line the way I was editing them. I'll move them up later. 2015-01-30T03:43:49Z JuanDaugherty groans 2015-01-30T03:44:17Z JuanDaugherty is a groan mang 2015-01-30T03:44:58Z drmeister: Oh dear - my parentheses are offending sensibilities. 2015-01-30T03:45:25Z drmeister: Don't worry, I'll fix it. 2015-01-30T03:46:00Z drmeister: Now CHANGE-CLASS - that retains slots that have the same name - so it's easier if I use that because I don't need to pass initializers - is that correct? 2015-01-30T03:46:44Z beach: What does it mean to "pass initializers"? 2015-01-30T03:47:12Z Helapu_ quit (Remote host closed the connection) 2015-01-30T03:47:21Z drmeister: Note the beautifully placed parentheses: 2015-01-30T03:47:21Z drmeister: https://gist.github.com/drmeister/3a8fc92e205c966a1428 2015-01-30T03:47:24Z beach: And, yes, CHANGE-CLASS preserves those slots. 2015-01-30T03:47:38Z beach: Very nice. 2015-01-30T03:47:56Z drmeister: Thank you, I put my best people on it. 2015-01-30T03:48:13Z beach: I believe you. 2015-01-30T03:49:34Z pillton: drmeister: The best people as in me, myself and I? 2015-01-30T03:51:18Z beach: "ego" might be involved too. 2015-01-30T03:51:58Z Zhivago: The more ego, the better integrated. 2015-01-30T03:52:06Z drmeister: Well, I wasn't being quite truthful, my wife is my *best* people. Lets say the best people I can convince to do anything. 2015-01-30T03:52:11Z kushal quit (Ping timeout: 244 seconds) 2015-01-30T03:52:24Z beach: Very diplomatic of you. 2015-01-30T03:52:29Z beach: I'll remember that one. 2015-01-30T03:53:41Z drmeister: I guess the question now is how far do I go with MIR and when do I start generating LLVM-IR? Do you have any guidance? 2015-01-30T03:55:13Z beach: Not really. I think soon-ish because the LLVM does a lot of stuff that I would do in MIR for other backends, like register allocation. 2015-01-30T03:55:40Z drmeister: That sounded like a better question in my head. I think I should just generate MIR that's pretty close to LLVM-IR and then walk it again and generate LLVM-IR. 2015-01-30T03:56:19Z beach: Sounds right. 2015-01-30T03:57:52Z smokeink quit (Ping timeout: 244 seconds) 2015-01-30T03:58:23Z antonv joined #lisp 2015-01-30T03:59:18Z jumblerg joined #lisp 2015-01-30T03:59:33Z drmeister: It looks like I need to create a class for every HIR instruction - is that necessary? Or is it ok to just transform some of the instructions? 2015-01-30T04:00:49Z beach: At this point that is up to you. Whatever you don't transform, you must be able to generate LLVM code from. 2015-01-30T04:01:05Z beach: I am guessing for instance that you don't need to change the assignment instruction. 2015-01-30T04:04:20Z ivan\ quit (Remote host closed the connection) 2015-01-30T04:05:21Z drmeister: You are probably right - I did though to begin with because I'm feeling things out. 2015-01-30T04:05:25Z drmeister: (mir-form 1) 2015-01-30T04:05:57Z drmeister: hir: http://imgur.com/pss69GC 2015-01-30T04:06:11Z beach: Sure, at this point it is fine to experiment with it so that you can familiarize your self with the notation. 2015-01-30T04:06:35Z drmeister: mir: http://imgur.com/Ih4cfrg 2015-01-30T04:06:49Z drmeister: I realize it's a trivial example - I'm just figuring it out. 2015-01-30T04:06:59Z beach: Yes, of course. 2015-01-30T04:07:00Z ivan\ joined #lisp 2015-01-30T04:08:11Z drmeister: Regarding the assignment statement. It would be different if it's assigning a load-time-value (orange rectangle) to a register vs register to register. 2015-01-30T04:08:31Z drmeister: Wouldn't it? 2015-01-30T04:08:42Z bgs100 quit (Quit: bgs100) 2015-01-30T04:10:02Z sheilong quit (Remote host closed the connection) 2015-01-30T04:10:08Z beach: Why? 2015-01-30T04:10:30Z sheilong joined #lisp 2015-01-30T04:11:15Z drmeister: Well, I pull values out of the load-time-value array in a different way than I would pull a value from an alloca 2015-01-30T04:11:43Z hhh joined #lisp 2015-01-30T04:11:50Z beach: Yes, I see. 2015-01-30T04:12:16Z hhh: How do I suppress style-warnings in sbcl globally? 2015-01-30T04:12:20Z profess quit (Remote host closed the connection) 2015-01-30T04:13:41Z sitdownguy joined #lisp 2015-01-30T04:13:42Z drmeister: So I could either have a single assignment statement and generate different code based on its input/output or I can have multiple MIR assignment statements that are converted from the HIR statement based on the input/output and each one generates specific code. That's the kind of "how far do I go with MIR before I generate LLVM-IR" question I was asking 2015-01-30T04:13:42Z drmeister: before. 2015-01-30T04:14:20Z beach: Indeed. The same logic has to be there one way or the other. 2015-01-30T04:14:25Z viaken: How does one write prettier code? 2015-01-30T04:14:34Z viaken: Or, indeed, learn what "pretty" code is? 2015-01-30T04:15:05Z beach: drmeister: I would say, if you need to manipulate the graph somehow once the assignment has been specialized, do it in MIR. If the graph is fixed, then do it at code generation. 2015-01-30T04:15:23Z JokesOnYou77: viaken, imho pretty code is code that is elegant in it's solutions and easily understood by a reader. I'm a fan of: https://google-styleguide.googlecode.com/svn/trunk/lispguide.xml 2015-01-30T04:15:26Z profess joined #lisp 2015-01-30T04:15:33Z beach: viaken: Study other people's code. Ask here which one is good and which one is bad. Practice. 2015-01-30T04:16:05Z viaken: Anyone got any good code handy? 2015-01-30T04:16:20Z Helapu joined #lisp 2015-01-30T04:16:22Z drmeister whispers to viaken "Don't leave dangling parentheses" 2015-01-30T04:16:31Z JokesOnYou77: rofl 2015-01-30T04:16:32Z axion: any code surrounded by parens is pretty 2015-01-30T04:16:34Z beach: viaken: What kind of code are you interested in. 2015-01-30T04:16:35Z beach: ? 2015-01-30T04:17:06Z nyef: Don't just study pretty code, also study ugly code: There's a lot that can be learned from a good bad example. 2015-01-30T04:17:26Z beach: Good advice. 2015-01-30T04:17:28Z JokesOnYou77: In that case, I've got plenty of ugly code lol :P 2015-01-30T04:17:50Z viaken is producing his own ugly code, it feels like. :P 2015-01-30T04:18:09Z profess quit (Remote host closed the connection) 2015-01-30T04:18:10Z beach: viaken: Submit it here and have people tell you what to change. 2015-01-30T04:18:34Z Helapu_ joined #lisp 2015-01-30T04:18:47Z beach: viaken: Your question doesn't have a short answer. It's like asking "how does one write good literature?". 2015-01-30T04:18:56Z JokesOnYou77: I tend to think that writing good code comes not just from studying the form of code that is deemed to be good, but by following good coding principles. Better code will arise from review, a lot like writing. 2015-01-30T04:19:01Z nyef: "How does one get to Carnegie Hall?" 2015-01-30T04:19:07Z JokesOnYou77: A Train? 2015-01-30T04:19:23Z gendl quit (Quit: Colloquy for iPhone - http://colloquy.mobi) 2015-01-30T04:20:03Z profess joined #lisp 2015-01-30T04:21:35Z Helapu quit (Ping timeout: 246 seconds) 2015-01-30T04:21:37Z kushal joined #lisp 2015-01-30T04:21:39Z viaken: beach: That's fair. 2015-01-30T04:21:40Z JokesOnYou77: Also, this channel is probably (excluding myself) one of the highest concentrations of high quality coders I have ever seen so you can always put something up on http://paste.lisp.org/ and post it here 2015-01-30T04:21:55Z drmeister: Emacs will do most of the heavy lifting for indentation M-C-q. If it doesn't produce pretty code then it's somebody else's fault. 2015-01-30T04:22:23Z JokesOnYou77: (I'm excluding myself because I lower that threshold btw) :P 2015-01-30T04:22:23Z viaken: drmeister: Well, yeah. The indentation and parens are fine. I more meant conceptually. 2015-01-30T04:23:27Z nyef quit (Quit: G'night all) 2015-01-30T04:26:24Z beach: viaken: It is one of those expert skills that people say take 10000 hours to master (or alternatively 10 years; same order of magnitude). We currently know of only one way to do it: practice + feedback in a closed loop. 2015-01-30T04:27:31Z araujo quit (Read error: Connection reset by peer) 2015-01-30T04:28:36Z araujo joined #lisp 2015-01-30T04:28:50Z Helapu joined #lisp 2015-01-30T04:31:35Z profess quit (Remote host closed the connection) 2015-01-30T04:31:53Z Helapu_ quit (Ping timeout: 240 seconds) 2015-01-30T04:34:40Z beach: drmeister: So, there is currently no big issue I have to work on? 2015-01-30T04:35:35Z drmeister: beach: I don't think so. There's the custom declare I added - but other than that it's on me to generate some runnable code. 2015-01-30T04:36:13Z drmeister: You've done a tremendous amount already. This is really a fantastic framework to work within. 2015-01-30T04:36:16Z Helapu_ joined #lisp 2015-01-30T04:36:24Z beach: Oh, thanks! 2015-01-30T04:36:55Z beach: I sure hope it works out. 2015-01-30T04:38:09Z beach: Maybe now I'll have more customers. :) 2015-01-30T04:38:10Z drmeister: I'm pretty sure it will. I had some crashes when I ran some complicated forms through it but those are probably my problems. 2015-01-30T04:38:12Z Helapu_ quit (Client Quit) 2015-01-30T04:38:36Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T04:39:32Z beach: OK. Well, I am currently setting up (for the first time) and environment in which I can generate MIR conveniently. Before, I stopped at HIR before transformations, because that's all I need for the extrinsic SICL environment. 2015-01-30T04:39:39Z Helapu quit (Ping timeout: 264 seconds) 2015-01-30T04:39:56Z beach: So I should be able to do much more testing soon. 2015-01-30T04:40:00Z drmeister: That's what I've been working on all day. 2015-01-30T04:40:26Z goglosh left #lisp 2015-01-30T04:40:48Z beach: I know. I need to do it as well, so that we can synchronize more easily. 2015-01-30T04:41:17Z beach: Since I have first-class global environments, I should be able to set up environments that look more like yours if needed. 2015-01-30T04:43:10Z jumblerg joined #lisp 2015-01-30T04:44:49Z JokesOnYou77: What exactly is this project? 2015-01-30T04:45:13Z drmeister: Is there more documentation on the instructions? The assignment-instruction, does it take one input and one output? 2015-01-30T04:45:14Z beach: minion: Please tell JokesOnYou77 about Cleavir. 2015-01-30T04:45:14Z minion: JokesOnYou77: Cleavir: A project to create an implementation-independent compilation framework for Common Lisp. Currently Cleavir is part of SICL, but that might change in the future 2015-01-30T04:45:20Z beach: minion: Please tell JokesOnYou77 about SICL. 2015-01-30T04:45:20Z minion: JokesOnYou77: SICL: SICL is a (perhaps futile) attempt to re-implement Common Lisp from scratch, hopefully using improved programming and bootstrapping techniques. See https://github.com/robert-strandh/SICL 2015-01-30T04:45:35Z beach: drmeister: Yes, one input and one output. 2015-01-30T04:45:56Z joneshf-laptop_ joined #lisp 2015-01-30T04:46:03Z nikki93 joined #lisp 2015-01-30T04:46:19Z JokesOnYou77: Wow. That's amazing. 2015-01-30T04:46:19Z drmeister: You said a while ago that the PDF on Cleavir was out of date - is there any value in looking at it? 2015-01-30T04:46:30Z joneshf-laptop quit (Read error: Connection reset by peer) 2015-01-30T04:46:58Z JokesOnYou77: Sounds like and incredible project. 2015-01-30T04:47:12Z beach: drmeister: I think most stuff is still valid. It is more the details that aren't. 2015-01-30T04:47:15Z cluck quit (Read error: Connection reset by peer) 2015-01-30T04:47:18Z nikki93 quit (Remote host closed the connection) 2015-01-30T04:47:20Z beach: JokesOnYou77: Thanks. 2015-01-30T04:47:28Z cluck joined #lisp 2015-01-30T04:48:15Z __main__ quit (Ping timeout: 276 seconds) 2015-01-30T04:48:32Z drmeister: I'll go there first then. 2015-01-30T04:48:38Z joneshf-laptop_ quit (Max SendQ exceeded) 2015-01-30T04:48:56Z drmeister: There are a lot of nice docs in the code though. (1) code (2) pdf. 2015-01-30T04:49:00Z drmeister: (3) bug you. 2015-01-30T04:49:05Z beach: drmeister: You can ask me what information is valid, and I'll try to respond by updating as I go. 2015-01-30T04:49:09Z viaken: Oh, neat. I just assumed all of this was Clasp-related. 2015-01-30T04:49:25Z drmeister: viaken: No, I'm piggybacking off of Cleavir/SICL 2015-01-30T04:49:32Z beach: drmeister: The comments should be more up to date, yes. 2015-01-30T04:49:45Z joneshf-laptop_ joined #lisp 2015-01-30T04:50:12Z drmeister: It's just an amazing coincidence that beach was writing a compiler front end about the time I realized my compiler front end was shite. 2015-01-30T04:50:27Z viaken: Neat! 2015-01-30T04:50:41Z drmeister thinks, well, it's good enough to bootstrap CLOS so I can run Cleavir. 2015-01-30T04:50:44Z viaken: I'm glad Lisp isn't completely dead. The parens call to me. 2015-01-30T04:50:47Z araujo quit (Quit: Leaving) 2015-01-30T04:52:19Z drmeister: elegant weapons for a more ... civilized age 2015-01-30T04:53:44Z antonv: viaken: you are right, not completely 2015-01-30T04:53:48Z renopt joined #lisp 2015-01-30T04:54:09Z viaken: drmeister: I would make a joke about 297 invalidating 303, but considering your project. 2015-01-30T04:56:41Z gingerale joined #lisp 2015-01-30T05:01:15Z beach: JokesOnYou77: There are 4 big chunks in a project like SICL: FORMAT, LOOP, CLOS, and the compiler. The first 3 are basically done. The compiler is well on the way. 2015-01-30T05:01:47Z beach: Then there is lots of small stuff of course. That's basically done too. 2015-01-30T05:04:46Z sitdownguy quit (Ping timeout: 255 seconds) 2015-01-30T05:07:15Z emaczen joined #lisp 2015-01-30T05:07:40Z oldk joined #lisp 2015-01-30T05:08:34Z emaczen: with asdf, I have a top-level .asd file which defines modules (I want these modules to represent 4 separate systems and some may depend on each other) 2015-01-30T05:08:49Z sheilong quit (Ping timeout: 264 seconds) 2015-01-30T05:08:59Z emaczen: In each module, I also have .asd files and package .lisp files which describe dependencies amongst files in that module's package 2015-01-30T05:09:00Z beach: emaczen: Sounds good. 2015-01-30T05:09:35Z emaczen: beach: The only thing I don't like is that I am repeating myself in the top-level .asd file and in each module-level .asd file. 2015-01-30T05:09:44Z beach: drmeister: Speaking of ASDF, I no longer use *central-registry*. 2015-01-30T05:10:01Z beach: emaczen: What information is repeated? 2015-01-30T05:10:02Z drmeister: Really? What do you use? 2015-01-30T05:10:20Z emaczen: beach: I think it will be easier to pastebin a few things 2015-01-30T05:10:27Z beach: drmeister: I read the new improved ASDF manual and I just put a link in some directory. Hold on, I'll tell you which one... 2015-01-30T05:11:04Z drmeister: Ahah! You went and read the documentation - you are a brave, brave man. 2015-01-30T05:11:24Z |3b|: sounds like the top-level one should just depend on the others, assuming the others are useful on their own 2015-01-30T05:11:43Z emaczen: here is the link: http://pastebin.com/yBTrsyEb 2015-01-30T05:12:18Z beach: drmeister: Of course, now I can't find it. I would have to read the doc again. 2015-01-30T05:12:47Z enitiz quit (Ping timeout: 245 seconds) 2015-01-30T05:12:49Z emaczen: to me it would make sense to have just module dependencies at the top-level 2015-01-30T05:12:52Z beach: emaczen: Why not just make separate systems and use :depends-on in the top system. 2015-01-30T05:13:27Z emaczen: beach: So at the module-level, I can just forget about ":components" 2015-01-30T05:13:39Z devon joined #lisp 2015-01-30T05:13:53Z beach: emaczen: The top-level system would not have modules at all. 2015-01-30T05:14:13Z beach: emaczen: Just :depends-on (:system1 :system2 ...) 2015-01-30T05:14:38Z emaczen: beach: Yes! That is what I want -- I guess the word module tripped me up a little bit 2015-01-30T05:14:43Z drmeister: Oh the horror. I set up the ~/.config/common-lisp/source-registry.conf.d/ directory and have files like 51_sicl.conf containing things like: (:tree "/Users/meister/Development/clasp/src/lisp/kernel/contrib/sicl/Code") in them. 2015-01-30T05:14:53Z beach: drmeister: I put links to top-level directories in ~/.local/share/common-lisp/source/ 2015-01-30T05:15:29Z devon: Anyone know an easy way to make a binary stream from a character stream? 2015-01-30T05:15:51Z beach: devon: flexistreams might be able to do that. 2015-01-30T05:16:15Z beach: devon: Otherwise, you can probably do it yourself using Gray streams. 2015-01-30T05:16:31Z beach: drmeister: http://common-lisp.net/project/asdf/asdf/Configuring-ASDF-to-find-your-systems.html#Configuring-ASDF-to-find-your-systems 2015-01-30T05:16:53Z beach: drmeister: It doesn't say that symbolic links are OK, but I tried it and it works. 2015-01-30T05:16:58Z emaczen: beach: what is the difference between module and system then? 2015-01-30T05:17:38Z beach: emaczen: I am no ASDF expert, but they are all components at different levels. A module is a level down from system. Here, it looks like you just want separate systems. 2015-01-30T05:18:04Z bb010g quit (Quit: Connection closed for inactivity) 2015-01-30T05:18:10Z beach: emaczen: I use that method a lot because then I can reuse the (sub) systems in other contexts too. 2015-01-30T05:18:37Z emaczen: beach: You beat me to my next question. 2015-01-30T05:18:49Z emaczen: I think I know how that works already too. 2015-01-30T05:19:37Z beach: emaczen: Now, when I write a new SICL module, I just put the other SICL modules I need as systems being depended on, and it "just works". 2015-01-30T05:20:15Z beach: emaczen: So I end up having a fairly large number of separate systems that depend on other systems as I see fit. 2015-01-30T05:20:20Z emaczen: beach: glad to know that this a tried and tested approach :) 2015-01-30T05:21:00Z beach: emaczen: In SICL, I currently have 94 separate ASDF systems. 2015-01-30T05:21:46Z emaczen: beach: That's really cool! 2015-01-30T05:21:57Z emaczen: I'll be happy with like 5 for now haha 2015-01-30T05:22:08Z zadock quit (Quit: Leaving) 2015-01-30T05:22:29Z emaczen: I'll have to try out SICL once I learn more of common lisp in general... 2015-01-30T05:22:43Z beach: Well, SICL is a big-ish chunk of code. Some 150kLOC so far. 2015-01-30T05:23:13Z beach: emaczen: SICL can't be tried out at the moment, unless you are writing a compiler like drmeister does. 2015-01-30T05:23:40Z devon: Alas, flexi-stream takes a binary stream and gives you a character stream. Guess I'll roll my own. 2015-01-30T05:23:51Z beach: devon: :( 2015-01-30T05:25:34Z Harag joined #lisp 2015-01-30T05:25:41Z cluck quit (Remote host closed the connection) 2015-01-30T05:26:14Z Harag quit (Remote host closed the connection) 2015-01-30T05:26:24Z Harag joined #lisp 2015-01-30T05:32:07Z Harag quit (Quit: Harag) 2015-01-30T05:32:15Z emaczen: beach: where do systems know where to find other systems -- at the top level I created folders for each original module. 2015-01-30T05:32:50Z emaczen: beach: I didn't find the scenario you described in the SICL repo 2015-01-30T05:33:28Z hhh quit (Quit: Page closed) 2015-01-30T05:38:09Z psy_ quit (Ping timeout: 245 seconds) 2015-01-30T05:38:33Z emaczen: beach: I found some scenarios -- but it is not obvious to me how a system knows where to find another system -- i.e. how would sicl-compiler know where to find sicl-global-environment ? 2015-01-30T05:39:22Z burtons joined #lisp 2015-01-30T05:39:41Z burtons: anybody home? 2015-01-30T05:40:51Z gingerale quit (Ping timeout: 264 seconds) 2015-01-30T05:41:48Z burtons: a quick video i made using vecto: https://www.youtube.com/watch?v=BA97cCVypUE&feature=share 2015-01-30T05:43:04Z viaken waits for mpv 2015-01-30T05:43:31Z burtons: it's coming 2015-01-30T05:43:33Z burtons: eventually 2015-01-30T05:43:41Z viaken: This laptop is really slow. 2015-01-30T05:43:57Z viaken: Oh, that's pretty. 2015-01-30T05:44:10Z burtons: i'm making another one with a background 2015-01-30T05:44:17Z burtons: my laptop is pretty slow too, should be done tomorrow 2015-01-30T05:44:24Z jleija quit (Quit: leaving) 2015-01-30T05:46:30Z innertracks joined #lisp 2015-01-30T05:48:55Z psy_ joined #lisp 2015-01-30T05:50:31Z selat quit (Quit: Lost terminal) 2015-01-30T05:52:36Z scymtym_ joined #lisp 2015-01-30T05:53:52Z beach: emaczen: I put symbolic links in ~/.local/share/common-lisp/source/ 2015-01-30T05:54:31Z beach: emaczen: For SICL, there is a single symbolic link in that directory, namely pointing to the top-level SICL directory. 2015-01-30T05:55:35Z beach: emaczen: That's enough for every system to find every other system. 2015-01-30T05:55:39Z emaczen: beach: I've done that before -- how does it find subsystems? 2015-01-30T05:55:59Z beach: I believe ASDF scans the entire directory for all .asd files at startup. 2015-01-30T05:56:03Z emaczen: beach: I'll try this 2015-01-30T05:56:28Z burtons: to get asdf to rescan your directory use (asdf:clear-source-registry) 2015-01-30T05:56:44Z emaczen: beach: right now I have opened slime in my top-level-directory 2015-01-30T05:57:31Z beach: emaczen: It shouldn't matter what the current SLIME directory is. 2015-01-30T05:58:19Z emaczen: beach: what about the source-registry.conf file? 2015-01-30T05:58:32Z beach: emaczen: I don't know about that. I don't use it. 2015-01-30T05:58:46Z R0B_ROD joined #lisp 2015-01-30T05:59:03Z tharugrim joined #lisp 2015-01-30T05:59:25Z oleo quit (Quit: Verlassend) 2015-01-30T05:59:57Z emaczen quit (Remote host closed the connection) 2015-01-30T06:00:36Z emaczen joined #lisp 2015-01-30T06:00:49Z R0B_ROD quit (Client Quit) 2015-01-30T06:02:06Z emaczen quit (Remote host closed the connection) 2015-01-30T06:02:35Z emaczen joined #lisp 2015-01-30T06:03:57Z emaczen: beach: can you say that again about your symlinks? I had to reboot emacs 2015-01-30T06:04:26Z beach: emaczen: I put symbolic links in ~/.local/share/common-lisp/source/ 2015-01-30T06:08:15Z _leb joined #lisp 2015-01-30T06:09:20Z sigjuice joined #lisp 2015-01-30T06:09:59Z huza joined #lisp 2015-01-30T06:10:55Z theseb joined #lisp 2015-01-30T06:12:25Z emaczen quit (Remote host closed the connection) 2015-01-30T06:13:06Z emaczen joined #lisp 2015-01-30T06:14:47Z zacharias_ joined #lisp 2015-01-30T06:17:22Z raphaelss quit (Ping timeout: 244 seconds) 2015-01-30T06:18:59Z oldk quit (Read error: Connection reset by peer) 2015-01-30T06:19:12Z xyh joined #lisp 2015-01-30T06:19:28Z raphaelss joined #lisp 2015-01-30T06:19:41Z OrangeShark quit (Quit: Leaving) 2015-01-30T06:20:42Z emaczen: beach: I get an error that says "Too many levels of symbolic links" 2015-01-30T06:22:13Z emaczen: If I just create one symbolic link to the top-level .asd file, then the REPL tells me that i can't find my sub-systems 2015-01-30T06:22:29Z emaczen: Including symbolic links to my subsystems tells me "Too many levels of symbolic links" 2015-01-30T06:23:00Z zacharias_ is now known as zacharias 2015-01-30T06:23:06Z beach: I just put a symbolic link to the top-level directory. Not to individual .asd files. 2015-01-30T06:23:23Z beach: An error message like that usually means a circular link. 2015-01-30T06:25:26Z ivan\ quit (Read error: Connection reset by peer) 2015-01-30T06:26:05Z ivan\ joined #lisp 2015-01-30T06:26:58Z emaczen: beach: how do you do an entire directory? 2015-01-30T06:27:08Z emaczen: how do you symlink an entire directory* 2015-01-30T06:27:12Z beach: ln -s my-directory 2015-01-30T06:28:11Z beach: In my case ln -s ~/strandh/Lisp/My-projects/GIT-ified/SICL 2015-01-30T06:28:56Z emaczen: beach: I think I figured something out with the source-registry 2015-01-30T06:29:01Z beach: Ooops ln -s ~/Lisp/My-projects/GIT-ified/SICL 2015-01-30T06:29:19Z beach: ... not that it matters. 2015-01-30T06:29:19Z emaczen: However, why would ASDF tell me that "ASDF-USER" does not designate any package" 2015-01-30T06:29:40Z beach: I don't believe ASDF is telling you that. 2015-01-30T06:29:52Z beach: Did you do a (require :asdf) 2015-01-30T06:30:01Z beach: I do that in my .sbclrc file. 2015-01-30T06:30:14Z emaczen: In the repl I am doing (require :top-level) 2015-01-30T06:30:30Z emaczen: or (require :my-top-level-system) 2015-01-30T06:30:59Z beach: Did you (require :asdf) first? 2015-01-30T06:31:22Z pranavrc joined #lisp 2015-01-30T06:33:14Z antonv quit (Ping timeout: 272 seconds) 2015-01-30T06:33:37Z emaczen: beach: (cl:in-package #:asdf-user) -- I commented out those lines at the top of my .asd files in each subsystem 2015-01-30T06:34:19Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-01-30T06:35:12Z beach: Why on earth did you do that? 2015-01-30T06:35:49Z beach: Did you (require :asdf) first? 2015-01-30T06:35:52Z emaczen: beach: Once I comment those lines out -- it works. 2015-01-30T06:35:59Z emaczen: I have at least isolated my problem 2015-01-30T06:36:15Z beach: You must have a very old version of ASDF. 2015-01-30T06:37:05Z beach: What Common Lisp system are you using? 2015-01-30T06:37:11Z emaczen: SBCL 2015-01-30T06:37:21Z beach: What version? 2015-01-30T06:37:44Z emaczen: 1.0.55 2015-01-30T06:38:03Z beach: Hmm. I don't know what ASDF version was used then. I use 1.2.5. 2015-01-30T06:38:05Z beach: And are you using Quicklisp? 2015-01-30T06:38:16Z emaczen: Yes 2015-01-30T06:38:24Z beach: I suggest you install a newer version of SBCL. 2015-01-30T06:38:36Z nell quit (Quit: WeeChat 1.2-dev) 2015-01-30T06:39:43Z beach: Perhaps the version of ASDF used in 1.0.55 didn't have the package ASDF-USER. I know it is a recent invention. 2015-01-30T06:40:06Z emaczen: So the ASDF version matches? 2015-01-30T06:40:18Z emaczen: wait 2015-01-30T06:40:19Z beach: I wouldn't think so. 2015-01-30T06:40:39Z beach: But I know ASDF has evolved and that you need a new SBCL version to get a recent ASDF. 2015-01-30T06:40:44Z emaczen: what is the difference between ASDF1 and ASDF2 and is there a third? 2015-01-30T06:41:09Z beach: I don't remember. I think so. 2015-01-30T06:41:49Z Bike: there is a third, yes 2015-01-30T06:41:54Z beach: My ASDF is 3.1.3. 2015-01-30T06:42:29Z emaczen: beach: You use SBCL 1.2.5 then? 2015-01-30T06:42:37Z beach: I do, yes. 2015-01-30T06:42:43Z holomorph joined #lisp 2015-01-30T06:42:44Z beach: Probably not the most recent. 2015-01-30T06:43:00Z emaczen: ahhh, you said ASDF 1.2.5 earlier -- that's why I was so confused 2015-01-30T06:43:04Z holomorph quit (Client Quit) 2015-01-30T06:43:09Z nostoi joined #lisp 2015-01-30T06:43:13Z beach: Oh, sorry. 2015-01-30T06:43:50Z beach: I meant "I don't know what ASDF version was used in SBCL 1.0.55. I use SBCL 1.2.5.". 2015-01-30T06:44:01Z emaczen: ahh 2015-01-30T06:44:27Z hvxgr quit (Ping timeout: 245 seconds) 2015-01-30T06:45:12Z beach: emaczen: I need to go. I'll leave you in the capable hands of other #lisp participants. 2015-01-30T06:45:17Z beach left #lisp 2015-01-30T06:45:43Z emaczen: beach: Thank you so much for all the help! 2015-01-30T06:45:56Z emaczen: I'll eventually get this whole system set up :) 2015-01-30T06:47:56Z _leb quit (Quit: Computer has gone to sleep.) 2015-01-30T06:51:12Z emaczen quit (Remote host closed the connection) 2015-01-30T06:53:02Z hiroakip joined #lisp 2015-01-30T07:01:18Z theseb quit (Quit: Leaving) 2015-01-30T07:04:14Z huza quit (Quit: WeeChat 0.3.8) 2015-01-30T07:05:16Z psy_ quit (Quit: Leaving) 2015-01-30T07:05:22Z Jirachier quit (Ping timeout: 255 seconds) 2015-01-30T07:05:24Z jasom quit (Ping timeout: 276 seconds) 2015-01-30T07:07:37Z edgar-rft quit (Quit: don't waste your life by reading this) 2015-01-30T07:09:02Z hiroakip quit (Ping timeout: 245 seconds) 2015-01-30T07:09:10Z innertracks quit (Quit: innertracks) 2015-01-30T07:09:31Z innertracks joined #lisp 2015-01-30T07:09:31Z innertracks quit (Client Quit) 2015-01-30T07:14:07Z zadock joined #lisp 2015-01-30T07:15:30Z hvxgr joined #lisp 2015-01-30T07:16:02Z fridim_ joined #lisp 2015-01-30T07:20:25Z jasom joined #lisp 2015-01-30T07:22:18Z mingvs quit (Ping timeout: 276 seconds) 2015-01-30T07:23:50Z mingvs joined #lisp 2015-01-30T07:24:39Z nostoi quit (Quit: Verlassend) 2015-01-30T07:24:52Z BitPuffin quit (Ping timeout: 240 seconds) 2015-01-30T07:28:34Z mrSpec joined #lisp 2015-01-30T07:29:01Z pt1 joined #lisp 2015-01-30T07:33:12Z Beetny joined #lisp 2015-01-30T07:33:16Z mingvs quit (Ping timeout: 255 seconds) 2015-01-30T07:35:16Z mingvs joined #lisp 2015-01-30T07:40:02Z jtza8 joined #lisp 2015-01-30T07:41:19Z Shinmera joined #lisp 2015-01-30T07:42:45Z harish joined #lisp 2015-01-30T07:43:24Z MrWoohoo joined #lisp 2015-01-30T07:43:51Z kobain quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) 2015-01-30T07:48:13Z vlnx quit (Remote host closed the connection) 2015-01-30T07:48:50Z duko joined #lisp 2015-01-30T07:48:55Z duko left #lisp 2015-01-30T07:49:33Z intinig joined #lisp 2015-01-30T07:51:28Z vlnx joined #lisp 2015-01-30T07:55:44Z thomas quit (Quit: reconnecting) 2015-01-30T07:56:05Z thomas joined #lisp 2015-01-30T07:56:35Z Ragnaroek joined #lisp 2015-01-30T07:57:46Z akkad: can mocl build CL binaries? 2015-01-30T07:58:07Z akkad: command line cli bins 2015-01-30T07:58:19Z angavrilov joined #lisp 2015-01-30T07:59:39Z z0d quit (Ping timeout: 252 seconds) 2015-01-30T08:01:30Z z0d joined #lisp 2015-01-30T08:01:30Z z0d quit (Changing host) 2015-01-30T08:01:30Z z0d joined #lisp 2015-01-30T08:01:32Z d4ryus___ joined #lisp 2015-01-30T08:03:05Z mishoo joined #lisp 2015-01-30T08:03:18Z froggey quit (Ping timeout: 245 seconds) 2015-01-30T08:03:34Z froggey joined #lisp 2015-01-30T08:04:22Z vdamewood joined #lisp 2015-01-30T08:04:50Z d4ryus quit (Ping timeout: 244 seconds) 2015-01-30T08:08:02Z akkad: must be a quicklisp issue with mocl 2015-01-30T08:10:59Z d4ryus___ is now known as d4ryus 2015-01-30T08:14:33Z Harag joined #lisp 2015-01-30T08:16:58Z rm34D joined #lisp 2015-01-30T08:18:51Z meiji11 quit (Remote host closed the connection) 2015-01-30T08:19:30Z Harag quit (Ping timeout: 276 seconds) 2015-01-30T08:19:56Z psy_ joined #lisp 2015-01-30T08:21:05Z cadadar joined #lisp 2015-01-30T08:25:14Z billitch joined #lisp 2015-01-30T08:36:03Z billitch quit (Ping timeout: 246 seconds) 2015-01-30T08:42:46Z xyh quit (Remote host closed the connection) 2015-01-30T08:43:19Z aretecode quit (Read error: Connection reset by peer) 2015-01-30T08:44:03Z Harag joined #lisp 2015-01-30T08:45:23Z aretecode joined #lisp 2015-01-30T08:47:31Z mvilleneuve joined #lisp 2015-01-30T08:48:24Z ivan\ quit (Remote host closed the connection) 2015-01-30T08:48:59Z arenz joined #lisp 2015-01-30T08:49:03Z ivan\ joined #lisp 2015-01-30T08:53:51Z ehaliewicz joined #lisp 2015-01-30T08:54:43Z jtza8 quit (Ping timeout: 255 seconds) 2015-01-30T08:54:50Z nand1 quit (Remote host closed the connection) 2015-01-30T08:58:23Z ehaliewicz: hashlife is such a fascinating algorithm 2015-01-30T08:59:26Z intinig quit (Remote host closed the connection) 2015-01-30T08:59:54Z intinig joined #lisp 2015-01-30T09:05:17Z hugoduncan quit (Ping timeout: 252 seconds) 2015-01-30T09:05:18Z redeemed joined #lisp 2015-01-30T09:05:27Z Lokathor quit (Ping timeout: 246 seconds) 2015-01-30T09:07:16Z xificurC joined #lisp 2015-01-30T09:08:09Z intinig quit (Ping timeout: 245 seconds) 2015-01-30T09:09:13Z intinig joined #lisp 2015-01-30T09:09:21Z resttime_ quit (Quit: resttime_) 2015-01-30T09:14:52Z otwieracz: Hello. 2015-01-30T09:16:24Z pocket joined #lisp 2015-01-30T09:16:47Z echo-area quit (Remote host closed the connection) 2015-01-30T09:17:42Z echo-area joined #lisp 2015-01-30T09:18:29Z pocket quit (Remote host closed the connection) 2015-01-30T09:18:32Z otwieracz: How about cl-autowrap and C++? 2015-01-30T09:19:57Z rm34D quit (Remote host closed the connection) 2015-01-30T09:20:13Z rm34D joined #lisp 2015-01-30T09:22:00Z defaultxr quit (Quit: gnight) 2015-01-30T09:26:20Z akkad: can you specify to asdf where to look for asd files? 2015-01-30T09:28:27Z jtza8 joined #lisp 2015-01-30T09:30:20Z mutley89 joined #lisp 2015-01-30T09:30:34Z nisstyre quit (Ping timeout: 272 seconds) 2015-01-30T09:31:51Z grc joined #lisp 2015-01-30T09:32:23Z akkad: this valid? (mapcar #'asdf:load-system '(:cl-store :cl-fad :cl-ppcre :gzip-stream :cl-json :fare-memoization :babel :salza2 :chipz :pcall :usocket :ironclad :flexi-streams )) 2015-01-30T09:32:23Z akkad: 2015-01-30T09:33:14Z nisstyre joined #lisp 2015-01-30T09:33:36Z rm34D quit (Ping timeout: 276 seconds) 2015-01-30T09:39:00Z cadadar: akkad: This page describes possibilities to configure ASDF, does that help? http://www.common-lisp.net/project/asdf/asdf/Configuring-ASDF-to-find-your-systems.html#Configuring-ASDF-to-find-your-systems 2015-01-30T09:39:50Z akkad: thanks. it's for mocl 2015-01-30T09:40:11Z cadadar: And I think your command might work, but why load all those systems manually? Usually you'd specify the dependencies of your own system and just load your system 2015-01-30T09:40:53Z cadadar: https://wukix.com/mocl ? 2015-01-30T09:44:08Z keen__________48 joined #lisp 2015-01-30T09:44:26Z akkad: yeah 2015-01-30T09:44:34Z akkad: since I can't quicklisp 2015-01-30T09:44:53Z keen__________47 quit (Ping timeout: 256 seconds) 2015-01-30T09:47:38Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T09:49:34Z cadadar: You can't use QL for downloading the systems, but once you have them you can still use ASDF for loading them? At least that's my understanding of ASDF and QL 2015-01-30T09:51:40Z akkad: yeah. 2015-01-30T09:52:16Z egp__ joined #lisp 2015-01-30T09:52:38Z akkad: wow mezzano compiler in 500k source. and system/ directory, so all of CL more or less in 700k... and immensly pretty code 2015-01-30T09:54:01Z zadock quit (Quit: Leaving) 2015-01-30T09:55:28Z BitPuffin joined #lisp 2015-01-30T10:00:15Z ehaliewicz quit (Ping timeout: 276 seconds) 2015-01-30T10:02:16Z zadock joined #lisp 2015-01-30T10:05:01Z Karl_Dscc joined #lisp 2015-01-30T10:05:44Z quazimodo quit (Ping timeout: 244 seconds) 2015-01-30T10:06:06Z jtza8 quit (Ping timeout: 276 seconds) 2015-01-30T10:06:53Z boredgod joined #lisp 2015-01-30T10:08:06Z harish quit (Ping timeout: 246 seconds) 2015-01-30T10:14:12Z nand1 joined #lisp 2015-01-30T10:20:20Z kushal quit (Quit: Leaving) 2015-01-30T10:20:29Z harish joined #lisp 2015-01-30T10:20:50Z jackdaniel quit (Quit: leaving) 2015-01-30T10:20:59Z jackdaniel joined #lisp 2015-01-30T10:21:09Z tharugrim quit (Ping timeout: 265 seconds) 2015-01-30T10:23:38Z JuanDaugherty quit (Remote host closed the connection) 2015-01-30T10:26:59Z echo-area quit (Ping timeout: 246 seconds) 2015-01-30T10:28:51Z gigetoo quit (Ping timeout: 276 seconds) 2015-01-30T10:33:14Z cmatei quit (Ping timeout: 265 seconds) 2015-01-30T10:34:17Z cmatei joined #lisp 2015-01-30T10:34:31Z tharugrim joined #lisp 2015-01-30T10:34:45Z daimrod quit (Ping timeout: 256 seconds) 2015-01-30T10:34:52Z daimrod joined #lisp 2015-01-30T10:37:19Z gz quit (Ping timeout: 180 seconds) 2015-01-30T10:41:37Z _Loic_ joined #lisp 2015-01-30T10:42:05Z antonv joined #lisp 2015-01-30T10:44:55Z intinig quit (Remote host closed the connection) 2015-01-30T10:45:24Z intinig joined #lisp 2015-01-30T10:46:56Z BlueRavenGT quit (Remote host closed the connection) 2015-01-30T10:47:04Z Karl_Dscc quit (Remote host closed the connection) 2015-01-30T10:52:33Z kuzy000_ joined #lisp 2015-01-30T10:53:22Z intinig quit (Ping timeout: 240 seconds) 2015-01-30T10:54:04Z kuzy000_ quit (Remote host closed the connection) 2015-01-30T10:56:01Z xan_ joined #lisp 2015-01-30T10:58:32Z hellofunk quit (Remote host closed the connection) 2015-01-30T11:00:31Z hellofunk joined #lisp 2015-01-30T11:11:22Z ivan\ quit (Read error: Connection reset by peer) 2015-01-30T11:11:22Z gigetoo joined #lisp 2015-01-30T11:11:32Z Karl_Dscc joined #lisp 2015-01-30T11:12:01Z ivan\ joined #lisp 2015-01-30T11:13:33Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-30T11:15:18Z intinig joined #lisp 2015-01-30T11:18:04Z ghard joined #lisp 2015-01-30T11:23:13Z harish quit (Ping timeout: 255 seconds) 2015-01-30T11:24:07Z scymtym_ quit (Ping timeout: 255 seconds) 2015-01-30T11:25:07Z hellofunk quit (Remote host closed the connection) 2015-01-30T11:25:57Z hellofunk joined #lisp 2015-01-30T11:27:51Z hellofunk quit (Remote host closed the connection) 2015-01-30T11:28:33Z hellofunk joined #lisp 2015-01-30T11:33:58Z hellofunk left #lisp 2015-01-30T11:36:36Z boredgod quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2015-01-30T11:42:06Z hellofunk joined #lisp 2015-01-30T11:45:14Z hellofunk left #lisp 2015-01-30T11:49:24Z quazimodo joined #lisp 2015-01-30T11:53:20Z cadadar quit (Quit: Leaving.) 2015-01-30T11:58:31Z hellofunk joined #lisp 2015-01-30T12:06:58Z ggole joined #lisp 2015-01-30T12:07:34Z enfors joined #lisp 2015-01-30T12:09:13Z JuanDaugherty joined #lisp 2015-01-30T12:10:47Z kapil__ quit 2015-01-30T12:10:59Z enitiz joined #lisp 2015-01-30T12:11:56Z kapil__ joined #lisp 2015-01-30T12:15:47Z psy_ quit (Quit: Leaving) 2015-01-30T12:25:08Z mutley89 quit (Quit: Leaving) 2015-01-30T12:28:01Z mishoo quit (Ping timeout: 255 seconds) 2015-01-30T12:30:38Z eudoxia joined #lisp 2015-01-30T12:32:27Z BitPuffin quit (Ping timeout: 264 seconds) 2015-01-30T12:36:50Z pers joined #lisp 2015-01-30T12:36:50Z pers: ogy 2015-01-30T12:38:08Z Jirachier joined #lisp 2015-01-30T12:39:23Z intinig quit (Remote host closed the connection) 2015-01-30T12:45:11Z enitiz quit (Ping timeout: 265 seconds) 2015-01-30T12:47:03Z BitPuffin joined #lisp 2015-01-30T12:47:09Z jacsib joined #lisp 2015-01-30T12:48:10Z enfors quit (Ping timeout: 272 seconds) 2015-01-30T12:49:22Z theos quit (Disconnected by services) 2015-01-30T12:49:43Z theos joined #lisp 2015-01-30T12:53:28Z backupthrick joined #lisp 2015-01-30T12:54:25Z urandom__ joined #lisp 2015-01-30T12:57:05Z hardenedapple joined #lisp 2015-01-30T13:01:14Z Shinmera: Might as well throw this in here: I wrote a bash script to (even more) easily build and install SBCL from source http://plaster.tymoon.eu/view/85 2015-01-30T13:01:55Z Beetny quit (Ping timeout: 244 seconds) 2015-01-30T13:04:51Z ghard quit (Quit: ghard) 2015-01-30T13:06:03Z fridim_ quit (Ping timeout: 244 seconds) 2015-01-30T13:09:00Z devll joined #lisp 2015-01-30T13:18:15Z Harag quit (Quit: Harag) 2015-01-30T13:21:30Z devll quit (Remote host closed the connection) 2015-01-30T13:27:03Z otwieracz: drmeister: ping! 2015-01-30T13:27:32Z otwieracz: drmeister: config-cache.jam: No such file or directory 2015-01-30T13:27:32Z otwieracz: /usr/share/boost-build/build-system.jam:696: in load 2015-01-30T13:27:32Z otwieracz: ERROR: rule "config-cache.load" unknown in module "build-system". 2015-01-30T13:27:39Z drmeister: poing 2015-01-30T13:27:51Z otwieracz: While building clasp 2015-01-30T13:27:59Z drmeister: What OS? 2015-01-30T13:28:54Z otwieracz: Linux, Gentoo 2015-01-30T13:29:07Z otwieracz: [I] sys-devel/clang (3.5.0-r100@28/01/15): C language family frontend for LLVM (meta-ebuild) 2015-01-30T13:29:13Z otwieracz: [I] sys-devel/gcc (4.8.3(4.8)@19/01/15): The GNU Compiler Collection 2015-01-30T13:30:12Z drmeister: Ok, jasom has built clasp on that system. 2015-01-30T13:30:54Z drmeister: Your error is an internal boost build error so there is something wrong in the big picture. 2015-01-30T13:31:00Z drmeister: Did you install externals-clasp and build it? 2015-01-30T13:31:20Z otwieracz: Yes. 2015-01-30T13:31:26Z drmeister: Did it build ok? 2015-01-30T13:31:27Z ivan\ quit (Remote host closed the connection) 2015-01-30T13:31:45Z otwieracz: Yes. 2015-01-30T13:31:47Z otwieracz: $ ls /home/otwieracz/.software/externals-clasp/build/ 2015-01-30T13:31:47Z otwieracz: common debug release 2015-01-30T13:31:50Z otwieracz: There is it. 2015-01-30T13:31:50Z pranavrc quit 2015-01-30T13:32:06Z ivan\ joined #lisp 2015-01-30T13:32:35Z drmeister: We should switch to the #clasp irc channel so we don't drive everyone else nuts. 2015-01-30T13:32:51Z nyef joined #lisp 2015-01-30T13:33:01Z drmeister: Also, I'm going in to work in a few minutes and I have a few meetings. 2015-01-30T13:33:05Z drmeister: this morning. 2015-01-30T13:33:10Z nyef: G'morning all. 2015-01-30T13:33:14Z otwieracz: OK 2015-01-30T13:33:21Z otwieracz: I am also lacking time right now :) 2015-01-30T13:33:43Z grc quit (Ping timeout: 255 seconds) 2015-01-30T13:33:46Z burtons quit (Ping timeout: 272 seconds) 2015-01-30T13:37:40Z hugod joined #lisp 2015-01-30T13:39:49Z harish joined #lisp 2015-01-30T13:40:07Z badkins joined #lisp 2015-01-30T13:40:38Z fantazo joined #lisp 2015-01-30T13:41:11Z z0d quit (*.net *.split) 2015-01-30T13:43:51Z enitiz joined #lisp 2015-01-30T13:46:47Z nand1 quit (Remote host closed the connection) 2015-01-30T13:52:47Z moore33 joined #lisp 2015-01-30T13:54:04Z gko__ joined #lisp 2015-01-30T13:58:08Z vaporatorius joined #lisp 2015-01-30T13:58:08Z Krystof quit (Read error: Connection reset by peer) 2015-01-30T13:59:50Z ghard joined #lisp 2015-01-30T14:02:16Z enitiz quit (Ping timeout: 272 seconds) 2015-01-30T14:04:25Z psy_ joined #lisp 2015-01-30T14:07:23Z jtza8 joined #lisp 2015-01-30T14:08:00Z cluck joined #lisp 2015-01-30T14:12:07Z nnmap joined #lisp 2015-01-30T14:13:08Z nnmap: Does Slime have a step-by-step debugger? 2015-01-30T14:13:58Z nyef: A "stepper"? It depends on your lisp implementation and debug settings. 2015-01-30T14:15:45Z jtza8 quit (Ping timeout: 256 seconds) 2015-01-30T14:15:49Z nnmap: I'm using SBCL. I'm reading "Paradigms of AI Programming" and there is some awful code I simply can't understand. I can use any debug settings. 2015-01-30T14:17:22Z Xach: which code? 2015-01-30T14:17:25Z nyef: In SBCL, you'll need to compile the code under (debug 3) in order to use the stepper. 2015-01-30T14:17:32Z nyef: But also, PAIP? Which code? 2015-01-30T14:19:29Z nnmap: It's about pipes. (defmacro make-pipe (head tail) `(cons head #'(lambda () ,tail))) I cannot understand the sieve algorithm. 2015-01-30T14:19:48Z intinig joined #lisp 2015-01-30T14:20:15Z Xach: what chapter is that? 2015-01-30T14:20:34Z Xach: I want to look it up in http://norvig.com/paip/README.html 2015-01-30T14:20:59Z enitiz joined #lisp 2015-01-30T14:21:15Z nnmap: Chapter 9 and it seems it's not in the source on norvig's site, at least grep finds nothing. 2015-01-30T14:21:31Z ggole: nnmap: are you trying to understand the macro? 2015-01-30T14:21:36Z Xach: ok 2015-01-30T14:23:20Z Grue`: nnmap: have you tried slime's macroexpander (C-c C-m)? 2015-01-30T14:24:00Z nnmap: I understand the macro. I typing the code and will post it on pastebin if you want... 2015-01-30T14:24:39Z badkins quit (Ping timeout: 264 seconds) 2015-01-30T14:24:52Z Jirachier quit (Ping timeout: 245 seconds) 2015-01-30T14:25:22Z Jirachier joined #lisp 2015-01-30T14:26:08Z nyef: ... What does FILTER do? 2015-01-30T14:26:34Z z0d joined #lisp 2015-01-30T14:26:43Z Grue`: filter is not a standard CL function; from the name I'd guess it's something like REMOVE-IF-NOT 2015-01-30T14:27:39Z nyef: Oh, duh. The immediately preceding definition. 2015-01-30T14:28:21Z Grue`: damn, i confused nyef and nnmap; my vision is going to hell 2015-01-30T14:28:40Z CrazyWoods joined #lisp 2015-01-30T14:30:41Z nyef: nnmap: The sieve algorithm is largely straightforward, the twisty bit is FILTER. 2015-01-30T14:31:47Z nyef closes his copy of PAIP. 2015-01-30T14:33:22Z francogrex joined #lisp 2015-01-30T14:35:01Z nnmap: okay so here it is: http://pastebin.com/dbLghJ6T (simplified by me) 2015-01-30T14:35:04Z jumblerg joined #lisp 2015-01-30T14:35:51Z francogrex: Hi, I wanted to make a gui interface for some 'clients' to communicate with lisp, sort of they input an sql query statement and get back the results in a table format. I thought of tcl/tk and ltk library but it seems to make this sort of an interactive spreadsheet requires extending ltk package and some knowledge of tcl/tk... have you done something similar (a gui) before and in what way? 2015-01-30T14:36:03Z shka joined #lisp 2015-01-30T14:36:11Z shka: good day lispers! 2015-01-30T14:36:28Z nnmap: sieve make pipes and filter makes pipes and integers makes pipes and sieve calls filter and filter calls filter... and I'm like ftf. So I think my best bet is to run it through a debugger... 2015-01-30T14:37:08Z nyef: nnmap: That... looks like it'd break in operation. 2015-01-30T14:37:25Z Grue`: francogrex: HTML? there are quite a few javascript libs to make tables sortable and stuff 2015-01-30T14:38:14Z francogrex: html as output no problem done before but that's not a two way inetarctive as tcl/tk would be 2015-01-30T14:39:29Z Grue`: it would be interactive if you were to run a web server like hunchentoot 2015-01-30T14:39:55Z oleo joined #lisp 2015-01-30T14:40:20Z nyef: Hrm. Might not break for this use-case, but certainly seems fragile. 2015-01-30T14:40:46Z francogrex: Grue`: true 2015-01-30T14:41:04Z moore33: nnmap: What are you not getting? 2015-01-30T14:41:09Z Grue`: nnmap: think of pipe as a lazy sequence; (tail pipe) moves to the next element of the sequence 2015-01-30T14:41:11Z nnmap: nyef: that's probably because of my simplifications 2015-01-30T14:41:36Z nnmap: moore33: I'm not getting the control flow. What happens when. 2015-01-30T14:41:39Z Grue`: nnmap: filter makes a subsequence that only returns some elements of sequence 2015-01-30T14:41:57Z nnmap: Grue: I understand what each individual element does. 2015-01-30T14:42:12Z nnmap: I just don't get it as a whole. 2015-01-30T14:42:12Z nyef: nnmap: Compare (enumerate (integers 2) 10), (enumerate (filter #'oddp (integers 2) 10), and (enumerate (sieve (integers 2)) 10) 2015-01-30T14:42:14Z Grue`: do you know Sieve of Erathosphenes? 2015-01-30T14:42:15Z moore33: nnmap: There isn't much flow until you call enumerate. 2015-01-30T14:42:27Z Grue`: I probably spelt it wrong 2015-01-30T14:42:38Z nyef: Grue`: You definitely spelled it wrong. 2015-01-30T14:42:55Z nyef: (Actually, "it" is one of the words that you spelled correctly.) 2015-01-30T14:43:04Z Grue`: ok, Erathosthenes 2015-01-30T14:43:30Z kuzy000 joined #lisp 2015-01-30T14:44:33Z bb010g joined #lisp 2015-01-30T14:45:54Z nnmap: OK, I guess I just don't have what it takes to be a Lisp programmer. I'll try my luck with a debugger, if it'll fail I'll just uninstall Lisp. 2015-01-30T14:46:09Z nnmap: thank you for your help. 2015-01-30T14:46:44Z Xach: paip is dense, but rewarding. 2015-01-30T14:47:03Z Grue`: nnmap: this is not a typical Lisp code, I'd say 2015-01-30T14:47:20Z wasamasa: nnmap: the idea is that you need less debugging with lisp code 2015-01-30T14:47:31Z moore33: nnmap: try tracing the tail function. 2015-01-30T14:49:25Z Grue`: I often use a classic debugging technique: a bunch of print statements 2015-01-30T14:50:50Z Xach: that's what most people in Coders at Work seemed to use, too. 2015-01-30T14:51:27Z francogrex: it's probably the easiest method to print 2015-01-30T14:51:39Z BitPuffin quit (Ping timeout: 264 seconds) 2015-01-30T14:56:06Z nyef: "Debugger? I don't have enough working serial ports to run a debugger!" 2015-01-30T14:58:16Z loke_: Serial ports 2015-01-30T14:58:38Z Ethan- quit (Ping timeout: 272 seconds) 2015-01-30T14:59:00Z loke_: I want a proper TTY. There is something "real" about being connected to a computer using a terminal. Multitasking feels much more in-your-face :-). Or maybe I'm just old. :-) 2015-01-30T15:00:05Z nyef: loke_: By which you mean an ASR-33? 2015-01-30T15:00:27Z loke_: No. I mean the ADM-3a 2015-01-30T15:00:29Z nyef: Hot machine oil smell, huge roll of paper... 2015-01-30T15:00:47Z loke_: or possibly the VT220, or the Facit Twist 2015-01-30T15:01:09Z nyef: Oh. So, NOT a proper TTY. 2015-01-30T15:01:23Z loke_: Fair enough 2015-01-30T15:01:32Z loke_: I've never used a hardcopy tty 2015-01-30T15:01:55Z nyef: Good point, though, I wonder where the cable for my dumb terminal got to? 2015-01-30T15:02:26Z nyef: Still doesn't help me: One of the limits is working serial ports on the machine I'm trying to debug. 2015-01-30T15:02:27Z zacharias quit (Ping timeout: 264 seconds) 2015-01-30T15:07:49Z intinig quit (Remote host closed the connection) 2015-01-30T15:08:31Z intinig joined #lisp 2015-01-30T15:10:48Z kapil__ quit (Quit: Connection closed for inactivity) 2015-01-30T15:11:44Z BitPuffin joined #lisp 2015-01-30T15:12:19Z francogrex quit (Quit: ERC Version 5.1.2 $Revision: 1.796.2.4 $ (IRC client for Emacs)) 2015-01-30T15:14:20Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T15:14:51Z moei quit (Read error: Connection reset by peer) 2015-01-30T15:15:55Z moei joined #lisp 2015-01-30T15:16:00Z ivan\ quit (Read error: Connection reset by peer) 2015-01-30T15:16:39Z ivan\ joined #lisp 2015-01-30T15:16:52Z intinig quit (Ping timeout: 240 seconds) 2015-01-30T15:17:07Z Lokathor joined #lisp 2015-01-30T15:18:37Z duggiefresh joined #lisp 2015-01-30T15:20:20Z grc joined #lisp 2015-01-30T15:20:51Z resttime joined #lisp 2015-01-30T15:23:43Z enitiz quit (Ping timeout: 265 seconds) 2015-01-30T15:24:31Z jumblerg joined #lisp 2015-01-30T15:24:41Z badkins joined #lisp 2015-01-30T15:25:15Z raphaelss quit (Ping timeout: 264 seconds) 2015-01-30T15:26:28Z z0d quit (Changing host) 2015-01-30T15:26:28Z z0d joined #lisp 2015-01-30T15:31:37Z joneshf-laptop_ quit (Ping timeout: 255 seconds) 2015-01-30T15:32:33Z playnu_com_ar_ joined #lisp 2015-01-30T15:34:15Z adlai quit (Ping timeout: 250 seconds) 2015-01-30T15:35:44Z a20150129 joined #lisp 2015-01-30T15:36:11Z adlai joined #lisp 2015-01-30T15:36:26Z hitecnologys_ joined #lisp 2015-01-30T15:37:12Z Krystof joined #lisp 2015-01-30T15:39:48Z hitecnologys quit (Ping timeout: 272 seconds) 2015-01-30T15:39:48Z hitecnologys_ is now known as hitecnologys 2015-01-30T15:40:22Z enitiz joined #lisp 2015-01-30T15:41:40Z nell joined #lisp 2015-01-30T15:45:53Z jrm joined #lisp 2015-01-30T15:48:39Z jtza8 joined #lisp 2015-01-30T15:51:16Z enitiz quit (Ping timeout: 265 seconds) 2015-01-30T15:53:27Z jtza8 quit (Ping timeout: 264 seconds) 2015-01-30T15:54:45Z Alfr joined #lisp 2015-01-30T15:54:51Z mrSpec quit (Quit: mrSpec) 2015-01-30T15:59:03Z slacker joined #lisp 2015-01-30T16:00:11Z araujo joined #lisp 2015-01-30T16:00:39Z slacker quit (Client Quit) 2015-01-30T16:00:47Z anti-freeze joined #lisp 2015-01-30T16:03:59Z bjorkintosh quit (Ping timeout: 256 seconds) 2015-01-30T16:04:04Z JuanitoJons joined #lisp 2015-01-30T16:04:51Z pt1 quit (Ping timeout: 264 seconds) 2015-01-30T16:08:09Z arenz quit (Ping timeout: 245 seconds) 2015-01-30T16:09:29Z slacker joined #lisp 2015-01-30T16:09:48Z slacker quit (Client Quit) 2015-01-30T16:10:00Z slacker joined #lisp 2015-01-30T16:10:36Z Lokathor quit (Ping timeout: 265 seconds) 2015-01-30T16:11:00Z grc quit (Remote host closed the connection) 2015-01-30T16:12:49Z pillton quit (Ping timeout: 272 seconds) 2015-01-30T16:13:48Z nnmap: Hm, am I doing it right? (lisp step debugger, sbcl, slime): http://pastebin.com/pgFe6jQK 2015-01-30T16:14:03Z intinig joined #lisp 2015-01-30T16:14:30Z ruste quit (Read error: Connection reset by peer) 2015-01-30T16:15:56Z ruste joined #lisp 2015-01-30T16:17:06Z ehaliewicz joined #lisp 2015-01-30T16:20:30Z nnmap quit (Quit: Page closed) 2015-01-30T16:21:39Z intinig quit (Ping timeout: 264 seconds) 2015-01-30T16:22:36Z gravicappa joined #lisp 2015-01-30T16:24:04Z theseb joined #lisp 2015-01-30T16:27:09Z LiamH joined #lisp 2015-01-30T16:27:37Z nnmap joined #lisp 2015-01-30T16:28:00Z ehaliewicz quit (Remote host closed the connection) 2015-01-30T16:29:17Z zadock quit (Ping timeout: 250 seconds) 2015-01-30T16:34:52Z harish quit (Ping timeout: 240 seconds) 2015-01-30T16:36:19Z zadock joined #lisp 2015-01-30T16:37:15Z antonv quit (Ping timeout: 264 seconds) 2015-01-30T16:37:58Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T16:39:12Z pjb: nnmap: perhaps you have a type error on the cdr of pipes? In anycase, it's bad practice to change the type of place. 2015-01-30T16:39:20Z innertracks joined #lisp 2015-01-30T16:40:06Z pjb: nnmap: you define a tail function, but not a head. Why the asymetry? 2015-01-30T16:40:48Z bugrum joined #lisp 2015-01-30T16:42:04Z moore33: pjb: head is car, but tail isn't cdr. 2015-01-30T16:42:12Z quazimodo quit (Ping timeout: 246 seconds) 2015-01-30T16:42:13Z pjb: Then define it! 2015-01-30T16:42:21Z pjb: (defun head (x) (car x))!!!! 2015-01-30T16:42:23Z moore33: That seems pointles. 2015-01-30T16:42:26Z nnmap: pjb: it's from "Paradigms of AI Programming". I couldn't understand this code and simplified it considerably. I then tried to run it in a debugger, but wasn't enlightened (too many anonymous functions). 2015-01-30T16:42:27Z moore33: pointless. 2015-01-30T16:42:27Z pjb: It is not. 2015-01-30T16:42:36Z moore33: Yes it is. 2015-01-30T16:42:42Z pjb: No, it is not. 2015-01-30T16:42:46Z moore33: :) 2015-01-30T16:42:49Z pjb: Otherwise go program in binary! 2015-01-30T16:43:27Z nnmap: Implementing 'head' just means I have to keep one more thing in mind. It's not a "production code". 2015-01-30T16:43:32Z pjb: nnmap: what's called "pipe" here is a lazy stream of numbers. 2015-01-30T16:43:33Z agspathis joined #lisp 2015-01-30T16:43:44Z agspathis quit (Client Quit) 2015-01-30T16:43:44Z pjb: nnmap: no, it means you have one LESS thing to keep in mind! 2015-01-30T16:44:05Z pjb: You should not keep in mind the fact that pipes are implemented with cons cells. 2015-01-30T16:44:09Z ehu: nnmap: why does the implementation of HEAD matter? 2015-01-30T16:44:32Z moore33: Since the objective is to educate, it is completely redundant to define something else that behaves exactly like car... for a list, no less! 2015-01-30T16:45:39Z innertracks quit (Ping timeout: 245 seconds) 2015-01-30T16:45:39Z ehu: moore33: since the objective is to learn to abstract from the implementation details, I'm convinced of the opposite. 2015-01-30T16:45:42Z jtza8 joined #lisp 2015-01-30T16:46:19Z innertracks joined #lisp 2015-01-30T16:46:23Z ehu: the compiler is completely capable of handling this trivial definition. our minds much less so. 2015-01-30T16:46:35Z moore33: ehu: I'm not sure I can agree with that; Norvig is showing how to implement a lazy list, not abstract away from it. 2015-01-30T16:47:00Z Shinmera: ... an implementation is an abstraction 2015-01-30T16:47:27Z nnmap: Funny, but I've already read about 'pipes' before, eons ago. The author of "Higher Order Perl" used this technique (he called them "promises"), and back then I thought "Meh, that's probably some Lisp thing. Don't know how it works... whatever". And now, indeed, I've learned that it's some Lisp thing and I still don't know how it works :))) 2015-01-30T16:47:52Z nyef: nnmap: Worse: modern Javascript tends to use "promise" objects a lot. 2015-01-30T16:47:52Z ehu: moore33: he's implementing a lazy list, but that's a concept not available in lisp by default. 2015-01-30T16:47:53Z ehu: so, 2015-01-30T16:48:13Z pjb: nnmap: actually, here pipes implement two things: pairs, and promises on the cdr. This could be considered a bad thing. 2015-01-30T16:48:22Z pjb: (cf. my first comment). 2015-01-30T16:49:27Z pjb: Notably, try this: (let ((p (make-pipe 1 2))) (list (head p) (tail p) (tail p))) 2015-01-30T16:50:10Z moore33: pjb: Right, "tail" does not mean "cdr". 2015-01-30T16:50:20Z moore33: Here. 2015-01-30T16:50:25Z JokesOnYou77: ARe these promises the same kind of thing they are in JS? 2015-01-30T16:50:35Z pjb: moore33: my argument is that this pipe abstraction is bad. 2015-01-30T16:51:08Z moore33: pjb: Oh, well that might be. 2015-01-30T16:51:17Z nnmap: The main problem (for me) is that 'sieve' makes pipe which should call 'filter', and 'filter' makes pipe which should call 'filter', and I can't figure out what calls what and when. Do you guys find it easy (honest question)? 2015-01-30T16:51:40Z moore33: nnmap: It's kind of hairy. 2015-01-30T16:51:47Z jumblerg joined #lisp 2015-01-30T16:52:10Z pjb: You should use the abstraction. Don't bother with the details. Once you've understood the abstraction it should be all you need. 2015-01-30T16:52:30Z pjb: You cannot be solving the string theory equations all the time. 2015-01-30T16:53:03Z moore33: pjb: If the abstraction is bad, as you say, then all that is left is to learn the implementation details. 2015-01-30T16:53:19Z pjb: Otherwise, you can draw diagrams. 2015-01-30T16:53:37Z jrm: I'm trying to add information to a bug report. Someone has asked me to test something by running (swank:create-server). When I start up sbcl and run that I get http://ftfl.ca/paste/swank.html. 2015-01-30T16:53:39Z ivan\ quit (Remote host closed the connection) 2015-01-30T16:53:52Z moore33: nnmap: But this kind of lazy structure is kind of a touchstone for people who have worked with Lisp for a long time, know Scheme, read SICP, etc. 2015-01-30T16:54:51Z _death: jrm: (ql:quickload "swank") first? 2015-01-30T16:55:05Z _death: assuming you have quicklisp... 2015-01-30T16:55:14Z xan_ quit (Ping timeout: 245 seconds) 2015-01-30T16:55:48Z ivan\ joined #lisp 2015-01-30T16:55:51Z jrm: _death: Ah. Thanks. I've very new to this. :) 2015-01-30T16:56:39Z _death: may also want to pass :dont-close t 2015-01-30T16:57:09Z Iwilare joined #lisp 2015-01-30T16:57:18Z Ralt: this is in my .stumpwmrc: 2015-01-30T16:57:22Z Ralt: (swank:create-server :port 4005 2015-01-30T16:57:22Z Ralt: :style swank:*communication-style* 2015-01-30T16:57:23Z Ralt: :dont-close t) 2015-01-30T16:58:04Z bb010g quit (Quit: Connection closed for inactivity) 2015-01-30T16:58:16Z jrm: Ralt: Thanks. This actually is for a StumpWM bug report: https://github.com/stumpwm/stumpwm/issues/183 2015-01-30T16:58:18Z moore33: nnmap: The fact that make-pipe is a macro makes this code more opaque than it needs to be. 2015-01-30T16:59:08Z Ralt: jrm: oh. I've had this line for months in my stumpwmrc with no issue :/ 2015-01-30T16:59:59Z eudoxia quit (Quit: Leaving) 2015-01-30T17:00:01Z jrm: It might be a problem specific to FreeBSD. I have this problem for a very long time. 2015-01-30T17:01:01Z moore33 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2015-01-30T17:01:18Z Ralt: oh. 2015-01-30T17:02:07Z Ralt: jrm: this is what I actually have 2015-01-30T17:02:11Z Ralt: (ql:quickload 'swank) 2015-01-30T17:02:11Z Ralt: (swank-loader:init) 2015-01-30T17:02:11Z Ralt: (defcommand swank () () 2015-01-30T17:02:13Z Ralt: (setf stumpwm:*top-level-error-action* :break) 2015-01-30T17:02:15Z Ralt: (swank:create-server :port 4005 2015-01-30T17:02:17Z Ralt: :style swank:*communication-style* 2015-01-30T17:02:20Z slacker quit (Quit: Leaving) 2015-01-30T17:02:20Z Ralt: :dont-close t)) 2015-01-30T17:02:24Z Ralt: (swank) 2015-01-30T17:02:29Z Ralt: a copy paste from I don't know where. 2015-01-30T17:03:39Z selat joined #lisp 2015-01-30T17:03:44Z Ralt: maybe the swank-loader:init changes something... 2015-01-30T17:03:50Z gingerale joined #lisp 2015-01-30T17:04:06Z _leb joined #lisp 2015-01-30T17:04:38Z jrm: When installing sbcl/quicklisp/stumpwm you don't have to do anything specific to get this setup other than (ql:quickload "quicklisp-slime-helper"), right? That is, I don't have to anything like (ql:quickload "swank") beforehand? 2015-01-30T17:04:39Z jrm: 2015-01-30T17:05:12Z redeemed quit (Quit: q) 2015-01-30T17:05:12Z Ralt: look at what I copy pasted, read the 1st line :P 2015-01-30T17:05:39Z Ralt: jrm: just look at this file: https://github.com/Ralt/.dotfiles/blob/master/stumpwmrc 2015-01-30T17:06:33Z jrm: oops, sorry missed that 2015-01-30T17:07:25Z jrm: ty Ralt. I'll try this. 2015-01-30T17:08:31Z pjb: - 2015-01-30T17:09:30Z moore33 joined #lisp 2015-01-30T17:11:32Z mvilleneuve quit (Quit: This computer has gone to sleep) 2015-01-30T17:11:54Z Iwilare quit 2015-01-30T17:12:57Z mishoo joined #lisp 2015-01-30T17:13:50Z badkins quit (Read error: Connection reset by peer) 2015-01-30T17:14:30Z pt1 joined #lisp 2015-01-30T17:14:54Z nnmap: hmmm... interesting, it seems that the call to 'filter' in if-true branch of 'filter' is bogus, that is, the program works when I remove it... (if (funcall pred (car pipe)) (TRUE: make-pipe (car pipe) (tail pipe)) (FALSE: filter pred (tail pipe)))... that expains quite a lot... i guess. 2015-01-30T17:15:12Z moore33 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2015-01-30T17:16:12Z dlowe: nnmap: it looks like you're reinventing SERIES? 2015-01-30T17:16:53Z nnmap: dlowe: I'm reading "Paradigms of AI Programming"... and I have a lot of difficulties with this 'pipes' stuff. 2015-01-30T17:17:12Z dlowe: ohhh, I didn't realize you were doing PAIP. Never mind. 2015-01-30T17:17:47Z mishoo_ joined #lisp 2015-01-30T17:19:03Z intinig joined #lisp 2015-01-30T17:20:57Z mishoo quit (Ping timeout: 276 seconds) 2015-01-30T17:20:58Z cadadar joined #lisp 2015-01-30T17:20:59Z beach joined #lisp 2015-01-30T17:21:06Z beach: Good evening everyone! 2015-01-30T17:21:27Z enitiz joined #lisp 2015-01-30T17:21:29Z joshmcmillan_ quit 2015-01-30T17:21:38Z joshmcmillan_ joined #lisp 2015-01-30T17:21:58Z playnu_com_ar_ quit (Read error: Connection reset by peer) 2015-01-30T17:22:18Z nyef: Hello beach. 2015-01-30T17:23:42Z beach: nyef: So are you again working on NQ-CLIM? 2015-01-30T17:24:11Z nyef: Not yet, unfortunately. 2015-01-30T17:24:34Z nyef: Trying to get some loose ends tied down on this other thing first. 2015-01-30T17:26:37Z edgar-rft joined #lisp 2015-01-30T17:26:48Z enitiz quit (Ping timeout: 276 seconds) 2015-01-30T17:26:48Z intinig quit (Ping timeout: 276 seconds) 2015-01-30T17:28:20Z beach: No rush, I guess. 2015-01-30T17:28:44Z Ragnaroek quit (Ping timeout: 272 seconds) 2015-01-30T17:30:41Z holomorph joined #lisp 2015-01-30T17:30:56Z enitiz joined #lisp 2015-01-30T17:33:28Z drmeister: Hey beach: I've decided there are minimal changes I need to make to the HIR . I'll expand the enter-instruction to get closer to LLVM-IR to start and see where that takes me. 2015-01-30T17:34:00Z beach: drmeister: OK. Let me know how it goes. 2015-01-30T17:35:02Z nnmap quit (Quit: Page closed) 2015-01-30T17:35:14Z kushal joined #lisp 2015-01-30T17:35:20Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-01-30T17:36:16Z jgrant quit (Ping timeout: 255 seconds) 2015-01-30T17:36:47Z katco quit (Ping timeout: 244 seconds) 2015-01-30T17:37:09Z yrdz quit (Ping timeout: 246 seconds) 2015-01-30T17:43:15Z zadock quit (Quit: Leaving) 2015-01-30T17:43:32Z beach: Dinner! I might be back later. 2015-01-30T17:44:08Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T17:47:12Z viaken: I'm currently reading some input with (read-line). However, I'd like to be able to handle an EOF. Should I be using a different input method, or should I just CONDITION-CASE it? 2015-01-30T17:49:11Z BitPuffin quit (Ping timeout: 244 seconds) 2015-01-30T17:50:53Z cadadar quit (Quit: Leaving.) 2015-01-30T17:51:00Z mishoo_ quit (Read error: Connection reset by peer) 2015-01-30T17:53:18Z mishoo joined #lisp 2015-01-30T17:53:53Z jtza8 quit (Ping timeout: 240 seconds) 2015-01-30T17:53:53Z pjb: viaken: you can handle EOF either by passing the eof-error-p and eof-value parameter to read-line, or by handler-case it. There's no condition-case in Common Lisp. If your question is about emacs lisp, see #emacs. 2015-01-30T17:53:58Z mishoo quit (Read error: Connection reset by peer) 2015-01-30T17:54:16Z H4ns: clhs read-line 2015-01-30T17:54:17Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_rd_lin.htm 2015-01-30T17:54:27Z pjb: (but emacs symbols names are lowercase, so it would be condition-case, not CONDITION-CASE anyways). 2015-01-30T17:54:28Z H4ns: viaken: you should just read the documentation for starters :) 2015-01-30T17:54:36Z pjb: (incf H4ns) 2015-01-30T17:54:38Z Posterdati quit (Ping timeout: 246 seconds) 2015-01-30T17:54:39Z viaken: That's probably a good idea. 2015-01-30T17:55:19Z jumblerg joined #lisp 2015-01-30T17:55:44Z viaken: pjb: Using CL, but all my searches tend to end up on elisp whether I want them to or not. 2015-01-30T17:55:53Z katco joined #lisp 2015-01-30T17:55:59Z mishoo joined #lisp 2015-01-30T17:56:07Z pjb: add common lisp to your google search keywords. 2015-01-30T17:56:15Z pjb: Or just jump into the CLHS first. 2015-01-30T17:57:07Z viaken nods 2015-01-30T17:57:47Z anti-freeze quit (Remote host closed the connection) 2015-01-30T18:01:52Z mishoo quit (Read error: Connection reset by peer) 2015-01-30T18:03:06Z joneshf-laptop joined #lisp 2015-01-30T18:05:50Z AntiSpamMeta quit (Remote host closed the connection) 2015-01-30T18:06:04Z AntiSpamMeta joined #lisp 2015-01-30T18:06:10Z mishoo joined #lisp 2015-01-30T18:06:29Z jocuman quit (Ping timeout: 252 seconds) 2015-01-30T18:07:08Z sjl quit (Quit: ZNC - http://znc.in) 2015-01-30T18:07:13Z tiferet quit (Ping timeout: 252 seconds) 2015-01-30T18:07:22Z sjl joined #lisp 2015-01-30T18:07:32Z brucem quit (Quit: ZNC - http://znc.sourceforge.net) 2015-01-30T18:07:35Z djinni`_ quit (Ping timeout: 252 seconds) 2015-01-30T18:07:46Z brucem joined #lisp 2015-01-30T18:07:57Z replcated_ quit (Ping timeout: 252 seconds) 2015-01-30T18:08:25Z Bicyclidine joined #lisp 2015-01-30T18:08:41Z PinealGlandOptic quit (Ping timeout: 252 seconds) 2015-01-30T18:08:41Z mathrick quit (Ping timeout: 252 seconds) 2015-01-30T18:08:41Z eigenlicht quit (Ping timeout: 252 seconds) 2015-01-30T18:08:41Z phadthai quit (Ping timeout: 252 seconds) 2015-01-30T18:08:41Z dilated_dinosaur quit (Ping timeout: 252 seconds) 2015-01-30T18:08:41Z alakra quit (Ping timeout: 252 seconds) 2015-01-30T18:08:53Z AntiSpamMeta quit (Client Quit) 2015-01-30T18:09:03Z segmond quit (Ping timeout: 252 seconds) 2015-01-30T18:09:03Z REPLeffect_ quit (Ping timeout: 252 seconds) 2015-01-30T18:09:03Z enn quit (Ping timeout: 252 seconds) 2015-01-30T18:09:03Z Fade quit (Ping timeout: 252 seconds) 2015-01-30T18:09:07Z hlavaty quit (Remote host closed the connection) 2015-01-30T18:09:25Z theBlackDragon quit (Ping timeout: 252 seconds) 2015-01-30T18:09:25Z ryankarason quit (Ping timeout: 252 seconds) 2015-01-30T18:09:25Z emma quit (Ping timeout: 252 seconds) 2015-01-30T18:09:25Z johs quit (Ping timeout: 252 seconds) 2015-01-30T18:09:29Z phadthai joined #lisp 2015-01-30T18:09:40Z AntiSpamMeta joined #lisp 2015-01-30T18:09:45Z PinealGlandOptic joined #lisp 2015-01-30T18:09:50Z Fade joined #lisp 2015-01-30T18:09:52Z enn joined #lisp 2015-01-30T18:10:10Z johs joined #lisp 2015-01-30T18:10:11Z ryankarason joined #lisp 2015-01-30T18:10:12Z emma joined #lisp 2015-01-30T18:10:12Z theBlackDragon joined #lisp 2015-01-30T18:10:43Z Karl_Dscc quit (Remote host closed the connection) 2015-01-30T18:11:17Z ivan\ quit (Read error: Connection reset by peer) 2015-01-30T18:11:41Z AntiSpamMeta quit (Read error: Connection reset by peer) 2015-01-30T18:11:54Z AntiSpamMeta joined #lisp 2015-01-30T18:12:56Z ivan\ joined #lisp 2015-01-30T18:13:08Z Posterdati joined #lisp 2015-01-30T18:13:26Z replcated joined #lisp 2015-01-30T18:13:43Z JokesOnYou77 quit (Quit: Ex-Chat) 2015-01-30T18:14:11Z badkins joined #lisp 2015-01-30T18:16:29Z djinni` joined #lisp 2015-01-30T18:17:00Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T18:18:19Z jrm: Ralt: FYI: same problem. Just got a crash. 2015-01-30T18:18:23Z gko__ quit 2015-01-30T18:18:37Z gko__ joined #lisp 2015-01-30T18:19:26Z mishoo quit (Read error: Connection reset by peer) 2015-01-30T18:20:25Z mathrick joined #lisp 2015-01-30T18:21:05Z REPLeffect_ joined #lisp 2015-01-30T18:21:23Z alakra joined #lisp 2015-01-30T18:21:47Z dilated_dinosaur joined #lisp 2015-01-30T18:21:51Z segmond joined #lisp 2015-01-30T18:22:00Z mishoo joined #lisp 2015-01-30T18:22:03Z pt1 quit (Remote host closed the connection) 2015-01-30T18:22:16Z eigenlicht joined #lisp 2015-01-30T18:23:28Z intinig joined #lisp 2015-01-30T18:26:52Z ikki joined #lisp 2015-01-30T18:27:54Z wenincode quit 2015-01-30T18:28:07Z wenincode joined #lisp 2015-01-30T18:30:27Z hiroakip joined #lisp 2015-01-30T18:31:29Z intinig quit (Ping timeout: 245 seconds) 2015-01-30T18:32:11Z ehaliewicz joined #lisp 2015-01-30T18:32:57Z Ryan_Burnside joined #lisp 2015-01-30T18:33:09Z dlowe: clhs handler-case 2015-01-30T18:33:09Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_hand_1.htm 2015-01-30T18:33:33Z dlowe: That's the CL equivalent. Note that it isn't nearly as powerful as handler-bind, though 2015-01-30T18:34:54Z Ryan_Burnside: Hello all, just wondering something about the CLOS. I know it resolves the diamond inheritance problem but what if the final class doesn't inherit a method to close a resource such as a stream? 2015-01-30T18:35:30Z nyef: Ryan_Burnside: ... Then there is a bug in your program? 2015-01-30T18:35:31Z Bicyclidine: Then... that's something to fix? 2015-01-30T18:37:12Z Ryan_Burnside: So it is very possible that parent classes A and B both have functions with the same name to close two different streams, class C the child of them can't inherit both right? 2015-01-30T18:37:50Z shka: Ryan_Burnside: uh, but methods do not belong to classes 2015-01-30T18:38:11Z shka: you are refering to slots merging? 2015-01-30T18:38:14Z shka: right? 2015-01-30T18:38:33Z attila_lendvai joined #lisp 2015-01-30T18:38:36Z shka: you have slot with same name in two classes that are getting merged? 2015-01-30T18:38:56Z attila_lendvai quit (Changing host) 2015-01-30T18:38:56Z attila_lendvai joined #lisp 2015-01-30T18:39:14Z Ryan_Burnside: I don't I've been toiling in C++ and wondered how such a problem was resolved in Common Lisp. 2015-01-30T18:39:15Z Bicyclidine: the situation would appear to be (defmethod close ((obj A)) ...) (defmethod close ((obj B)) ...) (defclass C (A B) ()), C could inherit one slot from each, which the methods close 2015-01-30T18:39:20Z Ryan_Burnside: More of a "how does it work" question. 2015-01-30T18:40:11Z eudoxia joined #lisp 2015-01-30T18:40:28Z beach: Ryan_Burnside: Nobody would give the same name to those different functions. 2015-01-30T18:41:03Z Bicyclidine: that's the first thing that comes to mind, yeah. is this a C++ destructor? CL ain't got those 2015-01-30T18:41:18Z beach: Ryan_Burnside: Either A and B are part of the same system and the author would not use the same name, or else they are in different systems, so the names would be in different packages. 2015-01-30T18:41:35Z ggole quit 2015-01-30T18:41:46Z harish joined #lisp 2015-01-30T18:43:59Z pjb: shka: the question is more of a question whether the close methods do call (when (next-method-p) (call-next-method)) or not. If they don't, then indeed, the first applicable method will also be the last. 2015-01-30T18:44:17Z pjb: But then, even if you add a method for C, there will be a bug. 2015-01-30T18:44:28Z shka: i see 2015-01-30T18:44:36Z vanila joined #lisp 2015-01-30T18:45:11Z shka: Ryan_Burnside: well i would say that what after method seems to be a good idea for closing streams 2015-01-30T18:45:44Z pjb: When you define your generic function, you may implement a default method, and specify in its :documentation, that all methods should (call-next-method). 2015-01-30T18:46:03Z Ryan_Burnside: I suppose that would be best. 2015-01-30T18:46:07Z dlowe: you may also use a non-standard method combinator, which will automatically all of the methods 2015-01-30T18:46:12Z dlowe: *call 2015-01-30T18:46:45Z beach left #lisp 2015-01-30T18:46:47Z Bicyclidine: a destructor using call-next-method is pretty normal even outside of C++, i think. constructors use super all the time i think 2015-01-30T18:46:51Z dlowe: (defgeneric close (object) (:method-combinator :progn)) 2015-01-30T18:47:11Z dlowe: could be O:method-combination 2015-01-30T18:47:22Z dlowe: it's been hours since I last wrote a defgeneric form 2015-01-30T18:48:05Z harish quit (Ping timeout: 244 seconds) 2015-01-30T18:49:15Z Ryan_Burnside: Perhaps I should purchase The Art of the Metaobject Protocol? 2015-01-30T18:49:32Z pers quit (Read error: Connection reset by peer) 2015-01-30T18:49:45Z shka: Ryan_Burnside: it is great book but it makes my brain burning 2015-01-30T18:49:46Z pers joined #lisp 2015-01-30T18:49:54Z shka: very advanced stuff there 2015-01-30T18:50:15Z Bicyclidine: it's a nice book but probably a bit much if you don't have an actual thing you want to fix 2015-01-30T18:50:23Z Ryan_Burnside: I'm about average intelligence most Lispers are a point or two above average for sure. 2015-01-30T18:50:39Z shka: however, method-combinator is described in other book 2015-01-30T18:51:08Z harish joined #lisp 2015-01-30T18:51:14Z shka: object oriented programming with common lisp object system 2015-01-30T18:51:21Z shka: it is old but rather good 2015-01-30T18:51:30Z Ryan_Burnside: Is that the teal and purple one? 2015-01-30T18:51:34Z nyef: shka: The Keene book? 2015-01-30T18:51:40Z shka: nyef: yes 2015-01-30T18:51:45Z dlowe: or, you know 2015-01-30T18:51:49Z dlowe: clhs 7.6.6 2015-01-30T18:51:49Z specbot: Method Selection and Combination: http://www.lispworks.com/reference/HyperSpec/Body/07_ff.htm 2015-01-30T18:52:23Z shka: yeah 2015-01-30T18:52:46Z shka: but Keenes book really explains basic concepts of clos 2015-01-30T18:52:54Z shka: and even some of less basics 2015-01-30T18:53:09Z shka: at least i recommend it as any introduction 2015-01-30T18:53:12Z Ryan_Burnside: Looks fairly cheap, I can afford it. :) 2015-01-30T18:53:26Z shka: it is a bit dated 2015-01-30T18:53:34Z shka: 1989 2015-01-30T18:53:38Z H4ns: so? 2015-01-30T18:53:39Z shka: so almost as old as me :P 2015-01-30T18:53:46Z H4ns: as is common lisp. 2015-01-30T18:53:46Z _death: get AMOP as well :) 2015-01-30T18:53:51Z shka: but otherwise excelent 2015-01-30T18:54:07Z Ryan_Burnside: So any show stoppers like deprecated syntax? 2015-01-30T18:54:13Z _death: Ryan_Burnside: no 2015-01-30T18:54:42Z H4ns: kids, common lisp is 25 years old, and anything that has been written about common lisp when it was created is as true as it was back then as it is now. 2015-01-30T18:54:49Z _death: maybe there was one example using an operator that has since changed its name 2015-01-30T18:54:54Z Ryan_Burnside: I heard some of the CL books were written when the syntax was still a bit up in the air. The one by Steele perhaps. 2015-01-30T18:55:00Z vanila: i wantto use a C library but some constants and functions are defined by #define - can CFFI do it? 2015-01-30T18:55:05Z vanila: how would you interface to that 2015-01-30T18:55:20Z Bicyclidine: Ryan_Burnside: cltl2 predates some of the semantics but not by much. 2015-01-30T18:55:27Z Bicyclidine: vanila: cffi has a "grovel" thing for that i think 2015-01-30T18:55:43Z Bicyclidine: Ryan_Burnside: and amop, for example, predates standard setf functions, but it's a pretty minor thing; don't sweat it 2015-01-30T18:55:47Z _death: vanila: check out https://github.com/rpav/cl-autowrap 2015-01-30T18:55:53Z vanila: thanks 2015-01-30T18:56:08Z pers quit (Ping timeout: 272 seconds) 2015-01-30T18:56:46Z enitiz quit (Ping timeout: 272 seconds) 2015-01-30T18:56:50Z Ryan_Burnside: Bicyclidine: Would that just be setq then? 2015-01-30T18:57:06Z Bicyclidine: huh? 2015-01-30T18:57:19Z Bicyclidine: setf functions, like functions named (setf foo) 2015-01-30T18:57:35Z shka: Ryan_Burnside: i did not notice any setq in the book if you are worried by that 2015-01-30T18:57:51Z Bicyclidine: (clos uses them for writer methods) 2015-01-30T18:57:54Z Ryan_Burnside: Bicyclidine: I just thought setq was the precursor to setf. 2015-01-30T18:58:02Z shka: not quite 2015-01-30T18:58:08Z Bicyclidine: no, it has setf, just not this particular part of setf 2015-01-30T18:58:14Z Bicyclidine: minor, see? 2015-01-30T18:58:15Z _death: setf can expand to setq 2015-01-30T18:58:41Z shka: you can think about setf as a more general variant of setq 2015-01-30T18:59:13Z shka: so it is a bit missleading 2015-01-30T18:59:26Z pjb: H4ns: I beg to differ. Most of the criticism about CL that was written 25 years ago, is caducuous nowadays. 2015-01-30T18:59:51Z shka: pjb: and parenthesis 2015-01-30T18:59:55Z shka: ;-) 2015-01-30T19:00:54Z playnu_com_ar_ joined #lisp 2015-01-30T19:02:06Z shka: Ryan_Burnside: anyway, grab the book, you will like it 2015-01-30T19:02:32Z shka: and amop is awesome, if you have brain to understand it 2015-01-30T19:02:39Z shka dosen't 2015-01-30T19:03:07Z jgrant joined #lisp 2015-01-30T19:03:56Z Ryan_Burnside: I'll check it out. Thanks all for the insight. 2015-01-30T19:06:03Z Petit_Dejeuner quit (Ping timeout: 265 seconds) 2015-01-30T19:07:15Z Bicyclidine quit (Ping timeout: 264 seconds) 2015-01-30T19:07:51Z lieven quit (Ping timeout: 264 seconds) 2015-01-30T19:08:25Z badkins quit 2015-01-30T19:08:50Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T19:13:02Z Petit_Dejeuner joined #lisp 2015-01-30T19:13:07Z Karl_Dscc joined #lisp 2015-01-30T19:13:35Z Bicyclidine joined #lisp 2015-01-30T19:14:52Z harish quit (Ping timeout: 245 seconds) 2015-01-30T19:15:39Z Ryan_Burnside quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-30T19:16:19Z badkins joined #lisp 2015-01-30T19:20:04Z tajjada quit (Ping timeout: 265 seconds) 2015-01-30T19:21:36Z tajjada joined #lisp 2015-01-30T19:21:52Z bugrum quit (Remote host closed the connection) 2015-01-30T19:22:52Z Bicyclidine quit (Ping timeout: 240 seconds) 2015-01-30T19:25:30Z jumblerg joined #lisp 2015-01-30T19:27:13Z harish joined #lisp 2015-01-30T19:27:22Z mishoo quit (Ping timeout: 240 seconds) 2015-01-30T19:28:36Z jumblerg quit (Client Quit) 2015-01-30T19:29:02Z intinig joined #lisp 2015-01-30T19:30:10Z ivan\ quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-30T19:31:53Z _leb quit (Quit: Computer has gone to sleep.) 2015-01-30T19:32:29Z fantazo quit (Quit: Verlassend) 2015-01-30T19:32:36Z Vutral quit (Ping timeout: 245 seconds) 2015-01-30T19:34:55Z Bicyclidine joined #lisp 2015-01-30T19:36:04Z intinig quit (Ping timeout: 245 seconds) 2015-01-30T19:36:55Z adlai quit (Ping timeout: 250 seconds) 2015-01-30T19:37:25Z jtza8 joined #lisp 2015-01-30T19:40:58Z Ragnaroek joined #lisp 2015-01-30T19:43:31Z Ragnaroek_ joined #lisp 2015-01-30T19:43:43Z hardenedapple quit (Quit: WeeChat 1.1.1) 2015-01-30T19:43:50Z ivan\ joined #lisp 2015-01-30T19:43:56Z ivan\ quit (Changing host) 2015-01-30T19:43:56Z ivan\ joined #lisp 2015-01-30T19:44:03Z adlai joined #lisp 2015-01-30T19:44:27Z hellofunk quit (Ping timeout: 264 seconds) 2015-01-30T19:45:58Z hellofunk joined #lisp 2015-01-30T19:46:48Z Ragnaroek quit (Ping timeout: 272 seconds) 2015-01-30T19:46:52Z Ragnaroek_ is now known as Ragnaroek 2015-01-30T19:47:26Z intinig joined #lisp 2015-01-30T19:47:44Z Vutral joined #lisp 2015-01-30T19:48:22Z Bicyclidine quit (Ping timeout: 240 seconds) 2015-01-30T19:49:46Z a20150129 quit (Quit: Page closed) 2015-01-30T19:50:04Z vap1 joined #lisp 2015-01-30T19:50:21Z a20150129 joined #lisp 2015-01-30T19:50:22Z Bicyclidine joined #lisp 2015-01-30T19:52:32Z Quadrescence joined #lisp 2015-01-30T19:56:14Z zeitue joined #lisp 2015-01-30T19:58:12Z Bicyclidine quit (Ping timeout: 272 seconds) 2015-01-30T20:00:20Z kobain joined #lisp 2015-01-30T20:00:57Z JuanDaugherty quit (Remote host closed the connection) 2015-01-30T20:01:30Z harish quit (Ping timeout: 276 seconds) 2015-01-30T20:01:51Z Jirachier quit (Ping timeout: 264 seconds) 2015-01-30T20:02:20Z Jirachier joined #lisp 2015-01-30T20:02:48Z joneshf-laptop quit (Ping timeout: 276 seconds) 2015-01-30T20:03:00Z jtza8 quit (Ping timeout: 244 seconds) 2015-01-30T20:03:34Z innertracks quit (Quit: innertracks) 2015-01-30T20:07:07Z intinig quit (Remote host closed the connection) 2015-01-30T20:07:10Z akkad: is this proper? (mapcar #'asdf:load-system '(:cl-store :cl-fad :cl-ppcre :gzip-stream :cl-json :fare-memoization :babel :salza2 :chipz :pcall :usocket :ironclad :flexi-streams)) 2015-01-30T20:07:13Z akkad: 2015-01-30T20:07:15Z cadadar joined #lisp 2015-01-30T20:07:30Z flash- joined #lisp 2015-01-30T20:07:40Z H4ns: akkad: why don't you write an asdf file with those as a dependency? 2015-01-30T20:07:48Z intinig joined #lisp 2015-01-30T20:08:37Z Fade: also, see quickproject in quicklisp. 2015-01-30T20:09:04Z Fade: http://www.xach.com/lisp/quickproject/ 2015-01-30T20:09:31Z akkad: using mocl, so quicklisp no worky 2015-01-30T20:09:44Z Fade: does asdf work on mocl? 2015-01-30T20:09:47Z akkad: yes 2015-01-30T20:10:05Z akkad: symlink of every asd in ~/quicklisp -> ~/mocl/system/ 2015-01-30T20:10:16Z Fade: well, that's the proper means to handle dependencies. 2015-01-30T20:10:42Z akkad: cl-store.asd is there, and loaded, but fails to see it at compile time 2015-01-30T20:10:53Z Beetny joined #lisp 2015-01-30T20:11:04Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-01-30T20:11:22Z Fade: in the context of mocl or a mobile environment, I don't know how to configure asdf. 2015-01-30T20:11:33Z akkad: well this is for osx proper. cli app. 2015-01-30T20:11:54Z prxq joined #lisp 2015-01-30T20:11:55Z Fade: I typically tell it where to find my personal systems in ~/.config/common-lisp/source-registry.conf.d/ 2015-01-30T20:12:02Z akkad: ahh 2015-01-30T20:12:34Z Fade: where I have a file called source.conf 2015-01-30T20:12:45Z akkad: ok, not that familiar with asdf 2015-01-30T20:12:52Z Fade: containing just this: (:tree "/home/fade/SourceCode/lisp/") 2015-01-30T20:13:12Z Fade: which causes asdf to look in that directory and all of its subdirectories for .asd files. 2015-01-30T20:13:21Z harish joined #lisp 2015-01-30T20:14:39Z Bicyclidine joined #lisp 2015-01-30T20:16:34Z intinig quit (Ping timeout: 272 seconds) 2015-01-30T20:23:00Z bjorkintosh joined #lisp 2015-01-30T20:23:32Z harish quit (Ping timeout: 272 seconds) 2015-01-30T20:23:40Z zeitue quit (Ping timeout: 244 seconds) 2015-01-30T20:23:58Z vgbf joined #lisp 2015-01-30T20:24:02Z vgbf left #lisp 2015-01-30T20:24:46Z akkad: nice, thanks for the tip 2015-01-30T20:25:04Z akkad hugs xach for ql. 2015-01-30T20:26:25Z intinig joined #lisp 2015-01-30T20:27:17Z harish joined #lisp 2015-01-30T20:28:15Z Bicyclidine quit (Ping timeout: 264 seconds) 2015-01-30T20:28:29Z gko__ quit (Quit: Connection closed for inactivity) 2015-01-30T20:29:15Z tiferet joined #lisp 2015-01-30T20:29:43Z Xach: ok! 2015-01-30T20:31:52Z jumblerg joined #lisp 2015-01-30T20:34:52Z Bicyclidine joined #lisp 2015-01-30T20:34:55Z zadock joined #lisp 2015-01-30T20:36:11Z Vivitron`: connect tf2.mizx.me; password jackie 2015-01-30T20:36:31Z Vivitron`: sorry for the noise, paste error 2015-01-30T20:36:39Z zeitue joined #lisp 2015-01-30T20:36:53Z nyef: ... also, your password needs changing? (-: 2015-01-30T20:37:18Z normanrichards joined #lisp 2015-01-30T20:39:29Z Xach: Hmm, is there a way to go from a string like "sb-ext:save-lisp-and-die" to an anchor in the sbcl html manual easily? 2015-01-30T20:40:01Z Xach: I had a cheesy regexp scraper that worked years ago but the new manual confounds it, and I don't see a simple index like before. 2015-01-30T20:42:28Z nand1 joined #lisp 2015-01-30T20:42:56Z EvW joined #lisp 2015-01-30T20:42:57Z foom: Appendix B Function Index? 2015-01-30T20:42:57Z nell quit (Quit: WeeChat 1.2-dev) 2015-01-30T20:44:22Z raphaelss joined #lisp 2015-01-30T20:44:49Z harish quit (Ping timeout: 255 seconds) 2015-01-30T20:45:11Z Xach: foom: that seems garbled, and doesn't include package prefixes either. 2015-01-30T20:45:27Z Xach: I guess I could work with a running image to match things up. 2015-01-30T20:46:22Z foom: it does appear garbled 2015-01-30T20:46:35Z foom: e.g., including "(setf:" 2015-01-30T20:46:46Z Xach: maybe that's the extent of the garblity 2015-01-30T20:46:46Z foom: presumably there's a bug in the doc-generator that needs fixing 2015-01-30T20:47:16Z attila_lendvai quit (Quit: Leaving.) 2015-01-30T20:52:20Z Xach: Hmm, I could probably scrape it directly out rather than trying to process the appendix. 2015-01-30T20:52:52Z rtra quit (Ping timeout: 265 seconds) 2015-01-30T20:53:00Z fantazo joined #lisp 2015-01-30T20:53:18Z billitch joined #lisp 2015-01-30T20:55:34Z Tristam quit (Read error: Connection reset by peer) 2015-01-30T20:56:15Z Petit_Dejeuner quit (Ping timeout: 265 seconds) 2015-01-30T20:57:58Z harish joined #lisp 2015-01-30T20:58:04Z rtra joined #lisp 2015-01-30T21:00:42Z scymtym_ joined #lisp 2015-01-30T21:02:00Z BitPuffin joined #lisp 2015-01-30T21:02:21Z duggiefresh quit 2015-01-30T21:02:38Z foom: why doesn't it have packages, and why does it have an extraneous : at the end of every symbol in the appendix. 2015-01-30T21:02:49Z foom: those both seem like possible errors 2015-01-30T21:03:51Z cadadar quit (Quit: Leaving.) 2015-01-30T21:04:12Z raphaelss left #lisp 2015-01-30T21:06:16Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-01-30T21:07:42Z Shinmera joined #lisp 2015-01-30T21:08:03Z Xach: Scraping out the
s worked fine for now. l1sp.org/sbcl/sb-ext:save-lisp-and-die is unbroken. 2015-01-30T21:09:34Z shka quit (Quit: WeeChat 1.1.1) 2015-01-30T21:13:44Z Petit_Dejeuner joined #lisp 2015-01-30T21:16:29Z gravicappa quit (Remote host closed the connection) 2015-01-30T21:16:36Z normanrichards quit 2015-01-30T21:18:42Z fantazo quit (Quit: Verlassend) 2015-01-30T21:20:20Z pt1 joined #lisp 2015-01-30T21:22:36Z intinig quit (Remote host closed the connection) 2015-01-30T21:23:10Z intinig joined #lisp 2015-01-30T21:24:27Z Ralt: hmmm 2015-01-30T21:24:51Z Ralt: does anyone have an example of a macro doing a loop over a list and generating some code for each item? 2015-01-30T21:25:07Z attila_lendvai joined #lisp 2015-01-30T21:25:59Z Bicyclidine: (defmacro printer (symbols) `(progn ,@(loop for s in symbols collect `(print ',s)))). (printer a b c) expands to (progn (print 'a) (print 'b) (print 'c)). like that? 2015-01-30T21:26:19Z oGMo: Ralt: a macro that writes some functions given their names? pretty much any macro you specify a sequence in some regard 2015-01-30T21:26:20Z Ralt: awesome! thanks 2015-01-30T21:26:28Z Bicyclidine: &rest symbols, sorry 2015-01-30T21:26:37Z oGMo: or that 2015-01-30T21:26:45Z Ralt: :-) 2015-01-30T21:28:51Z hiroakip quit (Ping timeout: 264 seconds) 2015-01-30T21:31:31Z intinig quit (Ping timeout: 256 seconds) 2015-01-30T21:35:18Z fe[nl]ix: foom: do you plan to come to the ELS ? 2015-01-30T21:37:33Z Intensity quit (Ping timeout: 244 seconds) 2015-01-30T21:39:32Z cadadar joined #lisp 2015-01-30T21:41:04Z enitiz joined #lisp 2015-01-30T21:41:35Z intinig joined #lisp 2015-01-30T21:42:55Z _leb joined #lisp 2015-01-30T21:44:38Z jtza8 joined #lisp 2015-01-30T21:44:49Z bgs100 joined #lisp 2015-01-30T21:47:46Z tajjada quit (Ping timeout: 272 seconds) 2015-01-30T21:50:45Z nydel: i'm building a shared REPL server that accepts multiple users to connect and write in one space. unfortunately, i can't get CL to turn off local echo on the client end terminal when requesting the user's password.. what might be a good way to deal with this? 2015-01-30T21:51:27Z H4ns: nydel: you'll need to use telnet options for that. 2015-01-30T21:51:38Z bgs100 quit (Quit: brb) 2015-01-30T21:51:50Z H4ns: nydel: the best way to do it is to use your system's terminal driver which does the telnet option processing for you. 2015-01-30T21:52:01Z H4ns: nydel: the answer has not changed since you last asked. 2015-01-30T21:52:47Z selat quit (Quit: Lost terminal) 2015-01-30T21:53:01Z nydel: H4ns: i mean to ask differently. i'm thinking in terms of accepting that i can't control echo on the remote terminal. as in perhaps having the user encrypt their password in a local config file.. or something, i'm not sure. 2015-01-30T21:53:34Z nydel: doing it with telnet spec is a huge job as far as i can tell 2015-01-30T21:54:12Z nydel: (and i don't need to mute echo locally ever again outside this one API call) 2015-01-30T21:54:20Z Xach: I really wanted to make a full-featured telnet system for CL some time ago, but other projects are now way ahead of it. 2015-01-30T21:54:21Z foom: fe[nl]ix: I have not made any plans to attend. I'm pretty sure cracauer is planning to. I hope dougk would too, but I don't know one way or the other on that. 2015-01-30T21:54:42Z Zhivago: It's not particulary hard -- the hard bit with telnet is getting a login prompt. 2015-01-30T21:55:01Z Jirachier quit (Ping timeout: 255 seconds) 2015-01-30T21:55:28Z Zhivago: Since most telnetds are broken in random ways for ht. 2015-01-30T21:55:30Z Jirachier joined #lisp 2015-01-30T21:55:47Z nydel: Zhivago: not sure why that'd be hard? oh do you mean like forcing "login:" then reading on the same line 2015-01-30T21:55:51Z pt1 quit (Remote host closed the connection) 2015-01-30T21:55:55Z nydel: because that is hard. 2015-01-30T21:56:08Z H4ns: erm. hard? 2015-01-30T21:56:11Z EvW quit (Ping timeout: 265 seconds) 2015-01-30T21:56:13Z foom: disabling local echo via a telnet control sequence is quite trivial. 2015-01-30T21:56:19Z nydel: H4ns: i'd love to be wrong...? 2015-01-30T21:57:06Z bgs100 joined #lisp 2015-01-30T21:57:11Z H4ns: nydel: what exactly is hard about printing a prompt? 2015-01-30T21:57:15Z nydel: foom: it looks that way to me in the telnet spec/rfc but i can't translate it to common lisp.. do you happen to know of any packages or reading material that might help point me at something? 2015-01-30T21:57:26Z Zhivago: I mean getting the telnetd to decide that you're ready to log in. 2015-01-30T21:57:32Z foom: not really, no. 2015-01-30T21:57:57Z H4ns: nydel: but then, if you rely on telnet in line mode, the user experience of your service will be quite limited anyway. 2015-01-30T21:58:23Z H4ns: nydel: (i.e. no line editing, no history etc) 2015-01-30T21:58:39Z foom: you do get line editing -- just like you get in e.g. "cat" 2015-01-30T21:59:16Z H4ns: foom: i think most people would agree nowadays that "line editing" means more than being able to delete the last character/word/line typed 2015-01-30T21:59:33Z foom: (I never understood why the builtin line editor wasn't a bit more functional) 2015-01-30T21:59:42Z H4ns: foom: pdp11 2015-01-30T22:00:16Z foom: sure, but linux could have a better line editor; I don't think there's anything fundamental to the interface requiring that it be useless. 2015-01-30T22:00:43Z H4ns: nydel: i'd write a little, trivial front end that runs on your server and use a proper line editor (like rlwrap or the native cl thing). 2015-01-30T22:01:23Z mvilleneuve joined #lisp 2015-01-30T22:01:37Z joneshf-laptop joined #lisp 2015-01-30T22:02:34Z nydel: i wrote all that into the API so you can do like history :justmep t :nlines 20 then they are numbered and you can do history :exec t :nlines 1 :startline 13 :replace t :sed s/typpo-in-function/typo-in-function/g 2015-01-30T22:02:43Z foom: If you start that, next thing you know, you'll get into terminal type negotiation, colorizing the output, terminal commands to switch into utf8 mode, movement commands, windowing, workarounds for bugs in various crappy terminal emulators (e.g. gnome-terminal piece of crap), and all that fun stuff. :) 2015-01-30T22:02:51Z nydel: clunky but it works out because other users need access to history from all players 2015-01-30T22:04:18Z a20150129 quit (Quit: Page closed) 2015-01-30T22:04:23Z nydel: H4ns: i'm only using telnet to connect momentarily. because i'm doing the server first. so maybe the fact that eventually the server will only accept connections from the client program will help with these issues, maybe i can deal with it inside the client i mean. 2015-01-30T22:05:04Z Ralt: hmf 2015-01-30T22:05:10Z Ralt: dynamic scoping doesn't work with funcall... 2015-01-30T22:05:24Z emaczen joined #lisp 2015-01-30T22:05:41Z Zhivago: ralt: You are confused. 2015-01-30T22:05:44Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T22:06:28Z Ralt: Zhivago: I have a (defvar *foo* "bar"). If I use (let ((*foo* "baz")) (funcall #'test)), in test, *foo* will be "bar" 2015-01-30T22:06:40Z Ralt: no? 2015-01-30T22:07:50Z Ralt: no... 2015-01-30T22:07:56Z badkins quit 2015-01-30T22:08:27Z oGMo: no, because that's the point 2015-01-30T22:09:43Z oleo: hahahah 2015-01-30T22:09:55Z Ralt: damn... 2015-01-30T22:10:28Z oleo: the let environment is a distinct one from the global, everything you assign there will be the value you provided, shadowing the global ones.... 2015-01-30T22:10:33Z oleo: unless you close it.... 2015-01-30T22:10:34Z jumblerg joined #lisp 2015-01-30T22:10:40Z Ralt: nope, I don't close it 2015-01-30T22:11:04Z oleo: after you close it, the globals are in scope again.... 2015-01-30T22:11:27Z Ralt: yeah, I know, but the funcall is made in the let, I'm certain of that. 2015-01-30T22:12:35Z intinig quit (Remote host closed the connection) 2015-01-30T22:12:49Z Guest6545 left #lisp 2015-01-30T22:13:18Z intinig joined #lisp 2015-01-30T22:13:55Z brucem quit (Changing host) 2015-01-30T22:13:55Z brucem joined #lisp 2015-01-30T22:14:28Z hiroakip joined #lisp 2015-01-30T22:14:55Z Ralt: found it 2015-01-30T22:15:05Z Ralt: the defvar were in a file loaded later with asdf... 2015-01-30T22:15:08Z nydel: ok so if i've an open telnet connection and the command is "IAC DON'T ECHO" ... what exactly do i do with that? just force output that string over a stream on the connection socket? 2015-01-30T22:15:39Z oleo quit (Ping timeout: 264 seconds) 2015-01-30T22:17:23Z yeticry quit (Ping timeout: 240 seconds) 2015-01-30T22:17:24Z pjb: nydel: you should disable echo. 2015-01-30T22:17:47Z Xach: nydel: it's not a literal string, but a description of the 8-bit codes to be sent. 2015-01-30T22:18:01Z Xach: IAC is 255, DON'T is 254, and I don't know what ECHO is. 2015-01-30T22:18:18Z nydel: ohh right of course 2015-01-30T22:18:32Z nydel: this shouldn't be as hard as i thought it was 2015-01-30T22:18:32Z yeticry joined #lisp 2015-01-30T22:19:32Z Xach: it can help to do the simplest thing that does something interesting and accumulate from there 2015-01-30T22:20:16Z prxq quit (Remote host closed the connection) 2015-01-30T22:20:23Z oleo joined #lisp 2015-01-30T22:21:47Z nydel: Xach: that makes a lot of sense 2015-01-30T22:21:54Z intinig quit (Ping timeout: 276 seconds) 2015-01-30T22:23:01Z nydel: grr but i don't know what that is because apparently i have to have the client send iac do rcte / "server you can mess with my terminal printer" 2015-01-30T22:23:42Z pjb: clients may have printers attached, and the server may send data to the printer of the client, instead of the video. 2015-01-30T22:24:29Z pjb: If you don't have a printer, you may simulated it by sending it to a file. 2015-01-30T22:24:49Z nydel: oh it means literally a printer object not "terminal printer" as an idea 2015-01-30T22:24:55Z nydel: ok. 2015-01-30T22:25:26Z nydel: i forget this spec is really old probably 2015-01-30T22:25:31Z Xach: probably 2015-01-30T22:25:34Z nydel: yes 1973 in fact 2015-01-30T22:25:52Z CrazyWoods quit (Quit: leaving) 2015-01-30T22:26:09Z enitiz quit (Ping timeout: 265 seconds) 2015-01-30T22:27:24Z attila_lendvai quit (Quit: Leaving.) 2015-01-30T22:27:38Z angavrilov quit (Remote host closed the connection) 2015-01-30T22:29:53Z kuzy000 quit (Ping timeout: 240 seconds) 2015-01-30T22:30:01Z Ragnaroek quit (Ping timeout: 265 seconds) 2015-01-30T22:32:22Z badkins joined #lisp 2015-01-30T22:32:31Z _Loic_ quit (Read error: Connection reset by peer) 2015-01-30T22:33:06Z _death converted ll1 mailing list posts to rfc934 file so can use gnus nndoc to read them 2015-01-30T22:33:32Z mvilleneuve quit (Quit: This computer has gone to sleep) 2015-01-30T22:36:02Z intinig joined #lisp 2015-01-30T22:39:15Z bugrum joined #lisp 2015-01-30T22:41:03Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T22:41:23Z vanila quit (Quit: Leaving) 2015-01-30T22:42:46Z eazar001 quit (Read error: Connection reset by peer) 2015-01-30T22:43:01Z eazar001 joined #lisp 2015-01-30T22:43:16Z pt1 joined #lisp 2015-01-30T22:44:08Z the_real_intinig joined #lisp 2015-01-30T22:45:52Z intinig quit (Ping timeout: 255 seconds) 2015-01-30T22:46:01Z jumblerg joined #lisp 2015-01-30T22:46:53Z harish quit (Ping timeout: 246 seconds) 2015-01-30T22:49:17Z emaczen: How do you reload a system with ASDF? 2015-01-30T22:49:22Z flash- quit (Ping timeout: 244 seconds) 2015-01-30T22:50:16Z Bicyclidine: :force t, i think 2015-01-30T22:50:58Z emaczen: Bicyclidine: Can you give an example?] 2015-01-30T22:50:59Z bjorkintosh quit (Quit: Leaving) 2015-01-30T22:51:12Z Bicyclidine: (asdf:load-system system :force t) is what i'm thinking 2015-01-30T22:51:33Z fe[nl]ix: emaczen: why do you want to reload it ? 2015-01-30T22:51:50Z emaczen: What do you do when you modify your build definitions? 2015-01-30T22:52:46Z fe[nl]ix: what do you mean by build definitions ? 2015-01-30T22:53:07Z emaczen: the asdf and package.lisp files which describe dependencies and symbol exports 2015-01-30T22:53:39Z tiferet left #lisp 2015-01-30T22:54:00Z Xach: emaczen: i usually C-c C-c on individual forms to re-evaluate 2015-01-30T22:54:08Z Xach: or C-c C-k to load a whole file 2015-01-30T22:54:19Z Xach: I don't find myself often reloading the system itself, except when I restart 2015-01-30T22:55:51Z egp_ quit (Remote host closed the connection) 2015-01-30T22:55:51Z egp__ quit (Read error: Connection reset by peer) 2015-01-30T22:56:11Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T22:56:27Z fe[nl]ix: emaczen: if you edit the .asd file itself you have to run load-system again, but :force t is not necessary 2015-01-30T22:56:27Z hiroakip quit (Ping timeout: 264 seconds) 2015-01-30T22:56:31Z Bicyclidine quit (Ping timeout: 256 seconds) 2015-01-30T22:56:42Z fe[nl]ix: that will recompile all dependencies too, and it's usually not what you need 2015-01-30T22:57:17Z emaczen: fe[nl]ix: how do you re-compile individual systems then? 2015-01-30T22:57:33Z robot-beethoven joined #lisp 2015-01-30T22:58:03Z egp_ joined #lisp 2015-01-30T22:58:23Z Bicyclidine joined #lisp 2015-01-30T22:59:24Z harish joined #lisp 2015-01-30T23:00:00Z fe[nl]ix: emaczen: at the Slime REPL, type ,l RET name RET 2015-01-30T23:00:42Z hiyosi joined #lisp 2015-01-30T23:02:04Z emaczen: What is ",l" I don't have that completion if I just type ,TAB 2015-01-30T23:03:15Z fe[nl]ix: just type a comma then a tab 2015-01-30T23:03:36Z fe[nl]ix: you ought to get a completion buffer 2015-01-30T23:03:46Z Jesin quit (Ping timeout: 272 seconds) 2015-01-30T23:03:55Z fe[nl]ix: l is just a shortcut for load-system 2015-01-30T23:03:58Z otwieracz: I see creating bindings for OpenCV just like python ones will be pain in ass :( 2015-01-30T23:05:41Z xificurC quit (Quit: WeeChat 1.1) 2015-01-30T23:05:50Z Xach: that is a bummer. seems like people really want them. 2015-01-30T23:06:08Z Xach: Can it be done once and then they'll be a wonderful thing until the next update? 2015-01-30T23:06:14Z Xach: Or is it ongoing painful maintenance? 2015-01-30T23:06:38Z otwieracz: I belive maintenance will not be painful. 2015-01-30T23:06:45Z otwieracz: Thigs are autogenerated here. 2015-01-30T23:07:00Z otwieracz: Things* 2015-01-30T23:07:41Z otwieracz: In OpenCV, there are few Python scripts used to generate bindings. 2015-01-30T23:08:12Z emaczen: fe[nl]ix: load-system is not a compeletion... 2015-01-30T23:08:13Z prxq joined #lisp 2015-01-30T23:08:27Z otwieracz: More or less, Python templates used here has to be rewritten into CL ones. 2015-01-30T23:09:57Z emaczen: can someone tell me the difference between ':' and '::' 2015-01-30T23:10:29Z otwieracz: emaczen: : gaves you access to package's exported symbols. 2015-01-30T23:10:36Z otwieracz: emaczen: with :: you can access internal ones. 2015-01-30T23:10:55Z Karl_Dscc quit (Remote host closed the connection) 2015-01-30T23:11:06Z emaczen: otwieracz: Thanks! 2015-01-30T23:11:21Z otwieracz: No problem, glad to help you with my little knowledge ;) 2015-01-30T23:11:37Z Lokathor joined #lisp 2015-01-30T23:11:45Z innertracks joined #lisp 2015-01-30T23:11:54Z enitiz joined #lisp 2015-01-30T23:11:58Z xyh joined #lisp 2015-01-30T23:12:26Z jumblerg joined #lisp 2015-01-30T23:12:59Z emaczen: can anyone recommend a regex and http library from quicklisp? 2015-01-30T23:13:24Z otwieracz: cl-pcre 2015-01-30T23:13:29Z otwieracz: And, afair, drakma. 2015-01-30T23:13:42Z otwieracz: cl-ppcre, of course. 2015-01-30T23:14:53Z harish quit (Ping timeout: 246 seconds) 2015-01-30T23:14:56Z nyef: Yeah, cl-ppcre and drakma are the go-to regex and http client libraries. 2015-01-30T23:15:17Z BlueRavenGT joined #lisp 2015-01-30T23:17:30Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T23:19:45Z jumblerg joined #lisp 2015-01-30T23:21:01Z jumblerg quit (Client Quit) 2015-01-30T23:21:36Z kcj joined #lisp 2015-01-30T23:22:08Z dilated_dinosaur quit (Ping timeout: 272 seconds) 2015-01-30T23:22:51Z jumblerg joined #lisp 2015-01-30T23:23:36Z yrdz joined #lisp 2015-01-30T23:24:24Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-01-30T23:27:21Z harish joined #lisp 2015-01-30T23:27:49Z innertracks quit (Quit: innertracks) 2015-01-30T23:33:03Z eudoxia quit (Quit: Leaving) 2015-01-30T23:33:16Z emaczen: is there a common-lisp function for replacing strings within a string? 2015-01-30T23:33:28Z LiamH quit (Quit: Leaving.) 2015-01-30T23:33:55Z otwieracz: I believe there's something in cl-ppcre 2015-01-30T23:36:07Z Bicyclidine quit (Ping timeout: 245 seconds) 2015-01-30T23:37:34Z innertracks joined #lisp 2015-01-30T23:38:04Z Alfr quit (Quit: Leaving) 2015-01-30T23:38:13Z Bicyclidine joined #lisp 2015-01-30T23:38:58Z harish quit (Ping timeout: 244 seconds) 2015-01-30T23:40:04Z cadadar quit (Quit: Leaving.) 2015-01-30T23:41:03Z innertracks quit (Client Quit) 2015-01-30T23:41:43Z camm` joined #lisp 2015-01-30T23:46:24Z Bicyclidine quit (Ping timeout: 246 seconds) 2015-01-30T23:47:13Z PaulCape_ joined #lisp 2015-01-30T23:47:29Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-30T23:47:53Z replcated quit (Ping timeout: 240 seconds) 2015-01-30T23:48:03Z innertracks joined #lisp 2015-01-30T23:48:06Z replcated joined #lisp 2015-01-30T23:49:52Z PaulCapestany quit (Ping timeout: 245 seconds) 2015-01-30T23:50:08Z harish joined #lisp 2015-01-30T23:51:39Z joneshf-laptop quit (Ping timeout: 246 seconds) 2015-01-30T23:53:28Z innertracks quit (Quit: innertracks) 2015-01-30T23:54:51Z jleija joined #lisp 2015-01-30T23:55:44Z vaporatorius quit (Remote host closed the connection) 2015-01-30T23:55:44Z vap1 quit (Remote host closed the connection) 2015-01-30T23:56:37Z prxq quit (Remote host closed the connection) 2015-01-30T23:59:26Z harish quit (Ping timeout: 265 seconds)