00:05:21 drwho [~drwho@c-68-80-157-110.hsd1.nj.comcast.net] has joined #lisp 00:06:46 -!- drwho [~drwho@c-68-80-157-110.hsd1.nj.comcast.net] has quit [Client Quit] 00:07:06 drwho [~drwho@c-68-80-157-110.hsd1.nj.comcast.net] has joined #lisp 00:07:13 -!- benny [~benny@i577A159D.versanet.de] has quit [Ping timeout: 258 seconds] 00:15:17 -!- Joreji [~thomas@vpn-eu2.unidsl.de] has quit [Ping timeout: 252 seconds] 00:24:44 Kron_ [~Kron@69.166.20.172] has joined #lisp 00:37:43 sonnym [~sonny@rrcs-184-74-137-69.nys.biz.rr.com] has joined #lisp 00:41:05 jleija [~jleija@50.8.10.126] has joined #lisp 00:44:20 jast__ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has joined #lisp 00:44:20 -!- jast_ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has quit [Read error: Connection reset by peer] 00:44:21 -!- jast__ is now known as jast_ 00:44:44 jast_: very exciting. 00:52:48 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 00:57:07 -!- SegFaultAX|work [~mkbernard@173.228.45.162] has quit [Remote host closed the connection] 00:58:18 -!- homie` [~levgue@xdsl-78-35-129-49.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:58:22 -!- wbooze` [~levgue@xdsl-78-35-129-49.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:59:28 z1l0g [~jgw@216.99.214.24] has joined #lisp 01:01:37 Xach: lol 01:01:39 -!- dnolen [~davidnole@cpe-98-14-92-234.nyc.res.rr.com] has quit [Quit: dnolen] 01:01:52 -!- xjrn [~chatzilla@c-76-21-48-114.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 01:05:58 -!- dmiles_afk [~dmiles@dsl-173-239-80-026.cascadeaccess.com] has quit [Read error: Connection reset by peer] 01:06:36 wildnux [~wildnux@68-191-210-76.dhcp.dntn.tx.charter.com] has joined #lisp 01:07:20 -!- pjb- [~t@81.202.16.46.dyn.user.ono.com] has quit [Ping timeout: 260 seconds] 01:08:10 -!- tritchey [~tritchey@108.60.121.114] has quit [Quit: tritchey] 01:10:21 xjrn [~chatzilla@c-76-21-48-114.hsd1.ca.comcast.net] has joined #lisp 01:10:40 dmiles_afk [~dmiles@dsl-173-239-80-026.cascadeaccess.com] has joined #lisp 01:10:45 -!- dmiles_afk [~dmiles@dsl-173-239-80-026.cascadeaccess.com] has quit [Excess Flood] 01:11:21 dmiles_afk [~dmiles@dsl-173-239-80-026.cascadeaccess.com] has joined #lisp 01:11:26 -!- dmiles_afk [~dmiles@dsl-173-239-80-026.cascadeaccess.com] has quit [Excess Flood] 01:12:04 dmiles_afk [~dmiles@dsl-173-239-80-026.cascadeaccess.com] has joined #lisp 01:12:22 -!- coyo [kvirc@unaffiliated/bandu] has quit [Quit: I need my meds... >.<] 01:13:28 -!- _mathrick [~mathrick@83.1.168.198] has quit [Ping timeout: 256 seconds] 01:17:20 Bike [~Glossina@71-214-101-79.ptld.qwest.net] has joined #lisp 01:18:24 -!- zenlunatic [~justin@c-68-48-40-231.hsd1.md.comcast.net] has quit [Ping timeout: 240 seconds] 01:19:44 -!- Houl [~Miranda@unaffiliated/houl] has quit [Quit: weil das Wetter so schön ist] 01:23:59 -!- marsell [~marsell@120.20.149.35] has quit [Ping timeout: 260 seconds] 01:24:58 antonv [5d7d31fe@gateway/web/freenode/ip.93.125.49.254] has joined #lisp 01:28:04 -!- Soulman [~knute@175.80-202-238.nextgentel.com] has left #lisp 01:30:22 -!- jast_ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has quit [Read error: Connection reset by peer] 01:38:08 physadair [~physadair@140-113-125-147.Dorm-GD1.NCTU.edu.tw] has joined #lisp 01:38:30 -!- physadair [~physadair@140-113-125-147.Dorm-GD1.NCTU.edu.tw] has quit [Client Quit] 01:40:19 xyxu [~xyxu@222.68.152.55] has joined #lisp 01:42:35 -!- lnostdal_ [~lnostdal@ti0030a380-dhcp3702.bb.online.no] has quit [Quit: sleep] 01:46:19 -!- xyxu [~xyxu@222.68.152.55] has quit [Ping timeout: 258 seconds] 01:48:34 jaminja [~jaminja@76.76.24.43] has joined #lisp 01:48:34 -!- jaminja [~jaminja@76.76.24.43] has quit [Changing host] 01:48:34 jaminja [~jaminja@unaffiliated/jaminja] has joined #lisp 01:53:21 jast__ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has joined #lisp 01:54:41 prxq_ [~mommer@mnhm-590c1a8c.pool.mediaWays.net] has joined #lisp 01:56:03 -!- kennyd [~kennyd@78-1-163-114.adsl.net.t-com.hr] has quit [Ping timeout: 260 seconds] 01:57:35 -!- prxq [~mommer@mnhm-590c0af9.pool.mediaWays.net] has quit [Ping timeout: 248 seconds] 02:00:50 kennyd [~kennyd@93-138-3-129.adsl.net.t-com.hr] has joined #lisp 02:05:00 zenlunatic [~justin@c-68-48-40-231.hsd1.md.comcast.net] has joined #lisp 02:08:50 xyxu [~xyxu@222.68.160.93] has joined #lisp 02:11:28 -!- jast__ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has quit [Read error: Connection reset by peer] 02:11:31 -!- madnificent [~madnifice@83.101.62.132] has quit [Ping timeout: 252 seconds] 02:12:27 -!- _schulte_ [~eschulte@c-174-56-1-147.hsd1.nm.comcast.net] has quit [Quit: leaving] 02:13:12 -!- rme [rme@B335DC6A.78A1BA07.699BA7A6.IP] has quit [Quit: rme] 02:13:12 -!- rme [~rme@50.43.148.59] has quit [Quit: rme] 02:14:40 jast__ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has joined #lisp 02:14:53 cfy [~cfy@122.228.131.84] has joined #lisp 02:14:53 -!- cfy [~cfy@122.228.131.84] has quit [Changing host] 02:14:53 cfy [~cfy@unaffiliated/chenfengyuan] has joined #lisp 02:14:53 -!- gaidal [~gaidal@59.42.115.53] has quit [Read error: Connection reset by peer] 02:15:31 gaidal [~gaidal@59.42.115.53] has joined #lisp 02:19:09 -!- jast__ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has quit [Ping timeout: 255 seconds] 02:19:41 Xach: What about *d-p-d* bugs? 02:21:28 derekv [~derekv@c-68-62-78-203.hsd1.mi.comcast.net] has joined #lisp 02:21:59 -!- djanatyn is now known as djan|sipna 02:23:23 -!- jaminja [~jaminja@unaffiliated/jaminja] has quit [Ping timeout: 260 seconds] 02:29:58 -!- Yuuhi [benni@p54839A56.dip.t-dialin.net] has quit [Read error: Operation timed out] 02:31:56 bad-egg [~chatzilla@115.170.173.90] has joined #lisp 02:35:04 Yuuhi [benni@p5483DE36.dip.t-dialin.net] has joined #lisp 02:35:09 -!- rainyrhy_away is now known as rainyrhy 02:37:57 rtoym: I suspect Xach may have been referring to SBCL bug 882877 02:46:11 bad-egg_ [~chatzilla@1.203.180.227] has joined #lisp 02:46:57 passionke1 [~Administr@122.233.3.119] has joined #lisp 02:47:43 -!- Riviera [~Riviera@gateway/tor-sasl/riviera] has quit [Ping timeout: 248 seconds] 02:48:32 -!- bad-egg [~chatzilla@115.170.173.90] has quit [Ping timeout: 276 seconds] 02:48:36 -!- bad-egg_ is now known as bad-egg 02:49:06 pinterface: Thanks. But it must be something else because delete-file returns T and /tmp/test-file is gone. 02:49:58 -!- passionke [~Administr@60.176.46.249] has quit [Ping timeout: 245 seconds] 02:49:59 Ah well. So much for my psychic reputation. 02:51:06 rtoym: os/version ? 02:51:29 *|3b|* read it as some past cmucl bug looks less important compared to that delete bug in sbcl 02:51:44 <|3b|> not that there is a current cmucl bug 02:51:45 akovalenko: cmucl. 02:52:32 I don't have any context about it other than Xach saying something about teasing me about *d-p-d* bugs. 02:52:35 rtoym: cmucl doesn't have this one 02:54:06 Oh, ok. I guess that's good. Somewhat surprising, but nice to know. :-) 02:54:57 jackrabbit [~jackrabbi@c-98-206-52-111.hsd1.il.comcast.net] has joined #lisp 02:55:48 -!- jackrabbit is now known as jack_rabbit 02:56:57 I'm trying to evaluate a list passed to a function as a function call, but can't seem to get it to compile. The compiler gives me "illegal function call" 02:57:24 Show us the code. 02:57:33 <|3b|> (apply (car list) (cdr list)) ? 02:57:36 cesarbp [~cbolano@189.227.234.136] has joined #lisp 02:57:47 -!- frozencemetery [~frozencem@INDIUM.CLUB.CC.CMU.EDU] has quit [Read error: Connection reset by peer] 02:59:09 <|3b|> (doesn't evaluate args though, so depends on what you are trying to do, more context and/or code needed) 02:59:10 I have a recursive function called evalAlg 02:59:17 so here's what i'm doing: 02:59:26 this is within a cond 02:59:31 <|3b|> don't paste here, use lisppaste or similar 02:59:34 Use lisp paste. 02:59:46 whats that? 02:59:47 http://paste.lisp.org/new 02:59:49 -!- gaidal [~gaidal@59.42.115.53] has quit [Read error: Connection reset by peer] 02:59:53 awesome. hang on 03:00:10 gaidal [~gaidal@59.42.115.53] has joined #lisp 03:00:11 Didn't that link used to be in the topic? 03:00:57 -!- gffa [~gffa@unaffiliated/gffa] has quit [Quit: sleep] 03:01:10 http://paste.lisp.org/display/125569 03:01:14 rtoym: it is, but reading long topic is more advanced skill than not reinventing eval 03:01:16 el-maxo_ [~max@p5DE8F0E0.dip.t-dialin.net] has joined #lisp 03:01:18 frozencemetery [~frozencem@INDIUM.CLUB.CC.CMU.EDU] has joined #lisp 03:01:41 Heh. 03:01:48 It's the (t that I'm looking at 03:02:14 <|3b|> indentation/formatting is a bit hard to read :/ 03:02:28 sorry. I'm still trying to find a format that works well for me. 03:02:37 Used to C - styles 03:02:47 <|3b|> use the lisp style :) 03:02:58 jack_rabbit: (nth 1 ...) === (SECOND ...), not (FIRST ...);; if I'm right and you're writing infix expression interpreter 03:03:15 You are correct. 03:03:26 i was not aware there was a "SECOND" macro. 03:03:33 jack_rabbit: (rest (rest ..)) is wrong 03:03:43 What is the solution to that? 03:04:30 (nth 3 L) ? 03:04:31 jack_rabbit: (rest ...) is a tail (i.e. a list), (rest (rest ..)) is a further tail (i.e. again a list).. is it what you want? 03:04:47 -!- el-maxo [~max@p5DE8F58F.dip.t-dialin.net] has quit [Ping timeout: 248 seconds] 03:04:54 Yeah. I'm interpreting the second item in the list [1] as the operator 03:05:09 then the first item and the remainder are evaluated recursively 03:05:11 jack_rabbit: is second _operand_ a list? 03:05:19 <|3b|> you might want to check for (cdr L) = nil rather than list length = 1, and don't use EQ on numbers 03:05:55 I was doing that because (rest (rest L)) was returning a list inside a list. 03:06:10 also, the second operand as it is now cannot be a list. 03:06:27 hmm, you compensate for (rest rest) with (list-length L)... 03:06:42 akovalenko: I may try to implement a solution for that later, but as it is now, there is no implicit multiplication. 03:06:55 btw, list-length is not what you normally use; length is faster 03:07:14 Weird. This tutorial I followed gave me list-length. 03:07:24 What is the difference between the two? 03:07:34 <|3b|> are you using CL or elisp? 03:07:42 sbcl 03:07:47 <|3b|> ok, so CL 03:07:48 with slime and emacs. 03:07:53 http://l1sp.org/cl/list-length <- compare -> http://l1sp.org/cl/length 03:07:57 *|3b|* wasn't sure since it was set to syntax highlight as elisp 03:07:59 sweet 03:08:39 I selected emacs. Like I said, I'm very new to this, so I haven't familiarized myself with the nomenclature yet. 03:08:46 <|3b|> list-length checks for circular lists, you don't need either in this case though since you only care if length is > 1 or not, not what it actually is 03:09:04 Are the bots permanently gone now? 03:09:22 <|3b|> i think they just tend to get stuck and need someone to wake them up :/ 03:10:01 |3b| I see that. Interesting. 03:10:10 <|3b|> jack_rabbit: also, CL style uses - to separate words in names rather than mixed case, so eval-alg instead of evalAlg 03:10:29 Yeah, I noticed that it's case insensitive. 03:10:35 <|3b|> (CL converts named to upper case by default, so the capitalixation gets lost anyway) 03:10:50 -!- ikki [~ikki@201.155.92.12] has quit [Quit: Leaving] 03:10:51 I'll have to drop the polish names. 03:10:52 <|3b|> not exactly, it is case sensitive, it just upcases by default 03:11:16 So it must be upper case, but it'll convert it for you if it is not? 03:11:18 (defun infix-eval (expr) (if (consp expr) (funcall (second expr) (infix-eval (first expr)) (infix-eval (third expr))) expr)) 03:11:22 ;; not tested 03:11:46 <|3b|> it doesn't have to be, you can change settings, or escape lower case letters 03:12:30 <|3b|> doesn't matter too much for now, but you will probably eventually run into it, so better to get it right to start with :) 03:13:50 good advice. I thought lisp was awful at first, but after like 10 minutes of it, I started to understand how awesome the list syntax is. 03:16:12 akovalenko: why do you pass expr if not (consp expr) 03:16:13 -!- gaidal [~gaidal@59.42.115.53] has quit [Read error: Connection reset by peer] 03:16:39 akovalenko: ^return rather 03:16:41 gaidal [~gaidal@59.42.115.53] has joined #lisp 03:17:44 jack_rabbit: aren't you doing the same? From your code, I thought that all non-lists should be self-evaluating in your syntax (unlike Lisp) 03:18:48 jack_rabbit: how do you call your function? invalid function call is what you expect for (evalAlg (1 + 2)) ;; "why" left as an exercise 03:19:29 I do (evalAlg '(1 + 2)) 03:19:41 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 03:19:48 -!- antonv [5d7d31fe@gateway/web/freenode/ip.93.125.49.254] has quit [Quit: Page closed] 03:19:51 I see what you're doing there now. 03:20:04 I was confused for a moment. 03:20:46 jack_rabbit: you missed a pair of parentheses )( 03:21:00 Where? 03:22:34 -!- z1l0g [~jgw@216.99.214.24] has quit [Quit: That's it for today] 03:22:46 Also, for your code, shouldn't the second parameter of your funcall evaluate the entire rest of the list, not just the third parameter? 03:23:32 jack_rabbit: scratch that, 'twas my copy-paste problem. your call to EVAL (and its arguments) is problematic (what does it mean?) 03:23:38 jack_rabbit: (eval ((nth 1 L) ...)) has (nth 1 L) where CL expects a symbol naming a function (eval itself is a function, not a macro). I expect you intended (eval (list (nth 1 L) ...)) 03:23:44 i.e. My program currently can evaluate (evalAlg '(1 + (2 * (3 / 5) * 2))) 03:24:10 jack_rabbit: try mine, it can evaluate it too :) 03:24:23 hmm. What about the rest of the list, though? 03:25:09 jack_rabbit: show me an example expression in your syntax that has a meaningful "rest" 03:25:31 (2 + 5 - 5), maybe? then wait a moment.. 03:27:43 -!- passionke1 [~Administr@122.233.3.119] has quit [Read error: Connection reset by peer] 03:33:27 -!- frozencemetery [~frozencem@INDIUM.CLUB.CC.CMU.EDU] has quit [Read error: Connection reset by peer] 03:33:46 millerti [~millerti@76-232-38-36.lightspeed.clmboh.sbcglobal.net] has joined #lisp 03:34:37 jack_rabbit: see my annotation 03:36:31 I've got to be honest, that's way over my head at this point. I'll definitely save it for secyphering. 03:36:31 -!- ace4016 [~ace4016@99-120-69-226.lightspeed.miamfl.sbcglobal.net] has quit [Ping timeout: 258 seconds] 03:36:38 decyphering* 03:38:25 *akovalenko* would prefer (ql:quickload :infix) #i(2.8383+3/5*sin(pi/18)) ;; and now let's study the code of that library... 03:39:25 nice library 03:43:49 (let ((x 10)) #i(x = x + 2) x) -> 12 03:44:52 heh, didn't know that. Next time, will someone show me #i(int main() { ... }) ? 03:45:51 SegFaultAX [~SegFaultA@c-98-248-241-85.hsd1.ca.comcast.net] has joined #lisp 03:46:13 Helmut Eller had some code that did something like that. 03:49:34 jast_ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has joined #lisp 03:50:14 frozencemetery [~frozencem@INDIUM.CLUB.CC.CMU.EDU] has joined #lisp 03:57:29 bad-egg_ [~chatzilla@115.170.10.10] has joined #lisp 03:57:49 -!- bad-egg [~chatzilla@1.203.180.227] has quit [Ping timeout: 240 seconds] 03:57:54 -!- bad-egg_ is now known as bad-egg 03:58:37 akovalenko: Thanks, I've got a clean robust function up on lisppaste. If im not mistaken, these will take any lisp function names or operators, correct? 03:59:22 Such as (3 'expt 2) 03:59:52 jack_rabbit: '(3 expt 2), yep 04:00:13 -!- nicdev_ [~user@static-72-74-85-37.bstnma.fios.verizon.net] has quit [Ping timeout: 240 seconds] 04:00:28 ahh, good. 04:00:51 <|3b|> expr is always a cons by the third clause of that cond, since the first clause caught everything else 04:01:09 -!- lemoinem [~swoog@216.252.79.198] has quit [Ping timeout: 252 seconds] 04:01:37 Good catch. should be (t (funcall... 04:01:40 <|3b|> and the handling of lists with more than 3 elements is a bit odd 04:01:46 lemoinem [~swoog@216.252.88.103] has joined #lisp 04:02:44 <|3b|> and you still shouldn't use EQ for numbers 04:03:10 You shouldn't use EQ. 04:03:22 jack_rabbit: did you notice that your infix-eval is right-to-left associative? (infix-eval '(2 - 2 - 2)) => 2 04:03:46 (defun ^ (x y) (expt x y)) ; for nicer syntax 04:04:35 akovalenko: I'm trying to figure out why it's doing that. 04:05:23 Ahhhh! 2 - 0 04:05:53 jack_rabbit: right associative = (2 - 2 - 2) = (2 - (2 - 2)) 04:06:00 right. 04:06:25 So really, I should take the second to last item for my first operator 04:12:38 -!- em [~em@unaffiliated/emma] has quit [Remote host closed the connection] 04:12:58 em [~em@unaffiliated/emma] has joined #lisp 04:13:18 -!- jleija [~jleija@50.8.10.126] has quit [Quit: leaving] 04:14:12 realitygrill_ [~realitygr@76.226.206.250] has joined #lisp 04:15:21 daniel_ [~daniel@p5082AD73.dip.t-dialin.net] has joined #lisp 04:15:36 -!- realitygrill [~realitygr@adsl-76-226-116-22.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 240 seconds] 04:15:36 -!- realitygrill_ is now known as realitygrill 04:15:52 I fixed it, but it looks a bit sloppy. 04:17:25 -!- daniel [~daniel@p5082B5F7.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 04:18:00 *Ralith* would just whip up a yacc parser, but that's probably overkill 04:18:37 -!- millerti [~millerti@76-232-38-36.lightspeed.clmboh.sbcglobal.net] has quit [Quit: millerti] 04:24:55 jack_rabbit: added one more: http://paste.lisp.org/+2OW1/5 ;; don't hate loop, at least until you like iterate (I'm no big fan of the latter, but that's a legitimate personal choice). 04:25:55 Yeah, it looks pretty goofy. 04:26:16 -!- tehf [~hefner@c-69-255-57-56.hsd1.md.comcast.net] has quit [Remote host closed the connection] 04:27:25 (if (atom expr)) seems a bit unnecessary, being in the non-atom branch of a typecase. 04:28:42 -!- Kron_ [~Kron@69.166.20.172] has quit [Quit: Kron awayyy!] 04:29:38 pinterface: yep, forgot to remove it after wrapping typecase around (my goal is to demonstrate nice CL features) 04:29:55 what is the (a op b . rest)? I've been searching without luck. (turns out google isn't good with finding two-letter command references 04:30:02 bad-egg_ [~chatzilla@1.203.87.68] has joined #lisp 04:30:02 ) 04:30:10 -!- bad-egg [~chatzilla@115.170.10.10] has quit [Ping timeout: 260 seconds] 04:30:13 -!- bad-egg_ is now known as bad-egg 04:30:22 Or I'm just not very good at finding it. 04:31:15 http://l1sp.org/cl/6.1.1.7 and http://l1sp.org/cl/loop 04:32:04 jack_rabbit: a, op, b, and rest are just arbitrary variable names here 04:33:19 -!- ecraven [~nex@www.nexoid.at] has quit [Ping timeout: 248 seconds] 04:36:11 Alright, I understand that now then except one part: 04:36:26 What's the purpose of the dotted list? 04:36:33 or rather why a DOTTED list? 04:37:32 jack_rabbit: what is a list and how it's build? try '(1 . (4 . (42 . 17))) 04:38:02 '(1 . (4 . (42 . (17 . NIL)))) ;; interesting, too 04:40:00 -!- bad-egg [~chatzilla@1.203.87.68] has quit [Ping timeout: 255 seconds] 04:40:01 bad-egg_ [~chatzilla@124.127.19.228] has joined #lisp 04:40:03 -!- bad-egg_ is now known as bad-egg 04:44:59 So does a dotted list mean that a (for i in '(1 2 3 . 4) do ...) would only loop from 1 to 3? 04:45:42 jack_rabbit: it's invalid: IN can be used with proper lists only. 04:46:17 ahh. So what is the point of it? I'm looking at this: http://www.gnu.org/software/emacs/elisp/html_node/Dotted-Pair-Notation.html 04:47:29 jack_rabbit: well, my example shows how you use dotted lists for destructuring: while the thing to the right of IN is proper list, we have a dotted list of variables.. 04:47:54 jack_rabbit: did you read http://l1sp.org/cl/6.1.1.7 ? there are some examples, too. 04:53:16 jast__ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has joined #lisp 04:53:16 -!- jast_ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has quit [Read error: Connection reset by peer] 04:53:16 -!- jast__ is now known as jast_ 04:53:47 jack_rabbit: Have you read a book called Practical Common Lisp? It discribes all these things akovalenko is using. It also explains |3b|'s comment about EQ. 04:55:16 No I haven't. I just picked up lisp yesterday evening. 04:55:22 I'll have to get that book. 04:55:31 its free 04:55:32 http://www.gigamonkeys.com/book/ 04:55:38 ohyeah. 04:55:52 That's okay to get it on paper as well :) 04:56:06 Ha! Turns out I've already visited one of those pages. 04:56:12 Without knowing it. 04:57:21 well, with a good book and CLHS (the refernce), you'll have an advantage of not having to use random stuff found by google (that can be about some uncommon lisp as well). 04:57:31 Also thanks for the links everyone, I've been perusing them all. 04:58:04 also read Structure and Interpretation of Computer Programming. It uses scheme and it has way to much calc I don't understand but it sure helped me with simple functions. 04:58:30 Noted. Thanks! 04:59:11 no-name- [~no-name@100.238.69.111.dynamic.snap.net.nz] has joined #lisp 04:59:32 -!- askatasuna [~askatasun@190.97.34.146] has quit [Read error: Connection reset by peer] 05:10:49 -!- Sysop_fb [~bleh@108-66-160-34.lightspeed.spfdmo.sbcglobal.net] has quit [Ping timeout: 258 seconds] 05:11:22 SCIP has "calc?" 05:12:32 -!- cfy [~cfy@unaffiliated/chenfengyuan] has quit [Remote host closed the connection] 05:12:32 -!- jast_ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has quit [Read error: Connection reset by peer] 05:12:43 there's symbolic differentiation and Newton's method, assuming that was supposed to mean "calculus". 05:14:19 jast_ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has joined #lisp 05:15:17 -!- kloeri [~kloeri@freenode/staff/exherbo.kloeri] has quit [Remote host closed the connection] 05:17:16 askatasuna [~askatasun@190.97.34.146] has joined #lisp 05:18:14 sorry, not calculus but math that is over my head. 05:20:37 parabolize: I don't understand why people say SICP includes calculus 05:20:48 -!- srolls [~user@c-76-126-212-192.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 05:20:51 it may talk about the relationship between functions and use some examples that are iterative 05:20:56 but it has nothing to do with calculus 05:21:06 hefner [~hefner@c-69-255-57-56.hsd1.md.comcast.net] has joined #lisp 05:21:38 -!- hefner [~hefner@c-69-255-57-56.hsd1.md.comcast.net] has quit [Remote host closed the connection] 05:23:08 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 05:23:29 because we failed calculus so bad we don't recognize it or any other form of complicated math. ;) 05:23:59 -!- bad-egg [~chatzilla@124.127.19.228] has quit [Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928134238]] 05:24:06 parabolize: http://ocw.mit.edu/high-school/courses/highlights-of-calculus/highlights-of-calculus-5-videos/ 05:24:42 Maybe people get it confused with Structure and Interpretation of Classical Mechanics, somehow. 05:25:31 Bike: wasn't that written much later? 05:25:40 probably. 05:31:25 kloeri [~kloeri@freenode/staff/exherbo.kloeri] has joined #lisp 05:32:37 cyrillos [~cyrill@188.134.33.194] has joined #lisp 05:34:27 hefner [~hefner@c-69-255-57-56.hsd1.md.comcast.net] has joined #lisp 05:35:25 setmeaway [~setmeaway@118.45.149.199] has joined #lisp 05:41:08 H4ns [54bdc9a4@gateway/web/freenode/ip.84.189.201.164] has joined #lisp 05:42:17 jackrabbit_ [~jackrabbi@c-98-206-52-111.hsd1.il.comcast.net] has joined #lisp 05:43:04 jast__ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has joined #lisp 05:43:07 -!- jackrabbit_ [~jackrabbi@c-98-206-52-111.hsd1.il.comcast.net] has quit [Client Quit] 05:43:22 -!- jast_ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has quit [Read error: Connection reset by peer] 05:43:22 -!- jast__ is now known as jast_ 05:56:59 -!- sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has quit [Remote host closed the connection] 06:00:33 jast__ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has joined #lisp 06:00:33 -!- jast_ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has quit [Read error: Connection reset by peer] 06:00:33 -!- jast__ is now known as jast_ 06:01:00 gravicappa [~gravicapp@ppp91-77-186-239.pppoe.mtu-net.ru] has joined #lisp 06:07:37 -!- rainyrhy is now known as rainyrhy_away 06:09:11 marsell [~marsell@120.22.151.182] has joined #lisp 06:10:18 -!- Guest38762 [~quassel@69.158.121.27] has quit [Remote host closed the connection] 06:11:46 am0c [~am0c@222.235.56.83] has joined #lisp 06:14:30 -!- MoALTz_ [~no@host-92-18-29-154.as13285.net] has quit [Ping timeout: 255 seconds] 06:15:21 -!- marsell [~marsell@120.22.151.182] has quit [Ping timeout: 252 seconds] 06:16:06 -!- rainyrhy_away is now known as rainyrhy 06:16:48 marsell [~marsell@120.22.151.182] has joined #lisp 06:17:31 jewel [~jewel@196-215-16-235.dynamic.isadsl.co.za] has joined #lisp 06:19:08 -!- kloeri [~kloeri@freenode/staff/exherbo.kloeri] has quit [Ping timeout: 600 seconds] 06:19:46 kloeri [~kloeri@freenode/staff/exherbo.kloeri] has joined #lisp 06:21:25 chu [~mathew.ba@CPE-124-187-212-113.lns3.dea.bigpond.net.au] has joined #lisp 06:21:27 -!- chu [~mathew.ba@CPE-124-187-212-113.lns3.dea.bigpond.net.au] has quit [Remote host closed the connection] 06:21:28 mishoo [~mishoo@86.124.148.84] has joined #lisp 06:21:48 chu [~mathew.ba@CPE-124-187-212-113.lns3.dea.bigpond.net.au] has joined #lisp 06:21:49 -!- chu [~mathew.ba@CPE-124-187-212-113.lns3.dea.bigpond.net.au] has quit [Remote host closed the connection] 06:22:21 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 06:22:52 -!- anvandare [~anvandare@78-22-154-194.access.telenet.be] has quit [Ping timeout: 256 seconds] 06:24:53 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Read error: Connection timed out] 06:25:25 mrSpec [~Spec@88.208.105.6] has joined #lisp 06:25:32 -!- mrSpec [~Spec@88.208.105.6] has quit [Changing host] 06:25:32 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 06:34:11 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Read error: Connection reset by peer] 06:34:45 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 06:34:51 -!- jast_ [~jast_@dslb-178-002-139-242.pools.arcor-ip.net] has quit [Read error: Connection reset by peer] 06:36:48 -!- jack_rabbit [~jackrabbi@c-98-206-52-111.hsd1.il.comcast.net] has quit [Ping timeout: 240 seconds] 06:36:58 anvandare [~anvandare@78-22-150-33.access.telenet.be] has joined #lisp 06:37:36 -!- Krystof [~user@81.174.155.115] has quit [Ping timeout: 256 seconds] 06:37:37 FreeArtMan [~FreeArtMa@93.177.213.54] has joined #lisp 06:47:48 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 258 seconds] 06:48:57 mathrick [~mathrick@83.1.168.198] has joined #lisp 06:51:48 DataLinkDKT [~DataLinkD@1.155.71.174] has joined #lisp 06:52:08 -!- DataLinkDKT [~DataLinkD@1.155.71.174] has quit [Client Quit] 06:52:48 -!- markskilbeck [~Mark@unaffiliated/markskilbeck] has quit [Ping timeout: 240 seconds] 06:57:13 markskilbeck [~Mark@unaffiliated/markskilbeck] has joined #lisp 07:02:12 -!- hefner [~hefner@c-69-255-57-56.hsd1.md.comcast.net] has quit [Quit: Leaving] 07:04:15 -!- gravicappa [~gravicapp@ppp91-77-186-239.pppoe.mtu-net.ru] has quit [Ping timeout: 248 seconds] 07:14:23 mishoo_ [~mishoo@86.124.148.84] has joined #lisp 07:14:23 -!- gaidal [~gaidal@59.42.115.53] has quit [Read error: Connection reset by peer] 07:14:58 gaidal [~gaidal@59.42.115.53] has joined #lisp 07:15:34 -!- no-name- [~no-name@100.238.69.111.dynamic.snap.net.nz] has left #lisp 07:16:10 -!- mishoo [~mishoo@86.124.148.84] has quit [Ping timeout: 260 seconds] 07:17:34 MoALTz [~no@host-92-18-7-192.as13285.net] has joined #lisp 07:20:09 -!- rainyrhy is now known as rainyrhy_away 07:20:49 sdemarre [~serge@91.176.62.153] has joined #lisp 07:21:15 -!- rainyrhy_away is now known as rainyrhy 07:21:40 *|3b|* wonders if slime inspector doesn't handle class redefinition well 07:22:23 <|3b|> "Index 30 out of bounds ..." wasn't the response to refreshing it i expected at least :p 07:22:48 -!- marsell [~marsell@120.22.151.182] has quit [Ping timeout: 240 seconds] 07:27:36 -!- juniorroy [~dima@212.36.228.103] has quit [Ping timeout: 240 seconds] 07:29:23 -!- Bike [~Glossina@71-214-101-79.ptld.qwest.net] has quit [Quit: this operator has gone to sleep] 07:30:14 insomnia1alt [~milan@unaffiliated/iammilan] has joined #lisp 07:31:55 ace4016 [~ace4016@99-120-69-226.lightspeed.miamfl.sbcglobal.net] has joined #lisp 07:33:40 -!- insomniaSalt [~milan@unaffiliated/iammilan] has quit [Ping timeout: 260 seconds] 07:33:40 -!- insomnia1alt is now known as insomniaSalt 07:34:30 -!- sellout- [~Adium@c-76-105-139-195.hsd1.or.comcast.net] has quit [Quit: Leaving.] 07:36:13 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Ping timeout: 245 seconds] 07:41:09 juniorroy [~dima@212.36.228.103] has joined #lisp 07:43:38 -!- doritos [~joshua@c-76-118-155-244.hsd1.ct.comcast.net] has quit [Ping timeout: 252 seconds] 07:49:33 jtza8 [~jtza8@wbs-196-2-108-147.wbs.co.za] has joined #lisp 07:50:14 c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has joined #lisp 07:50:23 easyE [l8dFWbg9wp@panix2.panix.com] has joined #lisp 07:52:46 -!- rainyrhy is now known as rainyrhy_away 08:00:37 Joreji [~thomas@vpn-eu1.unidsl.de] has joined #lisp 08:03:53 -!- EmmanuelOga [~emmanuel@190.244.27.236] has quit [Ping timeout: 252 seconds] 08:07:52 angavrilov [~angavrilo@217.71.227.181] has joined #lisp 08:14:04 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 08:21:49 leo2007 [~leo@119.255.41.67] has joined #lisp 08:28:25 Davidbrcz__ [~david@ANantes-151-1-26-212.w83-195.abo.wanadoo.fr] has joined #lisp 08:31:35 -!- am0c [~am0c@222.235.56.83] has quit [Quit: Leaving] 08:31:56 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Read error: Connection reset by peer] 08:32:32 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 08:38:08 insomnia1alt [~milan@port-92-204-107-5.dynamic.qsc.de] has joined #lisp 08:38:08 -!- insomnia1alt [~milan@port-92-204-107-5.dynamic.qsc.de] has quit [Changing host] 08:38:08 insomnia1alt [~milan@unaffiliated/iammilan] has joined #lisp 08:39:19 realitygrill_ [~realitygr@76.226.206.250] has joined #lisp 08:39:19 -!- realitygrill [~realitygr@76.226.206.250] has quit [Read error: Connection reset by peer] 08:39:20 -!- realitygrill_ is now known as realitygrill 08:41:28 -!- insomniaSalt [~milan@unaffiliated/iammilan] has quit [Ping timeout: 258 seconds] 08:41:28 -!- insomnia1alt is now known as insomniaSalt 08:48:03 -!- FreeArtMan [~FreeArtMa@93.177.213.54] has quit [Quit: 1/0] 08:52:18 -!- prxq_ is now known as prxq 08:55:52 spacefrogg [~spacefrog@unaffiliated/spacefrogg] has joined #lisp 08:56:32 manuel_ [~manuel_@pD9FDE626.dip.t-dialin.net] has joined #lisp 09:01:39 -!- leo2007 [~leo@119.255.41.67] has quit [Ping timeout: 276 seconds] 09:02:39 -!- c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has quit [Ping timeout: 248 seconds] 09:02:48 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Ping timeout: 240 seconds] 09:04:27 gigamonk` [~user@adsl-99-179-45-19.dsl.pltn13.sbcglobal.net] has joined #lisp 09:05:37 gigamonk`: hi 09:06:13 -!- gigamonkey [~user@adsl-99-24-219-175.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 240 seconds] 09:07:57 drake01 [~drake01@unaffiliated/drake01] has joined #lisp 09:09:09 -!- drake01 [~drake01@unaffiliated/drake01] has quit [Max SendQ exceeded] 09:14:20 Guest11271 [~drake01@115.246.181.86] has joined #lisp 09:15:22 -!- Guest11271 [~drake01@115.246.181.86] has quit [Max SendQ exceeded] 09:17:16 marsell [~marsell@120.22.118.21] has joined #lisp 09:17:39 -!- xyxu [~xyxu@222.68.160.93] has quit [Ping timeout: 255 seconds] 09:18:11 drake01__ [~drake01@115.246.181.86] has joined #lisp 09:18:34 -!- drake01__ [~drake01@115.246.181.86] has quit [Max SendQ exceeded] 09:19:47 drake01__ [~drake01@115.246.181.86] has joined #lisp 09:20:17 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 09:23:02 -!- drake01__ [~drake01@115.246.181.86] has quit [Changing host] 09:23:02 drake01__ [~drake01@unaffiliated/drake01] has joined #lisp 09:23:39 -!- drake01__ [~drake01@unaffiliated/drake01] has quit [Client Quit] 09:24:51 drake01__ [~drake01@115.246.181.86] has joined #lisp 09:24:54 -!- drake01__ [~drake01@115.246.181.86] has quit [Client Quit] 09:25:21 benny [~benny@i577A8227.versanet.de] has joined #lisp 09:30:07 hi 09:30:09 please help 09:30:17 I need a good tutorial for common qt 09:33:24 write one 09:33:52 how? 09:34:00 Posterdati: did you try the tutorial include with it? (asdf:load-op 'qt-tutorial) 09:34:24 daimrod: the one with the cannon? 09:35:12 Posterdati: idk which one, I was just reading the main page. 09:36:04 please give me the link 09:36:52 Posterdati: type "commonqt" into google, follow first link, read. 09:37:26 benkard [~benkard@mnch-5d856223.pool.mediaWays.net] has joined #lisp 09:37:34 Dear CL chaps, what's the usual way to indicate a don't-care variable? _? 09:38:17 marsell, you can declare it ignorable. 09:38:17 H4ns: I've already read this 09:38:20 and from what I read, common qt is just a CFFI wrapper around qt so you can read regular tutorials on qt. 09:38:22 is that what you mean? 09:38:46 prxq: I'm thinking in terms of (dotimes (_ 50) ...) 09:38:52 Posterdati: section Installation -> "And follow the tutorial" 09:38:53 Posterdati: what is giving you grief? (I know nothing of commonqt, but have written binding myself) 09:39:37 marsell: normally, you just use some variable name and don't bother with it. 09:39:50 marsell: what are you trying to do? 09:39:57 daimrod: it's a c++ tutorial 09:40:12 xyxu [~xyxu@222.68.160.93] has joined #lisp 09:40:38 prxq: I'm just running some code while benchmarking it. I just need it run a few thousand times, I don't actually care what the iteration count in inside the body. 09:40:40 prxq: I'm trying to write a Lisp program for show the capture from /dev/video0 (v4l2) 09:41:10 prxq: but I'll go with (dotimes (n 10000) ... ) then, and just not use n, as you suggest. :) 09:41:20 marsell: there is no convention in common lisp regarding that 09:41:29 prxq: so I taken a c++ qt example and I'd like to port it in Lisp 09:41:29 Okay, thanks. 09:41:30 marsell: ok, well, just use some variable. Due to how bindings work, it is unlikely to cause you grief. 09:41:37 marsell: dotimes declares the loop variable ignorable, so you can just ignore it yourself. 09:41:47 Posterdati: and how good is your c++? 09:41:55 prxq: template level 09:42:29 Posterdati: so you understand the component hierarchy involved in that example? 09:43:08 prxq: prxq barely, he problem is how to call member functions and the constructors 09:43:40 for example my-class::my-class() : other-class() {} 09:43:49 how can I achieve that? 09:44:16 Posterdati: you are aware that that is equivalent to my-class::my-class () { other-class (); }? 09:44:25 at least, it used to be that way. 09:44:29 ah ok 09:44:37 yes I know 09:44:39 so 09:44:57 defmethod my-class ( parameters ) 09:45:14 so you can just follow the example where a constructor is called :-) 09:45:14 (other-class parameters) 09:45:17 ...) 09:45:46 http://common-lisp.net/project/commonqt/#id106214 09:46:01 prxq: and what about Q_UNUSED(option); 09:46:28 i have no idea. Make an experiment! 09:46:51 that looks like a #define macro 09:47:03 if (currentFrame.map(QAbstractVideoBuffer::ReadOnly)) 09:47:07 yes 09:47:31 Posterdati: as i said, i have no idea, and can't help you from here on. 09:47:41 QAbstractVideoBuffer::ReadOnly is a constant too 09:47:59 #_QAbstractVideoBuffer::ReadOnly 09:48:01 ? 09:49:45 -!- marsell [~marsell@120.22.118.21] has quit [Ping timeout: 276 seconds] 09:50:00 -!- cesarbp [~cbolano@189.227.234.136] has quit [Ping timeout: 240 seconds] 09:50:02 gensym [~user@dslb-088-071-149-049.pools.arcor-ip.net] has joined #lisp 09:51:01 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Ping timeout: 240 seconds] 09:52:45 prxq: thanks 09:53:19 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 09:57:23 Posterdati: hth 09:58:11 Posterdati: what are you developing? A movie player? 10:00:03 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Max SendQ exceeded] 10:01:12 -!- xyxu [~xyxu@222.68.160.93] has quit [Ping timeout: 258 seconds] 10:02:33 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 10:09:33 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Max SendQ exceeded] 10:10:07 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Read error: Connection reset by peer] 10:10:07 -!- gaidal [~gaidal@59.42.115.53] has quit [Read error: Connection reset by peer] 10:10:36 mrSpec [~Spec@88.208.105.6] has joined #lisp 10:10:36 -!- mrSpec [~Spec@88.208.105.6] has quit [Changing host] 10:10:36 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 10:10:50 gaidal_ [~gaidal@59.42.115.53] has joined #lisp 10:13:51 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 10:16:17 what's the use of the `,(...)? doesn't it has the same effect of just (...)? 10:17:27 kanru: it's to 'unquote parts of the list. 10:17:48 ch077179 [~ch077179@unaffiliated/ch077179] has joined #lisp 10:18:55 Gertm: yes, but what's about backquote followed by a comma? 10:19:10 kanru: http://www.gigamonkeys.com/book/macros-defining-your-own.html, search for "generating the expansion" 10:20:43 kanru: I was looking for the url H4ns pasted, go read there. :) 10:21:37 i know quote, backqutoe and unquote.. but whay any one wants to write `,form ? CLHS says `,form is the same as form, for any form.. 10:22:22 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Max SendQ exceeded] 10:22:42 akovalen` [~anton@95.72.170.186] has joined #lisp 10:22:53 madnificent [~madnifice@83.101.62.132] has joined #lisp 10:23:24 kanru: who wants it? 10:24:24 -!- akovalenko [~anton@95.72.102.59] has quit [Ping timeout: 240 seconds] 10:25:47 *kanru* reading cl-emb code and find one piece of (let ((form `,(let (...) (read-from-string ...))))) 10:25:55 frito [~androirc@cpc12-sotn9-2-0-cust535.15-1.cable.virginmedia.com] has joined #lisp 10:26:04 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 10:26:04 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Excess Flood] 10:26:56 kanru: maybe just an oversight? 10:27:51 -!- frito [~androirc@cpc12-sotn9-2-0-cust535.15-1.cable.virginmedia.com] has quit [Client Quit] 10:29:02 ok, so it's an unusual style 10:36:00 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 240 seconds] 10:36:13 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Ping timeout: 240 seconds] 10:36:20 hum.. grep through my quicklisp archive still can find some in cl-markdown, cl-gtk2, clsql and ironclad 10:36:47 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 10:39:46 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 10:44:14 xyxu [~xyxu@222.68.160.93] has joined #lisp 10:44:24 drake01 [~drake01@115.246.227.199] has joined #lisp 10:44:24 -!- drake01 [~drake01@115.246.227.199] has quit [Changing host] 10:44:24 drake01 [~drake01@unaffiliated/drake01] has joined #lisp 10:45:20 -!- drake01 [~drake01@unaffiliated/drake01] has quit [Max SendQ exceeded] 10:47:43 Guest58205 [~drake01@115.246.227.199] has joined #lisp 10:49:01 tsuru``` [~charlie@adsl-98-87-43-94.bna.bellsouth.net] has joined #lisp 10:49:11 -!- Guest58205 [~drake01@115.246.227.199] has quit [Changing host] 10:49:11 Guest58205 [~drake01@unaffiliated/drake01] has joined #lisp 10:49:28 cmatei [~cmatei@95.76.22.68] has joined #lisp 10:49:37 mishoo__ [~mishoo@86.124.148.84] has joined #lisp 10:50:23 -!- tsuru`` [~charlie@adsl-74-179-17-157.bna.bellsouth.net] has quit [Ping timeout: 245 seconds] 10:50:26 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #lisp 10:50:38 -!- Guest58205 [~drake01@unaffiliated/drake01] has quit [Client Quit] 10:52:38 drake01__ [~drake01@115.246.227.199] has joined #lisp 10:52:46 -!- mishoo_ [~mishoo@86.124.148.84] has quit [Ping timeout: 244 seconds] 10:53:14 -!- drake01__ [~drake01@115.246.227.199] has quit [Max SendQ exceeded] 10:53:25 -!- xyxu [~xyxu@222.68.160.93] has quit [Ping timeout: 252 seconds] 10:59:39 -!- askatasuna [~askatasun@190.97.34.146] has quit [Read error: Connection reset by peer] 11:00:21 hagish [~hagish@p54982A26.dip.t-dialin.net] has joined #lisp 11:03:29 aliao [~john@123.5.152.247] has joined #lisp 11:04:32 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #lisp 11:06:37 -!- easyE [l8dFWbg9wp@panix2.panix.com] has quit [Ping timeout: 252 seconds] 11:06:43 -!- gaidal_ is now known as gaidal 11:08:00 -!- cmm [~cmm@bzq-109-67-212-191.red.bezeqint.net] has quit [Remote host closed the connection] 11:08:37 how do i mapcar list in reversed order? 11:09:03 do i have to reverse order of the list itself or there is an option to mapcar from end to begging 11:10:12 troydm: you have to revert the list first. 11:10:43 H4ns: ok thx 11:11:00 xyxu [~xyxu@222.68.160.93] has joined #lisp 11:15:44 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Quit: Leaving] 11:16:39 askatasuna [~askatasun@190.97.34.146] has joined #lisp 11:16:48 -!- aliao [~john@123.5.152.247] has left #lisp 11:20:09 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 11:20:28 nefo [~nefo@58.37.41.66] has joined #lisp 11:20:36 -!- nefo [~nefo@58.37.41.66] has quit [Changing host] 11:20:36 nefo [~nefo@unaffiliated/nefo] has joined #lisp 11:27:43 -!- xyxu [~xyxu@222.68.160.93] has quit [Ping timeout: 248 seconds] 11:30:12 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 11:30:41 Amadiro [~Amadiro@ti0021a380-dhcp3462.bb.online.no] has joined #lisp 11:30:49 btw if i have string 11:30:54 xyxu [~xyxu@222.68.160.93] has joined #lisp 11:30:58 like " my string" 11:31:07 how do i add \r to it's end? 11:31:15 just write " my string\r"? 11:31:21 leo2007 [~leo@123.114.42.230] has joined #lisp 11:31:34 i think it's not working 11:33:58 (concatenate 'string my-string "r") <- like so? 11:35:23 no 11:35:30 i need special character #\r 11:35:38 \n - #\Newline 11:35:41 \r - ? 11:36:03 i wonder if there isn't a library which handles concatenating/summing in a more modern fashion. in the sense that it returns a sequence with the same properties but appends them, and -- if the syntax would be as it is used in some modern languages -- sums numbers at the same time (though i think i dislike the latter). 11:36:46 troydm: not sure if this is the nicest way, but the following works nonetheless: 11:37:03 found #\Return 11:37:08 (concatenate 'string my-string (string #\Return)) 11:37:29 but i think you might want to use #\Newline 11:37:35 it depends though 11:38:12 -!- Amadiro [~Amadiro@ti0021a380-dhcp3462.bb.online.no] has quit [Quit: Leaving] 11:39:05 Amadiro [~Amadiro@ti0021a380-dhcp3462.bb.online.no] has joined #lisp 11:40:05 lutok [~luckystok@ip98-169-240-101.dc.dc.cox.net] has joined #lisp 11:40:05 -!- gaidal [~gaidal@59.42.115.53] has quit [Read error: Connection reset by peer] 11:40:56 gaidal [~gaidal@59.42.115.53] has joined #lisp 11:41:41 -!- drwho [~drwho@c-68-80-157-110.hsd1.nj.comcast.net] has quit [Ping timeout: 252 seconds] 11:42:55 -!- lutok [~luckystok@ip98-169-240-101.dc.dc.cox.net] has left #lisp 11:46:53 troydm, #\Newline is most portable and more likely to do what you want 11:47:51 FreeArtMan [~FreeArtMa@93.177.213.54] has joined #lisp 11:48:16 H4ns_ [5b3d4eed@gateway/web/freenode/ip.91.61.78.237] has joined #lisp 11:48:39 -!- H4ns [54bdc9a4@gateway/web/freenode/ip.84.189.201.164] has quit [Ping timeout: 265 seconds] 11:48:43 -!- FreeArtMan [~FreeArtMa@93.177.213.54] has quit [Remote host closed the connection] 11:48:59 -!- H4ns_ is now known as H4ns 11:49:26 hey Adlai! 11:50:23 -!- xyxu [~xyxu@222.68.160.93] has quit [Ping timeout: 245 seconds] 11:50:24 -!- leo2007 [~leo@123.114.42.230] has quit [Ping timeout: 240 seconds] 11:50:37 pon1980 [~pon1980@h195n2-haes-a12.ias.bredband.telia.com] has joined #lisp 11:50:39 -!- gensym [~user@dslb-088-071-149-049.pools.arcor-ip.net] has quit [Ping timeout: 248 seconds] 11:50:57 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 256 seconds] 11:51:23 Athas [~athas@130.225.165.40] has joined #lisp 11:51:57 -!- benkard [~benkard@mnch-5d856223.pool.mediaWays.net] has quit [Quit: benkard] 11:56:24 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Ping timeout: 240 seconds] 11:57:53 -!- Davidbrcz__ [~david@ANantes-151-1-26-212.w83-195.abo.wanadoo.fr] has quit [Ping timeout: 245 seconds] 12:01:23 prxq: no 12:01:48 prxq: I'm developing a simply usb camera capture 12:03:32 prxq: I'd like to study computer vision 12:06:27 prxq: shape recognition 12:06:42 gffa [~gffa@unaffiliated/gffa] has joined #lisp 12:11:19 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 12:18:23 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 12:18:42 waveman [~tim@124.170.43.134] has joined #lisp 12:22:56 FreeArtMan [~FreeArtMa@93.177.213.54] has joined #lisp 12:24:40 trebor_home [~email@dslb-088-069-134-019.pools.arcor-ip.net] has joined #lisp 12:25:04 troydm: if you're writing HTTP responses, best to use binary data. 12:25:05 lutok [~luckystok@ip98-169-240-101.dc.dc.cox.net] has joined #lisp 12:25:35 leo2007 [~leo@123.114.42.230] has joined #lisp 12:26:13 -!- lutok [~luckystok@ip98-169-240-101.dc.dc.cox.net] has quit [Quit: WeeChat 0.3.5] 12:26:37 -!- waveman [~tim@124.170.43.134] has quit [Quit: leaving] 12:27:15 lutok [~user@ip98-169-240-101.dc.dc.cox.net] has joined #lisp 12:30:08 -!- cmatei [~cmatei@95.76.22.68] has quit [Remote host closed the connection] 12:39:05 Davidbrcz__ [~david@ANantes-151-1-26-212.w83-195.abo.wanadoo.fr] has joined #lisp 12:39:25 xyxu [~xyxu@222.68.160.93] has joined #lisp 12:40:58 LiamH [~healy@pool-108-45-22-54.washdc.east.verizon.net] has joined #lisp 12:43:45 c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has joined #lisp 12:45:06 cmatei [~cmatei@95.76.22.68] has joined #lisp 12:45:35 -!- xyxu [~xyxu@222.68.160.93] has quit [Ping timeout: 260 seconds] 12:49:32 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 244 seconds] 12:51:59 homie [~levgue@xdsl-84-44-155-130.netcologne.de] has joined #lisp 12:55:50 -!- akovalen` is now known as akovalenko 12:57:14 -!- FreeArtMan [~FreeArtMa@93.177.213.54] has quit [Quit: 1/0] 12:57:23 -!- lutok [~user@ip98-169-240-101.dc.dc.cox.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:00:19 wbooze [~levgue@xdsl-84-44-155-130.netcologne.de] has joined #lisp 13:00:45 millerti [~millerti@76-232-38-36.lightspeed.clmboh.sbcglobal.net] has joined #lisp 13:01:37 -!- sepeth [~user@77.79.126.225] has quit [Remote host closed the connection] 13:04:06 benkard [~benkard@mnch-5d856223.pool.mediaWays.net] has joined #lisp 13:04:53 prxq: I'm trying to follow the tutorial http://doc.trolltech.com/4.3/tutorial-t1.html 13:05:02 prxq: first tutorial is working! 13:06:44 Guest97566 [~drake01@115.246.216.70] has joined #lisp 13:10:18 -!- Guest97566 [~drake01@115.246.216.70] has quit [Client Quit] 13:11:52 drake01__ [~drake01@115.246.216.70] has joined #lisp 13:11:52 -!- drake01__ [~drake01@115.246.216.70] has quit [Client Quit] 13:12:25 drake01__ [~drake01@115.246.216.70] has joined #lisp 13:12:53 -!- drake01__ [~drake01@115.246.216.70] has quit [Remote host closed the connection] 13:15:13 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 13:16:12 drake01__ [~drake01@115.246.216.70] has joined #lisp 13:17:33 wolfpython [~wolf@180.109.159.41] has joined #lisp 13:21:26 -!- drake01__ [~drake01@115.246.216.70] has quit [Changing host] 13:21:26 drake01__ [~drake01@unaffiliated/drake01] has joined #lisp 13:21:42 -!- drake01__ [~drake01@unaffiliated/drake01] has quit [Quit: Ex-Chat] 13:22:17 drake01__ [~drake01@115.246.216.70] has joined #lisp 13:22:40 -!- millerti [~millerti@76-232-38-36.lightspeed.clmboh.sbcglobal.net] has quit [Quit: millerti] 13:23:07 -!- drake01__ [~drake01@115.246.216.70] has quit [Changing host] 13:23:07 drake01__ [~drake01@unaffiliated/drake01] has joined #lisp 13:24:23 xyxu [~xyxu@222.68.160.93] has joined #lisp 13:27:58 -!- drake01__ [~drake01@unaffiliated/drake01] has quit [Quit: drake01] 13:28:48 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 240 seconds] 13:29:24 drake01__ [~drake01@115.246.216.70] has joined #lisp 13:31:17 please help, I've got ; Evaluation aborted on #. executing main in http://paste.lisp.org/display/125566#1 13:31:57 -!- wolfpython [~wolf@180.109.159.41] has quit [Read error: Connection reset by peer] 13:33:45 -!- drake01__ [~drake01@115.246.216.70] has quit [Changing host] 13:33:45 drake01__ [~drake01@unaffiliated/drake01] has joined #lisp 13:35:10 -!- xyxu [~xyxu@222.68.160.93] has quit [Ping timeout: 260 seconds] 13:35:36 rme [~rme@50.43.148.59] has joined #lisp 13:35:57 -!- drake01__ [~drake01@unaffiliated/drake01] has quit [Quit: Ex-Chat] 13:36:18 paste the backtrace as well 13:36:25 nikodemus: hi 13:36:28 nikodemus: ok 13:36:54 drake01__ [~drake01@115.246.216.70] has joined #lisp 13:37:20 gko [~gko@111.81.145.238] has joined #lisp 13:37:40 nikodemus: http://paste.lisp.org/display/125566#2 13:38:21 -!- drake01__ [~drake01@115.246.216.70] has quit [Changing host] 13:38:22 drake01__ [~drake01@unaffiliated/drake01] has joined #lisp 13:39:21 -!- c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has quit [Ping timeout: 260 seconds] 13:40:33 nikodemus: any hints? 13:41:42 -!- drake01__ [~drake01@unaffiliated/drake01] has quit [Client Quit] 13:42:07 simplechat [~simplecha@unaffiliated/simplechat] has joined #lisp 13:42:20 drake01 [~drake01@unaffiliated/drake01] has joined #lisp 13:43:03 -!- drake01 [~drake01@unaffiliated/drake01] has quit [Max SendQ exceeded] 13:46:06 -!- nefo [~nefo@unaffiliated/nefo] has quit [Quit: Leaving] 13:49:26 nialo] [~nialo@ool-182d1a3c.dyn.optonline.net] has joined #lisp 13:49:42 xyxu [~xyxu@222.68.160.93] has joined #lisp 13:49:51 -!- otakutomo [~otakutomo@KD027083117212.ppp-bb.dion.ne.jp] has quit [Remote host closed the connection] 13:50:04 nikodemus: how can I know what is the undefined alien function? 13:52:59 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Remote host closed the connection] 13:53:50 Adlai [~adlai@unaffiliated/adlai] has joined #lisp 13:54:48 -!- xyxu [~xyxu@222.68.160.93] has quit [Ping timeout: 276 seconds] 13:56:37 -!- nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has quit [Ping timeout: 252 seconds] 14:00:17 xyxu [~xyxu@222.68.160.93] has joined #lisp 14:02:00 rgrinberg [~rudi@24.52.246.61] has joined #lisp 14:02:52 c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has joined #lisp 14:03:39 -!- jewel [~jewel@196-215-16-235.dynamic.isadsl.co.za] has quit [Ping timeout: 258 seconds] 14:05:18 -!- simplechat [~simplecha@unaffiliated/simplechat] has quit [Remote host closed the connection] 14:12:20 Posterdati: you need to call the init function 14:12:26 which loads all the smoke stuff 14:12:39 its called automatically if you use REPL integration stuff 14:12:59 maxm-: ho? 14:13:02 maxm-: how? 14:13:08 let me find it 14:13:34 see start-gui-thread in repl-integration.lisp 14:13:49 (ensure-smoke :qtcore) (ensure-smoke :qtgui) 14:14:20 shall I wrote in my file? 14:14:20 use (start-gui-thread) from repl, and then you can work from repl, with stuff being evaluated in gue thread like so 14:14:51 (let ((w (#_new QLabel "Hello world"))) (#_show w)) 14:14:53 undefined 14:15:09 then you can interact with the widget on the fly from repl, like (#_setText * "blah") 14:15:12 ; Evaluation aborted on #. 14:15:16 and (#_delete **) 14:15:31 Posterdati: its in qt-repl package 14:15:39 ah ok 14:16:05 *maxm-* does not remember if it works right away, or if I had to fix it tho 14:16:19 (qt-repl:start-gui-thread) 14:16:26 worked? 14:16:29 WARNING: 14:16:29 Cannot initialize *SLIME-REPL-EVAL-HOOKS*, use (eval-in-gui-thread ...) form. 14:16:29 ; No value 14:16:51 ok 14:17:06 you need to have swank module that has repl hooks in them loaded, let me see how I did it 14:17:47 it worked before last time 14:17:59 there is swank-require for that repl hook stuff 14:18:00 I closed the qt app and slime connection aborted 14:18:19 yea thats coz qt app is running in main thread 14:18:36 -!- wildnux [~wildnux@68-191-210-76.dhcp.dntn.tx.charter.com] has quit [Remote host closed the connection] 14:18:40 ok 14:20:20 ok 14:20:22 worked 14:20:30 (qt-repl:eval-in-gui-thread (qt-tutorial1:main)) 14:20:48 ok try this: (swank::swank-require 'swank-listener-hooks) 14:21:02 ok 14:21:04 you may need to restart, do the above, then do start-gui-thread again 14:21:09 H4ns: next time, tell marsell about (loop repeat 100 do ...) 14:21:19 ("SWANK-LISTENER-HOOKS" "ITERATE" "SWANK-ARGLISTS" "SWANK-FANCY-INSPECTOR" 14:21:19 "SWANK-FUZZY" "SWANK-C-P-C" "SWANK-PRESENTATIONS" "SWANK-PACKAGE-FU" 14:21:19 "SWANK-ASDF" "SB-CLTL2" "SB-INTROSPECT" "SB-BSD-SOCKETS" "SB-POSIX" 14:21:19 "SB-GROVEL" "ASDF") 14:21:40 yea thats good now its loaded, now load qt, qt-repl, and then do start-gui-thread 14:22:18 NIL 14:22:26 (qt-repl:start-gui-thread) 14:22:26 NIL 14:22:33 ok great 14:23:01 now do (defvar *widget* (#_new QLabel "blah")) 14:23:09 then (#_show *widget*) 14:23:25 you should be able to interact with *widget* as its displayed alongside emacs without blocking 14:24:11 yea (#_setText *widget* "whatever") etc 14:24:37 ; Evaluation aborted on #. 14:24:47 hmm 14:25:17 dah 14:25:29 (named-readtables:in-readtable :qt) 14:25:35 that what does all the #_ magic 14:25:38 otakutomo [~otakutomo@KD027083117212.ppp-bb.dion.ne.jp] has joined #lisp 14:25:42 ok 14:26:09 didn't show anything 14:26:25 try (#_new QWidget), should print a value 14:26:29 I can't 14:26:33 repl is blocked 14:26:37 hmm 14:27:21 man I remember doing fixes to qt-repl stuff, but I can't push them now because its like 20 commits that I have to sort through 14:28:26 only suggestion I have is to go through all this again, do in-readtable thing, then try (#_new QWdiget) again.. Just to be sure is this SBCL on Linux right? coz thats where I'm doing all my qt stuff 14:29:07 didn't work at all 14:29:12 no widget 14:29:29 ok something is hosed then 14:29:44 restart 14:30:39 QT is weird that it does not like its main thread killed, you sure you not selecting "terminate thread?" when you have an error? 14:30:51 sure I did 14:30:54 first time 14:30:57 that would hose the integration stuff in qt-repl, I remember fixing it to undo the hook 14:30:57 aha 14:31:10 select "abort qt callback" instead, that continues the thread safely 14:31:16 ok 14:31:19 and now? 14:31:21 you can't restart it, as Qt only allows its QApplication to be started once 14:31:32 and now? 14:31:32 if you did terminate thread, you'll have to restart 14:31:43 restart what? 14:31:46 sbcl 14:31:46 sbcl? 14:31:49 I did 14:31:56 but same problem 14:31:58 S1am [~guest@eth-209.20-homell.natm.ru] has joined #lisp 14:32:20 so when you type (#_new QWidget) it gives you error that its unable to find the dispatching function? 14:32:49 # 14:33:00 it creates the widget 14:33:07 ok you are almost there, do (#_show *), should pop the widget on the screen 14:33:16 you can kill it then, or do it from repl by doing (#_delete **) 14:33:17 but #_show didn't work 14:33:39 the * and ** may not work realiably through qt-repl hook 14:33:47 there's no widget on the screen 14:34:09 check top left corner of the screen, empty qwidget looks like mimnum size window 14:34:16 it will be like tiny at 0,0 14:34:26 no widget 14:34:33 you can still interact with repl? 14:34:37 no 14:35:20 are you on linux? this sounds as if your threads are somehow not working 14:35:30 debian squeeze 14:35:50 when did it froze, after (#_show) ? 14:35:57 yes 14:36:16 ok, wondering is your DISPLAY set right when you start sbcl? 14:36:29 no it isn't display 14:37:54 *maxm-* is out of ideas.. look into *intferior-lisp* see maybe it crashed? 14:37:55 CL-USER> (qt-repl:start-gui-thread) 14:37:55 WARNING: 14:37:55 Cannot initialize *SLIME-REPL-EVAL-HOOKS*, use (eval-in-gui-thread ...) form. 14:37:55 ; No value 14:38:06 ok, you forgot the swank-require stuff 14:38:22 btw found where I put it to have it on permanently, I had put it into my ~/.swank.lisp 14:38:37 (swank:swank-require :swank-listener-hooks) 14:38:49 that has to be loaded before the (qt:start-gui-thread) 14:39:06 That should be written in a tutorial... 14:39:15 -!- benkard [~benkard@mnch-5d856223.pool.mediaWays.net] has quit [Quit: benkard] 14:39:44 yea I somewhat forgot how unfinished that stuff was, since I have stable setup for months 14:40:05 (qt-repl:start-gui-thread) 14:40:05 ; No value 14:40:07 lol 14:40:08 *maxm-* promises himself to cleanup his commits and do a fork on github to push my changes 14:40:13 even better 14:40:14 -!- gaidal [~gaidal@59.42.115.53] has quit [Read error: Connection reset by peer] 14:40:22 Posterdati: ok, (defvar *widget* (new QLabel "blah")) 14:40:35 verify *widget* prints <#QLabel ....> 14:40:38 gaidal [~gaidal@59.42.115.53] has joined #lisp 14:40:45 then do (#_show *widget*) 14:41:36 don't forget the readtable stuff, if you forgot, and got error, don't select "kill thread", select "abort smoke callback" instead 14:41:40 -!- jtza8 [~jtza8@wbs-196-2-108-147.wbs.co.za] has quit [Ping timeout: 260 seconds] 14:42:08 Kron_ [~Kron@69.166.20.172] has joined #lisp 14:42:10 maxm-: at least! finally a widget on the top left 14:42:20 ok, verify you can still interact with repl 14:42:22 repl is working 14:42:31 (#_show *widget*) 14:42:31 NIL 14:42:31 CL-USER> 14:42:35 then do (#_setText *widget* "whatever") 14:42:56 yes 14:42:58 once you have the basic setup going, go ahead, its really easy to build stuff, since you can test it right there.. 14:42:59 working! 14:43:09 maxm-: thanks 14:43:16 maxm-: I'll surely bother you 14:43:16 you welcome 14:43:32 maxm-: let's see if my tutorial2 works! 14:43:42 maxm-: don't go away! 14:43:50 to delete this widget? 14:43:57 #_hide? 14:44:37 worked! 14:44:39 lol 14:46:01 yup 14:46:10 do (qdescribe "QLabel") 14:46:26 to get details on method (qdescribe "QLabel::setText") 14:46:29 benkard [~benkard@mnch-5d856223.pool.mediaWays.net] has joined #lisp 14:46:40 *maxm-* has a TODO item to integrate it with slime completion 14:46:46 lol 14:46:49 amazing! 14:47:11 goos 14:47:12 good 14:47:22 thanks a lot 14:48:02 zuchel [~zuchel@178-37-227-52.adsl.inetia.pl] has joined #lisp 14:49:05 maxm-: could #_hide be used with a qapplication object? 14:50:53 -!- benkard [~benkard@mnch-5d856223.pool.mediaWays.net] has quit [Ping timeout: 252 seconds] 14:51:22 nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has joined #lisp 14:55:18 no 14:55:27 -!- zuchel [~zuchel@178-37-227-52.adsl.inetia.pl] has quit [Quit: Ex-Chat] 14:55:30 I personally use (#_delete) 14:55:57 hide leaves object in-place so you can re-show it.. 14:56:26 Posterdati: make sure to check out (connect) thats where all awesomeness is 14:56:46 (connect *widget* "clicked()" (lambda () ....)) 14:57:06 :( troubles again! 14:57:29 you can't screw with your qapplication object, its not reentrant, if the thread died you have to restart 14:57:31 ; Evaluation aborted on #. 14:57:34 Posterdati: could you paste your first working example please? 14:57:40 yes 14:58:35 Posterdati: just put it all in a file.. (progn (swank-require ...) (require :qt) (require :qt-) (named-readtables:in-readtable)) 14:58:54 http://paste.lisp.org/display/125571 14:59:34 Posterdati: change their example, its 1-on-1 translation of qt example, so it creates and deletes qapplication, which you can only do 1 time 14:59:49 but you can create / destroy unlimited number of main windows within same application 15:00:02 so change the example, just remove the lines dealing with *qapp* 15:00:18 (start-gui-thread) will create the application, and its main loop automatically, so you don't have to worry about it 15:00:35 ? 15:00:49 remove the line (setf *qapp*) 15:01:00 and? 15:01:07 remove the line (unwind-protect and exec and delete) 15:01:26 done 15:01:29 when you run that code, its automatically already being run inside of _exec that the gui thread runs 15:01:37 so your last line shoud be "show" 15:01:42 ok 15:01:45 change quit button part to 15:02:18 (connect quit-button "clicked" (lambda () (#_delete quit-button))) 15:02:29 since at this point your quit-button is your entire gui 15:02:32 #_connect ?? 15:02:36 yea 15:02:56 I think you can do (connect now) but they retained (#_) for compatibility 15:03:22 ok done 15:03:48 so now if you do (main) it should show the button, which when clicked will delete itself 15:03:52 No applicable method connect found on # with arguments (clicked() 15:03:52 15:04:05 hmm try just (connect) 15:04:21 works! 15:04:25 I think if you use just (connect) than it accepts both lambdas and objects/signals 15:04:27 there you go.. 15:04:34 clicked on quit and exits 15:04:43 yes 15:05:30 it's a bit tricky, but works! 15:05:54 so basically continue to work this way, remember that with gui thread stuff, you already have an QApplication (in the gui thread), which is sitting inside of _exec() and is executing each repl line 15:06:00 maxm-: if you like I could write a tutorial 15:06:16 sure go ahead, I'm not the author btw 15:06:18 maxm-: when I'll be much expert than now 15:06:25 just someone who worked with commonqt a bit 15:06:27 maxm-: ah ok 15:06:35 maxm-: I was thinking you are 15:06:56 no credit where credit is due, its awesome piece of work, if still somewhat in progress 15:06:58 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 15:07:21 -!- gienah [~mwright@ppp121-44-88-164.lns20.syd6.internode.on.net] has quit [Quit: leaving] 15:08:32 maxm-: thank you! I was thinking it was a crippleware :) 15:08:48 maxm-: but actually qt-repl is awesome 15:08:55 np, once you have the basics up and running, you can write pretty amazing stuff 15:09:07 maxm-: sure I will 15:09:26 this is my app as it was 1.5 months ago: http://www.youtube.com/watch?v=s_3uxHkGsj0 15:09:38 looks a bit better now 15:10:00 ah was it you! 15:10:06 I saw that video 15:10:14 yup 15:10:16 :) lol 15:11:05 easyE [Laomllf8Q5@panix2.panix.com] has joined #lisp 15:11:05 well anyway, i'm back to coding, good luck with your explorations 15:11:20 maxm-: ok, thanks again I'll surely bother you again 15:17:01 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 15:18:04 mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has joined #lisp 15:18:50 Posterdati: is that correct? http://paste.lisp.org/+2OW3/1 15:23:04 yes 15:23:08 (except for missing )) at the end 15:23:12 -!- mathrick [~mathrick@83.1.168.198] has quit [Ping timeout: 276 seconds] 15:23:38 yes is it the code that I wrote and it actually worked 15:24:10 nice, thanks. i don't have qt installed yet, i am on via mobile G3, but i want to keep a working example for later when i am back home 15:24:30 ok 15:26:15 could i interest you in adding a qt version of hello world to here: http://rosettacode.org/wiki/Hello_world/Graphical#Common_Lisp ? 15:30:55 jtza8 [~jtza8@wbs-196-2-108-147.wbs.co.za] has joined #lisp 15:35:37 todun [~todun@seas587.wireless-pennnet.upenn.edu] has joined #lisp 15:38:24 -!- todun [~todun@seas587.wireless-pennnet.upenn.edu] has quit [Client Quit] 15:39:04 -!- nialo] is now known as nialo- 15:39:57 yummy () yummy ()! 15:43:39 drake01 [~drake01@115.246.252.79] has joined #lisp 15:43:39 -!- drake01 [~drake01@115.246.252.79] has quit [Changing host] 15:43:39 drake01 [~drake01@unaffiliated/drake01] has joined #lisp 15:44:03 -!- drake01 [~drake01@unaffiliated/drake01] has quit [Max SendQ exceeded] 15:44:45 leyyer_su [~user@222.212.244.204] has joined #lisp 15:45:17 Guest72606 [~drake01@115.246.252.79] has joined #lisp 15:46:16 -!- Guest72606 [~drake01@115.246.252.79] has quit [Max SendQ exceeded] 15:51:41 drake01__ [~drake01@115.246.252.79] has joined #lisp 15:53:37 todun [~todun@seas587.wireless-pennnet.upenn.edu] has joined #lisp 15:54:35 -!- drake01__ [~drake01@115.246.252.79] has quit [Max SendQ exceeded] 15:57:15 -!- Jasko2 [~tjasko@c-174-59-204-245.hsd1.pa.comcast.net] has quit [Ping timeout: 252 seconds] 15:57:28 Jeanne-Kamikaze [~Jeanne-Ka@210.Red-88-6-232.staticIP.rima-tde.net] has joined #lisp 15:59:48 maxm-: not working again... 15:59:54 ; Evaluation aborted on #. 16:00:04 I don't understand why 16:00:24 -!- leyyer_su [~user@222.212.244.204] has quit [Ping timeout: 240 seconds] 16:02:17 Jasko2 [~tjasko@c-174-59-204-245.hsd1.pa.comcast.net] has joined #lisp 16:02:53 sellout- [~Adium@c-76-105-139-195.hsd1.or.comcast.net] has joined #lisp 16:05:08 ok fixed! 16:06:05 -!- hagish [~hagish@p54982A26.dip.t-dialin.net] has quit [Ping timeout: 276 seconds] 16:06:21 gensym [~user@dslb-088-071-149-049.pools.arcor-ip.net] has joined #lisp 16:07:18 drake01 [~drake01@unaffiliated/drake01] has joined #lisp 16:09:31 benkard [~benkard@mnch-4d04d11a.pool.mediaWays.net] has joined #lisp 16:12:17 -!- lemoinem [~swoog@216.252.88.103] has quit [Ping timeout: 252 seconds] 16:12:50 lemoinem [~swoog@84-74-252-216.dsl.colba.net] has joined #lisp 16:14:38 -!- brandelune_ [~suzume@pl316.nas982.takamatsu.nttpc.ne.jp] has quit [Quit: brandelune_] 16:17:54 hagish [~hagish@p54981DE8.dip.t-dialin.net] has joined #lisp 16:20:26 am0c [~am0c@222.235.56.83] has joined #lisp 16:23:51 -!- xjrn [~chatzilla@c-76-21-48-114.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 16:26:38 -!- c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has quit [Ping timeout: 245 seconds] 16:28:00 super__ [~super_@unaffiliated/lolsuper-/x-9881387] has joined #lisp 16:30:07 -!- anvandare [~anvandare@78-22-150-33.access.telenet.be] has quit [Ping timeout: 248 seconds] 16:31:33 Bike [~Glossina@71-38-158-198.ptld.qwest.net] has joined #lisp 16:32:58 benkard_ [~benkard@mnch-4d04d307.pool.mediaWays.net] has joined #lisp 16:33:19 -!- Khisanth [~Khisanth@50.14.244.111] has quit [Ping timeout: 248 seconds] 16:34:18 -!- drake01 [~drake01@unaffiliated/drake01] has quit [Ping timeout: 258 seconds] 16:35:36 -!- benkard [~benkard@mnch-4d04d11a.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 16:35:36 -!- benkard_ is now known as benkard 16:37:17 millerti [~millerti@76-232-38-36.lightspeed.clmboh.sbcglobal.net] has joined #lisp 16:42:21 gu [5d32795f@gateway/web/freenode/ip.93.50.121.95] has joined #lisp 16:42:25 -!- gko [~gko@111.81.145.238] has quit [Ping timeout: 260 seconds] 16:45:17 -!- Jasko2 [~tjasko@c-174-59-204-245.hsd1.pa.comcast.net] has quit [Ping timeout: 252 seconds] 16:46:24 Posterdati: do you have video?? 16:46:43 prxq: video? 16:47:09 Posterdati: you were attempting to pipe video with qt or something. That's what i understood. 16:47:43 camera capture. 16:47:49 is it working? 16:47:51 prxq: I'd like to write a qt application to display a camera capture 16:48:05 prxq: no I'm studying commonqt now :) 16:48:25 :-) 16:50:18 Jasko2 [~tjasko@c-174-59-204-245.hsd1.pa.comcast.net] has joined #lisp 16:51:45 blackwol` [~blackwolf@ool-45763eb0.dyn.optonline.net] has joined #lisp 16:52:26 -!- parabolize [~gyro@c-75-71-247-61.hsd1.co.comcast.net] has quit [Quit: leaving] 16:53:12 -!- blackwolf [~blackwolf@ool-43568cfa.dyn.optonline.net] has quit [Ping timeout: 240 seconds] 16:54:27 -!- Euthy [~euthy@unaffiliated/euthydemus] has quit [Quit: leaving] 16:54:44 Euthy [~euthy@unaffiliated/euthydemus] has joined #lisp 16:58:14 prxq: I'm traslating qt tutorials to Lisp just to see how it works 16:58:30 -!- duomo [~duomo@cpe-69-204-169-245.nycap.res.rr.com] has quit [Quit: Linkinus - http://linkinus.com] 16:58:45 -!- gu [5d32795f@gateway/web/freenode/ip.93.50.121.95] has quit [Quit: Page closed] 16:59:54 EmmanuelOga [~emmanuel@190.244.27.236] has joined #lisp 16:59:58 -!- askatasuna [~askatasun@190.97.34.146] has quit [Read error: Connection reset by peer] 17:04:49 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Remote host closed the connection] 17:05:05 Adlai [~adlai@unaffiliated/adlai] has joined #lisp 17:07:49 Adlai` [~adlai@unaffiliated/adlai] has joined #lisp 17:08:10 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Disconnected by services] 17:08:25 pjb- [~t@81.202.16.46.dyn.user.ono.com] has joined #lisp 17:08:49 nyef [~nyef@64.134.124.204] has joined #lisp 17:09:27 -!- Adlai` [~adlai@unaffiliated/adlai] has quit [Remote host closed the connection] 17:09:37 Adlai` [~adlai@unaffiliated/adlai] has joined #lisp 17:09:57 -!- Adlai` is now known as Adlai 17:11:19 mathrick [~mathrick@83.1.168.198] has joined #lisp 17:12:27 -!- mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has quit [Quit: mstevens] 17:13:32 xjrn [~chatzilla@c-76-21-48-114.hsd1.ca.comcast.net] has joined #lisp 17:14:44 -!- Odin- [~sbkhh@adsl-2-92.du.snerpa.is] has quit [Quit: Aiee.] 17:16:01 askatasuna [~askatasun@190.97.34.146] has joined #lisp 17:16:27 Khisanth [~Khisanth@50.14.244.111] has joined #lisp 17:17:25 Odin- [~sbkhh@adsl-2-92.du.snerpa.is] has joined #lisp 17:18:08 -!- LiamH [~healy@pool-108-45-22-54.washdc.east.verizon.net] has quit [Quit: Leaving.] 17:19:01 the Lisp code compactness is impressive 17:20:36 is it just me or is slime being flaky lately? 17:23:28 urandom__ [~user@p548A5D15.dip.t-dialin.net] has joined #lisp 17:24:03 the strange thing is that Lisp is less error-prone than c/c++ and others, strangely I've get very familiar with sexp syntax 17:25:02 prxq: i haven't noticed anything special 17:25:06 what are you seeing? 17:27:40 nikodemus: the emacs debugger is popping up a lot, and now it hung after receiving back a large array from a function. It did not usually do that in the past. 17:28:33 *prxq* updates again 17:31:20 Posterdati: I'vehad the impression a couple of times that using C libs from lisp is nicer than using them from C for exactly that reason 17:32:35 *gensym```* tries to quickload qt, but has problems 17:33:15 something doesnt get compiled 17:33:25 missing libs? 17:33:56 have libqt-devel, automake, qmake, gcc on debian... 17:34:10 I've got debian squeeze too, no problems 17:34:21 -!- pjb- [~t@81.202.16.46.dyn.user.ono.com] has quit [Ping timeout: 256 seconds] 17:34:41 have you changed quicklisp/setup.lisp asdf minimum version? 17:35:11 nope 17:35:18 Guthur [~user@host86-148-31-149.range86-148.btcentralplus.com] has joined #lisp 17:35:42 sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has joined #lisp 17:36:15 (asdf:asdf-version) 17:36:18 what returns? 17:37:33 "2.015.3" 17:37:38 ah 17:37:40 so it is ok 17:37:47 I've got 2.014.6 17:38:21 dnolen [~davidnole@cpe-98-14-92-234.nyc.res.rr.com] has joined #lisp 17:40:10 -!- realitygrill [~realitygr@76.226.206.250] has quit [Quit: realitygrill] 17:40:13 okay, there are errors when i run qmake/make manually in the qt system dir 17:42:03 drake01 [~drake01@unaffiliated/drake01] has joined #lisp 17:42:20 FreeArtMan [~FreeArtMa@93.177.213.54] has joined #lisp 17:42:40 i had debians smoke-dev-tools installed but not the smoke-def-files 17:42:51 -!- djan|sipna is now known as djanatyn 17:45:38 stupid question: there is no way to see some output when asdf:compile-op is invoked? 17:47:51 doritos [~joshua@c-76-118-155-244.hsd1.ct.comcast.net] has joined #lisp 17:48:38 gensym```: TRACE? Slap an :AROUND method on it for your source classes and do arbitrary whatever? 17:49:01 -!- Davidbrcz__ [~david@ANantes-151-1-26-212.w83-195.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 17:49:30 maxm-: lol it's quite easy port c/c++ qt programs to Lisp, never bet on it :) 17:51:56 nyef: okay, will try that next time - thanks! 17:54:09 -!- spacefrogg [~spacefrog@unaffiliated/spacefrogg] has quit [Quit: spacefrogg] 17:55:17 anonus [~anonymous@88.80.28.189] has joined #lisp 17:55:48 realitygrill [~realitygr@thewall.novi.lib.mi.us] has joined #lisp 17:56:58 -!- benkard [~benkard@mnch-4d04d307.pool.mediaWays.net] has quit [Quit: benkard] 17:58:14 benkard [~benkard@mnch-4d04d307.pool.mediaWays.net] has joined #lisp 17:58:26 serichsen [~user@hmbg-4d0683d7.pool.mediaWays.net] has joined #lisp 17:58:29 Good evening! 17:58:40 Hello serichsen. 18:01:00 -!- Khisanth [~Khisanth@50.14.244.111] has quit [Ping timeout: 255 seconds] 18:12:03 Posterdati: heh yea its faster then doing C++ development once you get a hang of it 18:12:10 abeaumont [~abeaumont@90.165.165.246] has joined #lisp 18:12:11 -!- abeaumont [~abeaumont@90.165.165.246] has quit [Remote host closed the connection] 18:12:20 anyone knows what the timeline for google ai thing, is it too late to enter? 18:12:37 *maxm-* figures it would take at least a few weeks to write something worthwhile 18:12:56 but I'm a bit burned out with my current project and could use a distraction 18:13:16 does not seem to say when is the end date on their site 18:13:39 ... The real challenge is to write a program to find out about random AI software competitions and compete in them without user intervention. :-P 18:14:02 not sure if mocking 18:14:51 About half. It'd be a GREAT hack if you could pull it off, even more so if it actually places decently. 18:15:00 ah doh it ends on dec 18 18:15:05 heh. "Ok little programs, go out and have fun playing" 18:15:21 *maxm-* always starts clicking sub-links before scrolling towards end 18:16:56 duomo [~duomo@cpe-69-204-169-245.nycap.res.rr.com] has joined #lisp 18:17:01 Davidbrcz__ [~david@ANantes-151-1-26-212.w83-195.abo.wanadoo.fr] has joined #lisp 18:17:46 *maxm-* has some ideas.. I say neural/network evolutionary stuff is out apriory 18:18:03 no time to come up with working framework in time alotted, and problem not suitable 18:18:10 so its basically being clever competition 18:18:37 -!- am0c [~am0c@222.235.56.83] has quit [Ping timeout: 240 seconds] 18:20:41 -!- Joreji [~thomas@vpn-eu1.unidsl.de] has quit [Ping timeout: 258 seconds] 18:21:10 ... great. Go crazy at "why it doesn't accept the shutdown command" only to find out you forgot the time and it exits silently :/ 18:22:30 antonv [5d7d31fe@gateway/web/freenode/ip.93.125.49.254] has joined #lisp 18:25:25 -!- tali713 [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has quit [Ping timeout: 240 seconds] 18:27:41 -!- Athas [~athas@130.225.165.40] has quit [Remote host closed the connection] 18:28:01 tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has joined #lisp 18:30:07 attila_lendvai [~attila_le@2.132.32.138] has joined #lisp 18:30:07 -!- attila_lendvai [~attila_le@2.132.32.138] has quit [Changing host] 18:30:07 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 18:30:23 maxm-: the framework should pre-exist, and should adapt itself to the problem. 18:32:23 -!- nyef [~nyef@64.134.124.204] has quit [Quit: Bye all, I'll be back later.] 18:32:40 for evolutionary programming in CL there is geco 18:33:28 pjb: no I meant creating working framework for applying machine learning techniques to the problem 18:34:03 -!- alvis [~alvis@tx-71-2-123-220.dhcp.embarqhsd.net] has quit [Read error: Connection reset by peer] 18:34:16 usually takes several false starts to even get started in the right direction, which does not look suitable according to rules 18:35:17 as an example, the objective function is hard to figure out, should it be the "goodness of your position" followed by minimax search? probably will be too long with 10 opponents/board size to work... Or next move? Hard to do since next move moves all your ants 18:35:26 am0c [~am0c@222.235.56.83] has joined #lisp 18:35:28 -!- sellout- [~Adium@c-76-105-139-195.hsd1.or.comcast.net] has quit [Quit: Leaving.] 18:35:49 so problem is kind of defined in a tricky manner so you can just throw a neural network at it and get any results 18:36:16 alvis [~alvis@tx-71-2-123-220.dhcp.embarqhsd.net] has joined #lisp 18:36:50 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 18:37:01 but anyway, not gonna discuss ideas since probably other ppl participating here :-) 18:37:24 s/can/cant 18:40:09 -!- millerti [~millerti@76-232-38-36.lightspeed.clmboh.sbcglobal.net] has quit [Quit: millerti] 18:43:50 -!- Kron_ [~Kron@69.166.20.172] has left #lisp 18:46:40 gravicappa [~gravicapp@ppp91-77-174-77.pppoe.mtu-net.ru] has joined #lisp 18:46:57 tali713` [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has joined #lisp 18:47:54 -!- mathrick [~mathrick@83.1.168.198] has quit [Ping timeout: 260 seconds] 18:48:01 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 18:49:21 jewel [~jewel@196-215-16-235.dynamic.isadsl.co.za] has joined #lisp 18:51:00 LiamH [~healy@pool-108-45-22-54.washdc.east.verizon.net] has joined #lisp 18:52:32 -!- antonv [5d7d31fe@gateway/web/freenode/ip.93.125.49.254] has quit [Ping timeout: 265 seconds] 18:52:46 -!- tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:52:46 -!- tali713` is now known as tali713 18:53:50 Daditos [~kvirc@unaffiliated/daditos] has joined #lisp 18:56:17 -!- rme [rme@B335DC6A.78A1BA07.699BA7A6.IP] has quit [Quit: rme] 18:56:18 -!- rme [~rme@50.43.148.59] has quit [Quit: rme] 18:56:37 -!- FreeArtMan [~FreeArtMa@93.177.213.54] has quit [Quit: 1/0] 19:06:05 -!- nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has quit [Ping timeout: 252 seconds] 19:08:21 bege [~bege@S0106001d7e5132b0.ed.shawcable.net] has joined #lisp 19:09:08 -!- gensym [~user@dslb-088-071-149-049.pools.arcor-ip.net] has quit [Ping timeout: 245 seconds] 19:14:25 -!- Bike [~Glossina@71-38-158-198.ptld.qwest.net] has quit [Ping timeout: 260 seconds] 19:16:11 Bike [~Glossina@71-38-158-198.ptld.qwest.net] has joined #lisp 19:17:01 sellout- [~Adium@c-76-105-139-195.hsd1.or.comcast.net] has joined #lisp 19:17:52 Bike_ [~Glossina@71-38-158-198.ptld.qwest.net] has joined #lisp 19:17:57 -!- doritos [~joshua@c-76-118-155-244.hsd1.ct.comcast.net] has quit [Ping timeout: 255 seconds] 19:18:02 -!- Bike [~Glossina@71-38-158-198.ptld.qwest.net] has quit [Disconnected by services] 19:18:06 -!- Bike_ is now known as Bike 19:18:22 pers [~user@96-25-162-104.gar.clearwire-wmx.net] has joined #lisp 19:21:03 -!- H4ns [5b3d4eed@gateway/web/freenode/ip.91.61.78.237] has quit [Ping timeout: 265 seconds] 19:25:07 paul0 [~user@187.112.69.237] has joined #lisp 19:29:23 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 19:29:23 attila_lendvai1 [~attila_le@2.132.32.138] has joined #lisp 19:29:23 -!- attila_lendvai1 is now known as attila_lendvai 19:29:24 -!- attila_lendvai [~attila_le@2.132.32.138] has quit [Changing host] 19:29:24 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 19:30:25 attila_lendvai1 [~attila_le@2.132.32.138] has joined #lisp 19:30:36 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 19:30:56 wbooze` [~levgue@xdsl-78-35-164-84.netcologne.de] has joined #lisp 19:31:03 attila_lendvai [~attila_le@2.132.32.138] has joined #lisp 19:31:03 -!- attila_lendvai [~attila_le@2.132.32.138] has quit [Changing host] 19:31:03 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 19:31:51 homie` [~levgue@xdsl-78-35-164-84.netcologne.de] has joined #lisp 19:32:25 how do i catch simple-file-error 19:32:31 like the one when i do 19:32:47 (with-open-file (in "filenamethatdoesn't exists))) 19:33:12 -!- homie [~levgue@xdsl-84-44-155-130.netcologne.de] has quit [Ping timeout: 240 seconds] 19:33:25 -!- wbooze [~levgue@xdsl-84-44-155-130.netcologne.de] has quit [Ping timeout: 240 seconds] 19:33:33 Farzad [~root@46.225.122.16] has joined #lisp 19:33:44 hi guys 19:33:53 -!- homie` [~levgue@xdsl-78-35-164-84.netcologne.de] has quit [Client Quit] 19:34:06 -!- wbooze` [~levgue@xdsl-78-35-164-84.netcologne.de] has quit [Client Quit] 19:34:13 can someone help me with a problem with hunchentoot? 19:34:31 handler-bind http://www.lispworks.com/documentation/HyperSpec/Body/m_handle.htm 19:34:43 lnostdal_ [~lnostdal@ti0030a380-dhcp3702.bb.online.no] has joined #lisp 19:34:43 troydm: :if-does-not-exist? 19:35:01 no i need to handle simple-file-error 19:35:34 -!- manuel_ [~manuel_@pD9FDE626.dip.t-dialin.net] has quit [Quit: manuel_] 19:35:39 i do (handler-case (with-open-file ...) (simple-file-error ())) 19:35:57 but it seems it's invalid 19:36:37 it says unknow type specifier simple-file-error 19:37:12 hello? newbie in distress here! :D 19:38:03 -!- tali713 [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has quit [Ping timeout: 260 seconds] 19:38:53 Farzad, if you don't tell us what your problem is we can't help you 19:39:08 ah sry 19:39:11 # is not a binary input stream. 19:39:21 only when i POST a method 19:39:36 works fine if i use the GET method 19:39:42 wbooze [~levgue@xdsl-78-35-164-84.netcologne.de] has joined #lisp 19:41:26 it happens when i create a page with a form on it and when i send the form with the GET method it works fine but with the POST method i get this err 19:41:42 Farzad: is that inside your handler? 19:41:58 no before my handler is called 19:42:03 Farzad: what are you trying to do with stream? 19:42:11 my handler is really simple 19:42:13 homie [~levgue@xdsl-78-35-164-84.netcologne.de] has joined #lisp 19:42:28 i just print some message, it happens before that 19:43:01 Farzad: does your handler get called? 19:43:11 no 19:43:17 hm 19:43:46 lemme send u the back trace maybe it could help 19:44:02 (HUNCHENTOOT::PARSE-CONTENT-TYPE "application/x-www-form-urlencoded" T) 19:44:03 -!- super__ [~super_@unaffiliated/lolsuper-/x-9881387] has quit [Quit: Leaving] 19:44:20 Farzad: please paste it somewhere 19:44:33 (CHUNGA:READ-TOKEN #) 19:44:58 ((FLET SWANK-BACKEND:CALL-WITH-DEBUGGING-ENVIRONMENT) #) 19:44:58 1: (SWANK::DEBUG-IN-EMACS #>) 19:44:59 Locals: 19:44:59 SB-DEBUG::ARG-0 = # 19:44:59 2: (SWANK-BACKEND::CALL-WITH-BREAK-HOOK # #) 19:45:01 3: ((FLET SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK) # #) 19:45:04 4: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-OUTPUT* . #) (*STANDARD-INPUT* . #) (*TRACE-OUTPUT* . #) (*ERROR-OUTPUT* . #) (*DEBUG-IO* . #) (*QUERY-IO* . #) ...) #) 19:45:07 5: (SWANK:INVOKE-SLIME-DEBUGGER #>) 19:45:10 6: (SWANK-BACKEND::CALL-WITH-BREAK-HOOK # #) 19:45:13 7: ((FLET SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK) # #) 19:45:16 8: (SWANK:SWANK-DEBUGGER-HOOK #> #) 19:45:19 9: (SB-DEBUG::RUN-HOOK *DEBUGGER-HOOK* #>) 19:45:21 Farzad: please don't do that. That's what paste sites are for. 19:45:22 10: (INVOKE-DEBUGGER #>) 19:45:27 11: ((SB-PCL::FAST-METHOD HUNCHENTOOT:MAYBE-INVOKE-DEBUGGER (T)) ..) 19:45:29 12: (SIGNAL #>) 19:45:32 13: (ERROR ..) 19:45:34 14: (SB-KERNEL:ILL-BIN #) 19:45:36 15: (READ-BYTE # NIL NIL) 19:45:38 16: (CHUNGA:READ-CHAR* # NIL NIL) 19:45:40 17: (CHUNGA:PEEK-CHAR* 19:45:42 sry this is the whole thing 19:45:44 dunno any :[ 19:46:12 can u tell me one of those? 19:46:19 paste.lisp.org, as you can see from the topic. 19:47:02 http://pastebin.com/WWATWQRc 19:47:12 that's what i'm trying to do 19:47:20 no how do i catch that simple-file-error 19:47:22 ? 19:48:03 troydm: that should work. what problem do you see? 19:48:41 troydm: simple-file-error is in the sb-int package. 19:48:45 akovalenko: it says unknown type specifier simple-file-error 19:48:47 rme [~rme@50.43.148.59] has joined #lisp 19:49:04 Farzad: is your handler defined correctly? A handler that deals with post has to be declared that way 19:49:04 troydm: use file-error 19:49:08 Bike: i've tryed writing sb-init:simple-file-error but it says no such package exists 19:49:14 int, not init. 19:49:23 troydm: simple-file-error is an implementation-specific subclass, file-error is standardized 19:49:30 dont know about that... 19:49:34 akovalenko:   19:49:40 its just a prefix handler 19:50:01 Farzad: check the manual :-) 19:50:27 troydm: If you are going to swear, pleas do so in ascii :-) 19:50:38 prxq: ok :) 19:51:58 ISF [~ivan@143.106.196.27] has joined #lisp 19:52:21 ok i suppose thats been my problem :D now how do i make slime highlight opening and closing parans when i put cursor near them? 19:53:15 troydm: there are many such simple-* things in sbcl, btw: they have simple-error and -error as superclasses. The former allows condition types to be defined without custom :report code -- signalling code just passes appropriate :format-string and :format-arguments instead. 19:53:48 Farzad: that's weird, I'd expected it to do so by itself. Anway, check in the options menu 19:53:49 Farzad: show-paren-mode should do it, i think 19:54:01 it's part of emacs no slime 19:54:04 akovalenko: thx 19:54:07 no/not* 19:54:12 Kron_ [~Kron@69.166.20.172] has joined #lisp 19:54:25 Farzad: second option from the top in Options. Be sure to save the options. 19:55:15 Farzad: M-x show-paren-mode to switch it on 19:56:26 will this option presist or i have to do it in the .emacs? 19:57:02 If you do it via the menu, and then hit the save options thing, it will save it to .emacs 19:57:53 cant find it in the menu, can u tell me the parent and sub group? 19:59:00 When I go to the options menu, it is the second item from the top. I mean Options in the menu bar of emacs. 19:59:01 if you are talking about show-paren-mode then just at (show-paren-mode 1) to your .emacs 19:59:06 at/add 19:59:58 ok got it thanks alot :) 20:00:24 benkard_ [~benkard@mnch-5d85bcf7.pool.mediaWays.net] has joined #lisp 20:00:29 np 20:02:32 -!- rme [rme@B335DC6A.78A1BA07.699BA7A6.IP] has quit [Quit: rme] 20:02:33 -!- rme [~rme@50.43.148.59] has quit [Quit: rme] 20:03:32 -!- benkard [~benkard@mnch-4d04d307.pool.mediaWays.net] has quit [Ping timeout: 244 seconds] 20:03:32 -!- benkard_ is now known as benkard 20:05:31 should i use define-easy-handler instead of create-prefix-dispatcher? which one is right for a POST method? 20:09:09 I don't know, but maybe you should check the examples that come with the hunchentoot installation 20:09:37 define-easy-handler might work 20:09:49 -!- Kron_ [~Kron@69.166.20.172] has quit [Quit: Kron awayyy!] 20:10:29 i think i saw some test suit or something about hunchentoot, where is it and how do i use it? 20:11:29 check the manual :) 20:11:54 found it, sry if i'm so dumb :P 20:12:05 anvandare [~anvandare@78-22-145-24.access.telenet.be] has joined #lisp 20:15:42 tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has joined #lisp 20:17:36 nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has joined #lisp 20:17:47 -!- jewel [~jewel@196-215-16-235.dynamic.isadsl.co.za] has quit [Ping timeout: 258 seconds] 20:19:42 nyef [~nyef@c-174-63-105-188.hsd1.ma.comcast.net] has joined #lisp 20:24:13 -!- xjrn [~chatzilla@c-76-21-48-114.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 20:26:23 -!- Jasko2 [~tjasko@c-174-59-204-245.hsd1.pa.comcast.net] has quit [Ping timeout: 252 seconds] 20:27:41 dino089 [~dino@bl5-152-120.dsl.telepac.pt] has joined #lisp 20:27:53 3 on 3 server off <<<<<<<< 20:27:53 benkard_ [~benkard@mnch-5d8560ac.pool.mediaWays.net] has joined #lisp 20:28:05 -!- dino089 [~dino@bl5-152-120.dsl.telepac.pt] has quit [Client Quit] 20:28:12 situ [~quassel@223.180.44.67] has joined #lisp 20:28:13 xjrn [~chatzilla@c-76-21-48-114.hsd1.ca.comcast.net] has joined #lisp 20:30:24 -!- benkard [~benkard@mnch-5d85bcf7.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 20:30:24 -!- benkard_ is now known as benkard 20:30:30 maxm-: are you there? How can I derive a class to several parent classes? 20:30:48 -!- attila_lendvai1 [~attila_le@2.132.32.138] has quit [Ping timeout: 240 seconds] 20:31:09 maxm-: class VideoItem 20:31:09 : public QAbstractVideoSurface, 20:31:09 public QGraphicsItem 20:31:15 Jasko2 [~tjasko@c-174-59-204-245.hsd1.pa.comcast.net] has joined #lisp 20:31:17 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has left #lisp 20:31:26 Posterdati: It's not a matter of just listing all of the parent classes in your DEFCLASS form? 20:32:05 (I suppose expecting things to correspond to standard Lisp behavior is a bit much...) 20:32:44 nyef (:qt-superclass "QAbstractVideoSurface, QGraphicsItem")) 20:32:59 ... lovely. 20:33:40 I'm trying to find a positive to such an interface, but it's really not coming to me. 20:33:40 or like standard clos 20:34:00 -!- angavrilov [~angavrilo@217.71.227.181] has quit [Ping timeout: 260 seconds] 20:34:06 -!- situ [~quassel@223.180.44.67] has quit [Remote host closed the connection] 20:34:54 Maybe I should just get back to hacking up SBCL's build logic. 20:37:35 nyef: I was asking to you, I don't know if specifing that (:qt-superclass "QAbstractVideoSurface, QGraphicsItem")) in my class is correct 20:37:38 Farzad: what impl are you using? 20:37:46 sbcl 20:37:54 latest 20:38:21 Yeah, I'd just expect the standard CLOS multiple-inheritance stuff to tend to Do The Right Thing, but at the same time I've never worked with a C++ system that way before. 20:38:23 Farzad: maybe the test site works if you restart sbcl and load the packages into a clean image. 20:39:26 its clean, all i do is this: (asdf:load-system :hunchentoot) start a server and run the test 20:39:58 and then the post test bombs? 20:40:05 yep 20:40:28 what happens if you delete all fasls that are lying around? 20:40:45 and reload into a clean state? 20:41:09 ok u give me the command and i do so :P how? there are many 20:42:58 find . -name \*.fasl -print -delete 20:42:59 spacefrogg [~spacefrog@unaffiliated/spacefrogg] has joined #lisp 20:43:07 -!- realitygrill [~realitygr@thewall.novi.lib.mi.us] has quit [Quit: realitygrill] 20:43:14 issued in the right place, though. Be careful. 20:43:23 ok 20:44:09 done lemme check again 20:45:31 tali713` [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has joined #lisp 20:47:56 no the same error again 20:49:14 -!- s0ber [~s0ber@111-240-164-149.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 20:50:37 Farzad: do you have some coding related options in your .sbclrc? 20:50:55 lemme check 20:50:58 s0ber_ [~s0ber@111-240-174-73.dynamic.hinet.net] has joined #lisp 20:51:03 -!- s0ber_ is now known as s0ber 20:51:50 no its just a bunch of asdf:*central-registry* pushes 20:52:12 Farzad: what linux are you using? 20:52:19 ubuntu 20:52:31 -!- gaidal [~gaidal@59.42.115.53] has quit [Ping timeout: 248 seconds] 20:52:46 Farzad: i have no idea why it does not work 20:53:44 ok well i think the gods are angry with me that should be the reason ;) thank for your time 20:53:56 thanks* 20:54:05 ianmcorvidae|alt [~ianmcorvi@pool-96-233-185-29.spfdma.east.verizon.net] has joined #lisp 20:54:05 -!- ianmcorvidae|alt [~ianmcorvi@pool-96-233-185-29.spfdma.east.verizon.net] has quit [Changing host] 20:54:05 ianmcorvidae|alt [~ianmcorvi@fsf/member/ianmcorvidae] has joined #lisp 20:54:15 Joreji [~thomas@vpn-ho1.unidsl.de] has joined #lisp 20:54:28 Farzad: np and good luck 20:54:40 -!- ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has quit [Disconnected by services] 20:54:45 -!- ianmcorvidae|alt is now known as ianmcorvidae 20:56:56 _schulte_ [~eschulte@c-174-56-1-147.hsd1.nm.comcast.net] has joined #lisp 20:57:26 -!- Farzad [~root@46.225.122.16] has quit [Quit: Leaving] 20:59:08 -!- Daditos [~kvirc@unaffiliated/daditos] has quit [Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/] 20:59:12 -!- Salamander [~Salamande@ppp118-210-195-170.lns20.adl6.internode.on.net] has quit [Ping timeout: 240 seconds] 21:00:24 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #lisp 21:01:17 realitygrill [~realitygr@76.226.206.250] has joined #lisp 21:02:04 -!- rgrinberg [~rudi@24.52.246.61] has quit [Ping timeout: 258 seconds] 21:02:24 -!- Jasko [~tjasko@c-174-59-204-245.hsd1.pa.comcast.net] has quit [Ping timeout: 240 seconds] 21:05:37 -!- drake01 [~drake01@unaffiliated/drake01] has quit [Ping timeout: 252 seconds] 21:05:47 nikodemus: hi 21:05:55 nikodemus: do you program with commonqt? 21:06:09 nope 21:06:36 nikodemus: I need help deriving my class from two parent classes 21:08:04 QAbstractVideoSurface and QGraphicsItem 21:08:43 z1l0g [~jgw@216.99.214.24] has joined #lisp 21:09:08 Posterdati: what have you tried, and what did happen? 21:09:08 -!- z1l0g [~jgw@216.99.214.24] has quit [Client Quit] 21:09:42 (:qt-superclass "QAbstractVideoSurface") 21:09:42 (:qt-superclass "QGraphicsItem")) 21:10:07 (make-instance 'video-item) 21:10:13 z1l0g [~jgw@216.99.214.24] has joined #lisp 21:10:17 and it goes poof 21:10:18 Multiple :QT-SUPERCLASS options in DEFCLASS VIDEO-ITEM. 21:10:57 -!- easyE [Laomllf8Q5@panix2.panix.com] has quit [Ping timeout: 276 seconds] 21:11:12 two options. One, do the derivation in two steps, one for each class. The other one, check if there is a different option / way to call that option that works. 21:11:22 (defclass video-item (QAbstractVideoSurface QGraphicsItem) 21:11:23 ... 21:11:49 The class 21:11:49 # was 21:11:49 specified as a super-class of the class #, 21:11:49 but the meta-classes 21:11:49 # and 21:11:50 # are incompatible. Define a method 21:11:52 for SB-MOP:VALIDATE-SUPERCLASS to avoid this error. 21:11:58 Salamander [~Salamande@ppp118-210-195-170.lns20.adl6.internode.on.net] has joined #lisp 21:12:20 Khisanth [~Khisanth@50.14.244.111] has joined #lisp 21:12:25 Posterdati: no idea. 21:12:52 and for multiline output please use a pastebin 21:13:00 ok 21:15:56 H4ns [5b3d4eed@gateway/web/freenode/ip.91.61.78.237] has joined #lisp 21:18:10 Jasko [~tjasko@c-174-59-204-245.hsd1.pa.comcast.net] has joined #lisp 21:18:47 francogrex [~user@109.130.100.178] has joined #lisp 21:19:59 Posterdati: did you try (:qt-superclass ("QAbstractVideoSurface" "QGraphicsItem"))? 21:20:04 (i'm guessing here) 21:20:05 yes 21:20:10 not working 21:20:24 (:qt-superclass (list "..." "...")) 21:20:25 too 21:20:37 maybe try the mailing list then. 21:20:52 Posterdati: Why is qabstractvideosurface not defined as a class? 21:20:56 QAbstractVideoSurface doesn't exist at all in commonqt 21:21:10 -!- z1l0g [~jgw@216.99.214.24] has quit [Quit: That's it for today] 21:21:31 this is the orginal c++ code http://doc.qt.nokia.com/stable/multimedia-videographicsitem-videoitem-h.html 21:23:36 -!- blackwol` [~blackwolf@ool-45763eb0.dyn.optonline.net] has quit [Ping timeout: 240 seconds] 21:24:04 Okay, so that might be your first problem. 21:24:08 -!- ISF [~ivan@143.106.196.27] has quit [Ping timeout: 259 seconds] 21:24:22 -!- sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has quit [Remote host closed the connection] 21:24:41 to get qabstractvideosurface to work in lisp 21:24:58 sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has joined #lisp 21:25:40 prxq: the question is: is qabstractvideosurface fundamental to show a camera capture in a simple window? 21:29:03 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:30:34 Adlai [~adlai@93-173-29-54.bb.netvision.net.il] has joined #lisp 21:30:36 -!- Adlai [~adlai@93-173-29-54.bb.netvision.net.il] has quit [Changing host] 21:30:36 Adlai [~adlai@unaffiliated/adlai] has joined #lisp 21:31:40 drake01 [~drake01@unaffiliated/drake01] has joined #lisp 21:32:55 prxq, nyef: solved! 21:33:18 Posterdati: Congratulations. What was the eventual solution? 21:33:36 nyef: using qt 4.6 example :) 21:33:43 Ah. 21:33:50 nyef: this was a 4.7 example 21:34:03 whoops :-) 21:35:12 -!- zenlunatic [~justin@c-68-48-40-231.hsd1.md.comcast.net] has quit [Ping timeout: 240 seconds] 21:35:26 prxq: I checked I've got 4.6 installed 21:35:59 noooooooooo 21:36:14 4.6 has got QAbstractVideoSurface too 21:36:42 lanthan [~ze@p54B7C0E0.dip.t-dialin.net] has joined #lisp 21:36:57 Okay, time for you to figure out how to extend commonqt? 21:42:47 -!- Jeanne-Kamikaze [~Jeanne-Ka@210.Red-88-6-232.staticIP.rima-tde.net] has quit [Remote host closed the connection] 21:43:04 Jeanne-Kamikaze [~Jeanne-Ka@210.Red-88-6-232.staticIP.rima-tde.net] has joined #lisp 21:43:28 nyef: or change platform 21:44:49 Kron_ [~Kron@69.166.20.172] has joined #lisp 21:46:58 -!- tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:46:59 -!- tali713` is now known as tali713 21:47:15 Adlai` [~adlai@unaffiliated/adlai] has joined #lisp 21:47:59 -!- francogrex [~user@109.130.100.178] has quit [Remote host closed the connection] 21:51:32 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Ping timeout: 260 seconds] 21:51:33 zenlunatic [~justin@c-68-48-40-231.hsd1.md.comcast.net] has joined #lisp 21:52:23 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Quit: Leaving] 21:54:28 -!- Jeanne-Kamikaze [~Jeanne-Ka@210.Red-88-6-232.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 21:54:48 nyef: these are the kind of things that force me to go back to c/c++ :) 21:55:04 What, don't like extending commonqt? 21:55:34 nyef: but how? I can barely write a working Lisp program 21:55:36 Can't be as bad as bug-hunting inheritance problems in some of the GTK bindings, surely? 21:56:00 -!- Davidbrcz__ [~david@ANantes-151-1-26-212.w83-195.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 21:56:08 Find some other class that commonqt wraps, and use it as a template? 21:56:37 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 240 seconds] 21:56:40 should my DSL have implicitly curried functions? 21:56:41 nyef: I should have QAbstractVideoSurface sources too 21:56:45 this is a very important issue to me 21:57:39 Nisstyre: It should, or it shouldn't. Use whichever happens to be more convenient and maintainable for what you're doing. 21:57:54 nyef: I'm thinking I should just because it would make it more flexible 21:58:04 so declare optimize speed 3 saftey 0 slows down a stupid list building loop by like 75% 21:58:07 but I don't know how maintainable it will make it 21:58:08 Are you going to use that flexibility? 21:58:15 nyef: sometimes yes 21:59:20 I have learned something, but not sure what. 21:59:26 So now the question becomes "is the flexibility worth the maintenance burden of implicit currying"? 21:59:33 nyef: indeed 21:59:41 maybe I'll try to implement it and see how it looks 21:59:55 Right. When faced with insufficient data, get more data. 22:00:03 it's a simple prefix notation language 22:00:16 derekv: Slows down, really? 22:00:23 -!- SegFaultAX [~SegFaultA@c-98-248-241-85.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 22:00:29 nyef: no time to extend 22:00:45 derekv: The obvious question is, "why"? And one tool to use is DISASSEMBLE. 22:02:51 lutok [~user@ip98-169-240-101.dc.dc.cox.net] has joined #lisp 22:03:21 -!- pers [~user@96-25-162-104.gar.clearwire-wmx.net] has quit [Remote host closed the connection] 22:03:56 nyef, mostly likely i'm doing something silly 22:04:33 -!- paul0 [~user@187.112.69.237] has quit [Ping timeout: 245 seconds] 22:05:09 derekv: And if you're not, you have the opportunity to file a bug, and if you are you have the opportunity to find out more about what you're doing that's silly and what its consequences are, which may wind up being useful information down the line. 22:07:31 nyef, yep. actually i'm not reproducing it now ... =/ trying to get it to re-occur 22:07:47 quadrate [~james@24-155-240-36.dyn.grandenetworks.net] has joined #lisp 22:07:49 ngz [~user@201.144.80.79.rev.sfr.net] has joined #lisp 22:07:50 Blame a transient spike in the system load? 22:08:41 *LiamH* digs out from under nikodemus' productivity 22:08:44 nyef: maybe I could use v4l2 22:08:49 rgrinberg [~rudi@24.52.246.61] has joined #lisp 22:09:40 more like the reverse ... i took out the declare, and the test ran faster, put it back in, ran slower, took it back out, ran faster, started messing with the declare, slower, took it back out, slower 22:09:45 can't get the faster result again 22:12:30 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 22:12:30 ... GC effects, cache effects, GC effects causing cache effects... 22:12:45 crap could be something like cpu throttling, i'm not experianced with benchmarking 22:12:47 and the chip doing weird things 22:12:50 cesarbp [~cbolano@189.227.234.136] has joined #lisp 22:12:54 just something i wanted to do with my saturday heh 22:13:04 derekv: it has gotten harder over time. 22:13:32 ... benchmarking is a form of graffiti, isn't it? 22:13:52 heh 22:14:06 yep, well especially since microbenchmarking has less relationship to the overall system probably than it ever did, which was limited 22:14:06 yes the lame ones score low 22:14:18 with games you have fps, with servers you have requests per second 22:14:35 -!- prxq [~mommer@mnhm-590c1a8c.pool.mediaWays.net] has quit [Quit: good night] 22:15:20 doritos [~joshua@c-76-118-155-244.hsd1.ct.comcast.net] has joined #lisp 22:16:27 bbl 22:17:20 -!- pon1980 [~pon1980@h195n2-haes-a12.ias.bredband.telia.com] has quit [Read error: Operation timed out] 22:19:35 -!- cyrillos [~cyrill@188.134.33.194] has quit [Ping timeout: 260 seconds] 22:19:54 -!- rtoym [~chatzilla@c-67-180-54-112.hsd1.ca.comcast.net] has quit [Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928134238]] 22:20:11 nyef: I'm looking for cl-v4l2 22:20:23 nyef: docs 22:20:34 Good luck? 22:21:16 -!- Adlai` is now known as Adlai 22:21:20 One option, if you can't find any, or the ones you find aren't any good, is to go all the way down the stack, to the point of reading the linux kernel sources. 22:21:27 I've had to do that a time or two for things. 22:21:54 brandelune_ [~suzume@pl316.nas982.takamatsu.nttpc.ne.jp] has joined #lisp 22:23:39 Of course, whenever I've ended up at the point of looking at the kernel documentation and source, I've also ended up just tossing most of the upper layers and writing a binding directly to the kernel API. 22:26:16 (Simple example: lh-usb. A few struct definitions with sb-alien, some defconstants, and sb-unix:ioctl.) 22:31:35 -!- ngz [~user@201.144.80.79.rev.sfr.net] has quit [Read error: Connection reset by peer] 22:32:30 nyef: I don't know how to solve that 22:33:10 nyef: cl-v4l2 and cl-opengl are without docs :( and examples are quit hard 22:33:22 pon1980 [~pon1980@h195n2-haes-a12.ias.bredband.telia.com] has joined #lisp 22:33:48 ngz [~user@201.144.80.79.rev.sfr.net] has joined #lisp 22:35:51 -!- pon1980 [~pon1980@h195n2-haes-a12.ias.bredband.telia.com] has quit [Read error: Connection reset by peer] 22:36:01 chturne [~charles@2.26.61.222] has joined #lisp 22:36:37 Posterdati: that is probably because their interface is more or less the same as that which they bind. 22:37:37 -!- lutok [~user@ip98-169-240-101.dc.dc.cox.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:39:12 -!- sdemarre [~serge@91.176.62.153] has quit [Ping timeout: 240 seconds] 22:39:19 Ralith: well commonqt missing some features at all 22:39:57 you didn't say anything about commonqt :P 22:40:54 Ralith: I was sure that QAbstractVideoSurface was a commonqt class too :( 22:41:17 Ralith: so there are differences between c/c++ libraries and the corresponding Lisp 22:41:39 that has no bearing on cl-opengl and cl-v4l2. 22:41:55 Ralith: I hope 22:41:58 Ralith: I hope 22:42:10 I am getting the feeling that you hope 22:42:12 is that true 22:42:30 Cam [~x@trivialand/staff/Cam] has joined #lisp 22:42:39 Kron [~Kron@69.166.25.219] has joined #lisp 22:42:56 Ralith: if there were docs I would not only hope, but be sure 22:43:05 -!- Kron is now known as Guest46577 22:43:21 Farzad [~root@46.225.96.62] has joined #lisp 22:44:02 hi, where does the quicklisp put the downloaded stuff? 22:44:16 Posterdati: there is little incentive to write docs for cl-opengl when they would be almost identical to the C API docs. 22:44:24 -!- Kron_ [~Kron@69.166.20.172] has quit [Ping timeout: 240 seconds] 22:44:24 refer to the OpenGL spec instead. 22:44:37 if there's a divergence that bothers you, fix it and submit a pull request 22:44:43 Ralith: as I did for qt 22:45:42 Ralith: but qt is too hard too fix, a complete class is missing and I'm not so expert to write the required code 22:45:52 okay? 22:46:36 pitlimit [~pitlimit@unaffiliated/pitlimit] has joined #lisp 22:46:57 I want to access the set of values, or node where ABC is (9 4) ... the list is (#S(NODE :ABC (9 2) :TIME 1) #S(NODE :ABC (9 4) :TIME 20)) ... how do I do that? 22:47:09 my only complain is that I can't port the videoplayer example app from c++ to Lisp :) http://doc.qt.nokia.com/4.6/multimedia-videographicsitem.html 22:47:19 -!- MoALTz [~no@host-92-18-7-192.as13285.net] has quit [Read error: Connection reset by peer] 22:47:34 -!- Brendan_T [~brendan@46.105.251.111] has quit [Remote host closed the connection] 22:47:38 pitlimit: Something based on FIND-IF, maybe? 22:47:47 Or REMOVE-IF-NOT? 22:47:49 MoALTz [~no@host-92-18-7-192.as13285.net] has joined #lisp 22:47:49 Farzad: e.g. (ql-dist:local-archive-file (ql-dist:release (ql-dist:find-system "swank"))) gives you a local .tgz file pathname for "swank" system 22:47:52 so... using something like member doesn't work? 22:48:10 Ralith: my only complain is that I can't port the videoplayer example app from c++ to Lisp :) http://doc.qt.nokia.com/4.6/multimedia-videographicsitem.html 22:48:14 MEMBER doesn't do what you think it does. 22:48:37 (Well, it MIGHT do what you think it does, but it doesn't seem appropriate for this case.) 22:48:44 pitlimit: see :key argument description (member, find, and many other standard functions support it) 22:49:09 I see it... I just a not sure what key should be 22:49:18 should it be... node-abc? 22:49:29 Probably, yes. 22:49:35 #'node-abc 22:50:12 akovalenko, if I use member, the membership would be qualified with eql? 22:50:33 Posterdati: you may want to tell someone who cares about commonqt. 22:50:36 pitlimit: ..by default, unless you give :test also 22:50:39 :) 22:50:43 thanks!!!! 22:50:45 i.e. not me 22:51:13 pitlimit: subsections of http://l1sp.org/cl/17.2 describe that test & key stuff in details. 22:51:28 Posterdati: and it works when you copy the C++ code? There's a notice that qabstractvideosurface isn't in the "QT GUI Framework Edition", whatever that means, so maybe you just don't have the right libraries? 22:51:28 akovalenko, thanks :) 22:52:06 -!- askatasuna [~askatasun@190.97.34.146] has quit [Quit: WeeChat 0.3.6] 22:52:14 Bike: it is missing in commonqt 22:53:00 C++ libraries, I meant. 22:53:27 Bike: I didn't test on c++, why should I? 22:53:30 -!- brandelune_ [~suzume@pl316.nas982.takamatsu.nttpc.ne.jp] has quit [Quit: brandelune_] 22:54:00 -!- Vivitron [~user@pool-108-7-56-243.bstnma.fios.verizon.net] has quit [Ping timeout: 240 seconds] 22:54:56 Brendan_T [~brendan@46.105.251.111] has joined #lisp 22:56:21 Bike: however the c++ version works 22:56:49 guess I was wrong, then. 22:56:54 -!- doritos [~joshua@c-76-118-155-244.hsd1.ct.comcast.net] has quit [Ping timeout: 276 seconds] 22:57:11 jack_rabbit [~jackrabbi@c-98-206-52-111.hsd1.il.comcast.net] has joined #lisp 22:59:36 -!- lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has quit [Ping timeout: 240 seconds] 23:00:19 -!- spacefrogg [~spacefrog@unaffiliated/spacefrogg] has quit [Ping timeout: 258 seconds] 23:01:47 -!- hagish [~hagish@p54981DE8.dip.t-dialin.net] has quit [Quit: Leaving] 23:03:20 -!- drake01 [~drake01@unaffiliated/drake01] has quit [Ping timeout: 244 seconds] 23:04:12 benkard_ [~benkard@mnch-5d856bfb.pool.mediaWays.net] has joined #lisp 23:04:12 -!- duomo [~duomo@cpe-69-204-169-245.nycap.res.rr.com] has quit [Quit: Leaving...] 23:04:13 thank you all people, good night 23:04:24 Posterdati: Sleep ell. 23:04:24 -!- Brendan_T [~brendan@46.105.251.111] has quit [Ping timeout: 240 seconds] 23:04:26 Wee. 23:04:28 Err. 23:04:32 Sleep well. 23:04:44 nyef: you too, may the repl be with you 23:04:49 lol 23:04:50 Heh. 23:05:00 duomo [~duomo@cpe-69-204-169-245.nycap.res.rr.com] has joined #lisp 23:05:16 nyef: I'll try my commonqt adventure tomorrow, hope to fix my problems :) 23:05:18 bye 23:07:08 I'm trying to get out the node values for where ABC has teh value (9 2) in the list (#S(NODE :ABC (9 2) :TIME 1) #S(NODE :ABC (9 4) :TIME 20)) 23:07:21 still trying? 23:07:23 I can do it for a simple list, but with the : values, I'm getting a bit confused 23:07:24 yes 23:07:28 I made member work 23:07:59 -!- benkard [~benkard@mnch-5d8560ac.pool.mediaWays.net] has quit [Ping timeout: 248 seconds] 23:08:09 but with remove-if-not... this is not a plist so I don't quite know how to specify I want the node whose value of ABC is (9 2)) 23:08:10 (remove '(9 2) :test (complement #'equal) :key #'node-abc) 23:08:28 Oh... I did not know I could use test and key on that function as well 23:09:12 -!- benkard_ [~benkard@mnch-5d856bfb.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 23:09:13 well, when you read http://l1sp.org/cl/17.2 #|:-)|# there was a function list, remember? 23:09:22 :( 23:09:23 yes thanks 23:09:54 -!- jtza8 [~jtza8@wbs-196-2-108-147.wbs.co.za] has quit [Ping timeout: 258 seconds] 23:12:31 jtza8 [~jtza8@41.56.13.120] has joined #lisp 23:13:19 -!- serichsen [~user@hmbg-4d0683d7.pool.mediaWays.net] has quit [Quit: Good night!] 23:13:42 marsell [~marsell@120.22.59.38] has joined #lisp 23:13:45 doritos [~joshua@c-76-118-155-244.hsd1.ct.comcast.net] has joined #lisp 23:14:14 -!- todun [~todun@seas587.wireless-pennnet.upenn.edu] has quit [Quit: :q] 23:14:28 -!- Farzad [~root@46.225.96.62] has quit [Quit: Leaving] 23:17:57 -!- duomo [~duomo@cpe-69-204-169-245.nycap.res.rr.com] has quit [Quit: Linkinus - http://linkinus.com] 23:19:30 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Remote host closed the connection] 23:20:36 OliverUv_ [fuckident@valkyrie.underwares.org] has joined #lisp 23:20:36 -!- OliverUv_ [fuckident@valkyrie.underwares.org] has quit [Client Quit] 23:21:01 -!- ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has quit [Ping timeout: 240 seconds] 23:21:15 benkard [~benkard@mnch-5d856bfb.pool.mediaWays.net] has joined #lisp 23:23:58 -!- X-Scale [email@89.180.150.131] has quit [Remote host closed the connection] 23:25:08 ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has joined #lisp 23:26:34 -!- ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has quit [Read error: Connection reset by peer] 23:26:53 ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has joined #lisp 23:32:30 askatasuna [~askatasun@190.97.54.87] has joined #lisp 23:34:00 -!- jtza8 [~jtza8@41.56.13.120] has quit [Ping timeout: 240 seconds] 23:37:22 -!- gravicappa [~gravicapp@ppp91-77-174-77.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 23:39:30 -!- LiamH [~healy@pool-108-45-22-54.washdc.east.verizon.net] has quit [Quit: Leaving.] 23:41:38 -!- ngz [~user@201.144.80.79.rev.sfr.net] has quit [Ping timeout: 245 seconds] 23:44:25 Adlai [~adlai@unaffiliated/adlai] has joined #lisp 23:47:53 -!- urandom__ [~user@p548A5D15.dip.t-dialin.net] has quit [Remote host closed the connection] 23:48:15 -!- doritos [~joshua@c-76-118-155-244.hsd1.ct.comcast.net] has quit [Ping timeout: 276 seconds] 23:49:36 -!- jack_rabbit [~jackrabbi@c-98-206-52-111.hsd1.il.comcast.net] has quit [Ping timeout: 240 seconds] 23:51:12 -!- benkard [~benkard@mnch-5d856bfb.pool.mediaWays.net] has quit [Quit: benkard] 23:51:23 doritos [doritos@c-76-118-155-244.hsd1.ct.comcast.net] has joined #lisp 23:55:41 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 23:57:26 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Remote host closed the connection] 23:57:30 X-Scale [email@2001:470:1f14:135b::2] has joined #lisp 23:57:39 Adlai [~adlai@unaffiliated/adlai] has joined #lisp 23:58:47 -!- quadrate [~james@24-155-240-36.dyn.grandenetworks.net] has quit [Quit: Leaving] 23:59:23 tritchey [~tritchey@c-68-51-88-12.hsd1.in.comcast.net] has joined #lisp 23:59:57 -!- chturne [~charles@2.26.61.222] has quit [Quit: To iterate is human, to recurse divine]