00:00:53 madnificent: I never encounter it in a significant way. 00:01:09 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 00:02:18 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #lisp 00:02:55 This: http://paste.lisp.org/display/126733 doesn't compile, and I'm wondering why 00:03:08 What does your compiler say? 00:03:21 -!- puchacz [~puchacz@87-194-5-99.bethere.co.uk] has quit [Ping timeout: 268 seconds] 00:04:13 Cosman246: I think you should look at your LET form. 00:05:03 ThomasH: I know something's wrong with it; I just don't know what 00:05:07 and how to fix it 00:05:11 What does your compiler say? 00:05:33 Read the error message!!! 00:05:40 Must... Not... Use... Spoon. 00:06:34 Cosman246: I wish I could hear your palm on your forehead when you find the error. :-P 00:06:48 the error message. 00:07:13 The error message says that it is an illegal function call 00:07:18 *Cosman246* facepalms 00:07:22 Good. 00:07:57 How should I fix it? 00:08:07 <01:01:52> Cosman246: I think you should look at your LET form. 00:08:11 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 00:08:40 *Cosman246* looks 00:08:46 Nope, still doesn't compile 00:09:00 What's a legal form? 00:09:28 Hm 00:09:44 Lisp is the simpliest of all programming language. 00:09:52 But for some people, it's too simple... 00:09:54 Cosman246: Don't feel bad, we're tormenting you because this type of problem pops up often and you should learn to identify it. I'm off to dinner. 00:10:24 ThomasH: ah 00:10:34 Cosman246: found it? 00:10:44 Cosman246: Does your editor highlight parenthesis? 00:10:45 Heh, it almost eluded me. Had to take a second look. :) 00:11:03 ThomasH: Nope 00:11:09 prxq: Nope 00:11:16 a legal form is either an atom, or a list whose first element is an operator. The operator can be either a special operator, a symbool denoting a macro, or function: a symbol denoting a function or a lambda form. Only the lambda form is a list. All the other operators are symbols! 00:11:24 Cosman246: That would help. 00:11:30 Now, find a list whose first element is not a symbol (around your LET)... 00:11:42 OK... 00:12:05 Cosman246: what editor are you wasting your t^H^H^H^H^H^H^H^H^H are you using? 00:12:13 Emacs with SLIME 00:12:28 huh? No paren highlighting? 00:12:46 prxq: paren highlighting doesn't help here if you don't know what you're doing wrong. 00:12:53 prxq: fwiw, his parens are balanced. 00:12:54 felideon: true 00:14:41 But the indentation is wrong. 00:15:03 Cosman246: success? 00:15:23 Wait, I'll be right back 00:16:09 kuzary [~who@gateway/tor-sasl/kuzary] has joined #lisp 00:16:45 OK, I'm back 00:17:35 so, I need to look for a lambda form? 00:17:50 Hmm, CCL's error message is a bit friendlier perhaps. ((let ((foo 'bar)) foo)) => Car of ((LET ((FOO 'BAR)) FOO)) is not a function name or lambda-expression. 00:18:44 ghuntley [~ghuntley@14-200-9-232.static.tpgi.com.au] has joined #lisp 00:18:48 Ah! 00:19:07 *Cosman246* headdesks 00:19:51 hehe :-) 00:20:34 Sorry to ruin the Schadenfreude. 00:21:47 WHY?! 00:22:41 xyxu [~xyxu@58.41.2.151] has joined #lisp 00:23:38 Cosman246: why what? 00:24:33 Well, now what? 00:25:19 Now rewrite it so that it's not an attempt to call (let ...)? 00:26:09 There, fixed it 00:28:20 -!- lemoinem [~swoog@216.252.69.230] has quit [Ping timeout: 244 seconds] 00:28:48 lemoinem [~swoog@216.252.87.120] has joined #lisp 00:29:28 kpal [~kpal@46-252-118-54.sibtele.com] has joined #lisp 00:31:02 Kron [~Kron@CPE0013f7c06a42-CM0013f7c06a3e.cpe.net.cable.rogers.com] has joined #lisp 00:31:27 -!- Kron is now known as Guest15737 00:33:35 -!- xan_ [~xan@80.174.78.129.dyn.user.ono.com] has quit [Ping timeout: 240 seconds] 00:34:11 -!- Kron_ [~Kron@CPE0013f7c06a42-CM0013f7c06a3e.cpe.net.cable.rogers.com] has quit [Ping timeout: 268 seconds] 00:36:21 pavelludiq [~pavelludi@83.222.167.145] has joined #lisp 00:36:51 -!- pavelpenev [~pavelludi@83.222.167.145] has quit [Ping timeout: 252 seconds] 00:39:59 -!- srcerer [~chatzilla@dns2.klsairexpress.com] has quit [Ping timeout: 252 seconds] 00:42:06 -!- pavelludiq is now known as pavelpenev 00:43:17 -!- kennyd [~kennyd@78-1-128-176.adsl.net.t-com.hr] has quit [Ping timeout: 252 seconds] 00:43:31 -!- prxq [~mommer@mnhm-590c20e0.pool.mediaWays.net] has quit [Quit: Leaving] 00:43:40 nialo` [nialo@ool-182d5684.dyn.optonline.net] has joined #lisp 00:47:21 kennyd [~kennyd@93-136-57-51.adsl.net.t-com.hr] has joined #lisp 00:49:09 -!- tcr [~tcr@95-88-46-7-dynip.superkabel.de] has quit [Quit: Leaving.] 00:49:31 -!- alvis [~alvis@tx-184-5-64-92.dhcp.embarqhsd.net] has quit [Ping timeout: 244 seconds] 00:50:15 alvis [~alvis@tx-184-5-64-92.dhcp.embarqhsd.net] has joined #lisp 00:52:46 -!- [SLB] [~balthasar@unaffiliated/slabua] has quit [Quit: [ Close the World, Open the nExt ]] 00:53:09 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 240 seconds] 00:55:10 -!- felideon [~user@65.23.61.98.nw.nuvox.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:58:15 syamajala [~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has joined #lisp 00:58:43 nitro_idiot [~nitro_idi@122x221x184x68.ap122.ftth.ucom.ne.jp] has joined #lisp 00:59:27 nialo`` [~nialo@ool-182d5684.dyn.optonline.net] has joined #lisp 01:04:10 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #lisp 01:08:45 -!- _schulte_ [~eschulte@c-174-56-1-147.hsd1.nm.comcast.net] has quit [Ping timeout: 252 seconds] 01:13:09 -!- sellout [~Adium@pool-98-114-58-126.phlapa.fios.verizon.net] has quit [Quit: Leaving.] 01:17:38 xjiujiu [~quassel@218.77.14.195] has joined #lisp 01:20:52 -!- wishbone4 [~user@167.216.131.126] has quit [Remote host closed the connection] 01:22:29 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 240 seconds] 01:22:47 kpreid [~kpreid@pool-96-242-142-128.nwrknj.fios.verizon.net] has joined #lisp 01:28:01 -!- corni [~corni@drupal.org/user/136353/view] has quit [Quit: Ex-Chat] 01:39:21 jackhammer2022 [~textual@c-76-119-13-121.hsd1.ma.comcast.net] has joined #lisp 01:45:16 -!- pavelpenev [~pavelludi@83.222.167.145] has quit [Read error: Operation timed out] 01:45:25 -!- kpal [~kpal@46-252-118-54.sibtele.com] has quit [Ping timeout: 248 seconds] 01:46:00 kpal [~kpal@46-252-118-54.sibtele.com] has joined #lisp 01:48:12 srcerer [~chatzilla@dns2.klsairexpress.com] has joined #lisp 01:50:17 Snaffu [~Snaffu@oh-69-34-16-39.sta.embarqhsd.net] has joined #lisp 01:51:27 -!- Snaffu [~Snaffu@oh-69-34-16-39.sta.embarqhsd.net] has left #lisp 01:53:48 gko [~gko@114-34-168-13.HINET-IP.hinet.net] has joined #lisp 01:53:49 borkman [~user@S0106001111de1fc8.cg.shawcable.net] has joined #lisp 01:55:09 -!- ngz [~user@23.78.199.77.rev.sfr.net] has quit [Ping timeout: 240 seconds] 01:57:20 NihilistDandy [~NihilistD@c-75-69-129-101.hsd1.nh.comcast.net] has joined #lisp 01:58:51 ThePawnBreak [~quassel@94.177.108.25] has joined #lisp 01:59:11 -!- award85 [~itsame@unaffiliated/award85] has quit [Ping timeout: 252 seconds] 02:01:09 -!- akovalenko [~akovalenk@95.73.53.61] has quit [Ping timeout: 240 seconds] 02:08:45 hba [~hba@189.130.178.126] has joined #lisp 02:08:53 -!- rswarbrick [~rswarbric@cl-1290.lon-02.gb.sixxs.net] has quit [Ping timeout: 252 seconds] 02:08:57 -!- syamajala [~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 02:14:27 syamajala [~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has joined #lisp 02:20:48 award85 [~itsame@unaffiliated/award85] has joined #lisp 02:22:14 -!- syamajala [~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 02:25:03 syamajala [~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has joined #lisp 02:26:11 -!- Athas [~athas@130.225.165.40] has quit [Remote host closed the connection] 02:28:43 -!- lemoinem [~swoog@216.252.87.120] has quit [Ping timeout: 244 seconds] 02:31:39 -!- SegFaultAX|work [~mkbernard@173.228.45.162] has quit [Remote host closed the connection] 02:34:22 ruru [~user@218-167-101-86.dynamic.hinet.net] has joined #lisp 02:38:22 Yuuhi` [benni@p5483B0D1.dip.t-dialin.net] has joined #lisp 02:40:03 -!- Yuuhi [benni@p5483AB52.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 02:40:51 -!- urandom__ [~user@p548A213C.dip.t-dialin.net] has quit [Remote host closed the connection] 02:42:01 Vicfred [~Futaba@189.228.26.247] has joined #lisp 02:43:08 -!- syamajala [~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 02:43:31 _nix00 [~Adium@116.228.89.171] has joined #lisp 02:44:33 Nauntilus [~Benji@ip68-231-176-93.tc.ph.cox.net] has joined #lisp 02:45:56 -!- Cosman246 [~cosman246@64.134.188.7] has quit [Ping timeout: 252 seconds] 02:47:06 Cosman246 [~cosman246@64.134.188.7] has joined #lisp 02:49:24 Hexstream [~hexstream@modemcable075.97-200-24.mc.videotron.ca] has joined #lisp 02:50:36 madnificent: pjb: ThomasH: There was no acknowledgement so I'm not sure if you all missed it but drdo had the right answer earlier: DIGIT-CHAR-P can be used to convert a single character to the number it represents in a certain radix. 02:51:04 Pretty funny to see you guys falthering around on that one ;P 02:51:59 Totally missed that. Just happened to be sitting here reading an article on OCaml. 02:52:58 By the way, am I the only one having repeated problems with excessive indentation introduced by nested binding constructs? 02:53:33 Of course. Didn't you know that? 02:53:40 Specifically LET/LET*/FLET/MULTIPLE-VALUE-BIND/DESTRUCTURING-BIND. 02:53:58 Didn't who know what? 02:54:01 Using let* you don't havev nested binding. 02:54:02 I mainly run into that with M-V-B or D-B. I usually take it as an indication that I'm doing it wrong. ;-0 02:54:05 digit-char-p. 02:54:13 teggi [~teggi@123.20.26.102] has joined #lisp 02:54:25 Or rather ;-) 02:54:32 Now, you can always use a macro to do m-v-b and d-b along with let. 02:54:38 pjb: That's rich. I knew that, it is you who forgot about it ;P 02:54:52 Not at all. Why do you think I called the function char-digit ? 02:54:54 :-) 02:55:10 -!- kpreid [~kpreid@pool-96-242-142-128.nwrknj.fios.verizon.net] has quit [Quit: Quitting] 02:56:13 pjb: That's fucking ridiculous. You're telling me you were purposely fucking around with bad answers instead of just saying DIGIT-CHAR-P? I'm not buying it. ;P 02:56:32 Hexstream: There are library macros for that, no? Stuff like metabang-bind. 02:56:45 Bike: But metabang-bind suckssssssssssssss. 02:57:05 Hexstream: well, I might have confused the direction of the conversion you wanted. I was thinking hard about digit-char-p, and since you seemed to expect something else, I wrote char-digit, but indeed, that was the same as digit-char-p, Sorry. 02:57:14 Hexstream: your code migrating to the right is a sign that refactoring is in order. 02:57:30 Anyway, actually I'm just finishing up a little masterpiece of a binding construct that will address this indentation problem. Just trying to see if I solved a problem nobody ever had. 02:57:30 Hexstream: CLHS knowledge is often assumed... 02:57:57 there's also let+ and bind and probably thirty other ones 02:58:08 Hexstream: It is a problem for me on occasion, but I take pkhuong's view. 02:59:44 pkhuong: Well, that's the problem. My code is migrating to the right at breakneck paces for usually stupid reasons (ex: I need to break a bunch of nice LET* bindings into 2 by introducing a MULTIPLE-VALUE-BIND in the middle, costing 2 damn indentation levels for no reason.) I'm tired of constantly refactoring and factoring out into stupid little functions just because of indentation issues. 03:01:40 Hexstream: my point is you're concentrating on what is often a symptom rather than the root cause. 03:02:02 Write more functions. 03:02:53 pkhuong: I don't mind intelligent, semantics-based refactorings. What I don't like is purely indentation-forced code rearrangements (I don't really count them as "refactorings" proper). 03:04:05 pjb: Actually, that's another problem. Usually to refactor I try to introduce function bindings with FLET. But *that* costs another indentation level, and I have to make sure I make up for it enough that it's worth it. (and sometimes it's just more readable to have the code inline instead of making up a trivial local function...) 03:05:13 The function must have some meaning. Think DSL. 03:05:44 Of course my new construct solves this ;P I can do (bind ((x 3) (#'whatever (lambda () (1+ x)))) x) => 4 (forgive the really stupid example) 03:07:45 neoesque [~neoesque@210.59.147.226] has joined #lisp 03:09:29 Oh, and another issue, sequential binding really is more natural and useful than parallel binding. So my explicit-bind binds sequentially by default, and you can get parallel binding by just using VALUES binding. 03:10:23 LET was initially derived from LAMBDA so I think parallel binding as a default is just historically motivated... 03:10:39 No. It has some useful properties. 03:10:48 Consider (let ((a b) (b a)) ...) 03:11:16 -!- madnificent [~madnifice@83.101.62.132] has quit [Read error: Operation timed out] 03:11:52 Zhivago: Sure, but sequential binding also have useful properties, and they're more useful by default. 03:12:27 I like the argumentation by assertion that's been going on for a while. 03:12:33 I rarely actually need parallel binding, and I frequently find myself going from LET to LET* because I need sequential binding. 03:13:23 pkhuong: That's a peculiar arguing style you got there. 03:14:43 drl [~lat@110.139.229.172] has joined #lisp 03:15:56 bobzhang [~user@66.250.143.212] has joined #lisp 03:16:06 -!- bobzhang [~user@66.250.143.212] has quit [Client Quit] 03:16:21 Try Haskell -> tryhaskell.org 03:16:43 pkhuong: I made an honest attempt at motivating my views... Don't you have anything else to say? 03:18:01 moxiemk1 [~moxiemk1@184.52.91.205] has joined #lisp 03:18:10 Kind of interesting. Everything I've done so far has an almost identical lisp version, syntax aside. 03:20:51 is anyone building a trylisp, to join this tryfoo family? 03:21:23 It exists for a long time. It's called biobike. 03:21:58 madnificent [~madnifice@83.101.62.132] has joined #lisp 03:22:49 -!- tensorpudding [~michael@99.102.71.62] has quit [Ping timeout: 240 seconds] 03:23:32 -!- moxiemk1 [~moxiemk1@184.52.91.205] has quit [Remote host closed the connection] 03:24:44 Teth [~caius@cpe-184-58-4-1.woh.res.rr.com] has joined #lisp 03:25:01 -!- Hexstream [~hexstream@modemcable075.97-200-24.mc.videotron.ca] has left #lisp 03:25:03 lisp is a programming language for homosexuals with a speech impediment 03:27:00 tensorpudding [~michael@99.102.71.62] has joined #lisp 03:28:00 mlkith [~mlkith@76.73.16.26] has joined #lisp 03:28:47 It's all part of the homosexual conspiracy. 03:29:54 Wait, I missed that memo. 03:30:27 ThomasH: don't worry, i already told your mom and dad 03:32:06 madnificent: I think you meant my dad and dad. 03:32:14 score 03:32:18 well played 03:32:36 smoogy [~redmundia@mail.madito.es] has joined #lisp 03:32:51 hello. say I'm passing a reference to a function somewhere, and it's being stored. and then I recompile the function at runtime. reference will point to the old function instead of the new one. how to handle this? 03:33:07 -!- mlkith [~mlkith@76.73.16.26] has quit [Quit: CGI:IRC (Ping timeout)] 03:33:28 smoogy: Pass the symbol instead of the reference. 03:33:32 smoogy: you could hanlde it by creating a paste at paste.lisp.org and let someone who isn't going to bed right now, that means not me, take a look at it. 03:34:18 smoogy: Use (foo 'function) instead of (foo #'function), for example. 03:35:05 Actually, (foo 'bar) instead of (foo #'bar) would have been less confusing. 03:35:16 wanderingelf [~matt@c-71-60-175-195.hsd1.pa.comcast.net] has joined #lisp 03:36:07 that worked, thanks 03:36:22 -!- kpal [~kpal@46-252-118-54.sibtele.com] has quit [Ping timeout: 255 seconds] 03:38:05 kpal [~kpal@46-252-118-54.sibtele.com] has joined #lisp 03:38:50 cl1 [~cl1@99.69.179.140] has joined #lisp 03:40:01 CaZe_ [~CaZe@unaffiliated/y354c] has joined #lisp 03:40:08 -!- CaZe [~CaZe@unaffiliated/y354c] has quit [Ping timeout: 240 seconds] 03:40:17 -!- CaZe_ is now known as CaZe 03:40:54 -!- martixy [martixy@78.90.38.181] has quit [] 03:41:02 -!- lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has quit [Quit: Leaving] 03:41:52 chp [~user@c-68-45-180-238.hsd1.nj.comcast.net] has joined #lisp 03:47:53 Noctifer [~Noctifer@wrzb-4d005aa7.pool.mediaWays.net] has joined #lisp 03:53:50 tcr [~tcr@95-88-46-7-dynip.superkabel.de] has joined #lisp 03:53:56 -!- chp [~user@c-68-45-180-238.hsd1.nj.comcast.net] has quit [Remote host closed the connection] 03:54:49 -!- drl [~lat@110.139.229.172] has quit [Quit: Leaving] 04:00:03 -!- kpal [~kpal@46-252-118-54.sibtele.com] has quit [Ping timeout: 248 seconds] 04:12:45 pnq [~nick@AC826B81.ipt.aol.com] has joined #lisp 04:13:11 steevy [~steevy@91-67-42-157-dynip.superkabel.de] has joined #lisp 04:13:53 With sbcl/slime, is there a way to either clean the current window, or to erase the currently shown line? 04:14:27 C-c M-o 04:14:27 you mean clear the REPL buffer? 04:14:44 pjb: sorry, I meant, from the runnign program 04:15:02 Axioplase_: You can do some kind of rpc, to do that. 04:15:22 Axioplase_: http://paste.lisp.org/display/22414 04:15:32 smoogy: Well, I want my program to print a line, wait for an event (input, timeout, etc), then delete the line and print another, and so on 04:15:37 well, it's 5 years old, perhaps it need updating for current slime/swank... 04:15:57 -!- centipedefarmer [~centipede@75-170-148-246.desm.qwest.net] has quit [Quit: This computer has gone to sleep] 04:16:38 Axioplase_: With that paste, you'd write: (eval-in-emacs '(slime-repl-clear-buffer)) 04:16:39 Axioplase_: are you in a threaded environment? the standard input/output is tied to the repl buffer 04:16:44 unless you're threaded 04:16:46 Actually, being able to print "\b" would be enough 04:16:59 Phoodus: not that I know. 04:17:06 axioplase consider printing #\return after the line, instead of newline 04:17:29 ah, so it's only the line deletion that's the issue 04:17:46 next line you print will overwrite the old new. you may need to pad spaces if new line is shorter 04:19:26 smoogy: I'm afraid it prints "^M" 04:19:52 -!- tcr [~tcr@95-88-46-7-dynip.superkabel.de] has quit [Quit: Leaving.] 04:20:03 are you doing this in SLIME repl? it would work in terminal 04:20:13 smoogy: yes, in the REPL 04:20:32 I run my programs from the REPL 04:21:43 maybe there's a way to make emacs handle ^M differently 04:22:07 for what? 04:23:12 for overwriting the last printed line like it does in terminal 04:23:23 bieber [~quassel@162-78.97-97.tampabay.res.rr.com] has joined #lisp 04:25:08 Axioplase_: you need to set the current buffer to the slime repl buffer: (eval-in-emacs '(with-current-buffer "*slime-repl ccl*" (slime-repl-clear-buffer))), otherwise it still works. 04:26:05 nice, didn't know about that one 04:26:28 recursion: it's not just for faggots anymore 04:27:09 -!- zenlunatic [~justin@c-68-48-40-231.hsd1.md.comcast.net] has quit [Ping timeout: 240 seconds] 04:27:38 -!- tsuru` [~charlie@adsl-74-179-28-12.bna.bellsouth.net] has left #lisp 04:28:10 Actually, it's great for CL/emacs integration. Eg. (let ((data (list 1 2 3))) (eval-in-emacs `(with-current-buffer (get-buffer-create "Lisp Output") (switch-to-buffer "Lisp Output") (erase-buffer) (insert (format "%S" ',data))))) 04:29:10 anveshan_ [~anveshan@122.166.10.26] has joined #lisp 04:29:37 I wonder if this function would make it possible to draw image objects in the repl when they are returned? if you've tried racket you know what i mean 04:29:37 -!- jackhammer2022 [~textual@c-76-119-13-121.hsd1.ma.comcast.net] has quit [Ping timeout: 244 seconds] 04:30:03 smoogy: sure. It's not too hard to generate an image in emacs and to display it in a buffer. 04:31:38 -!- anveshan [~anveshan@122.166.10.26] has quit [Ping timeout: 240 seconds] 04:34:37 how would you detect if slime is attached to the process? to also have a regular print-object that just prints to sdout 04:34:45 stdout 04:34:54 -!- ThomasH [~user@pdpc/supporter/professional/thomash] has left #lisp 04:35:20 is that possible? 04:35:25 smoogy: first you can test if swank is there: (find-package "SWANK"). 04:36:04 You can use SWANK::*CONNECTIONS* to see if there are connections. 04:36:20 Or SWANK::*EMACS-CONNECTION* 04:36:32 But of course, they are not exported... 04:38:19 I'll try to write this, always liked it in racket. how would one handle error of swank being referenced if it's not loaded? I'd still get errors at compile time I think even if the code isn't executed 04:38:54 #+swank (do-something-with-swank) #-swank (do-something-with-stdout) 04:39:34 would you write image to a /tmp/ file first? or (somehow) draw it directly to the repl 04:39:36 But you'd probably load swank anyways. 04:40:53 smoogy: this is as you want. Once upon a time I did something for inferior-lisp, where I wrote a file and printed a special token with the pathname. A comint input filter collected the special token and pathname and inserted the picture instead. But with slime/swank you could transmit the image data directly from CL to emacs. 04:41:18 pjb: ok, so calling S-R-C-B from my program works. The problem is that the next output after this command will reprint all that was printed up-to now since I called my program 04:42:18 Not here. 04:42:44 (progn (eval-in-emacs '(with-current-buffer "*slime-repl ccl*" (slime-repl-clear-buffer))) (print 'hi)) leaves only HI and the prompt in the slime repl buffer. 04:42:52 zenlunatic [~justin@c-68-48-40-231.hsd1.md.comcast.net] has joined #lisp 04:43:06 IOT: CL-USER> (foo) CL-USER> (bar-with-S-R-C-B) *prints bar1* *prints bar2* *call-S-R-C-B* *prints bar3* will clear the screen and then show "CL-USER (bar-with-S-R-C-B) bar1 bar2 bar3" 04:44:07 This is boiled cat. Show us working lisp code! 04:44:17 pjb: I am writing a test program! 04:44:56 -!- setmeaway [setmeaway@119.201.52.190] has quit [Read error: Connection reset by peer] 04:45:12 setmeaway [~setmeaway@119.201.52.190] has joined #lisp 04:47:28 I see what he means. for example: (bt:make-thread (lambda () (loop repeat 5 do (print "hi") (sleep 1)))) 04:47:37 last returned value will be re-printed after each hi 04:47:56 maybe there's a setting that controls this 04:48:22 -!- tensorpudding [~michael@99.102.71.62] has quit [Ping timeout: 276 seconds] 04:49:24 smoogy: it lacks a force-output... 04:49:50 threaded output is always nasty 04:50:03 buffers get partially overwritten etc, depending on your implementation 04:50:07 and you get repeats 04:50:41 pjb (force-output) made no difference here 04:50:42 force-output and including EOLs helps a lot 04:51:16 smoogy: Here it doesn't output anything... :-( 04:51:52 pjb I am getting # erased from above and reprinted after each hi 04:52:28 pjb: http://paste.lisp.org/+2PSG 04:53:41 Here, it prints the 6 lines, shows "ok, now ...) clears the screen, *reprints* the six lines, and then print the last 6 lines 04:53:45 In ccl, you need to give :initial-binding for *standard-output*... 04:54:03 I end up with this: http://paste.lisp.org/display/126737 04:54:21 smoogy: this is correct 04:54:28 Organometallica [~Jeremy@adsl-70-131-97-175.dsl.emhril.sbcglobal.net] has joined #lisp 04:54:35 csdserver [~csdserver@76.177.111.55] has joined #lisp 04:54:38 And the # is not reprinted, even if I erase the repl buffer (via eval-in-emacs) in the middle. 04:54:56 is there an option that controls whether last value is reprinted? 04:55:26 IceIceDavey [~yaaic@c-67-187-18-212.hsd1.va.comcast.net] has joined #lisp 04:55:38 it's the REPL, it prints evaluation results 04:56:10 Here is what I get: http://paste.lisp.org/display/126738 04:56:51 I don't see such an option in ~/.swank.lisp 04:57:08 wbooze` [~levgue@xdsl-84-44-208-28.netcologne.de] has joined #lisp 04:57:16 homie` [~levgue@xdsl-84-44-208-28.netcologne.de] has joined #lisp 04:57:29 what option? *globally-redirect-io*? 04:57:32 pjb you have" ; No value reprinted", because that's the last returned value. :) 04:57:33 Sure it prints the result, but only once. And the other thread output is inserted just before. 04:57:44 "; No value" even 04:57:55 Yes, printed once. 04:58:19 smoogy: notice it doesn't matter if you have a running program. It's only printed when the program returns. 04:59:09 yes I get it 04:59:18 pjb: you can use *globally-redirect-io* instead of :initial-bindings 04:59:29 I see. 04:59:37 -!- wbooze [~levgue@xdsl-78-35-152-161.netcologne.de] has quit [Ping timeout: 255 seconds] 04:59:57 -!- homie [~levgue@xdsl-78-35-152-161.netcologne.de] has quit [Ping timeout: 256 seconds] 05:00:24 Either it cannot be changed on the fly, or it doesn't have that effect in ccl... 05:00:32 the former 05:00:55 -!- IceIceDavey [~yaaic@c-67-187-18-212.hsd1.va.comcast.net] has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org] 05:01:24 So, what's up with Robert Strandh? 05:01:32 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #lisp 05:01:45 mvilleneuve isn't around to give a clue.. 05:01:59 something should be up? 05:02:07 I guess Robert's busy teaching. 05:02:33 pjb: sorry, what happens if you run (format t "a~%")(read-line *standard-input* nil)(eval-in-emacs '(with-current-buffer "*slime-repl sbcl*" (slime-repl-clear-buffer)))(format t "b~%") ? 05:02:37 pjb, his last IRC activity was on April 05:02:55 Axioplase_: without a progn, it's wacky. 05:02:58 kushal [~kdas@114.143.167.95] has joined #lisp 05:02:58 -!- kushal [~kdas@114.143.167.95] has quit [Changing host] 05:02:58 kushal [~kdas@fedora/kushal] has joined #lisp 05:03:58 Axioplase_: If I wrap them in a progn, everything before the progn is erased. 05:04:05 is there a way to change swank option without restarting lisp? 05:04:14 what swank option? 05:04:15 Axioplase_: notice that I usually run my expression from .lisp buffers, with C-x C-e. 05:04:27 stassats slime-enable-evaluate-in-emacs 05:04:43 smoogy: I tried (setf swank:*globally-redirect-io* t) but I didn't see any difference. 05:04:44 pjb: well, in fact, this, input in the REPL as a single line, behaves similarly to the progn version: badly 05:04:56 pjb: because you need to restart swank, as i said 05:05:03 smoogy: you don't have to restart anything for this 05:05:04 FSVO badly. I think it's nice. 05:05:09 stassats: ok. 05:06:54 pjb: why would it work when ran as C-x C-e from a file, and not from the REPL? 05:07:15 -!- wol [~wol@67.174.222.215] has quit [Quit: Konversation terminated!] 05:07:36 i don't know what code are you talking about, but C-x C-e creates a new thread each time 05:07:41 (on a threaded connection) 05:07:42 I believe that the clearing procedure reprints everything from the last CL-USER>. And that includes the command to run the program, and all its later inputs 05:07:56 Axioplase_: when you run it from a .lisp buffer, it erases everything till your input (ie.it erases the "a"). 05:08:28 pjb: The thing is, I would like to run from the REPL, not the buffer 05:08:32 i'm late to the party, but what are you guys really discussing? 05:09:02 stassats: a "bug" with printing data, calling emacs to clear screen, and then print more data. 05:09:07 Axioplase_: you may write another slime-repl-clear-buffer function that does exactly what you want. 05:09:31 Axioplase_: why do you want to clear the screen? 05:10:24 stassats: I planned to write a program that lists some words, then asks you to recite them all back; I therefore need to "undisplay" them, eg clear the screen. 05:10:55 Axioplase_: slime REPL isn't really suited for doing such acrobatics 05:11:37 stassats: then, what should I do, to write and use such program? 05:12:05 use a proper GUI? or a web-interface? 05:12:21 CLI would be the ideal GUI... 05:13:11 maybe C-c C-o (which is slime-enable-evaluate-in-emacs) would be of use too. it clears last output instead of entire buffer 05:13:12 tcr [~tcr@95-88-46-7-dynip.superkabel.de] has joined #lisp 05:13:14 or if you're adamant on using Emacs as the interface, write the thing in elisp which would do display, redisplay, and so on 05:13:20 Either write your own emacs code to erase the slime buffer as you want, or write a UI. 05:13:26 The UI can be written in emacs! 05:13:59 slime-repl-clear-output even 05:15:03 Good enough, but not what I'd expect, esthetically :-) 05:15:46 I don't feel like writing elisp 05:15:59 then you're out of luck 05:16:06 Then forget about slime/swank, and use cl-curses. 05:16:13 -!- tcr [~tcr@95-88-46-7-dynip.superkabel.de] has quit [Client Quit] 05:16:40 cl-ncurses I mean. 05:16:42 stassats: Someone said something about \#return earlier, I'll try this with buildapp. Maybe a standalone executable ran from the shell would work 05:16:58 or curses, yes, that's a good idea as well 05:17:18 standalone would be easy, yes 05:17:37 \#return would work only if you want to delete last line. not last X lines. ncurses is probably your best bet 05:19:33 smoogy: I can show a line, delete it, show next, and so on. It's actually what I want to do. 05:20:38 Axioplase_: use (format t "~c[2J" (code-char 27)) to clear the screen in the terminal 05:21:21 cheers 05:21:40 -!- rme [~rme@50.43.130.95] has quit [Quit: rme] 05:23:26 realitygrill [~realitygr@adsl-71-129-61-74.dsl.irvnca.pacbell.net] has joined #lisp 05:24:04 tcr [~tcr@95-88-46-7-dynip.superkabel.de] has joined #lisp 05:24:09 or #\Escape instead of (code-char 27) 05:24:35 seems like all implementations have it 05:25:07 -!- tcr [~tcr@95-88-46-7-dynip.superkabel.de] has quit [Client Quit] 05:25:14 -!- xjiujiu [~quassel@218.77.14.195] has quit [Read error: Connection reset by peer] 05:26:12 or you can put it directly into string, (princ "[2J") 05:26:31 xjiujiu [~quassel@218.77.14.195] has joined #lisp 05:29:51 -!- smoogy [~redmundia@mail.madito.es] has quit [Quit: Chateando desde http://webchat.redmundial.org (EOF)] 05:30:20 -!- wanderingelf [~matt@c-71-60-175-195.hsd1.pa.comcast.net] has quit [Quit: rcirc on GNU Emacs 23.3.1] 05:31:16 gz` [~gz@209-6-49-85.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #lisp 05:32:55 -!- gz [~gz@209-6-49-85.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Ping timeout: 255 seconds] 05:35:58 smoogy [~redmundia@mail.madito.es] has joined #lisp 05:38:54 teggi_ [~teggi@123.20.26.102] has joined #lisp 05:39:10 -!- kushal [~kdas@fedora/kushal] has quit [Quit: Leaving] 05:39:11 -!- teggi [~teggi@123.20.26.102] has quit [Read error: Connection reset by peer] 05:39:21 jackhammer2022 [~textual@c-76-119-13-121.hsd1.ma.comcast.net] has joined #lisp 05:40:07 (defun emacs-connection () #+swank swank::*emacs-connection*). if I load swank after compiling emacs-connection that function will still return nil. what's a more dynamic way of handling this, while still avoiding "No swank package" compiling error? 05:41:28 (when (find-package :swank) (symbol-value (find-symbol "*EMACS-CONNECTION*" :swank))) 05:41:58 (defun emacs-connection () (when (cl:find-package "SWANK") (symbol-value (find-symbol "*EMACS-CONNECTION*" "SWANK")))) 05:42:12 thanks! 05:42:36 s/cl:// whichc is useless here. 05:44:09 Kron_ [~Kron@CPE0013f7c06a42-CM0013f7c06a3e.cpe.net.cable.rogers.com] has joined #lisp 05:44:43 -!- csdserver [~csdserver@76.177.111.55] has quit [Ping timeout: 256 seconds] 05:47:27 -!- Guest15737 [~Kron@CPE0013f7c06a42-CM0013f7c06a3e.cpe.net.cable.rogers.com] has quit [Ping timeout: 268 seconds] 05:48:08 -!- ISF [~ivan@201.82.172.81] has quit [Ping timeout: 240 seconds] 05:48:16 https://github.com/dlowe-net/Hello-gl 05:49:15 i once started reading this tutorial but never finished 05:49:33 using CL for it would be nice 05:51:11 it wasn't too hard. 05:51:43 toekutr [~user@50-0-51-2.dsl.static.sonic.net] has joined #lisp 05:52:44 I should have subdivided the project more so I could include the later examples 05:53:38 what kind of compiler is gl:compile-shader using? 05:53:53 eMBee: the one supplied by the GL library 05:54:16 so that's part of the opengl spec? 05:54:56 yep 05:55:29 ah, thanks 05:55:49 (yes, drivers now include compilers) 05:58:44 *eMBee* found GLSL... 06:02:21 theos [~theos@unaffiliated/theos] has joined #lisp 06:06:05 heidymadia [~saasten@61.247.42.167] has joined #lisp 06:11:05 -!- Kron_ [~Kron@CPE0013f7c06a42-CM0013f7c06a3e.cpe.net.cable.rogers.com] has quit [Quit: Kron awayyy!] 06:15:12 -!- setmeaway [~setmeaway@119.201.52.190] has quit [Read error: Connection reset by peer] 06:15:26 setmeaway [setmeaway3@119.201.52.190] has joined #lisp 06:15:39 -!- gko [~gko@114-34-168-13.HINET-IP.hinet.net] has quit [Ping timeout: 252 seconds] 06:16:19 -!- setmeaway [setmeaway3@119.201.52.190] has quit [Read error: Connection reset by peer] 06:16:32 gko [~gko@220-135-201-90.HINET-IP.hinet.net] has joined #lisp 06:16:34 setmeaway [stemearay@119.201.52.190] has joined #lisp 06:18:21 -!- anveshan_ [~anveshan@122.166.10.26] has quit [Quit: Leaving] 06:19:31 Is there any docs on the iolib.multiplex timers? 06:19:45 Specifically "Do they work at all, even a little on OS X"? 06:20:02 do they work for you? 06:20:22 I can get it to either fire once, right away if I set it to :one-shot or constantly with no pause otherwise 06:20:47 -!- gko [~gko@220-135-201-90.HINET-IP.hinet.net] has quit [Ping timeout: 252 seconds] 06:21:23 gko [~gko@114-34-168-13.HINET-IP.hinet.net] has joined #lisp 06:21:26 I'm using iomux:add-timer within iomux:with-event-base 06:21:46 I also can't even find docs for units of the timeout :( 06:22:11 As far as I can tell the tutorial that ships with iolib that serves as my only iomux guide doesn't even mention timers :( 06:22:27 I'd like to use them if they exist before I roll my own base on the eventloop timeout 06:24:22 Joreji [~thomas@77-23-251-130-dynip.superkabel.de] has joined #lisp 06:25:02 -!- award85 [~itsame@unaffiliated/award85] has left #lisp 06:25:39 akovalenko [~akovalenk@95.72.45.146] has joined #lisp 06:25:43 OS X "Tiger", SBCL 1.0.54, iolib 0.7.3 06:25:47 If anyone is playing along at home 06:26:46 dtw [~dtw@dsl-roibrasgw1-fe84fb00-215.dhcp.inet.fi] has joined #lisp 06:29:09 -!- theos [~theos@unaffiliated/theos] has left #lisp 06:29:22 I have found something really nifty 06:29:43 my birthday is the same as the day of a festival of the goddess Venus 06:29:52 specifically, her aspect known as 06:30:05 Venus Verticordia, "VENUS THE CHANGER OF HEARTS" 06:30:21 most beautiful appellation! 06:31:41 -!- jackhammer2022 [~textual@c-76-119-13-121.hsd1.ma.comcast.net] has quit [Quit: Textual IRC Client: http://www.textualapp.com/] 06:33:01 -!- steevy [~steevy@91-67-42-157-dynip.superkabel.de] has quit [Quit: quit?] 06:40:14 -!- Joreji [~thomas@77-23-251-130-dynip.superkabel.de] has quit [Ping timeout: 252 seconds] 06:40:20 Teth: wrong channel 06:40:54 indeed 06:42:44 lolsuper_ [~super_@pool-173-65-194-148.tampfl.fios.verizon.net] has joined #lisp 06:42:44 -!- lolsuper_ [~super_@pool-173-65-194-148.tampfl.fios.verizon.net] has quit [Changing host] 06:42:44 lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has joined #lisp 06:48:22 sshirokov: a lot of iolib's documentation is the source, for now. 06:49:12 -!- peccu1 [~peccu@ZU205167.ppp.dion.ne.jp] has quit [Ping timeout: 252 seconds] 06:50:56 pkhuong: Which also seems to be a bit light on timers :( 06:51:31 My brief dive basically told me I would have to debug its eventloop and timer scheduling to figure out what's going on :( 06:52:37 cyrillos [~cyrill@188.134.33.130] has joined #lisp 07:00:08 osa1 [~sinan@78.175.218.236] has joined #lisp 07:01:01 -!- chenbing [~user@122.233.179.205] has left #lisp 07:01:14 chenbing [~user@122.233.179.205] has joined #lisp 07:03:36 kpal [~kpal@46-252-118-54.sibtele.com] has joined #lisp 07:04:33 peccu1 [~peccu@ZU205111.ppp.dion.ne.jp] has joined #lisp 07:06:09 -!- zophy [~zophy@host-5-150-220-24.midco.net] has quit [Ping timeout: 240 seconds] 07:06:09 -!- nitro_idiot [~nitro_idi@122x221x184x68.ap122.ftth.ucom.ne.jp] has quit [Remote host closed the connection] 07:09:09 -!- dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has quit [Ping timeout: 256 seconds] 07:10:30 angavrilov [~angavrilo@217.71.227.181] has joined #lisp 07:16:05 -!- smoogy [~redmundia@mail.madito.es] has quit [Quit: Leaving] 07:19:48 jjkola_work [c064748e@gateway/web/freenode/ip.192.100.116.142] has joined #lisp 07:20:05 ivan-kanis [~user@89.83.137.164] has joined #lisp 07:22:08 kiuma [~kiuma@85-18-55-37.ip.fastwebnet.it] has joined #lisp 07:22:16 hello lispers 07:32:54 -!- toekutr [~user@50-0-51-2.dsl.static.sonic.net] has quit [Remote host closed the connection] 07:34:37 sdemarre [~serge@91.176.186.58] has joined #lisp 07:37:38 nitro_idiot [~nitro_idi@122x221x184x68.ap122.ftth.ucom.ne.jp] has joined #lisp 07:47:20 -!- NihilistDandy [~NihilistD@c-75-69-129-101.hsd1.nh.comcast.net] has quit [Quit: Linkinus - http://linkinus.com] 07:48:38 -!- pchrist_ [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 07:49:09 pchrist [~spirit@gentoo/developer/pchrist] has joined #lisp 07:53:41 -!- ThePawnBreak [~quassel@94.177.108.25] has quit [Ping timeout: 240 seconds] 07:57:48 marsell [~marsell@120.18.139.93] has joined #lisp 07:58:59 -!- brendyn [~brendyn@123-2-73-61.static.dsl.dodo.com.au] has quit [Quit: WeeChat 0.3.6] 08:01:57 csdserver [~csdserver@76.177.111.55] has joined #lisp 08:03:09 -!- ivan-kanis [~user@89.83.137.164] has quit [Remote host closed the connection] 08:04:41 -!- pnq [~nick@AC826B81.ipt.aol.com] has quit [Ping timeout: 256 seconds] 08:05:17 zophy [~zophy@host-5-150-220-24.midco.net] has joined #lisp 08:07:23 -!- Yuuhi` [benni@p5483B0D1.dip.t-dialin.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:09:18 ivan-kanis [~user@89.83.137.164] has joined #lisp 08:11:06 brendyn [~brendyn@123-2-73-61.static.dsl.dodo.com.au] has joined #lisp 08:14:21 -!- hba [~hba@189.130.178.126] has quit [Quit: Lost terminal] 08:14:26 I am having trouble installing sbcl, I have compiled version 1.0.53, then I ran install like this: 08:14:48 INSTALL_ROOT=/home/ubuntu/local bash install.sh 08:15:04 ramkrsna [ramkrsna@unaffiliated/ramkrsna] has joined #lisp 08:15:18 but it installs sbcl in the following directory: binary /home/ubuntu/home/ubuntu/local/bin/sbcl 08:15:48 surely it's bug in the install script... has anyone else had this problem? 08:16:53 the latest sbcl is 1.0.54, it's your oppotunity to reinstall then test 08:17:10 chenbing: sorry, i meant 1.0.54 08:17:42 guys are still in holiday, haha 08:18:31 ivan-kanis: try INSTALL_ROOT=/home/ubuntu/local/ maybe? 08:18:50 and i use binaries directly 08:19:34 is there a sample of a iolib server using make-soket :address-family :local ? 08:19:37 df_: just tried, same behavior 08:20:07 I am running Ubuntu 10.10 08:20:28 marsell_ [~marsell@120.18.249.121] has joined #lisp 08:21:15 hah, http://www.ocert.org/advisories/ocert-2011-003.html is both awful and kind of hilarious 08:21:38 nevermind, found in iolib tests 08:21:42 (use a random seed when hashing) 08:22:00 -!- marsell [~marsell@120.18.139.93] has quit [Ping timeout: 252 seconds] 08:22:01 -!- marsell_ is now known as marsell 08:22:46 -!- ihyoyoung [raster@enlightenment2.osuosl.org] has quit [Remote host closed the connection] 08:23:20 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 08:23:26 antifuchs: did you verify that it doesn't apply to the "important" CL implementations? 08:24:00 not yet - the test seems simple enough, though 08:24:14 Yuuhi [benni@p5483B0D1.dip.t-dialin.net] has joined #lisp 08:26:08 -!- brandonz [~brandon@c-71-198-255-25.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 08:26:12 do you know another method to accomlish this other than using unix streams to accomplish this: I hane main-thread and thread-a. thread-a must tell main-thread to call a function, then exit. 08:26:22 *I have 08:26:43 *accomplish :) 08:26:51 sorry early morning 08:27:08 -!- ivan-kanis [~user@89.83.137.164] has quit [Remote host closed the connection] 08:27:10 kiuma: use a pipe, or (interrupt-thread) when you have it 08:27:51 or use shared memory & semaphores 08:28:07 ihyoyoung [raster@enlightenment2.osuosl.org] has joined #lisp 08:28:19 (defvar *message* nil) (bt:make-thread (lambda () (loop do (sleep 1) (let ((m (pop *message*))) (do-something m))))) (bt:make-thread (lambda () (setf *message* (list 'call-a-function)))) 08:28:33 antifuchs, I can't block main thread 08:29:36 pjb: better use a queue primitive, eg. sb-concurrency:mailbox 08:29:38 it's my event based http server 08:29:49 well, just test the semaphore count, then? 08:29:51 flip214: yes. But then if you just send a message and quit... 08:29:54 kiuma: so make one of the events 'message from another thread' 08:30:24 -!- emit [~emit@unaffiliated/emit] has quit [Read error: Operation timed out] 08:32:19 is sb-concurrency:mailbox only for sbcl ? 08:33:21 asvil [~filonenko@178.124.160.180] has joined #lisp 08:33:25 -!- sanjoyd [~sanjoyd@unaffiliated/sanjoyd] has quit [Ping timeout: 248 seconds] 08:33:50 kiuma: sadly, yes. but abcl has something similar, and others might have, too .... although some common library would be nice. 08:34:04 ivan-kanis [~user@89.83.137.164] has joined #lisp 08:34:09 kiuma: why not use (interrupt-thread)? 08:34:12 this mixing of event-based and thread-queue solution is getting a nice challenge :) 08:35:03 main-thread must not be interrupted 08:35:03 emit [~emit@unaffiliated/emit] has joined #lisp 08:35:12 it's the event based part 08:36:00 I think that I have to use a :local iolibe stream then 08:36:06 *iolib 08:36:12 ie. a pipe 08:36:14 ngz [~user@23.78.199.77.rev.sfr.net] has joined #lisp 08:37:46 next step will be making thread-queue size dynamically grow as need ... 08:37:57 krrrcks [~user@mail.systemhaus-brunner.de] has joined #lisp 08:43:23 swankr anyone? 08:45:35 -!- emit [~emit@unaffiliated/emit] has quit [*.net *.split] 08:45:35 -!- bieber [~quassel@162-78.97-97.tampabay.res.rr.com] has quit [*.net *.split] 08:45:35 -!- Cosman246 [~cosman246@64.134.188.7] has quit [*.net *.split] 08:45:35 -!- eno [~eno@nslu2-linux/eno] has quit [*.net *.split] 08:45:35 -!- Euthy [~euthy@unaffiliated/euthydemus] has quit [*.net *.split] 08:45:35 -!- AntiSpamMeta [~MetaBot@AntiSpamMeta/.] has quit [*.net *.split] 08:45:36 -!- |3b| [foobar@cpe-72-179-19-4.austin.res.rr.com] has quit [*.net *.split] 08:45:36 -!- cscolt [~cscolt@li166-102.members.linode.com] has quit [*.net *.split] 08:45:36 -!- PuffTheMagic [~PuffTheMa@unaffiliated/puffthemagic] has quit [*.net *.split] 08:45:36 -!- joast [~rick@76.178.187.164] has quit [*.net *.split] 08:45:36 -!- Adrinael [~adrinael@barrel.rolli.org] has quit [*.net *.split] 08:45:36 -!- antifuchs [~foobar@care.boinkor.net] has quit [*.net *.split] 08:49:11 emit [~emit@unaffiliated/emit] has joined #lisp 08:49:11 bieber [~quassel@162-78.97-97.tampabay.res.rr.com] has joined #lisp 08:49:11 Cosman246 [~cosman246@64.134.188.7] has joined #lisp 08:49:11 eno [~eno@nslu2-linux/eno] has joined #lisp 08:49:11 Euthy [~euthy@unaffiliated/euthydemus] has joined #lisp 08:49:11 AntiSpamMeta [~MetaBot@AntiSpamMeta/.] has joined #lisp 08:49:11 |3b| [foobar@cpe-72-179-19-4.austin.res.rr.com] has joined #lisp 08:49:11 cscolt [~cscolt@li166-102.members.linode.com] has joined #lisp 08:49:11 PuffTheMagic [~PuffTheMa@unaffiliated/puffthemagic] has joined #lisp 08:49:11 joast [~rick@76.178.187.164] has joined #lisp 08:49:11 Adrinael [~adrinael@barrel.rolli.org] has joined #lisp 08:49:11 antifuchs [~foobar@care.boinkor.net] has joined #lisp 08:49:37 -!- AntiSpamMeta [~MetaBot@AntiSpamMeta/.] has quit [Ping timeout: 243 seconds] 08:50:53 mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has joined #lisp 08:51:27 good morning 08:56:53 hello mvilleneuve 08:57:59 tijn [~tijn@ip50-221-208-87.adsl2.static.versatel.nl] has joined #lisp 08:59:46 aerique [310225@xs8.xs4all.nl] has joined #lisp 08:59:54 -!- Bike [~Glossina@71-214-102-93.ptld.qwest.net] has quit [Quit: shutdown] 09:00:16 macrobat [~fuzzyglee@h-17-133.a328.priv.bahnhof.se] has joined #lisp 09:00:31 `values` is not lazy, right? so if I call (values-nth 2 (values (funcall1) (funcall2) ... (funcalln))) I call all the functions? 09:00:50 nothing is lazy in common lisp 09:01:11 -!- kuzary [~who@gateway/tor-sasl/kuzary] has quit [Quit: return 0;] 09:04:16 osa: you can do (funcall (nth 2 '(funcall1 funcall2 ... funcalln))) 09:04:50 flip214: only if the functions are global. 09:05:25 Ralith: writing (list #'funcall1 ...) isn't exactly hard 09:05:32 indeed it's not! 09:05:40 which is why he should do that instead, if that's the functionality he wants. 09:05:45 Bacteria [~Bacteria@115-64-180-132.static.tpgi.com.au] has joined #lisp 09:06:05 AntiSpamMeta [~MetaBot@AntiSpamMeta/.] has joined #lisp 09:08:15 -!- fantazo [~fantazo@178-191-169-183.adsl.highway.telekom.at] has quit [Remote host closed the connection] 09:08:48 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 240 seconds] 09:10:13 gravicappa [~gravicapp@ppp91-77-174-173.pppoe.mtu-net.ru] has joined #lisp 09:12:44 -!- Organometallica [~Jeremy@adsl-70-131-97-175.dsl.emhril.sbcglobal.net] has quit [Quit: Leaving] 09:13:21 attila_lendvai [~attila_le@92.46.166.21] has joined #lisp 09:13:21 -!- attila_lendvai [~attila_le@92.46.166.21] has quit [Changing host] 09:13:21 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 09:14:26 phao [phao@187.117.224.103] has joined #lisp 09:16:34 mishoo [~mishoo@79.112.112.130] has joined #lisp 09:22:39 -!- ruru [~user@218-167-101-86.dynamic.hinet.net] has quit [Ping timeout: 252 seconds] 09:22:39 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 09:27:09 ahinki [~chatzilla@212.99.10.150] has joined #lisp 09:27:26 snearch [~snearch@e178057212.adsl.alicedsl.de] has joined #lisp 09:27:37 naeg [~naeg@194.208.239.170] has joined #lisp 09:30:07 kpreid [~kpreid@72-255-1-207.client.stsn.net] has joined #lisp 09:30:21 pavelpenev [~pavelludi@83.222.167.145] has joined #lisp 09:32:40 -!- _pw_ [~user@123.112.71.135] has left #lisp 09:32:53 what's wrong with (defpackage ... (:use :cl)) ? 09:33:32 -!- realitygrill [~realitygr@adsl-71-129-61-74.dsl.irvnca.pacbell.net] has quit [Quit: realitygrill] 09:33:44 Nothing wrong with that, on the contrary. 09:34:12 (Well apart from the fact that a token consisting only of dots is not conforming, but I assume you substitute it with a real package name). 09:34:36 (well of more than one dot). 09:36:53 corni [~corni@2001:67c:20a1:1030:ea9a:8fff:febf:7356] has joined #lisp 09:36:57 -!- corni [~corni@2001:67c:20a1:1030:ea9a:8fff:febf:7356] has quit [Changing host] 09:36:57 corni [~corni@drupal.org/user/136353/view] has joined #lisp 09:37:03 -!- naeg [~naeg@194.208.239.170] has quit [Ping timeout: 256 seconds] 09:44:11 tensorpudding [~michael@99.102.71.62] has joined #lisp 09:46:45 sorabji5252 [~user@ip72-199-192-84.sd.sd.cox.net] has joined #lisp 09:48:03 pavelludiq [~pavelludi@83.222.167.145] has joined #lisp 09:49:11 -!- pavelpenev [~pavelludi@83.222.167.145] has quit [Ping timeout: 268 seconds] 09:49:26 -!- pavelludiq is now known as pavelpenev 09:51:00 naeg [~naeg@194.208.239.170] has joined #lisp 09:57:52 ivan-kan` [~user@nantes.visionobjects.com] has joined #lisp 09:59:38 -!- ivan-kanis [~user@89.83.137.164] has quit [Ping timeout: 240 seconds] 10:04:57 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 10:06:58 -!- ivan-kan` [~user@nantes.visionobjects.com] has quit [Ping timeout: 255 seconds] 10:11:30 -!- neoesque [~neoesque@210.59.147.226] has quit [Quit: Bye!] 10:12:38 pjb: (defpackage :use :cl) would be non-conforming as well 10:12:49 -!- tensorpudding [~michael@99.102.71.62] has quit [Ping timeout: 240 seconds] 10:15:49 -!- cmm [~cmm@bzq-79-182-212-138.red.bezeqint.net] has quit [Ping timeout: 252 seconds] 10:17:39 cmm [~cmm@bzq-79-180-217-251.red.bezeqint.net] has joined #lisp 10:18:05 am0c [~am0c@58.227.209.54] has joined #lisp 10:18:50 rswarbrick [~rswarbric@cl-1290.lon-02.gb.sixxs.net] has joined #lisp 10:20:02 spearalot [~spearalot@c83-248-111-48.bredband.comhem.se] has joined #lisp 10:24:33 Jeanne-Kamikaze [~Jeanne-Ka@79.Red-88-7-134.staticIP.rima-tde.net] has joined #lisp 10:24:43 -!- drwho [~drwho@c-68-81-125-196.hsd1.pa.comcast.net] has quit [Quit: leaving] 10:24:46 -!- katesmith is now known as the_crazy_one 10:26:11 -!- pavelpenev [~pavelludi@83.222.167.145] has quit [] 10:26:27 -!- the_crazy_one is now known as katesmith 10:26:30 drwho [~drwho@c-68-81-125-196.hsd1.pa.comcast.net] has joined #lisp 10:26:36 Guest59585 [~mehtaamit@42.109.220.28] has joined #lisp 10:27:34 hlo 10:28:02 -!- benny [~benny@i577A23E3.versanet.de] has quit [Ping timeout: 268 seconds] 10:31:38 -!- snearch [~snearch@e178057212.adsl.alicedsl.de] has quit [Quit: Verlassend] 10:32:58 add^_ [~add^_^@h169n4c1o838.bredband.skanova.com] has joined #lisp 10:33:50 mathrick_ [~mathrick@83.1.168.198] has joined #lisp 10:37:08 -!- mathrick [~mathrick@83.1.168.198] has quit [Ping timeout: 240 seconds] 10:38:19 xgp [~user@182.92.247.2] has joined #lisp 10:40:04 hlooooo ooooooooooooooooooooooooooooooooooo 10:40:29 -!- Guest59585 [~mehtaamit@42.109.220.28] has left #lisp 10:40:39 Guest59585 [~mehtaamit@42.109.220.28] has joined #lisp 10:40:46 -!- Guest59585 [~mehtaamit@42.109.220.28] has left #lisp 10:42:46 -!- Jeanne-Kamikaze [~Jeanne-Ka@79.Red-88-7-134.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 10:46:40 daniel__ [~daniel@p5B326EA9.dip.t-dialin.net] has joined #lisp 10:48:53 -!- marsell [~marsell@120.18.249.121] has quit [Ping timeout: 248 seconds] 10:48:55 -!- daniel_ [~daniel@p508292B8.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 10:49:49 ThePawnBreak [~quassel@94.177.108.25] has joined #lisp 10:50:24 -!- Noctifer [~Noctifer@wrzb-4d005aa7.pool.mediaWays.net] has quit [Remote host closed the connection] 10:52:51 -!- CrazyThinker [~CrazyThin@unaffiliated/crazythinker] has quit [Ping timeout: 252 seconds] 11:00:21 ivan-kanis [~user@89.83.137.164] has joined #lisp 11:01:21 Jeanne-Kamikaze [~Jeanne-Ka@79.Red-88-7-134.staticIP.rima-tde.net] has joined #lisp 11:05:08 puchacz [~puchacz@87-194-5-99.bethere.co.uk] has joined #lisp 11:05:25 CrazyThinker [~CrazyThin@unaffiliated/crazythinker] has joined #lisp 11:14:53 how can I prevent printing recursive structs? I'm implementing a tree data structure and some operations 11:14:58 -!- nitro_idiot [~nitro_idi@122x221x184x68.ap122.ftth.ucom.ne.jp] has quit [Remote host closed the connection] 11:15:45 define your own printer method 11:18:04 stassats: what is `depth` parameter in :print-function ? 11:18:47 osa1: for *print-level* 11:18:50 EarlGray^ [~mitra@despairing-occident.volia.net] has joined #lisp 11:18:53 -!- EarlGray^^ [~mitra@despairing-occident.volia.net] has quit [Ping timeout: 252 seconds] 11:25:32 hi 11:28:04 tcr [~tcr@95-88-46-7-dynip.superkabel.de] has joined #lisp 11:34:55 JuniorRoy [~juniorroy@212.36.228.103] has joined #lisp 11:44:37 -!- lnostdal [~Lars@212.79-161-132.customer.lyse.net] has quit [Read error: Connection reset by peer] 11:46:07 lnostdal [~Lars@212.79-161-132.customer.lyse.net] has joined #lisp 11:47:40 sanjoyd [~sanjoyd@unaffiliated/sanjoyd] has joined #lisp 11:49:25 -!- xgp [~user@182.92.247.2] has left #lisp 11:53:47 mishoo_ [~mishoo@79.112.112.130] has joined #lisp 11:54:55 -!- mishoo [~mishoo@79.112.112.130] has quit [Ping timeout: 240 seconds] 11:55:22 -!- Bacteria [~Bacteria@115-64-180-132.static.tpgi.com.au] has quit [Quit: Bacteria] 11:56:27 Bacteria [~Bacteria@115-64-180-132.static.tpgi.com.au] has joined #lisp 12:00:40 -!- CrazyEddy [~overfranc@wrongplanet/CrazyEddy] has quit [Ping timeout: 244 seconds] 12:02:35 benkard [~benkard@mnch-4d04ea5d.pool.mediaWays.net] has joined #lisp 12:02:41 n1tn4tsn0k [~nitnatsno@178.46.11.173] has joined #lisp 12:02:52 ruru [~user@114-45-177-184.dynamic.hinet.net] has joined #lisp 12:07:01 -!- mishoo_ [~mishoo@79.112.112.130] has quit [Quit: (save-lisp-and-die)] 12:07:38 -!- heidymadia [~saasten@61.247.42.167] has quit [Remote host closed the connection] 12:08:23 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #lisp 12:08:53 -!- Beetny [~Beetny@ppp118-208-30-222.lns20.bne1.internode.on.net] has quit [Ping timeout: 248 seconds] 12:12:24 -!- Bacteria [~Bacteria@115-64-180-132.static.tpgi.com.au] has quit [Quit: Bacteria] 12:13:09 -!- zophy [~zophy@host-5-150-220-24.midco.net] has quit [Ping timeout: 240 seconds] 12:13:23 -!- kpreid [~kpreid@72-255-1-207.client.stsn.net] has quit [Quit: Quitting] 12:13:46 Blkt [~user@host69-129-dynamic.12-79-r.retail.telecomitalia.it] has joined #lisp 12:14:01 steevy [~steevy@91-67-42-157-dynip.superkabel.de] has joined #lisp 12:16:43 CrazyEddy [~ultraener@wrongplanet/CrazyEddy] has joined #lisp 12:18:57 -!- Blkt [~user@host69-129-dynamic.12-79-r.retail.telecomitalia.it] has quit [Remote host closed the connection] 12:19:05 Blkt [~user@host69-129-dynamic.12-79-r.retail.telecomitalia.it] has joined #lisp 12:21:53 mrSpec [~Spec@88.208.105.6] has joined #lisp 12:21:55 -!- mrSpec [~Spec@88.208.105.6] has quit [Changing host] 12:21:55 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 12:23:52 Patzy [~something@bro29-1-82-245-180-56.fbx.proxad.net] has joined #lisp 12:24:00 -!- dtw [~dtw@dsl-roibrasgw1-fe84fb00-215.dhcp.inet.fi] has quit [Quit: (make-condition 'dtw:real-life)] 12:26:47 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Read error: Connection reset by peer] 12:27:05 good morning everyone 12:28:25 could anyone tell me wether is possible or not to have optional or keyword parameters in methods (not functions)? 12:28:49 something like (defmethod foo ((c class) &key (boolean t)) ...) 12:31:07 Blkt: yes, but you can't specialise on them 12:31:29 what's the correct syntax? 12:34:31 what you typed looks ok 12:34:42 mmm 12:36:37 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Ping timeout: 252 seconds] 12:36:37 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Ping timeout: 248 seconds] 12:36:53 and can I have default values for those optional arguments? 12:37:12 did you try? 12:37:18 yes 12:37:33 I had an error, but lost the trace in a system failure 12:38:26 you shouldn't get error assuming it matched defgeneric declaration 12:38:34 you could try again 12:38:35 Blkt: you'll need to specify the keys in the generic too, or use &rest etc. 12:38:52 I see 12:38:54 let me try 12:38:58 thanks :D 12:39:20 lars_t_h [~lars_t_h@002128184076.mbb.telenor.dk] has joined #lisp 12:41:51 -!- newcup [newcup@peruna.fi] has quit [Ping timeout: 268 seconds] 12:44:01 -!- naeg [~naeg@194.208.239.170] has quit [Ping timeout: 252 seconds] 12:44:04 -!- benkard [~benkard@mnch-4d04ea5d.pool.mediaWays.net] has quit [Quit: benkard] 12:44:39 MoALTz [~no@178.182.191.165.nat.umts.dynamic.t-mobile.pl] has joined #lisp 12:44:52 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 12:45:06 pnq [~nick@ACA26A42.ipt.aol.com] has joined #lisp 12:46:11 newcup [newcup@peruna.fi] has joined #lisp 12:46:20 micke` [~user@147.186.255.4] has joined #lisp 12:49:05 hi 12:49:10 hi there 12:49:15 how can I convert a number to a string? 12:49:29 (parse-integer) 12:49:43 posterdati: prin1-to-string or princ-to-string 12:49:46 that does the opposite 12:49:52 ah, sorry 12:50:04 thanks 12:50:05 and I was so happy to have an answer! 12:50:44 :D 12:52:25 can I shift and mask bit arrays or should I use integers for that? 12:52:43 See 'mdb'. 12:53:59 Zhivago: was it for me? 12:54:16 -!- xyxu [~xyxu@58.41.2.151] has quit [Ping timeout: 256 seconds] 12:56:40 Ah, ldb. And, yes. 12:57:40 Zhivago: are you sure ldb is doing what I want? I'm wanting to shift a bit-vector 12:58:04 naeg [~naeg@194.208.239.170] has joined #lisp 12:59:14 damn, logcount doesn't work for bit vectors too, I think I should be using integers 12:59:57 osa1: (length #*101010) 13:00:32 osa1: (count 1 #*101010) 13:00:52 bit vectors are vectors are sequences! 13:01:38 pjb: does the count example use low-level primitives, like gcc's __builtin_popcount? 13:02:46 flip214: depends on the implementation. 13:02:55 flip214: if not, complain to your vendor. 13:02:58 ha! sbcl? 13:03:13 "depends on the implementation" ... true, of course, but useless ;) 13:03:16 pjb: nice! so is there a way to shiftf bit vectors? 13:03:46 sbcl has sb-rotate-byte for its fixnums ... 13:04:23 osa1: (replace bv bv :start2 1) for <- or (replace bv bv :start1 1) for -> 13:04:29 -!- EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has quit [Ping timeout: 240 seconds] 13:05:38 -!- cmm [~cmm@bzq-79-180-217-251.red.bezeqint.net] has quit [Ping timeout: 240 seconds] 13:05:54 mathrick [~mathrick@83.1.168.198] has joined #lisp 13:07:17 Athas [~athas@130.225.165.40] has joined #lisp 13:07:25 -!- mathrick_ [~mathrick@83.1.168.198] has quit [Ping timeout: 255 seconds] 13:09:50 -!- pnq [~nick@ACA26A42.ipt.aol.com] has quit [Ping timeout: 252 seconds] 13:10:56 -!- mathrick [~mathrick@83.1.168.198] has quit [Ping timeout: 244 seconds] 13:11:10 pnq [~nick@ACA26A42.ipt.aol.com] has joined #lisp 13:13:41 benny [~benny@i577A39B4.versanet.de] has joined #lisp 13:13:50 dlowe: hello-gl looks cool! 13:15:18 -!- jeekl [~crz@li272-11.members.linode.com] has quit [Changing host] 13:15:18 jeekl [~crz@unaffiliated/jeekl] has joined #lisp 13:15:49 tritchey_ [~tritchey@c-68-51-88-12.hsd1.in.comcast.net] has joined #lisp 13:15:49 -!- tritchey_ [~tritchey@c-68-51-88-12.hsd1.in.comcast.net] has quit [Client Quit] 13:18:06 ignas [~ignas@office.pov.lt] has joined #lisp 13:18:25 EyesIsServer [~eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 13:18:31 meta-coder [~meta@unaffiliated/meta-coder] has joined #lisp 13:19:49 -!- tritchey [~tritchey@c-68-51-88-12.hsd1.in.comcast.net] has quit [Ping timeout: 240 seconds] 13:20:09 -!- pnq [~nick@ACA26A42.ipt.aol.com] has quit [Ping timeout: 240 seconds] 13:20:15 -!- ruru [~user@114-45-177-184.dynamic.hinet.net] has quit [Ping timeout: 252 seconds] 13:22:36 -!- csdserver [~csdserver@76.177.111.55] has quit [Ping timeout: 256 seconds] 13:23:02 -!- spearalot [~spearalot@c83-248-111-48.bredband.comhem.se] has quit [Quit: Computer has gone to sleep] 13:23:58 csdserver [~csdserver@76.177.111.55] has joined #lisp 13:24:32 -!- csdserver [~csdserver@76.177.111.55] has quit [Changing host] 13:24:32 csdserver [~csdserver@unaffiliated/csddesk] has joined #lisp 13:27:18 -!- ramkrsna [ramkrsna@unaffiliated/ramkrsna] has quit [Remote host closed the connection] 13:27:20 alex` [~alex@2001:67c:20a1:1118:224:d7ff:fe9b:e994] has joined #lisp 13:31:10 -!- steevy [~steevy@91-67-42-157-dynip.superkabel.de] has quit [Quit: quit?] 13:32:53 pnq [~nick@ACA26A42.ipt.aol.com] has joined #lisp 13:34:47 -!- osa1 [~sinan@78.175.218.236] has quit [Remote host closed the connection] 13:34:56 -!- Athas [~athas@130.225.165.40] has quit [Read error: Operation timed out] 13:35:15 Hi, I'm considering overriding slot-value in a metaclass but want to be able to get the slot value without clever business some of the time. Looking at AMOP, they use a std-slot-value function. Is there an equivalent in, say SB-MOP or the like? 13:35:30 -!- kpal [~kpal@46-252-118-54.sibtele.com] has quit [Ping timeout: 268 seconds] 13:35:33 Athas [~athas@130.225.165.40] has joined #lisp 13:35:59 i have a problem with installing sbcl i asked 8 hours ago, is it ok to repaste? 13:36:19 meta-physicist [~meta@unaffiliated/meta-coder] has joined #lisp 13:36:20 katesmith [~katesmith@75-138-199-162.static.snfr.nc.charter.com] has joined #lisp 13:36:20 -!- katesmith [~katesmith@75-138-199-162.static.snfr.nc.charter.com] has quit [Changing host] 13:36:20 katesmith [~katesmith@unaffiliated/costume] has joined #lisp 13:37:01 ivan-kanis: Do you get the same behavior if you use a trailing slash? 13:37:21 -!- meta-coder [~meta@unaffiliated/meta-coder] has quit [Ping timeout: 268 seconds] 13:37:26 Xach: same behavior with a trailing slash 13:38:00 *Xach* has no ideas 13:38:08 -!- peterhil [~peterhil@xdsl-77-86-196-131.nebulazone.fi] has quit [Ping timeout: 240 seconds] 13:38:55 -!- tijn [~tijn@ip50-221-208-87.adsl2.static.versatel.nl] has quit [Quit: Ex-Chat] 13:39:34 Xach: have you used the script? 13:39:52 I have, but only to install in the default location. 13:42:00 Xach: well i tried the default location and it installed somewhere funny 13:42:16 Xach: /home/ubuntu/usr... something 13:43:20 xyxu [~xyxu@222.68.156.85] has joined #lisp 13:43:23 peterhil [~peterhil@xdsl-77-86-196-131.nebulazone.fi] has joined #lisp 13:43:36 wacky 13:45:56 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 252 seconds] 13:46:11 -!- pnq [~nick@ACA26A42.ipt.aol.com] has quit [Ping timeout: 252 seconds] 13:50:14 well i'll have to get my hands dirty and troubleshoot the script 13:51:06 ivan-kanis: Can you paste the output of "env" to paste.lisp.org? 13:51:21 Xach: sure 13:56:09 Xach: nice catch, I have BUILD_ROOT defined ;) 13:56:19 that looked fishy to me, too 13:56:30 paste.lisp.org is down fwiw 13:56:36 works fine for me 13:57:15 oh it does work, after submitting i got a blank page 13:57:19 ah 13:57:38 H4ns [hans@netzhansa.com] has joined #lisp 13:57:51 Happens. Just goo to http://paste.lisp.org/ and youro paste will be amongst the first ones. 13:58:33 -!- phao [phao@187.117.224.103] has quit [Quit: Not Here] 13:58:55 antifuchs: it's funny and an example of how not to parse an URL :) 13:58:57 For anyone wondering about the question I asked above, here's something that seems to work for me. http://paste.lisp.org/display/126748 13:58:57 -!- Athas [~athas@130.225.165.40] has quit [Remote host closed the connection] 13:59:00 spearalot [~spearalot@c83-248-111-48.bredband.comhem.se] has joined #lisp 14:02:35 benkard [~benkard@mnch-4d04ea5d.pool.mediaWays.net] has joined #lisp 14:02:44 -!- benkard [~benkard@mnch-4d04ea5d.pool.mediaWays.net] has quit [Client Quit] 14:06:00 Xach: weird i don't set this variable anywhere... 14:06:27 -!- alex` [~alex@2001:67c:20a1:1118:224:d7ff:fe9b:e994] has quit [Ping timeout: 252 seconds] 14:06:34 kuma http server is becoming a 'big' software, I hoped it was easier 14:06:34 i'll just add unset in my .zshrc 14:06:41 rmarianski [~rmariansk@mail.marianski.com] has joined #lisp 14:06:45 but it's funny 14:07:01 Why is it becoming big? 14:07:55 Because mixing event-based and threading-queue and making the whole thread safe is getting complex :) 14:08:51 and because I want a lot of features many http servers have, plus features of an application server 14:09:01 Ah. Sounds like that's the problem. 14:09:19 I suggest getting rid of threads and those features. 14:09:26 LiamH [~none@pdp8.nrl.navy.mil] has joined #lisp 14:09:45 One simple http server per application seems to make things easy. 14:10:11 no I don't want, because in an application server is not always easy getting rid of non-blocking functions 14:10:42 Zhivago, I'm doning something more elaborate.... I hope :) 14:11:12 and it must be easy to configure and use 14:11:12 Sounds like there's the fundamental problem. :) 14:11:35 Zhivago, why do you see a problem ? 14:11:36 In any case, I'd suggest composing servers rather than trying to shove everything into one box. 14:12:03 ahh, in my case those are listeners :) 14:12:19 -!- homie` [~levgue@xdsl-84-44-208-28.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:12:30 -!- wbooze` [~levgue@xdsl-84-44-208-28.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:12:31 -!- lars_t_h [~lars_t_h@002128184076.mbb.telenor.dk] has quit [Quit: Leaving] 14:13:07 -!- Nauntilus [~Benji@ip68-231-176-93.tc.ph.cox.net] has quit [Ping timeout: 255 seconds] 14:13:22 Adlai [~adlai@93-172-41-91.bb.netvision.net.il] has joined #lisp 14:14:16 dtw [dtw@dsl-roibrasgw1-fe84fb00-215.dhcp.inet.fi] has joined #lisp 14:15:26 -!- Adlai is now known as nevilleshouldhav 14:15:29 homie [~levgue@xdsl-84-44-208-28.netcologne.de] has joined #lisp 14:15:31 -!- nevilleshouldhav is now known as Adlai 14:15:43 -!- Adlai [~adlai@93-172-41-91.bb.netvision.net.il] has quit [Changing host] 14:15:43 Adlai [~adlai@unaffiliated/adlai] has joined #lisp 14:16:15 it will work something like (continue reading requests from a connetion in an event based style) -> (put in a thread queue but prepare responses in the correct order) -> (once next response is ready tell main http-listener response is ready with a local socket) -> (send the response in an event based style) 14:16:23 so it's a mix 14:18:00 I hope it will be very fast too 14:22:55 -!- _nix00 [~Adium@116.228.89.171] has quit [Quit: Leaving.] 14:24:31 -!- Cosman246 [~cosman246@64.134.188.7] has quit [Ping timeout: 248 seconds] 14:25:51 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 14:26:53 wbooze [~levgue@xdsl-84-44-208-28.netcologne.de] has joined #lisp 14:30:06 -!- Vicfred [~Futaba@189.228.26.247] has quit [Remote host closed the connection] 14:31:41 -!- micke` [~user@147.186.255.4] has left #lisp 14:33:54 Xach: success! :D 14:34:13 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #lisp 14:37:53 jewel [~jewel@196-215-117-46.dynamic.isadsl.co.za] has joined #lisp 14:38:13 yay 14:40:37 rudi [~rudi@1x-193-157-205-216.uio.no] has joined #lisp 14:41:59 -!- chenbing [~user@122.233.179.205] has left #lisp 14:43:13 felideon [~user@65.23.61.98.nw.nuvox.net] has joined #lisp 14:44:20 centipedefarmer [~centipede@75-170-148-246.desm.qwest.net] has joined #lisp 14:45:38 chenbing [~user@122.233.179.205] has joined #lisp 14:46:16 (sb-ext:set-sbcl-source-location "/path/to/mydir/of/sbcl")will be eval every times when restart slime:-( 14:46:36 put it into ~/.sbclrc 14:47:32 kiuma: is it possible to run your server without extra threads? (turn threading on only when it is really needed)? 14:48:18 eMBee, do you mean for workers ? 14:48:23 it will be 14:49:23 but you'll have one thread per lisener for obvious reasons. 14:49:45 what is each listener doing? 14:50:09 -!- Blkt [~user@host69-129-dynamic.12-79-r.retail.telecomitalia.it] has quit [Ping timeout: 240 seconds] 14:50:41 opening a poassive socket 14:50:55 so one listener per socket? 14:51:21 yes, and you may add your own listeners too 14:51:22 -!- csdserver [~csdserver@unaffiliated/csddesk] has quit [Ping timeout: 255 seconds] 14:51:34 that might do other things 14:51:43 there is no way for the listener to open multiple sockets? 14:51:45 naming is a nightmare for me 14:52:09 not with mine 14:52:18 you can provide yours 14:52:26 osa1 [~sinan@78.175.218.236] has joined #lisp 14:52:30 ok 14:52:39 how can I create a bit vector from integer? 14:52:56 osa1: The only way I know is to loop and test and set. 14:53:18 *eMBee* is looking for a threadless server design 14:53:39 embee: Showing excellent taste. 14:53:49 :-) 14:53:57 osa1: (dotimes (i width) (setf (aref vector i) (ldb (byte 1 i) integer))) or similar 14:54:18 looping over (format nil "~b" number) ? 14:54:20 probably reversed 14:54:25 Zhivago: are you aware of any lisp http server implementation that doesn't use threads? 14:54:36 nha [~prefect@p3E9E2A38.dip.t-dialin.net] has joined #lisp 14:54:42 kiuma: that is not creatively nasty, just mundanely nasty 14:54:44 eMBee: they are optional in hunchentoot. 14:54:52 -!- EarlGray^ [~mitra@despairing-occident.volia.net] has quit [Remote host closed the connection] 14:54:57 lol 14:55:16 EarlGray^ [~mitra@despairing-occident.volia.net] has joined #lisp 14:55:18 oh? i was under the impression that hunchentoot was thread based. at least some docs i read seemed to imply that 14:56:00 Well, it can run with one thread, iirc. 14:56:11 The main problem in lisp is avoiding blocking. 14:57:39 osa1: why do you want to? you can do all operations you can do on bit-vectors on integers 14:59:22 _schulte_ [~eschulte@c-174-56-1-147.hsd1.nm.comcast.net] has joined #lisp 14:59:55 Such as map? 15:00:02 -!- xjiujiu [~quassel@218.77.14.195] has quit [Read error: Connection reset by peer] 15:00:15 not with MAP, but yes 15:00:16 Zhivago: what does one need to look out for to avoid blocking? can the sockets still accept connections while one connection is being processed? 15:00:47 embee: i/o, code written by people who don't care about blocking, etc. 15:00:57 Cosman246 [~cosman246@64.134.188.7] has joined #lisp 15:01:09 If you're writing everything, then it's not a great burden, imho. 15:01:19 stassats: do integers have logical shift operator? 15:01:20 eMBee: yes, the sockets still accept connections 15:01:29 (Apart from i/o, where CL lacks non-blocking constructs). 15:01:36 eMBee: the number of connections that can be queued is specified up front in posix sockets 15:01:51 ah, ok 15:01:52 Zhivago: read-char-no-block 15:02:05 I know, it's piss-poor. But it's there 15:02:12 tritchey [~tritchey@205.233.9.181] has joined #lisp 15:02:13 T'aint either. 15:02:32 LISTEN and READ-CHAR-NO-HANG perhaps. 15:02:32 sorry, read-char-no-hang 15:02:34 osa1: ASH 15:02:35 Patterns are incompete abstract. so wonderful idea, I know one key to software now 15:03:11 I've never used it, so it's a forgivable lapse 15:03:24 *eMBee* reads up on hunchentoot docs and finds something about two kinds of taskmasters... 15:04:55 listen is only meaningful on interactive streams, and read-char-no-hang is problematic for reading binary data. 15:05:59 hmm, non-blocking i/o is a big piece of the puzzle 15:06:06 milanj [~milanj_@93-87-152-91.dynamic.isp.telekom.rs] has joined #lisp 15:06:43 eMBee: hunchentoot does not use non-blocking i/o ever, so in single threaded mode, you need to decouple slow clients from the lisp, e.g. using a proxy. 15:07:34 *eMBee* nods 15:08:27 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 15:09:33 ghosTM55 [~ghosTM55@li279-245.members.linode.com] has joined #lisp 15:10:30 iolib aparently supports non-blocking i/o 15:10:50 it uses the implementation's posix 15:11:00 it's not actually portable cl 15:11:20 Does Non-blocking always means asynchronied? 15:12:07 not necessarily, but it's not too useful otherwise 15:12:54 well, as long as iolib supports the major lisp implementations, isn't that portability enough? 15:13:39 Does it? 15:14:26 -!- tcr [~tcr@95-88-46-7-dynip.superkabel.de] has quit [Quit: Leaving.] 15:15:22 does iolib support all major lisp implementations? as far as i know, not. 15:17:19 but that doesn't mean it couldn't be made to support them. as long as the implementations have some support of the features needed 15:18:55 or i am missunderstanding what portable cl means. (it does mean code written to the standard that works without checking for features using #+() etc..) 15:19:23 i believe it does mean... 15:19:24 urandom__ [~user@p548A5150.dip.t-dialin.net] has joined #lisp 15:19:45 martixy [martixy@78.90.38.181] has joined #lisp 15:20:34 that's conforming code 15:21:19 supposedly not good enough in some implemetions, I don't kown whether sbcl is included 15:21:33 is that different from portable code? 15:22:32 "conforming program n. a program, used to emphasize the fact that the program depends for its correctness only upon documented aspects of Common Lisp, and can therefore be expected to run 15:22:32 correctly in any conforming implementation." 15:22:38 -!- xyxu [~xyxu@222.68.156.85] has quit [Ping timeout: 240 seconds] 15:22:51 portable adj. (of code) required to produce equivalent results and observable side effects in all conforming implementations. 15:22:59 of course, that's clear 15:23:09 ah 15:23:11 portable can use features outside of CL standard, but it just has to do the same thing on all implementations 15:23:26 at least that's how i understand CLHS 15:23:53 There's a difference between portable code (using only standard CL) and ported code (running on major CL implementations) 15:24:08 iolib is widely ported 15:24:15 yeah, that was my understanding 15:24:35 rudi: there's no difference 15:25:03 no difference in practice, I agree 15:25:09 -!- meta-physicist [~meta@unaffiliated/meta-coder] has quit [Ping timeout: 240 seconds] 15:25:32 my thought was as soon as a library is ported enough, then i don't care if it is portable anymore, because the code i write on top of it is still portable through the use of that ported library 15:27:01 i suggest you do not use minute differences in the semantics of a natural language to describe things 15:27:14 also, if i have an application that is designed with non-blocking i/o then i don't care if it can not be ported to run on something that doesn't offer non-blocking i/o 15:27:21 meta-physicist [~meta@unaffiliated/meta-coder] has joined #lisp 15:28:15 coderdad [~coderdad@68.15.125.214] has joined #lisp 15:28:40 eMBee: you can go even further and stop caring about anything besides, say, SBCL 15:28:41 english is a second language for me, i may not be aware of some minute differences even existing, or may believe that some terms have a bigger difference than they do in reality 15:29:10 tensorpudding [~michael@99.102.71.62] has joined #lisp 15:29:11 stassats: yes, i could, but that is not relevant. 15:30:24 "ported" means the process of making some code available for another implementation was completed, "portable" means that that process is easily accomplished 15:35:51 ok, so in what sense is non-blocking i/o not portable? because there are implementations that do not support non-blocking i/o at all? or because porting is not easely accomplished? 15:36:31 iolib doesn't use implementation facilities to do its thing, it calls the OS directly 15:37:08 and to my knowledge it only does so only on UNIXy systems 15:37:20 ahh 15:39:03 -!- aerique [310225@xs8.xs4all.nl] has quit [Quit: ...] 15:39:44 -!- Drakken [~dan@ppp-70-225-172-176.dsl.chmpil.ameritech.net] has left #lisp 15:42:56 yes it's < libevent 15:43:16 Posix only 15:43:59 windows is posix. 15:44:26 Nauntilus [~Benji@wsip-68-14-222-194.ph.ph.cox.net] has joined #lisp 15:44:30 No it isn't! 15:45:54 The NIST sure thinks so. 15:52:45 -!- ahinki [~chatzilla@212.99.10.150] has quit [Quit: ChatZilla 0.9.88 [Firefox 10.0/20111221135037]] 15:53:17 fantazo [~fantazo@178-191-169-183.adsl.highway.telekom.at] has joined #lisp 15:54:06 -!- Nauntilus [~Benji@wsip-68-14-222-194.ph.ph.cox.net] has quit [Ping timeout: 252 seconds] 15:54:27 -!- kiuma [~kiuma@85-18-55-37.ip.fastwebnet.it] has quit [Quit: Leaving] 15:54:38 gabnet [~gabnet@ACaen-257-1-125-222.w86-220.abo.wanadoo.fr] has joined #lisp 15:54:52 _nix00 [~Adium@114.92.106.181] has joined #lisp 15:58:49 zophy [~zophy@host-5-150-220-24.midco.net] has joined #lisp 16:00:08 -!- spearalot [~spearalot@c83-248-111-48.bredband.comhem.se] has quit [Quit: Computer has gone to sleep] 16:02:02 -!- ghosTM55 [~ghosTM55@li279-245.members.linode.com] has quit [Quit: Leaving] 16:02:29 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Ping timeout: 240 seconds] 16:04:51 hi 16:05:00 Joreji [~thomas@77-23-251-130-dynip.superkabel.de] has joined #lisp 16:05:21 how can I read a n x 2 table from a file? 16:05:40 -!- mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has quit [Quit: Lost terminal] 16:06:44 -!- centipedefarmer [~centipede@75-170-148-246.desm.qwest.net] has quit [Quit: This computer has gone to sleep] 16:06:56 -!- krrrcks [~user@mail.systemhaus-brunner.de] has quit [Quit: ciao] 16:07:34 with #\newline and separator, you can acquire it 16:07:43 Posterdati: first write a function to read such a thing from a stream, then use with-open-file to create a stream from a file. 16:07:51 stassats` [~stassats@wikipedia/stassats] has joined #lisp 16:09:11 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 244 seconds] 16:17:48 -!- dmiles_afk [~dmiles@173.239.83.225] has quit [Read error: Operation timed out] 16:20:35 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 16:21:23 situ [~quassel@223.183.151.184] has joined #lisp 16:23:37 -!- Zhivago [~zhivago@li49-59.members.linode.com] has quit [Remote host closed the connection] 16:24:09 Nauntilus [~Benji@wsip-68-14-222-194.ph.ph.cox.net] has joined #lisp 16:28:28 Kron_ [~Kron@CPE0013f7c06a42-CM0013f7c06a3e.cpe.net.cable.rogers.com] has joined #lisp 16:34:23 fantazo_ [~fantazo@178-191-165-67.adsl.highway.telekom.at] has joined #lisp 16:34:32 lars_t_h [~lars_t_h@002128000074.mbb.telenor.dk] has joined #lisp 16:37:48 -!- fantazo [~fantazo@178-191-169-183.adsl.highway.telekom.at] has quit [Ping timeout: 240 seconds] 16:40:07 -!- Cosman246 [~cosman246@64.134.188.7] has quit [Ping timeout: 240 seconds] 16:44:42 Xach: using read? 16:44:53 no 16:45:03 read reads lisp forms 16:45:14 Posterdati: you have so many choices for reading from a stream. choose one that suits your problem. 16:46:38 mucker [~mucker@183.83.227.117] has joined #lisp 16:46:54 -!- Kron_ [~Kron@CPE0013f7c06a42-CM0013f7c06a3e.cpe.net.cable.rogers.com] has quit [Ping timeout: 244 seconds] 16:47:42 probably the 100th time a beginner posted something like this ..... does http://paste.lisp.org/display/126752 look pretty ? 16:48:10 mucker: absolutely no 16:48:30 mucker: no 16:48:30 -!- rudi [~rudi@1x-193-157-205-216.uio.no] has quit [Quit: Textual IRC Client: http://www.textualapp.com/] 16:48:31 :( 16:48:49 no worries .. i respect the () :) 16:49:53 it actually compiles and runs ... all the characters are aliases to ( and ) 16:49:56 what's with the ; at the end of most lines? also this is scheme, not common lisp 16:50:05 : == ( 16:50:08 ; == ) 16:50:10 dmiles_afk [~dmiles@173.239.83.225] has joined #lisp 16:50:24 eMBee: that's not scheme either 16:50:40 that is scheme 16:50:54 last time i checked scheme didn't look so horrible 16:51:04 lol 16:51:23 i know ... just had fun with tr/// in perl 16:51:30 Cosman246 [~cosman246@64.134.188.7] has joined #lisp 16:52:19 mucker, just to warn, this channel is about common lisp, not scheme. i don't mind talking about scheme, but some will find it off topic and better suited to #scheme 16:52:39 duly noted 16:52:56 i don't think #scheme would like what you've pasted either 16:53:33 yeah i know .. i got the idea from scheme actually ... in scheme [ is an alias to ( 16:54:26 i don't think any real scheme is going to be able to read that 16:55:08 -!- gko [~gko@114-34-168-13.HINET-IP.hinet.net] has quit [Ping timeout: 252 seconds] 16:55:14 well it would just take some reader macros to accept : and ; as ( and ) 16:55:51 true 16:55:59 thats pretty much what i did 16:56:06 scheme has reader macros? 16:56:23 defsyntax 16:56:25 iirc 16:57:02 that's a regular macro not a reader macro 16:57:35 I guess I was fooled by the nomenclature. 16:58:41 sry .. i used tr/// in perl to do it .. not scheme's reader macros .. i know very little lisp (or even perl for that matter) was just playing around 16:58:45 -!- Joreji [~thomas@77-23-251-130-dynip.superkabel.de] has quit [Read error: Operation timed out] 16:59:08 Ulfalizer [~ulf@c-9dc7e455.026-504-6c6b701.cust.bredbandsbolaget.se] has joined #lisp 16:59:43 mucker: The results look very ugly to someone who knows more than a very little. 17:00:16 -!- Cosman246 [~cosman246@64.134.188.7] has quit [Ping timeout: 276 seconds] 17:00:54 Xach : I repect your opinion :) i wish i knew more that a little 17:01:04 *than 17:01:20 see http://www.gigamonkeys.com/book 17:01:26 mucker: lots of good books & code to study 17:01:41 *mucker* thinking of doing a serious project in lisp 17:02:05 -!- ngz [~user@23.78.199.77.rev.sfr.net] has quit [Remote host closed the connection] 17:02:20 Lisp is pretty cool for all kinds of projects. 17:02:43 tcr [~tcr@95-88-46-7-dynip.superkabel.de] has joined #lisp 17:03:08 i think i will start with a blogging engine 17:05:57 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 248 seconds] 17:06:26 -!- dtw [dtw@dsl-roibrasgw1-fe84fb00-215.dhcp.inet.fi] has quit [Quit: +++ATH0] 17:07:15 Cosman246 [~cosman246@64.134.188.7] has joined #lisp 17:08:33 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #lisp 17:09:04 mucker: not sure if you need inspirations https://github.com/billstclair/Lisplog 17:10:23 sipo: cool. thanks. 17:13:05 -!- _nix00 [~Adium@114.92.106.181] has quit [Quit: Leaving.] 17:13:47 -!- Cosman246 [~cosman246@64.134.188.7] has quit [Ping timeout: 240 seconds] 17:16:40 ngz [~user@23.78.199.77.rev.sfr.net] has joined #lisp 17:17:16 sipo you are using Hunchentoot to generate static .html files? 17:21:40 -!- osa1 [~sinan@78.175.218.236] has quit [Remote host closed the connection] 17:21:57 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 248 seconds] 17:22:10 mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has joined #lisp 17:22:42 -!- ngz [~user@23.78.199.77.rev.sfr.net] has quit [Remote host closed the connection] 17:24:54 rme [~rme@50.43.130.95] has joined #lisp 17:25:40 Hello programmers, we need more programs written in Lisp to show the world that Lisp is superior. So start writing more intelligent programs! 17:25:54 i don't need that 17:25:58 I don't care about showing the world anything. 17:26:17 after what happened to ruby post-rails, yeah no 17:27:47 heh, good point 17:28:22 good programs do their job and don't get noticed 17:28:36 Try writing programs that can self-evolve! 17:29:31 are you doing ai research or real work? 17:29:39 meta-physicist: try saying something relevant 17:29:49 what happened to ruby, post rails? 17:30:02 pavelpenev [~pavelludi@83.222.167.145] has joined #lisp 17:31:02 If you want something you’ve never had, you must do something you’ve never done. 17:31:12 Fade: vast influx of people who had no care to learn ruby, just wanted to use rails 17:31:19 ah 17:32:54 as far as I can tell, too, work on ruby itself has essentially stopped 17:33:06 ngz [~user@23.78.199.77.rev.sfr.net] has joined #lisp 17:33:41 and I speculate it's because rails uses so much monkey-patching and implementation-dependent tricks that it's impossible to improve anything without breaking rails 17:33:46 i haven't followed it in awhile, but i thought there was work being done on 1.9 17:34:28 1.9 is the python 3 of the ruby world 17:34:44 it's been stuck there for many years 17:35:00 there were/are some moderately interesting projects for other implementations 17:35:18 could say that about python 3 too 17:35:43 oh, other ruby implementations 17:35:44 python i haven't really looked at since like 1.4(?) 17:36:22 Hm, question about sbcl and the gc and streams created by #make-string-output-stream 17:36:24 attila_lendvai [~attila_le@81.211.255.218] has joined #lisp 17:36:24 -!- attila_lendvai [~attila_le@81.211.255.218] has quit [Changing host] 17:36:24 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 17:36:39 ruby project suffer a lot of bitrot sadly .. downside to a language that changes a lot 17:36:41 It doesn't seem to be running, unless I ask it to 17:36:43 herbieB_: witty and correct answer 17:36:51 lisp is refreshingly stable in that regard 17:36:51 And so I'm blowing my heap 17:37:17 I'ver closed the stream, and called #'get-output-stream-string 17:37:27 herbieB_: so you have a reference to the stream that is still live 17:38:00 Actually, no. In my test, I setf'ed the symbol to nil 17:38:29 herbieB_: that doesn't mean there isn't one lurking around 17:38:29 -!- Odin- [~sbkhh@adsl-2-92.du.snerpa.is] has quit [Ping timeout: 248 seconds] 17:38:43 I don't knwo where else it would be. I recreated with some very simple tests 17:38:51 herbieB_: wouldn't you rather use with-output-to-string? 17:39:04 lisp seems to suffer from the different problem of tons of antiqued half-solutions (which nonetheless still work) 17:39:06 I would love to, but this is a more complicated situation that requires this function :) 17:39:49 At any rate, recreating my issue, I just do: (defvar *str* (make-string-output-stream) 17:39:52 Write a bunch of crap to it 17:39:56 close it 17:39:59 read from it 17:40:27 And then setf it to nil. Then I repeat it again with another var, and hit the limit quickly 17:40:51 However, if I run (gc :full t), (room) goes back to normal levels and I can start allocating again 17:42:22 i think posting the code would be easier than describing it in prose 17:42:29 -!- Nauntilus [~Benji@wsip-68-14-222-194.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 17:43:05 Yeah, working ona test case, one sec 17:43:22 -!- homie [~levgue@xdsl-84-44-208-28.netcologne.de] has quit [Read error: Operation timed out] 17:43:43 wbooze` [~levgue@xdsl-78-35-129-10.netcologne.de] has joined #lisp 17:43:54 homie` [~levgue@xdsl-78-35-129-10.netcologne.de] has joined #lisp 17:46:05 * ** *** can hold a living reference in the repl. 17:46:05 -!- wbooze [~levgue@xdsl-84-44-208-28.netcologne.de] has quit [Ping timeout: 252 seconds] 17:46:14 yeah, but only three 17:46:48 http://paste.lisp.org/display/126754 17:47:15 Doing (test) (test) blows the heap, doing (test) (gc :full t) (test) does not 17:47:57 À propos, has the - REPL thingy been kept over from Maclisp in CL? 17:47:58 how about (test) nil nil nil nil (test) 17:48:22 Yep 17:48:54 Odin- [~sbkhh@adsl-2-92.du.snerpa.is] has joined #lisp 17:48:57 You can modify test to return nil if you like, still happens. 17:49:00 what if you don't call get-output-stream-string 17:49:12 Ah, yeah, it has. 17:49:12 -!- ivan-kanis [~user@89.83.137.164] has quit [Read error: Connection reset by peer] 17:49:32 are you on a 32bit system? 17:49:32 dlowe: Then it takes three calls to blow the heap 17:49:41 (test) (test) returns t on my system 17:49:50 Run it 8 times :P 17:50:09 I'm on 64bit, yes. 17:50:42 caoliver [~cao@24-236-212-125.dhcp.trcy.mi.charter.com] has joined #lisp 17:50:42 The original thing that made this happen was soemthing smaller than the 20meg string I'm writing, it just took longer 17:51:32 asvil` [~filonenko@178.124.160.180] has joined #lisp 17:51:37 I guess the streams aren't reaped as aggressively 17:53:02 I guess then why am I getting a heap-exhausted-error if there's parts of the heap that could be gced 17:53:33 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 244 seconds] 17:53:34 -!- asvil [~filonenko@178.124.160.180] has quit [Ping timeout: 276 seconds] 17:55:46 pavelludiq [~pavelludi@83.222.167.145] has joined #lisp 17:56:07 clop2 [~jared@moat3.centtech.com] has joined #lisp 17:56:14 Hi there, I've got stuck on a MOP problem to do with assigning data to a slot definition. I've got a minimalish example at http://paste.lisp.org/display/126755 Can anyone shed some light on the issue? 17:56:58 -!- pavelpenev [~pavelludi@83.222.167.145] has quit [Ping timeout: 268 seconds] 17:57:41 -!- ignas [~ignas@office.pov.lt] has quit [Ping timeout: 244 seconds] 17:57:52 What's supposed to happen is that the ALIASES slot on ARTIST should have a slot called INC (yep, that works) and it should be set to "aliases". Have I misunderstood something? 17:57:59 kennyd: have not used Lisplog yet, just came across it recently and added it to my list of things to try 17:59:00 -!- gabnet [~gabnet@ACaen-257-1-125-222.w86-220.abo.wanadoo.fr] has quit [Quit: Quitte] 18:00:16 kilon [~kilon@athedsl-400035.home.otenet.gr] has joined #lisp 18:00:54 -!- homie` [~levgue@xdsl-78-35-129-10.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:01:05 -!- wbooze` [~levgue@xdsl-78-35-129-10.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:03:41 homie [~levgue@xdsl-78-35-129-10.netcologne.de] has joined #lisp 18:04:28 dtw [dtw@dsl-roibrasgw1-fe84fb00-215.dhcp.inet.fi] has joined #lisp 18:05:04 ivan-kanis [~user@89.83.137.164] has joined #lisp 18:05:58 velov [~velov@91.207.42.52] has joined #lisp 18:08:46 -!- dmiles_afk [~dmiles@173.239.83.225] has quit [Read error: Operation timed out] 18:10:53 wbooze [~levgue@xdsl-78-35-129-10.netcologne.de] has joined #lisp 18:13:49 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 18:14:18 -!- pavelludiq is now known as pavelpenev 18:16:32 -!- ivan-kanis [~user@89.83.137.164] has quit [Remote host closed the connection] 18:16:40 -!- shachaf [~shachaf@204.109.63.130] has quit [Remote host closed the connection] 18:19:18 -!- mucker [~mucker@183.83.227.117] has quit [Quit: Leaving] 18:19:34 Hmm. I just found code in the "submarine" library that defines compute-effective-slot-definition. I'll try that out, but can anyone explain to me why I need to do it? 18:19:49 (I've pasted that as an annotation to the paste above) 18:20:52 rswarbrick: oh well, you've already found out, but still" http://paste.lisp.org/display/126755#3 18:21:55 Yep, but can you explain to me (or point me to an explanation of) why one has to do this? 18:22:08 What's the difference between direct and effective slot defns here? 18:22:22 (I can look in AMOP, but I couldn't find it earlier) 18:23:22 direct is respective class, effective is respective inherited ones in most specific to least specific order or so 18:24:01 Er, I'm sorry, I don't quite understand you. 18:24:36 (direct respective the class which defines it directly as it's slot) 18:24:52 exactly. 18:24:57 effective is for an inheritance hierarchy i think 18:25:06 the slots get merged somehow 18:25:17 an inherited slot may have a different effective slot definition on different inheriting classes. 18:25:22 Ah, I see. So a direct slot only appears in the most specific class but then "merging" to get all slots, including inherited ones produces effective slots. 18:26:01 Right, so I should think of an effective slot definition as being a sort of composite of all the relevant slot definitions affecting a given class instance? 18:26:20 yes, i think so 18:26:31 at least it does not sound wrong.... 18:26:32 Thank you, that makes much more sense to me now. 18:26:42 :-) Wow, praise indeed! ... 18:27:48 Ah right, now I see why I have to write this: it's possible that I might have several slot definitions to combine, not all of which even *have* an 'inc slot or whatever. Doing that automatically obviously wouldn't work. 18:28:31 rswarbrick: why do you have (getf initargs :allocation) instead of using a keyword parameter? 18:28:57 Er, because I was being an idiot... Thanks! 18:31:01 dmiles_afk [~dmiles@dsl-216-155-213-063.cascadeaccess.com] has joined #lisp 18:32:29 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 240 seconds] 18:32:35 -!- parabolize [~gyro@c-75-71-247-61.hsd1.co.comcast.net] has quit [Ping timeout: 240 seconds] 18:34:16 stassats [~stassats@wikipedia/stassats] has joined #lisp 18:34:39 parabolize [~gyro@c-75-71-247-61.hsd1.co.comcast.net] has joined #lisp 18:34:41 -!- caoliver [~cao@24-236-212-125.dhcp.trcy.mi.charter.com] has left #lisp 18:36:45 -!- tcr [~tcr@95-88-46-7-dynip.superkabel.de] has quit [Quit: Leaving.] 18:38:12 zzach [~zzach@dslb-088-076-031-135.pools.arcor-ip.net] has joined #lisp 18:40:36 -!- mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has quit [Write error: Broken pipe] 18:40:41 mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has joined #lisp 18:40:44 -!- felipe [~felipe@unaffiliated/felipe] has quit [Ping timeout: 252 seconds] 18:42:52 -!- naeg [~naeg@194.208.239.170] has quit [Quit: WeeChat 0.3.6] 18:46:55 Does this mean I have no memory available? "Heap exhausted during allocation: 63340544 bytes available, 268435472 requested." 18:47:04 CaZe_ [~CaZe@unaffiliated/y354c] has joined #lisp 18:47:40 not enough memory available 18:48:16 but "free" shows lots of memory available. 18:48:32 SBCL doesn't use this memory 18:48:38 -!- CaZe [~CaZe@unaffiliated/y354c] has quit [Remote host closed the connection] 18:48:38 -!- CaZe_ is now known as CaZe 18:48:45 it uses a predefined chunk of memory 18:48:55 you can increase it with --dynamic-space-size 18:50:13 stassats: OK, good. Does (room) tell me what this value is now, i.e. Dynamic space usage is: 927,853,424 bytes? 18:50:57 it shows how much is used, not the total amount 18:51:23 (sb-ext:dynamic-space-size) will tell you this 18:52:07 -!- situ [~quassel@223.183.151.184] has quit [Ping timeout: 255 seconds] 18:52:07 stassats: OK, thanks. As I suspected, since I just got the error, I'm very close. 1073741824 18:52:31 1073741824! 18:52:33 the algorithm of calculation this value was recently changed 18:52:35 Here's a nickel, kid 18:52:45 previously it was 8G statically 18:53:21 Xach: I'm starting up SBCL without any arguments, so that's what I get. 18:53:51 Guthur [~user@host86-148-186-247.range86-148.btcentralplus.com] has joined #lisp 18:54:18 sbcl --dynamic-space-size 2048 gives me the same answer to (sb-ext:dynamic-space-size) 18:54:56 Ok, maybe my SBCL is too old. 18:55:07 I get the 8G. 18:55:16 So older SBCLs give you more memory? 18:55:22 yes 18:55:23 -!- meta-physicist [~meta@unaffiliated/meta-coder] has quit [Quit: Leaving] 18:55:32 or less memory, if you have much more 18:55:48 -!- djuber [~djuber@c-76-16-60-176.hsd1.il.comcast.net] has quit [Remote host closed the connection] 18:56:04 i have --dynamic-space-size 8Gb 18:56:12 gives nice 8589934592 18:56:15 OK, I was putting the command line argument in the wrong place. 18:57:04 Is life notably worse in any way if you simply ask for 8Gb all the time, even if you never use it? 18:57:05 i should set it to 4Gb on the laptop 18:57:34 davlap [~davlap@c-24-147-211-14.hsd1.ma.comcast.net] has joined #lisp 18:57:35 meta-coder [~meta@unaffiliated/meta-coder] has joined #lisp 18:58:32 ISF [~ivan@201.82.172.81] has joined #lisp 18:58:33 pjb, therep? 18:58:57 LiamH: it will increase the GC threshold, but otherwise you won't notice anything 19:00:09 -!- coderdad [~coderdad@68.15.125.214] has quit [Ping timeout: 252 seconds] 19:01:33 -!- lars_t_h [~lars_t_h@002128000074.mbb.telenor.dk] has quit [Quit: Leaving] 19:07:49 -!- JuniorRoy [~juniorroy@212.36.228.103] has quit [*.net *.split] 19:07:49 -!- sorabji5252 [~user@ip72-199-192-84.sd.sd.cox.net] has quit [*.net *.split] 19:08:01 sorabji5252 [~user@ip72-199-192-84.sd.sd.cox.net] has joined #lisp 19:08:33 JuniorRoy [~juniorroy@212.36.228.103] has joined #lisp 19:08:50 -!- wbooze [~levgue@xdsl-78-35-129-10.netcologne.de] has quit [Read error: Connection reset by peer] 19:10:30 -!- sorabji5252 [~user@ip72-199-192-84.sd.sd.cox.net] has quit [Client Quit] 19:11:54 -!- homie [~levgue@xdsl-78-35-129-10.netcologne.de] has quit [Read error: Connection reset by peer] 19:12:51 felipe [~felipe@unaffiliated/felipe] has joined #lisp 19:13:04 wbooze [~levgue@xdsl-78-35-129-10.netcologne.de] has joined #lisp 19:13:08 pnq [~nick@ACA20E63.ipt.aol.com] has joined #lisp 19:13:10 homie [~levgue@xdsl-78-35-129-10.netcologne.de] has joined #lisp 19:16:39 Cosman246 [~cosman246@64.134.188.7] has joined #lisp 19:17:18 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 248 seconds] 19:21:02 -!- Ulfalizer [~ulf@c-9dc7e455.026-504-6c6b701.cust.bredbandsbolaget.se] has quit [Quit: leaving] 19:21:58 snearch [~snearch@e178116217.adsl.alicedsl.de] has joined #lisp 19:21:58 kilon_alios [~kilon@athedsl-400501.home.otenet.gr] has joined #lisp 19:24:04 -!- kilon [~kilon@athedsl-400035.home.otenet.gr] has quit [Ping timeout: 255 seconds] 19:24:35 -!- homie [~levgue@xdsl-78-35-129-10.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 19:24:55 -!- kilon_alios is now known as kilon 19:25:02 -!- wbooze [~levgue@xdsl-78-35-129-10.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 19:26:23 homie [~levgue@xdsl-78-35-129-10.netcologne.de] has joined #lisp 19:26:50 alex` [~alex@2001:67c:20a1:1104:224:d7ff:fe9b:e994] has joined #lisp 19:27:00 -!- homie [~levgue@xdsl-78-35-129-10.netcologne.de] has quit [Remote host closed the connection] 19:28:28 -!- dtw [dtw@dsl-roibrasgw1-fe84fb00-215.dhcp.inet.fi] has quit [Quit: Zzzz] 19:28:46 homie [~levgue@xdsl-78-35-129-10.netcologne.de] has joined #lisp 19:29:20 coderdad [~coderdad@68.15.125.214] has joined #lisp 19:29:39 -!- homie [~levgue@xdsl-78-35-129-10.netcologne.de] has quit [Read error: Connection reset by peer] 19:31:00 homie [~levgue@xdsl-78-35-129-10.netcologne.de] has joined #lisp 19:32:53 louis_ [~louis@dsl-62-235.aei.ca] has joined #lisp 19:34:22 -!- louis_ [~louis@dsl-62-235.aei.ca] has left #lisp 19:38:01 maden [~louis@dsl-62-235.aei.ca] has joined #lisp 19:38:38 HG` [~HG@dsbg-4d0a3be7.pool.mediaWays.net] has joined #lisp 19:39:08 dstatyvka [ejabberd@pepelaz.jabber.od.ua] has joined #lisp 19:39:26 -!- HG` [~HG@dsbg-4d0a3be7.pool.mediaWays.net] has quit [Client Quit] 19:41:45 sshaginyan [~sshaginya@cpe-76-167-139-212.socal.res.rr.com] has joined #lisp 19:41:49 phax [~phax@adsl-68-73-150-63.dsl.ipltin.ameritech.net] has joined #lisp 19:41:53 -!- sshaginyan [~sshaginya@cpe-76-167-139-212.socal.res.rr.com] has quit [Client Quit] 19:41:57 -!- phax [~phax@adsl-68-73-150-63.dsl.ipltin.ameritech.net] has quit [Changing host] 19:41:57 phax [~phax@unaffiliated/phax] has joined #lisp 19:42:28 -!- maden [~louis@dsl-62-235.aei.ca] has quit [Changing host] 19:42:28 maden [~louis@unaffiliated/maden] has joined #lisp 19:42:34 Buglouse [~Buglouse@cpe-65-28-172-255.wi.res.rr.com] has joined #lisp 19:43:03 -!- alex` [~alex@2001:67c:20a1:1104:224:d7ff:fe9b:e994] has quit [Ping timeout: 252 seconds] 19:44:35 hi, how do I delete a function? I defined it but I will not use it anymore 19:44:35 -!- velov [~velov@91.207.42.52] has quit [Read error: Connection reset by peer] 19:44:42 fmakunbound 19:44:51 velov [~velov@91.207.42.52] has joined #lisp 19:44:52 or just forget about it 19:45:21 -!- asvil` [~filonenko@178.124.160.180] has quit [Remote host closed the connection] 19:45:50 Beetny [~Beetny@ppp118-208-172-57.lns20.bne4.internode.on.net] has joined #lisp 19:46:45 thank you sir 19:48:05 ikki [~ikki@201.155.92.12] has joined #lisp 19:51:55 forgetting about it is perfectly acceptable 19:52:13 unless it's messing up your tab completion 19:52:42 in which case you'd want to unintern the symbol, assuming it's not being used by anything else 19:53:27 Kryztof [~user@AMontsouris-551-1-32-232.w90-24.abo.wanadoo.fr] has joined #lisp 19:53:49 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 19:54:03 -!- angavrilov [~angavrilo@217.71.227.181] has quit [Read error: Operation timed out] 19:55:27 I need to read float data in a file organized as n x 2 table, I wrote some code for read-line from it, but how can I extract data from every lines (every line is a string)= 19:55:30 ? 19:55:34 thanks 19:55:42 use programming 19:56:22 ? 19:56:50 float data as nx2 table ? 19:57:09 2.0978978 3.74839274892... ? 19:57:14 yes 19:57:22 Posterdati: write code to construct a float from a character stream, then use with-input-from-string to create a stream from the string. 19:57:26 n1 space n2 newline 19:58:00 Joreji [~thomas@77-23-251-130-dynip.superkabel.de] has joined #lisp 19:58:25 Xach: could read take a number from it's input? 19:58:40 Xach: if yes I could iterate read over the line 20:00:39 Xach: Why not use the lisp reader? 20:00:51 it's not safe 20:00:57 Ah, well, that. 20:01:51 i'm surprised there isn't anything already 20:02:55 Posterdati: Are you familiar with the REPL? 20:02:59 SegFaultAX|work [~mkbernard@173.228.45.162] has joined #lisp 20:04:47 djuber [~user@c-76-16-60-176.hsd1.il.comcast.net] has joined #lisp 20:05:41 asvil [~filonenko@178.124.160.180] has joined #lisp 20:06:34 stassats [~stassats@wikipedia/stassats] has joined #lisp 20:10:06 -!- velov [~velov@91.207.42.52] has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/] 20:10:32 hrrr, gitorious is really non-intuitive 20:11:42 how about repo.or.cz? 20:11:43 UnwashedMeme [~nathan@216.155.103.30] has joined #lisp 20:12:02 i was trying to send a merge request 20:12:05 -!- nha [~prefect@p3E9E2A38.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 20:12:09 -!- asvil [~filonenko@178.124.160.180] has quit [Remote host closed the connection] 20:13:17 i did, to cl+ssl to work with openssl-1.0.0 20:13:47 *stassats`* is a happy github user otherwise 20:14:26 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 20:15:06 I really like repo.or.cz: the UI has a high information-density, no javascript 20:16:11 I wish it was more reliable. Today I kept getting connection resets when trying to check things out. 20:16:26 *Xach* will email and ask for refund 20:16:34 i can't clone from git:// from repo.or.cz anymore 20:16:39 had to change to http 20:17:52 -!- jewel [~jewel@196-215-117-46.dynamic.isadsl.co.za] has quit [Ping timeout: 276 seconds] 20:20:29 I kept having to move repos off of both gitorious and repo.or.cz to github because service downtimes or slowness kept screwing with my builds :( 20:23:02 -!- prip [~foo@host244-130-dynamic.36-79-r.retail.telecomitalia.it] has quit [Ping timeout: 252 seconds] 20:24:45 asvil [~filonenko@178.124.160.180] has joined #lisp 20:25:59 okflo [~okflo@91-115-86-124.adsl.highway.telekom.at] has joined #lisp 20:26:05 arghh! After years of use, I finally have a patch for SBCL (C code nonetheless!) but it's already been fixed, though not yet released. 20:26:33 You missed your chance at immortality :( 20:26:42 -!- asvil [~filonenko@178.124.160.180] has quit [Remote host closed the connection] 20:28:15 -!- stassats [~stassats@wikipedia/stassats] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:28:41 -!- X-Scale [email@sgi-ultra64.broker.freenet6.net] has quit [Ping timeout: 268 seconds] 20:28:51 -!- dmiles_afk [~dmiles@dsl-216-155-213-063.cascadeaccess.com] has quit [Ping timeout: 252 seconds] 20:36:32 right, sb-posix question 20:36:37 prip [~foo@host40-130-dynamic.36-79-r.retail.telecomitalia.it] has joined #lisp 20:36:44 i have the following test code:http://paste.lisp.org/display/126740 20:37:14 it works fine on linux, but on os x the tcsetattr call fails thusly: Error in SB-POSIX:TCSETATTR: Invalid argument (22) 20:37:28 X-Scale [email@sgi-ultra64.broker.freenet6.net] has joined #lisp 20:37:35 -!- maden [~louis@unaffiliated/maden] has quit [Quit: leaving] 20:37:54 -!- X-Scale is now known as Guest44174 20:38:24 m0prl: not quite related, but (make-pathname :name pathname) is not really a good idea. better to use (pathname pathname) would be better. 20:39:01 Any idea what might be causing the difference between the systems? 20:39:09 Xach: thanks 20:39:56 -!- Guest44174 is now known as X-Scale 20:45:04 -!- okflo [~okflo@91-115-86-124.adsl.highway.telekom.at] has quit [Quit: leaving] 20:45:26 okflo [~user@91-115-86-124.adsl.highway.telekom.at] has joined #lisp 20:45:55 -!- Joreji [~thomas@77-23-251-130-dynip.superkabel.de] has quit [Ping timeout: 252 seconds] 20:49:01 m0prl: what do you see if you trace sb-posix:tcgetattr and sb-posix:tcsetattr and try again? 20:50:03 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 20:51:58 dmiles_afk [~dmiles@dsl-72-19-42-148.cascadeaccess.com] has joined #lisp 20:53:09 -!- lusory [~bart@bb115-66-195-54.singnet.com.sg] has quit [Ping timeout: 240 seconds] 20:55:07 -!- okflo [~user@91-115-86-124.adsl.highway.telekom.at] has left #lisp 20:55:40 zfx [~zfx@unaffiliated/zfx] has joined #lisp 20:56:37 hmm 20:56:50 for some reason i'm not seeing trace output 20:56:53 slime is showing me : 20:56:53 1: (SB-POSIX:TCSETATTR 9 0 #) 20:56:53 Locals: 20:56:53 SB-DEBUG::ARG-0 = 9 20:56:53 SB-DEBUG::ARG-1 = 0 20:57:01 SB-DEBUG::ARG-2 = # 20:58:09 m0prl: please use paste.lisp.org 20:58:35 appending to your existing one is a good plan 20:59:58 http://paste.lisp.org/display/126759 21:00:15 too late, did a new one for the debugging output 21:01:47 if you exit the debugger do you see any trace output in the repl? 21:02:02 hba [~hba@189.130.178.126] has joined #lisp 21:02:58 annotated 21:04:46 -!- Cosman246 [~cosman246@64.134.188.7] has quit [Quit: Leaving] 21:06:12 -!- na[k] [~textual@c-67-171-131-23.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 21:06:26 brandonz [~brandon@c-71-198-255-25.hsd1.ca.comcast.net] has joined #lisp 21:06:29 -!- snearch [~snearch@e178116217.adsl.alicedsl.de] has quit [Quit: Verlassend] 21:07:35 Cosman246 [~cosman246@64.134.188.7] has joined #lisp 21:10:25 Is there an easy way to create a fifo pipe that I'm missing? 21:11:13 -!- kilon [~kilon@athedsl-400501.home.otenet.gr] has quit [Ping timeout: 268 seconds] 21:11:29 pavelludiq [~pavelludi@83.222.167.145] has joined #lisp 21:11:57 Flexi-streams doesn't seem to have anything out of the box 21:12:21 -!- pavelpenev [~pavelludi@83.222.167.145] has quit [Ping timeout: 248 seconds] 21:13:26 -!- _schulte_ [~eschulte@c-174-56-1-147.hsd1.nm.comcast.net] has quit [Quit: leaving] 21:14:30 Xach: I think that I'm familiar 21:15:44 kilon [~kilon@athedsl-320216.home.otenet.gr] has joined #lisp 21:16:20 -!- Jeanne-Kamikaze [~Jeanne-Ka@79.Red-88-7-134.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 21:16:28 asvil [~filonenko@178.124.160.180] has joined #lisp 21:17:40 my hexacopter video http://vimeo.com/34334409 21:20:39 herbieB_: broadcast streams 21:20:39 tsuru` [~charlie@adsl-74-179-28-12.bna.bellsouth.net] has joined #lisp 21:21:40 -!- asvil [~filonenko@178.124.160.180] has quit [Remote host closed the connection] 21:23:15 wait, no. that's dumb. 21:23:24 Posterdati: looks awesome, but don't know if it's extremely relevant to lisp. is it? 21:23:55 dlowe: Oh, whew. That confused me :P 21:24:03 osa1 [~sinan@78.175.218.236] has joined #lisp 21:24:03 madnificent: its software is written in Lisp 21:24:10 4srs? 21:24:12 herbieB_: are you trying to make a posix pipe or just a queue? 21:24:34 dlowe: Well, a pipe-light. inter-thread communication 21:25:11 they're sometimes called mailboxes 21:25:26 And I have used those, but I would like something that supports the stream interface 21:26:16 in some ways that's inferior, because that means having to serialize and deserialize your data 21:26:55 herbieB_: Totally not streams, but 0mq is pretty good at inter-thread comms 21:27:02 And implements a queue internally 21:27:35 The thing is that this is comign to me as a stream, and I'm doing some things, then handing it off to another part of the code in a seperate thread 21:27:54 *sshirokov* does that with 0mq 21:28:04 flexi-streams has a flexi-io-stream but I have no idea how you would isntantiate such a thing. It says not to do it directly, but to use make-flexi-stream, which then expects an io-stream 21:28:44 Is your data streaming or are you just using the stream as a queue for atomic data? 21:29:07 sshirokov: It's streaming from the outside 21:29:48 I mean the actual nature of the data 21:30:12 Posterdati: seriously? is it published? 21:30:14 It's a stream 21:30:18 Ah 21:30:25 madnificent: not yet 21:30:44 Posterdati: what does it cost to build one? how did you tackle it? project page? anything? 21:31:04 So yeah, I really do just need an inter-thread pipe. That's the right solution for this. I just have no idea how you'd create one in CL without implementing the stream interface yourself with some kind of container 21:31:07 madnificent: we're setting up a site 21:31:09 Posterdati: CL? 21:31:11 Which I'm not opposed to, but I thought for sure SOMEone had done this before 21:31:15 Posterdati: i found it to be interesting, now i'm interested in terms of "i might one construct something of the likes if i understand it" 21:31:28 benkard [~benkard@mnch-4d04ea5d.pool.mediaWays.net] has joined #lisp 21:31:49 Posterdati: if it's CL, you may be able to hit plo :) 21:31:49 dlowe: obviously not 21:31:54 herbieB_: You can wrap the stream behavior around a gray stream subclass, instantiate that and put your transport logic in there 21:31:57 ow, then it's not #lisp related :( 21:32:13 dlowe: CL without clos :) 21:32:13 Posterdati: not obviously :p you can pack quite a bit of machine into a small space these days 21:32:36 dlowe: I'm running a ts7200 with debian on it 21:32:41 sshirokov: It's not that simple :( 21:32:45 :( 21:32:55 dlowe: i'm curious to things like the raspberry Pi (and friends). they pack quite a lot of punch, but i wonder if there's an implementation which can be used for real time stuff (given that we have a GC) 21:32:59 What makes it unsimple? 21:33:08 :( 21:33:12 madnificent: GC is no barrier. You just don't cons anything 21:33:28 madnificent: you don't alloc anything in non-gc'd languages either if you want it to stay real time 21:34:06 Basically the data coming doesn't tell me anything about the data before I get it. So I have to diagnose it, then ship it off to the proper place. However, SOMETIMEs the data is so large I really want to start processing it now rather than waiting for it to end :) 21:34:20 spearalot [~spearalot@c83-248-111-48.bredband.comhem.se] has joined #lisp 21:34:27 dlowe: i always imagined that you'd want to _somehow_ combine both complex algorithms which do cons, and RT pieces (which indeed could be made to cons less, but you should still be able to ensure the GC doesn't run during their execution) 21:34:29 So, I create a passthrough to manage the connection, and do smart things with it when its time to :) 21:34:38 -!- pnq [~nick@ACA20E63.ipt.aol.com] has quit [Ping timeout: 240 seconds] 21:34:40 dlowe: actually, perhaps nikodemus's work will take care of that on sbcl 21:35:38 dlowe, madnificent: I'm working on it, I'll tell you when we will have a decent work and site 21:36:11 good luck Posterdati 21:36:17 and congrats, it looks cool nonetheless 21:37:49 -!- puchacz [~puchacz@87-194-5-99.bethere.co.uk] has quit [Ping timeout: 276 seconds] 21:38:02 is #\ = space? 21:38:21 #\Space 21:38:59 (eql #\ #\Space) => t 21:39:54 ok ok thanks :) 21:47:27 jackhammer2022 [~textual@c-76-119-13-121.hsd1.ma.comcast.net] has joined #lisp 21:48:20 toekutr [~user@50-0-51-2.dsl.static.sonic.net] has joined #lisp 21:56:52 -!- n1tn4tsn0k [~nitnatsno@178.46.11.173] has quit [Ping timeout: 268 seconds] 21:57:29 -!- zophy [~zophy@host-5-150-220-24.midco.net] has quit [Read error: Operation timed out] 21:58:28 dilange888 [~dilange88@24.196.113.147] has joined #lisp 21:58:29 Bike [~Glossina@71-214-102-93.ptld.qwest.net] has joined #lisp 21:59:02 I know this is a bit mercantile for an open-source server, but does anyone know of any companies that are hiring beginning LISP programmers? 22:00:46 stop being a beginner first 22:01:31 madnificent: thanks 22:01:35 smoogy [~redmundia@mail.madito.es] has joined #lisp 22:01:38 hello 22:01:44 dilange888: Nobody is hiring LISP programmers, though you might find Common Lisp or Scheme or Clojure jobs 22:02:14 Has anyone ever connected ecl to slime? I'm trying for funsies 22:02:14 is there a way to pass foo:bar to a macro without CL compiler checking if package foo exists first? 22:02:42 lusory [~bart@bb115-66-195-54.singnet.com.sg] has joined #lisp 22:02:44 no 22:04:37 could reader macro do it? 22:04:43 -!- dilange888 is now known as zarus 22:04:59 no 22:05:23 you'd have to find the symbol at run-time 22:06:06 -!- mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has quit [Ping timeout: 268 seconds] 22:06:13 I wanted to wrap (symbol-value (find-symbol ... )) stuff to something prettier 22:06:28 smoogy: how did you find yourself doing that in the first place? 22:06:42 smoogy: what's stopping you? 22:07:13 stassats inability to do foo:bar when foo package doesn't exist. that would be the most natural way 22:07:36 and you're not willing to consider other options? 22:08:03 can you suggest one 22:08:25 i can suggest a function 22:08:28 Xach I want to do something like dynamically. (defun foo () #+swank (swank:...) #-swank (something-else)) 22:08:59 if swank is not loaded #+swank will be discard, even if I load swank after the function was compiled 22:10:01 n1tn4tsn0k [~nitnatsno@178.47.230.85] has joined #lisp 22:10:18 and what would the function do? I wanted to write a macro that would walk the tree and replace all swank:foo with (symbol-value (find-symbol "FOO" "SWANK")). 22:11:50 it would the symbol you need 22:11:54 something like this. (if-package-exists (swank) (progn (swank:...)) (print "Package doesn't exist, do something else")) 22:12:23 would find 22:12:43 I really don't get why I can't pass swank:symbol to a macro if the swank package doesn't exist by the way, I thought macro doesn't evaluate it's arguments 22:13:15 the arguments have to be read beforehand 22:15:07 -!- pavelludiq [~pavelludi@83.222.167.145] has quit [Read error: Operation timed out] 22:15:40 http://paste.lisp.org/display/126762 22:15:40 -!- ikki [~ikki@201.155.92.12] has quit [Quit: Leaving] 22:15:57 Xach: read-from-string is interesting, I could read from a whole line a number, but how can I use the two values it returns (read value and first space position)? Thanks 22:16:09 pavelpenev [~pavelludi@83.222.167.145] has joined #lisp 22:17:13 multiple-value-bind? 22:17:35 -!- ThePawnBreak [~quassel@94.177.108.25] has quit [Ping timeout: 240 seconds] 22:18:01 m0prl: (multiple-value-bind (a b) ...) 22:18:14 m0prl: but how can I use a and b outside multiple-value-bind? 22:18:55 it's like a let form, so you can't unless you use setf (or similar) to assign the values to a place that exists outside the form 22:18:56 -!- UnwashedMeme [~nathan@216.155.103.30] has left #lisp 22:19:34 m0prl: may I pass values to the value-form? 22:19:35 multiple-value-setq 22:20:29 Posterdati: what exactly are you trying ot do? 22:20:56 stassats ok that's not so bad 22:21:19 m0prl: recursively read space separated values using read-from-string in a line 22:21:59 and do what with them? 22:22:13 fill arrays 22:22:46 k 22:22:50 are these numbers integers? 22:22:53 no 22:23:02 double float 22:25:57 -!- alvis [~alvis@tx-184-5-64-92.dhcp.embarqhsd.net] has quit [Remote host closed the connection] 22:26:57 -!- corni [~corni@drupal.org/user/136353/view] has quit [Ping timeout: 252 seconds] 22:27:13 well, if you've got something that will extract one of those from a string and give you that and teh point where it stopped you should be able to do something like (multiple-value-bind (number end) (extract-number...) ETC) 22:27:19 alvis [~alvis@tx-184-5-64-92.dhcp.embarqhsd.net] has joined #lisp 22:27:26 where ETC involves storing the number in the array and recursing 22:28:42 mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has joined #lisp 22:31:50 -!- milanj [~milanj_@93-87-152-91.dynamic.isp.telekom.rs] has quit [Read error: Connection timed out] 22:32:18 milanj [~milanj_@93-87-152-91.dynamic.isp.telekom.rs] has joined #lisp 22:37:57 zophy [~zophy@host-5-150-220-24.midco.net] has joined #lisp 22:38:01 -!- parabolize [~gyro@c-75-71-247-61.hsd1.co.comcast.net] has quit [Ping timeout: 255 seconds] 22:38:18 -!- mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has quit [Quit: leaving] 22:39:50 parabolize [~gyro@c-75-71-247-61.hsd1.co.comcast.net] has joined #lisp 22:43:22 pnq [~nick@ACA21C0B.ipt.aol.com] has joined #lisp 22:46:50 tcr [~tcr@95-88-46-7-dynip.superkabel.de] has joined #lisp 22:47:02 -!- osa1 [~sinan@78.175.218.236] has quit [Remote host closed the connection] 22:52:50 -!- gravicappa [~gravicapp@ppp91-77-174-173.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 22:53:12 is there a way to create a growing array? 22:53:39 :adjustable t 22:53:43 and use vector-push-extend 22:55:15 and a fill pointer as well, ideally. 22:57:08 -!- cyrillos [~cyrill@188.134.33.130] has quit [Ping timeout: 240 seconds] 22:59:42 Xach, m0prl, LiamH: look! http://paste.lisp.org/display/126721#7 23:00:47 but it gets an error, right? ('value) 23:01:15 -!- sdemarre [~serge@91.176.186.58] has quit [Ping timeout: 240 seconds] 23:01:47 cpc26 [~cpc26@fsf/member/cpc26] has joined #lisp 23:03:03 -!- coderdad [~coderdad@68.15.125.214] has quit [Quit: Computer has gone to sleep.] 23:03:14 LiamH: no, it works 23:04:22 Posterdati: that only works by accident. 23:04:31 Well, I think you'd get a warning in SBCL anyway, you haven't told it about 'value. 23:04:44 LiamH: maybe not at the REPL. 23:04:51 pkhuong: I don't care 23:05:21 Posterdati: neither will I if I break your code. 23:05:42 -!- LiamH [~none@pdp8.nrl.navy.mil] has quit [Quit: Leaving.] 23:06:05 Okasu [~okasu@s094127069016.m.truevds.ru] has joined #lisp 23:06:45 what is a good SOAP library? (it seems cl-soap is getiing "rusty") 23:07:25 -!- rmarianski [~rmariansk@mail.marianski.com] has quit [Quit: leaving] 23:07:26 if I am wrong about cl-soap please help me help myself. 23:07:27 thanks 23:07:48 -!- Okasu [~okasu@s094127069016.m.truevds.ru] has left #lisp 23:13:52 -!- spearalot [~spearalot@c83-248-111-48.bredband.comhem.se] has quit [Quit: Computer has gone to sleep] 23:14:40 cpc26: you could always extend the existing cl-soap 23:14:57 ...if needs be 23:16:14 Guthur: yes, I am open to that (although I would need much help) but if there is a better project I would "hitch my wagon" to that 23:17:40 I had a quick look on cliki, there didn't seem to be any, I haven't had need for a SOAP lib myself so can't recommend one 23:17:58 to be fair I'd probably not recommend SOAP in the first place, hehe 23:19:06 but sometimes "needs must" 23:19:08 Guthur: I agree about SOAP but I can't argue with "ENTERPRISE QUALITY" in this instance. 23:20:18 yep, your software needs to be buzzword and acronym compliant to pass Enterprise Quality Control 23:21:20 though in that case it amazes me that you managed to slip CL in the door 23:21:27 have you just not told them yet 23:22:26 Guthur: Does anyone? 23:22:50 pavelludiq [~pavelludi@83.222.167.145] has joined #lisp 23:23:01 Guthur: JEE makes it easier. First you get their friendship, then you get their trust, then you get their money 23:23:26 -!- pavelpenev [~pavelludi@83.222.167.145] has quit [Ping timeout: 252 seconds] 23:23:43 techinally it is python (sbcl) right ;-) 23:23:52 -!- pavelludiq is now known as pavelpenev 23:24:31 hehe, it would be interesting to see that being used to get CL in 23:24:42 when the realise it may be too late 23:25:57 corni [~corni@drupal.org/user/136353/view] has joined #lisp 23:27:18 EarlGray^^ [~mitra@despairing-occident.volia.net] has joined #lisp 23:27:40 -!- EarlGray^ [~mitra@despairing-occident.volia.net] has quit [Ping timeout: 276 seconds] 23:28:51 hunchentoot isn't working 23:29:13 prod it with a pointy stick 23:29:55 -!- pnq [~nick@ACA21C0B.ipt.aol.com] has quit [Ping timeout: 240 seconds] 23:31:07 pnq [~nick@AC81AB54.ipt.aol.com] has joined #lisp 23:34:23 -!- meta-coder [~meta@unaffiliated/meta-coder] has quit [Read error: Operation timed out] 23:35:13 this code uses (define-easy-handler....) 23:35:28 but the handlers are never used 23:36:15 zophy: you did not read the manual. there is a secion titled something like the "the easy teen-age new york version". read that. 23:39:43 zophy: you have to read the manual the "easy teen-age" part is not accurate; I think it is easy-acceptor now? 23:39:43 but yes it is different 23:40:00 cpc26: the manual is accurate. 23:40:46 http://weitz.de/hunchentoot/#start 23:40:54 \p 23:40:56 this code is 2 years old 23:41:13 things may have changed 23:41:20 zophy: they have. 23:41:23 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 252 seconds] 23:42:01 -!- kilon [~kilon@athedsl-320216.home.otenet.gr] has quit [Remote host closed the connection] 23:42:30 -!- add^_ [~add^_^@h169n4c1o838.bredband.skanova.com] has quit [Quit: add^_] 23:43:19 H4ns: with the quicklisp version of hunchentoot? 23:43:35 cpc26: indeed. 23:50:00 H4ns: can you share how? 23:50:10 jsut the easy teen-age form 23:50:49 tali713` [~user@c-76-17-236-129.hsd1.mn.comcast.net] has joined #lisp 23:51:30 -!- JuniorRoy [~juniorroy@212.36.228.103] has quit [Quit: Leaving.] 23:53:15 -!- tali713` [~user@c-76-17-236-129.hsd1.mn.comcast.net] has quit [Client Quit] 23:56:46 (hunchentoot:start (make-instance 'hunchentoot:acceptor :port 4242)) 23:56:56 that works not easy-handler 23:57:27 sorry easy-acceptor 23:57:43 -!- ft [efftee@shell.chaostreff-dortmund.de] has quit [Ping timeout: 268 seconds]