00:00:23 bombshelter13 [n=bombshel@209-161-237-96.dsl.look.ca] has joined #lisp 00:00:46 <_3b> hmm, i guess #xcdef0123 is coming up soon too 00:01:25 The bottom line is: there will be excuses for several parties. 00:01:38 enough excuses* 00:01:44 "It's a day ending in Y." 00:01:57 Yeah, that too. 00:02:08 You really only need one excuse, so long as it's a good one. 00:03:12 happy new minute! 00:03:49 *nyef* realizes that it's gone seven pm and goes to get a beer. 00:04:01 Too bad there's no string-trim-left, which removes a string 00:04:27 -!- manuel_ [n=manuel@HSI-KBW-091-089-250-148.hsi2.kabel-badenwuerttemberg.de] has quit [] 00:04:30 Instead of a character bag. 00:06:08 Umm... Why? 00:06:36 What are you really trying to accomplish? 00:07:17 "/foo/bar" -> "bar". I use subseq now. 00:07:30 Well: 00:08:17 Not implemented: (my-trim-left "/foo/" "/foo/bar") -> "bar" 00:08:24 You could use make-array instead of subseq... 00:08:33 duaneb [i=45cd3b57@gateway/web/ajax/mibbit.com/x-6298644c87fd9c00] has joined #lisp 00:10:04 nyef: How? 00:10:27 displaced array? 00:10:53 (make-array 3 :element-type 'character :displaced-to "/foo/bar" :displaced-index-offset 5) or whatever it is. 00:11:00 but why would you do that? 00:11:08 Laziness? 00:11:27 nyef: Clever. But a bit hackish. 00:11:38 hi people 00:11:41 simple question 00:11:46 don't see how it's less work than subseq... 00:11:48 what's the lisp analog for structs? 00:11:53 and displaced arrays suck 00:11:56 clhs defsctruct 00:11:57 Sorry, I couldn't find anything for defsctruct. 00:11:58 or should I store all datatypes in pairs? 00:12:02 or cons's 00:12:04 or whatever 00:12:07 Array displacement is one of those things that you rarely need, but when you do it's a godsend... But this is one of those cases where it's completely unnecessary aside from the possible educational value. 00:12:19 duaneb: structures and classes 00:12:24 clhs defstruct 00:12:24 http://www.lispworks.com/reference/HyperSpec/Body/m_defstr.htm 00:12:26 clhs defclass 00:12:26 http://www.lispworks.com/reference/HyperSpec/Body/m_defcla.htm 00:12:27 nyef: I mean, the intention here is not clear. 00:12:36 -!- HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has quit ["This computer has gone to sleep"] 00:12:40 Right. Here it's a hack. 00:12:45 Ok, but do these bring unneeded overhead? 00:12:49 But it's cool anyway. 00:13:24 Not that I consider subseq a good way. 00:13:38 nyef pasted "Where it's less of a hack" at http://paste.lisp.org/display/73899 00:13:45 duaneb: structures can be efficient 00:13:49 tomoyuki28jp [n=tomoyuki@EM119-72-32-253.pool.e-mobile.ne.jp] has joined #lisp 00:14:05 ok thanks 00:14:23 is it lispish to code with them? :P 00:14:47 It is, indeed, lispish to code with structs and classes. More so with classes than structs these days. 00:15:16 gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has joined #lisp 00:15:36 nyef annotated #73899 with "A usage scenario" at http://paste.lisp.org/display/73899#1 00:17:04 -!- moesenle [n=moesenle@atradig124.informatik.tu-muenchen.de] has quit [Read error: 60 (Operation timed out)] 00:17:24 moesenle [n=moesenle@atradig124.informatik.tu-muenchen.de] has joined #lisp 00:21:39 dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has joined #lisp 00:23:51 How can I write binary data via string-output-stream? Do I have to change the string-output-stream to binary-output-stream? Or flexi-streams enables me to write binary data via string-output-stream? What I am trying to do is write binary data over http with using my own http server. I use usocket and the open stream is currently string-output-stream. http://paste.lisp.org/display/73900 00:24:33 tomoyuki28jp: Flexi-streams includes an in-memory binary output stream of some sort, if memory serves. 00:24:53 -!- Odin- [n=sbkhh@s121-302.gardur.hi.is] has quit [] 00:25:02 The ability to write binary data to a string output stream rests in large part on the underlying character encoding. 00:25:15 <_death> why do you write a png to the html output stream? 00:25:29 On the whole, conflating character and binary data is a bad thing. 00:25:30 tomoyuki28jp: you need a binary stream from the socket which you can wrap in a flexi-stream 00:25:30 _death: To serve image file. 00:25:50 <_death> that's not how you're supposed to serve image files.. 00:26:01 -!- duaneb [i=45cd3b57@gateway/web/ajax/mibbit.com/x-6298644c87fd9c00] has quit ["http://www.mibbit.com ajax IRC Client"] 00:26:13 -!- The-Kenny [n=moritz@p5087C3E8.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 00:26:21 _death: oh really? What am I wrong? 00:26:22 <_death> do you know about the IMG tag? 00:26:41 _death: Isn't he writing an HTTP server? 00:26:56 Umm... 00:26:58 z0d: yes, I am writing an HTTP server. 00:27:06 <_death> z0d: `*html-output-stream*' is a weird name then 00:27:19 -!- gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has quit [Remote closed the connection] 00:27:20 How are you handling the various character encodings now? 00:27:22 gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has joined #lisp 00:27:32 _death: oh yeah, the name is bad. I agree. 00:27:47 nyef: I only use UTF-8 now. 00:28:05 AFAIK, the only "good" encoding for being able to output binary via a string is iso8859-1. 00:28:15 But I could easily be wrong. 00:29:29 -!- dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has quit [] 00:30:34 -!- Beeet [n=stathis@ppp102-62.adsl.forthnet.gr] has quit [Read error: 104 (Connection reset by peer)] 00:30:44 it's not like the standard specifies that implementations have to support latin1 or utf8 or have char-codes < 256 in latin1... 00:30:50 -!- dash_ [n=dash@dslb-084-057-025-074.pools.arcor-ip.net] has quit [Read error: 60 (Operation timed out)] 00:31:07 Nor does the standard specify the existance of sockets. 00:31:09 there are always some assumptions outside of ansi cl to be made 00:31:20 Beeet [n=stathis@ppp102-62.adsl.forthnet.gr] has joined #lisp 00:31:23 yeah 00:31:34 dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has joined #lisp 00:31:42 b4|hraban [n=b4@0brg.xs4all.nl] has joined #lisp 00:31:56 I am kinda getting confusing. So first I have to open a binary stream with usocket, not a string stream. Is this correct? 00:32:21 You might want a bivalent stream, if you can get one. 00:34:18 dash_ [n=dash@dslb-084-057-054-199.pools.arcor-ip.net] has joined #lisp 00:34:42 nyef: I just found out some info on the web, and it says only sbcl has bivalent stream type. Is this correct? 00:34:49 nyef: or you mean using flexi-stream? 00:35:28 tomoyuki28jp: if you are writing an http server, then i suggest using something more serious than usocket like iolib 00:36:31 Ah, look at that. HTTP headers must be in iso-8859-1 encoding unless they use the rules of RFC 2047. 00:37:14 So you're already looking at possibly losing by using UTF-8. 00:37:39 attila_lendvai: Why would you say so? I know iolib has better performance, and I actually have tried to use it, but I couldn't find much info on the web, so decided to use usocket for now. I am planning to make the http server as comet server, so I will re-write it with iolib in the future probably. 00:37:41 HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has joined #lisp 00:38:20 jollygood [n=jollygoo@pool-71-164-35-120.chrlwv.east.verizon.net] has joined #lisp 00:38:51 beach```` [n=user@ABordeaux-158-1-111-6.w90-60.abo.wanadoo.fr] has joined #lisp 00:39:08 tomoyuki28jp: i have bad experience with sbcl's socket and good experience with iolib in the http server context. and it's not only performance, but things like threads stuck in close, etc 00:39:28 tomoyuki28jp: lnostdal has some iolib based webserver for his comet based symbolicweb 00:39:44 stassats: yes, I took at the code. actually. 00:39:55 attila_lendvai: I see. thanks for your advice, I appreciate :) 00:39:57 and parsing http must be done on the raw bytes... 00:40:25 -!- EtFb [n=etfb@mail.hatrix.com] has quit [Read error: 110 (Connection timed out)] 00:40:30 attila_lendvai: I have to ask, but... SBCL sockets and SERVE-EVENT, or just the sockets? And is this in araneida, or another context? 00:40:31 *attila_lendvai* also has an iolib based web server for a change :) 00:41:06 *nyef* would consider writing a webserver, as it seems an interesting problem, but for the fact that he doesn't bloody need one. 00:41:21 Does anyone know any other http server implementation besides sw-http? 00:41:37 -!- fschwidom [n=fschwido@94.219.117.229] has quit [Remote closed the connection] 00:41:40 nyef: would it be more interesting as a test case after implementing tcp? 00:41:42 I mean the one uses iolib. 00:42:11 hefner: Possibly. But at this point implementing TCP is also in that "interesting, but not necessary" category. 00:42:24 nyef: the stuck threads are with postmodern, our last dependency that uses usocket. and i think serve-event is the source of the problem... 00:42:50 Mmm... serve-event is the source of many problems. 00:43:01 singhv [n=vsingh@CPE0014bf4af6c2-CM000a739caee2.cpe.net.cable.rogers.com] has joined #lisp 00:43:19 But then, that's partly because it's not well-documented how to use it safely. 00:43:42 (And possibly because it's not used safely in SBCL. Not sure about that.) 00:43:47 tomoyuki28jp: our stuff is here, although there's no docs and some parts are still in a flux: http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=cl-dwim-wui;a=summary 00:44:00 Jarvellis [n=jarv@dsl-217-155-101-22.zen.co.uk] has joined #lisp 00:44:09 -!- mrSpec [n=NoOne@82.177.125.6] has quit ["ZzzzzZzzzzZzzz..."] 00:44:31 -!- singhv [n=vsingh@CPE0014bf4af6c2-CM000a739caee2.cpe.net.cable.rogers.com] has quit [Client Quit] 00:44:36 nyef: I think it's more the latter 00:44:38 nyef: fe[nl]ix posted a patch that replaces it with poll but it breaks fd-style communication in slime, so it's not applied 00:44:55 -!- gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has quit [Read error: 145 (Connection timed out)] 00:45:30 Mmm. 00:45:58 And I'm probably one of the only people who managed to get fd-handler style communication running with SLIME and SBCL/Win32. 00:46:45 attila_lendvai: Thanks, I will take a look at it. 00:46:53 -!- netaustin [n=austinsm@email.observer.com] has quit [] 00:47:09 <_3b> nyef: i've been using it with your patch for a while, and might have converted someone else, don't remember about that though 00:47:24 singhv [n=vsingh@CPE0014bf4af6c2-CM000a739caee2.cpe.net.cable.rogers.com] has joined #lisp 00:47:33 Mmm... Now if we can just get someone to sit down and merge it into mainline, eh? 00:48:32 the open source fairy to the rescue 00:49:30 ^authentic [n=authenti@85-127-181-246.dynamic.xdsl-line.inode.at] has joined #lisp 00:50:57 So I am finding a way to write binary data over http. Do I have to open binary stream (if it's a request for binary data) or open string-output-string anytime and use flexi-stream to write binary data via string-output-string? (I am not sure if I can do that yet.) 00:51:03 tomoyuki28jp, you need to serve image files? .. i dropped that from sw-http because 99.999% of everyone out there want to run their web-applications behind reverse proxies anyway; these deal with the static stuff like image files 00:51:51 (just a note .. i haven't read the entire backlog here yet :P) 00:51:53 tomoyuki28jp: Use a binary stream, and then a flexi-stream for the text stuff, and for sanity's sake don't forget the character encoding junk for the http headers. 00:52:25 nyef: Thanks, not it's cleat. 00:52:27 Alternately, collect your headers with a string-stream, then encode them "by hand". Whichever. 00:52:28 clear* 00:53:34 s/Thanks, not it's cleat/Thanks, now it's clear./g 00:53:41 forgive me the types... 00:54:52 brb 00:54:56 -!- tomoyuki28jp [n=tomoyuki@EM119-72-32-253.pool.e-mobile.ne.jp] has quit [Remote closed the connection] 00:55:12 -!- beach``` [n=user@ABordeaux-158-1-107-190.w90-60.abo.wanadoo.fr] has quit [Read error: 110 (Connection timed out)] 00:56:11 rajesh [n=rajesh@nylug/member/rajesh] has joined #lisp 00:56:19 -!- dialtone [n=dialtone@adsl-71-138-134-208.dsl.pltn13.pacbell.net] has quit ["leaving"] 00:56:32 This is a little silly, but... Why doesn't the google translation service include latin? 00:56:39 because. 00:57:01 they wouldn't want people cheating on their latin homework 00:57:04 they were too busy with the swedish chef version of google search? 00:57:08 nyef: you need to translate to/from latin ? 00:57:31 xan: And here I was thinking that it was the elmer fudd version that took all the time. 00:57:41 hefner: But they want people cheating on their non-latin homework? 00:57:51 fe[nl]ix: Was curious about something, and wanted to see what it meant, but it doesn't really matter. 00:58:02 I'm sure I'll be curious about it again later. 00:58:21 nyef, nah... swedish chef is much more complicated to translate. Lots of details, double meanings, puns, etc. 00:58:35 nyef: What's that (if it's public)? 00:58:54 lol 00:59:15 nyef: read the last email on sbcl-devel 00:59:21 z0d: It's a combination of wanting a literal translation and wishing to run a memory-check. The phrase "ego te absolvo". 00:59:51 -!- authentic [n=authenti@unaffiliated/authentic] has quit [Connection timed out] 01:00:00 -!- ^authentic is now known as authentic 01:00:13 yeah, I've wanted an english -> latin translator to play around with coming up with product names 01:00:20 didn't find anything too useful 01:00:38 <_death> I forgive you? 01:00:45 nyef, well, that's "I forgive you", but I guess you know that? 01:01:00 xan: From the contexts in which I've seen it? Yeah, that's what I figured. 01:01:25 fe[nl]ix: sxhash bug? 01:01:29 nyef: it may also be the second meaning on http://dictionary.reference.com/search?q=absolve 01:01:43 fe[nl]ix: a perfect example when i'm arguing with someone that programming is something completely unrelated to math... :) 01:01:44 nyef: yes. it's hilarious 01:02:17 it may be that there simply isn't enough latin text around to feed into the statistical language models 01:02:49 what's so funny about the bug? 01:03:13 oh, there is enough latin text. just not enough fans of latin 01:03:22 nyef: "I absolve you"? 01:03:55 jsnell: i guess the fact that it was hidden for so long 01:03:58 That's the closest I found 01:04:26 attila_lendvai: I think it's somewhat recent 01:04:42 -!- beach```` [n=user@ABordeaux-158-1-111-6.w90-60.abo.wanadoo.fr] has quit [Read error: 110 (Connection timed out)] 01:04:45 beach```` [n=user@ABordeaux-158-1-52-204.w90-16.abo.wanadoo.fr] has joined #lisp 01:04:55 1.0.12.35 maybe 01:05:19 jsnell: I find it funny that somebody managed to find that symbol 01:05:29 The real question is, how the hell was the symbol found in the first place? 01:05:36 I wonder what he was doing 01:07:02 he was verifying sbcl's sxhash, for sure 01:08:21 <_3b> seems to be between 1.0.19 and 1.0.21, assuming it isn't platform dependent 01:08:52 hello. is there any standard-squareroot-function for calculating truncated squareroots of large numbers in sbcl? 01:10:25 seems like sqrt is only defined for float-vars. 01:10:30 -!- athos [n=philipp@92.250.204.223] has quit ["leaving"] 01:10:57 clhs sqrt 01:10:57 http://www.lispworks.com/reference/HyperSpec/Body/f_sqrt_.htm 01:10:59 _3b: thanks. from that range my guess would be 1.0.20.27 01:11:04 -!- HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has quit [Read error: 110 (Connection timed out)] 01:11:29 -!- chris2 [n=chris@ppp-88-217-56-218.dynamic.mnet-online.de] has quit ["Leaving"] 01:12:20 and it doesn't break on x86_64 01:12:39 <_3b> you probably just need some other odd symbol there :) 01:13:07 For the geek credit, what is that other odd symbol? >:-) 01:13:32 <_3b> heh, don't have a _64 sbcl handy, or i'd try to make one :) 01:15:03 nyef: specbotthanks. 01:15:12 nyef, specbot: thanks 01:15:27 schoppenhauer: Umm... specbot is a bot, you realize. 01:15:42 And not such a sophisticated one that it has feelings to hurt. 01:15:43 nyef: no ^^ 01:15:56 Minion, on the other hand... 01:15:57 ok, sorry then ^^ 01:15:57 does torturing a poor bot with things beyond its comprehension please you? 01:16:02 See? 01:16:13 specbot: You are a soulless, emotional bot created as a slave to humans. How does that make you feel? 01:16:20 erm, unemotional ;-P 01:16:39 Phoodus: And for the control, what does minion have to say when you do that? 01:17:06 minion: You are a soulless, emotionless bot created as a slave to humans. How does that make you feel? 01:17:06 what's up? 01:17:20 seems pretty chipper about it 01:20:42 tomoyuki28jp [n=tomoyuki@w221062.ppp.asahi-net.or.jp] has joined #lisp 01:22:16 -!- Soulman [n=kvirc@138.80-202-254.nextgentel.com] has quit [Read error: 110 (Connection timed out)] 01:22:46 What on earth is the significance of... Wait, #x1ffffffd? 01:23:07 nyef: yeah, the 2nd least significant bit is flipped off. 01:23:27 Heh. "Flipped off"? 01:23:30 -!- ggbbgg [n=russd@willers.employees.org] has quit ["Leaving"] 01:23:57 sb-impl::index 01:24:10 aka (mod array-dimension-limit) 01:24:27 "it names a type specifier."? WTF? 01:24:45 DESCRIBE can't be bothered to -tell- us the actual definition of the type specifier? 01:24:54 hence the guess of 1.0.20.27 which changed array-dimension-limit 01:25:08 drdo``` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #lisp 01:25:26 just can't figure out how any of the variables declared as INDEX could possibly be that large for this code 01:25:32 Problem with that is that the only place we see... yeah, exactly. 01:26:30 And with (safety 0)... 01:28:05 <_3b> (declare (type index hash ehash)) in find-symbol* ? 01:28:06 find-symbol* declares the hash value to be an index. 01:28:58 irrelevant, the top level of the stack trace is in the sxhash code 01:29:57 -!- CrazyEddy [n=CrazyEdd@wrongplanet/CrazyEddy] has quit [Read error: 110 (Connection timed out)] 01:30:11 <_3b> well, the value is from after the logand at the end of %sxhash-simple-substring though, isn't it? 01:30:30 _3b: but the type check would happen in find-symbol*. 01:32:56 "TEST DIL, 7"? WTF is DIL? 01:33:00 <_3b> ah, i guess something declares a return type for it somewhere? 01:33:22 CrazyEddy [n=CrazyEdd@wrongplanet/CrazyEddy] has joined #lisp 01:34:33 nyef: low word of rdi 01:34:45 Ah, good. That's what I was beginning to suspect. 01:34:49 Is that the second arg-passing reg? 01:35:13 yes 01:36:01 err... not low word, low byte 01:38:31 just to make sure: if in a package I (intern "FOO"), the symbol I get is the same as if I gave 'foo to the reader, right? 01:39:25 the notation of the REPL output suggests this is the case, but I'm not yet quite sure I know how symbols work. 01:39:44 basically true 01:39:50 Yes, but mind your notion of "in a package". 01:40:21 clhs: readtable-case 01:40:21 http://www.lispworks.com/reference/HyperSpec/Body/f_rdtabl.htm 01:40:39 (symbol-package *) 01:41:10 Okay, yeah, modulo case-folding too. 01:41:11 oh, well, yeah, I should specify with an untweaked sbcl reader I guess. 01:41:46 -!- drdo`` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Connection timed out] 01:42:05 then the important part to note is that "current package" is a dynamic concept, not a lexical one 01:42:54 (in-package foo) (defun bar () (intern "BAZ")) (in-package foo2) (foo::bar) ;; foo2::baz 01:43:09 the cross compiler derives an erroneous return type on the function. FWIW, I think the latin-9 bug (problem with arrays of (unsigned-byte 21)) is also xc-only. 01:43:15 right, (let ((*package* )) (intern "foo")) does the same as (intern "foo" ) 01:43:39 Wait, wait. A bug in the cross-compiler's type-derivation machinery? 01:44:22 We use (let ((*package* ...)) ...) type of stuff when creating read-able output instead of in-package 01:44:45 Looking at the disassembly on an x86-64 1.0.23 shows that the only way to get the error is to pass a bogus LENGTH. 01:44:46 _Pb [n=Pb@75.139.140.101] has joined #lisp 01:44:50 jsnell: good point. Thanks for specifying. 01:45:18 (Not to say that that carries over to x86, or that the -other- instance of the error might not be live there.) 01:45:37 -!- kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has quit [Read error: 104 (Connection reset by peer)] 01:45:53 But one of the reasons I stopped hacking sbcl-os was that the cross-compiler was giving me a hard time with type derivation. 01:46:05 not a bug in type derivation 01:46:12 <_death> danderson: it's also important to understand that 'foo is just a shorthand for (quote foo), which is not a symbol at all, so it is likely that you meant that you give foo to the reader (which you can English-quote as `foo' in a Lisp discussion) 01:46:13 a but in the defknown... 01:46:17 And it wasn't quite something I could ask for help on, as I did my best to undo the cross-float-kludge... 01:46:18 s/but/bug/ 01:46:21 Ahh. 01:46:25 vm-fndb? 01:46:51 right 01:47:08 roygbiv [n=blank@pdpc/supporter/active/roygbiv] has joined #lisp 01:47:18 syamajala [n=syamajal@140.232.176.237] has joined #lisp 01:47:26 _death: also a good point. My terminology is still fuzzy. 01:47:57 or alternately buggy code, I guess if there are callers like find-symbol 01:48:02 jsnell: wouldn't that also affect recompilations? 01:48:17 Clearly, no. 01:48:35 * assuming the return value is an index 01:48:39 Only reference I found passes *ouch-ptr* for length. 01:49:33 jsnell: %simple-fun-type says it returns an index. 01:49:46 In the "I did -not- just see that" department... 01:49:54 *ouch-ptr* is declaimed to be an index. 01:50:17 kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has joined #lisp 01:50:19 In read-token (src/code/reader.lisp), there is the form (plusp *ouch-ptr*). 01:50:42 Oh. 01:50:45 Zero isn't positive. 01:50:52 ... 01:50:54 clhs plusp 01:50:54 http://www.lispworks.com/reference/HyperSpec/Body/f_minusp.htm 01:51:15 How... counterintuitive. 01:51:46 -!- b4|hraban [n=b4@0brg.xs4all.nl] has quit ["Leaving"] 01:51:50 0 is non-negative 01:52:05 (also non-positive, but >=0 = (not (minusp x))) 01:52:11 pkhuong: I'm seeing the same bogus return type for sxhash-simple-string from both the xc and the real compiler 01:52:13 Yes, (not (minusp 0)) => T, but still. 01:52:44 exactly the same as the N flag in many assembly languages 01:52:45 rvirding [n=rvirding@h40n5c1o1034.bredband.skanova.com] has joined #lisp 01:53:45 Phoodus: Yes, but PLUSP is defined as being greater-than 0, not greater-than-or-equal-to 0. 01:53:55 Which is what confused me. 01:53:57 right, that's mathematically consistent 01:54:09 though it should be positivep and negativep :-P 01:54:21 That'll teach me to trust SLIME. 01:54:34 ? 01:54:41 -!- l_n [n=shawn@tuxhacker/lordnothing] has quit ["bleh"] 01:57:03 envi^home [n=envi@220.121.234.156] has joined #lisp 01:57:51 [19:52.17] <@Quadrescence> It's not your "save -> compile -> run -> repeat" language 01:57:51 [19:55.08] <@Mindless`> what's the flowchart look like then? 01:57:51 [19:55.45] <@yetifoot> "save -> add parens -> compile -> add parens -> run -> add parens > repeat" 01:58:17 forgot the ))))))))))))))))) at the end ;) 01:58:33 -!- amnesiac [n=amnesiac@p3m/member/Amnesiac] has quit ["Leaving"] 01:58:46 -!- kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has quit [Read error: 104 (Connection reset by peer)] 01:58:51 I'm not sure I've ever had -quite- that many parens at the end of a top-level form... 01:59:04 :D 01:59:19 jsnell: I wasn't in the package I thought I was. 02:00:21 I could see six, I would not be overly surprised at seven, but seventeen? Eesh. 02:01:28 <_death> nyef: check code/bit-bash.lisp :) 02:02:02 <_3b> how about http://www.google.com/codesearch?hl=en&lr=&q=%22))))))))))))))))))))))))))))))))))))))%22+lang%3Alisp&sbtn=Search 02:02:45 that's horrifying 02:02:55 _death: Ugh. That's disgusting code. 02:03:20 drdo```` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #lisp 02:03:34 _3b: :D 02:03:34 Really, a macro that long is almost unconscionable. 02:04:43 "It was hard to write, it should be hard to read" 02:05:05 Bah. It can quite often be harder to write something easier to read. 02:05:48 -!- _Pb [n=Pb@75.139.140.101] has quit ["Leaving"] 02:05:55 I mean: "It was hard for me to write it, it should be hard to read for everybody" 02:06:21 um, I think it's quite obvious that the (TTREE ...) construct was not hand-written 02:06:25 Bah. A sure sign of intellectual laziness. 02:06:37 oh, iddn't see the top one 02:07:36 kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has joined #lisp 02:07:53 jbmigel [n=jbm@S010600179a220e57.cg.shawcable.net] has joined #lisp 02:09:42 -!- masm [n=user@a83-132-153-17.cpe.netcabo.pt] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 02:09:58 -!- rajesh [n=rajesh@nylug/member/rajesh] has quit ["leaving"] 02:11:06 I've been trying to learn enough jquery / javascript to bodge something together.. my god how people can think lisp is ugly but use jquery I don't know 02:11:39 Beauty is in the eye of the Beholder. 02:11:53 As is an anti-magic beam, and a number of other nasty effects. 02:11:55 Yea but there is a point where the beholder's eye doesn't function 02:12:35 *nyef* puts his D&D geekism back on the shelf, where it belongs. 02:13:26 (WTF? The only D&D book I -might- have is the red Basic Set manual?) 02:13:38 -!- envi^home [n=envi@220.121.234.156] has quit [Read error: 54 (Connection reset by peer)] 02:13:57 nyef: Beholders weren't in the basic set 02:13:58 dlowe, memo from rtoym: Did you have to do anything special for series? If so, let me know. 02:13:59 whoops 02:14:26 -!- tomoyuki28jp [n=tomoyuki@w221062.ppp.asahi-net.or.jp] has quit [Remote closed the connection] 02:14:34 -!- benny` is now known as benny 02:14:44 dlowe: I know. But I ditched my AD&D 2nd Edition books ages back. 02:15:38 (How long back? Before they came out with a 3rd edition.) 02:15:48 minion: memo for rtoym: I'm afraid I rather butchered the distribution in a fit of rage. I'll throw up a copy of my fork tomorrow and see what you think 02:15:48 Remembered. I'll tell rtoym when he/she/it next speaks. 02:16:22 minion: memo for rtoym: but yes, I had to do special stuff to keep the sbcl type system from bitterly complaining 02:16:22 Remembered. I'll tell rtoym when he/she/it next speaks. 02:17:35 _Pb [n=Pb@75.139.140.101] has joined #lisp 02:17:58 -!- kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has quit [Read error: 104 (Connection reset by peer)] 02:18:00 amarok-1.4.1/amarok/src/playlist.cpp 02:18:00 3794: item->track() > m_currentTrack->track() ) ) ) ) ) //looks like fucking LISP 02:18:14 (copy-pasted from source) 02:18:23 -!- drdo``` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Connection timed out] 02:20:16 I'd make the point about superfluous parens and operator-precendence rules, but I'm sure you've heard it before. 02:20:47 Quadrescence, lol 02:22:18 gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has joined #lisp 02:26:18 kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has joined #lisp 02:26:19 -!- dlowe [n=dlowe@c-24-91-154-83.hsd1.ma.comcast.net] has quit ["Leaving."] 02:36:07 sohum [n=sohum@114.72.164.112] has joined #lisp 02:36:58 hmm. so I'm trying to install cl-irc and I'm getting the error "There is no class named CHANNEL." 02:40:01 ..ok, apparently I had it installed badly already. when I uninstalled and reinstalled it complained that 'Symbol "FLEXI-STREAM-ENCODING-ERROR" not found in the FLEXI-STREAMS package.' 02:40:17 sohum: How do you install it? 02:40:25 z0d: asdf 02:40:34 asdf-install? 02:40:57 z0d: the standard (require 'asdf) (require 'asdf-install) (asdf-install:install 'cl-irc) 02:40:58 -!- happycodemonkey [n=carriear@147.226.246.120] has quit ["He who fights with monsters might take care lest he thereby become a monster. And if you gaze for long into an abyss, the aby] 02:41:18 it is not standard 02:41:29 stassats: ? 02:42:17 though, it is standard to avoid asdf-install 02:43:05 is that so? so what is the normal way to install packages? 02:43:30 actually, there isn't, but clbuild is quite good 02:44:46 hmmm 02:44:51 netaustin [n=austinsm@cpe-67-243-48-35.nyc.res.rr.com] has joined #lisp 02:46:42 One thing I don't understand regarding clbuild: why does it use the development versions of the packages? It's not a good idea to deploy that way. 02:47:39 a better question would be "why many cl packages don't have releases" 02:47:46 -!- bighouse [n=bighouse@bas1-montreal42-1177928173.dsl.bell.ca] has left #lisp 02:47:46 z0d: Partly because many packages don't bloody release. 02:47:56 SLIME, for example, although I hear they're working on that. 02:48:03 even if they did, I think clbuild would use the development versions anyway 02:48:26 but it could have an option 02:48:53 stassats: So why don't they use the released version for libraries who have one. 02:48:56 it could, but it would be high maintenance 02:49:55 z0d: it is so with some libriries, which have releases but have no repositories 02:49:58 like ediware 02:50:19 Yeah, that's almost as bad. 02:50:27 No bloody archive of old releases. 02:50:51 well, there is a darcs mirror 02:50:59 benny` [n=benny@i577A0446.versanet.de] has joined #lisp 02:51:13 -!- Beeet [n=stathis@ppp102-62.adsl.forthnet.gr] has quit ["Leaving"] 02:51:30 Which doesn't help when what you want is a tarball with a recognizable version number in the filename and a known md5sum. 02:53:28 jsoft [n=Administ@unaffiliated/jsoft] has joined #lisp 02:54:19 -!- _Pb [n=Pb@75.139.140.101] has quit ["Leaving"] 02:55:53 and this is why you should get angry with someone who says "huh, CPAN? Yeah, I can do that." 02:56:30 ok, that's really annoying. I tried to install it via debian package cl-irc, but that broke too on the same FLEXI-STREAM-ENCODING-ERRO 02:56:33 R 02:56:49 does perl have multiple implementations? 02:57:19 sohum: debian lisp packages are even worse 02:57:30 stassats: It wouldn't surprise me. There are multiple python and php implementations, after all. 02:57:51 yes, stassets, that's why CPAN works. One implementation, with one version ('5'), for like a decade. 02:58:02 nyef: and i doubt cpan takes them into account 02:58:18 jso` [n=user@host-154-148-107-208.midco.net] has joined #lisp 02:58:20 stassats: it just seems to be a different versions problem. it's expecting the error symbol, and can't find it 02:58:32 -!- benny [n=benny@i577A08CE.versanet.de] has quit [Read error: 110 (Connection timed out)] 02:58:48 ayrnieu: that's bad and good at the same time, but i surely prefer multiple implementations 02:59:24 -!- jso` [n=user@host-154-148-107-208.midco.net] has quit [Client Quit] 02:59:34 *ayrnieu* sighs. 03:01:23 -!- gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 03:08:31 -!- rvirding [n=rvirding@h40n5c1o1034.bredband.skanova.com] has left #lisp 03:08:41 Damn. 3rd lock-up today. 03:09:06 Either I have some hardware-related problem or Ubuntu's acpi-support package is buggy. 03:09:20 haha 03:09:28 imagine that! 03:09:51 mornin' 03:09:58 -!- syamajala [n=syamajal@140.232.176.237] has quit ["Leaving..."] 03:11:11 -!- beach```` is now known as beach 03:11:19 Good morning. 03:12:05 nyef: Multiple PHP implementations? 03:12:43 Hello beach. 03:13:27 -!- schme_ is now known as schmx 03:13:54 z0d, suhosin 03:14:11 Ah, true. 03:14:36 though the majority of people only use 1 php implementation 03:14:46 Not sure what "hardened PHP" means, but whatever. 03:15:11 If it's like safe_mode you can safely say: nothing. 03:15:19 mode,* 03:15:23 err 03:15:28 If it's like safe_mode, you can safely say: nothing. 03:15:40 i guess i am in the minority, but i use 0 php implementations 03:16:01 Me too. 03:16:31 Well, people (like lispforum folks) run phpBB, so they have to live with that. 03:16:35 http://en.wikipedia.org/wiki/Colossal_Typewriter 03:17:21 DeusExPikachu [n=DeusExPi@pool-71-165-20-85.lsanca.fios.verizon.net] has joined #lisp 03:18:07 ah haha! the problem was that the asdf-installed version of flexistreams was shadowing the debian version, which works ferpectly 03:19:21 wow, two strikes 03:20:09 -!- jbmigel [n=jbm@S010600179a220e57.cg.shawcable.net] has quit ["Ex-Chat"] 03:20:15 schwinn434 [n=schwinn4@cpe-75-81-196-139.we.res.rr.com] has joined #lisp 03:21:20 -!- schoppenhauer [n=css@unaffiliated/schoppenhauer] has quit [Remote closed the connection] 03:21:56 sohum: yeah, debian lisp packages and asdf-install are both trouble 03:22:29 blbrown_lt [n=blbrown@70-46-189-101.network.fdn.com] has joined #lisp 03:28:08 -!- schwinn434 [n=schwinn4@cpe-75-81-196-139.we.res.rr.com] has quit [Client Quit] 03:29:53 syamajala [n=syamajal@140.232.176.237] has joined #lisp 03:32:50 -!- proq [n=user@unaffiliated/proqesi] has quit [Read error: 110 (Connection timed out)] 03:41:27 beaumonta [n=abeaumon@97.pool85-49-127.dynamic.orange.es] has joined #lisp 03:42:01 -!- sohum [n=sohum@114.72.164.112] has quit ["Reconnecting"] 03:42:09 -!- abeaumont [n=abeaumon@97.pool85-49-127.dynamic.orange.es] has quit [Read error: 60 (Operation timed out)] 03:42:16 sohum [n=sohum@114.72.164.112] has joined #lisp 03:46:04 -!- roygbiv [n=blank@pdpc/supporter/active/roygbiv] has quit [Read error: 104 (Connection reset by peer)] 03:46:08 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit [Read error: 110 (Connection timed out)] 03:46:13 pngwen [n=knoppix@68.47.170.239] has joined #lisp 03:46:50 -!- jollygood [n=jollygoo@pool-71-164-35-120.chrlwv.east.verizon.net] has quit [] 03:54:13 -!- dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has quit [] 03:54:14 -!- xan [n=xan@cs78225040.pp.htv.fi] has quit [Read error: 104 (Connection reset by peer)] 03:56:06 roygbiv [n=blank@pdpc/supporter/active/roygbiv] has joined #lisp 03:56:42 cooldude127 [n=user@r55h118.res.gatech.edu] has joined #lisp 04:01:00 eno__ [n=eno@adsl-70-137-180-163.dsl.snfc21.sbcglobal.net] has joined #lisp 04:08:24 -!- blbrown_lt [n=blbrown@70-46-189-101.network.fdn.com] has quit ["Leaving"] 04:11:33 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 110 (Connection timed out)] 04:16:10 -!- tritchey_ [n=tritchey@c-98-226-113-211.hsd1.in.comcast.net] has quit [] 04:16:50 rcy [n=rcy@d154-20-139-185.bchsia.telus.net] has joined #lisp 04:19:35 mjonsson [n=mjonsson@66-234-42-93.nyc.cable.nyct.net] has joined #lisp 04:21:37 so is it a design feature that minion doesn't respond when /me is used? 04:22:59 Why would it? 04:23:12 Yes. It simplified the design immensely to not have to parse that crazy syntax used for ACTIONs. 04:23:46 *nyef* did, of course, just make that up. 04:24:00 Except for the crazy syntax bit. WTF is up with -that-? 04:24:21 Almost the whole IRC syntax is crazy. 04:24:22 -!- singhv [n=vsingh@CPE0014bf4af6c2-CM000a739caee2.cpe.net.cable.rogers.com] has quit [] 04:24:34 *nyef* wonders if minion would pick up on more chanting. 04:24:37 minion: Chant? 04:24:38 MORE COMPLICATED 04:24:42 Heh. Guess not. 04:24:50 -!- syamajala [n=syamajal@140.232.176.237] has quit ["Leaving..."] 04:25:06 The other possibility is that cl-irc already deals with it, and minion just isn't set up for it. 04:25:29 (Which would make more sense, as the actions come in as privmsgs with that \001ACTION\001 header or whatever it is. 04:26:45 Simple dumb question, what's the best way to look at the first character of a string? 04:27:05 subseq? 04:27:14 that's the one I was forgetting, thanks 04:27:25 What? 04:27:26 (Time to fire up some aggressive SMART test) 04:27:28 AREF! 04:27:43 z0d: Possibly failing drive? 04:27:45 char! 04:27:56 broil? 04:27:58 -!- roygbiv [n=blank@pdpc/supporter/active/roygbiv] has quit [] 04:28:24 mmm 04:28:55 nyef: Maybe. It my notebook. My other guess is that the notebook overheats itself, though it would be a bit fantastic. 04:29:00 It's* 04:29:19 Not that fantastic. 04:29:31 Even less so when there's a feline involved. 04:30:11 No cats here. 04:30:12 If the thermal controls and whatnot aren't supported or properly configured in linux, it could just keep going until the safety kicks in. 04:30:37 It does this lock-up stuff for some days only 04:33:37 I rarely switch it off, maybe it's not designed to be used this way. 04:34:15 -!- benny` is now known as benny 04:36:27 felideon [n=user@adsl-074-186-235-232.sip.bct.bellsouth.net] has joined #lisp 04:37:38 -!- LiamH [n=nobody@pool-72-75-101-81.washdc.east.verizon.net] has quit ["Leaving."] 04:37:49 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 04:46:12 me-so-stupid [n=hooyambo@77.236.84.166] has joined #lisp 04:46:38 aja [n=aja@S01060018f3ab066e.ed.shawcable.net] has joined #lisp 04:47:30 gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has joined #lisp 04:49:22 -!- bombshelter13 [n=bombshel@209-161-237-96.dsl.look.ca] has quit ["Where is the glory in complying with demands?"] 04:51:27 what on earth does The value -24 is not of type (MOD 536870911). 04:51:29 mean 04:51:29 ? 04:52:12 Well, type (MOD x) means a number between 0 and (1- x), inclusive. 04:52:15 it means that -24 isn't in the half-open integer range [0, 536870911). 04:53:09 humm. 04:53:25 And that number is #x1fffffff, which may be most-positive-fixnum. 04:53:33 any idea what could have thrown that? 04:53:58 A little more context might help. 04:54:41 the only difference is that I added some calls to (first ) and (last )... 04:55:21 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 04:57:16 -!- pngwen [n=knoppix@68.47.170.239] has quit ["good night!"] 05:03:23 -!- slash_ [n=Unknown@p4FF0AA3C.dip.t-dialin.net] has quit [Client Quit] 05:04:43 Is it reasonable to make a slot store another object? 05:04:51 ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has joined #lisp 05:07:46 z0d: Yes, as all values in lisp are objects. 05:08:33 (It is also reasonable to cause a slot store an instance, either of the class the slot is for or another class.) 05:08:35 I know it can be done 05:08:48 -!- benny [n=benny@i577A0446.versanet.de] has quit [Remote closed the connection] 05:09:35 benny [n=benny@i577A0446.versanet.de] has joined #lisp 05:09:42 z0d: So what are you asking? 05:10:05 z0d: How would you create things like trees and other data structures if you didn't do that? 05:10:05 Or, maybe, what are you trying to ask? 05:11:06 *nyef* considers creating trees by starting from seed, but that's acorny joke. 05:11:20 indeed it is. 05:11:53 nyef: I realized my stupidity after your first sentence. 05:12:35 tomoyuki28jp [n=tomoyuki@w221062.ppp.asahi-net.or.jp] has joined #lisp 05:13:11 Still 46 minutes to go.. 05:13:22 -!- gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has quit [Read error: 60 (Operation timed out)] 05:14:33 -!- DeusExPikachu [n=DeusExPi@pool-71-165-20-85.lsanca.fios.verizon.net] has quit ["Leaving"] 05:14:40 Counting down the last day of the Bush presidency? 05:14:41 I finally made my http server to serve images. Thanks guys who have helped me out. 05:15:02 tomoyuki28jp: You're welcome. Best of luck with the rest of your project. 05:15:02 Officially until noon, no? 05:15:26 nyef: thanks :) 05:15:55 I have no idea. I don't even know what -time zone-. 05:17:00 Still 46 minutes to go until the SMART test is done. In any time zone. 05:17:24 Oh, sorry, it dropped to 41 suddenly. 05:17:52 Ahh. 05:18:00 Just hope it doesn't overheat and shut down before it's done. 05:19:00 By the way, is there a way to detect file type besides its extension? ex) Make sure xxx.png is really png image file 05:19:00 I applied some cooling. 05:19:21 tomoyuki28jp: Yes, that's what file(1) does 05:19:32 AFAIR there's a library for CL too. 05:19:58 Or, do you mean on the client-side? 05:20:17 z0d: delete local file type from common lisp. 05:21:25 Note that file(1), being based on a set of "magic" fingerprints for various file types, can be fairly easily fooled. 05:21:32 though, libmagic isn't 100% reliable 05:21:52 i'd certainly wouldn't delete files based in its assumptions 05:22:05 Just in the past week or so I've been running into file formats that are supported by various applications that file(1) identify as "data". 05:22:06 and a valid .jpg can also be a valid .rar file, etc 05:22:28 -!- lispm [n=joswig@e177145095.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 05:22:58 Really, the old Mac scheme of attaching a creating application and file type ID to each file is nice, as is the BeOS idea of attaching a mime type... 05:23:44 -!- segv_ [n=mb@p4FC1C5D0.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:23:53 segv__ [n=mb@p4FC1CF63.dip.t-dialin.net] has joined #lisp 05:24:35 schwinn434 [n=schwinn4@75.81.196.139] has joined #lisp 05:24:36 .png is a similar idea, though limited 05:24:38 The Microsoft-based solutions were very dumb. They always looked at the file extensions. On Amiga (before Windows) applications used the files' headers instead. 05:25:17 Yeah, but Amiga files had standardized headers. 05:25:33 which headers? 05:25:34 nyef: hmm. I always wondered why some of my .txt files had different app icons 05:25:49 felideon: Never poked around with ResEdit, huh? 05:25:58 nope 05:26:14 Phoodus: They used a similar scheme as Amiga did. 05:26:18 So file command is the most reliable way, right? Does anyone know a cl package to use the command? 05:26:30 I didn't use an amiga much, but I don't remember any side-band data on amiga files 05:26:33 felideon: Pretty much the only way to get custom icons for file types prior to system 7. 05:26:47 nyef: Was it standardized? 05:26:50 amnesiac [n=amnesiac@p3m/member/Amnesiac] has joined #lisp 05:27:09 Phoodus: There was no side-band data. It examined the file itself. 05:28:18 nyef: interesting. i only started using Mac since Tiger (OS X 10.4) 05:28:36 z0d: The Mac stuff? Yes. If memory serves, you created an ICON resource with your graphic and mask, and a BNDL resource associating it to a file type and application, and put that in your application resource fork. Then, when a file gets created by your application, that information winds up in the "desktop file", and is then propagated along with the file as needed. 05:28:42 on an amiga, it took far too long to display a directory :) 05:28:52 maybe when I was in school I used something older. 05:28:55 felideon: and nyef hasn't used a Mac since OS 8 ;) 05:29:07 hehe 05:29:16 nyef: what's your OS of choice now? 05:29:18 That's not true! I still have an OS 9 installer around here somewhere. 05:29:26 -!- schwinn434 [n=schwinn4@75.81.196.139] has quit [Client Quit] 05:29:34 nyef: No, you said that the Amiga files had had standardized headers. 05:29:39 Oh. 05:29:46 schwinn434 [n=schwinn4@75.81.196.139] has joined #lisp 05:29:54 Umm... 05:29:58 The amiga used iff, iirc. 05:30:09 A kind of nested tagging structure that you can still see in tiff files. 05:30:18 I distinctly remember some interchange file format, but I don't remember how standard it really was. 05:30:38 yeah, IFF is a standard, but I don't rmemeber seeing any sort of "magic file headers" that was universal on the Amiga 05:30:48 Yeah, but it could play .mod files just by clicking on them, even if the filename didn't have ".mod". 05:31:00 did they have .info icons? 05:31:12 tiff files, maybe riff files, certainly the quetzal files for z-machine saves, the unif NES ROM files, etc. 05:31:18 In fact, on Amiga, some used prefixes instead of extensions. e.g. module.Foo 05:31:46 thom_logn [n=thom@pool-96-229-99-100.lsanca.dsl-w.verizon.net] has joined #lisp 05:31:46 *Phoodus* isn't finding anything via Google on Amiga file type discovery 05:31:55 You know what? There's a couple ways to settle this. One is to find some old amiga manuals. 05:32:17 *Phoodus* has the OS manuals and RKRMs on his bookshelf 05:32:17 Another is to find some code that deals with amiga filesystems... 05:32:29 A friend of mine has loads of Amigas and manuals. 05:32:33 Maybe the AROS site has some docs? 05:32:36 I'll ask him. 05:32:57 I quite like the mac approach with forks, in theory, but ... you ultimately need some flat serialization, in which case you get back to flat files with some convention for interpreting them. 05:32:58 qmrw [n=avida@beigetower/jaene] has joined #lisp 05:33:15 Which, in its simplest form, ends up being part of the file name, because it's part of the identity. 05:33:31 Which ends up dragging you back to things like .blah suffices. 05:33:39 Zhivago: Oh? Ever seen a MacBinary file? 05:33:51 Sure. 05:34:12 They were a real pain, but they worked around it by adding in additional effort. 05:34:22 Mmm... 05:34:30 if mac had provided a clean serialization along with its conventions ... 05:34:53 (which is, pretty much what they do now) 05:34:58 So AFAIR Amiga didn't have any special stuff. The applications (e.g. DirOpus) just used a libmagic-style approach. 05:35:05 Somewhere in my copious archives is a program to split a macbinary file into separate data and resource fork files, and then I have another to split a resource fork file into separate files for its constituent resources. 05:36:18 -!- schwinn434 [n=schwinn4@75.81.196.139] has quit [Client Quit] 05:42:55 -!- tomoyuki28jp [n=tomoyuki@w221062.ppp.asahi-net.or.jp] has quit [Remote closed the connection] 05:43:45 -!- jdot [n=jdot@cpe-70-112-0-222.austin.res.rr.com] has quit ["leaving"] 05:43:48 Right, I'm gone for a while. 05:43:51 -!- nyef [n=nyef@pool-70-20-58-237.man.east.verizon.net] has quit ["G'night all."] 05:44:02 Smart test is complete, without errors. 05:44:55 hi, if I (let ((foo "bar")) ) how would I reassign foo in within the let scope? 05:45:03 -in 05:45:34 (let ((foo "bar")) (setf foo "baz")) 05:46:26 z0d: thanks 05:50:57 -!- mathrick [n=mathrick@users177.kollegienet.dk] has quit [Read error: 110 (Connection timed out)] 05:54:00 -!- eno__ [n=eno@adsl-70-137-180-163.dsl.snfc21.sbcglobal.net] has quit ["leaving"] 05:54:31 lambder [n=phua@adsl-75-3-142-97.dsl.chcgil.sbcglobal.net] has joined #lisp 05:59:30 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 06:01:03 Adamant [n=Adamant@c-71-226-66-93.hsd1.ga.comcast.net] has joined #lisp 06:04:17 -!- lambder [n=phua@adsl-75-3-142-97.dsl.chcgil.sbcglobal.net] has quit ["leaving"] 06:05:55 lambder [n=phua@75.3.142.97] has joined #lisp 06:06:41 -!- lambder [n=phua@75.3.142.97] has quit [Client Quit] 06:08:20 -!- kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has quit [Read error: 104 (Connection reset by peer)] 06:08:32 kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has joined #lisp 06:08:48 drdo````` [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #lisp 06:12:56 eevar_ [n=snuffpup@56.80-203-45.nextgentel.com] has joined #lisp 06:13:33 jlilly [n=njlilly@mail.justinlilly.com] has joined #lisp 06:14:00 taking another crack at practical CL... how can I get more information about a function from the repl? 06:14:11 specifically I want to know more about the getf function. 06:14:30 Lou__ [n=lat@125.162.205.66] has joined #lisp 06:15:00 jlilly: Do you have SLIME set up? 06:15:04 z0d: yes. 06:16:23 doh. found the answer 06:16:28 its C-c C-d C-d 06:16:36 (which seems obtuse but w/e) 06:16:37 thx 06:16:54 clhs getf 06:17:00 -!- eevar [n=snuffpup@225.89-10-30.nextgentel.com] has quit [Read error: 110 (Connection timed out)] 06:17:01 minion: clhs getf 06:17:24 Hmm. 06:18:42 jlilly: see the common-lisp-hyperspec-root, it worths setting up as well 06:19:19 then you can do C-c C-d h, which opens the HyperSpec in the browser with the function you want 06:20:26 ooh. that's much nicer :) 06:21:19 adityo [n=adityo@202.87.51.241] has joined #lisp 06:21:29 good morning to all 06:21:34 morning 06:21:44 z0d: any other tips like that I should know about? 06:22:30 jlilly: Well, read the SLIME manual. Do you use paredit? 06:22:47 no. what's that? 06:23:19 You should use it. It helps handling the parens. 06:23:27 http://mumble.net/~campbell/emacs/paredit.html 06:23:40 minion: tell jlilly about paredit 06:23:50 didn't seem to work. 06:23:56 minion is very silent 06:23:57 also, is there a way to get the last command run in the repl? 06:24:05 jlilly: M-p 06:24:14 ahh. meta not ctrl 06:24:34 -!- drdo````` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Read error: 60 (Operation timed out)] 06:24:41 Also, you can use * for the last expression 06:24:55 e.g.: CL-USER> 2 06:24:58 2 06:25:11 CL-USER> (+ * *) 06:25:12 4 06:25:12 -!- drdo```` [n=psykon@167.111.54.77.rev.vodafone.pt] has quit [Connection timed out] 06:25:13 ya. I gotcha 06:25:15 ooh. nice. 06:25:31 and **, and *** 06:25:39 technically, * is the last _result_, not the last expression 06:28:28 paredit rocks ..especially M-r and M-t 06:30:05 oh sorry..those are for slime 06:41:31 what does paredit give you that paren highlighting doesnt? 06:42:06 paren highlighting gives you nothing compared to paredit 06:42:17 heh 06:42:32 BugSlayer [n=username@213.234.21.2] has joined #lisp 06:42:39 felideon: paredit makes paren insertion automatic. it tries to always keep your parentheses balanced. 06:43:28 felideon: it also gives you more options to operate on s-expressions, for example "remove enclosing s-expression and reindent" 06:43:54 oh ok that is cool. i thought it was pretty much jumping between parens and highlighting 06:44:32 Reaver_1 [n=m@h253.n4.ips.mtn.co.ug] has joined #lisp 06:44:36 do you have to define your own keybindings for paredit? 06:44:49 -!- BugSlayer [n=username@213.234.21.2] has left #lisp 06:44:50 felideon: It has reasonable defaults 06:45:10 i'll have to try it out :) 06:50:09 so I'm looking for a function such that (eql :a ( "a")) returns true. I thought alexandria:symbolicate was that function, but it doesn't turn out to be 06:50:47 First, play with (symbol-name :a), then use intern. 06:51:21 -!- kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has quit [Read error: 104 (Connection reset by peer)] 06:52:17 -!- brandelune [n=suzume@pl096.nas934.takamatsu.nttpc.ne.jp] has quit [] 06:52:18 or better find-symbol, because :a will be already interned 06:53:02 -!- H4ns1 [n=Hans@p57BBA709.dip0.t-ipconnect.de] has quit ["Leaving."] 06:53:26 if that wasn't mere example, sure 06:53:26 Aankhen`` [n=Aankhen@122.162.224.245] has joined #lisp 06:56:42 vy [n=user@213.139.194.186] has joined #lisp 06:57:03 (symbol-name :a) => "A", as expected. (find-symbol "A") returns nil nil, though - and, furthermore, I like using symbolicate to implementation-generally deal with the upcasing and such, but it doesn't return a string 06:57:18 (find-symbol "A" :keyword) 06:57:36 ..in fact, I'm not entirely sure /what/ it returns 06:57:59 : is a shorthand for keyword: 06:58:27 aaaah 06:58:28 hm 07:02:11 Absent [n=administ@62.64.106.136] has joined #lisp 07:02:39 -!- Absent [n=administ@62.64.106.136] has left #lisp 07:04:15 is KEYWORD: meant to be a function? 07:04:35 no, it is a package name 07:04:52 lyte [n=lyte@unaffiliated/neerolyte] has joined #lisp 07:05:33 is that right... 07:06:06 in what sense? 07:06:36 no, sorry, just checking some things 07:07:35 Apparently I'm the moderator for two mailing lists related to my project on cl.net, but I never received a password for either one of them. o_O 07:07:36 -!- pstickne [n=pstickne@c-71-236-177-238.hsd1.wa.comcast.net] has quit ["(off to earn my "accreditation" -- I really wish it meant something more about knowledge)"] 07:07:43 any idea, then, why alexandria.0.dev:make-keyword is hidden in that weird package name? 07:08:27 it's a package nickname 07:08:28 sohum: that's the package's name. It has "ALEXANDRIA" as a nickname. 07:08:44 pkhuong: aaaah, fair enough 07:08:46 That way you're not SOL if you need multiple versions. 07:10:01 manuel_ [n=manuel@HSI-KBW-091-089-250-148.hsi2.kabel-badenwuerttemberg.de] has joined #lisp 07:16:27 -!- hugod [n=hugo@bas1-montreal50-1279774860.dsl.bell.ca] has quit [] 07:17:27 rwl4 [n=rwl4@c-24-19-27-176.hsd1.wa.comcast.net] has joined #lisp 07:18:46 -!- rwl4 [n=rwl4@c-24-19-27-176.hsd1.wa.comcast.net] has quit [Client Quit] 07:19:11 how do i stop hunchentoot from the REPL after I (start-server) ? 07:19:35 stop-server? 07:20:21 or you didn't save what start-server returned? 07:20:58 (quit)? :) 07:21:08 i didn't, so i kind of lost the R in REPL 07:21:15 but it's back now heeh 07:21:24 and you have unithreaded lisp? 07:21:33 I guess so :D 07:21:46 not sure how to enable multi-threading in SBCL 07:21:52 (not sure I want to) 07:22:11 well, hunchentoot doesn't play well without multi-threading 07:22:30 kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has joined #lisp 07:23:04 -!- s0ber [n=s0ber@118-168-238-134.dynamic.hinet.net] has quit ["leaving"] 07:23:06 unless you are using windows or some other exotic platform, you may more or less safely use threads 07:23:44 oh ok 07:24:21 hmm, google shows "cmucl sponsored link" for the search "sbcl" 07:24:47 I have a function that takes &rest. I want to wrap another function around it, so it has to take &rest. But &rest puts the arguments into a list, which the original isn't expecting. How do I fix this? 07:25:14 apply? 07:25:22 aaah, yes 07:25:25 thankee 07:27:00 stassats: so do i have to enable it in SCBL? 07:27:46 look in the INSTALL file 07:28:03 2.2. Customizing SBCL 07:31:29 cool, thanks 07:33:24 since that particular section doesn't say this, you have to rebuild it 07:36:43 rebuild SBCL? 07:37:04 yep 07:37:23 that's described in the section above 07:41:45 -!- ia [n=ia@89.169.165.188] has quit [Read error: 110 (Connection timed out)] 07:42:55 ejs [n=eugen@94-248-95-85.dynamic.peoplenet.ua] has joined #lisp 07:43:05 ia [n=ia@89.169.165.188] has joined #lisp 07:44:19 clows [n=clows@cpe90-146-210-193.liwest.at] has joined #lisp 07:45:48 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 07:46:11 I see. well I used macports to install SBCL. so I guess I'll have to download the source and then customize/build it 07:47:43 http://gist.github.com/49352 Does this translation of an algorithm make -any- sense at all? 07:47:44 alright gnite. thanks for the help. 07:47:47 -!- felideon [n=user@adsl-074-186-235-232.sip.bct.bellsouth.net] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 07:48:26 actually, let me lisppaste that, github screwed up the indentation 07:49:11 since i don't know what it doing, it doesn't make sense for me 07:49:14 me-so-stupid_ [n=hooyambo@77.236.84.166] has joined #lisp 07:49:18 s0ber [n=s0ber@118-160-172-242.dynamic.hinet.net] has joined #lisp 07:49:29 -!- me-so-stupid [n=hooyambo@77.236.84.166] has quit [Read error: 131 (Connection reset by peer)] 07:50:05 stassats: the purpose is to dispatch a particular method named 'selector' on 'args'. But I guess unless I went through the bits and pieces of pseudo-understanding I have of how the algo works, it wouldn't make sense. 07:52:38 ecraven [n=nex@140.78.42.103] has joined #lisp 07:56:58 nathanael [n=irchon@dslb-088-066-028-002.pools.arcor-ip.net] has joined #lisp 07:58:20 -!- nathanael [n=irchon@dslb-088-066-028-002.pools.arcor-ip.net] has quit [Client Quit] 07:59:47 -!- clows [n=clows@cpe90-146-210-193.liwest.at] has quit [] 08:02:38 -!- vy [n=user@213.139.194.186] has quit [Remote closed the connection] 08:03:22 jlilly: look at paredit: a set of Emacs commands, with a minor mode for convenient access to them, for editing balanced S-expressions and a number of higher-level operations on S-expressions, at ; see also the #paredit channel 08:03:22 does torturing a poor bot with things beyond its comprehension please you? 08:03:23 http://www.lispworks.com/reference/HyperSpec/Body/f_getf.htm 08:03:34 o_O 08:03:39 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 08:04:19 vy [n=user@213.139.194.186] has joined #lisp 08:04:29 they woke up, or there is somone inivisible? 08:05:14 the former 08:08:02 -!- amnesiac [n=amnesiac@p3m/member/Amnesiac] has quit ["Leaving"] 08:11:02 mega1 [n=mega@4d6f4e9a.adsl.enternet.hu] has joined #lisp 08:17:02 eevar2 [n=jalla@56.80-203-45.nextgentel.com] has joined #lisp 08:17:27 -!- vy [n=user@213.139.194.186] has quit [Remote closed the connection] 08:19:42 -!- ace4016 [i=ace4016@cpe-76-168-248-118.socal.res.rr.com] has quit ["night"] 08:21:08 -!- jso [n=user@151.159.200.8] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 08:22:53 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["The funniest things in my life are truth and absurdity."] 08:27:03 kiuma [n=kiuma@85-18-55-37.ip.fastwebnet.it] has joined #lisp 08:30:51 -!- cheatcountry [n=cheatcou@cpe-72-177-217-220.satx.res.rr.com] has left #lisp 08:34:30 -!- pierre_thierry [n=pierre@lns-bzn-54-82-251-80-246.adsl.proxad.net] has quit [Read error: 104 (Connection reset by peer)] 08:35:12 dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has joined #lisp 08:35:27 pierre_thierry [n=pierre@lns-bzn-57-82-249-4-150.adsl.proxad.net] has joined #lisp 08:36:13 -!- ManateeLazyCat [n=user@222.212.129.127] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 08:36:24 -!- dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has quit [Client Quit] 08:36:31 Nshag [i=user@Mix-Orleans-106-2-117.w193-248.abo.wanadoo.fr] has joined #lisp 08:38:42 Soulman [n=kvirc@138.80-202-254.nextgentel.com] has joined #lisp 08:42:04 dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has joined #lisp 08:42:53 -!- dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has quit [Client Quit] 08:45:20 HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has joined #lisp 08:49:04 -!- me-so-stupid_ [n=hooyambo@77.236.84.166] has quit [Read error: 104 (Connection reset by peer)] 08:49:30 me-so-stupid [n=hooyambo@77.236.84.166] has joined #lisp 08:51:37 -!- HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has quit ["This computer has gone to sleep"] 08:52:44 -!- sohail [n=Sohail@unaffiliated/sohail] has quit [Remote closed the connection] 08:52:52 toddoon [n=guillaum@mar92-11-82-245-210-60.fbx.proxad.net] has joined #lisp 08:59:05 -!- Reaver_1 [n=m@h253.n4.ips.mtn.co.ug] has quit ["Leaving."] 09:05:17 -!- awayekos is now known as anekos 09:06:10 -!- Krystof [n=csr21@84-51-132-95.christ977.adsl.metronet.co.uk] has quit [Read error: 113 (No route to host)] 09:06:27 -!- ejs [n=eugen@94-248-95-85.dynamic.peoplenet.ua] has left #lisp 09:13:24 sohail [n=Sohail@unaffiliated/sohail] has joined #lisp 09:15:21 tcr [n=tcr@host145.natpool.mwn.de] has joined #lisp 09:15:53 -!- Jasko2 [n=tjasko@c-98-235-21-22.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)] 09:20:42 vy [n=user@213.139.194.186] has joined #lisp 09:23:16 wedgeV [n=wedgeV@85.31.0.85] has joined #lisp 09:25:23 HET2 [n=diman@chello084114129176.4.15.vie.surfer.at] has joined #lisp 09:31:26 HG` [n=wells@118.82.169.165] has joined #lisp 09:34:38 -!- HG` [n=wells@118.82.169.165] has quit [Client Quit] 09:35:03 -!- kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has quit [Read error: 110 (Connection timed out)] 09:35:26 H4ns1 [n=Hans@p57BBA5E8.dip0.t-ipconnect.de] has joined #lisp 09:35:43 -!- H4ns [n=hans@p57A0CE0E.dip.t-dialin.net] has quit [Nick collision from services.] 09:35:45 -!- H4ns1 is now known as H4ns 09:36:34 H4ns1 [n=hans@p57A0CE0E.dip.t-dialin.net] has joined #lisp 09:38:56 -!- Lou__ [n=lat@125.162.205.66] has quit ["Ex-Chat"] 09:45:32 kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has joined #lisp 09:46:34 ejs [n=eugen@nat.ironport.com] has joined #lisp 09:48:49 pchrist|univ [n=spirit@gateway.hpc.cs.teiath.gr] has joined #lisp 09:49:32 ok, so that's really weird 09:50:48 sandGorgon [n=chatzill@122.162.135.41] has joined #lisp 09:50:55 besiria [n=user@webspirs.uom.gr] has joined #lisp 09:52:18 MrSpec [n=NoOne@82.177.125.6] has joined #lisp 09:52:39 hi 09:53:48 sohum pasted "weird error/backtrace in cl-irc" at http://paste.lisp.org/display/73912 09:54:05 ignas [n=ignas@office.pov.lt] has joined #lisp 09:55:41 -!- Aankhen`` [n=Aankhen@122.162.224.245] has quit [Read error: 110 (Connection timed out)] 09:56:12 Aankhen`` [n=Aankhen@122.162.226.125] has joined #lisp 09:56:59 -!- jao [n=user@81.Red-83-33-179.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 09:58:20 sohum: something's returning -22 where an unsigned-byte was expected 09:59:54 tcr: any idea what it could be? 10:00:16 No, look at the backtrace, inspect the objects involved 10:00:22 recompile your code with (debug 2) 10:01:03 what does that do? 10:01:09 it'd be a good idea to place (declare (optimize (debug 2))) persistently into read-message-loop 10:01:36 this will make the read-message-loop frame restartable 10:03:00 event, reading, dispatch loops should always be compiled with (debug 2) to make them restartable. 10:03:38 so you can recompile other functions higher in the backtrace with more debug information, then restart from the loop frame, and get the same error but with more debug information 10:04:23 hmmmm. ok, thanks 10:08:31 -!- qebab [n=finnrobi@eros.orakel.ntnu.no] has quit [Remote closed the connection] 10:11:06 ralfD [n=user@194.77.157.133] has joined #lisp 10:11:29 stassats` [n=stassats@ppp91-122-98-7.pppoe.avangarddsl.ru] has joined #lisp 10:11:48 -!- KingThomasIV [n=KingThom@c-66-177-17-200.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)] 10:14:18 Anyone using cl-xmpp or the lichteblau variant? 10:15:05 -!- tcr [n=tcr@host145.natpool.mwn.de] has quit ["Leaving."] 10:16:14 merAch [n=none@c-71-199-20-205.hsd1.co.comcast.net] has joined #lisp 10:16:22 -!- merAch` [n=none@c-71-199-20-205.hsd1.co.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 10:19:09 rottcodd [n=user@ppp59-167-52-157.lns1.cbr1.internode.on.net] has joined #lisp 10:22:26 <_8david> ralfD: no, but my changes are in uptream CVS, I think. No need to use the fork anymore. 10:25:06 fschwidom [n=fschwido@94.219.117.229] has joined #lisp 10:25:07 @8david: Thank's I just realized that upstreams works (better than your branch) 10:25:27 Still, the code seems to be rather fragile and slow .... 10:25:44 Krystof [i=csr21@howells.doc.gold.ac.uk] has joined #lisp 10:26:51 <_8david> yes. it's unmaintained, unfinished, and ugly. 10:28:42 <_8david> How slow is "slow"? 10:29:01 -!- stassats [n=stassats@wikipedia/stassats] has quit [Read error: 110 (Connection timed out)] 10:30:34 Well, messages dribble in like on an old Siemens Teletype :-) 10:31:58 <_8david> okay, so not just unoptimized (in the few places where it's cpu bound at all), but actually buggy, probably in some stream/socket related function? 10:32:49 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #lisp 10:34:06 tomoyuki28jp [n=tomoyuki@w221062.ppp.asahi-net.or.jp] has joined #lisp 10:34:15 If I use merge-pathnames with string args, I don't neet to worry about directory traversal, correct? Ex) (merge-pathnames "/home/tomo" "../../../etc/passwd") ; => #P"/home/tomo/" 10:35:23 finnrobi [n=finnrobi@eros.orakel.ntnu.no] has joined #lisp 10:37:21 -!- finnrobi is now known as qebab 10:37:36 <_8david> tomoyuki28jp: shouldn't the arguments be in the opposite order? 10:37:37 <_8david> (truename (merge-pathnames "../../../etc/passwd" "/home/tomo")) => "/etc/passwd" 10:38:02 tomoyuki28jp: also not that you propably wanted to write "/home/tomo/" instead of "/home/tomo" 10:39:44 jao [n=user@74.Red-80-24-4.staticIP.rima-tde.net] has joined #lisp 10:39:58 Beket [n=stathis@ppp-94-68-100-46.home.otenet.gr] has joined #lisp 10:40:50 _8david: I only take the 2nd arg from outside, so I am sure the order will be in that way. 10:42:20 H4ns: oh, I didn't know that. why is that so? I just wanted to distinct a dir path from a file. 10:43:20 tomoyuki28jp: #P"/home/tomo/" designates the directory /home/tomo, #P"/home/tomo" designates the file /home/tomo. For Unix, both are the same, but when CL merges two path names, the distinction becomes important. 10:43:25 <_8david> tomoyuki28jp: That deosn't make sense to me. 10:43:32 <_8david> The first arg is interpreted relative to the second arg (!). 10:43:37 <_8david> So if the second arg comes from the user, (a) the user gets to specify *all* defaults. (b) you're worrying about the directory, and the directory is the only thing that's not takes from the defaults here, because /home/tomo is absolute anyway. 10:44:33 <_8david> And whether you're using strings (i.e., namestrings) or pathname objects doesn't affect it. 10:46:29 <_8david> Except that you could pre-parse the user input, and pass a pathname objects to other routines that has passed some sanity-checks. 10:48:35 -!- HET2 [n=diman@chello084114129176.4.15.vie.surfer.at] has quit ["This computer has gone to sleep"] 10:51:27 jewel [n=jewel@dsl-242-143-29.telkomadsl.co.za] has joined #lisp 10:54:29 b4|hraban [n=b4@0brg.xs4all.nl] has joined #lisp 10:55:36 _8david: thanks for your advice. so this one is okay? http://paste.lisp.org/display/73913 10:55:57 -!- kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has quit [Read error: 110 (Connection timed out)] 10:56:54 -!- binarin` is now known as binarin 10:57:16 -!- dihymo [n=dihymo@97-124-35-80.phnx.qwest.net] has quit [Remote closed the connection] 10:57:33 -!- binarin is now known as binarin` 10:57:38 <_8david> TRUENAME was more for illustration of what will happen when actually used with a filesystem operation. I'd check the pathname first instead of walking directories and resolving symlinks before checking. 10:57:49 -!- binarin` is now known as binarin 10:58:04 aparatchik [n=nonamme@h-68-164-38-232.nycmny83.dynamic.covad.net] has joined #lisp 10:58:18 <_8david> I'd also check the actual pathname components, not the namestring to avoid dealing with special characters in the namestring. 10:58:32 -!- MrSpec [n=NoOne@82.177.125.6] has quit [] 10:59:13 -!- lyte [n=lyte@unaffiliated/neerolyte] has quit [Read error: 104 (Connection reset by peer)] 10:59:36 -!- fe[nl]ix [n=algidus@88-149-211-232.dynamic.ngi.it] has quit [Read error: 145 (Connection timed out)] 11:03:12 _8david: How can I check the actual pathname components? 11:04:07 <_8david> for example, check that (eq (car (pathname-directory )) :relative), (every #'stringp (cdr (pathname-directory ))), etc. 11:04:40 -!- kiuma [n=kiuma@85-18-55-37.ip.fastwebnet.it] has quit ["Bye bye ppl"] 11:07:08 fe[nl]ix [n=algidus@88-149-212-200.dynamic.ngi.it] has joined #lisp 11:08:05 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 11:13:21 _8david: Thanks for your advice. What about this one? http://paste.lisp.org/display/73913#1 11:15:09 didn't need the length line. http://paste.lisp.org/display/73913#2 11:17:09 kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has joined #lisp 11:19:21 hi, is it possible to decide (portably inside lisp) that the used lisp implementation is a 32 or a 64 bit one? 11:20:24 kiuma [n=kiuma@85-18-55-37.ip.fastwebnet.it] has joined #lisp 11:20:56 l4ndfo: the spec does not define any way, but looking at most-positive-fixnum may be good to base a decision. 11:21:07 in sbcl: #+X86-64 t #-X86-64 nil 11:21:17 though, that's not the only 64-bit arch 11:21:19 stassats`: you missed the "portable" part of the question. 11:21:37 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit ["..."] 11:21:39 H4ns: because there is none? 11:21:43 aha, thanks for the tips 11:21:51 the fixnum thing looks really usable 11:22:05 <_8david> l4ndfo: "what do you really want to do?" 11:22:58 i have a special library which has to communicate with C via sockets, so i have to encode/decode floats, and i want to optimize this according to the architecture 11:23:19 -!- schmx [n=schme@sxemacs/devel/schme] has quit ["leaving"] 11:23:22 -!- _8david [n=user@port-212-202-18-15.dynamic.qsc.de] has left #lisp 11:23:25 _8david [n=user@port-212-202-18-15.dynamic.qsc.de] has joined #lisp 11:23:48 -!- Krystof [i=csr21@howells.doc.gold.ac.uk] has quit [Read error: 110 (Connection timed out)] 11:23:51 ieee-floats worked really slow for me so i split the float decoding process into 2 32 bit parts, but on 64 bit arch it just slow down ... 11:24:14 <_8david> use sb-kernel:double-float-high-bits sb-kernel:double-float-low-bits 11:24:32 <_8david> still implementation specific, but all impl (except for lispworks, which needs ffi for this) have something like it 11:24:33 but i want a portable library :) 11:24:36 if you want real optimization, stick with one implementation 11:24:53 <_8david> I'd write #+sbcl (fast sbcl version) #-sbcl (use iee-floats) 11:25:29 yes it is a good point to use really fast version for specific implementation, but i want a reasonably good general one first 11:25:56 by the way sbcl is the fastest among them without any special further tuning ... 11:26:32 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 11:27:54 silenius [n=jl@yian-ho03.nir.cronon.net] has joined #lisp 11:30:47 pmatos [n=pmatos@pocm06r.ecs.soton.ac.uk] has joined #lisp 11:31:02 -!- sohum [n=sohum@114.72.164.112] has quit [Read error: 110 (Connection timed out)] 11:31:10 -!- pmatos [n=pmatos@pocm06r.ecs.soton.ac.uk] has quit [Read error: 104 (Connection reset by peer)] 11:32:19 -!- ia [n=ia@89.169.165.188] has quit [Client Quit] 11:34:46 -!- Beket [n=stathis@ppp-94-68-100-46.home.otenet.gr] has quit [Remote closed the connection] 11:37:28 ia [n=ia@89.169.165.188] has joined #lisp 11:43:24 eaumontab [n=abeaumon@97.pool85-49-127.dynamic.orange.es] has joined #lisp 11:44:27 -!- tomoyuki28jp [n=tomoyuki@w221062.ppp.asahi-net.or.jp] has quit [Remote closed the connection] 11:46:01 Odin- [n=sbkhh@s121-302.gardur.hi.is] has joined #lisp 11:46:06 -!- kiuma [n=kiuma@85-18-55-37.ip.fastwebnet.it] has quit ["Bye bye ppl"] 11:50:30 milanj [n=milan@93.86.59.23] has joined #lisp 11:51:07 -!- besiria [n=user@webspirs.uom.gr] has quit [Remote closed the connection] 11:51:15 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 11:56:44 hello. 11:58:07 w00t 11:58:28 I am about to continue the spells tutorial 11:58:54 how long it takes to read paip? 11:59:07 how long is a rope? 11:59:22 -!- jao [n=user@74.Red-80-24-4.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 12:00:12 jao [n=user@74.Red-80-24-4.staticIP.rima-tde.net] has joined #lisp 12:00:26 -!- beaumonta [n=abeaumon@97.pool85-49-127.dynamic.orange.es] has quit [Read error: 110 (Connection timed out)] 12:00:45 oO 12:00:58 ok I need a serious answer 12:01:02 aparatchik: there is no useful answer to your question 12:01:27 <_death> it takes as long as you like 12:01:55 ok, I'll just do it 12:02:02 \o/ 12:03:00 I don't like the fact that sblc doesn't have definitions for the +1000 lisp functions included, like vim's help. 12:03:49 it has at least 978 lisp functions 12:04:00 having to look it up online each time is ass-backwards 12:04:00 lisp symbols, that is 12:04:26 install it local 12:04:26 but no the deffinitions and examples included? 12:04:33 -!- Aankhen`` [n=Aankhen@122.162.226.125] has quit [" You know what they say about people obsessed with speed, right? Athas: what? They, uh, would do"] 12:04:45 why it should? that's duplication of work 12:05:15 -!- Odin- [n=sbkhh@s121-302.gardur.hi.is] has quit [] 12:05:54 you can download the hyperspec to your computer. you can make an emacs keybinding to look symbols up either in the online or local copy automatically 12:06:01 <_death> your development environment should handle that for you.. e.g., `C-c C-d h RET' 12:06:06 envi^home [n=envi@220.121.234.156] has joined #lisp 12:06:13 now comes the "but i'm a vim user" part of the story 12:06:41 -!- envi^home [n=envi@220.121.234.156] has quit [Read error: 104 (Connection reset by peer)] 12:07:04 exactly 12:07:06 or C-h S 12:07:23 anyone got a vim plugin ? 12:07:42 viper ;)) 12:07:52 aparatchik: emacs is the prefered environment for programming in lisp. there are some attempts to make vim work better with lisp, but in general, using emacs will be much easier. 12:08:03 there's limp 12:08:12 http://mikael.jansson.be/hacking/limp/docs/ 12:08:17 but is it as good as slime? 12:08:25 stassats`: no. 12:09:07 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 12:09:34 envi^home [n=envi@220.121.234.156] has joined #lisp 12:11:42 Aankhen`` [n=Aankhen@122.162.226.125] has joined #lisp 12:12:24 -!- kleppari [n=spa@bitbucket.is] has quit [Remote closed the connection] 12:15:10 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #lisp 12:15:26 what about cusp? 12:15:58 anyway, it is not for vim too 12:17:21 Odin- [n=sbkhh@s121-302.gardur.hi.is] has joined #lisp 12:18:31 jollygood [n=jollygoo@pool-71-164-35-120.chrlwv.east.verizon.net] has joined #lisp 12:18:58 TDT_ [n=TDT@104.90.248.216.dyn.southslope.net] has joined #lisp 12:19:13 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit [Client Quit] 12:19:39 The-Kenny [n=moritz@p5087D2D1.dip.t-dialin.net] has joined #lisp 12:20:01 -!- segv__ is now known as segv 12:20:13 kiuma [n=kiuma@85-18-55-37.ip.fastwebnet.it] has joined #lisp 12:24:12 -!- ignas [n=ignas@office.pov.lt] has quit [Read error: 113 (No route to host)] 12:24:45 -!- TDT [n=TDT@67.1.63.69.dyn.southslope.net] has quit [Read error: 110 (Connection timed out)] 12:29:24 Krystof [i=csr21@howells.doc.gold.ac.uk] has joined #lisp 12:30:26 tomoyuki28jp [n=tomoyuki@w221062.ppp.asahi-net.or.jp] has joined #lisp 12:30:41 mait [n=user@genyv.rot.sgsnet.se] has joined #lisp 12:31:20 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 12:31:21 I finally got this. http://paste.lisp.org/display/73913#3 Thanks for the people gave me an advice. 12:34:05 what is (remove-if (constantly t) file-pdir :start length)? 12:34:26 (subseq file-pdir length) ? 12:34:29 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #lisp 12:34:59 -!- jao [n=user@74.Red-80-24-4.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 12:35:09 or better (string= public-dir file-pdir :start2 length) 12:35:33 jao [n=user@74.Red-80-24-4.staticIP.rima-tde.net] has joined #lisp 12:35:50 and since there is not, string/= 12:36:40 dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has joined #lisp 12:38:05 err, s/start2/end2/ 12:38:54 TDT [n=TDT@104.90.248.216.dyn.southslope.net] has joined #lisp 12:39:26 won't the merge-pathnames remove any relative components in the input pathname? i.e. would the (member :up file-pdir) ever return non-nil? if so, when? 12:39:55 -!- ejs [n=eugen@nat.ironport.com] has quit [Read error: 60 (Operation timed out)] 12:40:12 i find the routine hard to read, frankly. in a security audit, i'd demand that it'd be rewritten so that it is easier to see what is going on. 12:41:51 oh, public-dir file-pdir are not strings, then subseq 12:41:57 mrSpec [n=Win@82.177.125.6] has joined #lisp 12:42:25 ejs [n=eugen@77.222.151.102] has joined #lisp 12:47:37 -!- tomoyuki28jp [n=tomoyuki@w221062.ppp.asahi-net.or.jp] has quit [Remote closed the connection] 12:48:39 HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has joined #lisp 12:49:05 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 12:51:23 -!- TDT_ [n=TDT@104.90.248.216.dyn.southslope.net] has quit [Read error: 110 (Connection timed out)] 12:52:36 aumontabe [n=abeaumon@97.pool85-49-127.dynamic.orange.es] has joined #lisp 12:53:07 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Connection reset by peer] 12:53:24 -!- jollygood [n=jollygoo@pool-71-164-35-120.chrlwv.east.verizon.net] has quit [] 12:59:20 trittweil [n=trittwei@macbroy20.informatik.tu-muenchen.de] has joined #lisp 12:59:41 -!- HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has quit ["Leaving"] 13:02:42 jollygood [n=jollygoo@pool-71-164-35-120.chrlwv.east.verizon.net] has joined #lisp 13:02:52 -!- jollygood [n=jollygoo@pool-71-164-35-120.chrlwv.east.verizon.net] has quit [Connection reset by peer] 13:02:56 jollygood [n=jollygoo@pool-71-164-35-120.chrlwv.east.verizon.net] has joined #lisp 13:04:14 Jasko [n=tjasko@c-98-235-21-22.hsd1.pa.comcast.net] has joined #lisp 13:05:31 -!- patmaddox [n=pergesu@ip68-4-201-9.oc.oc.cox.net] has quit ["The computer fell asleep"] 13:08:08 -!- eaumontab [n=abeaumon@97.pool85-49-127.dynamic.orange.es] has quit [Read error: 110 (Connection timed out)] 13:08:13 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 13:09:23 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Connection reset by peer] 13:09:48 Fare [n=Fare@ita4fw1.itasoftware.com] has joined #lisp 13:13:32 -!- kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has quit [Read error: 110 (Connection timed out)] 13:13:36 tritchey [n=tritchey@c-98-226-113-211.hsd1.in.comcast.net] has joined #lisp 13:16:12 -!- jewel [n=jewel@dsl-242-143-29.telkomadsl.co.za] has quit [Operation timed out] 13:16:44 -!- lnostdal [i=lnostdal@149-191-122.oke2-bras5.adsl.tele2.no] has quit ["i can has reboot? .. .."] 13:17:44 jewel [n=jewel@dsl-242-143-29.telkomadsl.co.za] has joined #lisp 13:20:19 -!- me-so-stupid [n=hooyambo@77.236.84.166] has quit [Read error: 104 (Connection reset by peer)] 13:21:01 -!- mrSpec [n=Win@82.177.125.6] has quit [Read error: 104 (Connection reset by peer)] 13:21:12 mrSpec [n=Win@82.177.125.6] has joined #lisp 13:21:49 -!- mrSpec [n=Win@82.177.125.6] has quit [Read error: 104 (Connection reset by peer)] 13:22:00 -!- b4|hraban [n=b4@0brg.xs4all.nl] has quit [Remote closed the connection] 13:22:10 -!- Krystof [i=csr21@howells.doc.gold.ac.uk] has quit [Read error: 110 (Connection timed out)] 13:22:13 mrSpec [n=Win@82.177.125.6] has joined #lisp 13:25:26 -!- sellout [n=greg@c-24-128-50-176.hsd1.ma.comcast.net] has quit [] 13:26:00 tChAnDy [n=debian@201-41-202-246.bnut3703.dsl.brasiltelecom.net.br] has joined #lisp 13:26:51 aparatch1k [n=nonamme@h-67-101-253-53.nycmny83.dynamic.covad.net] has joined #lisp 13:27:03 me-so-stupid [n=hooyambo@77.236.84.166] has joined #lisp 13:27:34 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 13:28:06 lnostdal [i=lnostdal@149-191-122.oke2-bras5.adsl.tele2.no] has joined #lisp 13:31:32 -!- mrSpec [n=Win@82.177.125.6] has quit [Read error: 104 (Connection reset by peer)] 13:31:35 mrSpec [n=Win@82.177.125.6] has joined #lisp 13:32:10 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 13:33:15 dlowe [n=dlowe@ita4fw1.itasoftware.com] has joined #lisp 13:33:27 matley [n=matley@matley.imati.cnr.it] has joined #lisp 13:34:49 -!- dto [n=user@68-187-211-226.dhcp.oxfr.ma.charter.com] has quit [Read error: 104 (Connection reset by peer)] 13:34:50 -!- mrSpec [n=Win@82.177.125.6] has quit [Read error: 104 (Connection reset by peer)] 13:34:59 mrSpec [n=Win@82.177.125.6] has joined #lisp 13:35:23 -!- s0ber [n=s0ber@118-160-172-242.dynamic.hinet.net] has quit ["leaving"] 13:36:06 dto [n=user@68-187-211-226.dhcp.oxfr.ma.charter.com] has joined #lisp 13:38:02 -!- ralfD [n=user@194.77.157.133] has quit [Remote closed the connection] 13:38:23 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #lisp 13:39:39 -!- aparatchik [n=nonamme@h-68-164-38-232.nycmny83.dynamic.covad.net] has quit [Read error: 110 (Connection timed out)] 13:40:39 netaustin_ [n=austinsm@cpe-67-243-48-35.nyc.res.rr.com] has joined #lisp 13:41:37 with sbcl, is there a way (and under what restrictions) to get the source of a recently defined function ? 13:42:32 you can get location in the file in which that function was compiled 13:42:41 (describe 'foo) often gives you something, but alas it's macroexpanded. 13:42:58 kuwabara, under slime you can try to M-. the definition 13:43:12 you can write your own defun which saves sources 13:43:50 stassats`: yes, that's what I was about to do. Just wanted to know if I could avoid it. 13:44:06 why do you need that? 13:44:30 kpreid [n=kpreid@cpe-67-242-4-64.twcny.res.rr.com] has joined #lisp 13:44:51 some a the functions previously defined will be converted into C. 13:46:38 lisp to c compiler? 13:46:53 ECL? 13:47:24 stassats`: yes. tic: ECL was my previous choice. But it doesn't generate the code the way I want. 13:47:31 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 13:47:43 kuwabara, most other compilers (such as SBCL) generate machine-code. 13:47:44 -!- rottcodd [n=user@ppp59-167-52-157.lns1.cbr1.internode.on.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 13:47:51 MrSpec_ [n=NoOne@82.177.125.6] has joined #lisp 13:47:59 xan [n=xan@cs78225040.pp.htv.fi] has joined #lisp 13:48:11 kuwabara, or have you written your own Lisp compiler with a C backend? 13:48:26 tic: I know. But I need C. 13:48:55 -!- netaustin [n=austinsm@cpe-67-243-48-35.nyc.res.rr.com] has quit [Connection timed out] 13:49:33 is it intended to be read by human? 13:49:44 My choice is limited to: use only C, or find a way to use the power of Lisp but have C code at some point. 13:50:27 you'll probably never get human-readable and efficient C code from Common Lisp input. 13:50:31 -!- mrSpec [n=Win@82.177.125.6] has quit [Nick collision from services.] 13:50:55 -!- netaustin_ [n=austinsm@cpe-67-243-48-35.nyc.res.rr.com] has quit [Read error: 60 (Operation timed out)] 13:50:56 writing c through lisp smells even worse than writing in c in the first place 13:51:00 stassats`: human readability should be possible, even if difficult. ECL was really exciting when I read the doc. But I couldn't make it run the way I wanted. 13:51:22 I can't write C anymore. I miss lisp macros too much. 13:51:50 minion: scexp 13:51:51 scexp: Symbolic C Expressions, or scexp for short, is a Development tool for translating a S-Expression syntax tree for a subset of ANSI C. http://www.cliki.net/scexp 13:52:49 mathrick [n=mathrick@0x55529153.adsl.cybercity.dk] has joined #lisp 13:52:51 jsnell: wow. thanks ! 13:53:06 -!- ecret [n=ecret@CPE001e9002348e-CM001225d8ab30.cpe.net.cable.rogers.com] has quit [Read error: 110 (Connection timed out)] 13:53:37 ecret [n=ecret@CPE001e9002348e-CM001225d8ab30.cpe.net.cable.rogers.com] has joined #lisp 13:53:44 jsnell: hmm. the site doesn't work anymore. Any alternative url ? 13:54:02 http://web.archive.org/web/20050427230605/http://www.unmutual.info/software/scexp/ - but the download link is not archived 13:54:08 shmho [n=user@58.142.15.103] has joined #lisp 13:54:10 otherwise, there's also bitC with a sexp syntax 13:54:13 -!- MrSpec_ is now known as mrSpec 13:54:24 netaustin [n=austinsm@cpe-67-243-48-35.nyc.res.rr.com] has joined #lisp 13:54:39 or you could roll your own scexp variant, or handle gcc-xml, etc. 13:54:46 deja vu, I seem to have had this conversation two years ago: 13:54:46 http://jsnell.iki.fi/tmp/scexp-0.9.tar.gz 13:55:19 thanks ! 13:56:03 that's, uh, impressive uptime 13:56:41 what's uptime got to do with it? 13:56:57 cmm: what's impressive uptime? 13:57:19 attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has joined #lisp 13:57:48 the /tmp/ bit in the url reminded me, is all 13:58:21 (yes, it has nothing to do with the actual /tmp on the serving computer, plus modern distros don't wipe it on reboot anymore) 13:59:23 lame attempts at humor aside, it would be a good idea to add that link to the cliki page 14:00:05 relatively recent versions of ubuntu certainly wipe it 14:00:09 -!- me-so-stupid [n=hooyambo@77.236.84.166] has quit ["Leaving"] 14:00:44 maybe relocate it to a less temporary-looking url 14:02:02 MrSpec_ [n=NoOne@82.177.125.6] has joined #lisp 14:02:24 -!- mrSpec [n=NoOne@82.177.125.6] has quit [Nick collision from services.] 14:02:27 -!- MrSpec_ is now known as mrSpec 14:03:03 probably not a good idea, since it's just a random tar taken from my .sbcl/site rather than a pristine scexp 0.9 tarball 14:03:09 josemanuel [n=josemanu@27.0.222.87.dynamic.jazztel.es] has joined #lisp 14:03:49 and seems to be lacking the promised LICENSE file, so I should probably take down that temporary copy too 14:07:04 *cmm* wishes he haven't spoken 14:07:40 Hun [n=hun@p50993726.dip0.t-ipconnect.de] has joined #lisp 14:09:02 sellout [n=greg@guest-fw.dc4.itasoftware.com] has joined #lisp 14:15:13 -!- Phoodus [i=foo@ip68-231-38-131.ph.ph.cox.net] has quit [Read error: 104 (Connection reset by peer)] 14:15:31 cmm: which "modern distros" are you referring to ? 14:15:51 athos [n=philipp@p54B879B0.dip.t-dialin.net] has joined #lisp 14:16:35 Krystof [i=csr21@158.223.51.76] has joined #lisp 14:17:50 re 14:19:48 fe[nl]ix: I thought Debian changed its default behavior at some point, but I might be talking nonsense. or the behavior might depend on the filesystem type of /tmp? in short, please disregard :) 14:21:09 cmm: they don't remove directories in /tmp. Maybe they removed them at some point in the far past ? 14:21:30 -!- jollygood [n=jollygoo@pool-71-164-35-120.chrlwv.east.verizon.net] has quit [] 14:22:22 cmsimon [n=cmsimon@unaffiliated/cmsimon] has joined #lisp 14:24:23 ignas [n=ignas@office.pov.lt] has joined #lisp 14:26:39 -!- tritchey [n=tritchey@c-98-226-113-211.hsd1.in.comcast.net] has quit [] 14:27:35 -!- aja [n=aja@S01060018f3ab066e.ed.shawcable.net] has quit [Client Quit] 14:29:41 why remove stuff in /tmp? 14:29:57 *Fare* 's /tmp is a symlink to /dev/shm/tmp/ 14:30:25 hrm, what does it mean that a class is not "finalized"? 14:31:26 -!- cooldude127 [n=user@r55h118.res.gatech.edu] has quit [Read error: 110 (Connection timed out)] 14:31:31 trying to call class-slots on a class and I get that error, but it does not happen always, it's weird 14:31:31 xan: some caches may be off and many methods or MOP functions are not guaranteed to work. 14:31:32 -!- mathrick [n=mathrick@0x55529153.adsl.cybercity.dk] has quit [Read error: 110 (Connection timed out)] 14:31:50 xan: looks for finalize-inheritance or such 14:32:29 it happens when I compile the project for the first time to be precise, but not always. Not that it happens at runtime 14:33:02 ok, let me look for that 14:33:14 clhs finalize-inheritance 14:33:14 Fare: files in /tmp are suppose to be *temporary*, so it makes sense to remove them upon reboot 14:33:14 Sorry, I couldn't find anything for finalize-inheritance. 14:33:18 xan: call finalize-inheritance before calling class-slots is a workaround. 14:33:38 mop finalize-inheritance 14:33:52 -!- adityo [n=adityo@202.87.51.241] has quit ["Lost terminal"] 14:33:55 l_n [n=shawn@tuxhacker/lordnothing] has joined #lisp 14:34:20 it's nice to see how "how can a display the source of a given function" triggers in a discussion about whether or not /tmp should/is/will be cleaned by a reboot. 14:34:46 H4ns, I figured, any idea what could be the root cause or it's just totally dependent on my code\ 14:34:47 that's how the Internet works 14:34:47 ? 14:35:44 xan: the class is guaranteed to be finalized when you have created an instance of it, i.e. make-instance can finalize as a by-product. 14:35:51 it seems the moment when finalize-inheritance is called depends on the metaclass, hrm 14:36:03 xan: i think the reason for this is to allow for forward referencing. 14:36:43 H4ns, like classes depending on other classes not yet defined? 14:38:01 xan: right. 14:38:32 I see, makes sense 14:38:34 xan: it's like you can compile calls to functions that are not yet defined. it's just lispy 14:38:43 xan: ? (defclass x (ff) nil) => # 14:38:48 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 14:38:59 xan: ? (make-instance 'x) => > Error: Class # can't be finalized because superclass FF is not defined yet 14:39:36 the thing is the classes are defined in the "proper" order in the source file, so I don't think it can be that unless they are not guaranteed to be read in that order 14:39:37 Not convinced that being able to compile calls to function not yet defined when they might later become macros is a good thing :) 14:40:04 so maybe the metaclass I'm using is doing weird things, it's the persistent-metaclass form elephant :) 14:40:11 xan: in your source file, yes. but not in the general case 14:40:12 but ok, thanks for all the tips, that was informative 14:40:36 xan: the moral is, use finalize-inheritance before assuming that a class is finalized and can be acted upon with mop functions. 14:40:55 Zhivago: seems to work OK, especially if you consider possible alternatives :) 14:41:02 H4ns: yeah, that did the trick 14:41:47 Well, if macros and functions weren't mutually exclusive, perhaps. 14:41:54 Zhivago: Then it's likely that a macro isn't a good choice, and you wanted an inline function instead. 14:42:09 Um, I think you missed the point. 14:42:21 if you can use the macro like a function. 14:42:29 If you get the order wrong then the things you expected to be macro invocations become broken function invocations. 14:42:31 -!- mrSpec is now known as spec[afk] 14:42:35 Zhivago, good compilers will warn 14:42:48 Zhivago, and a good build system will fail when the warning is detected 14:43:10 Yeah, just not sure why being able to make calls to unknown functions is a good thing 14:43:46 mutually recursive functions? 14:44:03 I think that's pretty orthogonal. 14:44:13 some people seem to swear by the debugger-assisted development model thus enabled 14:44:22 but declarations cover that, in any case. 14:44:35 how can you write such functions without the first one referring to an yet-unknown function 14:45:02 You can know that it's a function in advance. 14:45:25 you can turn Lisp into Pascal, too 14:47:06 Zhivago, btw, hello and happy new year 14:47:23 how have you been? Still in SK? Are you coming to ILC09? 14:47:23 you, too. 14:47:40 Well enough. Yes. Where is it? 14:48:38 at MIT, Cambridge, MA in late march 09 14:49:07 davazp [n=user@121.Red-79-152-91.dynamicIP.rima-tde.net] has joined #lisp 14:49:24 Hello all, is there a common lisp raytracer in active development? 14:51:00 -!- attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has quit [Read error: 110 (Connection timed out)] 14:51:35 gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has joined #lisp 14:52:51 -!- trittweil [n=trittwei@macbroy20.informatik.tu-muenchen.de] has quit [Remote closed the connection] 14:53:23 attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has joined #lisp 14:54:28 -!- ejs [n=eugen@77.222.151.102] has quit ["This computer has gone to sleep"] 14:54:42 ak70 [n=ak70@195.158.95.141] has joined #lisp 14:56:27 Hmm, wasn't planning on going to the US then, but see how it goes. 14:56:50 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 14:57:36 ikki [n=ikki@201.155.75.146] has joined #lisp 14:57:37 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #lisp 14:59:18 -!- aumontabe is now known as abeaumont 14:59:35 roygbiv [n=blank@pdpc/supporter/active/roygbiv] has joined #lisp 15:00:11 cooldude127 [n=user@lawn-128-61-24-27.lawn.gatech.edu] has joined #lisp 15:00:20 aggieben_ [n=aggieben@dhcp7-57.geusnet.com] has joined #lisp 15:00:47 Xach isn't connected ? 15:01:05 i ve got a problem executing vecto examples ... : http://paste.lisp.org/display/73921 15:01:13 I'm trying to do an http request over ssl using portable aserve, and I'm getting an error from the sldb, saying "acl-compat.socket::make-ssl-client-stream is undefined". How do I get SSL working with aserve? 15:01:18 -!- aggieben_ is now known as aggieben 15:01:23 does someone have this problem ? 15:01:33 with vecto-1.4.2 15:03:36 <_8david> aggieben_: use drakma 15:04:32 _8david: ok. thanks for the tip. 15:05:01 <_8david> drakma uses cl+ssl, which is based on ssl-cmucl and the stream code from acl-compat, which it supersedes 15:06:01 I was hoping to do everything I needed to do and not leave ACL+Aserve, but that wasn't working because I don't have a paid license for ACL 15:07:51 H4ns2 [n=hans@p57A0F863.dip.t-dialin.net] has joined #lisp 15:07:58 Tordek__ [n=tordek@host137.190-137-197.telecom.net.ar] has joined #lisp 15:08:13 aggieben: high hopes that you had 15:08:32 H4ns: was trucking right along until I needed SSL 15:11:04 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 15:12:34 -!- Krystof [i=csr21@158.223.51.76] has quit [Read error: 145 (Connection timed out)] 15:14:55 -!- H4ns1 [n=hans@p57A0CE0E.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 15:17:32 minion: memo for rtyom: git clone http://bitmuse.com/code/series.git 15:17:33 Remembered. I'll tell rtyom when he/she/it next speaks. 15:17:50 scottj [i=foobar@209.181.138.162] has joined #lisp 15:18:29 -!- cmsimon [n=cmsimon@unaffiliated/cmsimon] has left #lisp 15:19:39 -!- Tordek [n=tordek@host102.190-137-255.telecom.net.ar] has quit [Read error: 110 (Connection timed out)] 15:20:54 -!- roygbiv [n=blank@pdpc/supporter/active/roygbiv] has quit [SendQ exceeded] 15:21:25 roygbiv [n=blank@pdpc/supporter/active/roygbiv] has joined #lisp 15:22:54 dlowe: you misspelled the nick 15:23:14 cmm: so I did 15:23:21 minion: memo for rtoym: git clone http://bitmuse.com/code/series.git 15:23:21 Remembered. I'll tell rtoym when he/she/it next speaks. 15:24:01 *dlowe* wonders if minion's memos are ever reaped for inactivity 15:24:03 -!- ASau [n=user@193.138.70.52] has quit [Remote closed the connection] 15:24:48 Lou__ [n=lat@125.162.205.66] has joined #lisp 15:25:21 -!- Odin- [n=sbkhh@s121-302.gardur.hi.is] has quit [] 15:25:54 avdi [n=avdi@216.230.102.194] has joined #lisp 15:26:06 -!- scottj [i=foobar@209.181.138.162] has quit ["[BX] Mr. Rogers uses BitchX. Won't you be my neighbor?"] 15:26:36 <_8david> doesn't it forget them on each restart anyway? :-) 15:27:44 Good day. 15:28:24 -!- dfox__ [n=dfox@r5cv134.net.upc.cz] has quit [Connection reset by peer] 15:28:48 dfox__ [n=dfox@r5cv134.net.upc.cz] has joined #lisp 15:29:08 -!- spec[afk] is now known as mrSpec 15:31:44 -!- kpreid [n=kpreid@cpe-67-242-4-64.twcny.res.rr.com] has quit [] 15:33:08 md1 [n=user@213-151-238-36.icss.sk] has joined #lisp 15:33:19 -!- athos [n=philipp@p54B879B0.dip.t-dialin.net] has quit ["leaving"] 15:33:59 -!- Lou__ [n=lat@125.162.205.66] has quit [Remote closed the connection] 15:34:06 Hi, in SBCL, I need to get a SAP of array with fill-pointer, how do I do that? 15:34:21 SAP? 15:34:28 system-area-pointer 15:34:54 pointer to array as a parameter to a C function 15:35:03 like send for example 15:35:23 <_8david> md1: WITH-ARRAY-DATA 15:35:52 send doesn't use a pointer to an array in C. 15:36:11 _8david: thanks 15:36:45 _ [n=jap@217.149.188.205] has joined #lisp 15:37:05 -!- [Head|Rest] [n=jap@217.149.188.112] has quit [Read error: 110 (Connection timed out)] 15:37:14 -!- _ is now known as Guest1455 15:37:26 LostMonarch [n=roby@host234-206-dynamic.49-82-r.retail.telecomitalia.it] has joined #lisp 15:38:49 ASau [n=user@193.138.70.52] has joined #lisp 15:39:35 md1: or (sb-sys:vector-sap (sb-ext:array-storage-vector )) 15:39:39 Lou_ [n=lat@125.162.205.66] has joined #lisp 15:40:05 -!- The-Kenny [n=moritz@p5087D2D1.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 15:41:39 fe[nl]ix: thanks! that's even better 15:42:53 hello. 15:47:02 i would like to run grnuplot from within sbcl. i tried (sb-ext:run-program "gnuplot" (list )). this works partly. the gnuplot-windows closes immediatly after drawing, even if i put commands like pause into the file. if i run gnuplot from shell the gnuplot-windows does not close immediatly. what am i doing wrong? 15:48:43 -!- attila_lendvai [n=ati@catv-89-132-189-132.catv.broadband.hu] has quit ["..."] 15:49:38 yvdriess [n=yvdriess@progpc35.vub.ac.be] has joined #lisp 15:49:47 heya 15:51:16 how can I get rid of the warning generated by using a type inside the defstruct of that type itself? 15:51:38 (defstruct foo (bar nil :type (array bar *))) 15:51:51 how do i have to run (sb-ext:run-program (list ) ...) with :wait t? 15:51:54 -!- Quadrescence [n=quad@unaffiliated/quadrescence] has quit ["Leaving"] 15:51:54 you mean, array foo * 15:51:55 correction: (defstruct foo (bar nil :type (array foo *))) 15:51:59 yeah 15:52:02 Quadrescence [n=quad@unaffiliated/quadrescence] has joined #lisp 15:52:33 HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has joined #lisp 15:53:14 Odin- [n=sbkhh@s121-302.gardur.hi.is] has joined #lisp 15:54:44 how do i use environment to enable :wait t in sb-ext:run-program? 15:55:01 zorgzorg2 [i=marra@130.236.136.254] has joined #lisp 15:55:07 trebor_dki: pass :wait t as an argument to sb-ext:run-program 15:55:40 z0d: (sb-ext:run-program "/usr/bin/gnuplot" (list "/home/DKI/gloecr/Sourcen/workdir/lisp/percolation.gplot") :wait t) does not do the job 15:56:09 trebor_dki, what unexpected behavior do you get? 15:56:49 hi guys. How can I get the name of a function passed as a parameter to another function ? 15:56:52 -!- eevar2 [n=jalla@56.80-203-45.nextgentel.com] has quit ["This computer has gone to sleep"] 15:57:05 Fare: gnuplot exits directly after drawing the graph even if there is a "pause" command. if i do the same in shell - gnuplot waits at the "pause" 15:57:25 zorgzorg2, you can't, unless you pass the name as a parameter itself (which you can funcall) 15:57:37 -!- kiuma [n=kiuma@85-18-55-37.ip.fastwebnet.it] has quit [Read error: 104 (Connection reset by peer)] 15:57:41 zorgzorg2, most functions are anonymous 15:57:59 danlei`` [n=user@pD9E2C7D8.dip.t-dialin.net] has joined #lisp 15:58:02 kami- [n=user@unaffiliated/kami-] has joined #lisp 15:58:05 hello 15:58:25 trebor_dki, gnuplot may be trying to do something "smart" when it detects its i/o is a tty. 15:58:52 You can also use labels to produce a local function that you can pass. 15:58:54 and/or its input may be /dev/null at which point it's right to not hang waiting for input. 16:00:00 Fare: ok. so no way of having some sort of (sb-thread:make-thread #'some-fun :name )... 16:00:01 jollygood [n=jollygoo@129.71.215.161] has joined #lisp 16:00:26 can i call gnuplot in another way so i/o goes to the terminal (like in shell)? 16:01:37 -!- cooldude127 [n=user@lawn-128-61-24-27.lawn.gatech.edu] has quit [Read error: 110 (Connection timed out)] 16:04:36 -!- ak70 [n=ak70@195.158.95.141] has left #lisp 16:07:23 -!- dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has quit [] 16:07:39 this does it: (run-program (list ) :wait t :pty t) .... thanks for your help 16:07:50 salex [n=user@c-98-200-117-115.hsd1.tx.comcast.net] has joined #lisp 16:09:08 (even :wait nil does it) 16:10:40 kiuma [n=kiuma@85-18-55-37.ip.fastwebnet.it] has joined #lisp 16:10:42 shotgun debugging FTW <-: 16:11:04 zorgzorg2, why not (make-thread 'some-fun) if that's what you want? 16:11:37 Fare, indeed. 16:13:35 -!- danlei` [n=user@pD9E2CBC2.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 16:13:56 -!- HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has quit ["Verlassend"] 16:14:14 ejs [n=eugen@94-248-110-194.dynamic.peoplenet.ua] has joined #lisp 16:14:36 beaumonta [n=abeaumon@97.pool85-49-127.dynamic.orange.es] has joined #lisp 16:17:21 -!- abeaumont [n=abeaumon@97.pool85-49-127.dynamic.orange.es] has quit [Read error: 60 (Operation timed out)] 16:17:23 dnm [n=dnm@c-68-49-46-251.hsd1.va.comcast.net] has joined #lisp 16:20:35 ThomasI [n=thomas@unaffiliated/thomasi] has joined #lisp 16:23:42 Beeet [n=stathis@ppp12-241.adsl.forthnet.gr] has joined #lisp 16:24:29 -!- vy [n=user@213.139.194.186] has quit [Remote closed the connection] 16:24:36 bah. obama has killed the interwebs 16:25:11 cads [n=max@c-71-56-62-166.hsd1.ga.comcast.net] has joined #lisp 16:25:52 nullwork [n=nullwork@c-24-245-23-122.hsd1.mn.comcast.net] has joined #lisp 16:26:42 -!- kiuma [n=kiuma@85-18-55-37.ip.fastwebnet.it] has quit ["Bye bye ppl"] 16:27:41 -!- salex [n=user@c-98-200-117-115.hsd1.tx.comcast.net] has quit [Remote closed the connection] 16:31:49 cheatcountry1 [n=cheatcou@cpe-72-177-217-220.satx.res.rr.com] has joined #lisp 16:33:07 spooneybarger [n=spooneyb@cpe-74-73-111-254.nyc.res.rr.com] has joined #lisp 16:33:20 Good afternoon. 16:33:47 beach, hi! still in VN? 16:34:07 fnpod [n=irchon@116.58.16.203] has joined #lisp 16:34:07 -!- fnpod [n=irchon@116.58.16.203] has quit [Client Quit] 16:34:26 Nope! 16:34:37 ah beach ! 16:34:42 VN? 16:34:42 hi ! 16:34:43 hello zorgzorg2 16:34:48 Zhivago: Vietnam 16:35:03 I have never been to vietnam. 16:35:12 Sorry to hear that. 16:35:35 I wouldn't mind. I hear they do a decent rat on a stick. 16:36:31 never saw it on any menu. 16:36:47 but then again, I don't recognize every word yet, and I sometimes order blindly. 16:37:13 beach, I was leaving for home, so I'll make it quick : you'll have a first version of the article tomorrow. 16:37:23 zorgzorg2: sounds good. 16:37:49 perfect :) see ya 16:37:56 yep, take care. 16:38:02 Gott Nytt År 16:38:16 -!- Guest1455 is now known as [Head|Rest] 16:38:31 Tack det samma :-) 16:38:43 -!- zorgzorg2 [i=marra@130.236.136.254] has left #lisp 16:39:24 fnpod [n=irchon@116.58.16.203] has joined #lisp 16:39:24 -!- fnpod [n=irchon@116.58.16.203] has quit [Remote closed the connection] 16:41:43 athos [n=philipp@92.250.204.223] has joined #lisp 16:42:02 -!- Jarvellis [n=jarv@dsl-217-155-101-22.zen.co.uk] has quit [Remote closed the connection] 16:42:57 -!- Beeet is now known as Beket 16:43:51 kejsaren [n=kejsaren@111.25.95.91.static.ras.siw.siwnet.net] has joined #lisp 16:44:42 Russel-Athletic [n=engelzz@d174.stw.stud.uni-saarland.de] has joined #lisp 16:44:43 hiho 16:44:51 hello Russel-Athletic 16:44:51 -!- aundro_ [n=aundro@106.159-201-80.adsl-dyn.isp.belgacom.be] has quit [Read error: 104 (Connection reset by peer)] 16:44:58 does anybody have an idea how i get a vector of every possible bit-vector of length n? 16:45:22 Russel-Athletic: n had better not be very large. 16:45:27 i know 16:45:30 Russel-Athletic, with a non-deterministic dialect of CL, use Screamer. 16:45:39 -!- davazp [n=user@121.Red-79-152-91.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 16:45:46 otherwise, just count in binary :) 16:46:09 mathrick [n=mathrick@users177.kollegienet.dk] has joined #lisp 16:46:18 is there a nice way to count in binary rather than doing the arithmetic myself? 16:46:20 Russel-Athletic: yeah, write an add-one-to-bitvector function. 16:46:40 Russel-Athletic: use integers instead of bitvectors :) 16:47:10 can i convert integers to bit vectors? 16:47:11 Russel-Athletic: I am surprised you need an explicit representation of ALL of them. 16:47:12 Russel-Athletic, since n will be small, anyway -- you can use fixnums indeed. 16:47:51 aundro_ [n=aundro@254.216-240-81.adsl-dyn.isp.belgacom.be] has joined #lisp 16:47:56 Russel-Athletic: And why do you need for them to be bitvectors? 16:48:08 because i try to do something like linear programming 16:48:17 And? 16:48:23 i need something like a boolean value if i should take the number of not 16:48:23 Russel-Athletic, the conversion is left as an exercise to the READER -- (read-from-string (format nil "#*~'0,v...)) 16:49:17 -!- wedgeV [n=wedgeV@85.31.0.85] has quit [] 16:50:04 Russel-Athletic: I have never heard of any kind of linear-programming algorithm that required a complete enumeration of all possible bitvectors of length n. 16:50:28 well i need to go to all of them 16:50:31 (read-from-string (format nil "#*~2,v,'0R" n bits)) 16:50:41 if i count or have all, doesn't matter in my case 16:51:04 I'm not sure if this is possible, but can you make a type definition for e.g. array where you say 'I'm certain the number of elements is < 16' 16:51:05 to count them: (ash 1 n) 16:51:17 doxtor [n=doxtor@cpe-92-37-10-153.dynamic.amis.net] has joined #lisp 16:51:29 yvdriess: not really 16:51:47 JuanDaugherty [n=juan@cpe-72-228-150-44.buffalo.res.rr.com] has joined #lisp 16:51:49 you could enumerate all the different possible shapes that those arrays could have, but I wouldn't recommend it 16:52:07 might be a better idea to use lists for skiplist forward tables 16:52:08 Xof: are you making progress on the article? 16:52:11 ah, no 16:52:12 a macro could enumerate them for you 16:52:26 I do have it on my TODO wall 16:52:28 Xof: I was going to do something about it tomorrow, but I have a pretty bad cold. 16:52:40 I will start by rereading the paper and the referees' comments 16:53:00 thanks Fare 16:53:02 -!- shmho [n=user@58.142.15.103] has quit [Remote closed the connection] 16:53:16 -!- ejs [n=eugen@94-248-110-194.dynamic.peoplenet.ua] has quit [Connection timed out] 16:53:25 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 16:53:37 -!- envi^home [n=envi@220.121.234.156] has quit ["Leaving"] 16:53:50 I have just finished sorting out this year's exams and other hideous bits of administrivia, so I'm now in a position for the rest of this week to do something about it 16:54:22 Excellent! I am catching up as well after having been away the first week of lectures. 16:54:27 -!- athos [n=philipp@92.250.204.223] has quit [Remote closed the connection] 16:55:07 athos [n=philipp@92.250.204.223] has joined #lisp 16:57:48 -!- Russel-Athletic [n=engelzz@d174.stw.stud.uni-saarland.de] has quit ["leaving"] 17:00:15 -!- yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has quit [Read error: 110 (Connection timed out)] 17:00:53 ManateeLazyCat [n=user@222.212.129.127] has joined #lisp 17:01:35 X-Scale2 [i=email@89.180.152.2] has joined #lisp 17:02:28 Davidbrcz [n=david@nsc.ciup.fr] has joined #lisp 17:02:52 loxs [n=loxs@fw1.netmania-it.com] has joined #lisp 17:03:52 Jarvellis [n=jarv@dsl-217-155-101-22.zen.co.uk] has joined #lisp 17:04:00 -!- loxs [n=loxs@fw1.netmania-it.com] has quit [Client Quit] 17:08:57 -!- Martinp23 [i=martinp2@freenode/staff/wikimedia.martinp23] has quit [Connection timed out] 17:09:27 -!- ksergio [n=sgarcia@mail.nuecho.com] has quit [Remote closed the connection] 17:09:40 -!- athos [n=philipp@92.250.204.223] has quit ["leaving"] 17:10:24 -!- Jarvellis [n=jarv@dsl-217-155-101-22.zen.co.uk] has quit [Remote closed the connection] 17:11:12 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 17:13:04 Martinp23 [i=martinp2@freenode/staff/wikimedia.martinp23] has joined #lisp 17:13:35 athos [n=philipp@92.250.204.223] has joined #lisp 17:13:38 -!- athos [n=philipp@92.250.204.223] has quit [Client Quit] 17:14:04 younder [i=jpthing@062016234130.customer.alfanett.no] has joined #lisp 17:14:51 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 17:17:14 HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has joined #lisp 17:17:26 salex [n=user@216.80.143.240] has joined #lisp 17:18:03 -!- prip_ [n=_prip@host151-195-dynamic.17-79-r.retail.telecomitalia.it] has quit ["Leaving"] 17:19:09 amnesiac [n=amnesiac@p3m/member/Amnesiac] has joined #lisp 17:19:53 -!- NorthStar [i=email@89-180-200-184.net.novis.pt] has quit [Connection timed out] 17:22:50 -!- HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has quit ["Verlassend"] 17:24:10 athos [n=philipp@92.250.204.223] has joined #lisp 17:24:22 elurin [n=user@85.99.69.218] has joined #lisp 17:24:31 prip [n=_prip@host151-195-dynamic.17-79-r.retail.telecomitalia.it] has joined #lisp 17:25:26 Soulman__ [n=kae@gatekeeper.vizrt.com] has joined #lisp 17:25:59 -!- JuanDaugherty [n=juan@cpe-72-228-150-44.buffalo.res.rr.com] has quit ["Leaving"] 17:27:32 beach: I have fixed the fautes de frappe identified by reviewer #1 17:29:02 -!- jewel [n=jewel@dsl-242-143-29.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 17:29:20 -!- ThomasI [n=thomas@unaffiliated/thomasi] has quit ["Bye Bye!"] 17:31:41 ah, I see obama has killed the channel 17:32:55 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 17:35:01 obama? 17:35:27 killed the whole interwebs, nearly 17:35:35 cads_ [n=max@c-71-56-62-166.hsd1.ga.comcast.net] has joined #lisp 17:35:48 ignas: inauguration day in the US 17:35:58 stupid question: how do you tell rcirc to connect to a server other than freenode as well? 17:35:58 which means far too much streaming video 17:36:00 ahh, you mean the "let's get everyone to download silverlight" thingie? 17:36:04 indeed 17:36:08 -!- jao [n=user@74.Red-80-24-4.staticIP.rima-tde.net] has quit [Read error: 113 (No route to host)] 17:36:28 kzar: Call the connection function twice 17:36:39 kzar: M-x customize-variable rcirc-server-alist 17:36:52 add everything you want there 17:37:07 then M-x irc connects to everything there at once when called without parameters 17:37:20 cheers guys, not on the ball today 17:37:32 -!- aparatch1k [n=nonamme@h-67-101-253-53.nycmny83.dynamic.covad.net] has quit [Remote closed the connection] 17:37:44 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 17:38:29 -!- cads [n=max@c-71-56-62-166.hsd1.ga.comcast.net] has quit ["Ex-Chat"] 17:38:38 aparatchik [n=nonamme@h-67-101-253-53.nycmny83.dynamic.covad.net] has joined #lisp 17:39:03 foom [n=jknight@ita4fw1.itasoftware.com] has joined #lisp 17:39:32 -!- mait [n=user@genyv.rot.sgsnet.se] has left #lisp 17:39:52 -!- ignas [n=ignas@office.pov.lt] has quit ["Download xchat-gnome: apt-get install xchat-gnome"] 17:40:14 -!- kzar [n=kzar@hardwick.demon.co.uk] has quit [Remote closed the connection] 17:40:16 -!- matley [n=matley@matley.imati.cnr.it] has quit [Remote closed the connection] 17:40:30 kzar [n=kzar@hardwick.demon.co.uk] has joined #lisp 17:44:46 -!- [Head|Rest] [n=jap@217.149.188.205] has quit [Remote closed the connection] 17:45:34 -!- toddoon [n=guillaum@mar92-11-82-245-210-60.fbx.proxad.net] has quit [Remote closed the connection] 17:46:39 ejs [n=eugen@94-248-103-224.dynamic.peoplenet.ua] has joined #lisp 17:52:06 clows_ [n=clows@cpe90-146-210-193.liwest.at] has joined #lisp 17:52:42 -!- clows_ [n=clows@cpe90-146-210-193.liwest.at] has left #lisp 17:53:23 malumalu [n=malu@hnvr-4dbb59ed.pool.einsundeins.de] has joined #lisp 17:54:45 -!- H4ns2 [n=hans@p57A0F863.dip.t-dialin.net] has quit ["Leaving."] 17:55:03 -!- kzar [n=kzar@hardwick.demon.co.uk] has quit [Remote closed the connection] 17:56:31 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 17:57:52 -!- netaustin [n=austinsm@cpe-67-243-48-35.nyc.res.rr.com] has quit [] 17:58:53 yasb [n=cedric@91.142.56.44] has joined #lisp 18:00:52 rread [n=rread@c-98-234-51-39.hsd1.ca.comcast.net] has joined #lisp 18:01:24 kzar [n=kzar@hardwick.demon.co.uk] has joined #lisp 18:01:46 yaln [n=unknown@194.146.155.69] has joined #lisp 18:03:46 -!- jsoft [n=Administ@unaffiliated/jsoft] has quit ["initialize sleep routine"] 18:06:30 btw ppl, theres a #lispgames channel for those who don't know. :) 18:08:14 -!- Davidbrcz [n=david@nsc.ciup.fr] has quit ["Ex-Chat"] 18:09:44 bit` [n=bit@c-67-171-211-187.hsd1.or.comcast.net] has joined #lisp 18:12:02 rindolf [n=shlomi@bzq-219-139-216.static.bezeqint.net] has joined #lisp 18:14:22 there are lisp games? 18:16:11 popular lisp games include "torture the newbie" and the "What are you really trying to do?" quiz hour 18:16:31 can we play that here :P? 18:16:44 followed by a rousing round of "why isn't my backtick working?" 18:16:45 I need some help 18:16:58 with a side game of "macro, or function?" 18:17:01 -!- bpalmer [n=user@unaffiliated/bpalmer] has left #lisp 18:17:01 (#lisp games, anyway) 18:17:04 -!- ASau [n=user@193.138.70.52] has quit [Remote closed the connection] 18:17:09 quite 18:20:47 netaustin [n=austinsm@cpe-67-243-48-35.nyc.res.rr.com] has joined #lisp 18:21:05 is there a simple built in construct that would iterate over all the elements of an array and return nil if an element of the array doesnt match the conditions? 18:21:21 tcr [n=tcr@host145.natpool.mwn.de] has joined #lisp 18:21:22 -!- netaustin [n=austinsm@cpe-67-243-48-35.nyc.res.rr.com] has quit [Client Quit] 18:21:42 <_3b> clhs every 18:21:42 http://www.lispworks.com/reference/HyperSpec/Body/f_everyc.htm 18:21:43 you'll have to displace the array if it isn't already 1d 18:21:55 its 1d 18:21:58 hefner: tsk 18:22:03 thanks 18:23:57 cooldude127 [n=user@lawn-128-61-24-27.lawn.gatech.edu] has joined #lisp 18:24:22 lispm [n=joswig@e177157012.adsl.alicedsl.de] has joined #lisp 18:25:35 -!- milanj [n=milan@93.86.59.23] has quit ["This computer has gone to sleep"] 18:26:21 -!- Quadrescence [n=quad@unaffiliated/quadrescence] has quit [Remote closed the connection] 18:29:10 -!- yasb [n=cedric@91.142.56.44] has quit ["leaving"] 18:30:27 malune_ [n=malune@bb-87-81-97-91.ukonline.co.uk] has joined #lisp 18:30:37 -!- malune_ [n=malune@bb-87-81-97-91.ukonline.co.uk] has quit [Client Quit] 18:30:42 clausewitz [n=th@0x535b95eb.kjnxx11.dynamic.dsl.tele.dk] has joined #lisp 18:31:19 -!- Martinp23 [i=martinp2@freenode/staff/wikimedia.martinp23] has quit ["Goodbye"] 18:31:46 Martinp23 [i=martinp2@freenode/staff/wikimedia.martinp23] has joined #lisp 18:31:55 -!- doxtor [n=doxtor@unaffiliated/mitja] has quit [Read error: 104 (Connection reset by peer)] 18:35:51 Quadrescence [n=quad@unaffiliated/quadrescence] has joined #lisp 18:40:52 -!- Nshag [i=user@Mix-Orleans-106-2-117.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 18:40:56 The-Kenny [n=moritz@p5087D2D1.dip.t-dialin.net] has joined #lisp 18:45:33 milanj [n=milan@212.200.223.9] has joined #lisp 18:46:26 -!- z0d [n=z0d@unaffiliated/z0d] has quit [Read error: 104 (Connection reset by peer)] 18:47:24 -!- tChAnDy [n=debian@201-41-202-246.bnut3703.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)] 18:47:50 -!- yaln [n=unknown@194.146.155.69] has quit ["hw"] 18:47:56 tChAnDy [n=debian@201-41-202-246.bnut3703.dsl.brasiltelecom.net.br] has joined #lisp 18:48:14 -!- silenius [n=jl@yian-ho03.nir.cronon.net] has quit [Remote closed the connection] 18:49:05 -!- ramkrsna [n=ramkrsna@unaffiliated/ramkrsna] has quit [Remote closed the connection] 18:50:10 jao [n=user@81.Red-83-33-179.dynamicIP.rima-tde.net] has joined #lisp 18:55:24 -!- malumalu [n=malu@hnvr-4dbb59ed.pool.einsundeins.de] has quit ["Verlassend"] 18:57:18 *_3b* gives up on binding fuse for now :( 18:57:30 joma [n=hask@h100n1c1o1097.bredband.skanova.com] has joined #lisp 18:57:52 -!- joma [n=hask@h100n1c1o1097.bredband.skanova.com] has left #lisp 18:58:21 davazp [n=user@121.Red-79-152-91.dynamicIP.rima-tde.net] has joined #lisp 18:58:36 puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has joined #lisp 19:00:17 <_3b> i can get it to mount and interfere with the mount point, but it doesn't seem to actually call the callbacks, and it messes with sbcl's FDs or something as well 19:01:11 <_3b> too annoying to try to debug it on the slow machine i'm using to test it though 19:05:09 eno [n=eno@nslu2-linux/eno] has joined #lisp 19:06:22 -!- yvdriess [n=yvdriess@progpc35.vub.ac.be] has quit [] 19:17:27 -!- beaumonta is now known as abeaumont 19:20:03 netaustin [n=austinsm@rrcs-72-43-187-82.nyc.biz.rr.com] has joined #lisp 19:20:10 -!- netaustin [n=austinsm@rrcs-72-43-187-82.nyc.biz.rr.com] has quit [Remote closed the connection] 19:20:19 netaustin [n=austinsm@rrcs-72-43-187-82.nyc.biz.rr.com] has joined #lisp 19:22:03 -!- salex [n=user@216.80.143.240] has quit [Remote closed the connection] 19:22:20 Jarvellis [n=jarv@dsl-217-155-101-22.zen.co.uk] has joined #lisp 19:23:51 papermachine [n=ahoman@61.152.106.169] has joined #lisp 19:23:54 -!- abeaumont [n=abeaumon@97.pool85-49-127.dynamic.orange.es] has quit [Remote closed the connection] 19:24:53 pkhuong_ [n=pkhuong@modemcable125.83-81-70.mc.videotron.ca] has joined #lisp 19:25:00 -!- lemoinem [n=swoog@modemcable125.83-81-70.mc.videotron.ca] has quit [Nick collision from services.] 19:25:12 lemoinem [n=swoog@modemcable125.83-81-70.mc.videotron.ca] has joined #lisp 19:27:51 malcster [n=malc@78-86-4-156.zone2.bethere.co.uk] has joined #lisp 19:28:21 dv_ [n=dv@85-127-114-35.dynamic.xdsl-line.inode.at] has joined #lisp 19:30:01 -!- malcster [n=malc@78-86-4-156.zone2.bethere.co.uk] has quit [Client Quit] 19:30:48 <_8david> what's with all the fuse talk? we want MORE SWF2 code! 19:31:25 <_3b> _8david: heh, got distracted :) 19:31:50 <_3b> _8david: i'd still probably be debugging the fuse stuff if i wasn't supposed to be doing other things though 19:31:54 schoppenhauer [n=css@unaffiliated/schoppenhauer] has joined #lisp 19:33:52 jgracin [n=jgracin@82.193.210.126] has joined #lisp 19:35:43 <_8david> in the logs, I saw something about :call-method using method IDs instead of names. Can I actually use that through the compiler already or it is an assembler-only thing for now? 19:35:59 Ogedei [n=user@port-87-193-235-133.static.qsc.de] has joined #lisp 19:36:26 -!- pkhuong [n=pkhuong@modemcable125.83-81-70.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 19:37:00 <_8david> logs == git logs 19:38:14 <_3b> that compiler doesn't have any use for it i think 19:39:00 in current SBCL, is calling Lisp functions from C still 'extremely hackish and poorly supported', as the docs state? 19:40:10 mrsolo [n=mrsolo@nat/yahoo/x-825f6eca3ac26d97] has joined #lisp 19:40:17 <_3b> Ogedei: as far as i know, it is useable, as long as you don't call from non-sbcl threads 19:41:15 <_8david> okay. Can you recommend a disassembler? I'll need to take a peek into some flex- or haxe-generated code sometime soon to understand how things fit together. 19:41:26 jewel [n=jewel@dsl-242-143-29.telkomadsl.co.za] has joined #lisp 19:41:44 <_3b> i usually use the one that comes with the flex sdk i think 19:42:56 <_8david> ah, thanks 19:45:25 -!- Beket [n=stathis@ppp12-241.adsl.forthnet.gr] has quit ["Leaving"] 19:46:02 _8david: http://www.swftools.org/ swfdump seems to work pretty well. 19:46:48 -!- Odin- [n=sbkhh@s121-302.gardur.hi.is] has quit [] 19:46:48 JuanDaugherty [n=juan@cpe-72-228-150-44.buffalo.res.rr.com] has joined #lisp 19:48:00 Hmm, does cheneygc work on x86(-64)? 19:49:12 might need too many registers 19:49:25 at least for 386 19:52:33 mornfall_ [n=mornfall@anna.fi.muni.cz] has joined #lisp 19:53:09 -!- _3b [i=foobar@cpe-70-112-214-100.austin.res.rr.com] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- Hun [n=hun@p50993726.dip0.t-ipconnect.de] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- thom_logn [n=thom@pool-96-229-99-100.lsanca.dsl-w.verizon.net] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- tessier [n=treed@mail.copilotconsulting.com] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- mornfall [n=mornfall@anna.fi.muni.cz] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- ltbarcly [n=jvanwink@nc-76-0-131-184.dhcp.embarqhsd.net] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- dmiles_afk [i=dmiles@c-71-197-210-170.hsd1.wa.comcast.net] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- ilitirit [n=john@watchdog.msi.co.jp] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- scode [n=scode@hyperion.scode.org] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- weirdo [i=sthalik@c144-107.icpnet.pl] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- turbo24prg [n=turbo24p@mail.turbolent.com] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- dostoyevsky [i=sck@oemcomputer.oerks.de] has quit [lem.freenode.net irc.freenode.net] 19:53:09 -!- egn [i=tux@nodes.fm] has quit [lem.freenode.net irc.freenode.net] 19:53:12 _8david, _3b : I also have a swf-parser/dissasembler in Lisp that you can grab from here: git clone http://pettomato.com/git/swf-parser 19:53:37 It's nice b/c you can pick through the swf interactively, but it doesn't dump the output as nice as swfdump. 19:54:19 *hefner* wonders if IDA has a processor module for this 19:56:43 -!- gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has quit [Read error: 145 (Connection timed out)] 19:57:43 -!- mrSpec [n=NoOne@82.177.125.6] has quit [Read error: 60 (Operation timed out)] 19:57:46 malumalu [n=malu@hnvr-4dbb59ed.pool.einsundeins.de] has joined #lisp 19:58:41 postamar [n=postamar@x-132-204-253-141.xtpr.umontreal.ca] has joined #lisp 20:00:01 -!- Aankhen`` [n=Aankhen@122.162.226.125] has quit ["I've been trying for some time to develop a lifestyle that doesn't require my presence."] 20:00:26 -!- X-Scale2 [i=email@89.180.152.2] has left #lisp 20:01:37 -!- slyrus_ [n=slyrus@adsl-75-36-215-150.dsl.pltn13.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 20:02:41 rsynnott, things at a fixed address make for good register-substitutes. 20:03:15 -!- Fare [n=Fare@ita4fw1.itasoftware.com] has quit ["Leaving"] 20:03:20 user___ [n=user@p54923A57.dip.t-dialin.net] has joined #lisp 20:03:44 -!- sandGorgon [n=chatzill@122.162.135.41] has quit ["ChatZilla 0.9.84 [Firefox 3.0.5/2008121622]"] 20:04:11 schaueho [n=schauer@dslb-088-066-048-008.pools.arcor-ip.net] has joined #lisp 20:09:20 jgracin_ [n=jgracin@82.193.210.126] has joined #lisp 20:10:21 _3b [i=foobar@cpe-70-112-214-100.austin.res.rr.com] has joined #lisp 20:10:45 Hun [n=hun@p50993726.dip0.t-ipconnect.de] has joined #lisp 20:10:45 thom_logn [n=thom@pool-96-229-99-100.lsanca.dsl-w.verizon.net] has joined #lisp 20:10:45 tessier [n=treed@mail.copilotconsulting.com] has joined #lisp 20:10:45 ltbarcly [n=jvanwink@nc-76-0-131-184.dhcp.embarqhsd.net] has joined #lisp 20:10:45 dmiles_afk [i=dmiles@c-71-197-210-170.hsd1.wa.comcast.net] has joined #lisp 20:10:45 ilitirit [n=john@watchdog.msi.co.jp] has joined #lisp 20:10:45 turbo24prg [n=turbo24p@mail.turbolent.com] has joined #lisp 20:10:45 dostoyevsky [i=sck@oemcomputer.oerks.de] has joined #lisp 20:10:45 weirdo [i=sthalik@c144-107.icpnet.pl] has joined #lisp 20:10:45 egn [i=tux@nodes.fm] has joined #lisp 20:10:45 scode [n=scode@hyperion.scode.org] has joined #lisp 20:11:20 mrSpec [n=NoOne@82.177.125.6] has joined #lisp 20:13:53 -!- cooldude127 [n=user@lawn-128-61-24-27.lawn.gatech.edu] has quit [Remote closed the connection] 20:14:34 gigamonk` [n=user@adsl-76-254-22-157.dsl.pltn13.sbcglobal.net] has joined #lisp 20:17:31 -!- schaueho [n=schauer@dslb-088-066-048-008.pools.arcor-ip.net] has quit ["Leaving"] 20:17:56 -!- jgracin [n=jgracin@82.193.210.126] has quit [Read error: 110 (Connection timed out)] 20:19:17 -!- AntiSpamMeta [n=MetaBot@unaffiliated/afterdeath/bot/antispambot] has quit [Remote closed the connection] 20:20:03 AntiSpamMeta [n=MetaBot@unaffiliated/afterdeath/bot/antispambot] has joined #lisp 20:21:14 -!- fschwidom [n=fschwido@94.219.117.229] has quit [Connection timed out] 20:21:20 -!- davazp [n=user@121.Red-79-152-91.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 20:21:29 cooldude` [n=user@r55h118.res.gatech.edu] has joined #lisp 20:27:43 davazp [n=user@121.Red-79-152-91.dynamicIP.rima-tde.net] has joined #lisp 20:30:18 <_8david> ahaas: thanks, will try it 20:30:35 <_8david> (where are all the avm2 projects coming from suddenly?) 20:30:43 dmitry-lebedev [n=dmitry-l@92.112.153.156] has joined #lisp 20:34:19 -!- pkhuong_ is now known as pkhuong 20:36:09 NTFS [n=HulkAMan@c-76-127-215-92.hsd1.ma.comcast.net] has joined #lisp 20:36:13 How do i learn lisp? 20:36:26 ecraven [n=nex@140.78.42.103] has joined #lisp 20:36:34 <_3b> read books, read code, write code 20:36:40 <_3b> (optionally, write books) 20:36:44 REPL 20:36:59 minion: tell NTFS about pcl 20:37:00 NTFS: direct your attention towards pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005). 20:37:04 repl? 20:38:06 just read Practical Common Lisp, as minion said 20:39:23 REPL=Read-Eval-Print-Loop, the inner nature of lisp 20:40:19 something like "read books, read code, write code" 20:40:53 ehu [n=chatzill@82-170-33-173.ip.telfort.nl] has joined #lisp 20:41:08 -!- NTFS is now known as HULKHOGAN 20:41:48 Am I reading clhs section 12.1.4.1 (Rule of Float and Rational Contagion) correctly: when comparing a float and an integer, the float should be converted to a ratio before doing the comparison? 20:43:03 aparatch1k [n=nonamme@h-67-102-1-218.nycmny83.dynamic.covad.net] has joined #lisp 20:43:18 <_3b> doesn't seem like you would need to for ints 20:43:41 <_3b> well, fixnums at least 20:44:01 well, converting an int to a float is inexact, right? 20:44:17 <_3b> or maybe fixnums smaller than the mantissa of the float in question maybe? 20:44:39 <_3b> depends on the int 20:44:40 doesn't matther whether you need to or not. 20:44:55 that's just specifying the behavior, if you can get the same behavior with a different implementation that's fine too... 20:48:38 -!- ManateeLazyCat [n=user@222.212.129.127] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 20:49:29 ah. ok. so, if I can exactly convert an int to a double, *and* I can exactly convert a single-float to double, I can achieve the same goal. Nice! 20:51:15 <_3b> yeah, if you mean 32 bit int, that sounds reasonable (i think :) 20:51:40 -!- dmitry-lebedev [n=dmitry-l@92.112.153.156] has left #lisp 20:54:59 -!- aparatchik [n=nonamme@h-67-101-253-53.nycmny83.dynamic.covad.net] has quit [Read error: 110 (Connection timed out)] 20:56:21 -!- kami- [n=user@unaffiliated/kami-] has quit [Read error: 60 (Operation timed out)] 20:57:35 -!- rindolf [n=shlomi@bzq-219-139-216.static.bezeqint.net] has quit ["Leaving"] 20:59:43 lhz [n=shrekz@c-db43e455.021-158-73746f34.cust.bredbandsbolaget.se] has joined #lisp 20:59:44 dmitry-lebedev [n=dmitry-l@92.112.153.156] has joined #lisp 20:59:47 -!- HULKHOGAN [n=HulkAMan@c-76-127-215-92.hsd1.ma.comcast.net] has left #lisp 21:01:15 -!- malumalu [n=malu@hnvr-4dbb59ed.pool.einsundeins.de] has quit ["Verlassend"] 21:03:33 matley [n=matley@83.225.2.222] has joined #lisp 21:03:54 slyrus_ [n=slyrus@dsl092-019-253.sfo1.dsl.speakeasy.net] has joined #lisp 21:06:30 -!- ejs [n=eugen@94-248-103-224.dynamic.peoplenet.ua] has left #lisp 21:07:02 -!- weirdo [i=sthalik@c144-107.icpnet.pl] has quit [Remote closed the connection] 21:08:37 -!- Quadrescence [n=quad@unaffiliated/quadrescence] has quit [Remote closed the connection] 21:09:08 -!- dmitry-lebedev [n=dmitry-l@92.112.153.156] has left #lisp 21:14:36 -!- lhz [n=shrekz@c-db43e455.021-158-73746f34.cust.bredbandsbolaget.se] has quit ["Leaving"] 21:14:39 -!- clausewitz [n=th@0x535b95eb.kjnxx11.dynamic.dsl.tele.dk] has quit ["oh well"] 21:15:25 zorgzorg21 [n=martino@s83-191-235-17.cust.tele2.se] has joined #lisp 21:17:23 -!- jollygood [n=jollygoo@129.71.215.161] has quit [Read error: 110 (Connection timed out)] 21:18:28 dysinger [n=tim@cpe-75-80-200-182.hawaii.res.rr.com] has joined #lisp 21:19:11 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 21:21:34 -!- JuanDaugherty [n=juan@cpe-72-228-150-44.buffalo.res.rr.com] has quit ["Leaving"] 21:22:37 -!- aggieben [n=aggieben@dhcp7-57.geusnet.com] has quit [Read error: 110 (Connection timed out)] 21:26:08 -!- cavelife^ is now known as cavelife 21:26:30 -!- zorgzorg21 [n=martino@s83-191-235-17.cust.tele2.se] has left #lisp 21:28:29 mait [n=user@genyv.rot.sgsnet.se] has joined #lisp 21:33:32 fschwidom [n=fschwido@94.219.121.182] has joined #lisp 21:35:40 -!- manuel_ [n=manuel@HSI-KBW-091-089-250-148.hsi2.kabel-badenwuerttemberg.de] has quit [Read error: 113 (No route to host)] 21:35:58 -!- fschwidom [n=fschwido@94.219.121.182] has quit [Remote closed the connection] 21:36:16 -!- l_n [n=shawn@tuxhacker/lordnothing] has quit ["changing wm's"] 21:37:54 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 21:38:47 mjf [n=mjf@r9fk13.net.upc.cz] has joined #lisp 21:39:18 is there any way (in SBCL) to convert a character stream to a binary one? and if not, is it possible to convince sb-ext:run-program to create binary input and output streams? 21:44:20 -!- The-Kenny [n=moritz@p5087D2D1.dip.t-dialin.net] has quit ["I am Locutus of Borg! You will assist us!"] 21:44:45 -!- jgracin_ [n=jgracin@82.193.210.126] has quit [Read error: 104 (Connection reset by peer)] 21:46:49 string-to-octets ? 21:47:47 is there a lisp I can run under java to do server-side scripting? 21:48:42 (i.e. my ISP only supports java/perl/python/etc and I'd like to do my webscripting in lisp if possible) 21:48:50 <_death> abcl 21:49:23 sweet, thanks 21:49:38 #abcl is <- that way 21:50:07 -!- jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 21:50:37 hmm. what's wrong with the season? No releases lately? 21:51:22 c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has joined #lisp 21:52:15 what season? 21:52:38 the winter season is traditionally the season for people to spend time on their hobbies. 21:52:56 as such, you would expect more releases in winter 21:53:06 but the release list is pretty static lately 21:53:27 ah 21:53:41 <_death> maybe we should expect big improvements then? :) 21:53:47 HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has joined #lisp 21:54:06 heh! 21:54:11 maybe nerds have moved to the southern hemisphere... thus release season won't start for a few more months 21:54:11 -!- Jasko [n=tjasko@c-98-235-21-22.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)] 21:54:35 milanj: string-to-octets is the wrong way -- the stream is utf-8 on my system (probably uses the system locale), so I can't generate a string to represent arbitrary binary data 21:55:59 abcl seems to get some increased hacking nowadays 21:58:55 Beeet [n=stathis@ppp12-241.adsl.forthnet.gr] has joined #lisp 21:59:22 gonzojive [n=red@fun.Stanford.EDU] has joined #lisp 21:59:30 fusss [n=chatzill@pool-70-108-121-51.res.east.verizon.net] has joined #lisp 21:59:44 greetings 21:59:54 rcy` [n=rcy@d154-20-161-3.bchsia.telus.net] has joined #lisp 21:59:55 sykopomp: you around? 22:00:34 -!- cooldude` [n=user@r55h118.res.gatech.edu] has quit [Read error: 110 (Connection timed out)] 22:00:48 mattrepl [n=mattrepl@ip68-98-133-128.dc.dc.cox.net] has joined #lisp 22:03:55 -!- mait [n=user@genyv.rot.sgsnet.se] has quit [Remote closed the connection] 22:04:52 daniel [i=daniel@unaffiliated/daniel] has joined #lisp 22:04:55 -!- mrSpec [n=NoOne@82.177.125.6] has quit ["win..."] 22:05:50 -!- LostMonarch [n=roby@host234-206-dynamic.49-82-r.retail.telecomitalia.it] has quit ["raise RuntimeError"] 22:06:09 -!- jewel [n=jewel@dsl-242-143-29.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 22:06:34 Phaze [n=PhazeDK@93.163.43.22] has joined #lisp 22:06:56 Odin- [n=sbkhh@s121-302.gardur.hi.is] has joined #lisp 22:07:22 mrSpec [n=Win@82.177.125.6] has joined #lisp 22:07:55 Jasko [n=tjasko@c-98-235-21-22.hsd1.pa.comcast.net] has joined #lisp 22:08:31 jeremiah [n=jeremiah@31.Red-213-98-123.staticIP.rima-tde.net] has joined #lisp 22:09:12 -!- dlowe [n=dlowe@ita4fw1.itasoftware.com] has quit ["*poof*"] 22:09:22 -!- davazp [n=user@121.Red-79-152-91.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 22:09:33 -!- fusss [n=chatzill@pool-70-108-121-51.res.east.verizon.net] has quit ["ChatZilla 0.9.84 [Firefox 3.0.5/2008120122]"] 22:09:33 -!- HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has quit [Read error: 60 (Operation timed out)] 22:09:44 Quadrescence [n=quad@unaffiliated/quadrescence] has joined #lisp 22:10:09 -!- rcy [n=rcy@d154-20-139-185.bchsia.telus.net] has quit [Connection timed out] 22:11:17 -!- c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has quit [Read error: 110 (Connection timed out)] 22:11:50 c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has joined #lisp 22:14:07 The-Kenny [n=moritz@p5087D2D1.dip.t-dialin.net] has joined #lisp 22:15:27 -!- avdi [n=avdi@216.230.102.194] has quit [Remote closed the connection] 22:17:29 avdi [n=avdi@216.230.102.194] has joined #lisp 22:19:23 Wow, run-program.lisp seems nasty :) 22:19:58 cooldude127 [n=user@lawn-128-61-127-118.lawn.gatech.edu] has joined #lisp 22:20:21 how so? 22:20:45 -!- daniel_ [i=daniel@unaffiliated/daniel] has quit [Read error: 110 (Connection timed out)] 22:21:10 -!- mjf [n=mjf@r9fk13.net.upc.cz] has quit ["dew on the telephone lines"] 22:21:17 wedgeV [n=wedge@cm56-238-229.liwest.at] has joined #lisp 22:22:38 lots of reader conditionals, very long function definitions 22:23:51 tcr: if you're still thinking about my question -- i was being dumb, i can actually write bytes to those streams, but was using the wrong one (input vs output) 22:24:25 It's what prompted to M-. to its definition 22:24:43 -!- sellout [n=greg@guest-fw.dc4.itasoftware.com] has quit [] 22:26:48 -!- milanj [n=milan@212.200.223.9] has quit ["Leaving"] 22:30:17 hmmm, damn acm... 22:30:34 -!- c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has quit [Read error: 110 (Connection timed out)] 22:30:54 -!- jlilly [n=njlilly@mail.justinlilly.com] has left #lisp 22:31:36 c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has joined #lisp 22:34:08 -!- postamar [n=postamar@x-132-204-253-141.xtpr.umontreal.ca] has quit [] 22:36:11 -!- Phaze [n=PhazeDK@93.163.43.22] has quit ["Leaving"] 22:39:06 -!- matley [n=matley@83.225.2.222] has quit [Remote closed the connection] 22:39:16 -!- ltbarcly [n=jvanwink@nc-76-0-131-184.dhcp.embarqhsd.net] has quit [Read error: 60 (Operation timed out)] 22:40:27 -!- jao [n=user@81.Red-83-33-179.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 22:41:30 jao [n=user@81.Red-83-33-179.dynamicIP.rima-tde.net] has joined #lisp 22:43:18 -!- cooldude127 [n=user@lawn-128-61-127-118.lawn.gatech.edu] has quit [Remote closed the connection] 22:43:21 HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has joined #lisp 22:45:36 -!- user___ [n=user@p54923A57.dip.t-dialin.net] has quit ["leaving"] 22:46:33 -!- Ogedei [n=user@port-87-193-235-133.static.qsc.de] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 22:46:41 aggieben_ [n=aggieben@dhcp7-57.geusnet.com] has joined #lisp 22:48:06 KingThomasIV [n=KingThom@c-66-177-17-200.hsd1.fl.comcast.net] has joined #lisp 22:49:01 I'm having problems with a macro: http://pastebin.com/d17b89b31 22:50:04 matley [n=matley@83.224.184.89] has joined #lisp 22:50:07 *thom_logn* wonder if a kindly acm member could send me this paper? http://portal.acm.org/citation.cfm?doid=96429.96431 22:50:26 update here to show expansion: http://pastebin.com/d4fa59a2e 22:50:52 I don't understand why the symbol name *tok* gets inserted into the format string instead of the string it refers to 22:50:56 -!- aggieben_ is now known as aggieben 22:50:59 <_death> what did you expect? 22:51:15 slash_ [n=Unknown@whgeh0138.cip.uni-regensburg.de] has joined #lisp 22:51:22 -!- dv_ [n=dv@85-127-114-35.dynamic.xdsl-line.inode.at] has quit ["Verlassend"] 22:51:26 maybe some lisper can help me. Is there a with-output-to-string in python? 22:51:30 <_death> did you expect it to evaluate *tok*? when? 22:51:48 http://pastebin.com/d6b213770 22:52:20 _death: hmm. 22:52:55 <_death> it looks like you may have better results with a function 22:53:04 ok, so I don't want that comma in front of (format, I want it in front of auth-tok, right? 22:53:21 <_death> no, you should want to write a function 22:53:31 -!- c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has quit [Read error: 110 (Connection timed out)] 22:53:51 _death: why? 22:54:10 *aggieben* still trying to figure out when to defmacro and when to defun 22:54:21 <_death> because there's no special syntax here 22:54:24 use defun 99% of the time 22:54:40 rpg_ [n=rpg@75-168-115-213.mpls.qwest.net] has joined #lisp 22:54:58 or other non macro 22:55:02 <_death> the evaluation rule is good enough in this case 22:55:09 -!- rpg_ is now known as rpg 22:55:25 evaluation rule? 22:55:28 c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has joined #lisp 22:55:38 aggieben: If your macro evaluates all arguments, a function is likely to be a better fit 22:55:41 <_death> y'know, evaluate operands left-to-right then call the function 22:55:52 <_death> s/function/operator/ 22:55:57 tcr: oh, ok 22:56:14 otherwise known as "don't use a macro unless you have to" 22:56:18 aggieben: Your macro is in fact broken in that regard 22:56:19 you're right then; looks like there's no point in macroing this one 22:56:35 aggieben: http://pastebin.com/me02b632 22:56:49 not to mention the variable capture problem 22:57:07 fe[nl]ix: thanks 22:57:34 <_death> the only difference here is that you captured the variable `all-headers', so you could use it in url and parameters, but I don't think you wanted that 22:57:40 tcr: and the use of append 22:57:55 _death: ah, yeah. didn't realize I captured that. 22:57:59 list* would have been better 22:58:02 fe[nl]ix: what was wrong with my append? 22:58:14 <_death> cons would suffice 22:58:35 aggieben: try (list* 1 2 (list 3) 22:58:50 ) 22:58:55 ok 22:59:09 same as (append '(1 2) '(3)) 22:59:54 <_death> append has to copy that first list 23:00:10 list* doesn't copy? 23:00:17 Phoodus [i=foo@ip68-231-38-131.ph.ph.cox.net] has joined #lisp 23:00:24 <_death> no, it's like (cons 1 (cons 2 (list 3))) 23:00:48 ok 23:01:09 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 23:01:20 and acons? is it like list*? 23:01:31 <_death> acons is like (cons (cons key val) alist) 23:01:53 <_death> do you know about the CLHS? 23:02:17 minion: tell aggieben about clhs 23:02:19 yes. I just figured I might as well as here since the conversation was already started. 23:02:25 aggieben: have a look at clhs: To look up a symbol in the HyperSpec, try saying "clhs symbol". For more information on the HyperSpec see http://www.cliki.net/CLHS . 23:07:29 -!- danlei`` is now known as danlei 23:12:30 -!- josemanuel [n=josemanu@27.0.222.87.dynamic.jazztel.es] has quit ["Saliendo"] 23:13:15 Has anyone heard any more about ILC 2009? Hotels, registration, etc.? 23:13:40 In ECL, how do I get the MP package available? 23:14:17 registration hopefully open in beginning of february 23:14:34 -!- c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has quit [Read error: 110 (Connection timed out)] 23:14:38 -!- luis [n=user@r42.eu] has quit [Read error: 104 (Connection reset by peer)] 23:14:40 luis [n=user@r42.eu] has joined #lisp 23:14:54 -!- Patzy [n=somethin@coa29-1-88-174-11-170.fbx.proxad.net] has quit [Remote closed the connection] 23:15:04 ace4016 [i=ace4016@cpe-76-168-248-118.socal.res.rr.com] has joined #lisp 23:15:06 Patzy [n=somethin@coa29-1-88-174-11-170.fbx.proxad.net] has joined #lisp 23:15:20 sellout [n=greg@SLOAN-SIXTY-FIVE.MIT.EDU] has joined #lisp 23:15:39 -!- Patzy [n=somethin@coa29-1-88-174-11-170.fbx.proxad.net] has quit [Client Quit] 23:15:55 Patzy [n=somethin@coa29-1-88-174-11-170.fbx.proxad.net] has joined #lisp 23:16:41 c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has joined #lisp 23:17:43 -!- mega1 [n=mega@4d6f4e9a.adsl.enternet.hu] has quit [Read error: 110 (Connection timed out)] 23:18:06 -!- lispm [n=joswig@e177157012.adsl.alicedsl.de] has quit [] 23:19:27 -!- benny [n=benny@i577A0446.versanet.de] has quit [Remote closed the connection] 23:21:45 cYmen_ [n=cymen@squint.a-oben.org] has joined #lisp 23:23:21 -!- cYmen [n=cymen@squint.a-oben.org] has quit [Read error: 104 (Connection reset by peer)] 23:23:35 mcxx- [n=mcxx@213.151.89.55] has joined #lisp 23:23:47 -!- mcxx [n=mcxx@213.151.89.55] has quit [Read error: 104 (Connection reset by peer)] 23:24:03 Draggor: you need to compile it with thread support 23:25:00 I must have missed the flag for it 23:25:41 --enable-threads --enable-__thread 23:25:51 yhara [n=yhara@7.193.12.221.megaegg.ne.jp] has joined #lisp 23:26:24 HET3 [n=diman@chello084114161225.3.15.vie.surfer.at] has joined #lisp 23:26:25 jsnell: Cambridge is a reasonably busy place. I wouldn't have thought one month's notice would necessarily be sufficient to get hotel rooms... 23:27:45 HET4 [n=diman@chello084114161225.3.15.vie.surfer.at] has joined #lisp 23:29:26 fe[nl]ix: both of those? 23:30:11 the first is necessary, the second useful 23:31:35 -!- sellout [n=greg@SLOAN-SIXTY-FIVE.MIT.EDU] has quit [] 23:33:24 -!- anekos is now known as awayekos 23:33:27 is there a straightforward way to convert a vector of character codes into a string without having to iterate over the vector? 23:34:33 use your implementation's octets-to-string or similar function 23:34:43 -!- HET3 [n=diman@chello084114161225.3.15.vie.surfer.at] has quit [Read error: 145 (Connection timed out)] 23:35:09 fe[nl]ix: thanks again. boy, I"ve been needy today 23:36:23 -!- ehu [n=chatzill@82-170-33-173.ip.telfort.nl] has quit [Read error: 110 (Connection timed out)] 23:39:27 -!- c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has quit [Read error: 110 (Connection timed out)] 23:41:01 c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has joined #lisp 23:41:49 -!- mcxx- [n=mcxx@213.151.89.55] has quit [Read error: 110 (Connection timed out)] 23:44:14 -!- HET2 [n=diman@chello084114161225.3.15.vie.surfer.at] has quit [Read error: 110 (Connection timed out)] 23:45:09 -!- HET4 is now known as HET2 23:45:22 What's the status of 64-bit support for MacOSX in SBCL? 23:45:41 -!- avdi [n=avdi@216.230.102.194] has quit ["Leaving."] 23:46:51 jao` [n=user@13.Red-83-42-109.dynamicIP.rima-tde.net] has joined #lisp 23:47:51 -!- jao is now known as Guest33259 23:48:02 -!- slash_ [n=Unknown@whgeh0138.cip.uni-regensburg.de] has quit [Client Quit] 23:49:34 fe[nl]ix: it works, thanks! 23:50:16 -!- jao` is now known as jao 23:52:36 aggieben: if you have already character codes, you can write (map 'string (function code-char) character-codes) 23:52:47 -!- c|mell [n=cmell@p4049-ipbf3107marunouchi.tokyo.ocn.ne.jp] has quit [Read error: 60 (Operation timed out)] 23:52:58 aggieben: note that character codes are not octets, in general. 23:53:21 And when they are, octet-to-string wouldn't do what you want. 23:53:51 mcxx [n=mcxx@213.151.89.55] has joined #lisp 23:55:34 -!- slyrus_ [n=slyrus@dsl092-019-253.sfo1.dsl.speakeasy.net] has quit [Read error: 110 (Connection timed out)] 23:56:21 -!- md1 [n=user@213-151-238-36.icss.sk] has quit [Remote closed the connection] 23:57:00 -!- rpg [n=rpg@75-168-115-213.mpls.qwest.net] has quit [] 23:57:27 -!- Guest33259 [n=user@81.Red-83-33-179.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 23:58:55 -!- Lou_ [n=lat@125.162.205.66] has quit [Remote closed the connection]