00:01:06 Mococa [~Mococa@189.115.157.50] has joined #lisp 00:01:10 -!- cfy [~cfy@unaffiliated/chenfengyuan] has quit [Read error: Connection reset by peer] 00:01:18 -!- sellout [~Adium@c-24-61-13-161.hsd1.ma.comcast.net] has quit [Quit: Leaving.] 00:01:45 cfy [~cfy@218.75.17.73] has joined #lisp 00:01:45 -!- cfy [~cfy@218.75.17.73] has quit [Changing host] 00:01:45 cfy [~cfy@unaffiliated/chenfengyuan] has joined #lisp 00:02:51 BlankVerse [~pankajm@117.197.241.46] has joined #lisp 00:04:41 -!- pavelludiq [~quassel@87.246.58.193] has quit [Remote host closed the connection] 00:07:13 -!- markskilbeck [~mark@unaffiliated/markskilbeck] has quit [Ping timeout: 252 seconds] 00:07:38 markskilbeck [~mark@unaffiliated/markskilbeck] has joined #lisp 00:09:49 -!- nha [~prefect@92.105.194.250] has quit [Ping timeout: 258 seconds] 00:10:03 ltriant [~ltriant@124-148-187-139.dyn.iinet.net.au] has joined #lisp 00:10:24 hankhero [~Adium@c-b21fc81b-74736162.cust.telenor.se] has joined #lisp 00:10:26 -!- hankhero [~Adium@c-b21fc81b-74736162.cust.telenor.se] has quit [Read error: Connection reset by peer] 00:13:28 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 00:14:32 -!- Mococa [~Mococa@189.115.157.50] has quit [Remote host closed the connection] 00:18:18 Spion_ [~spion@unaffiliated/spion] has joined #lisp 00:20:40 cameronleake [~textual@124-171-72-nwork.dyn.iinet.net.au] has joined #lisp 00:21:27 -!- Spion [~spion@unaffiliated/spion] has quit [Ping timeout: 240 seconds] 00:22:56 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 00:23:04 -!- cameronleake is now known as mobydick 00:24:01 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 00:24:07 -!- BrandLeeJones [~BrandLeeJ@84.114.246.246] has quit [Quit: BrandLeeJones] 00:26:03 -!- HET2 [~diman@nat67.mia.three.co.uk] has quit [Ping timeout: 264 seconds] 00:29:06 rme_ [~rme@pool-70-104-127-159.chi.dsl-w.verizon.net] has joined #lisp 00:29:11 BrandLeeJones [~BrandLeeJ@84.114.246.246] has joined #lisp 00:30:14 -!- rme [rme@clozure-622946AD.chi.dsl-w.verizon.net] has quit [Ping timeout] 00:30:15 -!- rme_ is now known as rme 00:31:03 -!- rme [~rme@pool-70-105-87-115.chi.dsl-w.verizon.net] has quit [Ping timeout: 240 seconds] 00:31:03 -!- rme_ is now known as rme 00:35:22 hello 00:38:25 fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has joined #lisp 00:41:36 well, either I'm brilliant and I just figured out how to get somewhat O(1) on a regexp through a database of words or I reinvented an old idea... poorly. 00:42:25 <|3b|> precalculate all regexps that would match the wordlist, and store them in a hash? 00:42:40 something like that, yes :< 00:43:20 <|3b|> me wouldn't expect that to work without limiting the regexps a bit 00:43:47 split every word into all possible permutations (upto 5 letters in length) (eg. babylon -> b, a, b, y, l, o, n, ba, ab, by, yl, ... aby, byl, ylo, ...) 00:43:58 -!- BlankVerse [~pankajm@117.197.241.46] has quit [Ping timeout: 240 seconds] 00:44:12 ... Prefix tries? 00:44:14 then have each of those permutations hashed to a list, eg: aby -> (*aby, *aby*, aby*, aby) 00:44:20 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 00:44:28 Hrm. No, not prefix tries exactly... 00:44:28 <|3b|> though i guess if you don't include any regex in the hash that match a * or ? 0 times, you could remove those from the regexp before looking it up, and that might give you a possibly finite set 00:44:30 then have each of those values link to a list with the actual word in it 00:45:00 as far as I can tell, with maximum of 5 letters, that's 12.3 million possible combinations, each mapped to a list of 4 items, so ~50 M 00:45:12 most of those will of course never exist, like "xyyz" 00:45:28 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 00:47:42 once you get to such a list, it's O(n), but it'll be a very small list, probably, so it wouldn't outweigh the O(1) of the ... whatever I just did 00:48:00 not quite regexes, but sure, that's a decent way to index short strings. 00:48:33 well, i'm not going for full regex-ability, maybe just *, ?, and . 00:49:15 -!- xan_ [~xan@208.80.69.187] has quit [Ping timeout: 260 seconds] 00:50:24 -!- BrandLeeJones [~BrandLeeJ@84.114.246.246] has quit [Quit: BrandLeeJones] 00:50:36 -!- mobydick [~textual@124-171-72-nwork.dyn.iinet.net.au] has quit [Quit: Textual IRC Client: http://www.textualapp.com/] 00:51:10 -!- Geef [~Geef@249.Red-83-33-83.dynamicIP.rima-tde.net] has quit [Quit: Error: Out of Cheese] 00:52:49 mobydick [~textual@124-171-72-nwork.dyn.iinet.net.au] has joined #lisp 00:52:54 -!- Guthur [c743cb8c@gateway/web/freenode/ip.199.67.203.140] has quit [Ping timeout: 252 seconds] 00:54:14 -!- Fare [~Fare@ita4fw1.itasoftware.com] has quit [Quit: Leaving] 00:55:14 that doesn't let you match across words, does it? 00:56:12 wanderingelf [4817e03d@gateway/web/freenode/ip.72.23.224.61] has joined #lisp 00:58:23 and it does not let you put the star inside a word? 00:59:01 erm... no... though that'd be a matter of foo*bar => search foo* > search in results *bar 00:59:31 or rather "search foo*" "search *bar" -> union 00:59:34 no... drat 00:59:59 i have a question about binary trees in (common)lisp 01:00:11 why is the max depth of '(a b c d) 5? 01:00:55 oh sorry its '((a b c d)) and has max depth 5 01:01:40 -!- _mathrick is now known as mathrick 01:02:33 doc_who: depends on how one defines depth on conses. 01:13:39 rtoym [~chatzilla@user-0c99ag2.cable.mindspring.com] has joined #lisp 01:15:06 i think its representing the trees something like this (using the sample input/outputs given) - http://pastebin.com/6KtttmfV 01:16:21 rpr [maln@93-141-48-143.adsl.net.t-com.hr] has joined #lisp 01:16:47 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 01:16:58 wormphlegm [~wormphleg@c-98-234-186-226.hsd1.ca.comcast.net] has joined #lisp 01:17:22 i think i drew the second one wrong 01:17:55 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 01:19:54 -!- jikanter [~Adium@66.146.192.56] has quit [Quit: Leaving.] 01:20:53 what's up with this error? where is nil coming from? *** - MOD: NIL is not a real number 01:20:54 http://paste.lisp.org/display/121832 01:21:41 <|3b|> rpr: x is not initialized when digit is initialized, so has some arbitrary undefined value (which happens to look like NIL in this case) 01:22:08 <|3b|> oops, didn't realize you had X as a special, don't do that :/ 01:22:19 <|3b|> use *x* for DEFVAR/DEFPARAMETER variables 01:22:20 as a special? 01:22:46 -!- mobydick [~textual@124-171-72-nwork.dyn.iinet.net.au] has quit [Quit: Textual IRC Client: http://www.textualapp.com/] 01:22:59 <|3b|> it might actually be the same problem though, depending on how LOOP decides to initialize things 01:23:05 ah, it's not global in my actual code, I just used that as a an example case 01:23:26 <|3b|> variables defined by DEFVAR are 'special' variables in CL terms, which means they have dynamic scope instead of lexical scope like normal variables 01:24:04 <|3b|> it is still X though? 01:24:20 clhs 6.1.1.6 01:24:22 yes, (defun foo (x) ... ) 01:24:30 If you macroexpand the loop form, that might be enlightening 01:25:27 *|3b|* doesn't remember if the X from FOR X being visible during initialization of first pass of digit is conforming or not, relying on it seems confusing either way though 01:25:57 <|3b|> (or relying on it not doing so in this case) 01:26:25 -!- wanderingelf [4817e03d@gateway/web/freenode/ip.72.23.224.61] has quit [Ping timeout: 252 seconds] 01:26:29 <|3b|> for (x digit) = (multiple-value-list (floor x 10)) might be better 01:27:26 <|3b|> hmm, might still not work though :p 01:28:21 |3b|: how hard do you think it would be to adapt clws to conform to whatever Socket.IO requires for communication? 01:28:52 which, I think, is basically just extending it so it can handle some level of regular http request. 01:31:00 xan_ [~xan@205.158.58.41.ptr.us.xo.net] has joined #lisp 01:31:17 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 01:31:39 <|3b|> sykopomp: hmm, not sure 01:31:59 (as an aside, have you looked into getting it to work with CCL?) 01:32:05 <|3b|> not yet 01:32:13 tauntaun [~Crumpet@ool-44c72ce0.dyn.optonline.net] has joined #lisp 01:33:16 sbahra [~sbahra@pool-74-106-252-24.bltmmd.fios.verizon.net] has joined #lisp 01:33:56 -!- nowhereman [pierre@AStrasbourg-551-1-2-136.w92-141.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 01:34:45 nowhere_man [pierre@AStrasbourg-551-1-2-136.w92-141.abo.wanadoo.fr] has joined #lisp 01:38:11 Mococa [~Mococa@189.115.157.50] has joined #lisp 01:38:16 sonnym [~sonny@rrcs-184-74-137-167.nys.biz.rr.com] has joined #lisp 01:38:50 -!- tauntaun [~Crumpet@ool-44c72ce0.dyn.optonline.net] has quit [Quit: Ex-Chat] 01:43:37 cch [~user@2001:da8:8001:111:222:68ff:fe14:6de] has joined #lisp 01:44:16 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 01:51:33 -!- bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has quit [Quit: leaving] 01:57:35 bege [~bege@S0106001cf0520ea3.ed.shawcable.net] has joined #lisp 01:59:46 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 02:00:00 Adlai [~Adlai@93-172-186-77.bb.netvision.net.il] has joined #lisp 02:00:21 -!- Adlai [~Adlai@93-172-186-77.bb.netvision.net.il] has quit [Changing host] 02:00:21 Adlai [~Adlai@unaffiliated/adlai] has joined #lisp 02:00:22 -!- macrocat [~marmalade@142.177.208.217] has quit [Read error: Connection reset by peer] 02:03:09 tcleval [~funnyguy@186.213.54.126] has joined #lisp 02:03:57 hi. Is there any video lecture like "Structure and Interpretation of Computer Programs" focused on CL? 02:05:16 dmiles [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 02:07:14 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Ping timeout: 252 seconds] 02:07:22 -!- MoALTz [~no@92.18.70.84] has quit [Read error: Connection reset by peer] 02:07:24 -!- xan_ [~xan@205.158.58.41.ptr.us.xo.net] has quit [Quit: leaving] 02:07:33 MoALTz_ [~no@92.18.70.84] has joined #lisp 02:08:06 tcleval: why do you ask? 02:08:23 I mean, how could there be such a thing? 02:08:37 SICP is not about scheme, it's not focused on scheme! 02:10:24 is there a way to execute the string "(list 1 2 3)" ? 02:10:31 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 02:10:41 -!- huangho [~vitor@201-35-78-178.paemt700.dsl.brasiltelecom.net.br] has quit [Quit: Lost terminal] 02:10:46 cesarbp: (eval "(list 1 2 3)") 02:10:56 oh im so dumb 02:11:13 But it's rather uninteresting: strings are self evaluating. There's little point in executing a string. 02:11:35 (eval (read "(list 1 2 3)")) is probably what you actually want 02:11:41 Neither. 02:11:49 ah 02:11:50 Strings are no stream. 02:11:55 :( 02:11:56 yes they are 02:12:07 (streamp "(list 1 2 3)") --> NIL 02:12:23 oh wait i'm in the wrong channel 02:12:27 (eval (read-from-string 02:12:30 thought this was #emacs, in which that would be true 02:12:32 worked 02:12:42 cesarbp: yes, that could do something useful, but this is not what you asked... 02:12:50 :S 02:13:11 -!- madnificent [~madnifice@83.101.62.132] has quit [Ping timeout: 276 seconds] 02:13:15 jacob_ [~jacob@c-76-123-174-226.hsd1.ms.comcast.net] has joined #lisp 02:13:17 So you wanted to read from the string, and evaluate the form thus obtained. (eval (read-from-string string)) 02:13:41 When you know how to ask, you already know the answer! :-) 02:15:44 -!- Kenjin [~josesanto@bl21-92-71.dsl.telepac.pt] has quit [Quit: Computer has gone to sleep] 02:16:52 Kenjin [~josesanto@bl21-92-71.dsl.telepac.pt] has joined #lisp 02:17:38 -!- Bucciarati [~buccia@www.inscatolati.net] has quit [Ping timeout: 240 seconds] 02:20:51 -!- Mococa [~Mococa@189.115.157.50] has quit [Remote host closed the connection] 02:20:55 htierno [~htierno@108-100-16-190.fibertel.com.ar] has joined #lisp 02:21:39 yes 02:21:54 Bucciarati [~buccia@www.inscatolati.net] has joined #lisp 02:26:55 -!- urandom__ [~user@p548A7D53.dip.t-dialin.net] has quit [Remote host closed the connection] 02:31:14 -!- jacob_ [~jacob@c-76-123-174-226.hsd1.ms.comcast.net] has quit [Quit: leaving] 02:34:20 -!- nyef [~nyef@pool-64-222-131-96.man.east.myfairpoint.net] has quit [Quit: G'night all.] 02:35:34 dnolen [~davidnole@184.152.69.75] has joined #lisp 02:38:11 arquebus [~arquebus@201.160.3.219.cable.dyn.cableonline.com.mx] has joined #lisp 02:41:43 -!- gffa [~gffa@unaffiliated/gffa] has quit [Quit: sleep] 02:42:06 Given a X display, how can I know how many screens it has? 02:42:42 -!- arquebus [~arquebus@201.160.3.219.cable.dyn.cableonline.com.mx] has left #lisp 02:44:44 mjonsson [~mjonsson@38.109.95.149] has joined #lisp 02:48:00 -!- realitygrill [~realitygr@adsl-76-226-112-248.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 02:50:54 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 02:51:31 pearle [~pearle@blk-224-181-222.eastlink.ca] has joined #lisp 02:51:57 pjb: (length (xlib:display-roots display)) 02:53:18 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 02:55:34 anyone here playing in google's code jam? :p 02:55:44 drdo: doesn't seem to exist in libx11: Can't resolve foreign symbol "XDisplayRoots" 02:56:06 pjb: Are you using the C library? 02:56:13 Yes. 02:56:40 I've only used CLX 02:58:49 -!- morphism [~Nevermind@113.190.186.56] has quit [Read error: Connection reset by peer] 02:59:31 pjb: Looks like you want XScreenCount 03:00:53 el-maxo [~max@p5DE8FAB6.dip.t-dialin.net] has joined #lisp 03:01:45 Yes, that's it. How come I've been searching the doc, mans and includes of X for one hour before finding it? 03:01:49 Thanks. 03:01:56 I just found it in the manual 03:02:14 -!- el-maxo_ [~max@p5DE8F53F.dip.t-dialin.net] has quit [Read error: Operation timed out] 03:03:44 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 03:04:39 ianmcorvidae [~ianmcorvi@pool-96-233-183-125.spfdma.east.verizon.net] has joined #lisp 03:04:39 -!- ianmcorvidae [~ianmcorvi@pool-96-233-183-125.spfdma.east.verizon.net] has quit [Changing host] 03:04:39 ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has joined #lisp 03:05:06 SailorReality [~IceChat7@74.198.150.79] has joined #lisp 03:09:48 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 03:15:47 is there a C !number equivalent in standard lib? (foo 0) => 1 (func 1) => 0 03:15:51 -!- SailorReality [~IceChat7@74.198.150.79] has left #lisp 03:16:12 rpr: (not nil) -> T ; (not t) -> nil 03:16:57 I am working with numbers (1 or 0) not t/nil 03:17:08 This is LISP! 03:17:14 Otherwise, there's (mapcar 'lognot '(0 -1)) -> (-1 0) 03:17:40 (logxor x 1) 03:17:52 rpr: 1- does what you want too. 03:18:18 err, no, it doesn't work on 0 as expected. 03:18:42 logxor worked 03:18:58 but logxor takes two arguments. 03:19:06 You need (lambda (x) (- 1 x)) 03:19:35 But really, you should use -1 for true, (as in any sane processor), or nil and t. 03:19:50 -!- htierno [~htierno@108-100-16-190.fibertel.com.ar] has quit [Remote host closed the connection] 03:20:12 i am toggling paralel port bits, I need 1 or 0 03:20:51 btw would you use bit-vector when manipulating parallel port bits individually? or plain integer 03:21:17 You don't know how bit-vectors are mapped to memory... 03:21:19 I'd use an integer for that sort of thing. 03:21:30 integer unless you have very parallel ports. 03:22:41 I thought about converting int to bit-vector, and then bit-vector back to int, but I guess it's not worth it 03:22:48 why? 03:23:28 -!- carlocci [~nes@93.37.206.42] has quit [Quit: eventually IE will rot and die] 03:24:55 gor[e] [~svr@gw1.masterhost.ru] has joined #lisp 03:26:07 pjb sorry I my mistake.. is it about Lisp in general? 03:26:10 because (setf (bit bits n) 0) is probably nicer than (state ^ (1 << n)) equivalent in lisp 03:26:39 (setf (bit bits n) 1) 03:27:19 -!- bege [~bege@S0106001cf0520ea3.ed.shawcable.net] has quit [Ping timeout: 246 seconds] 03:27:30 (dpb 1 (byte 1 n) bits) 03:27:41 Or you can even write your own function! 03:28:00 Mococa [~Mococa@189.115.157.50] has joined #lisp 03:28:08 the native bit hacking vocabulary is much nicer in CL than in C, even. 03:28:27 I thought I'd have to use logxor etc 03:28:30 bege [~bege@S0106001cf0520ea3.ed.shawcable.net] has joined #lisp 03:28:31 or the obvious (defun bitset (bit integer) (logior (ash 1 bit) integer) 03:29:04 ldb provides general bitfield access. 03:29:48 and even if you did define such a function, I don't understand why that'd be an issue at all. 03:31:14 no issue, just thinkign I'd basically be rewriting the bit-vector functionality 03:33:12 There's not any really handy way to turn integers into bit-vectors and vice-versa, either. 03:35:24 ah, I assumed there was. I guess I'll just write bitset etc then 03:35:33 -!- wormphlegm [~wormphleg@c-98-234-186-226.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 03:36:38 wormphlegm [~wormphleg@c-98-234-186-226.hsd1.ca.comcast.net] has joined #lisp 03:39:58 -!- jweiss [~user@cpe-069-134-063-238.nc.res.rr.com] has quit [Ping timeout: 240 seconds] 03:46:42 -!- udzinari [~udzinari@ip-89-102-12-6.net.upcbroadband.cz] has quit [Quit: zzzzzzZZZZZZZZZzzzzzzz] 03:47:54 evening 03:48:50 enthymeme [~kraken@rrcs-64-183-86-53.west.biz.rr.com] has joined #lisp 03:49:51 -!- splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has quit [Ping timeout: 248 seconds] 03:50:51 -!- pearle [~pearle@blk-224-181-222.eastlink.ca] has quit [Quit: Leaving] 03:51:38 -!- nu11ptr [~nu11ptr@24-247-9-81.dhcp.aldl.mi.charter.com] has quit [Ping timeout: 250 seconds] 03:52:15 nu11ptr [~nu11ptr@adsl-99-119-128-240.dsl.klmzmi.sbcglobal.net] has joined #lisp 03:54:14 -!- nu11ptr [~nu11ptr@adsl-99-119-128-240.dsl.klmzmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 03:54:45 nu11ptr [~nu11ptr@adsl-99-119-128-240.dsl.klmzmi.sbcglobal.net] has joined #lisp 03:56:59 -!- dmiles [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 04:00:43 -!- jna [u473@gateway/web/irccloud.com/x-gfyffpgbmvortier] has quit [Quit: Connection reset by zombie] 04:01:48 -!- nu11ptr [~nu11ptr@adsl-99-119-128-240.dsl.klmzmi.sbcglobal.net] has quit [Ping timeout: 240 seconds] 04:02:32 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: nihgt] 04:05:19 splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has joined #lisp 04:07:47 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 04:12:59 superflit_ [~superflit@97-122-97-231.hlrn.qwest.net] has joined #lisp 04:15:11 -!- superflit [~superflit@67-41-202-224.hlrn.qwest.net] has quit [Ping timeout: 240 seconds] 04:17:20 realitygrill [~realitygr@adsl-76-226-112-248.dsl.sfldmi.sbcglobal.net] has joined #lisp 04:27:18 -!- superflit_ [~superflit@97-122-97-231.hlrn.qwest.net] has quit [Quit: superflit_] 04:27:37 superflit [~superflit@97-122-97-231.hlrn.qwest.net] has joined #lisp 04:27:43 -!- ltriant [~ltriant@124-148-187-139.dyn.iinet.net.au] has quit [Ping timeout: 248 seconds] 04:29:35 ltriant [~ltriant@124-148-187-139.dyn.iinet.net.au] has joined #lisp 04:30:19 enupten [~neptune@117.192.81.123] has joined #lisp 04:34:04 -!- Aiwass [~Aiwass4@79.115.164.7] has quit [Quit: Leaving] 04:35:07 littlebobby [~bob@unaffiliated/littlebobby] has joined #lisp 04:39:35 -!- hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has quit [Quit: Leaving...] 04:40:51 hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has joined #lisp 04:46:06 -!- sbahra [~sbahra@pool-74-106-252-24.bltmmd.fios.verizon.net] has quit [Quit: sbahra] 04:47:16 -!- srolls [~user@c-76-126-212-192.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 04:49:39 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Ping timeout: 260 seconds] 04:51:05 grr [~grr@76.73.16.26] has joined #lisp 04:51:06 hello 04:51:09 would it be possible to write a defun! macro that will create a function just like as defun, plus additional creating a destructive macro equivalent? say (defun! increment (x) (1+ x)) should create increment function and (defmacro increment! (x) `(setf ,x (increment ,x))) macro 04:51:37 -!- hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has quit [Quit: Leaving...] 04:52:08 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 04:53:01 hopefully that made sense 04:57:38 -!- pnq [~nick@ACA24138.ipt.aol.com] has quit [Ping timeout: 276 seconds] 04:58:02 grr: it's possible. But you can also use define-modify-macro. 04:59:13 -!- Mococa [~Mococa@189.115.157.50] has quit [Ping timeout: 252 seconds] 04:59:19 (define-modify-macro my-incf (n &optional (increment 1)) + "Increment n by the increment (1 by default).") 04:59:28 mrSpec [~Spec@89-75-35-251.dynamic.chello.pl] has joined #lisp 04:59:28 -!- mrSpec [~Spec@89-75-35-251.dynamic.chello.pl] has quit [Changing host] 04:59:28 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 04:59:46 dmiles [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 04:59:49 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 05:01:15 -!- gor[e] [~svr@gw1.masterhost.ru] has quit [Ping timeout: 260 seconds] 05:04:23 ah nice 05:05:55 -!- zenlunatic [~justin@c-68-48-40-231.hsd1.md.comcast.net] has quit [Ping timeout: 260 seconds] 05:07:49 zenlunatic [~justin@c-68-48-40-231.hsd1.md.comcast.net] has joined #lisp 05:09:41 superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has joined #lisp 05:09:47 -!- splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has quit [Ping timeout: 276 seconds] 05:12:23 -!- dmiles [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Ping timeout: 276 seconds] 05:15:24 dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has joined #lisp 05:16:41 -!- tcleval [~funnyguy@186.213.54.126] has quit [Ping timeout: 240 seconds] 05:16:44 -!- rme [rme@clozure-2F7D417A.chi.dsl-w.verizon.net] has quit [Quit: rme] 05:16:44 -!- rme [~rme@pool-70-104-127-159.chi.dsl-w.verizon.net] has quit [Quit: rme] 05:18:28 tcleval [~funnyguy@177.19.77.2] has joined #lisp 05:18:31 ok so I could easily use define-modify-macro to create my defun!, but just as a practice how could I make this work without it? this is my attempt: http://paste.lisp.org/display/121838 05:19:36 gaidal [~gaidal@113.109.132.55] has joined #lisp 05:19:40 Aiwass [~Aiwass4@79.115.164.7] has joined #lisp 05:20:56 Mococa [~Mococa@189.115.157.50] has joined #lisp 05:22:32 -!- tcleval [~funnyguy@177.19.77.2] has quit [Read error: Operation timed out] 05:22:40 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 05:22:42 -!- wormphlegm [~wormphleg@c-98-234-186-226.hsd1.ca.comcast.net] has quit [Quit: leaving] 05:22:48 not sure how to properly express a macro that creates another macro 05:24:52 -!- Aiwass [~Aiwass4@79.115.164.7] has quit [Ping timeout: 252 seconds] 05:25:37 tcleval [~funnyguy@177.19.79.105] has joined #lisp 05:33:28 fortitudeZDY [~fortitude@210.192.101.122] has joined #lisp 05:36:32 -!- fortitudeZDY [~fortitude@210.192.101.122] has quit [Client Quit] 05:36:53 fortitudeZDY [~fortitude@210.192.101.122] has joined #lisp 05:37:01 i think i got it. are there any potential any issues? it appears to work fine. http://paste.lisp.org/display/121839 05:38:50 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote host closed the connection] 05:41:56 mishoo_ [~mishoo@79.112.237.124] has joined #lisp 05:43:28 leo2007 [~leo@123.114.53.141] has joined #lisp 05:44:08 grr: there are a lot of issues. Try for example: (let ((i 0) (v (vector 1 2 3 4))) (increment (aref v (incf i))) v) 05:44:20 vs. (let ((i 0) (v (vector 1 2 3 4))) (incf (aref v (incf i))) v) 05:45:15 -!- markskilbeck [~mark@unaffiliated/markskilbeck] has quit [Ping timeout: 264 seconds] 05:45:50 You need to use define-modify-macro, or defsetf, or in more complex cases, define-setf-expander and get-setf-expansion. 05:46:12 -!- enupten [~neptune@117.192.81.123] has quit [Ping timeout: 240 seconds] 05:48:37 markskilbeck [~mark@unaffiliated/markskilbeck] has joined #lisp 05:48:39 Actually for what you want to do, you must use define-modify-macro. 05:50:29 -!- dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has quit [Read error: Connection reset by peer] 05:54:07 I am getting same issue iwth define-modify-macro, must be using it wrong 05:55:46 http://paste.lisp.org/display/121840 06:00:41 -!- Mococa [~Mococa@189.115.157.50] has quit [Read error: Connection reset by peer] 06:01:14 Mococa [~Mococa@189.115.157.50] has joined #lisp 06:02:59 -!- Mococa [~Mococa@189.115.157.50] has quit [Client Quit] 06:03:23 hankhero [~Adium@c-b21fc81b-74736162.cust.telenor.se] has joined #lisp 06:03:59 splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has joined #lisp 06:04:32 Davsebamse [~davse@gate.ipvision.dk] has joined #lisp 06:07:47 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 06:12:02 -!- mishoo_ [~mishoo@79.112.237.124] has quit [Read error: Operation timed out] 06:13:00 morning 06:13:39 enupten [~neptune@117.192.81.123] has joined #lisp 06:14:43 morning splittist 06:23:20 -!- ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has quit [Remote host closed the connection] 06:23:31 ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has joined #lisp 06:24:04 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Quit: Ex-Chat] 06:24:27 wedgeV [~wedge@cpe-24-193-121-20.nyc.res.rr.com] has joined #lisp 06:28:25 BountyX [~erhan@adsl-65-43-225-146.dsl.bcvloh.ameritech.net] has joined #lisp 06:29:41 -!- fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has quit [Ping timeout: 240 seconds] 06:45:44 -!- markskilbeck [~mark@unaffiliated/markskilbeck] has quit [Ping timeout: 260 seconds] 06:46:57 -!- SpitfireWP [~Spitfire@wikipedia/spitfire] has quit [Quit: I'll see you on the dark side of the moon] 06:48:03 markskilbeck [~mark@unaffiliated/markskilbeck] has joined #lisp 06:50:44 -!- leo2007 [~leo@123.114.53.141] has quit [Ping timeout: 276 seconds] 06:50:45 -!- hankhero [~Adium@c-b21fc81b-74736162.cust.telenor.se] has quit [Read error: Connection reset by peer] 06:52:36 -!- cesarbp [~chatzilla@189.139.98.69] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.17/20110420140830]] 06:53:59 xan_ [~xan@205.158.58.41.ptr.us.xo.net] has joined #lisp 06:55:08 -!- enthymeme [~kraken@rrcs-64-183-86-53.west.biz.rr.com] has quit [Quit: rcirc on GNU Emacs 23.1.1] 06:57:18 grr: your macro is called increment! not increment. 06:58:14 leo2007 [~leo@123.123.251.111] has joined #lisp 07:01:39 hankhero [~Adium@c213-89-201-154.bredband.comhem.se] has joined #lisp 07:01:46 haha yes 07:02:21 I figured it out 07:03:03 btw does it make sense that I'm using values instead of progn here: (defmacro ... (values (defun ...) (define-modify-macro )) ? 07:03:22 someone was criticizing me for that in another channel 07:03:24 msponge [~msponge@149-169-240-29.nat.asu.edu] has joined #lisp 07:05:41 -!- phadthai [mmondor@ginseng.pulsar-zone.net] has quit [Ping timeout: 240 seconds] 07:05:42 it made sense that defmacro declaration returns both function and macro it creates, instead of just a macro 07:06:38 phadthai [mmondor@ginseng.pulsar-zone.net] has joined #lisp 07:09:03 cesarbp [~chatzilla@189.139.98.69] has joined #lisp 07:09:07 -!- cesarbp [~chatzilla@189.139.98.69] has quit [Client Quit] 07:09:34 -!- leo2007 [~leo@123.123.251.111] has quit [Ping timeout: 258 seconds] 07:10:21 -!- wedgeV [~wedge@cpe-24-193-121-20.nyc.res.rr.com] has quit [Quit: wedgeV] 07:10:31 gemelen [~shelta@shpd-78-36-178-11.static.vologda.ru] has joined #lisp 07:11:45 -!- _iori_ [~iori@110-133-45-54.rev.home.ne.jp] has quit [Remote host closed the connection] 07:12:39 -!- Davsebamse [~davse@gate.ipvision.dk] has quit [Quit: Davsebamse] 07:21:05 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 276 seconds] 07:30:04 -!- superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has quit [Quit: superjudge] 07:38:27 homie [~levgue@xdsl-84-44-211-249.netcologne.de] has joined #lisp 07:40:47 -!- markskilbeck [~mark@unaffiliated/markskilbeck] has quit [Read error: Connection reset by peer] 07:41:04 markskilbeck [~mark@unaffiliated/markskilbeck] has joined #lisp 07:44:23 ch077179 [~urs@xdsl-188-155-1-133.adslplus.ch] has joined #lisp 07:45:53 insomnia1alt [~milan@port-92-204-82-7.dynamic.qsc.de] has joined #lisp 07:49:35 dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has joined #lisp 07:49:41 -!- insomniaSalt [~milan@port-92-204-24-18.dynamic.qsc.de] has quit [Ping timeout: 276 seconds] 07:52:53 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 07:52:54 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 07:53:38 pchrist [~spirit@gentoo/developer/pchrist] has joined #lisp 07:53:39 gaidal [~gaidal@113.109.132.55] has joined #lisp 07:54:59 -!- bege [~bege@S0106001cf0520ea3.ed.shawcable.net] has quit [Quit: leaving] 07:55:00 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 07:55:38 gaidal [~gaidal@113.109.132.55] has joined #lisp 07:57:42 simplechat [~simplecha@123-243-79-139.static.tpgi.com.au] has joined #lisp 07:57:42 -!- simplechat [~simplecha@123-243-79-139.static.tpgi.com.au] has quit [Changing host] 07:57:42 simplechat [~simplecha@unaffiliated/simplechat] has joined #lisp 08:02:47 -!- realitygrill [~realitygr@adsl-76-226-112-248.dsl.sfldmi.sbcglobal.net] has quit [Quit: realitygrill] 08:09:29 -!- xan_ [~xan@205.158.58.41.ptr.us.xo.net] has quit [Quit: leaving] 08:14:51 -!- cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has quit [Remote host closed the connection] 08:15:08 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #lisp 08:15:09 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 08:15:15 mishoo_ [~mishoo@79.112.237.124] has joined #lisp 08:15:25 gaidal [~gaidal@113.109.132.55] has joined #lisp 08:16:01 Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has joined #lisp 08:18:06 mishoo__ [~mishoo@79.112.237.124] has joined #lisp 08:18:14 -!- dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 08:21:19 -!- mishoo_ [~mishoo@79.112.237.124] has quit [Ping timeout: 246 seconds] 08:21:51 -!- enupten [~neptune@117.192.81.123] has quit [Ping timeout: 248 seconds] 08:26:02 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 08:28:32 araujo [~araujo@gentoo/developer/araujo] has joined #lisp 08:29:07 ceders [~ceders@adsl-69-231-133-36.dsl.irvnca.pacbell.net] has joined #lisp 08:29:08 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 08:29:32 gaidal [~gaidal@113.109.132.55] has joined #lisp 08:31:27 -!- daniel___ [~daniel@p5082B50E.dip.t-dialin.net] has quit [Ping timeout: 264 seconds] 08:33:49 longfin [~longfin@211.187.37.46] has joined #lisp 08:33:54 -!- elliottjohnson [~elliott@elliottjohnson.net] has quit [Ping timeout: 258 seconds] 08:34:29 elliottjohnson [~elliott@elliottjohnson.net] has joined #lisp 08:34:55 -!- mishoo__ [~mishoo@79.112.237.124] has quit [Remote host closed the connection] 08:35:05 mishoo__ [~mishoo@79.112.237.124] has joined #lisp 08:35:16 enupten [~neptune@117.192.82.211] has joined #lisp 08:35:41 jewel [~jewel@196-209-224-248.dynamic.isadsl.co.za] has joined #lisp 08:39:16 Aiwass [~Aiwass4@79.115.164.7] has joined #lisp 08:41:35 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 08:43:35 morphling [~stefan@gssn-4d002be1.pool.mediaWays.net] has joined #lisp 08:43:35 -!- amb007 [~a_bakic@97.17.97-84.rev.gaoland.net] has quit [Remote host closed the connection] 08:45:02 -!- BountyX [~erhan@adsl-65-43-225-146.dsl.bcvloh.ameritech.net] has quit [Remote host closed the connection] 08:46:20 amb007 [~a_bakic@97.17.97-84.rev.gaoland.net] has joined #lisp 08:50:04 HET2 [~diman@nat79.mia.three.co.uk] has joined #lisp 08:54:19 nefo [~nefo@2001:da8:200:900e:200:5efe:3b42:8f51] has joined #lisp 08:54:27 -!- nefo [~nefo@2001:da8:200:900e:200:5efe:3b42:8f51] has quit [Changing host] 08:54:27 nefo [~nefo@unaffiliated/nefo] has joined #lisp 08:55:35 Guthur [~Guthur@host86-142-199-74.range86-142.btcentralplus.com] has joined #lisp 08:55:51 -!- milanj [~milanj_@212-200-194-87.dynamic.isp.telekom.rs] has quit [Quit: Leaving] 08:56:43 -!- yesimnathan [~nathan@184-106-199-134.static.cloud-ips.com] has quit [Quit: leaving] 08:58:25 linuskevin [~chatzilla@60.210.106.219] has joined #lisp 08:59:44 -!- linuskevin [~chatzilla@60.210.106.219] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]] 09:00:59 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 09:01:34 -!- rasterba_ [~rasterbar@99-113-184-115.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 246 seconds] 09:01:58 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #lisp 09:01:59 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 09:02:34 -!- McMAGIC--Copy [debian-tor@gateway/tor-sasl/mcmagic--copy] has quit [Remote host closed the connection] 09:13:13 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 09:13:48 -!- cods [~cods@tuxee.net] has quit [Changing host] 09:13:48 cods [~cods@rsbac/developer/cods] has joined #lisp 09:14:16 attila_lendvai [~attila_le@catv-80-98-24-21.catv.broadband.hu] has joined #lisp 09:14:16 -!- attila_lendvai [~attila_le@catv-80-98-24-21.catv.broadband.hu] has quit [Changing host] 09:14:16 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 09:21:43 -!- Kenjin [~josesanto@bl21-92-71.dsl.telepac.pt] has quit [Quit: Computer has gone to sleep] 09:23:13 Kenjin [~josesanto@2.82.92.71] has joined #lisp 09:26:35 tcr [~tcr@host187.natpool.mwn.de] has joined #lisp 09:34:22 basho__ [~basho__@dslb-188-108-149-115.pools.arcor-ip.net] has joined #lisp 09:34:35 dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has joined #lisp 09:42:01 -!- peterhil [~peterhil@a91-152-142-2.elisa-laajakaista.fi] has quit [Read error: Connection reset by peer] 09:42:07 peterhil [~peterhil@a91-152-142-2.elisa-laajakaista.fi] has joined #lisp 09:43:45 McMAGIC--Copy [debian-tor@gateway/tor-sasl/mcmagic--copy] has joined #lisp 09:43:49 crink [~crink@unaffiliated/crink] has joined #lisp 09:47:27 mile [~ljagr82@46-64-43-104.zone15.bethere.co.uk] has joined #lisp 09:47:34 glidesurfer [~rosario@77-64-171-36.dynamic.primacom.net] has joined #lisp 09:49:46 Vinnipeg [~sa1vador@pppoe-88-147-185-163.san.ru] has joined #lisp 09:53:46 -!- MoALTz_ [~no@92.18.70.84] has quit [Quit: Leaving] 09:54:12 MoALTz [~no@92.18.70.84] has joined #lisp 09:54:58 -!- Vinnipeg [~sa1vador@pppoe-88-147-185-163.san.ru] has quit [Quit: Konversation terminated!] 10:04:11 leo2007 [~leo@2402:f000:5:2901:225:4bff:fea9:b9e4] has joined #lisp 10:19:41 Xach [~xach@pdpc/supporter/professional/xach] has joined #lisp 10:21:21 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 10:21:32 pavelludiq [~quassel@87.246.58.193] has joined #lisp 10:23:59 dRbiG [drbig@unhallowed.pl] has joined #lisp 10:25:08 -!- pavelludiq [~quassel@87.246.58.193] has quit [Client Quit] 10:25:25 pavelludiq [~quassel@87.246.58.193] has joined #lisp 10:27:56 -!- Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has quit [Read error: Operation timed out] 10:30:03 nefo_ [~nefo@2001:da8:200:900e:200:5efe:3b42:8f51] has joined #lisp 10:30:08 -!- longfin [~longfin@211.187.37.46] has quit [Remote host closed the connection] 10:30:24 -!- nefo_ [~nefo@2001:da8:200:900e:200:5efe:3b42:8f51] has quit [Client Quit] 10:30:25 longfin [~longfin@211.187.37.46] has joined #lisp 10:31:07 -!- glidesurfer [~rosario@77-64-171-36.dynamic.primacom.net] has quit [Quit: Leaving.] 10:35:11 -!- Landr [~user@78-21-55-79.access.telenet.be] has quit [Ping timeout: 240 seconds] 10:36:11 -!- ceders [~ceders@adsl-69-231-133-36.dsl.irvnca.pacbell.net] has quit [Ping timeout: 240 seconds] 10:37:24 Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has joined #lisp 10:39:35 -!- Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has quit [Read error: Connection reset by peer] 10:41:45 -!- enupten [~neptune@117.192.82.211] has quit [Ping timeout: 240 seconds] 10:41:46 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 10:42:10 gaidal [~gaidal@113.109.132.55] has joined #lisp 10:45:03 Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has joined #lisp 10:45:28 naeg [~naeg@194.208.239.170] has joined #lisp 10:49:57 Landr [~user@78-22-147-250.access.telenet.be] has joined #lisp 10:50:57 postrediori [~Miranda@77-52-88-210.dialup.umc.net.ua] has joined #lisp 10:51:17 -!- Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has quit [Read error: Operation timed out] 10:57:54 -!- postrediori [~Miranda@77-52-88-210.dialup.umc.net.ua] has left #lisp 11:00:03 Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has joined #lisp 11:06:16 -!- HET2 [~diman@nat79.mia.three.co.uk] has quit [Read error: Connection reset by peer] 11:07:19 madnificent [~madnifice@83.101.62.132] has joined #lisp 11:09:29 -!- jmbr [~jmbr@157.33.220.87.dynamic.jazztel.es] has quit [Read error: Operation timed out] 11:11:13 hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has joined #lisp 11:11:14 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 11:11:36 gaidal [~gaidal@113.109.132.55] has joined #lisp 11:14:40 mrSpec [~Spec@89-75-33-254.dynamic.chello.pl] has joined #lisp 11:14:40 -!- mrSpec [~Spec@89-75-33-254.dynamic.chello.pl] has quit [Changing host] 11:14:40 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 11:15:46 apexi200sx [~apexi200s@cpc2-salf4-0-0-cust701.10-2.cable.virginmedia.com] has joined #lisp 11:16:22 Guthur_ [~Guthur@host86-152-186-55.range86-152.btcentralplus.com] has joined #lisp 11:17:31 superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has joined #lisp 11:19:06 -!- markskilbeck [~mark@unaffiliated/markskilbeck] has quit [Read error: Connection reset by peer] 11:19:20 -!- Guthur [~Guthur@host86-142-199-74.range86-142.btcentralplus.com] has quit [Ping timeout: 240 seconds] 11:19:22 markskilbeck [~mark@host81-152-166-40.range81-152.btcentralplus.com] has joined #lisp 11:19:27 -!- markskilbeck [~mark@host81-152-166-40.range81-152.btcentralplus.com] has quit [Changing host] 11:19:27 markskilbeck [~mark@unaffiliated/markskilbeck] has joined #lisp 11:20:46 Guthur [~Guthur@host86-138-192-116.range86-138.btcentralplus.com] has joined #lisp 11:21:44 -!- Guthur_ [~Guthur@host86-152-186-55.range86-152.btcentralplus.com] has quit [Ping timeout: 240 seconds] 11:22:37 -!- superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has quit [Quit: superjudge] 11:27:45 -!- Guthur [~Guthur@host86-138-192-116.range86-138.btcentralplus.com] has quit [Ping timeout: 252 seconds] 11:27:45 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 11:28:12 gaidal [~gaidal@113.109.132.55] has joined #lisp 11:36:11 -!- Zephyrus [~emanuele@unaffiliated/zephyrus] has quit [Read error: Operation timed out] 11:36:47 -!- markskilbeck [~mark@unaffiliated/markskilbeck] has quit [Read error: Connection reset by peer] 11:37:06 markskilbeck [~mark@host81-152-166-40.range81-152.btcentralplus.com] has joined #lisp 11:37:06 -!- markskilbeck [~mark@host81-152-166-40.range81-152.btcentralplus.com] has quit [Changing host] 11:37:06 markskilbeck [~mark@unaffiliated/markskilbeck] has joined #lisp 11:43:17 Guthur [~Guthur@host86-152-186-144.range86-152.btcentralplus.com] has joined #lisp 11:46:15 Vinnipeg [~sa1vador@pppoe-88-147-185-163.san.ru] has joined #lisp 11:47:43 Zephyrus [~emanuele@unaffiliated/zephyrus] has joined #lisp 11:50:05 -!- naeg [~naeg@194.208.239.170] has quit [Quit: WeeChat 0.3.4] 11:50:10 -!- Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 260 seconds] 11:51:41 Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has joined #lisp 11:52:20 lifeng [~lifeng@bb116-15-185-57.singnet.com.sg] has joined #lisp 11:54:33 -!- grr [~grr@76.73.16.26] has quit [Quit: CGI:IRC (Ping timeout)] 11:55:28 prljavi_hari [~h@dh207-29-126.xnet.hr] has joined #lisp 11:55:46 hi,i need a light weight command-line parser,i have found optparser,unix-options.which is better?thanks 11:55:57 -!- dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has quit [Read error: Operation timed out] 11:57:01 i just find the the lines in optparser is fewer:) 11:57:49 -!- Landr [~user@78-22-147-250.access.telenet.be] has quit [Remote host closed the connection] 11:57:51 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 11:58:15 gaidal [~gaidal@113.109.132.55] has joined #lisp 11:58:25 How do I remove numbers in a list which are less than some number ? Can I do it with remove-if or should I write a "filter" macro ? 11:59:19 nha [~prefect@250-194.105-92.cust.bluewin.ch] has joined #lisp 11:59:36 prljavi_hari: function remove-if 12:00:00 prljavi_hari: http://www.lispworks.com/documentation/HyperSpec/Body/f_rm_rm.htm 12:01:29 How do I write a predicate, less than 5, for example ? 12:01:31 prljavi_hari: (remove-if (lambda (x)(< x 42)) '( 1 41 42 43 100)) 12:01:35 prljavi_hari: (remove-if (lambda (x)(< x 5)) '( 1 41 42 43 100)) 12:03:37 I know that with lambda, I would like to write: remove-if (y 5) a-list. i guess I need a macro for that 12:04:29 remove-if (< 5) a-list, sorry 12:05:14 prljavi_hari: that sounds like an ill-advised thing to do. what is your motivation for it? 12:05:34 yeah.maybe,but i'm a cl learner:)don't know much about that 12:07:19 I want to make quicksort, short like in Haskell 12:08:34 prljavi_hari: if you will only use the macro in one place, you will not make the code any shorter 12:09:02 prljavi_hari: in any case, writing haskell in lisp is not idiomatic, and is not likely to be readable 12:10:26 but Haskell already has a filter function so the code would be shorter 12:10:57 Yuuhi [benni@p5483A9B4.dip.t-dialin.net] has joined #lisp 12:11:19 galumph [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has joined #lisp 12:11:58 -!- galumph [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has quit [Max SendQ exceeded] 12:12:30 galumph [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has joined #lisp 12:13:26 -!- galumph [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has quit [Max SendQ exceeded] 12:13:38 (remove-if (curry #'< 5) a-list) ; having :used alexandria or similar 12:14:05 ok 12:16:26 carlocci [~nes@93.37.216.148] has joined #lisp 12:18:26 Spion__ [~spion@79.125.200.150] has joined #lisp 12:20:37 -!- Vinnipeg [~sa1vador@pppoe-88-147-185-163.san.ru] has quit [Quit: Konversation terminated!] 12:21:40 -!- Spion_ [~spion@unaffiliated/spion] has quit [Ping timeout: 240 seconds] 12:24:11 urandom__ [~user@p548A2D19.dip.t-dialin.net] has joined #lisp 12:24:58 Bronsa [~brace@host60-176-dynamic.244-95-r.retail.telecomitalia.it] has joined #lisp 12:27:55 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 12:30:08 -!- prljavi_hari [~h@dh207-29-126.xnet.hr] has quit [Quit: Leaving.] 12:31:23 pnq [~nick@AC812613.ipt.aol.com] has joined #lisp 12:32:47 glidesurfer [~rosario@77-64-171-36.dynamic.primacom.net] has joined #lisp 12:36:28 -!- hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has quit [Quit: Leaving...] 12:39:57 -!- markskilbeck [~mark@unaffiliated/markskilbeck] has quit [Ping timeout: 246 seconds] 12:42:01 hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has joined #lisp 12:42:01 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 12:42:46 gaidal [~gaidal@113.109.132.55] has joined #lisp 12:42:52 markskilbeck [~mark@unaffiliated/markskilbeck] has joined #lisp 12:44:27 -!- hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has quit [Client Quit] 12:55:31 -!- tcleval [~funnyguy@177.19.79.105] has quit [Ping timeout: 252 seconds] 12:56:50 Aiwass2 [~Aiwass4@79.115.164.7] has joined #lisp 12:57:59 -!- crink [~crink@unaffiliated/crink] has left #lisp 12:59:16 -!- Aiwass [~Aiwass4@79.115.164.7] has quit [Ping timeout: 240 seconds] 12:59:31 superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has joined #lisp 13:00:05 -!- fortitudeZDY [~fortitude@210.192.101.122] has quit [Quit: Lost terminal] 13:00:45 gigamonkey [~user@adsl-76-254-18-206.dsl.pltn13.sbcglobal.net] has joined #lisp 13:13:05 udzinari [~udzinari@ip-89-102-12-6.net.upcbroadband.cz] has joined #lisp 13:14:01 dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has joined #lisp 13:18:51 -!- Beetny [~Beetny@ppp118-208-150-156.lns20.bne1.internode.on.net] has quit [Ping timeout: 264 seconds] 13:22:11 -!- c|mell [~cmell@188-220-238-74.zone11.bethere.co.uk] has quit [Remote host closed the connection] 13:26:55 fortitudeZDY [~fortitude@210.192.101.122] has joined #lisp 13:27:28 gffa [~gffa@unaffiliated/gffa] has joined #lisp 13:29:11 Levenson [~Levenson@95.59.93.86] has joined #lisp 13:29:38 -!- Kenjin [~josesanto@2.82.92.71] has quit [Quit: Computer has gone to sleep] 13:30:49 Adlai` [~adlai@93-172-150-46.bb.netvision.net.il] has joined #lisp 13:33:05 -!- Adlai [~Adlai@unaffiliated/adlai] has quit [Ping timeout: 276 seconds] 13:36:52 -!- Spion__ [~spion@79.125.200.150] has quit [Ping timeout: 240 seconds] 13:38:15 -!- doc_who [~doc_who@138-78-106-96.resnet.smcm.edu] has quit [Read error: Connection reset by peer] 13:38:28 rvirding [~chatzilla@h134n5c1o1034.bredband.skanova.com] has joined #lisp 13:42:31 pearle [~pearle@blk-224-181-222.eastlink.ca] has joined #lisp 13:52:38 -!- Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 13:59:15 -!- jewel [~jewel@196-209-224-248.dynamic.isadsl.co.za] has quit [Ping timeout: 240 seconds] 14:02:54 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #lisp 14:05:21 Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has joined #lisp 14:05:29 -!- mile [~ljagr82@46-64-43-104.zone15.bethere.co.uk] has quit [Ping timeout: 258 seconds] 14:05:55 wol [~wol@67.174.222.215] has joined #lisp 14:07:09 hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has joined #lisp 14:08:38 simonh [~simonh@92.28.95.82] has joined #lisp 14:19:45 Spion [~spion@unaffiliated/spion] has joined #lisp 14:20:15 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Ping timeout: 248 seconds] 14:21:56 HET2 [~diman@nat79.mia.three.co.uk] has joined #lisp 14:22:22 slyrus__ [~chatzilla@adsl-76-254-45-145.dsl.pltn13.sbcglobal.net] has joined #lisp 14:22:49 -!- apexi200sx [~apexi200s@cpc2-salf4-0-0-cust701.10-2.cable.virginmedia.com] has left #lisp 14:28:41 -!- pnq [~nick@AC812613.ipt.aol.com] has quit [Ping timeout: 240 seconds] 14:29:05 -!- rvirding [~chatzilla@h134n5c1o1034.bredband.skanova.com] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]] 14:30:37 Kenjin [~josesanto@bl19-247-143.dsl.telepac.pt] has joined #lisp 14:31:52 -!- fortitudeZDY [~fortitude@210.192.101.122] has quit [Quit: leaving] 14:35:06 -!- Yuuhi [benni@p5483A9B4.dip.t-dialin.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:41:53 -!- homie [~levgue@xdsl-84-44-211-249.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:42:59 -!- Aiwass2 [~Aiwass4@79.115.164.7] has quit [Quit: Leaving] 14:44:12 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 14:45:03 homie [~levgue@xdsl-84-44-211-249.netcologne.de] has joined #lisp 14:47:08 tauntaun [~Crumpet@ool-44c72ce0.dyn.optonline.net] has joined #lisp 14:52:29 snearch [~snearch@f053004157.adsl.alicedsl.de] has joined #lisp 14:55:07 Yuuhi [benni@p5483A9B4.dip.t-dialin.net] has joined #lisp 14:55:46 sbahra [~sbahra@pool-74-106-252-24.bltmmd.fios.verizon.net] has joined #lisp 14:55:47 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 14:56:18 -!- glidesurfer [~rosario@77-64-171-36.dynamic.primacom.net] has quit [Quit: Leaving.] 14:56:23 gaidal [~gaidal@113.109.132.55] has joined #lisp 15:03:27 -!- Pepe_ [~ppjet@bouah.net] has quit [Ping timeout: 248 seconds] 15:13:50 -!- simonh [~simonh@92.28.95.82] has quit [Ping timeout: 276 seconds] 15:19:17 -!- homie [~levgue@xdsl-84-44-211-249.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:21:01 pnq [~nick@ACA2CD4B.ipt.aol.com] has joined #lisp 15:22:33 -!- Adlai` [~adlai@93-172-150-46.bb.netvision.net.il] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:22:38 amirhoshangi [~amir@95.38.52.69] has joined #lisp 15:22:51 Adlai [~adlai@unaffiliated/adlai] has joined #lisp 15:24:26 bgs100 [~ian@h50.105.187.173.dynamic.ip.windstream.net] has joined #lisp 15:24:27 -!- bgs100 [~ian@h50.105.187.173.dynamic.ip.windstream.net] has quit [Changing host] 15:24:27 bgs100 [~ian@unaffiliated/bgs100] has joined #lisp 15:24:37 dnolen [~davidnole@184.152.69.75] has joined #lisp 15:25:36 hi guys, 15:25:59 -!- cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has quit [Ping timeout: 258 seconds] 15:26:00 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 15:26:26 gaidal [~gaidal@113.109.132.55] has joined #lisp 15:26:40 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #lisp 15:28:14 -!- amirhoshangi [~amir@95.38.52.69] has left #lisp 15:28:19 bye 15:29:08 hsrt [maln@93-138-171-223.adsl.net.t-com.hr] has joined #lisp 15:29:13 Night-Hacks [~amir@95.38.52.69] has joined #lisp 15:29:58 -!- galdor [galdor@def92-10-88-162-192-107.fbx.proxad.net] has quit [Quit: ZNC - http://znc.sourceforge.net] 15:30:09 -!- hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has quit [Quit: Leaving...] 15:31:05 hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has joined #lisp 15:32:27 -!- rpr [maln@93-141-48-143.adsl.net.t-com.hr] has quit [Ping timeout: 260 seconds] 15:34:23 elkng [~elkng@93.88.223.111] has joined #lisp 15:34:29 hi. im doing lisp excersises near some month's, i want start coding in a real small project (for fun), any idea ? 15:34:45 Night-Hacks: what scratches your itch? 15:35:28 code a MMORPG with realtime physics 15:35:50 bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has joined #lisp 15:35:52 Night-Hacks: yes, implement whatever program you always wanted to write. The program why you became a programmer. 15:35:57 pkhuong: anything ! 15:36:31 write an image file format converter 15:36:44 easye_ [~easye@46.74.97.28] has joined #lisp 15:37:03 those are some of the first C program I wrote when I was learning that language 15:37:26 has some good challenges 15:37:29 I know a course schedule packer would have been useful when I was an undergrad. "I want to take these courses and their pre-requisites before winter XX, and leave my friday afternoon and monday morning free, and ideally no class before 10 AM" ;) 15:38:09 it's amazing just how early 8AM is when you're in university ;) 15:38:35 infact i think involving in a real project with existing source codes allows to see others code. 15:38:58 thats why i think joining is better than starting new one 15:39:06 that usually comes naturally by using libraries 15:39:24 -!- Kenjin [~josesanto@bl19-247-143.dsl.telepac.pt] has quit [Quit: Computer has gone to sleep] 15:39:33 use libraries, discover that some things could exist/be improved, submit a patch, iteratively improve it, and *bam* you're in the contributors' list. 15:40:38 yeah, but dont know about where lisp projects live ! they are so rare i think 15:40:58 quicklisp knows. 15:41:00 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 15:41:26 gaidal [~gaidal@113.109.132.55] has joined #lisp 15:41:43 you mean : http://www.quicklisp.org/ 15:41:46 ? 15:41:56 right. 15:42:23 -!- ineiros_ [~itniemin@cs27065016.pp.htv.fi] has quit [Remote host closed the connection] 15:42:35 I'm not sure how I got along before quicklisp. 15:42:42 I mean, I did, but it wasn't as much fun. 15:43:29 tnx ill check it 15:43:42 -!- am0c [~am0c@124.49.51.197] has quit [Ping timeout: 246 seconds] 15:49:55 fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has joined #lisp 15:49:56 -!- easye_ [~easye@46.74.97.28] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 15:50:31 greaver [~jo@h15a2.n2.ips.mtn.co.ug] has joined #lisp 15:53:15 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 15:54:22 -!- lifeng [~lifeng@bb116-15-185-57.singnet.com.sg] has quit [Quit: Ex-Chat] 15:54:23 -!- gaidal [~gaidal@113.109.132.55] has quit [Read error: Connection reset by peer] 15:54:49 gaidal [~gaidal@113.109.132.55] has joined #lisp 15:55:37 -!- gaidal [~gaidal@113.109.132.55] has quit [Client Quit] 15:56:17 -!- Night-Hacks [~amir@95.38.52.69] has left #lisp 15:56:51 am0c [~am0c@124.49.51.197] has joined #lisp 15:58:33 Athas [~athas@shop3.diku.dk] has joined #lisp 15:58:44 BlankVerse [~pankajm@117.197.254.177] has joined #lisp 16:02:43 madalu [~user@unaffiliated/madalu] has joined #lisp 16:03:22 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 16:04:58 -!- hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has quit [Quit: Leaving...] 16:06:22 -!- Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 16:06:24 -!- ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has quit [Remote host closed the connection] 16:08:31 Kenjin [~josesanto@bl19-247-143.dsl.telepac.pt] has joined #lisp 16:08:55 realitygrill [~realitygr@adsl-76-226-112-248.dsl.sfldmi.sbcglobal.net] has joined #lisp 16:09:58 -!- HET2 [~diman@nat79.mia.three.co.uk] has quit [Read error: Connection reset by peer] 16:12:02 -!- rdd [~rdd@c83-250-52-16.bredband.comhem.se] has quit [] 16:12:04 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 16:14:48 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 16:15:08 -!- Lectus [~fred@189.104.240.201] has quit [Ping timeout: 240 seconds] 16:22:05 -!- pnq [~nick@ACA2CD4B.ipt.aol.com] has quit [Ping timeout: 276 seconds] 16:22:43 dnolen [~davidnole@pool-68-161-93-24.ny325.east.verizon.net] has joined #lisp 16:25:42 galdor [galdor@def92-10-88-162-192-107.fbx.proxad.net] has joined #lisp 16:25:42 homie [~levgue@xdsl-84-44-211-249.netcologne.de] has joined #lisp 16:25:47 -!- lonstein [lonstein@ohno.mrbill.net] has quit [Ping timeout: 276 seconds] 16:25:50 -!- dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has quit [Read error: No route to host] 16:28:03 sykopomp` [~sykopomp@crlspr-24.233.190.221.myacc.net] has joined #lisp 16:28:06 dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has joined #lisp 16:28:30 spiaggia` [~user@113.161.72.89] has joined #lisp 16:29:00 -!- sykopomp` [~sykopomp@crlspr-24.233.190.221.myacc.net] has quit [Changing host] 16:29:00 sykopomp` [~sykopomp@unaffiliated/sykopomp] has joined #lisp 16:29:07 -!- sykopomp [~sykopomp@crlspr-24.233.190.221.myacc.net] has quit [Disconnected by services] 16:29:14 -!- sykopomp` is now known as sykopomp 16:30:15 -!- cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has quit [Ping timeout: 252 seconds] 16:30:33 billitch [~billitch@78.251.54.103] has joined #lisp 16:31:08 -!- nefo [~nefo@unaffiliated/nefo] has quit [Remote host closed the connection] 16:31:13 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #lisp 16:32:30 -!- spiaggia [~user@113.161.72.9] has quit [Ping timeout: 260 seconds] 16:32:55 -!- BlankVerse [~pankajm@117.197.254.177] has quit [Quit: leaving] 16:34:20 -!- rtoym [~chatzilla@user-0c99ag2.cable.mindspring.com] has quit [Ping timeout: 240 seconds] 16:38:25 -!- longfin [~longfin@211.187.37.46] has quit [Remote host closed the connection] 16:40:33 lithp 16:40:57 -!- realitygrill [~realitygr@adsl-76-226-112-248.dsl.sfldmi.sbcglobal.net] has quit [Read error: Connection reset by peer] 16:43:33 realitygrill [~realitygr@adsl-76-226-102-230.dsl.sfldmi.sbcglobal.net] has joined #lisp 16:43:42 mrSpec [~Spec@89-75-35-251.dynamic.chello.pl] has joined #lisp 16:43:42 -!- mrSpec [~Spec@89-75-35-251.dynamic.chello.pl] has quit [Changing host] 16:43:42 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 16:44:20 -!- slyrus__ [~chatzilla@adsl-76-254-45-145.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 240 seconds] 16:45:43 Ppjet6 [~ppjet@tri59-1-195-36-251-195.dsl.club-internet.fr] has joined #lisp 16:45:50 hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has joined #lisp 16:46:18 -!- Ppjet6 [~ppjet@tri59-1-195-36-251-195.dsl.club-internet.fr] has left #lisp 16:46:52 elkng: I swear its the first time that has been said here. You're very original and should think of doing stand up comedy. 16:47:01 lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has joined #lisp 16:49:08 iori [~iori@EM114-48-28-118.pool.e-mobile.ne.jp] has joined #lisp 16:50:03 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 252 seconds] 16:50:20 -!- insomnia1alt is now known as insomniaSalt 16:52:21 -!- cch [~user@2001:da8:8001:111:222:68ff:fe14:6de] has quit [Read error: Operation timed out] 16:52:25 rdd [~rdd@c83-250-52-16.bredband.comhem.se] has joined #lisp 16:52:57 pnq [~nick@ACA29865.ipt.aol.com] has joined #lisp 16:53:49 Kevara [~Kedavra@49.145.189.72.cfl.res.rr.com] has joined #lisp 16:53:49 -!- Kevara [~Kedavra@49.145.189.72.cfl.res.rr.com] has quit [Changing host] 16:53:49 Kevara [~Kedavra@unaffiliated/kevara] has joined #lisp 16:55:13 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 16:55:41 rtoym [~chatzilla@user-0c99ag2.cable.mindspring.com] has joined #lisp 16:55:51 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 17:06:09 REPLeffect [~REPLeffec@69.54.115.254] has joined #lisp 17:07:32 -!- realitygrill [~realitygr@adsl-76-226-102-230.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 240 seconds] 17:08:38 realitygrill [~realitygr@adsl-76-232-150-230.dsl.sfldmi.sbcglobal.net] has joined #lisp 17:09:45 -!- Athas [~athas@shop3.diku.dk] has quit [Remote host closed the connection] 17:10:29 -!- lanthan [~ze@dslb-088-074-138-145.pools.arcor-ip.net] has quit [Quit: Ex-Chat] 17:11:20 -!- am0c [~am0c@124.49.51.197] has quit [Remote host closed the connection] 17:15:33 dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has joined #lisp 17:16:57 -!- morphling [~stefan@gssn-4d002be1.pool.mediaWays.net] has quit [Remote host closed the connection] 17:17:10 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 17:17:15 -!- greaver [~jo@h15a2.n2.ips.mtn.co.ug] has quit [Remote host closed the connection] 17:17:48 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 17:20:23 simonh [~simonh@92.28.85.140] has joined #lisp 17:20:25 ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has joined #lisp 17:22:41 -!- cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has quit [Ping timeout: 260 seconds] 17:23:08 -!- hargettp [~hargettp@pool-71-184-190-145.bstnma.east.verizon.net] has quit [Ping timeout: 240 seconds] 17:23:11 -!- fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has quit [Ping timeout: 240 seconds] 17:23:27 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #lisp 17:23:47 fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has joined #lisp 17:24:28 BlankVerse [~pankajm@117.197.254.177] has joined #lisp 17:25:54 -!- Kevara [~Kedavra@unaffiliated/kevara] has left #lisp 17:28:33 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 252 seconds] 17:28:42 -!- pnq [~nick@ACA29865.ipt.aol.com] has quit [Ping timeout: 246 seconds] 17:31:50 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #lisp 17:34:04 -!- simonh [~simonh@92.28.85.140] has left #lisp 17:36:25 mrwegz [~mrwegz@41.68.9.104] has joined #lisp 17:36:41 -!- billitch [~billitch@78.251.54.103] has quit [Ping timeout: 260 seconds] 17:36:43 hi ,i am new to lisp and i am stuck at a part of code 17:36:52 mrwegz: how so? 17:36:53 working on it for 4 hours now anyone can help me plz 17:37:12 am trying to take a sentence and check if its grammaticaly correct 17:37:26 from a defined list of lists 17:37:39 -!- juniorroy [~juniorroy@212.36.228.103] has quit [Ping timeout: 240 seconds] 17:37:42 mrwegz: you do know that's probably an AI complete problem, right? 17:37:47 billitch [~billitch@78.251.57.54] has joined #lisp 17:37:52 yes 17:38:12 Okay. 17:38:42 So what have you got to far? (You can paste to http://paste.lisp.org/new/lisp) 17:39:12 -!- fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has quit [Ping timeout: 240 seconds] 17:41:58 -!- mrwegz [~mrwegz@41.68.9.104] has quit [Ping timeout: 240 seconds] 17:42:49 REPLeffect [~REPLeffec@69.54.115.254] has joined #lisp 17:44:40 fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has joined #lisp 17:47:13 codelurker [~codelurke@66.71.230.192] has joined #lisp 17:50:19 -!- Bronsa [~brace@host60-176-dynamic.244-95-r.retail.telecomitalia.it] has quit [Quit: leaving] 17:50:30 slyrus__ [~chatzilla@adsl-71-146-156-81.dsl.pltn13.sbcglobal.net] has joined #lisp 17:51:10 morphism [~Nevermind@113.190.186.56] has joined #lisp 17:51:29 -!- Kenjin [~josesanto@bl19-247-143.dsl.telepac.pt] has quit [Quit: Computer has gone to sleep] 17:52:05 Bronsa [~brace@host243-175-dynamic.7-79-r.retail.telecomitalia.it] has joined #lisp 17:52:41 -!- fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has quit [Ping timeout: 240 seconds] 17:53:22 aerique, you there ? 17:57:47 SpitfireWP [~Spitfire@wikipedia/spitfire] has joined #lisp 17:58:18 BoWozZ [~BackTrack@180.249.188.243] has joined #lisp 18:04:28 -!- BoWozZ [~BackTrack@180.249.188.243] has quit [] 18:05:08 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 18:08:52 fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has joined #lisp 18:09:45 -!- lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has quit [Remote host closed the connection] 18:12:40 mrwegz: natural langauge grammars are discussed in PAIP with an example using simplified english, iirc. 18:12:48 pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has joined #lisp 18:14:30 "JavaScript creator (Brendan Eich) talks about the future - He seems to be a worried about the way committees define languages and wants ordinary JavaScript programmers to get involved." 18:15:05 How silly! If he had implemented a homoiconic programming language, he could have let ordinary JavaScript programmers write macros to extend it and make it evolve... 18:18:49 HET2 [~diman@nat79.mia.three.co.uk] has joined #lisp 18:24:27 every time I find myself writing javascript, I find myself wishing that it had been left as a scheme. 18:25:12 -!- HET2 [~diman@nat79.mia.three.co.uk] has quit [Read error: Connection reset by peer] 18:26:21 pnq [~nick@AC8114EB.ipt.aol.com] has joined #lisp 18:26:46 ssacc [~sa@188-195-201-195-dynip.superkabel.de] has joined #lisp 18:27:32 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Remote host closed the connection] 18:27:38 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 18:27:44 nixfreak [~nixfreak@mn-10k-dhcp1-3174.dsl.hickorytech.net] has joined #lisp 18:28:16 are there any RIA frameworks for lisp like http://pyjs.org ? 18:28:53 well, there's parenscript 18:28:59 which is a listp->js compiler 18:29:38 i dunno if anybody has built a libarary of widgets that they've released to the public. 18:29:48 s/listp/lisp 18:29:54 My impression is Eich would like to have macros in Javascript but just doesn't think it's feasible in the near term. 18:30:46 when js is compiled, does the AST look like lisp? 18:32:02 littlebobby [~bob@unaffiliated/littlebobby] has joined #lisp 18:32:37 pyjs also uses webkit bindings to create standalone apps using python 18:33:16 so you write web apps on the desktop too 18:33:50 i don't know if there are any projects with those goals, but certainly the facilities to implement that kind of system exist in lisp. 18:34:08 some of the support systems that would be required are already written, see parenscript. 18:34:18 HET2 [~diman@nat79.mia.three.co.uk] has joined #lisp 18:35:53 yep I saw parenscript 18:36:07 -!- udzinari [~udzinari@ip-89-102-12-6.net.upcbroadband.cz] has quit [Quit: zzzzzzZZZZZZZZZzzzzzzz] 18:36:26 so parenscript + cl-webkit + widget lib then 18:36:29 ASau` [~user@95-26-159-184.broadband.corbina.ru] has joined #lisp 18:36:34 -!- ASau [~user@95-26-159-184.broadband.corbina.ru] has quit [Read error: Connection reset by peer] 18:36:45 morphling [~stefan@gssn-4d002be1.pool.mediaWays.net] has joined #lisp 18:36:45 -!- markskilbeck [~mark@unaffiliated/markskilbeck] has quit [Ping timeout: 260 seconds] 18:36:57 gigamonkey, could you really implement a reasonable/useful macro system without using s-exps 18:37:10 I'm kind-of curious 18:37:12 hashem [~hashem@41.68.75.12] has joined #lisp 18:37:27 hi please how can i check if two lists are equal to each other ? 18:37:32 Guthur: dave moon attempted to demonstrate that at ILC2009 with "PLOT" 18:37:49 i am new to lisp 18:37:50 hashem: you could use the obscurely-named EQUAL function 18:37:53 Xach, was it reasonable? 18:37:55 -!- pnq [~nick@AC8114EB.ipt.aol.com] has quit [Ping timeout: 260 seconds] 18:38:05 Guthur: seemed reasonable to me. not an area of much interest to me. 18:38:44 i try eql list1 list2 18:38:49 returns nil 18:38:59 and they r equal 18:39:01 markskilbeck [~mark@host86-136-233-120.range86-136.btcentralplus.com] has joined #lisp 18:39:01 -!- markskilbeck [~mark@host86-136-233-120.range86-136.btcentralplus.com] has quit [Changing host] 18:39:01 markskilbeck [~mark@unaffiliated/markskilbeck] has joined #lisp 18:39:08 *Xach* wonders if his messages are reaching hashem 18:39:12 *Xach* types louder 18:39:18 hashem: TRY USING THE EQUAL FUNCTION 18:39:34 am sorry :D thanks i will try now 18:40:29 THANK U XACH it worked 18:40:42 the lisp reader is emphatic. 18:41:04 i have been working on an assignement for 8 hours 18:41:19 cause rassoc is not good enough :S 18:42:26 good enough for what? 18:42:54 i have a knowledge bas and am supposed to check if sentence is grammaticaly correct from it 18:42:56 seems to work precisely as specified. 18:43:05 ya but i mean no good method 18:43:08 -!- mishoo__ [~mishoo@79.112.237.124] has quit [Ping timeout: 240 seconds] 18:43:12 to search rhs 18:43:22 and retrieve the lhs of a list of lists 18:43:39 if i have more than two items it fails 18:44:51 -!- gemelen [~shelta@shpd-78-36-178-11.static.vologda.ru] has quit [Read error: Connection reset by peer] 18:47:04 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 18:48:08 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 18:49:29 homie` [~levgue@xdsl-78-35-181-135.netcologne.de] has joined #lisp 18:49:34 -!- leo2007 [~leo@2402:f000:5:2901:225:4bff:fea9:b9e4] has quit [Quit: rcirc on GNU Emacs 23.3.50.1] 18:50:11 leo2007 [~leo@2402:f000:5:2901:225:4bff:fea9:b9e4] has joined #lisp 18:51:32 http://www.bookshelf.jp/texi/onlisp/onlisp_6.html#SEC42 18:51:41 -!- homie [~levgue@xdsl-84-44-211-249.netcologne.de] has quit [Ping timeout: 240 seconds] 18:52:09 this is a common idiom in lisp code. recursing down the car or cdr of a nested list. 18:52:22 have you looked at "Practical Common Lisp"? 18:54:41 -!- codelurker [~codelurke@66.71.230.192] has quit [Quit: WeeChat 0.3.4] 18:55:38 salva [~salva@65.Red-88-31-236.staticIP.rima-tde.net] has joined #lisp 18:55:57 -!- HET2 [~diman@nat79.mia.three.co.uk] has quit [Read error: Connection reset by peer] 19:00:35 -!- cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has quit [Ping timeout: 252 seconds] 19:01:32 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #lisp 19:03:01 -!- slyrus__ [~chatzilla@adsl-71-146-156-81.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 260 seconds] 19:07:11 -!- fisxoj [~fisxoj@cpe-24-59-205-231.twcny.res.rr.com] has quit [Ping timeout: 276 seconds] 19:09:30 pnq [~nick@ACA24CEC.ipt.aol.com] has joined #lisp 19:09:43 -!- leo2007 [~leo@2402:f000:5:2901:225:4bff:fea9:b9e4] has quit [Quit: rcirc on GNU Emacs 23.3.50.1] 19:15:24 varjag [~eugene@4.169.249.62.customer.cdi.no] has joined #lisp 19:18:12 enupten [~neptune@117.192.71.68] has joined #lisp 19:18:20 -!- enupten [~neptune@117.192.71.68] has quit [Read error: Connection reset by peer] 19:18:36 k_89 [~k@122.163.216.100] has joined #lisp 19:18:40 mishoo__ [~mishoo@79.112.237.124] has joined #lisp 19:19:28 hi... i have been reading learning lisp from land of lisp, this might sound like a noob question but how do i store my code in files?? 19:20:12 files which i can compile and run from command line 19:20:50 k_89: the first questions makes sense. The second, not so much (as it turns out - discovering why is interesting). 19:21:42 -!- varjag [~eugene@4.169.249.62.customer.cdi.no] has quit [Read error: Operation timed out] 19:22:19 splittist, i am making tje first text based game in lisp (ch5), i want my code in a permanent place, you know, for reference 19:22:26 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 19:22:30 haha! working prog indentation! 19:22:39 this has been bugging me for ages 19:23:03 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 19:23:44 prog, not the indentation, I assume 19:24:22 k_89: type at the shell: emacs RET 19:24:27 k_89: then save it in a file. 19:24:28 varjag [~eugene@4.169.249.62.customer.cdi.no] has joined #lisp 19:24:33 k_89: then type C-x C-f ~/mypgm.lisp RET 19:24:36 salva_ [~salva@72.Red-88-29-102.staticIP.rima-tde.net] has joined #lisp 19:24:40 k_89: then type your lisp code. 19:24:46 k_89: when done, type C-x C-s 19:24:49 no, the indentation has been bugging me 19:25:00 Now, to compile from the command line, type: M-x shell RET 19:25:19 then type: clisp -c mypgm.lisp 19:25:28 wow, pjb, splittist2 thanx 19:25:30 -!- salva [~salva@65.Red-88-31-236.staticIP.rima-tde.net] has quit [Ping timeout: 240 seconds] 19:25:30 -!- salva_ is now known as salva 19:25:46 This will give you a mypgm.fas (same as .o) and a mypgm.lib (kind of pre-compiled header). 19:25:53 pkhuoung: all nikodemus' code is in caps and most of it involves tags and gotos (: 19:25:56 emacs indents prog bodies wrong: if the first thing in the body is a tagbody tag, whole body is indented as if everything was a tagbody tag. if the first thing is not a tag, the whole body is indented as if nothing was a tag 19:26:07 k_89: now, to run the .fas, type: clisp mypgm.fas 19:26:40 k_89: then, when you'll be tired of typing those compile and run commands, come back and ask about inferior-lisp. 19:27:18 pjb thanx, copied everything for reference thanx 19:27:33 -!- k_89 [~k@122.163.216.100] has quit [Quit: Leaving] 19:27:50 k_89: also, if you don't use clisp, but ccl or sbcl or ecl, etc, you may want to use slime instead of inferior-lisp. Ask again when you're ready. 19:27:55 -!- ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has quit [Remote host closed the connection] 19:32:25 -!- salva [~salva@72.Red-88-29-102.staticIP.rima-tde.net] has left #lisp 19:33:30 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 19:34:07 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 19:41:56 msponge_ [~msponge@en4054524.fulton.asu.edu] has joined #lisp 19:43:38 -!- msponge_ [~msponge@en4054524.fulton.asu.edu] has quit [Client Quit] 19:43:51 lbc_ [~quassel@1908ds1-aboes.0.fullrate.dk] has joined #lisp 19:44:41 -!- msponge [~msponge@149-169-240-29.nat.asu.edu] has quit [Ping timeout: 276 seconds] 19:44:49 morphism1 [~Nevermind@113.190.183.130] has joined #lisp 19:45:51 juniorroy [~juniorroy@212.36.228.103] has joined #lisp 19:46:12 -!- morphism [~Nevermind@113.190.186.56] has quit [Ping timeout: 252 seconds] 19:50:18 -!- Spion [~spion@unaffiliated/spion] has quit [Ping timeout: 240 seconds] 19:50:28 -!- Ralith [~ralith@S010600221561996a.vc.shawcable.net] has quit [Read error: Connection reset by peer] 19:50:44 -!- DrForr [~drforr@pool-98-112-230-87.lsanca.fios.verizon.net] has quit [Ping timeout: 276 seconds] 19:50:51 Ralith [~ralith@S010600221561996a.vc.shawcable.net] has joined #lisp 19:51:15 -!- pnq [~nick@ACA24CEC.ipt.aol.com] has quit [Ping timeout: 264 seconds] 19:51:46 -!- Ralith [~ralith@S010600221561996a.vc.shawcable.net] has quit [Read error: Connection reset by peer] 19:52:02 Ralith [~ralith@S010600221561996a.vc.shawcable.net] has joined #lisp 19:52:21 DrForr [~drforr@pool-98-112-230-87.lsanca.fios.verizon.net] has joined #lisp 19:53:48 hjdjdjkg [~chatzilla@S010678ca39ff0146.vn.shawcable.net] has joined #lisp 19:54:55 -!- hjdjdjkg [~chatzilla@S010678ca39ff0146.vn.shawcable.net] has quit [Client Quit] 19:55:12 yolkish [~chatzilla@S010678ca39ff0146.vn.shawcable.net] has joined #lisp 19:55:19 -!- Ralith [~ralith@S010600221561996a.vc.shawcable.net] has quit [Read error: Connection reset by peer] 19:55:45 Ralith [~ralith@S010600221561996a.vc.shawcable.net] has joined #lisp 19:55:48 -!- yolkish [~chatzilla@S010678ca39ff0146.vn.shawcable.net] has left #lisp 20:04:09 gemelen [~shelta@shpd-78-36-178-11.static.vologda.ru] has joined #lisp 20:05:27 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 20:06:04 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 20:08:44 _iori_ [~iori@EM111-188-20-25.pool.e-mobile.ne.jp] has joined #lisp 20:11:05 -!- iori [~iori@EM114-48-28-118.pool.e-mobile.ne.jp] has quit [Ping timeout: 240 seconds] 20:11:18 -!- morphism1 [~Nevermind@113.190.183.130] has quit [Ping timeout: 240 seconds] 20:13:09 morphism [~Nevermind@113.190.164.54] has joined #lisp 20:15:23 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 20:15:36 -!- varjag [~eugene@4.169.249.62.customer.cdi.no] has quit [Read error: Operation timed out] 20:16:32 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 20:17:11 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 20:18:27 varjag [~eugene@4.169.249.62.customer.cdi.no] has joined #lisp 20:19:51 pnq [~nick@AC8224E8.ipt.aol.com] has joined #lisp 20:21:33 Kenjin [~josesanto@2.82.92.71] has joined #lisp 20:22:14 -!- dnolen [~davidnole@pool-68-161-93-24.ny325.east.verizon.net] has quit [Quit: dnolen] 20:23:40 -!- pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has quit [Quit: Leaving.] 20:25:34 -!- derrida [~derrida@unaffiliated/deleuze] has quit [Read error: Operation timed out] 20:26:09 -!- superjudge [~superjudg@c83-250-110-188.bredband.comhem.se] has quit [Quit: superjudge] 20:27:39 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 20:28:17 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 20:29:53 -!- dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 20:32:47 -!- simplechat [~simplecha@unaffiliated/simplechat] has quit [Read error: Connection reset by peer] 20:38:45 -!- hashem [~hashem@41.68.75.12] has quit [Ping timeout: 246 seconds] 20:39:20 -!- _iori_ [~iori@EM111-188-20-25.pool.e-mobile.ne.jp] has quit [Remote host closed the connection] 20:40:33 -!- morphling [~stefan@gssn-4d002be1.pool.mediaWays.net] has quit [Remote host closed the connection] 20:42:11 udzinari [~udzinari@ip-89-102-12-6.net.upcbroadband.cz] has joined #lisp 20:42:37 -!- snearch [~snearch@f053004157.adsl.alicedsl.de] has quit [Quit: Verlassend] 20:45:58 -!- brodo [~brodo@p5B0230C0.dip.t-dialin.net] has quit [Quit: brodo] 20:46:59 Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has joined #lisp 20:49:36 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 20:50:13 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 20:53:27 simplechat [~simplecha@123-243-79-139.static.tpgi.com.au] has joined #lisp 20:53:27 -!- simplechat [~simplecha@123-243-79-139.static.tpgi.com.au] has quit [Changing host] 20:53:27 simplechat [~simplecha@unaffiliated/simplechat] has joined #lisp 20:53:56 -!- Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Quit: "Object-oriented design" is an oxymoron] 20:59:05 -!- billitch [~billitch@78.251.57.54] has quit [Ping timeout: 260 seconds] 21:01:24 -!- bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has quit [Quit: leaving] 21:06:35 -!- Euthydemus [~euthydemu@vaxjo4.213.cust.blixtvik.net] has quit [Ping timeout: 276 seconds] 21:07:18 Euthydemus [~euthydemu@vaxjo4.213.cust.blixtvik.net] has joined #lisp 21:10:59 dnolen [~davidnole@184.152.69.75] has joined #lisp 21:15:11 -!- juniorroy [~juniorroy@212.36.228.103] has quit [Ping timeout: 240 seconds] 21:17:57 gravicappa [~gravicapp@ppp91-77-167-194.pppoe.mtu-net.ru] has joined #lisp 21:19:18 -!- morphism [~Nevermind@113.190.164.54] has quit [Ping timeout: 240 seconds] 21:19:21 -!- rdd [~rdd@c83-250-52-16.bredband.comhem.se] has quit [] 21:20:23 morphism [~Nevermind@113.190.187.126] has joined #lisp 21:20:55 attila_lendvai [~attila_le@adsl-89-132-5-114.monradsl.monornet.hu] has joined #lisp 21:20:55 -!- attila_lendvai [~attila_le@adsl-89-132-5-114.monradsl.monornet.hu] has quit [Changing host] 21:20:55 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 21:22:25 Spion [~spion@unaffiliated/spion] has joined #lisp 21:24:08 Can someone familiar with #:iterate help me solv this: http://paste.lisp.org/display/121859 ? I want test2 to behave as test1. 21:24:53 BlankVer1e [~pankajm@117.197.242.9] has joined #lisp 21:25:33 morphism1 [~Nevermind@113.190.175.150] has joined #lisp 21:25:51 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Ping timeout: 248 seconds] 21:26:30 -!- BlankVerse [~pankajm@117.197.254.177] has quit [Ping timeout: 260 seconds] 21:28:27 -!- morphism [~Nevermind@113.190.187.126] has quit [Ping timeout: 264 seconds] 21:38:26 rdd [~rdd@c83-250-52-16.bredband.comhem.se] has joined #lisp 21:38:34 -!- simplechat [~simplecha@unaffiliated/simplechat] has quit [Remote host closed the connection] 21:41:53 -!- pavelludiq [~quassel@87.246.58.193] has quit [Read error: Connection reset by peer] 21:42:55 pavelludiq [~quassel@87.246.58.193] has joined #lisp 21:44:14 pnkfelix [~Adium@108.113.66.238] has joined #lisp 21:45:43 claint [~user@88.247.119.253] has joined #lisp 21:46:31 -!- pavelludiq [~quassel@87.246.58.193] has quit [Client Quit] 21:46:46 pavelludiq [~quassel@87.246.58.193] has joined #lisp 21:47:21 -!- claint [~user@88.247.119.253] has left #lisp 21:53:08 Beetny [~Beetny@ppp118-208-150-156.lns20.bne1.internode.on.net] has joined #lisp 21:53:58 Hexstream [~hexstream@modemcable075.97-200-24.mc.videotron.ca] has joined #lisp 21:56:30 Xach: Quicklisp doesn't yet expose a way to grep through all the files of all projects, does it? That would be a very killer feature to get an approximation of how many projects use feature X and stuff... 21:57:27 Hexstream: It doesn't have a feature like that, no. 21:57:47 Hexstream: "feature" in what sense of the word? 21:58:00 -!- gravicappa [~gravicapp@ppp91-77-167-194.pppoe.mtu-net.ru] has quit [Ping timeout: 260 seconds] 21:58:06 For example, I'd like to know what projects make use of package locking, so I'd want to see what projects have "enable-package-locks" or ":lock t" to have an approximation. 21:58:58 I'd like to gather and publish an xref database generated statically by loading each project. Maybe that would help. 21:59:39 A semantic xref like that would be 5000% than just a grep interface, yes. 21:59:51 5000% better* 22:00:14 SMOP 22:00:36 heh 22:00:57 Seriously! 22:01:14 Eh. I was thinking like: "Oh yeah, the meta-object protocol would help with that... But what does the S mean?... Is that a project? Time to google.." 22:01:30 -!- splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has quit [Ping timeout: 252 seconds] 22:01:45 splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has joined #lisp 22:01:53 freedom_lovr [~g@pool-74-111-197-135.lsanca.fios.verizon.net] has joined #lisp 22:01:56 http://www.xhamster.com/movies/489465/brunette_with_fake_boobs_on_cam.html 22:02:02 what do yall think of this? 22:02:03 -!- ChanServ has set mode +o Xach 22:02:06 oh fuck 22:02:07 -!- Xach has set mode +b *!*g@*.lsanca.fios.verizon.net 22:02:11 -!- freedom_lovr [~xach@pdpc/supporter/professional/xach] has been kicked from #lisp by Xach (Go away.) 22:02:13 -!- udzinari [~udzinari@ip-89-102-12-6.net.upcbroadband.cz] has quit [Quit:     ] 22:02:41 I had a much simpler idea of public semantic wiki-style db of Quicklisp-installable projects, which would also serve as a place to coordinate certain fixes like proper :description and README, as well as possibly provide an easy way to find contact info 22:03:20 (I was considering augmenting ASDF with things like :bugtracker, but there's no defsystem-slot-protocol yet 22:03:23 ) 22:03:31 p_l|backup: did you see the results of my few hours of hacking this week, scraping out what documentation can be found? 22:03:48 http://xach.com/tmp/qldocs/ - please pardon the appearance, the data is what I found interesting 22:04:02 -!- mishoo__ [~mishoo@79.112.237.124] has quit [Read error: Operation timed out] 22:04:09 Cool, I hadn't seen that! 22:04:17 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 252 seconds] 22:04:18 Xach: I was completely offline since my blurted out comment about Flash (staying with lil' sis in hospital) 22:05:11 Seems like you're missing UNLICENSE files, if I may extrapolate from one project... 22:05:27 Hexstream: what's wrong with M-x find-grep RET C-a C-k find ~/quicklisp -name \*.lisp -exec grep -nHi tralala {} \; RET ? 22:05:39 Sounds likely. I've been going through each project and looking for stuff I missed. 22:06:02 Hexstream: which project? 22:06:07 -!- splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has quit [Ping timeout: 252 seconds] 22:06:08 Loopless. 22:07:13 -!- amb007 [~a_bakic@97.17.97-84.rev.gaoland.net] has quit [Ping timeout: 252 seconds] 22:07:51 pjb: That I would only be searching the projects I installed locally? (And don't ask me what's wrong with installing every project in existence just to grep through them...) 22:08:21 yep, because there's nothing wrong in that, indeed. 22:08:39 I wonder how many MBs the whole deal is... 22:08:50 amb007 [~a_bakic@97.17.97-84.rev.gaoland.net] has joined #lisp 22:09:05 An insignificant number, compared to today ASDL bandwidth and hard disk capacity. 22:09:08 Hexstream: a few hundred uncompressed. 22:09:16 Less than 50, I think, compressed. 22:09:34 (map nil 'ensure-installed (provided-systems t)) will fetch and unpack everything 22:10:58 and here, it updates only 3 systems :-) 22:13:41 -!- Bucciarati [~buccia@www.inscatolati.net] has quit [Read error: Operation timed out] 22:15:04 Installing everything costs me about a penny. 22:15:20 You can donate to offset that cost! 22:16:30 You should put a paypal donate button on http://quicklisp.org/ 22:16:59 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 22:17:16 I found downloading the whole dist to be very englightening 22:17:20 I'm considering it! 22:17:29 Especially since you can then go and read through all the source 22:17:38 pjb: http://quicklisp.org/donations.html is linked from the faq 22:17:45 Good. Thanks. 22:17:54 morphism [~Nevermind@113.190.175.150] has joined #lisp 22:18:40 (Both the donation and downloading everything. I should really get in the habit of prefixing my messages with the intended recipient o_o) 22:20:47 -!- morphism1 [~Nevermind@113.190.175.150] has quit [Ping timeout: 252 seconds] 22:20:57 splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has joined #lisp 22:22:09 Bucciarati [~buccia@www.inscatolati.net] has joined #lisp 22:23:17 -!- Bronsa [~brace@host243-175-dynamic.7-79-r.retail.telecomitalia.it] has quit [Quit: Lost terminal] 22:24:19 -!- Hexstream [~hexstream@modemcable075.97-200-24.mc.videotron.ca] has left #lisp 22:24:28 sykopomp` [~sykopomp@crlspr-24.233.190.221.myacc.net] has joined #lisp 22:25:37 eudoxia [~eudoxia@r190-135-70-9.dialup.adsl.anteldata.net.uy] has joined #lisp 22:25:39 -!- sykopomp [~sykopomp@unaffiliated/sykopomp] has quit [Ping timeout: 240 seconds] 22:26:06 -!- sykopomp` [~sykopomp@crlspr-24.233.190.221.myacc.net] has quit [Changing host] 22:26:06 sykopomp` [~sykopomp@unaffiliated/sykopomp] has joined #lisp 22:26:30 -!- sykopomp` is now known as sykopomp 22:26:34 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 22:26:44 -!- morphism [~Nevermind@113.190.175.150] has quit [Ping timeout: 260 seconds] 22:27:55 morphism [~Nevermind@113.190.184.114] has joined #lisp 22:29:42 -!- Guthur [~Guthur@host86-152-186-144.range86-152.btcentralplus.com] has quit [Ping timeout: 240 seconds] 22:29:47 -!- JuanDaugherty [~Ren@cpe-72-228-177-92.buffalo.res.rr.com] has quit [Quit: Exeunt IRC] 22:36:54 -!- splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has quit [Ping timeout: 240 seconds] 22:37:56 splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has joined #lisp 22:41:49 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Ping timeout: 240 seconds] 22:45:12 macrocat [~marmalade@142.177.210.213] has joined #lisp 22:47:12 -!- amb007 [~a_bakic@97.17.97-84.rev.gaoland.net] has quit [Ping timeout: 258 seconds] 22:47:44 -!- splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has quit [Ping timeout: 260 seconds] 22:48:59 splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has joined #lisp 22:49:51 -!- Joreji [~thomas@78-230.eduroam.RWTH-Aachen.DE] has quit [Read error: Operation timed out] 22:52:55 jmbr [~jmbr@157.33.220.87.dynamic.jazztel.es] has joined #lisp 22:56:00 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 22:56:43 Donate while the exchange rate is favorable! 22:58:23 -!- dfox [~dfox@ip-94-113-17-246.net.upcbroadband.cz] has quit [Read error: Operation timed out] 22:59:06 -!- gemelen [~shelta@shpd-78-36-178-11.static.vologda.ru] has quit [Ping timeout: 250 seconds] 23:00:58 Good morning everyone! 23:01:50 -!- pnkfelix [~Adium@108.113.66.238] has quit [Quit: Leaving.] 23:03:35 splittist3 [~splittist@30-245.62-188.cust.bluewin.ch] has joined #lisp 23:04:41 -!- splittist2 [~splittist@30-245.62-188.cust.bluewin.ch] has quit [Ping timeout: 240 seconds] 23:06:08 morphism1 [~Nevermind@113.190.200.155] has joined #lisp 23:07:00 -!- morphism [~Nevermind@113.190.184.114] has quit [Ping timeout: 240 seconds] 23:09:30 splittist4 [~splittist@30-245.62-188.cust.bluewin.ch] has joined #lisp 23:10:06 -!- splittist3 [~splittist@30-245.62-188.cust.bluewin.ch] has quit [Ping timeout: 240 seconds] 23:12:21 pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has joined #lisp 23:12:47 -!- ch077179 [~urs@xdsl-188-155-1-133.adslplus.ch] has quit [Quit: Verlassend] 23:14:03 -!- Xach has set mode -o Xach 23:14:20 Ah, that was gavino. 23:15:04 -!- homie` [~levgue@xdsl-78-35-181-135.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:15:09 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 23:16:35 SailorReality [~IceChat7@74.198.150.79] has joined #lisp 23:16:58 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Quit: Ex-Chat] 23:18:52 where? 23:19:40 homie [~levgue@xdsl-78-35-181-135.netcologne.de] has joined #lisp 23:22:40 juniorroy [~juniorroy@212.36.228.103] has joined #lisp 23:23:45 Sharing porn links 23:25:36 dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has joined #lisp 23:27:21 ah 23:27:31 <_3b> Xach: 3bmd (with current esrap) should parse the cl-mongo readme more quickly now, and not print stuff in the process 23:27:42 what's the story behind gavino? it seems that in the old days, he'd have a net.kooks page. 23:28:12 -!- benny [~benny@i577A85B9.versanet.de] has quit [Ping timeout: 240 seconds] 23:28:57 <_3b> Xach: not sure it parses it as intended by the author, so it is a bit less useful than it could be, but i think it more or less acts as Markdown docs say it should 23:29:34 <_3b> Xach: other things probably parse slower and use more ram though :/ 23:31:00 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Ping timeout: 240 seconds] 23:31:26 _3b: re. esrap. i have a couple of experimental hacks that make the doc parser a fair bit faster 23:31:46 mostly at the expense of parse-failure reports being less informative 23:32:12 <_3b> nikodemus: cool, might test on that cl-mongo README.md, it exercises the memoization a lot more than most files 23:32:23 but now that tracing grammars works, that probably isn't a big deal 23:32:23 -!- eudoxia [~eudoxia@r190-135-70-9.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 276 seconds] 23:32:47 <_3b> yeah, i was thinking it might be interesting to have the 'informative failure' be a 2nd pass or something 23:33:15 lonstein [lonstein@ohno.mrbill.net] has joined #lisp 23:33:18 <_3b> parse once as efficiently as possible, and then only if it fails go back and store details 23:33:52 -!- hohum_ is now known as hohum 23:34:58 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 23:38:31 interestingly enough, it isn't that a hash-table is a poor cache -- it is actually pretty decent. the problem is that we cons a crapload, and the hash-table keep being written to and rehashed, so we have lots of dirty pages in old generations. lots of consing and dirty old objects means the GCs become slow 23:39:10 next time i take a pass at it, i'll see if a purely functional cache makes a difference 23:39:58 before that though, just consing less error results reduces the gc pressure enough to make a difference 23:40:09 <_3b> cool 23:41:49 i also think that grammar objects should allow creating unique enumerations of rules for each grammar, making caching a lot easier: no need to use eq-comparisong, but can instead eg. catenate the rule index and position into a unique integer and use those as keys into a patricia tree or something 23:42:06 -!- dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 23:42:09 extra bonus: i finally have an excuse to implement patricia trees :) 23:43:39 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 252 seconds] 23:44:09 <_3b> yeah, was thinking it might be interesting to index them, sort by frequency, then store failure as a bit in an integer in a pre-allocated array the size of the input 23:44:42 <_3b> (success, being less common, could still be hashed or otherwise stored less efficiently) 23:45:30 eudoxia [~eudoxia@r190-135-44-100.dialup.adsl.anteldata.net.uy] has joined #lisp 23:45:58 <_3b> could also be interesting to try to optimize out caching of some rules (or the rule itself for that matter) when it is trivially just checking some other rule 23:46:14 -!- splittist4 [~splittist@30-245.62-188.cust.bluewin.ch] has quit [Ping timeout: 258 seconds] 23:46:29 -!- lemoinem [~swoog@165-84-252-216.dsl.colba.net] has quit [Remote host closed the connection] 23:46:37 <_3b> not sure if that is common enough to worry about or not 23:46:41 splittist4 [~splittist@30-245.62-188.cust.bluewin.ch] has joined #lisp 23:47:02 lemoinem [~swoog@216.252.77.194] has joined #lisp 23:47:23 apropos, for immediate speedups you can do (setf (bytes-consed-between-gcs) (* 1024 1024 256)) 23:49:07 *_3b* is only really worried about performance on my web server VPS, and it only has 256MB :p 23:50:23 -!- basho__ [~basho__@dslb-188-108-149-115.pools.arcor-ip.net] has quit [Remote host closed the connection] 23:53:14 benny [~benny@87.122.125.0] has joined #lisp 23:53:31 eeeh 23:56:53 nikodemus: is the issue with consing and hash table due to EQ hashing on your own objects? 23:59:59 pkhuong: i think eq-hashing is part of the issue, but the biggest problem is large dirty simple-vectors (from the hash-table) in old generations