2015-02-21T00:00:32Z vaporatorius quit (Remote host closed the connection) 2015-02-21T00:07:37Z munksgaard quit (Read error: Connection reset by peer) 2015-02-21T00:09:49Z EvW quit (Ping timeout: 265 seconds) 2015-02-21T00:17:32Z rszeno joined #lisp 2015-02-21T00:18:47Z dstatyvka left #lisp 2015-02-21T00:36:25Z larion quit (Ping timeout: 264 seconds) 2015-02-21T00:36:34Z ejbs quit (Ping timeout: 255 seconds) 2015-02-21T00:36:51Z Mawile joined #lisp 2015-02-21T00:41:09Z hitecnologys_ joined #lisp 2015-02-21T00:43:35Z lispyone joined #lisp 2015-02-21T00:44:13Z hitecnologys quit (Ping timeout: 264 seconds) 2015-02-21T00:44:26Z PinealGlandOptic quit (Quit: leaving) 2015-02-21T00:45:50Z j0nii quit (Ping timeout: 246 seconds) 2015-02-21T00:51:52Z theseb quit (Ping timeout: 255 seconds) 2015-02-21T00:52:30Z karswell quit (Read error: Connection reset by peer) 2015-02-21T00:59:11Z lispyone quit (Remote host closed the connection) 2015-02-21T01:03:53Z PaulCapestany quit 2015-02-21T01:04:21Z toillb|aw joined #lisp 2015-02-21T01:04:29Z toillb|aw left #lisp 2015-02-21T01:05:26Z PaulCapestany joined #lisp 2015-02-21T01:06:38Z theseb joined #lisp 2015-02-21T01:08:44Z larion joined #lisp 2015-02-21T01:10:18Z lispyone joined #lisp 2015-02-21T01:10:33Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-02-21T01:17:52Z |3b| quit (Read error: Connection reset by peer) 2015-02-21T01:18:04Z Kanae quit (Read error: Connection reset by peer) 2015-02-21T01:19:01Z |3b| joined #lisp 2015-02-21T01:21:46Z Guthur` joined #lisp 2015-02-21T01:22:18Z axion quit (Quit: WeeChat 1.0) 2015-02-21T01:22:34Z axion joined #lisp 2015-02-21T01:22:35Z axion quit (Client Quit) 2015-02-21T01:22:57Z axion joined #lisp 2015-02-21T01:22:58Z axion quit (Client Quit) 2015-02-21T01:29:03Z nikki93 joined #lisp 2015-02-21T01:29:39Z nikki93 quit (Remote host closed the connection) 2015-02-21T01:32:27Z Bicyclidine quit (Quit: annoy) 2015-02-21T01:35:42Z lispyone quit (Remote host closed the connection) 2015-02-21T01:37:18Z larion quit (Ping timeout: 265 seconds) 2015-02-21T01:40:04Z bb010g quit (Quit: Connection closed for inactivity) 2015-02-21T01:40:55Z zacts quit (Ping timeout: 255 seconds) 2015-02-21T01:44:20Z theos quit (Disconnected by services) 2015-02-21T01:44:53Z theos joined #lisp 2015-02-21T01:47:21Z k-dawg joined #lisp 2015-02-21T01:47:59Z linux_dream joined #lisp 2015-02-21T01:49:09Z lispyone joined #lisp 2015-02-21T01:56:31Z Petit_Dejeuner_ quit (Ping timeout: 250 seconds) 2015-02-21T02:00:10Z camm` joined #lisp 2015-02-21T02:00:30Z Vutral quit (Ping timeout: 265 seconds) 2015-02-21T02:03:46Z PinealGlandOptic joined #lisp 2015-02-21T02:07:11Z devll joined #lisp 2015-02-21T02:11:07Z axion joined #lisp 2015-02-21T02:11:08Z axion quit (Client Quit) 2015-02-21T02:12:17Z axion joined #lisp 2015-02-21T02:14:36Z Petit_Dejeuner_ joined #lisp 2015-02-21T02:20:26Z Vutral joined #lisp 2015-02-21T02:21:55Z zhangyh26258 joined #lisp 2015-02-21T02:22:00Z defaultxr joined #lisp 2015-02-21T02:23:00Z c74d quit (Read error: Connection reset by peer) 2015-02-21T02:23:46Z cpc26 quit (Read error: Connection timed out) 2015-02-21T02:26:49Z jlongster joined #lisp 2015-02-21T02:26:49Z cpc26 joined #lisp 2015-02-21T02:31:37Z jlongster quit (Ping timeout: 264 seconds) 2015-02-21T02:32:35Z dafunktion quit (Remote host closed the connection) 2015-02-21T02:35:48Z zhangyh26258 quit (Remote host closed the connection) 2015-02-21T02:38:27Z scymtym quit (Ping timeout: 252 seconds) 2015-02-21T02:40:29Z edgar-rft quit (Quit: bye...) 2015-02-21T02:43:54Z lispyone quit (Remote host closed the connection) 2015-02-21T02:45:33Z trystero joined #lisp 2015-02-21T02:48:34Z tristero quit (Ping timeout: 244 seconds) 2015-02-21T02:50:09Z ASau quit (Ping timeout: 256 seconds) 2015-02-21T02:52:28Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-02-21T02:53:02Z c74d joined #lisp 2015-02-21T02:53:52Z linux_dream quit (Quit: Leaving) 2015-02-21T02:56:08Z axion quit (Quit: WeeChat 1.0) 2015-02-21T02:56:31Z axion joined #lisp 2015-02-21T03:01:16Z theos quit (Disconnected by services) 2015-02-21T03:01:45Z theos joined #lisp 2015-02-21T03:02:31Z kapil___ joined #lisp 2015-02-21T03:04:26Z paroneayea quit (Read error: Connection reset by peer) 2015-02-21T03:04:47Z paroneayea joined #lisp 2015-02-21T03:04:51Z fragamus quit (Ping timeout: 252 seconds) 2015-02-21T03:05:52Z yrdz left #lisp 2015-02-21T03:06:00Z yrdz joined #lisp 2015-02-21T03:06:34Z burtons joined #lisp 2015-02-21T03:07:30Z burtons: anybody on ever get opengenera running? every time I try and run it it locks up my X server, even in a VM running old versions of ubuntu 7.10. 2015-02-21T03:07:38Z bb010g joined #lisp 2015-02-21T03:08:11Z burtons: i'm going back even older to 6.4 to see if that works, but i'm wondering if i'm missing some incantation to keep it from locking the display 2015-02-21T03:08:25Z joshe joined #lisp 2015-02-21T03:08:41Z burtons: on 7.10 it got cold booting futher than i've ever seen it, but still...locks up 2015-02-21T03:11:15Z JokesOnYou77 joined #lisp 2015-02-21T03:11:18Z JokesOnYou77: Hi all 2015-02-21T03:11:24Z burtons: howdy 2015-02-21T03:12:35Z moei joined #lisp 2015-02-21T03:13:14Z k-dawg quit (Quit: This computer has gone to sleep) 2015-02-21T03:13:59Z yaewa quit (Ping timeout: 245 seconds) 2015-02-21T03:14:14Z modula joined #lisp 2015-02-21T03:16:24Z beach joined #lisp 2015-02-21T03:16:34Z beach: Good morning everyone! 2015-02-21T03:16:37Z defaultxr quit (Ping timeout: 264 seconds) 2015-02-21T03:16:45Z modula is now known as defaultxr 2015-02-21T03:20:10Z beach: drmeister: Do you still have things you want to talk to me about? 2015-02-21T03:20:36Z burtons: beach: have you ever gotten opengenera to run properly? 2015-02-21T03:20:51Z beach: burtons: No, sorry. 2015-02-21T03:21:08Z burtons: i saw some old conversations with you about it so i thought i would ask 2015-02-21T03:21:23Z burtons: even on old x servers it just locks up the whole screen 2015-02-21T03:21:36Z zacharias_ joined #lisp 2015-02-21T03:21:58Z beach: There were some other people here talking about it I believe. Did you check the logs? 2015-02-21T03:22:12Z burtons: i've found some old logs from 2013 2015-02-21T03:22:30Z beach: I recall a more recent discussion. 2015-02-21T03:22:35Z burtons: i'm just going back and back in ubuntu versions to see if one actually works 2015-02-21T03:22:42Z burtons: i've tried 7.10, now 6.04 2015-02-21T03:23:26Z burtons: 7.10 got the furthest, i got the cold boot window and the main window popped up but after that the whole screen just locks up 2015-02-21T03:24:41Z burtons: if i do ever get it working, tham vm is going to be precious 2015-02-21T03:24:52Z burtons: that vm, i mean 2015-02-21T03:25:01Z zacharias quit (Ping timeout: 252 seconds) 2015-02-21T03:25:39Z jlongster joined #lisp 2015-02-21T03:28:31Z theos quit (Disconnected by services) 2015-02-21T03:28:58Z drmeister: beach: Yes - but I'm on a train going under Philadelphia- will be in contact in a few min. 2015-02-21T03:29:00Z theos joined #lisp 2015-02-21T03:29:10Z beach: drmeister: OK. 2015-02-21T03:29:33Z drmeister: I'm out. 2015-02-21T03:30:20Z JokesOnYou77: Trying to make a binary tree from a list. It looks like it's going to be a nexted recursion and I'm having trouble seeing it: (1 2 3 4 5) => (1 (2 (4 5)) (3)) just breadth-first. 2015-02-21T03:30:25Z jlongster quit (Ping timeout: 264 seconds) 2015-02-21T03:30:27Z MrWoohoo quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-02-21T03:30:27Z drmeister: How do specials get handled? e.g.: (defvar *a* 1) (let ((*a* 2)) (print *a*)) 2015-02-21T03:30:56Z drmeister: It's somewhere between Sexp -> AST - the most mysterious part of Cleavir for me at this point. 2015-02-21T03:31:13Z Bike: JokesOnYou77: you mean you want that output? 2015-02-21T03:31:26Z beach: drmeister: DEFVAR is a macro, so it gets handled the way you expand it. 2015-02-21T03:31:32Z JokesOnYou77: Bike, yes 2015-02-21T03:32:18Z Bike: why is the three on the end and why does the top list have three elementS? 2015-02-21T03:32:40Z nyef: Oh. Hello, beach. 2015-02-21T03:32:40Z beach: drmeister: I'll check about references to special variables. 2015-02-21T03:32:47Z drmeister: beach: Right - but you have CONVERT-SPECIAL - it has a lot of methods. 2015-02-21T03:33:32Z beach: drmeister: Checking now. I do something special (pun intended) in SICL, so I must look. 2015-02-21T03:33:53Z JokesOnYou77: Bike, it's a binary tree, 1 has two children, 2 and 3, 2 has two children, 3 and 5, 3 has no children. It's as if you were conducting a breadth first search from left to right. 2015-02-21T03:34:15Z JokesOnYou77: *2 has children, 4 and 5 2015-02-21T03:34:33Z beach: drmeister: CONVERT-SPECIAL converts special forms. 2015-02-21T03:34:37Z drmeister: beach: I think I need to deal with specials first and then non-local exits. 2015-02-21T03:34:50Z drmeister: Oh - so not necessarily special variables. 2015-02-21T03:35:16Z beach: drmeister: There is a CONVERT-SPECIAL-VARIABLE in convert-form.lisp 2015-02-21T03:35:19Z Bike: JokesOnYou77: shouldn't it be (2 (4) (5)) then? 2015-02-21T03:35:35Z oleo is now known as Guest68710 2015-02-21T03:35:51Z drmeister: Special forms - got it. Common Lisp overloads special like (but not as bad as) C++ overloads "virtual". 2015-02-21T03:36:22Z beach: drmeister: By default convert-special-variable generates a SYMBOL-VALUE-AST. 2015-02-21T03:37:25Z oleo__ joined #lisp 2015-02-21T03:37:59Z JokesOnYou77: Bike, Hmmm...have to think about that. I guess I would prefer if the terminal nodes were non-null as the purpose is really just to hold data that will be used by something else. I'm dealing with functions that take s-expressions as input but aren't actually under my control. 2015-02-21T03:38:48Z beach: drmeister: And SYMBOL-VALUE-AST is compiled to SYMBOL-VALUE-INSTRUCTION. 2015-02-21T03:38:57Z Guest68710 quit (Ping timeout: 250 seconds) 2015-02-21T03:39:38Z drmeister: I have (defvar *a* 1) 2015-02-21T03:39:39Z drmeister: (cleavir-compile 'spectest '(lambda (x) (let ((*a* 2)) (format t "inner *a* = ~a~%" *a*)) (format t "outer *a*=~a~%" *a*))) 2015-02-21T03:39:47Z drmeister: It's throwing an error. 2015-02-21T03:39:48Z Bike: JokesOnYou77: then it would be (1 (2 4 5) 3). anyway, let me think a bit. i think you could basically go through the list by twos keeping a stack of the last node to give children to. 2015-02-21T03:40:15Z urandom__ quit (Quit: Konversation terminated!) 2015-02-21T03:40:50Z beach: drmeister: Terminology thing: in Common Lisp errors are not "thrown". They are "signaled". 2015-02-21T03:41:17Z nyef: "throw" is reserved for CATCH tags, is it not? 2015-02-21T03:41:17Z drmeister: Got it. C++ is a bit more of a knuckle dragging language. 2015-02-21T03:41:20Z JokesOnYou77: Bike, then I may be mischaracterizing it. The format I need for the next function is (1 (2 (4 5)) (3)) 2015-02-21T03:41:29Z JokesOnYou77: Bike, and thank you. 2015-02-21T03:41:33Z beach: nyef: I believe so. 2015-02-21T03:41:49Z JokesOnYou77: drmeister, that is a quotable lol 2015-02-21T03:42:12Z Bike: JokesOnYou77: i don't understand how that format makes sense then. i mean, is "tree with head c and nodes a and b" (c (a b)) or (c a b)? you have both in that one line, and then also the terminal node thing. 2015-02-21T03:42:56Z beach: drmeister: I can't reproduce your error here because I don't use SYMBOL-VALUE-AST or SYMBOL-VALUE-INSTRUCTION in SICL, and I still haven't set up a Clasp-like environment. 2015-02-21T03:43:20Z drmeister: In CLEAVIR-GENERATE-AST:CONVERT-SPECIAL-BINDING it's calling (cleavir-env:function-info global-env function-name) where function-name == CLEAVIR-PRIMOP:CALL-WITH-VARIABLE-BOUND 2015-02-21T03:43:27Z drmeister: That appears to be returning NIL 2015-02-21T03:44:13Z JokesOnYou77: Bike, the terminal nodes thing was my mischaracterization. And I see what you mean now. Let me look at the input format again 2015-02-21T03:44:18Z beach: drmeister: That's normal. 2015-02-21T03:44:55Z beach: drmeister: By default, binding a special variable generates a call to that function, and if you want the default, you need to define that function. 2015-02-21T03:45:06Z drmeister: Hmm, it's getting into convert-global-function with info == NIL 2015-02-21T03:45:24Z vlnx quit (Ping timeout: 244 seconds) 2015-02-21T03:45:26Z drmeister: So (cleavir-env:name info) is failing because info == NIL 2015-02-21T03:45:34Z beach: drmeister: That's normal. 2015-02-21T03:45:38Z drmeister: Must get off train in a minute - back in 5. 2015-02-21T03:45:38Z beach: drmeister: By default, binding a special variable generates a call to that function, and if you want the default, you need to define that function. 2015-02-21T03:46:59Z drmeister: Wow 2015-02-21T03:47:21Z beach: Hmm, 5 minutes pass faster and faster these days. 2015-02-21T03:47:26Z vlnx joined #lisp 2015-02-21T03:47:32Z beach thinks maybe he meant seconds. 2015-02-21T03:47:37Z drmeister: I was just getting off the train and this guy sitting next to me asked: is that Clasp? 2015-02-21T03:47:46Z Bike: wow, you're famous. 2015-02-21T03:47:48Z beach: Heh! 2015-02-21T03:47:56Z Bike: are there papparazzi around? 2015-02-21T03:48:07Z drmeister: I'm sitting on a train next to a random stranger and they knew Clasp 2015-02-21T03:48:41Z JokesOnYou77: that 2015-02-21T03:48:45Z JokesOnYou77: 's awesome 2015-02-21T03:49:16Z drmeister: Dammit I should have said "come find me" 2015-02-21T03:49:40Z nikki93 joined #lisp 2015-02-21T03:50:27Z lowryder joined #lisp 2015-02-21T03:50:55Z JokesOnYou77: bike, you're right, it should be (1 (2 (4) (5)) (3)) 2015-02-21T03:52:02Z JokesOnYou77: Bike: ex: (3 (2 It) (4 (4 (2 's) (4 (3 (2 a) (4 (3 lovely) (2 film))) (3 (2 with) (4 (3 (3 lovely) (2 performances)) (2 (2 by) (2 (2 (2 Buy) (2 and)) (2 Accorsi))))))) (2 .))) 2015-02-21T03:52:18Z Bike: you changed the terminal nodes again :) 2015-02-21T03:52:26Z Bike: but whatever, let me try to write it. 2015-02-21T03:52:46Z enitiz joined #lisp 2015-02-21T03:53:11Z nikki93 quit (Remote host closed the connection) 2015-02-21T03:55:44Z Bike: (defun ->tree (list) (let* ((result (list (first list))) (stack (list result))) (loop for (a b) on (rest list) by #'cddr do (let ((a (list a)) (b (list b))) (loop for elem in stack when (null (rest elem)) do (setf (rest elem) (list a b)) (push a stack) (push b stack))) finally (return result))) 2015-02-21T03:55:50Z Bike: that is almost certainly wrong, of course 2015-02-21T03:56:45Z beach: nyef: What are you working on these days? 2015-02-21T03:56:48Z Bike: ^it is, and what excitingly wrong output 2015-02-21T03:58:14Z JokesOnYou77: Rofl. 2015-02-21T03:58:19Z Bike: ah, just forgot an early return 2015-02-21T03:58:28Z nyef: beach: Still SBCL compiler bugs. I just figured out why something that I put together mid-last-year is causing a regression, so I'm hoping to figure out what to do about it tomorrow and get it committed before the freeze period. Or it might wait until next month. 2015-02-21T03:59:04Z PinealGlandOptic quit (Quit: leaving) 2015-02-21T03:59:09Z Bike: okay, it "works", just a moment. 2015-02-21T03:59:57Z JokesOnYou77: Never used BY keyword before 2015-02-21T04:00:08Z beach: nyef: stassats told me how to teach specbot to recognize clim in addition to lp and clhs. I am putting that on the back burner for now, but I'll do something about it later. 2015-02-21T04:00:09Z JokesOnYou77: Also, ON is a bit odd if I remember 2015-02-21T04:00:27Z nyef: Specbot used to know about CLIM. 2015-02-21T04:00:51Z nyef: ... And I may have been the one to add support for lp. It was a while ago, though, so I could be misremembering. 2015-02-21T04:00:52Z beach: Yes. Apparently the format changed, and nobody updated the CLIM database. 2015-02-21T04:01:34Z Bike: JokesOnYou77: http://paste.lisp.org/+34JC 2015-02-21T04:02:02Z Bike: the efficiency is basically garbage, but hopefully it at least does what you want it to 2015-02-21T04:03:36Z beach: nyef: I don't know why the format changed, though. 2015-02-21T04:04:34Z JokesOnYou77: Bike, not quite: (1 (2 (4 (6) (7)) (5)) (3)) should be (1 (2 (4) (5)) (3 (6) 7))) 2015-02-21T04:04:50Z nyef: beach: I have no idea, either. It wasn't just a prolonged outage? 2015-02-21T04:05:18Z beach: nyef: I just know what stassats told me. 2015-02-21T04:07:24Z JokesOnYou77: Bike, I've been thinking about it recursively from the leaves, but I think maybe the recursive case needs to treat each node as a root and then call itself? 2015-02-21T04:07:25Z zacts joined #lisp 2015-02-21T04:09:27Z ruste quit (Read error: Connection reset by peer) 2015-02-21T04:09:41Z ruste joined #lisp 2015-02-21T04:09:49Z Bike: JokesOnYou77: http://sprunge.us/VHBf 2015-02-21T04:09:59Z Bike: if this doesn't work i'm out of attempts. 2015-02-21T04:10:34Z Bike: of course, now it's a queue rather than a stack, but it was a fuck shit stack to begin with, so who's counting. 2015-02-21T04:10:50Z faheem_: drmeister: i'm surprised a random stranger on the train knew what clasp was. what did you say to him? 2015-02-21T04:11:56Z beach: nyef: Do you have a different theory? 2015-02-21T04:12:47Z nyef: Not other than the one that I just suggested, no. 2015-02-21T04:16:03Z gabriel_laddel joined #lisp 2015-02-21T04:17:42Z JokesOnYou77: Beach, This is beautiful. I was trying to do it recursively, but this is amazing. I'm still grokking it. 2015-02-21T04:18:09Z JokesOnYou77: Why is it a queue now? 2015-02-21T04:18:12Z beach: JokesOnYou77: Did you mean "Bike"? 2015-02-21T04:18:15Z Bike: wow, shoved to the wayside 2015-02-21T04:18:29Z JokesOnYou77: Rofl, damn, autocomplete :< Sorry Bike 2015-02-21T04:18:40Z Bike: because things are added to the end but taken from the front. LIFO, baby, just like first year python 2015-02-21T04:19:44Z zacts quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-02-21T04:19:58Z Bike: it's pretty simple. the queue is a list of elements that don't have children yet. each step the loop gets two elements and adds them to whichever was the topmost element that doesn't have children yet, then puts the two elements on the queue for later. side effects keep it all together. 2015-02-21T04:20:19Z Bike: of course you probably want to add error checking and such 2015-02-21T04:23:10Z JokesOnYou77: I think type checking will all be done in function that passes to this one. 2015-02-21T04:23:35Z JokesOnYou77: And, this actually makes me feel better abotu my "starting from the front" approach. 2015-02-21T04:24:07Z JokesOnYou77: This is exactly what I was looking for. Now, once I've understood it, I can implement it. Thank you so much 2015-02-21T04:25:03Z Bike: mmhm 2015-02-21T04:25:34Z jlongster joined #lisp 2015-02-21T04:26:43Z ruste quit (Read error: Connection reset by peer) 2015-02-21T04:27:26Z ruste joined #lisp 2015-02-21T04:28:29Z drmeister: faheem_: I had to get off the train because it had stopped and was about to leave again. 2015-02-21T04:29:08Z beach: drmeister: You should have handed him your business card and said "call me". 2015-02-21T04:30:07Z jlongster quit (Ping timeout: 255 seconds) 2015-02-21T04:34:56Z drmeister: It happened so fast. 2015-02-21T04:35:24Z drmeister: Oh well. 2015-02-21T04:36:23Z drmeister: Binding a special variable generates a call to the function CLEAVIR-GENERATE-AST:CONVERT-GLOBAL-FUNCTION? 2015-02-21T04:37:03Z theseb left #lisp 2015-02-21T04:37:28Z beach: drmeister: Maybe so. A call to that function CALL-WITH-VARIABLE-BOUND. 2015-02-21T04:40:16Z beach: drmeister: How special variables are bound is very implementation-specific, so I provided hooks for customization. 2015-02-21T04:41:10Z Bike: no progv? 2015-02-21T04:42:00Z beach: Bike: Not sure what you are asking. 2015-02-21T04:47:07Z nyef: beach: The implementation of PROGV, particularly the undoing of the bindings, is dependent on how an implementation handles bindings normally. 2015-02-21T04:47:27Z beach: Sure. 2015-02-21T04:47:47Z nyef: This is actually part of why SBCL handles PROGV where it does (in IR2TRAN, IIRC) rather than at the IR1 level. 2015-02-21T04:48:17Z nyef: It's a chunk of IR1 functionality, but for reasons of locality for a cross-cutting concern, it's all in one place. 2015-02-21T04:48:41Z Bike: i'm probably just misunderstanding how cleavir works. 2015-02-21T04:49:29Z beach: Bike: Not necessarily. 2015-02-21T04:50:28Z Kanae joined #lisp 2015-02-21T04:50:32Z nyef: Bike: It's also possible that beach hasn't gotten that far. You can cover a lot of stuff before needing PROGV, after all. 2015-02-21T04:50:59Z beach: Since I can't guess how the implementation is handling special variables, I have a choice. I can either provide some default or just fail if the implementation is not providing the mechanism. 2015-02-21T04:50:59Z cpc26_ joined #lisp 2015-02-21T04:51:19Z Bike: all i was thinking is that progv is supposed to be the implementation's mechanism. 2015-02-21T04:51:57Z beach: Bike: sure, so I could use it as a default? 2015-02-21T04:52:06Z Bike: yeah. 2015-02-21T04:52:21Z beach: But I think PROGV is kind of complicated when the number of bindings is not the same as the number of forms. 2015-02-21T04:53:06Z Bike: "If too few values are supplied, the remaining symbols are bound and then made to have no value." wow, that totally makes sense unambiguously, thank you clhs 2015-02-21T04:53:17Z Bike: i don't know what call-with-variable-bound is supposed to do, so 2015-02-21T04:53:19Z cpc26 quit (Ping timeout: 250 seconds) 2015-02-21T04:53:49Z beach: Bind a variable to the result of a form and call a function while the binding is in place. 2015-02-21T04:54:28Z nyef: Bike: Yeah, CLHS gets to be a bit vague and possibly-contradictory around values. The accepted interpretation is that a new binding is created (so that the old value will be restored on unwind) which is "unbound" as though it had been hit with MAKUNBOUND. 2015-02-21T04:54:31Z Bike: (call-with-variable-bound thunk symbol value) => (progv (list symbol) (list value) (funcall thunk))? 2015-02-21T04:55:01Z beach: Bike: Yes, I agree. I could do it that way. 2015-02-21T04:55:40Z Bike: nyef: hm, my interpretation would be (progv '(*x*) '() (boundp '*x*)) => T, (progv '(*x*) '() (symbol-value '*x*)) => some error. of course, i can see why nobody would actually do that. 2015-02-21T04:56:02Z beach: And I would count on the implementation to provide a compiler macro for when the number of symbols and values is known at compile time, and when the names of the symbols are known. 2015-02-21T04:56:31Z Bike: well, right, that's what i mean when i say i don't know what call-with-variable-bound is supposed to do. like, generate code to call, or what. that sorta thing. 2015-02-21T04:56:48Z nyef: Question: What is the type of the value held by an unbound variable? 2015-02-21T04:56:55Z Bike: nil 2015-02-21T04:57:00Z Bike: if it's just a matter of speed i'd expect a possibly slow default with progv instead of an error, though 2015-02-21T04:57:02Z nyef: Yeah, that's about what I figured. 2015-02-21T04:57:13Z beach: Bike: That's a good idea. 2015-02-21T04:57:32Z nyef: ... Mind the recursion. 2015-02-21T04:58:01Z Bike: doesn't sbcl give error a type of (function whatever nil)? it's what i'd expect. 2015-02-21T04:58:17Z Bike: ayup. 2015-02-21T04:58:30Z nyef: If PROGV uses WHATEVER-IT-WAS uses PROGV, you can kiss your stack goodbye. 2015-02-21T04:58:40Z zacts joined #lisp 2015-02-21T04:59:17Z Bike: You mean if progv uses cleavir's function? 2015-02-21T05:00:19Z camm` quit (Ping timeout: 244 seconds) 2015-02-21T05:01:16Z beach: Cleavir can't just "use the PROGV of the implementation" because PROGV is a special operator so Cleavir must handle it that way. And since handling special variables is implementation specific, there must be some kind of customization mechanism. 2015-02-21T05:02:16Z ASau joined #lisp 2015-02-21T05:02:18Z beach: The question (as always) is: Should Cleavir provide some defaults for "lazy" implementors, or should it require the implementor to think hard about it. In the former case, what should the default be? 2015-02-21T05:03:46Z beach: The default for PROGV could be a function that takes the FORM* wrapped in a thunk. 2015-02-21T05:06:20Z beach: Am I making sense? 2015-02-21T05:07:03Z jlongster joined #lisp 2015-02-21T05:07:06Z nyef: Yes, that's fairly straightforward. 2015-02-21T05:07:07Z Pyridrym quit (Quit: leaving) 2015-02-21T05:07:08Z beach: And I can use that same function for binding special variables. 2015-02-21T05:07:37Z ethycol joined #lisp 2015-02-21T05:07:41Z nyef: That function would have to involve an UNWIND-PROTECT or some other integration to the unwind mechanism, though. 2015-02-21T05:07:47Z beach: Sure. 2015-02-21T05:07:56Z beach: But I would leave that up to the implementation. 2015-02-21T05:08:46Z beach: So for the default case, the HIR/MIR form of the program would have no mechanism for dealing with special variables. 2015-02-21T05:08:48Z nyef: There's some other thought trying to come to mind. Something about unsupplied values in PROGV for such a wrapper, and the provided interface when binding a single, known variable. 2015-02-21T05:09:30Z beach: Yeah, I need to think about that. 2015-02-21T05:09:49Z beach: I already mentioned a compiler macro before. 2015-02-21T05:12:53Z beach: This hypothetical function (let's call it CALL-WITH-BINDINGS) would have to use some mechanism for creating a binding for a variable and then making it have no value. 2015-02-21T05:13:04Z beach: But presumably, the implementation knows how to do that. 2015-02-21T05:13:31Z beach: So it would be (defun call-with-bindings (symbols values thunk) ...). 2015-02-21T05:14:19Z beach: What would the compiler macro would recognize? 2015-02-21T05:14:48Z beach: Symbols being '(symbol) or (list 'symbol). 2015-02-21T05:15:07Z beach: Values being (list
). 2015-02-21T05:15:12Z beach: Right so far? 2015-02-21T05:15:47Z beach: That's up to the implementation of course. I just want to make sure that it is possible to do something more efficient for binding a known variable to a single value. 2015-02-21T05:17:36Z nyef: Your basic semantic for creating a binding and then making it have no value is to bind some value in and then use MAKUNBOUND. 2015-02-21T05:18:06Z beach: Oh, right. I forgot that makunbound works on the innermost binding. 2015-02-21T05:18:08Z beach: You are right. 2015-02-21T05:19:12Z ruste quit (Remote host closed the connection) 2015-02-21T05:19:19Z beach: Ah, but now I remember the problem with this approach. Compiler macros are already processed before I get to generate code for something like: (let (( )) ) where is special. 2015-02-21T05:20:02Z beach: And this is why I introduced a special function for that: CALL-WITH-VARIABLE-BOUND which is basically what the compiler macro would expand to. 2015-02-21T05:20:53Z nyef: Okay, as interesting as this is, I need to sign off and do a (GC :FULL T) on my headspace. 2015-02-21T05:21:01Z beach: 'night nyef. 2015-02-21T05:21:06Z nyef quit (Quit: G'night all) 2015-02-21T05:22:14Z ruste joined #lisp 2015-02-21T05:29:32Z Kolt_ joined #lisp 2015-02-21T05:30:12Z Kolt_ quit (Quit: Leaving) 2015-02-21T05:30:56Z ethycol quit (Ping timeout: 252 seconds) 2015-02-21T05:42:03Z ASau quit (Remote host closed the connection) 2015-02-21T05:43:55Z ASau joined #lisp 2015-02-21T05:45:16Z cluck quit (Remote host closed the connection) 2015-02-21T05:51:03Z beach: drmeister: If you really don't know what to do about special-varible bindings, do the following: Write a function (defun cleavir-primop:call-with-variable-bound (variable value thunk) (progv (list variable) (list value) (funcall thunk))) and compile it with your existing compiler. 2015-02-21T05:51:13Z beach: s/varible/variable/ 2015-02-21T05:51:40Z MightyJoe joined #lisp 2015-02-21T05:52:01Z drmeister: beach: I've been reading your code and thinking about it while nodding off a bit. 2015-02-21T05:52:29Z kapil___ quit (Quit: Connection closed for inactivity) 2015-02-21T05:52:50Z cyraxjoe quit (Ping timeout: 246 seconds) 2015-02-21T05:53:06Z drmeister: I'd rather figure it out and come up with a solution. I have a way of binding and then restoring special variables I'm trying to figure out how to apply it here. 2015-02-21T05:53:26Z beach: drmeister: OK. If you want to do something more sophisticated, you will have to recall how you bind and unbind variables, and you need an UNWIND-PROTECT in there since you are using shallow binding as I recall. 2015-02-21T05:55:43Z beach: drmeister: Do you see what I am saying? 2015-02-21T05:55:54Z drmeister: Yes. 2015-02-21T05:56:04Z drmeister: So I should implement unwind-protect first. 2015-02-21T05:56:18Z beach: Surely, you already have that, no? 2015-02-21T05:56:38Z drmeister: I have one in my old compiler - but not the new one. 2015-02-21T05:56:55Z beach: I am saying, write this function and compile it with your old compiler. 2015-02-21T05:58:29Z beach: I don't think Cleavir knows how to compile unwind-protect yet. 2015-02-21T05:58:37Z MightyJoe quit (Ping timeout: 264 seconds) 2015-02-21T05:58:44Z beach: That's another highly implementation-dependent mechanism. 2015-02-21T05:59:41Z drmeister: I'll think on this and work on it tomorrow again. I better get to bed. 2015-02-21T05:59:57Z MightyJoe joined #lisp 2015-02-21T05:59:58Z beach: OK. Sleep well! 2015-02-21T06:00:09Z enitiz quit (Read error: Connection reset by peer) 2015-02-21T06:01:24Z bgs100 quit (Quit: bgs100) 2015-02-21T06:07:20Z meiji11 joined #lisp 2015-02-21T06:09:25Z jlongster quit (Ping timeout: 264 seconds) 2015-02-21T06:13:42Z gravicappa joined #lisp 2015-02-21T06:19:13Z csziacobus quit (Quit: csziacobus) 2015-02-21T06:19:13Z Kanae quit (Read error: Connection reset by peer) 2015-02-21T06:25:47Z kushal quit (Ping timeout: 250 seconds) 2015-02-21T06:30:08Z devll quit (Remote host closed the connection) 2015-02-21T06:32:10Z enitiz joined #lisp 2015-02-21T06:35:49Z gabriel_laddel quit (Ping timeout: 264 seconds) 2015-02-21T06:37:44Z bandrami joined #lisp 2015-02-21T06:39:03Z MightyJoe quit (Ping timeout: 250 seconds) 2015-02-21T06:41:44Z MightyJoe joined #lisp 2015-02-21T06:43:37Z hvxgr quit (Ping timeout: 256 seconds) 2015-02-21T06:43:50Z beach: OK, I think I know what to do. 2015-02-21T06:44:06Z beach: We already said that PROGV can be expressed as a function. 2015-02-21T06:45:15Z beach: In the same way, (UNWIND-PROTECT PROTECTED-FORM CLEANUP-FORM*) can be implemented as (CALL-WITH-UNWIND-PROTECT (lambda () PROTECTED-FORM) (lambda () CLEANUP-FORM*)), right? 2015-02-21T06:45:56Z munksgaard joined #lisp 2015-02-21T06:46:38Z beach: So in Cleavir, I can require of the implementation to either 1: define those forms as macros, presumably calling those CALL-WITH-... functions, or 2: provide a method on CONVERT-SPECIAL that converts those special forms to whatever AST the implementor wants. 2015-02-21T06:47:15Z beach: Therefore, I don't need to provide any defaults. Whew! 2015-02-21T06:47:23Z huza joined #lisp 2015-02-21T06:51:27Z huza quit (Client Quit) 2015-02-21T06:52:13Z Oladon1 quit (Read error: Connection reset by peer) 2015-02-21T06:52:41Z Oladon joined #lisp 2015-02-21T06:57:05Z beach: Can someone verify my thinking here, please? 2015-02-21T06:57:22Z |3b| quit (Read error: Connection reset by peer) 2015-02-21T06:57:33Z bandrami left #lisp 2015-02-21T06:58:27Z |3b| joined #lisp 2015-02-21T07:04:18Z gabriel_laddel joined #lisp 2015-02-21T07:05:47Z Bike: well, unwind-protect can definitely be a function. 2015-02-21T07:06:04Z gingerale joined #lisp 2015-02-21T07:06:34Z beach: Yeah, and for PROGV I think we have had the discussion in the past and decided it is possible to define it as a function as well. 2015-02-21T07:07:09Z Bike: certainly. 2015-02-21T07:09:48Z beach: OK, thanks. 2015-02-21T07:10:15Z enitiz quit (Ping timeout: 256 seconds) 2015-02-21T07:11:10Z beach: In summary then: since Cleavir can't decide how to compile those two special forms, and since the Common Lisp HyperSpec allows for a special operator to be implemented as a macro, I let the implementation choose between providing macros or providing a method on CONVERT-SPECIAL. Seems reasonable? 2015-02-21T07:11:47Z gabriel_laddel quit (Remote host closed the connection) 2015-02-21T07:12:21Z ThePhoeron quit (Ping timeout: 252 seconds) 2015-02-21T07:12:25Z cadadar joined #lisp 2015-02-21T07:14:00Z hvxgr joined #lisp 2015-02-21T07:14:07Z kobain quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) 2015-02-21T07:15:32Z Bike: sure, i guess. 2015-02-21T07:15:45Z ruste quit (Read error: Connection reset by peer) 2015-02-21T07:15:48Z ruste_ joined #lisp 2015-02-21T07:16:30Z beach: Thanks. It is not a disaster if it is wrong. I just want check that I didn't miss something obvious. 2015-02-21T07:16:31Z theos quit (Disconnected by services) 2015-02-21T07:17:01Z theos joined #lisp 2015-02-21T07:17:18Z ThePhoeron joined #lisp 2015-02-21T07:18:53Z Shinmera joined #lisp 2015-02-21T07:19:01Z kapil___ joined #lisp 2015-02-21T07:20:10Z qubitnerd joined #lisp 2015-02-21T07:28:01Z vaporatorius joined #lisp 2015-02-21T07:29:44Z zeitue quit (Ping timeout: 252 seconds) 2015-02-21T07:32:55Z Kanae joined #lisp 2015-02-21T07:34:40Z paroneayea quit (Read error: Connection reset by peer) 2015-02-21T07:35:00Z paroneayea joined #lisp 2015-02-21T07:42:23Z zeitue joined #lisp 2015-02-21T07:44:13Z farhaven quit (Ping timeout: 264 seconds) 2015-02-21T07:47:42Z MrWoohoo joined #lisp 2015-02-21T07:48:09Z sdemarre joined #lisp 2015-02-21T07:51:36Z a20150101 quit (Quit: Page closed) 2015-02-21T07:58:37Z munksgaard quit (Read error: Connection reset by peer) 2015-02-21T08:01:35Z d4ryus__ joined #lisp 2015-02-21T08:03:13Z hiroakip joined #lisp 2015-02-21T08:04:14Z Mon_Ouie joined #lisp 2015-02-21T08:04:24Z d4ryus quit (Ping timeout: 245 seconds) 2015-02-21T08:05:18Z void_AT joined #lisp 2015-02-21T08:08:15Z stepnem joined #lisp 2015-02-21T08:15:25Z hiroakip quit (Ping timeout: 264 seconds) 2015-02-21T08:16:34Z angavrilov joined #lisp 2015-02-21T08:20:01Z ndrei quit (Ping timeout: 250 seconds) 2015-02-21T08:25:44Z mishoo_ joined #lisp 2015-02-21T08:25:44Z jlongster joined #lisp 2015-02-21T08:25:45Z adlai|joinmarket joined #lisp 2015-02-21T08:27:07Z ethycol joined #lisp 2015-02-21T08:29:55Z adlai|joinmarket left #lisp 2015-02-21T08:30:05Z jlongster quit (Ping timeout: 244 seconds) 2015-02-21T08:31:20Z ethycol quit (Ping timeout: 252 seconds) 2015-02-21T08:33:05Z rszeno quit (Quit: Leaving.) 2015-02-21T08:40:18Z ggole joined #lisp 2015-02-21T08:41:01Z xificurC joined #lisp 2015-02-21T08:59:01Z qubitnerd quit (Ping timeout: 244 seconds) 2015-02-21T09:01:41Z kuzy000_ joined #lisp 2015-02-21T09:04:04Z meiji11 quit (Remote host closed the connection) 2015-02-21T09:08:02Z ndrei joined #lisp 2015-02-21T09:08:04Z ggole quit (Read error: Connection reset by peer) 2015-02-21T09:08:13Z zacharias_ quit (Ping timeout: 252 seconds) 2015-02-21T09:08:21Z wz1000 quit (Quit: WeeChat 1.1.1) 2015-02-21T09:08:34Z ggole joined #lisp 2015-02-21T09:08:51Z scottj joined #lisp 2015-02-21T09:14:31Z ggole quit (Ping timeout: 255 seconds) 2015-02-21T09:19:29Z edgar-rft joined #lisp 2015-02-21T09:22:37Z Mon_Ouie quit (Ping timeout: 264 seconds) 2015-02-21T09:27:10Z ggole joined #lisp 2015-02-21T09:36:55Z hitecnologys_ is now known as hitecnologys 2015-02-21T09:38:42Z tall-hunk joined #lisp 2015-02-21T09:51:15Z kcj quit (Remote host closed the connection) 2015-02-21T09:53:19Z hitecnologys quit (Quit: hitecnologys) 2015-02-21T09:53:47Z hitecnologys joined #lisp 2015-02-21T09:54:05Z beach: CATCH and THROW can also be implemented as macros that expand to function calls, right? 2015-02-21T09:55:10Z larion joined #lisp 2015-02-21T10:07:47Z zacharias joined #lisp 2015-02-21T10:10:52Z defaultxr quit (Quit: gnight) 2015-02-21T10:16:27Z pt1 joined #lisp 2015-02-21T10:18:20Z sdemarre quit (Ping timeout: 265 seconds) 2015-02-21T10:24:37Z mrSpec joined #lisp 2015-02-21T10:25:49Z jlongster joined #lisp 2015-02-21T10:27:39Z void_AT quit 2015-02-21T10:30:01Z jlongster quit (Ping timeout: 250 seconds) 2015-02-21T10:31:57Z Karl_Dscc joined #lisp 2015-02-21T10:32:29Z sdemarre joined #lisp 2015-02-21T10:37:52Z Vutral quit (Ping timeout: 240 seconds) 2015-02-21T10:38:50Z Vutral joined #lisp 2015-02-21T10:38:50Z Vutral quit (Changing host) 2015-02-21T10:38:50Z Vutral joined #lisp 2015-02-21T10:41:37Z zeitue quit (Ping timeout: 256 seconds) 2015-02-21T10:43:18Z cadadar quit (Quit: Leaving.) 2015-02-21T10:43:27Z isis_ quit (Ping timeout: 250 seconds) 2015-02-21T10:44:52Z Vutral quit (Excess Flood) 2015-02-21T10:48:16Z rjmacready joined #lisp 2015-02-21T10:49:35Z qubitnerd joined #lisp 2015-02-21T10:51:42Z acetoline joined #lisp 2015-02-21T10:51:45Z acetoline left #lisp 2015-02-21T10:52:01Z acetoline joined #lisp 2015-02-21T10:52:55Z jtza8 joined #lisp 2015-02-21T10:54:33Z axion: greetings 2015-02-21T10:55:09Z axion: i am trying out this code, and on SBCL, control stack is exhausted when called insert-tail as per the example: http://rosettacode.org/wiki/Doubly-Linked_List#Common_Lisp 2015-02-21T10:55:13Z axion: any ideas why? 2015-02-21T10:57:08Z pt1 quit (Remote host closed the connection) 2015-02-21T10:57:58Z zeitue joined #lisp 2015-02-21T11:01:37Z samebchase: axion: same here. looks like that code is buggy] 2015-02-21T11:01:43Z axion: :/ 2015-02-21T11:02:30Z urandom__ joined #lisp 2015-02-21T11:02:34Z pt1 joined #lisp 2015-02-21T11:02:47Z pt1 quit (Remote host closed the connection) 2015-02-21T11:03:16Z samebchase: axion: these sorts of programs need to be debugged with patience and lot of diagrams 2015-02-21T11:03:44Z axion: sigh, oh well. btrees it is 2015-02-21T11:06:56Z notty quit (Quit: See you, space cowboy ...) 2015-02-21T11:08:03Z Vutral joined #lisp 2015-02-21T11:08:13Z sdemarre quit (Ping timeout: 264 seconds) 2015-02-21T11:09:52Z hiyosi joined #lisp 2015-02-21T11:11:25Z beach: axion: Compile with debug 3 and trace the functions. Then you usually see what the problem is. 2015-02-21T11:12:21Z void_AT joined #lisp 2015-02-21T11:15:00Z oleo__ quit (Quit: Verlassend) 2015-02-21T11:15:49Z pt1 joined #lisp 2015-02-21T11:15:58Z quazimodo quit (Ping timeout: 252 seconds) 2015-02-21T11:17:43Z axion: i don't see anything unusual, though i'm not sure how this code is supposed to work either 2015-02-21T11:22:27Z gko__ joined #lisp 2015-02-21T11:23:10Z decent: I pasted the code and ran the example and.. no problems with SBCL. I'm lucky. :) 2015-02-21T11:25:14Z axion: that is odd. a few people have had issues 2015-02-21T11:26:02Z Shinmera: Works for me on SBCL 1.2.8.70-1efe604 2015-02-21T11:26:40Z decent: sbcl 1.1.12 here 2015-02-21T11:26:54Z jlongster joined #lisp 2015-02-21T11:26:58Z axion: 1.2.6 here 2015-02-21T11:27:05Z axion: i'll try upgrading to 1.2.8 2015-02-21T11:29:13Z jtza8 quit (Ping timeout: 264 seconds) 2015-02-21T11:29:36Z axion: nope 2015-02-21T11:29:37Z axion: Control stack exhausted (no more space for function call frames). 2015-02-21T11:29:48Z axion: copied code exactly as-is 2015-02-21T11:31:54Z jlongster quit (Ping timeout: 245 seconds) 2015-02-21T11:32:52Z acetoline quit (Ping timeout: 240 seconds) 2015-02-21T11:33:39Z void_AT quit 2015-02-21T11:35:30Z beach: axion: Did you do as I suggested? It is usually obvious then. 2015-02-21T11:36:41Z beach: Works for me too, by the way. 2015-02-21T11:37:21Z axion: beach: yes i did. it just prints the struct and immediately errors 2015-02-21T11:37:55Z beach: axion: That sounds unlikely. If you exhaust the call stack, you should see a lot of traces of the same function being entered. 2015-02-21T11:38:08Z axion: perhaps i'm using trace incorrectly then 2015-02-21T11:38:37Z beach: And you are sure you compiled with debug 3? 2015-02-21T11:38:47Z axion: and something tells me this is a regression if it works for others and not for others 2015-02-21T11:39:11Z axion: i'll retry. one moment 2015-02-21T11:39:31Z oleo joined #lisp 2015-02-21T11:44:10Z axion: no luck 2015-02-21T11:44:23Z beach: OK. Strange! 2015-02-21T11:45:55Z EvW joined #lisp 2015-02-21T11:47:58Z scymtym joined #lisp 2015-02-21T11:48:21Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-02-21T11:51:14Z mishoo_ quit (Ping timeout: 246 seconds) 2015-02-21T11:56:05Z OTS joined #lisp 2015-02-21T11:57:06Z OTS quit (Remote host closed the connection) 2015-02-21T11:58:52Z sol__ joined #lisp 2015-02-21T12:02:32Z void_AT joined #lisp 2015-02-21T12:03:11Z EvW quit (Ping timeout: 250 seconds) 2015-02-21T12:04:43Z paroneayea quit (Read error: Connection reset by peer) 2015-02-21T12:04:54Z paroneayea joined #lisp 2015-02-21T12:06:46Z jtza8 joined #lisp 2015-02-21T12:09:27Z Vutral quit (Ping timeout: 245 seconds) 2015-02-21T12:11:50Z Vutral joined #lisp 2015-02-21T12:12:24Z d4ryus__ is now known as d4ryus 2015-02-21T12:15:05Z pt1 quit (Remote host closed the connection) 2015-02-21T12:21:30Z Vutral quit (Excess Flood) 2015-02-21T12:23:37Z void_AT quit (Ping timeout: 246 seconds) 2015-02-21T12:30:05Z ghard joined #lisp 2015-02-21T12:32:17Z k-stz joined #lisp 2015-02-21T12:33:09Z larion quit (Quit: Lost terminal) 2015-02-21T12:34:23Z Beetny quit (Ping timeout: 250 seconds) 2015-02-21T12:41:34Z resttime quit (Quit: resttime) 2015-02-21T12:42:07Z Vutral joined #lisp 2015-02-21T12:43:13Z sol__: anyone has a nice hexdump function? 2015-02-21T12:43:48Z Joreji joined #lisp 2015-02-21T12:45:52Z oleo quit (Read error: Connection reset by peer) 2015-02-21T12:49:35Z jjkola joined #lisp 2015-02-21T12:50:07Z sdemarre joined #lisp 2015-02-21T12:50:26Z jjkola: hi 2015-02-21T12:51:42Z sol__: hi :) 2015-02-21T12:53:52Z oleo joined #lisp 2015-02-21T12:54:00Z scottj quit (Quit: leaving) 2015-02-21T12:56:13Z ruste_ quit (Ping timeout: 264 seconds) 2015-02-21T12:56:49Z enitiz joined #lisp 2015-02-21T12:59:15Z quazimodo joined #lisp 2015-02-21T12:59:23Z hiroakip joined #lisp 2015-02-21T12:59:44Z wz1000 joined #lisp 2015-02-21T13:01:38Z juanlas joined #lisp 2015-02-21T13:06:25Z Alfr joined #lisp 2015-02-21T13:09:41Z harish quit (Quit: Leaving) 2015-02-21T13:10:09Z harish joined #lisp 2015-02-21T13:13:29Z Patzy quit (Ping timeout: 256 seconds) 2015-02-21T13:13:47Z pt1 joined #lisp 2015-02-21T13:14:17Z Patzy joined #lisp 2015-02-21T13:17:49Z zeitue quit (Ping timeout: 264 seconds) 2015-02-21T13:22:05Z harish quit (Remote host closed the connection) 2015-02-21T13:23:13Z harish joined #lisp 2015-02-21T13:24:47Z drmeister: Hello 2015-02-21T13:26:02Z camm` joined #lisp 2015-02-21T13:26:11Z beach: Hello drmeister. 2015-02-21T13:27:51Z Guthur` quit (Remote host closed the connection) 2015-02-21T13:29:15Z rszeno joined #lisp 2015-02-21T13:30:12Z cadadar joined #lisp 2015-02-21T13:30:46Z cadadar left #lisp 2015-02-21T13:31:11Z zeitue joined #lisp 2015-02-21T13:32:22Z beach: drmeister: I am fairly sure that CATCH, THROW, UNWIND-PROTECT, and PROGV will not be used frequently enough that they influence overall performance, so you might as well turn them into macros that expand into function calls. 2015-02-21T13:33:01Z beach: drmeister: Doing so will also simplify compilation and, with that, debugging compiled code. 2015-02-21T13:34:05Z beach: drmeister: Also, what these functions must do probably takes enough cycles that the overhead of a function call won't matter. 2015-02-21T13:36:23Z drmeister: Got it 2015-02-21T13:38:33Z arpunk joined #lisp 2015-02-21T13:39:58Z drmeister: Unwind-protect I know how to implement but the hir will look like a rats nest of INVOKES (two successors) rather than FUNCALLS 2015-02-21T13:41:15Z hiroakip quit (Ping timeout: 256 seconds) 2015-02-21T13:42:51Z drmeister: I guess the special bindings would have matching special-push and special-pop instructions together with Unwind-protect. 2015-02-21T13:43:22Z camm` quit (Remote host closed the connection) 2015-02-21T13:43:59Z beach: Why not implement UNWIND-PROTECT as a function call? 2015-02-21T13:44:12Z drmeister: I don't currently reset special bindings in the debugger when I walk frames. Can other cl debuggers do that? 2015-02-21T13:44:13Z beach: I'll be back in 15 minutes. I need to put away the groceries. 2015-02-21T13:45:00Z drmeister: I may take you up on that idea. I'm considering alternatives 2015-02-21T13:49:22Z rjmacready quit (Ping timeout: 246 seconds) 2015-02-21T13:50:17Z rszeno quit (Ping timeout: 245 seconds) 2015-02-21T13:55:10Z antgreen quit (Remote host closed the connection) 2015-02-21T13:58:14Z pjb: JokesOnYou77: have a look at: http://groups.google.com/group/comp.lang.lisp/msg/b8d9376744b4ebb1 and http://groups.google.com/group/comp.lang.lisp/msg/0c66e597e08be90d 2015-02-21T13:58:31Z LiamH joined #lisp 2015-02-21T13:58:32Z puchacz joined #lisp 2015-02-21T14:02:17Z beach: drmeister: I think it will simplify many things. 2015-02-21T14:03:07Z LiamH quit (Client Quit) 2015-02-21T14:07:04Z fantazo quit (Quit: Verlassend) 2015-02-21T14:07:27Z rszeno joined #lisp 2015-02-21T14:14:22Z notty joined #lisp 2015-02-21T14:16:55Z notty quit (Client Quit) 2015-02-21T14:24:12Z pt1 quit (Remote host closed the connection) 2015-02-21T14:24:35Z rszeno quit (Quit: Leaving.) 2015-02-21T14:25:48Z jlongster joined #lisp 2015-02-21T14:30:09Z jlongster quit (Ping timeout: 252 seconds) 2015-02-21T14:32:25Z nyef joined #lisp 2015-02-21T14:32:38Z nyef: G'morning all. 2015-02-21T14:33:03Z beach: Hello nyef! 2015-02-21T14:37:15Z scymtym: sol__: https://github.com/scymtym/utilities.binary-dump 2015-02-21T14:38:01Z tall-hunk quit (Ping timeout: 246 seconds) 2015-02-21T14:39:02Z oleo: morning 2015-02-21T14:39:44Z beach: Hello oleo. 2015-02-21T14:40:13Z Davidbrcz joined #lisp 2015-02-21T14:41:49Z mrSpec quit (Ping timeout: 264 seconds) 2015-02-21T14:42:18Z guicho joined #lisp 2015-02-21T14:44:08Z oleo: hello beach 2015-02-21T14:44:18Z vdamewood joined #lisp 2015-02-21T14:45:05Z OTS joined #lisp 2015-02-21T14:46:25Z badkins joined #lisp 2015-02-21T14:47:51Z heurist quit (Ping timeout: 250 seconds) 2015-02-21T14:48:01Z mishoo_ joined #lisp 2015-02-21T14:51:47Z cluck joined #lisp 2015-02-21T14:53:49Z Joreji quit (Read error: Connection reset by peer) 2015-02-21T14:55:22Z sol__ quit (Ping timeout: 240 seconds) 2015-02-21T14:55:59Z mrSpec joined #lisp 2015-02-21T14:58:12Z tkhoa2711 joined #lisp 2015-02-21T15:03:16Z Davidbrcz quit (Ping timeout: 244 seconds) 2015-02-21T15:08:29Z cadadar joined #lisp 2015-02-21T15:09:09Z admg joined #lisp 2015-02-21T15:10:54Z attila_lendvai joined #lisp 2015-02-21T15:10:54Z attila_lendvai quit (Changing host) 2015-02-21T15:10:54Z attila_lendvai joined #lisp 2015-02-21T15:13:12Z ndrei quit (Ping timeout: 252 seconds) 2015-02-21T15:14:31Z protist joined #lisp 2015-02-21T15:15:02Z ndrei joined #lisp 2015-02-21T15:15:14Z heurist joined #lisp 2015-02-21T15:17:02Z Ethan- quit (Ping timeout: 246 seconds) 2015-02-21T15:18:25Z wglb` quit (Ping timeout: 264 seconds) 2015-02-21T15:28:14Z guicho quit (Ping timeout: 246 seconds) 2015-02-21T15:35:11Z LiamH joined #lisp 2015-02-21T15:36:33Z lispyone joined #lisp 2015-02-21T15:36:58Z theseb joined #lisp 2015-02-21T15:38:23Z drmeister: beach: unwind-protect - if it takes two thunks they are closures - correct? 2015-02-21T15:44:09Z OTS quit (Remote host closed the connection) 2015-02-21T15:45:02Z sexy-hunk joined #lisp 2015-02-21T15:52:28Z lispyone quit (Remote host closed the connection) 2015-02-21T15:55:11Z oleo is now known as Guest63006 2015-02-21T15:57:00Z oleo__ joined #lisp 2015-02-21T15:58:12Z Guest63006 quit (Ping timeout: 245 seconds) 2015-02-21T16:00:10Z farhaven joined #lisp 2015-02-21T16:05:39Z theos quit (Ping timeout: 246 seconds) 2015-02-21T16:05:42Z edgar-rft quit (Quit: bye...) 2015-02-21T16:07:42Z hitecnologys: Shinmera: I've probably already asked this but grep doesn't seem to give anything. I'm planning on finally starting integration of your modularize and universal-config into a project of mine and I'm wondering if there's any chance you're going to dump them or supersede them with something newer in observable future? 2015-02-21T16:07:58Z theseb quit (Quit: Leaving) 2015-02-21T16:08:15Z pt1 joined #lisp 2015-02-21T16:08:37Z edgar-rft joined #lisp 2015-02-21T16:08:43Z Shinmera: I don't think so. Universal Config might get some changes or additions once I have a smart idea, but otherwise those are fixed. 2015-02-21T16:09:21Z theseb joined #lisp 2015-02-21T16:09:29Z Shinmera: Universal-Config is rather tightly tied to Colleen and Modularize is tied to Radiance -- both are large projects of mine and I don't intend to rewrite their guts in any forseeable future. 2015-02-21T16:09:29Z hitecnologys: Neat. Thanks. Can I ask you to notify me in case of incompatible changes, if possible? 2015-02-21T16:09:36Z Shinmera: Sure. 2015-02-21T16:09:55Z hitecnologys: Alright then, thanks again. Now back to coding. 2015-02-21T16:10:07Z Shinmera: Enjoy your week-end! 2015-02-21T16:10:15Z hitecnologys: Yeah, you too. 2015-02-21T16:10:53Z theos joined #lisp 2015-02-21T16:11:05Z hitecnologys: Though, I'll probably spend it rewriting half of the current code base. But the project is interesting so it's not like I mind. =P 2015-02-21T16:11:35Z tkhoa2711 quit (Ping timeout: 246 seconds) 2015-02-21T16:12:07Z Longlius quit (Read error: Connection reset by peer) 2015-02-21T16:12:46Z thail joined #lisp 2015-02-21T16:14:06Z theseb left #lisp 2015-02-21T16:14:19Z tkhoa2711 joined #lisp 2015-02-21T16:14:34Z thail: Can anyone offer some insight as to how "Ansi Common Lisp, Paul Graham" and "Common Lisp - A Gentle Introduction.." compare? 2015-02-21T16:15:23Z attila_lendvai quit (Ping timeout: 252 seconds) 2015-02-21T16:15:42Z Shinmera: hitecnologys: The documentation on Modularize and Universal-Config are unfortunately not very... extensive, if one could call it existent at all. If you have questions, let me know. 2015-02-21T16:15:51Z Shinmera: *documentations 2015-02-21T16:17:37Z hitecnologys: Shinmera: sure. Anyway, after RESTAS I'm used to reading code as documentation. Besides, pages hosted on GitHub provide sufficient amount of data to start with. 2015-02-21T16:18:21Z Shinmera: hitecnologys: I'm intending on writing proper documentation for all my projects, but I'm currently caught up in other things. 2015-02-21T16:19:48Z hitecnologys: Shinmera: I see. It would be great if you put links to current one somewhere next to related projects. It took me time to remember there's such thing as GitHub pages and check if they have something interesting there. 2015-02-21T16:19:58Z vdamewood quit (Quit: Computer has gone to sleep.) 2015-02-21T16:20:00Z pjb quit (Ping timeout: 246 seconds) 2015-02-21T16:21:15Z hardenedapple joined #lisp 2015-02-21T16:21:17Z Shinmera: hitecnologys: The GH pages don't contain more than the README and a symbol index 2015-02-21T16:21:33Z Shinmera: But yes, I should link those as well. 2015-02-21T16:22:35Z Pyridrym joined #lisp 2015-02-21T16:22:42Z hitecnologys: Shinmera: well, symbol index can be useful for quick overview and they do contain more examples of usage than README. 2015-02-21T16:22:55Z Shinmera: Right, yeah. 2015-02-21T16:24:04Z pt1 quit (Remote host closed the connection) 2015-02-21T16:24:46Z sexy-hunk quit (Ping timeout: 246 seconds) 2015-02-21T16:25:48Z jlongster joined #lisp 2015-02-21T16:26:38Z Shinmera: Ok, I set the homepage thing on the github repository at least. Though that's not as prominent as I'd like. 2015-02-21T16:27:13Z notty joined #lisp 2015-02-21T16:29:39Z JokesOnYou77 quit (Quit: Ex-Chat) 2015-02-21T16:29:49Z tkhoa2711 quit (Ping timeout: 264 seconds) 2015-02-21T16:30:12Z jlongster quit (Ping timeout: 252 seconds) 2015-02-21T16:31:33Z pjb joined #lisp 2015-02-21T16:32:38Z tkhoa2711 joined #lisp 2015-02-21T16:33:22Z zeitue quit (Ping timeout: 240 seconds) 2015-02-21T16:35:48Z emaczen joined #lisp 2015-02-21T16:36:14Z emaczen: if I am looping over a variable i, with the 'until clause' as the 2015-02-21T16:36:14Z emaczen: termination condition, how can I return i from loop when the loop ends? 2015-02-21T16:36:29Z emaczen: I have: (loop for i = init then (decf i) until (condition ...) do (... stuff ...) return i) 2015-02-21T16:36:36Z Shinmera: finally (return i) 2015-02-21T16:36:36Z emaczen: but that doesn't work 2015-02-21T16:36:43Z paroneayea quit (Read error: Connection reset by peer) 2015-02-21T16:36:52Z tkhoa2711 quit (Ping timeout: 240 seconds) 2015-02-21T16:37:06Z paroneayea joined #lisp 2015-02-21T16:37:16Z emaczen: Shinmera: Thanks, i'll try it out 2015-02-21T16:37:46Z Shinmera: Please read http://www.gigamonkeys.com/book/loop-for-black-belts.html 2015-02-21T16:37:50Z Shinmera: it explains this and more. 2015-02-21T16:38:15Z tkhoa2711 joined #lisp 2015-02-21T16:42:51Z void_AT joined #lisp 2015-02-21T16:42:51Z jlongster joined #lisp 2015-02-21T16:47:33Z zeitue joined #lisp 2015-02-21T16:48:53Z edgar-rft quit (Quit: bye...) 2015-02-21T16:49:33Z edgar-rft joined #lisp 2015-02-21T16:50:39Z tkhoa2711 quit (Ping timeout: 245 seconds) 2015-02-21T16:52:41Z arpunk quit (Remote host closed the connection) 2015-02-21T16:52:58Z hitecnologys quit (Quit: hitecnologys) 2015-02-21T16:53:21Z hitecnologys joined #lisp 2015-02-21T16:54:08Z tkhoa2711 joined #lisp 2015-02-21T16:54:42Z tkhoa2711 quit (Client Quit) 2015-02-21T16:54:49Z Kanae quit (Read error: Connection reset by peer) 2015-02-21T16:55:09Z Davidbrcz joined #lisp 2015-02-21T17:00:37Z beach: drmeister: Correct. 2015-02-21T17:00:44Z ejbs joined #lisp 2015-02-21T17:01:09Z qubitnerd quit (Quit: WeeChat 1.1.1) 2015-02-21T17:01:41Z vdamewood joined #lisp 2015-02-21T17:06:44Z BitPuffin joined #lisp 2015-02-21T17:10:04Z bb010g quit (Quit: Connection closed for inactivity) 2015-02-21T17:12:56Z hardenedapple quit (Quit: WeeChat 1.1.1) 2015-02-21T17:15:05Z edgar-rft quit (Quit: bye...) 2015-02-21T17:15:39Z edgar-rft joined #lisp 2015-02-21T17:25:01Z pt1 joined #lisp 2015-02-21T17:26:38Z edgar-rft quit (Quit: bye...) 2015-02-21T17:27:46Z karswell joined #lisp 2015-02-21T17:27:47Z edgar-rft joined #lisp 2015-02-21T17:36:48Z Petit_Dejeuner_ quit (Quit: My legs are OK) 2015-02-21T17:38:46Z pt1 quit (Remote host closed the connection) 2015-02-21T17:41:17Z edgar-rft quit (Quit: bye...) 2015-02-21T17:42:29Z liqu0rice joined #lisp 2015-02-21T17:43:07Z edgar-rft joined #lisp 2015-02-21T17:44:58Z Petit_Dejeuner_ joined #lisp 2015-02-21T17:45:19Z protist quit (Quit: Konversation terminated!) 2015-02-21T17:46:20Z samebchase: 2 2015-02-21T17:48:04Z void_AT quit (Ping timeout: 246 seconds) 2015-02-21T17:49:36Z drmeister: I'm thinking of doing unwind-protect the hard way. By creating an "invoke" hir instruction and landing pads. I know how to do it so why not? 2015-02-21T17:51:01Z Shinmera: Why not would be: potentially avoiding further headaches in the future, I'm guessing. 2015-02-21T17:51:05Z drmeister: I appreciate the simplicity of two functions but my motivation for using Cleavir is to move bindings out of closures onto the stack. 2015-02-21T17:52:15Z drmeister: It's more natural to use invoke with llvm. 2015-02-21T17:52:16Z nyef: drmeister: Why not move DX closures onto the stack, instead? 2015-02-21T17:52:44Z nyef: Okay, "more natural" fit to your target infrastructure would be a reason, yes. 2015-02-21T17:53:07Z drmeister: I'll think on this more - I have several hours before I can start coding again. 2015-02-21T17:53:23Z nyef: I tore out a good chunk of code in SBCL/Win32 back in the day in favor of using RtlUnwind, so I know how that can go. 2015-02-21T17:53:29Z drmeister: What are dx closures? 2015-02-21T17:54:01Z nyef: Where you declare the function to be dynamic-extent. 2015-02-21T17:54:38Z nyef: Thus, the function object and its value cells have the opportunity to be stack-allocated. 2015-02-21T17:54:56Z nyef: (There are reasons why they might not be, but it's a start.) 2015-02-21T17:55:01Z drmeister: It's hard to determine what goes into dx closures isn't it? I thought they were left up to the programmer 2015-02-21T17:55:55Z ThePhoeron quit (Remote host closed the connection) 2015-02-21T17:55:56Z nyef: There's some tricky analysis, yes, and SBCL doesn't yet (IIRC) automatically DX closures when the compiler could in theory know that they won't escape. 2015-02-21T17:56:14Z nyef: But you can (declare (dynamic-extent #'some-local-function)) as a bound declaration. 2015-02-21T17:57:59Z drmeister: The dx closure idea is an interesting one. I'll ask beach about it. 2015-02-21T18:00:03Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-02-21T18:00:22Z EvW joined #lisp 2015-02-21T18:00:30Z drmeister: But you know. I have to implement an invoke hir instruction anyway. Once I do I can decide to put the entire protected form into a function or leave it open-coded in the current function. 2015-02-21T18:01:54Z drmeister: Open coded is the harder way because I have to deal with nested unwind-protects. No biggie though - I already do this in my current compiler. 2015-02-21T18:01:54Z wglb joined #lisp 2015-02-21T18:07:57Z Pastaf_ joined #lisp 2015-02-21T18:08:55Z Pastaf quit (Quit: Leaving) 2015-02-21T18:09:01Z Pastaf_ is now known as Pastaf 2015-02-21T18:09:51Z beach left #lisp 2015-02-21T18:17:49Z lifenoodles quit (Ping timeout: 264 seconds) 2015-02-21T18:18:11Z pjb: - 2015-02-21T18:18:41Z zadock joined #lisp 2015-02-21T18:19:34Z lifenoodles joined #lisp 2015-02-21T18:24:48Z csziacobus joined #lisp 2015-02-21T18:28:23Z lifenoodles quit (Ping timeout: 244 seconds) 2015-02-21T18:28:26Z foom quit (Ping timeout: 265 seconds) 2015-02-21T18:30:23Z hiroakip joined #lisp 2015-02-21T18:30:35Z lifenoodles joined #lisp 2015-02-21T18:32:06Z nikki93 joined #lisp 2015-02-21T18:33:04Z edgar-rft quit (Quit: bye...) 2015-02-21T18:33:38Z Longlius joined #lisp 2015-02-21T18:34:06Z nikki93 quit (Remote host closed the connection) 2015-02-21T18:34:55Z edgar-rft joined #lisp 2015-02-21T18:35:41Z lifenoodles quit (Ping timeout: 265 seconds) 2015-02-21T18:36:25Z gravicappa quit (Ping timeout: 264 seconds) 2015-02-21T18:36:36Z lifenoodles joined #lisp 2015-02-21T18:36:46Z sambio joined #lisp 2015-02-21T18:36:48Z sambio quit (Client Quit) 2015-02-21T18:40:06Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-02-21T18:40:31Z enitiz quit (Ping timeout: 265 seconds) 2015-02-21T18:40:59Z foom joined #lisp 2015-02-21T18:43:22Z lifenoodles quit (Ping timeout: 244 seconds) 2015-02-21T18:45:06Z lifenoodles joined #lisp 2015-02-21T18:47:34Z enitiz joined #lisp 2015-02-21T18:48:23Z enitiz quit (Read error: Connection reset by peer) 2015-02-21T18:50:31Z ejbs quit (Ping timeout: 255 seconds) 2015-02-21T18:52:33Z kobain joined #lisp 2015-02-21T18:56:04Z lifenoodles quit (Ping timeout: 245 seconds) 2015-02-21T18:56:08Z pt1 joined #lisp 2015-02-21T18:57:37Z lifenoodles joined #lisp 2015-02-21T18:58:54Z ehu joined #lisp 2015-02-21T19:02:25Z ehu quit (Read error: Connection reset by peer) 2015-02-21T19:05:01Z ehu joined #lisp 2015-02-21T19:06:42Z ehu quit (Client Quit) 2015-02-21T19:08:14Z edgar-rft quit (Quit: bye...) 2015-02-21T19:10:26Z edgar-rft joined #lisp 2015-02-21T19:10:46Z zadock quit (Ping timeout: 255 seconds) 2015-02-21T19:11:56Z ggole quit 2015-02-21T19:12:53Z burtons quit (Remote host closed the connection) 2015-02-21T19:13:38Z zeitue quit (Ping timeout: 264 seconds) 2015-02-21T19:16:25Z pt1 quit (Remote host closed the connection) 2015-02-21T19:16:57Z hiroakip quit (Ping timeout: 244 seconds) 2015-02-21T19:23:07Z akkad quit (Ping timeout: 252 seconds) 2015-02-21T19:24:06Z Intensity quit (Ping timeout: 246 seconds) 2015-02-21T19:24:47Z psy_ quit (Ping timeout: 246 seconds) 2015-02-21T19:26:14Z psy_ joined #lisp 2015-02-21T19:26:14Z zeitue joined #lisp 2015-02-21T19:30:52Z akkad joined #lisp 2015-02-21T19:34:10Z lispyone joined #lisp 2015-02-21T19:34:46Z Intensity joined #lisp 2015-02-21T19:35:21Z cross quit (Ping timeout: 272 seconds) 2015-02-21T19:35:52Z cross joined #lisp 2015-02-21T19:36:27Z EvW quit (Ping timeout: 250 seconds) 2015-02-21T19:37:04Z acetoline joined #lisp 2015-02-21T19:41:15Z oleo__ quit (Quit: Verlassend) 2015-02-21T19:41:35Z Intensity quit (Ping timeout: 246 seconds) 2015-02-21T19:42:47Z cross quit (Ping timeout: 256 seconds) 2015-02-21T19:44:45Z cross joined #lisp 2015-02-21T19:46:37Z jlongster quit (Ping timeout: 264 seconds) 2015-02-21T19:48:34Z lifenoodles quit (Ping timeout: 252 seconds) 2015-02-21T19:49:12Z EvW joined #lisp 2015-02-21T19:49:27Z sdemarre quit (Ping timeout: 245 seconds) 2015-02-21T19:49:42Z oleo joined #lisp 2015-02-21T19:49:43Z lifenoodles joined #lisp 2015-02-21T19:50:42Z jjkola: do I need to do something special with cffi if I have a foreign parameter which is a pointer to an array of pointers (it has three *) which is updated on return 2015-02-21T19:51:03Z jjkola: the return value contains the size of the array 2015-02-21T19:54:27Z jjkola: I'm trying to update cl-libusb to use the libusb 1.0 but the API seems to have changed quite much 2015-02-21T19:57:13Z nyef: Heh. Make me glad I bound directly to the kernel API, why don't you? d-: 2015-02-21T19:58:01Z mrSpec quit (Ping timeout: 264 seconds) 2015-02-21T19:58:43Z jjkola: well, it would be nice to be able to use same code cross-platform 2015-02-21T20:01:10Z zacharias quit (Ping timeout: 255 seconds) 2015-02-21T20:09:02Z thail quit (Remote host closed the connection) 2015-02-21T20:09:40Z pjb: jjkola: if you want to use the same code cross-platform, it may be nice to have a simple C API. 2015-02-21T20:10:13Z mrSpec joined #lisp 2015-02-21T20:10:24Z pjb: If you avoid C macros and complex C datatypes (and pointers), in your C API, then it becomes trivial to make a FFI for it, working with all the other languages. 2015-02-21T20:10:47Z pjb: jjkola: of course, you can also implement pointer chasing in CL using CFFI. Have fun. 2015-02-21T20:10:54Z Davidbrcz quit (Ping timeout: 265 seconds) 2015-02-21T20:13:48Z liqu0rice quit (Quit: leaving) 2015-02-21T20:14:08Z jjkola: well, I think I got the gist of it from the cffi manual, only thing I need to find out is how to handle the updated parameter 2015-02-21T20:15:55Z c74d is now known as Guest12652 2015-02-21T20:16:00Z acetoline: anyone here used Typed Racket? 2015-02-21T20:16:17Z pjb: acetoline: no. We use Common Lisp here, not scheme. Try #scheme or #racket. 2015-02-21T20:16:24Z ehu joined #lisp 2015-02-21T20:16:26Z Guest12652 quit (Ping timeout: 252 seconds) 2015-02-21T20:16:55Z nyef: ... Would "Typed Racket" be some sort of ASCII-art sports equipment? 2015-02-21T20:17:22Z pjb: tapée raquette. :-) 2015-02-21T20:17:29Z ktt9 joined #lisp 2015-02-21T20:17:43Z c74d joined #lisp 2015-02-21T20:18:23Z jjkola: does cffi support returning values through parameters? 2015-02-21T20:19:15Z defaultxr joined #lisp 2015-02-21T20:20:25Z pjb: No. This doesn't exist in lisp. 2015-02-21T20:20:40Z pjb: But you can pass as parameter a pointer to some memory that will be modified. 2015-02-21T20:20:53Z pjb: output parameters are returned as mutliple values. 2015-02-21T20:21:06Z acetoline left #lisp 2015-02-21T20:22:33Z Patzy quit (Ping timeout: 250 seconds) 2015-02-21T20:23:21Z jjkola: ok, thanks 2015-02-21T20:23:23Z Patzy joined #lisp 2015-02-21T20:23:54Z alecigne joined #lisp 2015-02-21T20:25:49Z ktt9: hello. what unit testing framework is considered mainstream nowdays? 2015-02-21T20:26:15Z Shinmera: None. 2015-02-21T20:28:43Z ktt9: ugh. thanks 2015-02-21T20:29:15Z jlongster joined #lisp 2015-02-21T20:29:15Z jlongster quit (Remote host closed the connection) 2015-02-21T20:30:27Z csziacobus: ktt9: fiveam is supposed to be pretty good 2015-02-21T20:31:28Z pjb: It doesn't work for everything. 2015-02-21T20:37:47Z isis_ joined #lisp 2015-02-21T20:38:27Z isis_ is now known as therik 2015-02-21T20:38:47Z csziacobus: pjb: right, but nothing works for *everything* ;) 2015-02-21T20:40:04Z ktt9: csziacobus: thanks! 2015-02-21T20:41:07Z Petit_Dejeuner_: ktt9, This is a good breakdown. http://aperiodic.net/phil/archives/Geekery/notes-on-lisp-testing-frameworks.html 2015-02-21T20:41:25Z ktt9: Petit_Dejeuner_: oh, thank you. even better! 2015-02-21T20:41:46Z Shinmera: There are a bunch of new frameworks since then though. 2015-02-21T20:41:47Z ktt9: but. isn't it a bit outdated? 2015-02-21T20:42:31Z pjb: No. Time works differently in #lisp. 2015-02-21T20:42:34Z Petit_Dejeuner_: It might be. It's what I used. 2015-02-21T20:42:40Z ktt9: I've just started to teach myself some testing techniques, and was wondering, what framework should I choose. 2015-02-21T20:43:25Z pjb: We've got Asgard technology. 2015-02-21T20:44:30Z ktt9: sounds cool :> 2015-02-21T20:54:46Z xrash joined #lisp 2015-02-21T20:58:35Z zacharias joined #lisp 2015-02-21T21:00:58Z gko__ quit (Quit: Connection closed for inactivity) 2015-02-21T21:01:50Z xan_ quit (Quit: Lost terminal) 2015-02-21T21:03:22Z ehu quit (Ping timeout: 252 seconds) 2015-02-21T21:04:34Z faheem_: The immortal Eric Naggum: 2015-02-21T21:04:40Z faheem_: > A lot of people come to this newsgroup and do nothing but 2015-02-21T21:04:41Z faheem_: > complain about Lisp. I think maybe they are such heavy 2015-02-21T21:04:41Z faheem_: > complainers that they think they read comp.lain.lisp. 2015-02-21T21:04:49Z faheem_: That's really a good one. 2015-02-21T21:06:45Z paroneayea quit (Read error: Connection reset by peer) 2015-02-21T21:06:54Z paroneayea joined #lisp 2015-02-21T21:07:38Z mishoo_ quit (Ping timeout: 264 seconds) 2015-02-21T21:10:27Z Kanae joined #lisp 2015-02-21T21:18:59Z Bicyclidine joined #lisp 2015-02-21T21:20:33Z monod joined #lisp 2015-02-21T21:25:49Z zeitue quit (Ping timeout: 265 seconds) 2015-02-21T21:27:22Z jtza8 quit (Remote host closed the connection) 2015-02-21T21:32:28Z edgar-rft quit (Quit: bye...) 2015-02-21T21:34:01Z edgar-rft joined #lisp 2015-02-21T21:38:45Z zeitue joined #lisp 2015-02-21T21:40:32Z edgar-rft quit (Quit: bye...) 2015-02-21T21:42:21Z edgar-rft joined #lisp 2015-02-21T21:43:07Z j0nii joined #lisp 2015-02-21T21:43:43Z j0nii quit (Client Quit) 2015-02-21T21:44:55Z edgar-rft quit (Client Quit) 2015-02-21T21:45:38Z pt1 joined #lisp 2015-02-21T21:46:52Z edgar-rft joined #lisp 2015-02-21T21:48:42Z pt1 quit (Remote host closed the connection) 2015-02-21T21:49:16Z resttime joined #lisp 2015-02-21T21:49:17Z puchacz: hi, how does levenshtein from this file return a value please? https://github.com/mrkkrp/mk-string-metrics/blob/master/mk-string-metrics.lisp 2015-02-21T21:49:43Z puchacz: last expression is rotatef and according to clhs it returns nil 2015-02-21T21:50:10Z |3b|: clhs dotimes 2015-02-21T21:50:10Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_dotime.htm 2015-02-21T21:50:39Z puchacz: ah, right. thanks, |3b| 2015-02-21T21:51:01Z Beetny joined #lisp 2015-02-21T21:54:29Z angavrilov quit (Remote host closed the connection) 2015-02-21T21:55:02Z edgar-rft quit (Quit: bye...) 2015-02-21T21:55:49Z edgar-rft joined #lisp 2015-02-21T21:59:58Z kobain quit (Ping timeout: 255 seconds) 2015-02-21T22:02:44Z Longlius quit (Ping timeout: 245 seconds) 2015-02-21T22:04:49Z xaving joined #lisp 2015-02-21T22:05:32Z xaving: is there a way to compile iterate or get an older version? 2015-02-21T22:06:08Z ghard quit (Quit: Leaving) 2015-02-21T22:12:27Z kobain joined #lisp 2015-02-21T22:13:35Z lispyone quit (Remote host closed the connection) 2015-02-21T22:14:46Z kobain quit (Max SendQ exceeded) 2015-02-21T22:15:38Z kobain joined #lisp 2015-02-21T22:19:37Z karswell quit (Ping timeout: 264 seconds) 2015-02-21T22:21:48Z nikki93 joined #lisp 2015-02-21T22:24:02Z monod quit (Quit: Sto andando via) 2015-02-21T22:26:36Z nikki93 quit (Remote host closed the connection) 2015-02-21T22:26:52Z Xach: xaving: re gsll issue? 2015-02-21T22:26:59Z Xach: xaving: what do you get from (ql:where-is-system "iterate")? 2015-02-21T22:27:50Z xaving: i get .../quicklisp/dists/quicklisp/software/iterate-20140211-darcs/ 2015-02-21T22:28:03Z xaving: yes it is gsll issue 2015-02-21T22:28:35Z Xach: xaving: how about (ql:where-is-system "gsll")? 2015-02-21T22:29:57Z xaving: nice command, i get .../quicklisp/dists/quicklisp/software/gsll-20140211-git/ 2015-02-21T22:31:43Z isis_ joined #lisp 2015-02-21T22:31:44Z therik quit (Read error: Connection reset by peer) 2015-02-21T22:31:47Z Xach: xaving: hmm, normally that would work ok together. but you are a little out of date. (ql:update-dist "quicklisp") might get new versions that work better. 2015-02-21T22:31:59Z Xach: xaving: what version of sbcl are you using? (lisp-implementation-version) will tell you. 2015-02-21T22:32:07Z Patzy quit (Ping timeout: 250 seconds) 2015-02-21T22:32:30Z xaving: last one 1.2.8 2015-02-21T22:32:46Z Patzy joined #lisp 2015-02-21T22:34:05Z Xach: i would try (ql:update-dist "quicklisp") and then try to reload gsll and see if it helps 2015-02-21T22:35:35Z xaving: ohhh, it's work perfect, many thanks 2015-02-21T22:35:49Z Xach: yay! 2015-02-21T22:36:34Z mrSpec quit (Quit: mrSpec) 2015-02-21T22:40:11Z isis_ quit (Ping timeout: 250 seconds) 2015-02-21T22:41:00Z johann joined #lisp 2015-02-21T22:42:18Z Pastaf quit (Read error: Connection timed out) 2015-02-21T22:44:10Z Alfr quit (Quit: Leaving) 2015-02-21T22:44:42Z Pastaf joined #lisp 2015-02-21T22:45:31Z Davidbrcz joined #lisp 2015-02-21T22:46:04Z johann quit (Ping timeout: 245 seconds) 2015-02-21T22:47:04Z eudoxia joined #lisp 2015-02-21T22:48:54Z Longlius joined #lisp 2015-02-21T22:49:40Z xaving quit (Quit: Page closed) 2015-02-21T22:49:46Z puchacz quit (Quit: Konversation terminated!) 2015-02-21T22:50:02Z lispyone joined #lisp 2015-02-21T22:54:50Z oleo quit (Read error: Connection reset by peer) 2015-02-21T22:57:57Z manuel__ joined #lisp 2015-02-21T22:59:52Z bgs100 joined #lisp 2015-02-21T23:00:20Z lispyone quit (Remote host closed the connection) 2015-02-21T23:01:21Z oleo joined #lisp 2015-02-21T23:03:35Z xificurC quit (Ping timeout: 246 seconds) 2015-02-21T23:04:50Z scymtym quit (Remote host closed the connection) 2015-02-21T23:06:13Z emaczen quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-02-21T23:08:27Z kcj joined #lisp 2015-02-21T23:09:10Z Karl_Dscc quit (Remote host closed the connection) 2015-02-21T23:10:51Z eudoxia_ joined #lisp 2015-02-21T23:11:20Z enitiz joined #lisp 2015-02-21T23:14:09Z eudoxia quit (Ping timeout: 250 seconds) 2015-02-21T23:15:18Z jjkola quit (Quit: Leaving) 2015-02-21T23:15:26Z kuzy000_ quit (Ping timeout: 264 seconds) 2015-02-21T23:15:26Z johann joined #lisp 2015-02-21T23:16:14Z alecigne left #lisp 2015-02-21T23:18:40Z notty quit (Ping timeout: 252 seconds) 2015-02-21T23:19:40Z notty joined #lisp 2015-02-21T23:20:31Z johann quit (Ping timeout: 255 seconds) 2015-02-21T23:23:05Z stepnem quit (Ping timeout: 250 seconds) 2015-02-21T23:23:57Z EvW quit (Ping timeout: 250 seconds) 2015-02-21T23:29:48Z Pastaf quit (Read error: Connection timed out) 2015-02-21T23:31:07Z Patzy quit (Ping timeout: 245 seconds) 2015-02-21T23:31:08Z Pastaf joined #lisp 2015-02-21T23:31:51Z Patzy joined #lisp 2015-02-21T23:32:00Z nikki93 joined #lisp 2015-02-21T23:33:11Z gingerale quit (Ping timeout: 252 seconds) 2015-02-21T23:36:02Z pt1 joined #lisp 2015-02-21T23:43:01Z Davidbrcz quit (Ping timeout: 255 seconds) 2015-02-21T23:44:59Z nikki93 quit (Remote host closed the connection) 2015-02-21T23:45:24Z Mon_Ouie joined #lisp 2015-02-21T23:45:24Z Mon_Ouie quit (Changing host) 2015-02-21T23:45:24Z Mon_Ouie joined #lisp 2015-02-21T23:47:54Z lispyone joined #lisp 2015-02-21T23:50:50Z BitPuffin quit (Ping timeout: 246 seconds) 2015-02-21T23:57:18Z lispyone quit (Remote host closed the connection) 2015-02-21T23:57:42Z rszeno joined #lisp 2015-02-21T23:58:15Z a20150101 joined #lisp