00:02:42 -!- quidnunc [~user@bas16-montreal02-1242357571.dsl.bell.ca] has quit [Ping timeout: 248 seconds] 00:03:09 -!- Jasko [~tjasko@c-174-59-195-12.hsd1.pa.comcast.net] has quit [Quit: Leaving] 00:03:16 -!- dmiles_afk [~dmiles@c-24-16-245-211.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 00:03:31 hefner: I take it you don't use libsndfile yet? 00:07:00 Ralith: there's partial bindings to it in the Mixalot git repo, sufficient to load in audio, but without a polished interface like the mp3 code provides 00:07:27 so "not yet" 00:08:17 Depends on who "you" is, I guess. I personally have used it. It is not a supported feature of Mixalot, nor used by Shuffletron. :) 00:09:32 -!- rares [~rares@174-17-94-251.phnx.qwest.net] has left #lisp 00:11:23 -!- Yuuhi [benni@p5483E454.dip.t-dialin.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:11:41 -!- trittweiler [~tcr@atradig113.informatik.tu-muenchen.de] has quit [Ping timeout: 260 seconds] 00:11:45 -!- jsfb [~jon@unaffiliated/jsfb] has quit [Quit: Leaving] 00:13:45 bigjust [~jcaratzas@adsl-074-232-230-165.sip.asm.bellsouth.net] has joined #lisp 00:14:40 dmiles_afk [~dmiles@c-24-16-245-211.hsd1.wa.comcast.net] has joined #lisp 00:15:00 quidnunc [~user@bas16-montreal02-1242357571.dsl.bell.ca] has joined #lisp 00:15:23 trittweiler [~tcr@atradig113.informatik.tu-muenchen.de] has joined #lisp 00:15:26 -!- bigjust [~jcaratzas@adsl-074-232-230-165.sip.asm.bellsouth.net] has left #lisp 00:17:20 -!- leo2007 [~leo@smaug.linux.pwf.cam.ac.uk] has quit [Quit: rcirc on GNU Emacs 23.0.60.1] 00:25:47 -!- slash_ [~Unknown@whgeh0250.cip.uni-regensburg.de] has quit [Quit: leaving] 00:26:46 -!- hefner [~root@ppp-58-9-116-188.revip2.asianet.co.th] has quit [Quit: I'm going to reboot this computer, hoping it will behaves mor rationally after doing so.] 00:30:56 -!- amnesiac [~amnesiac@p3m/member/Amnesiac] has quit [Quit: Leaving] 00:31:46 -!- timor [~timor@port-87-234-97-27.dynamic.qsc.de] has quit [Remote host closed the connection] 00:32:15 -!- dmiles_afk [~dmiles@c-24-16-245-211.hsd1.wa.comcast.net] has quit [Ping timeout: 258 seconds] 00:32:32 -!- grouzen [~grouzen@91.214.124.2] has quit [Ping timeout: 246 seconds] 00:38:08 -!- Sumpen [~Sumpen@81-232-77-93-no46.tbcn.telia.com] has quit [Quit: Planned down time ^^] 00:40:04 |Soulman| [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 00:40:33 -!- sepult [~user@xdsl-87-78-173-147.netcologne.de] has quit [Read error: Connection reset by peer] 00:40:57 -!- Soulman [~kvirc@154.80-202-254.nextgentel.com] has quit [Read error: Connection reset by peer] 00:41:36 sepult [~user@xdsl-87-78-173-147.netcologne.de] has joined #lisp 00:41:39 Soulman [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 00:42:21 _Soulman_ [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 00:42:32 -!- |Soulman| [~kvirc@154.80-202-254.nextgentel.com] has quit [Read error: Connection reset by peer] 00:42:58 -!- sepult [~user@xdsl-87-78-173-147.netcologne.de] has quit [Remote host closed the connection] 00:44:22 -!- Soulman [~kvirc@154.80-202-254.nextgentel.com] has quit [Read error: Connection reset by peer] 00:45:00 Soulman [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 00:45:54 -!- _Soulman_ [~kvirc@154.80-202-254.nextgentel.com] has quit [Read error: Connection reset by peer] 00:46:40 |Soulman| [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 00:48:38 davazp [~user@68.Red-83-46-0.dynamicIP.rima-tde.net] has joined #lisp 00:49:29 -!- Soulman [~kvirc@154.80-202-254.nextgentel.com] has quit [Ping timeout: 260 seconds] 00:53:41 sepult [~user@xdsl-87-78-173-147.netcologne.de] has joined #lisp 00:54:31 Soulman [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 00:56:38 -!- tcr [~tcr@host146.natpool.mwn.de] has quit [Quit: Leaving.] 00:57:06 -!- |Soulman| [~kvirc@154.80-202-254.nextgentel.com] has quit [Ping timeout: 240 seconds] 01:00:11 -!- pjb [~t@95.124.88.40] has quit [Ping timeout: 256 seconds] 01:01:09 -!- jleija [~jleija@adsl-91-4-159.chs.bellsouth.net] has quit [Quit: good night folks] 01:02:19 |Soulman| [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 01:03:00 -!- fnordus [~dnall@70.70.0.215] has quit [Remote host closed the connection] 01:04:40 fnordus [~dnall@70.70.0.215] has joined #lisp 01:05:13 -!- Soulman [~kvirc@154.80-202-254.nextgentel.com] has quit [Ping timeout: 258 seconds] 01:05:45 sleepinglion [~tyler@t3pipe.spfldcol.edu] has joined #lisp 01:06:08 -!- sleepinglion [~tyler@t3pipe.spfldcol.edu] has quit [Client Quit] 01:06:55 sleepinglion [~sleepingl@t3pipe.spfldcol.edu] has joined #lisp 01:08:12 -!- sleepinglion [~sleepingl@t3pipe.spfldcol.edu] has quit [Client Quit] 01:08:51 Soulman [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 01:09:45 sleepinglion [~mufasa@t3pipe.spfldcol.edu] has joined #lisp 01:09:56 -!- sleepinglion [~mufasa@t3pipe.spfldcol.edu] has quit [Client Quit] 01:10:26 -!- |Soulman| [~kvirc@154.80-202-254.nextgentel.com] has quit [Ping timeout: 248 seconds] 01:10:53 sleepinglion [~mufasa@t3pipe.spfldcol.edu] has joined #lisp 01:11:02 -!- alley_cat [~AlleyCat@sourcemage/elder/alleycat] has quit [Remote host closed the connection] 01:13:10 -!- sleepinglion [~mufasa@t3pipe.spfldcol.edu] has quit [Client Quit] 01:14:00 Modius [~Modius@cpe-70-123-130-159.austin.res.rr.com] has joined #lisp 01:14:01 |Soulman| [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 01:14:25 dmiles_afk [~dmiles@c-24-16-245-211.hsd1.wa.comcast.net] has joined #lisp 01:15:41 _Soulman_ [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 01:15:49 -!- Soulman [~kvirc@154.80-202-254.nextgentel.com] has quit [Read error: Connection reset by peer] 01:18:54 -!- |Soulman| [~kvirc@154.80-202-254.nextgentel.com] has quit [Ping timeout: 272 seconds] 01:21:03 -!- gigamonkey [~gigamonke@adsl-99-2-148-193.dsl.pltn13.sbcglobal.net] has quit [Read error: Operation timed out] 01:22:47 porcelina [~quassel@c-174-51-110-214.hsd1.co.comcast.net] has joined #lisp 01:24:06 -!- _Soulman_ [~kvirc@154.80-202-254.nextgentel.com] has quit [Quit: KVIrc 3.4.0 Virgo http://www.kvirc.net/] 01:24:29 -!- easyE [BIOtZJHjga@panix3.panix.com] has quit [Ping timeout: 260 seconds] 01:25:46 easyE [G5bbzZtErC@panix3.panix.com] has joined #lisp 01:27:53 lithper2_ [~chatzilla@ool-182ff1c9.dyn.optonline.net] has joined #lisp 01:33:37 Modius_ [~Modius@cpe-70-123-130-159.austin.res.rr.com] has joined #lisp 01:34:42 -!- scode [~scode@hyperion.scode.org] has quit [Read error: Connection reset by peer] 01:34:46 scode [~scode@hyperion.scode.org] has joined #lisp 01:36:31 Moe111 [~Moe111@bas1-montreal02-1096726543.dsl.bell.ca] has joined #lisp 01:36:50 hello all 01:37:02 -!- Modius [~Modius@cpe-70-123-130-159.austin.res.rr.com] has quit [Ping timeout: 252 seconds] 01:37:34 how would I go about troubleshooting file access on sbcl? 01:37:58 specifically, I'm trying to open a file that is on a cifs mount, but it's just saying it's not there. 01:38:58 Moe111: paste the code and the error to paste.lisp.org/new/lisp perhaps 01:39:02 jimi_hendrix [~Jimi_Hend@unaffiliated/jimihendrix] has joined #lisp 01:39:30 Well, it's so straightforward that I don't know what to paste. Here... 01:39:41 the code and the error, to start with. 01:40:03 i am trying to find an editor that i used a while back, it was very plain...its name started with an a and it had a 4 or 5 letter name...it had two buffers, one for open files and one for the repl...anyone have any idea 01:40:15 jimi_hendrix: ABLE 01:40:19 that's my guess. 01:40:20 thats it 01:40:20 thankjs 01:40:23 that is it 01:40:25 -!- jimi_hendrix [~Jimi_Hend@unaffiliated/jimihendrix] has left #lisp 01:40:51 fly on little wing, fly on. 01:41:10 -!- fiveop [~fiveop@g229145220.adsl.alicedsl.de] has quit [Quit: humhum] 01:41:21 Moe111 pasted "SBCL file troubleshooting" at http://paste.lisp.org/display/94505 01:41:32 -!- carlocci [~nes@93.37.197.117] has quit [Quit: eventually IE will rot and die] 01:42:03 Moe111: why don't the pathnames match? 01:42:13 because I'm a scatter brain =) 01:42:14 Moe111: you have "mnk" in one and "foo" in the other. 01:42:23 yes, I just wanted to scrub recognizable info. 01:42:28 s/mnk/foo/ 01:42:54 rest assured, the paths do match when I run this 01:43:10 the more interesting part is that if I have that same file in the root of the mounted cifs, it works 01:43:20 it's only when I go one directory deep that it just silently stops working. 01:43:34 I'm trying to figure out if there's a way to find out why sbcl failed to get the file 01:45:09 kgn [~kgn@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has joined #lisp 01:45:27 Jasko [~tjasko@c-174-59-195-12.hsd1.pa.comcast.net] has joined #lisp 01:46:20 I just noticed a strange plus for someone who wants to write closed-source applications with CL... 01:47:06 ... I have a feeling that only actually skilled crackers could attempt to "hack" the binary other than through REPL :D 01:49:01 -!- ephcon [~ephcon@student164-218.hampshire.edu] has quit [Ping timeout: 265 seconds] 01:49:03 no ideas on file access troubleshooting? 01:49:42 Moe111: have you tried if the same happens from shell/other programs? 01:49:51 also, look into strace 01:50:11 I can read/write to file from shell no problem 01:50:23 I will check strace 01:50:39 -!- paolo [~chatzilla@93-34-135-77.ip50.fastwebnet.it] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] 01:51:19 but what I'm understanding from what you say is that there's not something similar in the sbcl image itself (that would allow me to understand why it's returning nil) ? 01:51:53 -!- sepult [~user@xdsl-87-78-173-147.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:54:05 -!- mattrepl [~mattrepl@pool-72-83-118-99.washdc.fios.verizon.net] has quit [Quit: mattrepl] 01:56:16 -!- quidnunc [~user@bas16-montreal02-1242357571.dsl.bell.ca] has quit [Ping timeout: 265 seconds] 01:57:30 Beetny` [~Beetny@ppp121-45-6-54.lns20.adl2.internode.on.net] has joined #lisp 01:58:30 ephcon [~ephcon@student166-146.hampshire.edu] has joined #lisp 01:59:29 syamajala [~syamajala@97-95-190-124.dhcp.oxfr.ma.charter.com] has joined #lisp 01:59:49 -!- Beetny [~Beetny@ppp118-210-22-218.lns20.adl2.internode.on.net] has quit [Ping timeout: 264 seconds] 02:00:22 -!- kgn [~kgn@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has quit [Quit: kgn] 02:00:39 -!- Moe111 [~Moe111@bas1-montreal02-1096726543.dsl.bell.ca] has quit [Quit: Moe111] 02:04:42 kgn [~kgn@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has joined #lisp 02:09:53 fractalis [~fractalis@cpe-98-27-162-52.neo.res.rr.com] has joined #lisp 02:10:10 -!- danderson [~dave@atlas.natulte.net] has quit [Ping timeout: 248 seconds] 02:11:13 danderson [~dave@atlas.natulte.net] has joined #lisp 02:11:37 -!- kgn [~kgn@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has quit [Ping timeout: 260 seconds] 02:17:51 ikki [~ikki@189.247.83.141] has joined #lisp 02:18:14 -!- Modius_ [~Modius@cpe-70-123-130-159.austin.res.rr.com] has quit [Quit: I'm big in Japan] 02:18:32 Modius [~Modius@cpe-70-123-130-159.austin.res.rr.com] has joined #lisp 02:22:58 -!- frontiers [~frontiers@139.79-160-22.customer.lyse.net] has quit [Ping timeout: 248 seconds] 02:23:01 frontiers [~frontiers@139.79-160-22.customer.lyse.net] has joined #lisp 02:25:20 -!- jan247 [~jan247@unaffiliated/jan247] has quit [Quit: jan247] 02:25:27 -!- davazp [~user@68.Red-83-46-0.dynamicIP.rima-tde.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 02:26:26 -!- syamajala [~syamajala@97-95-190-124.dhcp.oxfr.ma.charter.com] has quit [Quit: Leaving...] 02:26:35 -!- kpreid [~kpreid@cpe-72-228-72-196.twcny.res.rr.com] has quit [Quit: kpreid] 02:29:17 oconnore_ [~oconnore_@c-66-31-124-111.hsd1.ma.comcast.net] has joined #lisp 02:30:51 davazp [~user@68.Red-83-46-0.dynamicIP.rima-tde.net] has joined #lisp 02:32:39 adu [~ajr@pool-173-66-61-164.washdc.fios.verizon.net] has joined #lisp 02:34:44 tankrim [~qsvans@c-09fee255.010-54-6f72652.cust.bredbandsbolaget.se] has joined #lisp 02:38:05 -!- rdd` [~rdd@c83-250-52-182.bredband.comhem.se] has quit [Read error: Operation timed out] 02:40:14 -!- oconnore_ [~oconnore_@c-66-31-124-111.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 02:49:55 _mace [~neil@c-67-188-1-34.hsd1.ca.comcast.net] has joined #lisp 02:49:59 -!- Odin- [~sbkhh@s121-302.gardur.hi.is] has quit [Quit: Odin-] 02:56:55 caoliver [~oliver@75-134-208-20.dhcp.trcy.mi.charter.com] has joined #lisp 02:59:01 kglovern [~kglovern@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has joined #lisp 03:06:03 kpreid [~kpreid@216-171-189-244.northland.net] has joined #lisp 03:06:06 -!- kpreid [~kpreid@216-171-189-244.northland.net] has quit [Excess Flood] 03:10:37 -!- fatalnix is now known as fatalnix1995 03:12:48 kpreid [~kpreid@216-171-189-244.northland.net] has joined #lisp 03:29:09 kenjin2201 [~kenjin@220.120.43.80] has joined #lisp 03:31:13 -!- kenjin2201 [~kenjin@220.120.43.80] has quit [Client Quit] 03:31:25 kenjin2201 [~kenjin@220.120.43.80] has joined #lisp 03:32:21 sepult [~user@xdsl-87-78-173-147.netcologne.de] has joined #lisp 03:35:08 -!- ephcon [~ephcon@student166-146.hampshire.edu] has quit [Quit: leaving] 03:44:03 -!- ikki [~ikki@189.247.83.141] has quit [Ping timeout: 240 seconds] 03:45:10 dralston [~dralston@S010600212986cca8.va.shawcable.net] has joined #lisp 03:46:23 amnesiac [~amnesiac@p3m/member/Amnesiac] has joined #lisp 03:48:30 rlb3 [~AndChat@70-140-33-120.lightspeed.hstntx.sbcglobal.net] has joined #lisp 03:50:33 jsoft [~user@unaffiliated/jsoft] has joined #lisp 03:52:43 fusss [~chatzilla@60-241-1-206.static.tpgi.com.au] has joined #lisp 03:52:47 greetings! 03:53:15 -!- dnolen [~dnolen@pool-96-224-31-174.nycmny.east.verizon.net] has quit [Quit: dnolen] 03:58:40 hi 03:58:45 wusup 03:59:10 adeht [~death@84.110.255.214] has joined #lisp 03:59:33 Hey 03:59:46 mattrepl [~mattrepl@pool-72-83-118-99.washdc.fios.verizon.net] has joined #lisp 03:59:59 Does loop's with let you specify an 'step-form' ? 04:00:46 (loop for x = init-form then step-form ...) ? 04:00:47 I want to say with x = 0 make it equal to y next loop 04:00:53 ahh 04:01:02 then 04:01:38 -!- TDT [~user@173-17-83-225.client.mchsi.com] has quit [Remote host closed the connection] 04:01:57 Hnnn 04:03:27 if I want another for, do I just put it on a new line? 04:03:33 oconnore_ [~oconnore_@c-66-31-124-111.hsd1.ma.comcast.net] has joined #lisp 04:03:59 a good idea, yes 04:04:11 Hmm. 04:04:29 step? 04:05:00 http://www.lispworks.com/documentation/HyperSpec/Body/m_do_do.htm#do 04:06:57 jsoft: also i think "by" does stepping 04:12:51 -!- marioxcc [~user@200.92.23.60] has quit [Remote host closed the connection] 04:14:28 -!- LiamH [~nobody@pool-151-200-241-193.res.east.verizon.net] has quit [Quit: Leaving.] 04:18:19 -!- kenjin2201 [~kenjin@220.120.43.80] has quit [Remote host closed the connection] 04:19:25 Why not (do (y (x 0 y)) ...) ? 04:20:56 Yeah ive already done that 04:21:02 just trying to figure out the equiv in loop 04:21:42 Do a big loop fan. 04:21:53 Grrr. s/Do/not/ 04:21:53 jsoft pasted "untitled" at http://paste.lisp.org/display/94511 04:22:33 Anyone know why that does not seem to work as I expect it should? 04:25:38 -!- Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has quit [Ping timeout: 246 seconds] 04:25:44 -!- redline6561 [~redline@c-66-56-16-250.hsd1.ga.comcast.net] has quit [Ping timeout: 272 seconds] 04:27:42 Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has joined #lisp 04:29:18 -!- benny` [~benny@i577A81FC.versanet.de] has quit [Ping timeout: 252 seconds] 04:32:38 -!- dreish [~dreish@minus.dreish.org] has quit [Quit: dreish] 04:32:57 jsoft: what did you expect? 04:34:41 -!- S11001001 [~sirian@74-137-151-39.dhcp.insightbb.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 04:34:44 kenjin2201 [~kenjin@220.120.43.80] has joined #lisp 04:34:58 -!- tankrim [~qsvans@c-09fee255.010-54-6f72652.cust.bredbandsbolaget.se] has left #lisp 04:34:59 Foofie [~innocent@86.80-203-225.nextgentel.com] has joined #lisp 04:35:51 Beetny [~Beetny@ppp121-45-25-137.lns20.adl2.internode.on.net] has joined #lisp 04:37:23 -!- Beetny` [~Beetny@ppp121-45-6-54.lns20.adl2.internode.on.net] has quit [Ping timeout: 240 seconds] 04:37:33 -!- Fufie [~innocent@86.80-203-225.nextgentel.com] has quit [Ping timeout: 252 seconds] 04:39:02 ziggurat [~quassel@pool-173-71-25-61.dllstx.fios.verizon.net] has joined #lisp 04:46:01 -!- kenjin2201 [~kenjin@220.120.43.80] has quit [Ping timeout: 245 seconds] 04:46:54 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 04:49:02 lpolzer_ [~lpolzer@dslb-088-073-200-196.pools.arcor-ip.net] has joined #lisp 04:51:02 gigamonkey [~gigamonke@adsl-99-2-148-193.dsl.pltn13.sbcglobal.net] has joined #lisp 04:51:04 -!- lithper2_ [~chatzilla@ool-182ff1c9.dyn.optonline.net] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20100106054534]] 04:51:20 drewc: herep 04:51:32 jsoft: lisp is whitespace-insensitive 04:52:13 l_n [~foo@tuxhacker/lordnothing] has joined #lisp 04:53:00 -!- lpolzer [~lpolzer@dslb-088-073-180-240.pools.arcor-ip.net] has quit [Ping timeout: 276 seconds] 04:53:17 -!- gigamonkey is now known as hackerfoo 04:53:42 -!- hackerfoo is now known as gigamonkey 04:55:19 -!- Modius [~Modius@cpe-70-123-130-159.austin.res.rr.com] has quit [Quit: I'm big in Japan] 04:57:21 Hmm 04:57:25 *jsoft* looks again 04:58:00 I expected it to print something. 04:58:01 Modius [~Modius@cpe-70-123-130-159.austin.res.rr.com] has joined #lisp 04:58:07 Instead it just exits. 04:58:13 Or returns nil, I should say. 04:58:40 phax [~phax@unaffiliated/phax] has joined #lisp 04:59:59 jsoft: loop doesn't return anything of interest unless you explicitly ask it to. 05:00:39 with, say, RETURN 05:01:02 or collecting, or one of the other numerous accumulator clauses 05:03:15 :| 05:03:21 Well its not even printing afaik 05:03:32 Its not printing antthing int he sbcl 05:04:02 -!- dralston [~dralston@S010600212986cca8.va.shawcable.net] has quit [Quit: Leaving] 05:04:10 jsoft: why would it? 05:04:40 jsoft: did you get your < arguments backwards? 05:05:50 jsoft: want to paste your code and describe your expectations? 05:06:00 it's been pasted. 05:06:10 -!- oconnore_ [~oconnore_@c-66-31-124-111.hsd1.ma.comcast.net] has quit [Ping timeout: 248 seconds] 05:06:12 oh, there it is 05:07:45 REPLeffect [~REPLeffec@69.54.115.254] has joined #lisp 05:07:56 jsoft: Xach is correct; your < args are reversed. 05:13:23 Doh. 05:13:26 *jsoft* slaps face 05:16:25 fusss_ [~chatzilla@60-241-1-206.static.tpgi.com.au] has joined #lisp 05:16:52 at the risk of sounding like a weenie, wouldn't it be nice if loop's collecting clause took a :test argument? 05:17:42 -!- fusss [~chatzilla@60-241-1-206.static.tpgi.com.au] has quit [Ping timeout: 252 seconds] 05:17:51 -!- fusss_ is now known as fusss 05:17:58 (loop for line in file collecting (car (split-sequence #\, line)) :test ..)) etc. 05:19:31 oconnore_ [~oconnore_@c-66-31-124-111.hsd1.ma.comcast.net] has joined #lisp 05:19:49 -!- Modius [~Modius@cpe-70-123-130-159.austin.res.rr.com] has quit [Quit: I'm big in Japan] 05:21:08 fusss: what would it do? 05:21:30 collect-if 05:21:46 fusss: that doesn't seem like an improvement on if-collect 05:21:47 "selective aggregation" 05:21:55 fusss: which loop already supports 05:22:00 there is a if-collect? 05:22:09 FUUUUUUUUU 05:22:23 :D 05:22:36 fusss: (loop for i below 100 if (oddp i) collect i) for example 05:22:38 shucao [~user@60.247.97.97] has joined #lisp 05:22:56 I be damed, yes 05:23:24 *fusss* has his brains raped by the salesforce and zoara apis over the last week :-| 05:24:08 *Ralith* prefers when 05:24:24 jimster [~jimster@cpe-70-116-158-133.tx.res.rr.com] has joined #lisp 05:29:14 -!- l_n [~foo@tuxhacker/lordnothing] has quit [Quit: it's 00:29, and i need sleep] 05:35:02 gheat kicks ass 05:35:12 heat maps over google maps 05:37:16 redline6561 [~redline@c-66-56-16-250.hsd1.ga.comcast.net] has joined #lisp 05:38:46 -!- redline6561 [~redline@c-66-56-16-250.hsd1.ga.comcast.net] has quit [Client Quit] 05:39:41 nixeagle [~user@Wikimedia/Nixeagle] has joined #lisp 05:42:30 splittist [~bc3ef51e@gateway/web/freenode/x-ggxmjtfrgffsyimr] has joined #lisp 05:42:36 morning 05:42:53 -!- ASau [~user@83.69.227.32] has quit [Read error: Connection reset by peer] 05:45:12 -!- spoofy [~spoof@78.31.74.25] has quit [Ping timeout: 252 seconds] 05:46:45 -!- fusss [~chatzilla@60-241-1-206.static.tpgi.com.au] has quit [Ping timeout: 260 seconds] 05:48:19 mejja [~user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #lisp 05:51:14 -!- davazp [~user@68.Red-83-46-0.dynamicIP.rima-tde.net] has quit [Remote host closed the connection] 05:53:10 spoofy [~spoof@78.31.74.25] has joined #lisp 05:55:40 -!- Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has quit [Ping timeout: 272 seconds] 05:57:04 -!- jordyd [~jordyd@99-177-65-75.lightspeed.wepbfl.sbcglobal.net] has quit [Quit: Leaving] 05:57:11 Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has joined #lisp 05:57:12 -!- hugod [~hugod@bas1-montreal50-1279440906.dsl.bell.ca] has quit [Quit: hugod] 05:59:50 -!- parolang [~user@8e4a01246100775874c4f448e9887093.oregonrd-wifi-1261.amplex.net] has quit [Read error: Connection reset by peer] 06:06:12 Morbeo [myrlochar@91.92.170.132] has joined #lisp 06:07:41 -!- phax [~phax@unaffiliated/phax] has quit [Remote host closed the connection] 06:15:15 jgalligher [~jgallighe@71-92-223-170.static.mtpk.ca.charter.com] has joined #lisp 06:15:15 -!- jgalligher [~jgallighe@71-92-223-170.static.mtpk.ca.charter.com] has left #lisp 06:15:50 fatblueduck [~jgallighe@71-92-223-170.static.mtpk.ca.charter.com] has joined #lisp 06:16:27 why is this nil? (member (list 1 2) (list (list 1 2) (list 1 2))) 06:16:55 the default test for membership is EQL 06:17:06 adeht: ahh thank you 06:17:08 :) 06:17:31 I need to leave abruptly -low battery. Thank you. 06:17:34 -!- fatblueduck [~jgallighe@71-92-223-170.static.mtpk.ca.charter.com] has left #lisp 06:18:32 -!- mattrepl [~mattrepl@pool-72-83-118-99.washdc.fios.verizon.net] has quit [Quit: mattrepl] 06:19:26 mattrepl [~mattrepl@pool-72-83-118-99.washdc.fios.verizon.net] has joined #lisp 06:34:08 jan247 [~jan247@120.28.69.61] has joined #lisp 06:34:08 -!- jan247 [~jan247@120.28.69.61] has quit [Changing host] 06:34:08 jan247 [~jan247@unaffiliated/jan247] has joined #lisp 06:36:52 legumbre_ [~leo@r190-135-3-240.dialup.adsl.anteldata.net.uy] has joined #lisp 06:38:57 -!- legumbre [~leo@r190-135-7-163.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 276 seconds] 06:39:10 RaceCondition [~RaceCondi@85.253.73.94.cable.starman.ee] has joined #lisp 06:40:12 -!- oconnore_ [~oconnore_@c-66-31-124-111.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 06:42:45 mishoo [~mishoo@79.112.117.160] has joined #lisp 06:44:49 -!- Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has quit [Ping timeout: 264 seconds] 06:45:09 Good morning! 06:45:59 Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has joined #lisp 06:46:16 Morning. 06:46:44 ASau [~user@83.69.227.32] has joined #lisp 06:47:34 Good morning Europe. :) 06:47:46 -!- rme [rme@clozure-51821EF0.chi.dsl-w.verizon.net] has quit [Quit: rme] 06:47:46 -!- rme [~rme@pool-70-104-120-122.chi.dsl-w.verizon.net] has quit [Quit: rme] 06:53:54 -!- jimster [~jimster@cpe-70-116-158-133.tx.res.rr.com] has quit [Ping timeout: 248 seconds] 06:58:42 -!- RaceCondition [~RaceCondi@85.253.73.94.cable.starman.ee] has quit [Ping timeout: 240 seconds] 06:59:34 arthurschopenhau [~quassel@129.123.242.224] has joined #lisp 07:00:33 -!- Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has quit [Ping timeout: 252 seconds] 07:02:17 Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has joined #lisp 07:07:01 -!- ziggurat [~quassel@pool-173-71-25-61.dllstx.fios.verizon.net] has quit [Remote host closed the connection] 07:08:31 -!- Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has quit [Ping timeout: 245 seconds] 07:08:37 -!- pevaneyn [~pevaneyn@162.202-242-81.adsl-dyn.isp.belgacom.be] has quit [Quit: Leaving.] 07:10:25 Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has joined #lisp 07:12:58 adu_ [~ajr@pool-173-66-61-240.washdc.fios.verizon.net] has joined #lisp 07:13:13 -!- adu_ [~ajr@pool-173-66-61-240.washdc.fios.verizon.net] has quit [Client Quit] 07:14:42 -!- adu [~ajr@pool-173-66-61-164.washdc.fios.verizon.net] has quit [Ping timeout: 248 seconds] 07:22:25 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 07:24:14 Modius [~Modius@cpe-70-123-130-159.austin.res.rr.com] has joined #lisp 07:24:50 -!- Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has quit [Ping timeout: 248 seconds] 07:26:41 Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has joined #lisp 07:28:09 -!- ASau [~user@83.69.227.32] has quit [Remote host closed the connection] 07:40:42 tensorpudding [~user@99.148.206.229] has joined #lisp 07:41:42 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Ping timeout: 240 seconds] 07:43:26 bew [~bew@cpc2-dals16-2-0-cust285.hari.cable.virginmedia.com] has joined #lisp 07:45:45 -!- mattrepl [~mattrepl@pool-72-83-118-99.washdc.fios.verizon.net] has quit [Quit: mattrepl] 07:46:06 -!- bew [~bew@cpc2-dals16-2-0-cust285.hari.cable.virginmedia.com] has quit [Client Quit] 07:49:06 -!- mejja [~user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote host closed the connection] 07:58:29 pevaneyn [~pevaneyn@222-59-191-193.dhcp4.fosdem.net] has joined #lisp 08:00:41 -!- amnesiac [~amnesiac@p3m/member/Amnesiac] has quit [Quit: Leaving] 08:05:57 -!- splittist [~bc3ef51e@gateway/web/freenode/x-ggxmjtfrgffsyimr] has quit [Quit: Page closed] 08:06:01 Edico [~Edico@unaffiliated/edico] has joined #lisp 08:06:11 grouzen [~grouzen@91.214.124.2] has joined #lisp 08:06:18 -!- Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has quit [Ping timeout: 240 seconds] 08:06:49 Kolyan [~nartamono@95-26-1-117.broadband.corbina.ru] has joined #lisp 08:07:32 jiyaxuan [~jiyaxuan@123.112.60.125] has joined #lisp 08:08:21 Sergio` [~Sergio`@a89-152-186-152.cpe.netcabo.pt] has joined #lisp 08:08:38 Athas [~athas@0x50a157d6.alb2nxx15.dynamic.dsl.tele.dk] has joined #lisp 08:09:08 hello 08:09:23 bye 08:09:27 -!- jiyaxuan [~jiyaxuan@123.112.60.125] has quit [Client Quit] 08:11:17 -!- caoliver [~oliver@75-134-208-20.dhcp.trcy.mi.charter.com] has quit [Remote host closed the connection] 08:13:14 -!- pevaneyn [~pevaneyn@222-59-191-193.dhcp4.fosdem.net] has quit [Ping timeout: 256 seconds] 08:13:26 -!- nixeagle [~user@Wikimedia/Nixeagle] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:14:12 pevaneyn [~pevaneyn@222-59-191-193.dhcp4.fosdem.net] has joined #lisp 08:15:26 pevaneyn1 [~pevaneyn@222-59-191-193.dhcp4.fosdem.net] has joined #lisp 08:15:27 -!- pevaneyn [~pevaneyn@222-59-191-193.dhcp4.fosdem.net] has quit [Read error: Connection reset by peer] 08:16:27 -!- Edico [~Edico@unaffiliated/edico] has quit [Ping timeout: 252 seconds] 08:18:02 -!- sepult [~user@xdsl-87-78-173-147.netcologne.de] has quit [Remote host closed the connection] 08:18:18 Edico [~Edico@unaffiliated/edico] has joined #lisp 08:33:56 Davidbrcz [david@212-198-83-2.rev.numericable.fr] has joined #lisp 08:35:03 -!- ak70 [~user@85.232.202.183] has quit [Remote host closed the connection] 08:35:32 gemelen [~shelta@shpd-78-36-177-163.static.vologda.ru] has joined #lisp 08:37:12 -!- xinming [~hyy@218.73.135.57] has quit [Read error: Connection reset by peer] 08:37:27 xinming [~hyy@122.238.64.11] has joined #lisp 08:38:31 pavelludiq [~quassel@87.246.12.167] has joined #lisp 08:39:50 -!- pavelludiq [~quassel@87.246.12.167] has quit [Remote host closed the connection] 08:41:42 RaceCondition [~RaceCondi@85.253.73.94.cable.starman.ee] has joined #lisp 08:43:19 merl15_ [~merl@80-121-67-142.adsl.highway.telekom.at] has joined #lisp 08:45:42 lithper2_ [~chatzilla@ool-182ff1c9.dyn.optonline.net] has joined #lisp 08:46:05 Sands [myrlochar@91.92.170.132] has joined #lisp 08:47:41 -!- gigamonkey [~gigamonke@adsl-99-2-148-193.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 245 seconds] 08:48:24 Adlai [~adlai@unaffiliated/adlai] has joined #lisp 08:48:54 -!- Morbeo [myrlochar@91.92.170.132] has quit [Ping timeout: 252 seconds] 08:59:34 Xantoz [~hejhej@c-1cb2e253.01-157-73746f30.cust.bredbandsbolaget.se] has joined #lisp 09:02:28 okay, so how would I go about using SLIME with multiple lisp implementations? 09:02:28 -!- Hun [~hun@p50993726.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 09:02:42 inferior-lisp-program doesn't seem to support that 09:03:20 oh, just slime-lisp-implementations 09:07:20 Adlai pasted "sample slime-lisp-implementations" at http://paste.lisp.org/display/94513 09:07:28 mathrick, ^ 09:09:27 Adlai: hmm, didn't know you could specify it like that 09:09:34 certainly looks cleaner than min 09:10:54 Younder [~jthing@233.159.202.84.customer.cdi.no] has joined #lisp 09:10:55 -!- hoeq_ [~hoeq@h-66-64.A216.priv.bahnhof.se] has quit [Ping timeout: 256 seconds] 09:11:40 hoeq_ [~hoeq@h-66-64.A216.priv.bahnhof.se] has joined #lisp 09:14:23 p_l, what do you mean? 09:15:38 -!- Modius [~Modius@cpe-70-123-130-159.austin.res.rr.com] has quit [Quit: I'm big in Japan] 09:22:42 Adlai: my current config used add-to-list and ugly strings :-/ 09:23:19 tic pasted "Bad code style" at http://paste.lisp.org/display/94514 09:23:24 meepers. 09:24:30 speak of ugly strings! :P 09:24:44 If someone feels they have too much hands on their hands... care making a quick remark? 09:24:50 Adlai, yeah, and then some. :-) 09:27:09 tic: i would use a hash table there 09:28:10 *Adlai* agrees 09:28:51 Adlai: mine used to look like that: (add-to-list 'slime-lisp-implementations '(sbcl ("/home/pl/root/clbuild/clbuild --implementation sbcl lisp"))) 09:29:00 (except with more implementations) 09:29:14 *Adlai* is not a fan of add-to-list 09:31:11 Adlai: well, thanks to your snippet, I can treat it to to http://nukeitfromorbit.com ;-) 09:32:42 great 09:33:34 (though that picture is wrong for good ol' nuking from orbit - it shows an airburst) 09:34:04 tcr [~tcr@host146.natpool.mwn.de] has joined #lisp 09:34:59 -!- pevaneyn1 [~pevaneyn@222-59-191-193.dhcp4.fosdem.net] has quit [Ping timeout: 260 seconds] 09:39:46 -!- mishoo [~mishoo@79.112.117.160] has quit [Ping timeout: 248 seconds] 09:42:26 Adlai annotated #94514 "fun with gethash" at http://paste.lisp.org/display/94514#1 09:45:29 -!- arthurschopenhau [~quassel@129.123.242.224] has quit [Remote host closed the connection] 09:48:11 drewc, I used a hash table first, actually, but when I thought one step ahead on how to do the sorting, I went the other route. 09:48:39 tic, alexandria:hash-table-foo could help with the sorting 09:49:18 I'd need to extract a list that looked the same as what I have now to apply sort to it. Or is there some other (in :CL) function I can use that operates on hashes that would be applicable? 09:49:45 Adlai, language example, so no external packages. thanks for the tip though. 09:51:59 dstatyvka [ejabberd@pepelaz.jabber.od.ua] has joined #lisp 09:53:47 mishoo [~mishoo@79.112.117.160] has joined #lisp 09:54:08 slash_ [~Unknown@whgeh0250.cip.uni-regensburg.de] has joined #lisp 09:55:10 Adlai annotated #94514 "more fun loops" at http://paste.lisp.org/display/94514#2 09:55:15 b4|hraban [~b4@a83-163-41-120.adsl.xs4all.nl] has joined #lisp 09:55:35 *Adlai* gets back to work :( 09:56:25 -!- plutonas [~plutonas@port-92-195-82-214.dynamic.qsc.de] has quit [Ping timeout: 260 seconds] 09:57:45 pevaneyn [~pevaneyn@222-59-191-193.dhcp4.fosdem.net] has joined #lisp 10:01:41 oh, thanks! didn't notice it was my paste. 10:02:38 -!- Phoodus [foo@97-124-117-72.phnx.qwest.net] has quit [Read error: Connection reset by peer] 10:02:56 unicode [~user@95.214.58.19] has joined #lisp 10:03:00 Ah! gethash has default values. I'd forgotten about it, and it was one of the things that really itched but I couldn't set my finger on it. Goodei. 10:03:50 re the fun loops: that is what I'd do, but it looked too ugly. With #'gethash's default values, it's better. 10:07:16 *Adlai* glad to help :) 10:09:34 timor [~timor@port-87-234-97-27.dynamic.qsc.de] has joined #lisp 10:09:42 I'm happy you are! 10:13:59 gulash [~root@81.198.243.236] has joined #lisp 10:14:28 freiksenet [~freiksene@hoasnet-fe29dd00-202.dhcp.inet.fi] has joined #lisp 10:15:19 If I'm in some (let ((mycount 0)), doing a lots of things, and then wanting to return mycount in the end, how do I? 10:15:54 -!- timor [~timor@port-87-234-97-27.dynamic.qsc.de] has quit [Ping timeout: 240 seconds] 10:16:15 timor [~timor@port-87-234-97-138.dynamic.qsc.de] has joined #lisp 10:16:32 gulash: type mycount. 10:16:45 gulash: The value of a let form is the value of the last form in the body. 10:16:53 demmeln [~Adium@dslb-094-216-087-120.pools.arcor-ip.net] has joined #lisp 10:18:30 -!- unicode [~user@95.214.58.19] has quit [Ping timeout: 272 seconds] 10:19:09 Hmm, yeah. Dunno I thought I need to capture every form in parentheses.. 10:19:56 Those are called compound forms. 10:24:15 But a form can also be a variable or a self-evaluating object. 10:25:20 hi, beach 10:25:25 hello tic 10:25:34 how are you this fine day? 10:25:47 tic: Not too bad, thanks. What about yourself? 10:26:12 beach, pretty okay, I think! Seems like I might resume my thesis, which means Lisp hacking again. Joy! 10:26:24 Excellent! 10:33:14 Jabberwockey [~jens@port-14395.pppoe.wtnet.de] has joined #lisp 10:40:12 . 10:41:00 It this a reasonable way to figure if a number is a prime or not: http://paste.lisp.org/display/94517 10:42:14 probably not. 10:42:44 Any reasons why, and how to do it better? 10:43:04 jsoft: Instead of (+ x 1) use (1+ x). Instead of (= x 0) use (zerop x). Instead of (if x y) use (when x y). 10:43:20 Zephyrus [~emanuele@unaffiliated/zephyrus] has joined #lisp 10:43:28 Soulman [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 10:43:40 jsoft: You stop when you reach (sqrt num). 10:43:56 Yah true 10:43:56 Why is there incf, not just inc? 10:44:00 you could use isqrt, instead of sqrt 10:44:04 varjag [~eugene@226.119.202.84.customer.cdi.no] has joined #lisp 10:44:16 bear in mind I have only really just started learning lisp 10:44:29 so knowing all these functions and shorter ways is all new 10:44:36 gulash, there are a bunch of macros which modify places, and their names end with an 'f' -- setf, incf, rotatef, etc 10:44:37 will make those changes though. 10:44:42 jsoft: sure, that's why I am telling you. 10:44:48 Thanks 10:45:38 jsoft: Also, start by testing if num is 2. If not, you only have to test odd numbers in what follows. 10:46:28 daniel_ [~daniel@p5082C397.dip.t-dialin.net] has joined #lisp 10:47:09 cutting it in half 10:47:11 hmm 10:47:39 jsoft: Then return false as soon as you find that (mod num x) is 0. No need to count. 10:48:13 True. 10:48:41 -!- Tordek [tordek@gateway/shell/blinkenshell.org/x-lrgomrwxyzzmghhr] has quit [Ping timeout: 260 seconds] 10:49:09 etate [~cmalune@mon69-4-82-228-201-242.fbx.proxad.net] has joined #lisp 10:49:23 jsoft: Those modifications should keep you busy for a while. 10:49:54 jsoft: Oh, wait, one more: use three `;' at the top level. 10:50:12 jsoft: And indent your code correctly. 10:50:13 -!- daniel [~daniel@p5082B483.dip.t-dialin.net] has quit [Ping timeout: 264 seconds] 10:50:19 -!- Foofie is now known as Fufie 10:51:22 clhs 2.4.4.2.5 10:51:22 http://www.lispworks.com/reference/HyperSpec/Body/02_ddbe.htm 10:51:33 jsoft, check that link for commenting style 10:51:46 hey ppl, anyone got much experience with TAL templating in Yaclml? 10:52:44 -!- timor [~timor@port-87-234-97-138.dynamic.qsc.de] has quit [Ping timeout: 246 seconds] 10:52:53 got a template caching problem :< 10:53:17 beach: im just using whatever emacs uses 10:53:19 :/ 10:53:22 (for indenting) 10:53:30 but thanks, will look 10:53:30 jsoft: I doubt that. 10:54:06 *shrug* 10:54:10 reprore [~reprore@ntkngw356150.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #lisp 10:55:05 jsoft: Oh, wait, we have had problems with lisppaste messing up indentation, as I recall. 10:55:15 the indentation looks fine to me 10:55:34 Adlai: What browser do you use? 10:55:55 beach, Conkeror, which is based on the same mozilla backend as firefox 10:56:18 Adlai: You are right, when I paste the code into Emacs, it looks fine. That is really annoying. 10:56:36 jsoft: Sorry about that. It appears to be my browser that messes things up. 10:56:46 beach, which browser does that? 10:56:52 Firefox. 10:58:16 Adlai: It seems to mess up when there is a TAB. 10:59:45 francogrex [~user@187.103-200-80.adsl-dyn.isp.belgacom.be] has joined #lisp 11:00:37 oh, #\Tab is lots of fun for indentation... jsoft, M-x customize-variable indent-tabs-mode 11:00:52 make sure it's off, and stays that way. 11:00:53 Hmm, am I the only one having this problem with Firefox? 11:01:47 Hi, mucking around with serialization here (now the fashion for me). I'm trying cl-store 11:02:09 anyone tried those? 11:03:03 it works fine. but was wondering if functions as such can be serialized somehow 11:03:05 spearalot [~spearalot@192.165.126.74] has joined #lisp 11:03:56 jmbr [~jmbr@167.32.220.87.dynamic.jazztel.es] has joined #lisp 11:06:12 drewc: ping 11:07:02 timor [~timor@port-87-234-97-27.dynamic.qsc.de] has joined #lisp 11:12:19 the only way I found it can work is like this (cl-store:store '(defun add (x y) (+ x y)) "c:/tes2t.txt") meaning saving the whole symbol 11:12:31 and then : (eval (cl-store:restore "c:/test2.txt")) 11:12:37 but that's not ideal 11:14:52 francogrex, compiled functions have an implementation-dependant representation, so you'll have to use nonportable means (or just store the source like you did). pkhuong has a library that does this for SBCL, described at www.pvk.ca/Blog/Lisp/CommonCold/ 11:15:32 hm, I can't load the link, but the google cached page links to http://www.discontinuity.info/~pkhuong/common-cold/ 11:16:53 ziggurat [~quassel@pool-173-71-25-61.dllstx.fios.verizon.net] has joined #lisp 11:17:23 Adlai; lovely thanks, I got it 11:18:20 "SERIALISABLE-CLOSURES" 11:21:20 plutonas [~plutonas@port-92-195-41-140.dynamic.qsc.de] has joined #lisp 11:21:34 -!- demmeln [~Adium@dslb-094-216-087-120.pools.arcor-ip.net] has quit [Quit: Leaving.] 11:22:09 fiveop [~fiveop@g229112166.adsl.alicedsl.de] has joined #lisp 11:23:49 -!- freiksenet [~freiksene@hoasnet-fe29dd00-202.dhcp.inet.fi] has quit [Remote host closed the connection] 11:23:58 -!- grouzen [~grouzen@91.214.124.2] has quit [Ping timeout: 258 seconds] 11:27:02 ok discoveries on tha way. STANDARD-EFFECTIVE-SLOT-DEFINITION is defined in mop. If my implementation doesn't have mop, is it easy to add it? 11:27:32 -!- jmbr [~jmbr@167.32.220.87.dynamic.jazztel.es] has quit [Ping timeout: 272 seconds] 11:28:01 is it in Closer? 11:29:29 francogrex, see for yourself -- http://common-lisp.net/project/closer/darcs/closer-mop/features.txt 11:39:04 well, it's supposed to work, but i get this: # is not of type LIST 11:39:22 -!- saikatc [~saikatc@c-98-210-192-23.hsd1.ca.comcast.net] has quit [Quit: saikatc] 11:44:51 grouzen [~grouzen@91.214.124.2] has joined #lisp 11:47:14 Tordek [tordek@gateway/shell/blinkenshell.org/x-kjtwbqcodueagpaq] has joined #lisp 11:48:13 Joreji [~thomas@81-014.eduroam.RWTH-Aachen.DE] has joined #lisp 11:53:39 anton_v [~Miranda@93.125.49.66] has joined #lisp 11:54:00 jmbr [~jmbr@167.32.220.87.dynamic.jazztel.es] has joined #lisp 11:54:56 are there functions to operate on a list of the form (:key1 val1 :key2 val2) 11:55:04 so not really alists 11:55:59 PissedNumlock: yes. those are often called plists. 11:56:20 PissedNumlock: getf is one 11:57:15 PissedNumlock: (destructuring-bind (&key key1 key2) list ...) can also be useful 12:14:21 -!- Jabberwockey [~jens@port-14395.pppoe.wtnet.de] has quit [Ping timeout: 276 seconds] 12:14:21 -!- Soulman [~kvirc@154.80-202-254.nextgentel.com] has quit [Read error: Connection reset by peer] 12:14:35 Soulman [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 12:15:22 rdd` [~rdd@c83-250-52-182.bredband.comhem.se] has joined #lisp 12:16:53 clhs make-pathname 12:16:53 http://www.lispworks.com/reference/HyperSpec/Body/f_mk_pn.htm 12:17:01 -!- Soulman [~kvirc@154.80-202-254.nextgentel.com] has quit [Read error: Connection reset by peer] 12:17:24 Soulman [~kvirc@154.80-202-254.nextgentel.com] has joined #lisp 12:17:36 DrunkTomato [~DEDULO@ext-gw.wellcom.tomsk.ru] has joined #lisp 12:19:33 -!- anton_v [~Miranda@93.125.49.66] has quit [Read error: Connection reset by peer] 12:20:19 -!- gemelen [~shelta@shpd-78-36-177-163.static.vologda.ru] has quit [Quit: I wish the toaster to be happy, too.] 12:23:27 -!- francogrex [~user@187.103-200-80.adsl-dyn.isp.belgacom.be] has quit [Remote host closed the connection] 12:23:41 -!- timor [~timor@port-87-234-97-27.dynamic.qsc.de] has quit [Ping timeout: 240 seconds] 12:25:42 frodef [~frode@shevek.netfonds.no] has joined #lisp 12:26:08 'morning, #lisp. 12:26:50 mathrick pasted "CCL and wild directories woes" at http://paste.lisp.org/display/94521 12:27:01 can someone explain that? 12:27:39 as far as I can understand pathnames (where exactly are things like the (:absolute "foo" "bar") syntax explained anyway? My CLHS refuses to yield), it should work 12:27:41 but doesn't 12:27:52 clearly SBCL agrees and does what I mean 12:28:13 morning frodef 12:30:44 frodef: it's interesting to see you here, but not in #movitz, does it mean it's officially dead? 12:31:00 benny [~benny@i577A7BB1.versanet.de] has joined #lisp 12:31:36 mathrick: no, it means my emacs just died and I just fire up erc buffers as I think of them.. :) 12:32:09 *mathrick* hands frodef an auto-join list 12:32:35 -!- OmniMancer [~OmniMance@219-89-94-56.jetstart.xtra.co.nz] has quit [Quit: Leaving.] 12:32:36 thanks. 12:33:48 -!- Soulman [~kvirc@154.80-202-254.nextgentel.com] has quit [Read error: Connection reset by peer] 12:34:07 timor [~timor@port-87-234-97-138.dynamic.qsc.de] has joined #lisp 12:34:07 hm.. there was already an auto-join including #lisp and #movitz there, but I guess it doesn't work for whatever reason. 12:34:14 Odin- [~sbkhh@s121-302.gardur.hi.is] has joined #lisp 12:34:40 I don't think figuring out that problem is worth the effort. 12:35:08 mathrick, you should use CL-FAD if you want to portably frob pathnames 12:35:27 mathrick: Can't help you with the pathnames thing, I'm afraid. 12:35:40 mathrick, CCL has some keyword arguments to #'directory, and you have to provide a few to get _any_ results 12:36:03 Adlai: ARGH 12:36:09 minion, tell mathrick about cl-fad 12:36:10 mathrick: have a look at cl-fad: CL-FAD is a portable pathname library based on code from Peter Seibel's book Practical Common Lisp. http://www.cliki.net/cl-fad 12:36:17 it's Ediware! 12:36:29 Adlai: I can't load CL-FAD before I get ASDF working, and that was an attempt to load ASDF registry on windows 12:36:42 Adlai: also it's not, it's gigaware 12:36:49 edi is just maintaining it 12:37:14 The concept of pathnames seems good to me, but when there's no standardized translation to concrete systems (unix, windows, etc), the whole thing falls apart, it seems to me. 12:37:19 timor1 [~timor@port-87-234-97-27.dynamic.qsc.de] has joined #lisp 12:37:39 frodef: the whole thing is insanely complex and about as portable as frobbing strings 12:38:18 -!- timor [~timor@port-87-234-97-138.dynamic.qsc.de] has quit [Ping timeout: 240 seconds] 12:38:39 and yes, I know about the circumstances, but still the effect is hardly more portable than just declaring the whole area implementation-specific 12:39:48 well, in combination with #+read #-conditionals, it makes it doable to have portability layers like CL-FAD 12:40:07 Adlai: a fully implementation-specific interface would allow that just as well 12:40:17 right, but it would be a lot more work 12:40:32 and in addition wouldn't break horribly on things like "there's absolutely no way to manipulate symlinks" 12:41:30 -!- Joreji [~thomas@81-014.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 12:41:44 attila_lendvai [~ati@catv-89-134-66-143.catv.broadband.hu] has joined #lisp 12:42:18 Joreji [~thomas@81-014.eduroam.RWTH-Aachen.DE] has joined #lisp 12:43:25 merl15__ [~merl@80-121-8-132.adsl.highway.telekom.at] has joined #lisp 12:44:07 premature standardization? 12:44:13 yes 12:44:44 and a case of the standard trying to create existing practices in the face of a complete lack of consensus 12:44:47 -!- timor1 [~timor@port-87-234-97-27.dynamic.qsc.de] has quit [Quit: Leaving.] 12:44:50 timor [~timor@port-87-234-97-27.dynamic.qsc.de] has joined #lisp 12:45:00 granted, it's better than any part of C++ for example, but that's not saying much 12:47:30 -!- merl15_ [~merl@80-121-67-142.adsl.highway.telekom.at] has quit [Ping timeout: 276 seconds] 12:47:38 alley_cat [~AlleyCat@sourcemage/elder/alleycat] has joined #lisp 12:48:49 carlocci [~nes@93.37.220.97] has joined #lisp 12:50:40 -!- etate [~cmalune@mon69-4-82-228-201-242.fbx.proxad.net] has quit [] 12:54:53 -!- kglovern [~kglovern@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 12:56:35 kglovern [~kglovern@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has joined #lisp 12:56:52 c|mell [~cmell@217.41.233.194] has joined #lisp 12:59:14 -!- ziggurat [~quassel@pool-173-71-25-61.dllstx.fios.verizon.net] has quit [Remote host closed the connection] 13:00:34 -!- rdd` [~rdd@c83-250-52-182.bredband.comhem.se] has quit [Read error: Operation timed out] 13:01:37 -!- jsoft [~user@unaffiliated/jsoft] has quit [Ping timeout: 264 seconds] 13:01:41 bgs100 [~ian@unaffiliated/bgs100] has joined #lisp 13:01:53 spradnyesh [~pradyus@122.167.80.193] has joined #lisp 13:02:11 bgs101 [~ian@unaffiliated/bgs100] has joined #lisp 13:02:18 -!- c|mell [~cmell@217.41.233.194] has quit [Ping timeout: 265 seconds] 13:08:20 -!- bgs101 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 13:15:49 Morbeo [myrlochar@91.92.170.132] has joined #lisp 13:16:44 LiamH [~nobody@pool-151-200-241-193.res.east.verizon.net] has joined #lisp 13:16:55 Adlai` [~adlai@unaffiliated/adlai] has joined #lisp 13:17:00 -!- Sands [myrlochar@91.92.170.132] has quit [Ping timeout: 252 seconds] 13:19:14 Sands [myrlochar@91.92.170.132] has joined #lisp 13:19:37 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Remote host closed the connection] 13:21:38 lichtblau [~user@port-92-195-28-248.dynamic.qsc.de] has joined #lisp 13:22:25 -!- Morbeo [myrlochar@91.92.170.132] has quit [Ping timeout: 258 seconds] 13:25:50 -!- Beetny [~Beetny@ppp121-45-25-137.lns20.adl2.internode.on.net] has quit [Read error: Connection reset by peer] 13:28:09 moah [~gnu@dslb-188-101-019-169.pools.arcor-ip.net] has joined #lisp 13:37:26 -!- Adlai` is now known as Adlai 13:37:55 wlr [~walt@c-65-96-92-150.hsd1.ma.comcast.net] has joined #lisp 13:38:03 -!- jmbr [~jmbr@167.32.220.87.dynamic.jazztel.es] has quit [Remote host closed the connection] 13:38:52 -!- wlr [~walt@c-65-96-92-150.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 13:43:38 dozu [~a@212.89.209.93] has joined #lisp 13:44:30 -!- dozu [~a@212.89.209.93] has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )] 13:47:36 demmeln [~Adium@dslb-094-216-043-145.pools.arcor-ip.net] has joined #lisp 13:48:59 hugod [~hugod@bas1-montreal50-1279440906.dsl.bell.ca] has joined #lisp 13:49:07 *Xach* is almost ready to hug logical pathnames -- *almost* 13:49:15 AndChat| [~AndChat@166.133.93.102] has joined #lisp 13:50:03 francogrex [~user@187.103-200-80.adsl-dyn.isp.belgacom.be] has joined #lisp 13:50:28 alland [~thomas@ti0014a380-1092.bb.online.no] has joined #lisp 13:51:30 -!- rlb3 [~AndChat@70-140-33-120.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 240 seconds] 13:53:48 longkid [~lisp@113.22.128.253] has joined #lisp 13:54:06 hello 13:54:34 hey 13:55:07 If I want to return something at the end of one function, how can I do? 13:56:02 wlr [~walt@c-65-96-92-150.hsd1.ma.comcast.net] has joined #lisp 13:56:43 if whatever is at the end of a function it is automatically returned 13:56:46 the value of the last form in the function body will be returned. 13:57:08 ASau [~user@83.69.227.32] has joined #lisp 13:57:14 leo2007 [~leo@smaug.linux.pwf.cam.ac.uk] has joined #lisp 13:57:26 if you want multiple values returned one option is put them in a list 13:57:46 francogrex: yes 13:58:27 dwim.hu is a little bit rough to navigate 13:58:34 http://www.psg.com/~dlamkins/sl/chapter03-09.html 13:58:55 there are great libraries there but it could benefit from having a downloadable tarball optionfor each 13:59:02 for ex, I define a list like this: (let ((result '())) (result)) will return result list. Right? 13:59:18 -!- potatishandlarn [~potatisha@79.102.4.68] has quit [] 13:59:30 francogrex, that's not exactly right -- you return multiple values using VALUES or VALUES-LIST 13:59:48 rlb3 [~AndChat@70-140-33-120.lightspeed.hstntx.sbcglobal.net] has joined #lisp 13:59:50 longkid, you don't need parentheses around result when you want to get its value 14:00:43 Adlai: how's about my define statement? (let ((result '()))...) 14:00:44 -!- DrunkTomato [~DEDULO@ext-gw.wellcom.tomsk.ru] has quit [Read error: Connection reset by peer] 14:00:50 Adlai, putting them in a list is just as good 14:00:51 Adlai: is it correct? 14:01:11 pjb [~t@131.Red-79-149-89.staticIP.rima-tde.net] has joined #lisp 14:01:38 longkid, what do you expect that to do? the syntax looks good. 14:01:48 it's a same concept of C returning structs or pointers 14:01:58 except you dont really have to quote the empty list. 14:02:06 DrunkTomato [~DEDULO@ext-gw.wellcom.tomsk.ru] has joined #lisp 14:02:07 francogrex, not really -- if you return a list, you're returning one value. if you return multiple values, you're returning a few distinct values. 14:02:16 -!- AndChat| [~AndChat@166.133.93.102] has quit [Ping timeout: 245 seconds] 14:02:39 also, any decent lisp will implement multiple value returns using the stack, rather than allocating containers (such as lists or structs) on the heap 14:02:56 or registers. 14:03:35 Adlai: I'm writing a function. In this func, firstly I define a empty list. After that, I append that list. Finally, I want to return that list at the end of this func. 14:03:57 pjb, right, although I'd like to see an ANSI-compliant lisp that could return #.multiple-value-limit values in registers :) 14:04:52 longkid, yep, that LET form binds the variable to the empty list 14:04:57 Adlai: I hear x86_64 has a lot of registers, and RISC processors do, eg. MMIX has 256 registers! :-) 14:05:57 pjb, yeah, I guess it's possible on a RISCier machine. x86_64 only has 16 registers, though, and x86 has _eight_ :( 14:06:06 Thanks. What is the meaning of 'finally' keyword used in loop macro? 14:06:22 to return something at the end 14:06:23 longkid: it is executed before the loop exits, when it has to exit. 14:06:30 it is only called when the loop ends 14:06:42 :finally (complete-work) (return something) 14:06:44 clhs 6.1.7.2 14:06:44 http://www.lispworks.com/reference/HyperSpec/Body/06_agb.htm 14:06:48 longkid, see that page ^ 14:07:21 (or what PissedNumlock and pjb said) 14:07:37 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 14:09:42 tabbot [~root@202.83.43.89] has joined #lisp 14:11:51 Thanks. I understood. 14:11:59 abugosh [~Adium@216-164-114-53.c3-0.tlg-ubr3.atw-tlg.pa.cable.rcn.com] has joined #lisp 14:13:17 Adlai: (let ((result '())) result) == (let ((result '())) (return-from nil result)) 14:13:28 Adlai: are they equivalent? 14:14:00 Adlai: and practically what's the diffrence? I don't see any 14:14:34 AndChat| [~AndChat@166.188.54.129] has joined #lisp 14:15:31 longkid: no 14:15:47 -!- tabbot [~root@202.83.43.89] has left #lisp 14:16:00 what's the difference btw them? 14:16:05 longkid: the first form is self-contained, it just has the value (). the second jumps out to the enclosing block named NIL, returning () from that 14:16:06 longkid, you need to establish a BLOCK to be able to RETURN or RETURN-FROM 14:16:09 clhs block 14:16:09 http://www.lispworks.com/reference/HyperSpec/Body/s_block.htm 14:16:26 -!- rlb3 [~AndChat@70-140-33-120.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 245 seconds] 14:16:42 look a quick an practical solution put them ina list, there is nothing to lose 14:16:43 longkid: if you know c/java/javascript/etc then return-from nil (or return, which is equivalent) is pretty much like that, except that the blocks are not established by defining functions but other things 14:16:52 for example, LOOP establishes a block-named-NIL 14:17:37 -!- spradnyesh [~pradyus@122.167.80.193] has quit [Ping timeout: 258 seconds] 14:18:18 (defun abc () (let ((result '())) (return-from nil result))) 14:18:28 Adlai pasted "values vs list" at http://paste.lisp.org/display/94524 14:18:29 this is my function 14:18:42 francogrex, look at the examples there, specifically the one at the end using FLOOR 14:18:50 longkid: that defun puts block named abc around the body 14:19:01 longkid: so you can (return-from abc result) 14:19:23 longkid: but there is no point in using return-from there since the result can be returned normally, unless the real function is more complicated 14:19:54 floor is a different story 14:20:08 that does return multiole values 14:20:09 spradnyesh [~pradyus@nat/yahoo/x-icchpalzbghijfpe] has joined #lisp 14:20:33 -!- Tordek [tordek@gateway/shell/blinkenshell.org/x-kjtwbqcodueagpaq] has quit [Ping timeout: 260 seconds] 14:20:47 if it returned a list, then you work on the car and cadr of tha list what's the problem? 14:21:19 kpreid: so what I should to do is (defun abc () (let ((result '())) result)). Right? 14:21:44 longkid: well, "yes" except that the proper way to write *that function* is (defun abc () '()) 14:21:51 longkid; ur function is meaningless 14:21:57 longkid, yes, I'm assuming that you want to have some computation in the middle 14:22:19 -!- pevaneyn [~pevaneyn@222-59-191-193.dhcp4.fosdem.net] has quit [Quit: Leaving.] 14:22:37 longkid: if you have (defun abc () (let ((result '())) ...do stuff with result... result)) then that is good 14:22:52 gives us a real function that you need and we'll help you retuen the values, me ina list and dalia as multiple values and we'll see what's best 14:23:17 sorry thatw as Adlai (dyslexia here) 14:23:19 "dalia"???? 14:23:24 sorry again 14:23:26 OK. I'll give you my whole function. 14:23:34 dozu [~a@212.89.209.93] has joined #lisp 14:23:39 u know lisppsate right paste there 14:23:44 francogrex, tab completion helps against misspelling people's nicks 14:24:08 I have slyspell-mode but not install on this PC now i'm on linux 14:24:28 don't take it hard it's a typo 14:24:33 rlb3 [~AndChat@70-140-33-120.lightspeed.hstntx.sbcglobal.net] has joined #lisp 14:24:48 yes i'll use lisppaste 14:24:52 what are you using? irssi and ERC both offer tab completion 14:24:56 lisppaste, url? 14:24:56 To use the lisppaste bot, visit http://paste.lisp.org/new/lisp and enter your paste. 14:25:08 Adlai: yes I know 14:25:41 I'm using erc and it's ok with tab comletion, it's the flyspell mode that protects you against my misspelling in general i don't have it know 14:26:05 -!- nowhere_man [~pierre@lec67-4-82-235-57-28.fbx.proxad.net] has quit [Read error: Operation timed out] 14:26:29 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 14:27:16 -!- AndChat| [~AndChat@166.188.54.129] has quit [Ping timeout: 245 seconds] 14:27:46 longkid pasted "Return a list from a function" at http://paste.lisp.org/display/94526 14:28:10 jleija [~jleija@adsl-91-4-159.chs.bellsouth.net] has joined #lisp 14:28:44 that's a whole code, where is the problematic function 14:30:19 longkid, you never modify the value of result 14:30:21 Pls. look at the strategy2 func. I want to return a list named result. Is that function correct? 14:30:22 clhs append 14:30:23 http://www.lispworks.com/reference/HyperSpec/Body/f_append.htm 14:30:27 it's a side-effect free function 14:30:41 ok 14:31:10 in the middle of loop macro, I want to append the result list. 14:31:30 longkid, read how the function APPEND works; it doesn't do what you think. 14:32:12 (defun test () (let ((result nil)) (loop repeat 10 do (push (random 1.0) result)) result)) 14:32:30 just a simple example 14:32:37 Adlai: I see. So how can I modify that list? 14:33:03 see above 14:33:31 also try (loop for i from 1 to 10 when (oddp i) collect i) 14:33:34 longkid, you need to set back into the result variable. francogrex's example, using push, is one way. 14:33:43 although my function is bullshit, it's just to demonstraret 14:34:09 you can as simpley using the loop and collect and forget results altogether 14:34:12 and (loop for i from 1 to 10 when (oddp i) collect i into foo finally (return foo)) 14:34:22 francogrex: :-D 14:35:35 Dodek: so in my func, I just collect cell into result. RIght? 14:36:24 can't you just write (loop for i from 1 to 10 when (oddp i) collect i) 14:37:23 -!- legumbre_ is now known as legumbre 14:37:41 morphling [~stefan@gssn-5f7569bf.pool.mediaWays.net] has joined #lisp 14:38:31 longkid: you can just collect cells without using 'result' variable 14:39:25 -!- Sands is now known as Morbeo 14:40:07 Dodek: but what i want to do is return a list. 14:40:20 (loop for i from 1 to 10 when (oddp i) collect i) 14:40:27 just run this code and see what happens 14:41:06 fisxoj [~fisxoj@softbank221066001155.bbtec.net] has joined #lisp 14:41:29 Dodek: (loop for i from 1 to 10 by 2 collect i) 14:41:45 Good afternoon! 14:42:05 Dodek: yes. I done. 14:42:15 hey longkid 14:42:31 beach: hello 14:42:58 longkid: When does Tet start? 14:43:08 -!- dozu [~a@212.89.209.93] has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )] 14:43:24 -!- spearalot [~spearalot@192.165.126.74] has left #lisp 14:43:37 beach: the purpose of that code was not to collect odd numbers, but to show particular features of LOOP macro 14:43:38 beach: at the next Sunday (Valentine day) 14:43:51 Dodek: Oh, yeah, sorry. 14:44:29 longkid: so, you see, you can do something like (loop for cell across ... when (test cell) collect cell) 14:44:30 potatishandlarn [~potatisha@c-4f666325-74736162.cust.telenor.se] has joined #lisp 14:44:45 longkid: and it will collect only those cells which satisfy test 14:45:09 longkid: I see. 14:45:13 marioxcc [~user@200.92.23.60] has joined #lisp 14:45:13 Dodek: I see. Thanks 14:45:14 -!- fda314925 [~fda314925@121.124.124.117] has quit [Remote host closed the connection] 14:45:29 longkid: also I know your code u posted is ok, but would be better to alos give a demonstration (like what would the function do): ex (strategy-2 ) 14:45:41 yes, when and if without the parens allow loop clauses. Also (loop do ... until (test ...))) works 14:45:41 fda314925 [~fda314925@121.124.124.117] has joined #lisp 14:46:02 davazp [~user@165.Red-83-46-5.dynamicIP.rima-tde.net] has joined #lisp 14:46:21 loxs [~loxs@78.90.124.181] has joined #lisp 14:46:33 afternoon beach 14:46:37 -!- Younder [~jthing@233.159.202.84.customer.cdi.no] has quit [Quit: Leaving] 14:47:15 hey mathrick. What's up? 14:47:16 beach: I'm testing the first two strategy. I have to modify the strategy1 after encountering an error. But I don't know the reason of that error. 14:47:40 longkid: An error as in the strategy not doing what it is supposed to, or an execution error? 14:48:05 beach: hey, quite a bit. I'm in PL this week, was attending my grandpa's funeral 14:48:18 mathrick: Sorry for you loss. 14:48:37 -!- abugosh [~Adium@216-164-114-53.c3-0.tlg-ubr3.atw-tlg.pa.cable.rcn.com] has quit [Quit: Leaving.] 14:49:44 beach: thanks. Thankfully we all had time to prepare, him included, that makes it easier to deal with. And I was lucky to have all of my grandparents for so long 14:49:46 beach: that is an execution error. 14:49:56 Adlai` [~adlai@unaffiliated/adlai] has joined #lisp 14:50:18 -!- merl15__ [~merl@80-121-8-132.adsl.highway.telekom.at] has quit [Ping timeout: 240 seconds] 14:50:21 longkid: paste the backtrace here, and someone will probably see what it is. 14:51:06 not here, in lisppaste 14:51:10 lisppaste: paste 14:51:24 erh, what was the spell now 14:51:26 beach: I put only strategy1 func or the whole file? 14:51:28 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Disconnected by services] 14:51:29 -!- Adlai` is now known as Adlai 14:51:31 lisppaste: help paste 14:51:32 right, lisppaste 14:51:44 lisppaste: FINE, YOU SIT HERE SAYING NOTHING 14:52:08 lisppaste, url? 14:52:08 To use the lisppaste bot, visit http://paste.lisp.org/new/lisp and enter your paste. 14:52:08 longkid: You can lisppaste the entire file, but more importantly, you must also paste the backtrace of the stack when the error occurs. 14:52:51 lisppaste: I need to go spend some time with my (admittedly small) family. 14:52:51 nowhere_man [~pierre@lec67-4-82-235-57-28.fbx.proxad.net] has joined #lisp 14:53:13 -!- Davidbrcz [david@212-198-83-2.rev.numericable.fr] has quit [Ping timeout: 264 seconds] 14:53:53 Perhaps lisppaste: keywords... could be used to search a paste with those keywords? 14:54:03 that would be very nice 14:54:08 freiksenet [~freiksene@hoasnet-fe29dd00-202.dhcp.inet.fi] has joined #lisp 14:54:11 or some search box on paste.lisp.org 14:54:23 I just needed to find a paste yesterday and couldn't 14:54:25 beach: what 's the backtrace of the stack? Is that the error message? 14:54:35 longkid: yes 14:54:44 mathrick: google: site:paste.lisp.org keywords... 14:55:31 longkid: including all the information Lisp gives you in addition to the error itself. That is precisely the backtrace most of the time, ie. information about where the execution point was at the time of the error 14:57:05 what's the sbcl equivalent for special-variable-p ? 14:57:28 -!- jan247 [~jan247@unaffiliated/jan247] has left #lisp 14:58:39 francogrex: SB-CLTL2:VARIABLE-INFORMATION, but where did you find SPECIAL-VARIABLE-P? 14:59:41 it's in Symbolics 15:00:47 longkid pasted "Backtrace" at http://paste.lisp.org/display/94527 15:01:10 mathrick: is that the backtrace? 15:01:23 longkid: yes, it's even labelled "Backtrace:" :) 15:01:52 longkid: and without looking at what exactly your problem is, are you trying to use NTH somewhere where you should use ELT perhaps? 15:02:26 the problem is you have a value which is an array (that's what #() means), and something is expecting a list 15:04:17 jimster [~jimster@cpe-70-116-158-133.tx.res.rr.com] has joined #lisp 15:05:25 mathrick: "Return a list from a function" at http://paste.lisp.org/display/94526 15:05:31 More precisely #() is a vector #A() would be an array (but vectors are arrays). 15:06:04 mathrick: Please look at the strategy1 function. 15:06:10 -!- loxs [~loxs@78.90.124.181] has quit [Quit: Leaving] 15:06:12 Blkt [~user@dynamic-adsl-94-37-238-32.clienti.tiscali.it] has joined #lisp 15:06:51 mathrick: at the line of (let ((cell (aref ambiguous-cells 0))) 15:08:05 If I use (let ((cell (first ambiguous-cells))), the previous error will occur 15:08:06 Modius [~Modius@cpe-70-123-130-159.austin.res.rr.com] has joined #lisp 15:09:14 And when I use (let ((cell (aref ambiguous-cells 0))), everything is OK. 15:11:24 longkid: how is that surprising? FIRST is a list accessor, AREF is an array accessor 15:11:35 you could also call (first 10) and it'd be just as invalid 15:12:08 and Lisp tells you that, too. "X is not a list" is pretty explicit 15:13:53 mathrick: So in this case, I should use AREF at the place of that line? 15:14:23 if what you're manipulating is an array, then yes, obviously 15:14:35 longkid: please think, don't just wait for someone to tell you what to do 15:15:25 mathrick: Ah. Now I understood. B/c ambiguous-cells is the sub-array of an array. So I have to use AREF to access the element of ambiguous-cells. 15:15:29 GrafZahl [~GrafZahl@dslb-094-222-083-156.pools.arcor-ip.net] has joined #lisp 15:15:57 dreish [~dreish@minus.dreish.org] has joined #lisp 15:17:08 -!- francogrex [~user@187.103-200-80.adsl-dyn.isp.belgacom.be] has quit [Remote host closed the connection] 15:17:54 -!- GrafZahl [~GrafZahl@dslb-094-222-083-156.pools.arcor-ip.net] has quit [Client Quit] 15:17:59 beach: I'm testing the strategy1 and strategy2. I'll write the strategy3. 15:18:22 kenjin2201 [~kenjin@220.120.43.80] has joined #lisp 15:19:25 -!- lukjad007 is now known as cabaret 15:20:44 jmbr [~jmbr@167.32.220.87.dynamic.jazztel.es] has joined #lisp 15:28:18 mstevens [~mstevens@eris.etla.org] has joined #lisp 15:29:07 -!- leo2007 [~leo@smaug.linux.pwf.cam.ac.uk] has quit [Quit: rcirc on GNU Emacs 23.0.60.1] 15:30:41 -!- Morbeo [myrlochar@91.92.170.132] has quit [Ping timeout: 265 seconds] 15:31:05 abugosh [~Adium@216-164-114-53.c3-0.tlg-ubr3.atw-tlg.pa.cable.rcn.com] has joined #lisp 15:31:41 -!- jimster [~jimster@cpe-70-116-158-133.tx.res.rr.com] has quit [Ping timeout: 246 seconds] 15:35:30 -!- fisxoj [~fisxoj@softbank221066001155.bbtec.net] has quit [Ping timeout: 240 seconds] 15:38:57 -!- Zephyrus [~emanuele@unaffiliated/zephyrus] has quit [Ping timeout: 260 seconds] 15:40:45 -!- jmbr [~jmbr@167.32.220.87.dynamic.jazztel.es] has quit [Remote host closed the connection] 15:44:08 -!- fe[nl]ix [~lacedaemo@pdpc/supporter/professional/fenlix] has quit [Quit: Valete!] 15:44:36 loxs [~loxs@78.90.124.181] has joined #lisp 15:45:02 parolang [~user@8e4a01246100775874c4f448e9887093.oregonrd-wifi-1261.amplex.net] has joined #lisp 15:45:47 -!- loxs [~loxs@78.90.124.181] has quit [Client Quit] 15:46:18 fe[nl]ix [~lacedaemo@pdpc/supporter/professional/fenlix] has joined #lisp 15:46:42 pevaneyn [~pevaneyn@162.202-242-81.adsl-dyn.isp.belgacom.be] has joined #lisp 15:47:53 loxs [~loxs@78.90.124.181] has joined #lisp 15:47:57 hello pevaneyn 15:48:30 kenpp [~kenpp@188-222-117-86.zone13.bethere.co.uk] has joined #lisp 15:51:14 AndChat| [~AndChat@32.171.231.127] has joined #lisp 15:52:16 -!- rlb3 [~AndChat@70-140-33-120.lightspeed.hstntx.sbcglobal.net] has quit [Ping timeout: 245 seconds] 15:52:36 -!- pevaneyn [~pevaneyn@162.202-242-81.adsl-dyn.isp.belgacom.be] has quit [Quit: Leaving.] 15:57:48 -!- longkid [~lisp@113.22.128.253] has left #lisp 16:04:35 Zephyrus [~emanuele@unaffiliated/zephyrus] has joined #lisp 16:06:04 -!- whoppix [~whoppix@ti0021a380-dhcp0832.bb.online.no] has quit [Quit: Leaving] 16:09:18 TDT [~user@173-17-83-225.client.mchsi.com] has joined #lisp 16:09:22 -!- prip [~foo@host175-122-dynamic.47-79-r.retail.telecomitalia.it] has quit [Read error: Connection timed out] 16:10:04 jewel [~jewel@41.28.6.61] has joined #lisp 16:10:18 prip [~foo@host175-122-dynamic.47-79-r.retail.telecomitalia.it] has joined #lisp 16:10:23 dozu [~a@212.89.209.93] has joined #lisp 16:11:45 knobo [~user@90.149.4.182] has joined #lisp 16:12:36 is there a controlcharacter in format for #\tab 16:13:35 -!- marioxcc is now known as marioxcc-AFK 16:13:44 no, because the spec doesn't require #\Tab to be supported 16:13:56 there is ~T however, which will produce tabulated output using spaces 16:14:25 so, pressing "C-q Tab" in emacs it the thing 16:14:56 knobo: or ~C and then passs #\Tab, or write a function cl-user::tab, then you could use ~/tab/ 16:15:16 -!- Adlai [~adlai@unaffiliated/adlai] has quit [Quit: homeward bound] 16:15:52 the spec does require #\Tab to be supported. 16:16:28 per 13.1.7 16:16:45 pevaneyn [~pevaneyn@162.202-242-81.adsl-dyn.isp.belgacom.be] has joined #lisp 16:20:13 -!- jewel [~jewel@41.28.6.61] has quit [Ping timeout: 264 seconds] 16:20:27 -!- abugosh [~Adium@216-164-114-53.c3-0.tlg-ubr3.atw-tlg.pa.cable.rcn.com] has quit [Quit: Leaving.] 16:20:44 -!- cabaret [~lukjadOO7@unaffiliated/lukjad007] has quit [Quit: rebooting] 16:21:31 Xach: only if the implementation has a tab character 16:22:10 -!- cmatei [~cmatei@95.76.26.166] has quit [Read error: Operation timed out] 16:22:50 stassats [~stassats@wikipedia/stassats] has joined #lisp 16:23:12 lukjad007 [~lukjadOO7@unaffiliated/lukjad007] has joined #lisp 16:25:18 -!- lukjad007 is now known as cabaret 16:26:21 cmatei [~cmatei@95.76.26.166] has joined #lisp 16:28:51 Krystof: http://bertrandmeyer.com/2010/02/06/reflexivity-and-other-pillars-of-civilization 16:29:20 Oh, sorry. I didn't read carefully enough. 16:31:57 fe[nl]ix: why? 16:33:17 Krystof: it's about IEEE 754 and NaNs. thought it might interest you 16:35:56 -!- Odin- [~sbkhh@s121-302.gardur.hi.is] has quit [Quit: Odin-] 16:37:09 Tordek [tordek@gateway/shell/blinkenshell.org/x-mimarhlixdmgxzxk] has joined #lisp 16:41:05 -!- marioxcc-AFK is now known as marioxcc 16:41:39 -!- cabaret [~lukjadOO7@unaffiliated/lukjad007] has quit [Quit: Backups are usually a good thing unless it's a sewer.] 16:42:52 gigamonkey [~gigamonke@adsl-99-2-148-193.dsl.pltn13.sbcglobal.net] has joined #lisp 16:43:08 lukjad007 [~lukjadOO7@unaffiliated/lukjad007] has joined #lisp 16:49:01 -!- kenjin2201 [~kenjin@220.120.43.80] has quit [Quit: Leaving] 16:54:26 -!- spradnyesh [~pradyus@nat/yahoo/x-icchpalzbghijfpe] has quit [Ping timeout: 248 seconds] 16:57:36 <[df]> is there a function to get the kind of a character according to a readtable? 16:57:56 mattrepl [~mattrepl@pool-72-83-118-99.washdc.fios.verizon.net] has joined #lisp 17:00:46 get-macro-character? 17:01:18 [df]: what's "kind"? 17:02:22 -!- mattrepl [~mattrepl@pool-72-83-118-99.washdc.fios.verizon.net] has quit [Ping timeout: 256 seconds] 17:02:32 <[df]> whitespace, constituent, macro, single/multiple escape or illegal 17:03:05 unfortunately not, I think there should 17:03:13 <[df]> ah, I believe the correct term is 'syntax type' 17:03:23 <[df]> ok, thanks 17:03:34 ignas [~ignas@ctv-79-132-160-221.vinita.lt] has joined #lisp 17:03:35 there's a costy kludgy way involving clever use of read-from-string 17:04:53 -!- kpreid [~kpreid@216-171-189-244.northland.net] has quit [Quit: kpreid] 17:05:12 like (eq (read-from-string (format nil "~C|~*~C" char)) '|) 17:05:20 to test for multiple escape 17:05:40 but there are so many details to get right that it's a fairly insane endeavor :-) 17:07:24 <[df]> yeah, I don't think I'll try that approach 17:08:07 Edward [Ed@AAubervilliers-154-1-6-194.w86-212.abo.wanadoo.fr] has joined #lisp 17:08:36 tcr pasted "get-character-syntax for [df]; sbcl specific" at http://paste.lisp.org/display/94531 17:10:15 Morbeo [myrlochar@91.92.170.132] has joined #lisp 17:10:23 -!- Joreji [~thomas@81-014.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 246 seconds] 17:10:34 [df]: More power to you if you create a portability library for it 17:12:24 Joreji [~thomas@82-244.eduroam.RWTH-Aachen.DE] has joined #lisp 17:18:12 -!- Joreji [~thomas@82-244.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 252 seconds] 17:18:33 -!- loxs [~loxs@78.90.124.181] has quit [Quit: Leaving] 17:19:31 -!- gulash [~root@81.198.243.236] has quit [Read error: Connection reset by peer] 17:19:53 Joreji [~thomas@82-244.eduroam.RWTH-Aachen.DE] has joined #lisp 17:25:03 rpg [~rpg@216.243.156.16.real-time.com] has joined #lisp 17:27:00 zoe [~quassel@c-174-51-110-214.hsd1.co.comcast.net] has joined #lisp 17:27:30 hai zoe 17:27:35 ^_^ 17:27:53 Now its time for some hardcore idling 17:29:01 mattrepl [~mattrepl@pool-72-83-118-99.washdc.fios.verizon.net] has joined #lisp 17:30:15 -!- prip [~foo@host175-122-dynamic.47-79-r.retail.telecomitalia.it] has quit [Read error: Operation timed out] 17:30:48 prip [~foo@host175-122-dynamic.47-79-r.retail.telecomitalia.it] has joined #lisp 17:33:47 dnolen [~dnolen@ool-18bc2fa9.dyn.optonline.net] has joined #lisp 17:34:11 I guess you could do that with complete reader (or hooking into implementations' reader if you can) 17:34:16 'morning 17:35:14 -!- mattrepl [~mattrepl@pool-72-83-118-99.washdc.fios.verizon.net] has quit [Ping timeout: 256 seconds] 17:35:41 mengu_ [~mengu@unaffiliated/mengu] has joined #lisp 17:35:57 Morning Fade 17:36:05 -!- Joreji [~thomas@82-244.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 260 seconds] 17:36:23 Joreji [~thomas@81-014.eduroam.RWTH-Aachen.DE] has joined #lisp 17:38:17 Adlai [~Adlai@unaffiliated/adlai] has joined #lisp 17:40:09 -!- mstevens [~mstevens@eris.etla.org] has quit [Read error: Operation timed out] 17:43:51 mstevens [~mstevens@eris.etla.org] has joined #lisp 17:45:05 hey guys. how can i proof 2 lists if they are equal or noth? 17:45:58 dozu: proof ? 17:46:16 or check? :) 17:46:34 clhs equal 17:46:34 http://www.lispworks.com/reference/HyperSpec/Body/f_equal.htm 17:47:20 ty 17:47:59 amnesiac [~amnesiac@p3m/member/Amnesiac] has joined #lisp 17:50:36 -!- AndChat| [~AndChat@32.171.231.127] has quit [Ping timeout: 245 seconds] 17:51:52 -!- _mace [~neil@c-67-188-1-34.hsd1.ca.comcast.net] has quit [Quit: leaving] 17:52:24 -!- zoe [~quassel@c-174-51-110-214.hsd1.co.comcast.net] has quit [Remote host closed the connection] 17:55:11 -!- mstevens [~mstevens@eris.etla.org] has quit [Ping timeout: 246 seconds] 17:56:27 gigabot: How do I know if two lists are equal? 18:02:34 pjb: he's not here. 18:03:00 If you want to play with him I can get him running in #gigabot. 18:04:19 No, it was just to see what it would think of dozu's question ;-) 18:05:23 lol 18:08:54 pjb: I don't think he can answer that one right now. But he does have a feature where you could have just said: 'gigabot: answer dozu' and he'd try to respond to the last thing dozu had said. 18:09:14 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 18:10:16 but in case if ill ask hime like what pjb said , he will answer me? :) 18:12:06 dozu: he's not in this channel at the moment. But otherwise, yes. 18:12:16 he's still under development so I've been testing him in #gigabot 18:12:24 i copy that gigamonkey. 18:12:55 sounds cool 18:22:00 -!- prip [~foo@host175-122-dynamic.47-79-r.retail.telecomitalia.it] has quit [Ping timeout: 252 seconds] 18:30:41 -!- Zephyrus [~emanuele@unaffiliated/zephyrus] has quit [Ping timeout: 260 seconds] 18:37:10 dtangren [~dtangren@2002:426c:96e4:0:21c:b3ff:fec3:dc47] has joined #lisp 18:37:53 legumbre_ [~leo@r190-135-28-2.dialup.adsl.anteldata.net.uy] has joined #lisp 18:39:28 rgawron [~rgawron@chello089079032023.chello.pl] has joined #lisp 18:40:01 -!- legumbre [~leo@r190-135-3-240.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 264 seconds] 18:40:09 jewel_ [~jewel@41.30.229.244] has joined #lisp 18:40:12 pjb: i have gotten 5 copies of your response so far 18:40:42 -!- dtangren [~dtangren@2002:426c:96e4:0:21c:b3ff:fec3:dc47] has left #lisp 18:42:42 Xach: you lucky one, I only have 4 18:43:17 -!- dnolen [~dnolen@ool-18bc2fa9.dyn.optonline.net] has quit [Quit: dnolen] 18:43:46 minion: more USENET! 18:43:46 usenet me harder 18:43:57 c|mell [~cmell@27-91.107-92.cust.bluewin.ch] has joined #lisp 18:44:51 dnolen [~dnolen@ool-18bc2fa9.dyn.optonline.net] has joined #lisp 18:44:59 -!- kglovern [~kglovern@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has quit [Quit: Lost terminal] 18:45:04 -!- Stattrav [~Stattrav@202.3.77.161] has quit [Remote host closed the connection] 18:46:25 Zephyrus [~emanuele@unaffiliated/zephyrus] has joined #lisp 18:46:39 Xach: well, today usenet doesn't seem to work very well from my side :-( 18:47:16 Fade: just noticed (and answered) your question in #gigabot. 18:48:27 Stattrav [~Stattrav@202.3.77.161] has joined #lisp 18:48:32 kglovern [~kglovern@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has joined #lisp 18:50:54 -!- ace4016 [ace4016@cpe-76-170-134-79.socal.res.rr.com] has quit [Quit: When there's nothing left to burn, you have to set yourself on fire.] 18:54:08 Anyone familiar with any projects that are embedding ECL? 18:55:04 gigamonkey: thanks 18:57:29 prxq [~mommer@f052039175.adsl.alicedsl.de] has joined #lisp 19:02:37 das64 [~das@adsl-67-124-39-87.dsl.pltn13.pacbell.net] has joined #lisp 19:04:54 In Common Lisp, is there any way to work with decimals of arbitrary precision (or at least longer than double precision)? 19:05:33 yes 19:06:01 well, not in standard cl. 19:06:15 clisp has something for that 19:06:16 well, it's a rational representation, not decimal, which means you can deal with fractions that aren't factors of just 2 and 5 19:06:37 however, much slower than if you know that you're only dealing with base-10 fractions 19:06:59 although the correct way to do it for most situations is to use scaled integers 19:07:17 oh, you want MORE precision 19:07:26 wait, do you want exact or inexact math? 19:07:47 I'm working on a math puzzle, that requires looking at the sequence of numbers after a decimal. 19:07:54 mathk [~mathk@lns-bzn-46-82-253-205-51.adsl.proxad.net] has joined #lisp 19:08:36 so for example, I would prefer .3333333333333333333333333333... to .333333 19:08:43 -!- DrunkTomato [~DEDULO@ext-gw.wellcom.tomsk.ru] has quit [] 19:09:01 hi anyone has advise in how to organize source code into file? How to import file or make package ...? 19:09:13 in sbcl 19:09:47 das64: that's a math puzzle, you have to do this on your own 19:09:59 mathk: i recommend reading some Lisp source code to get a feel for what current practice is 19:10:16 mathk: http://weitz.de/ has a lot of nice code to read. there is a lot of stuff available on http://cliki.net/ too 19:10:24 stassats: I already have what I need. I was just wondering if there is anything built into the language. 19:11:08 saikatc [~saikatc@c-98-210-192-23.hsd1.ca.comcast.net] has joined #lisp 19:11:08 thanks Xach 19:11:59 mstevens [~mstevens@eris.etla.org] has joined #lisp 19:13:16 das64: so you want numbers to take an infinite amount of memory? 19:13:28 Odin- [~sbkhh@s121-302.gardur.hi.is] has joined #lisp 19:13:30 -!- cmm [~cmm@109.64.10.30] has quit [Ping timeout: 240 seconds] 19:13:32 -!- Kolyan [~nartamono@95-26-1-117.broadband.corbina.ru] has quit [] 19:13:54 das64: or do you want rational representation? 19:13:56 rahul, isn't that how 3/7 is an exact number? :P 19:14:37 cmm [~cmm@bzq-109-64-10-30.red.bezeqint.net] has joined #lisp 19:15:28 Well I found some code on the that can show the decimal representation of 3/7 with specified precision, so I can choose the precision, but I was just wondering if any similar functionality is built into common lisp or sbcl. 19:16:37 are you sure you want to show the entire decimal representation at once, or would it be sufficient for you to calculate the decimal digits one by one? for some problems, the latter is a better approach. 19:17:09 -!- Joreji [~thomas@81-014.eduroam.RWTH-Aachen.DE] has quit [Remote host closed the connection] 19:17:30 das64: what do you actually want to do? 19:17:32 das64: there is probably similar functionality built into the clisp implementation 19:17:42 where the precision of long-float is user-settable 19:18:08 Krystof, that is what I was wondering, but did not word my question very well. 19:18:10 -!- dnolen [~dnolen@ool-18bc2fa9.dyn.optonline.net] has quit [Quit: dnolen] 19:18:25 Do you know of any similar functionality in sbcl? 19:18:59 das64: do you want rational numbers? do you want a printer for rational numbers that goes to a specified precision? do you want a binary floating point representation with a specified number of mantissa bits? do you want binary coded decimal with a specified number of digits? 19:19:24 do you want lazily generated decimal representations of computations? 19:19:35 rahul: just a printer 19:19:36 (the last one can be done easily with irrational numbers, too) 19:19:43 das64: a printer for what? 19:19:47 kpreid [~kpreid@rrcs-208-125-58-214.nys.biz.rr.com] has joined #lisp 19:19:51 rahul: he wants, I think, a lot of digits 19:19:55 a printer for rational numbers that goes to a specified precision 19:20:13 das64: then CL will not help you, nor does it need to 19:20:23 CL already has rational numbers, so you can compute with them 19:20:27 I have one. I am just curious if there is something built-in, like Krystof mentioned of clisp 19:20:27 and then printing is easy 19:20:39 das64: clisp doesn't have what you want 19:20:49 well, I guess you can shoehorn that into what you want 19:21:38 -!- potatishandlarn [~potatisha@c-4f666325-74736162.cust.telenor.se] has quit [Ping timeout: 246 seconds] 19:22:30 potatishandlarn [~potatisha@79.102.11.128] has joined #lisp 19:22:35 das64: what exactly do you want? 19:22:58 das64: it hasn't been obvious from what you have written... 19:23:58 prxq: I am looking for a way such that (float (/ 1 7)) can be output as .142857142857142857142857142857 (continuing with as much precision as I choose), as opposed to .142857 19:24:01 I think I know what he wants, but somehow he thinks that it's something else 19:24:16 das64: why do you need to use floating point numbers to do that? 19:24:35 das64, arbitrary precision floats isn't the same as printing a rational number to an arbitrary precision. I think you want the latter. 19:24:44 das64: ah ok. No, I think only CLISP has that. 19:24:51 rahul: I thought that I would have to, but please let me know if you see any other possibilities. 19:25:06 das64: um, just print out a decimal representation 19:25:40 and using binary FP will make it a bit more complicated to get an accurate decimal representation 19:26:13 -!- emma [~em@unaffiliated/emma] has quit [Ping timeout: 264 seconds] 19:26:29 rahul: (format t "~,20f" (/ 1 7)) returns 0.14285715000000000000 19:26:38 das64: duh 19:26:45 das64, common lisp has _exact_ rationals. This means that you can just get the decimal digits one by one yourself, using a bit of math. 19:26:47 that's because you using floating point 19:26:54 Joreji [~thomas@81-014.eduroam.RWTH-Aachen.DE] has joined #lisp 19:27:08 ok, this is pointless. he doesn't want what will get him the result he wants. 19:27:13 Adlai: Do you know of anywhere I can read up more on that 19:27:40 das64: a 5th grade math book 19:27:48 das64: what Adlai says is that you can perform the division algorithm you learned at school to get the decimal representation of 1/7 to as many digits as you want 19:27:56 Beetny [~Beetny@ppp118-210-34-7.lns20.adl2.internode.on.net] has joined #lisp 19:28:05 -!- legumbre_ is now known as legumbre 19:28:10 although there are probably more efficient algos you can find by using google 19:28:18 so you'd program it using integers. 19:29:07 there are also ways to calculate the length of the repeating portion 19:29:36 das64: do you understand how decimal representations of fractions repeat? 19:30:43 rahul: Not beyond a simply understanding that they can't be displayed precisely in some bases. 19:31:05 sure they can 19:31:12 you just indicate the portion that repeats 19:32:05 Quadrescence [~quad@unaffiliated/quadrescence] has joined #lisp 19:32:12 I thought most places taught this stuff in 7th or 8th grade at the latest 19:32:37 I learned this - just haven't used it since 7th or 8th grade. 19:32:41 -!- jewel_ [~jewel@41.30.229.244] has quit [Ping timeout: 245 seconds] 19:33:21 heh 19:33:43 letto [~letto@188.26.205.151] has joined #lisp 19:35:54 Adlai pasted "crappy decimal iterator" at http://paste.lisp.org/display/94534 19:36:00 das64, ^ 19:36:41 well it looks like the code I downloaded or my own division algorithm will solve the problem. Thanks. rahul, I am still not clear on why (format t "~,20f" (/ 1 7)) obviously returns 0.14285715000000000000. 19:36:55 Edward_ [~Ed@AAubervilliers-154-1-13-212.w86-212.abo.wanadoo.fr] has joined #lisp 19:36:57 das64: because computers have finite amounts of memory 19:36:59 das64, because ~f converts numbers to floats? 19:37:29 oh, yeah, you need to realize that too 19:37:47 F stands for float :) 19:37:48 gotcha. You don't know of an other directives with more precision, right? (I probably would have already heard from someone by now if there was) 19:37:49 anyways, check out my amazing decimal iterator 19:38:00 -!- Edward [Ed@AAubervilliers-154-1-6-194.w86-212.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 19:38:01 you could coerce to a double-float before printing 19:38:27 (format nil "~,20f" (float 1/7 1d0)) => "0.14285714285714285000" 19:38:47 poet [~poet@vpn3-145166.near.uiuc.edu] has joined #lisp 19:38:47 -!- poet [~poet@vpn3-145166.near.uiuc.edu] has quit [Changing host] 19:38:47 poet [~poet@unaffiliated/poet] has joined #lisp 19:39:04 if you want arbitrary precision, rather than "more", you'll need to use a bit of math 19:39:37 you want arbitrary _accuracy_, not arbitrary precision 19:39:40 that's harder 19:39:52 -!- Edward_ [~Ed@AAubervilliers-154-1-13-212.w86-212.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 19:39:56 das64: another thing for you to read is "what every computer scientist should know about floating point" 19:41:03 I had that open and probably should have read that before asking the question here, but thought there might be a quick fix. I plan on reading that. Thanks for all the help. I think I have a better understanding of this now. 19:41:08 hm, didn't minion know about that article once? 19:41:09 prip [~foo@host128-24-dynamic.43-79-r.retail.telecomitalia.it] has joined #lisp 19:41:45 DeusExPikachu [~DeusExPik@pool-141-157-61-202.balt.east.verizon.net] has joined #lisp 19:42:23 dnolen [~dnolen@pool-96-224-31-174.nycmny.east.verizon.net] has joined #lisp 19:42:27 antoszka [~antoszka@unaffiliated/antoszka] has joined #lisp 19:44:11 -!- davazp [~user@165.Red-83-46-5.dynamicIP.rima-tde.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 19:45:02 leo2007 [~leo@smaug.linux.pwf.cam.ac.uk] has joined #lisp 19:45:32 -!- amnesiac [~amnesiac@p3m/member/Amnesiac] has quit [Quit: Leaving] 19:48:47 -!- mengu_ [~mengu@unaffiliated/mengu] has left #lisp 19:49:09 hello folks, besides slime + Hyperspec, what are other productive tools you use with cl programming? 19:49:32 paredit 19:49:40 some people use redshank too 19:50:01 Hun [~hun@p50993726.dip0.t-ipconnect.de] has joined #lisp 19:52:03 Anyone know if there's some code out there that implements Franz' environment objects? 19:52:31 bytecolor [~user@adsl-71-137-193-55.dsl.scrm01.pacbell.net] has joined #lisp 19:53:55 frodef: raymond toy added partial support for CMUCL 19:54:09 there's also SB-CLTL2 for SBCL 19:54:16 Adlai: do you use it? I looked at its website but it does not appeal to me. 19:54:26 leo2007, no, but some people do 19:54:28 stassats: paredit is a must. 19:54:41 so the cmucl and sbcl code are unrelated? 19:57:06 OmniMancer [~OmniMance@219-89-94-56.jetstart.xtra.co.nz] has joined #lisp 19:59:10 whoppix [~whoppix@ti0021a380-dhcp0832.bb.online.no] has joined #lisp 19:59:28 jewel [~jewel@41.27.28.20] has joined #lisp 20:01:02 -!- carlocci [~nes@93.37.220.97] has quit [Quit: eventually IE will rot and die] 20:02:56 -!- bytecolor [~user@adsl-71-137-193-55.dsl.scrm01.pacbell.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:03:39 -!- Blkt [~user@dynamic-adsl-94-37-238-32.clienti.tiscali.it] has quit [Ping timeout: 276 seconds] 20:07:25 -!- kpreid [~kpreid@rrcs-208-125-58-214.nys.biz.rr.com] has quit [Quit: kpreid] 20:08:07 -!- jewel [~jewel@41.27.28.20] has quit [Ping timeout: 265 seconds] 20:11:23 kpreid [~kpreid@rrcs-208-125-58-214.nys.biz.rr.com] has joined #lisp 20:17:05 Phoodus [foo@97-124-117-72.phnx.qwest.net] has joined #lisp 20:19:15 -!- kpreid [~kpreid@rrcs-208-125-58-214.nys.biz.rr.com] has quit [Quit: kpreid] 20:19:35 kpreid [~kpreid@rrcs-208-125-58-214.nys.biz.rr.com] has joined #lisp 20:19:36 -!- kpreid [~kpreid@rrcs-208-125-58-214.nys.biz.rr.com] has quit [Client Quit] 20:20:13 tankrim [~qsvans@c-09fee255.010-54-6f72652.cust.bredbandsbolaget.se] has joined #lisp 20:22:07 frodef: sb-cltl2 is not franz' env access 20:26:02 -!- alland [~thomas@ti0014a380-1092.bb.online.no] has quit [Quit: Leaving.] 20:28:42 -!- gigamonkey [~gigamonke@adsl-99-2-148-193.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 240 seconds] 20:30:36 tcr: what do you mean? 20:31:20 I mean, obviously SBCL isn't Allegro, and sb-cltl2 isn't the Franz API. 20:31:22 But both purport to implement the env access functions from CLtL2. 20:31:41 franz stuff is more, and in parts incompatible 20:31:55 Neither actually exports the functions needed to _iterate_ over env details (as opposed to retrieving them by name). 20:34:27 Can you give an example? I haven't used either, but at least I've _watched_ someone port code from SBCL to Allegro :-) , and the differences I recall didn't seem intentional. 20:36:39 (which may be an artifact of only using features that were present in SBCL in the first place) 20:38:09 Blkt [~user@dynamic-adsl-94-37-238-32.clienti.tiscali.it] has joined #lisp 20:38:13 I think there are multiple levels of conformance, one is basically cltl2. 20:39:24 -!- marioxcc is now known as marioxcc-AFK 20:40:24 -!- letto [~letto@188.26.205.151] has quit [Remote host closed the connection] 20:41:51 -!- prxq [~mommer@f052039175.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 20:42:59 ok, thanks. I'll have a look at cmucl then. 20:44:08 kpreid [~kpreid@rrcs-208-125-58-214.nys.biz.rr.com] has joined #lisp 20:46:26 Makoryu [~vt920@ool-4578a523.dyn.optonline.net] has joined #lisp 20:46:34 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Quit: Lost terminal] 20:46:38 lichtblau: Duane recently talked on comp.lang.lisp about the second return value of some functions being moved to fourth in allegro 20:47:04 I think in Franz's env thingy it has all sorts of horrible "locative cons"es as part of the API 20:47:20 malsyned [~malsyned@24.151.76.65] has joined #lisp 20:47:49 you don't get to (setf (variable-information ...) ...), you have to do (rplaca (getf (variable-information ...) ...) ...) or something 20:48:35 Anybody know how to get stderr in allegro? (eq *standard-output* *error-output*) => T in allegro 20:51:14 -!- tankrim [~qsvans@c-09fee255.010-54-6f72652.cust.bredbandsbolaget.se] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:54:10 -!- Makoryu [~vt920@ool-4578a523.dyn.optonline.net] has quit [] 20:55:37 prxq [~mommer@f052211074.adsl.alicedsl.de] has joined #lisp 20:57:09 malsyned: "It is common for an implementation to make the initial values of *debug-io* and *query-io* be the same stream, and to make the initial values of *error-output* and *standard-output* be the same stream." 20:57:47 malsyned: check their unix package/manual 20:57:58 Krystof: I see, interesting. 20:58:12 drewc: I checked 6 different lisps. Only alisp actually makes them equal. 20:58:19 drewc: I will try that. 20:58:25 malsyned: BS 20:58:40 CL-USER> (eq *standard-output* *error-output*) 20:58:44 sbcl 20:58:55 drewc: in slime or on the command line? 20:59:15 antoszka [~antoszka@capsicum.antoszka.pl] has joined #lisp 20:59:18 stassats: where you the one with the hemlock restart problems? 20:59:20 malsyned: oh in slime, fair enough... it might differ at the command line 20:59:21 drewc: when run on the console, sbcl returns nil for that expression. 20:59:39 lichtblau: i still am 20:59:51 okay. If you're on linux x86-64, it would be interesting if you could try the hemlock binaries that I've put up. 20:59:55 drewc: it returns nil on the console for the following lisps: ccl, clisp, cmu, ecl, sbcl 20:59:56 malsyned: it doens't matter either way, its' not specified... there is no such thing as stderr in lisp, that's a C variable :P 21:00:17 ziga` [~user@BSN-176-150-62.dial-up.dsl.siol.net] has joined #lisp 21:00:24 -!- tmh [~user@pdpc/supporter/sustaining/tmh] has left #lisp 21:00:26 drewc: but there is such a thing as an output stream connected to fd 2. Which is what I was trying to get in allegro. I used "stderr" as shorthand for that. 21:00:40 lichtblau: i'm on x86, and i also get the same behaviour from both SBCL and CCL 21:00:55 -!- antoszka [~antoszka@capsicum.antoszka.pl] has quit [Changing host] 21:00:55 antoszka [~antoszka@unaffiliated/antoszka] has joined #lisp 21:01:09 aha. well, I don't have 32 bit binaries yet. 21:01:22 malsyned: lisp does not have a concept of an fd either. This is why you'll need to look in the manual, especially the UNIX access module if such a thing exists. 21:01:36 but if anyone else wants to try, test results will be very welcome: http://common-lisp.net/~dlichteblau/hemlock/ 21:02:04 malsyned: i'm sure you could probably try iolib or osicat if you want a portable solution 21:02:28 -!- rgawron [~rgawron@chello089079032023.chello.pl] has quit [Quit: leaving] 21:02:40 rme [~rme@pool-70-104-120-122.chi.dsl-w.verizon.net] has joined #lisp 21:03:45 I just saw on a video, someone using emacs/slime but getting the opposite paren highlighted - is this something that I have to turn on - how? 21:04:05 drewc: I know lisp doesn't have a concept of it, but Unix does and allegro runs on Unix, and I figure at least internally they must be manipulating either file descriptors or FILE *s, and I've been digging through their docs but failing to find anything, so I came on here to see if anyone had any useful advice. 21:04:25 drewc: none have a make-fd-stream implementation for Allegro 21:04:27 malsyned: Perhaps you could OPEN /dev/stderr (or /dev/fd/2) and bind that stream to *error-output*. 21:04:37 Modius: (show-paren-mode 1) 21:04:42 malsyned: i see. Have you could try.... gah rme beat me to it! 21:04:48 rme: worth a shot. 21:05:01 fe[nl]ix: oh well 21:05:08 fe[nl]ix: is that allegro 21:05:16 's fault or just lack of interest 21:05:35 -!- potatishandlarn [~potatisha@79.102.11.128] has quit [Ping timeout: 246 seconds] 21:07:01 -!- Nshag [~shag@lns-bzn-37-82-253-29-62.adsl.proxad.net] has quit [Ping timeout: 260 seconds] 21:07:14 drewc: I don't think that Allegro are interested in sending patches to open-source libraries :D 21:07:25 so both! :) 21:07:54 potatishandlarn [~potatisha@c-4f664703-74736162.cust.telenor.se] has joined #lisp 21:08:18 abugosh [~Adium@216-164-114-53.c3-0.tlg-ubr3.atw-tlg.pa.cable.rcn.com] has joined #lisp 21:11:00 -!- Edico [~Edico@unaffiliated/edico] has quit [Quit: Ex-Chat] 21:11:21 -!- marioxcc-AFK is now known as marioxcc 21:14:35 Thanks everybody, that worked. 21:14:47 -!- Blkt [~user@dynamic-adsl-94-37-238-32.clienti.tiscali.it] has quit [Read error: Operation timed out] 21:14:49 stassats: Thanks that's it. 21:18:11 -!- myrkraverk [~johann@unaffiliated/myrkraverk] has quit [Ping timeout: 246 seconds] 21:18:15 Does anyone have an idea why it is that SATISFIES type-specifiers can only take precisely one argument? 21:18:41 francogrex [~user@187.103-200-80.adsl-dyn.isp.belgacom.be] has joined #lisp 21:19:39 I was trying to insyall cl-serialize (asdf) one simple small tar; but it's been an hour and over 15 dependencies already i'm getting form here and there and not finished 21:19:51 For example, it's (conceptually) easy do define the type PRIME for all prime integers, but it's rather difficult to make the type-specifier (prime ) work similarly to INTEGER. 21:20:01 Nshag [~shag@lns-bzn-43-82-249-138-134.adsl.proxad.net] has joined #lisp 21:20:01 this bullshit should be prohibited 21:20:49 frodef, why? (deftype prime (&optional low high) `(and (satisfies primep) (integer ,low ,high))) 21:20:52 Coming from a windows background, Lispworks IDE has been a kind of trainer wheels that allowed me to not have to fully embrace emacs all at once. That said, as I play with Emacs/slime remote, the Lispworks IDE doesn't look objectively superior. Slime is really really good, and you can move buffers onto other windows. 21:21:16 Adlai: sure, that works in this particular case, but not in general. 21:21:18 francogrex: i used to have an internet connection like that too 21:21:21 In Emacs straight-up editing/workflow may have an edge. 21:21:47 list-of is the canonical thing that you can't easily do 21:21:56 DrunkTomato [~DEDULO@ext-gw.wellcom.tomsk.ru] has joined #lisp 21:23:42 myrkraverk [~johann@unaffiliated/myrkraverk] has joined #lisp 21:23:45 (deftype |list-of-(cons pathname fullname)| ...) <--- me has done that and felt really dirty about it 21:23:57 ouch 21:24:28 -!- kpreid [~kpreid@rrcs-208-125-58-214.nys.biz.rr.com] has quit [Quit: kpreid] 21:24:30 Xach: what internet conection? It's 15 dependencies going to get them one by one, even with the fastest internet, those cunts take hours; people who created dependencies should be cut up in pieces, just as many as the dependencies they create 21:24:58 -!- ChanServ has set mode +o drewc 21:25:18 -!- prxq [~mommer@f052211074.adsl.alicedsl.de] has quit [Ping timeout: 256 seconds] 21:25:42 francogrex: You're letting frustration make you obnoxious. 21:25:46 francogrex, that's not very considerate of http://weitz.de/drakma 21:25:56 I've made list-of such that (list-of foo bar) -> (cons foo (cons bar null)), but the "every element is a foo" list-of doesn't work of course. 21:26:40 francogrex: time ./src/clbuild/clbuild install cl-store => "real 0m4.124s" 21:26:54 ichernetsky [~ichernets@195.222.72.81] has joined #lisp 21:27:32 Adlai: whar's whith that? many dependncies? 21:27:43 *drewc* really wants to kick francogrex for being an ass 21:28:02 drewc: i'm not using cl-store 21:28:30 francogrex: you _are_ being an ass though 21:28:31 rdd` [~rdd@c83-250-52-182.bredband.comhem.se] has joined #lisp 21:29:52 drewc: why's that? for saying the truth; people are afraid of the truth 21:30:04 francogrex: time ./src/clbuild/clbuild install cl-serializer => real 0m26.623s 21:30:05 21:30:09 -!- sellout [~greg@c-24-128-48-180.hsd1.ma.comcast.net] has quit [Quit: sellout] 21:30:19 Modius: You use buffer per frame? 21:30:31 well i don't use clbuild 21:30:32 francogrex: Go away, you titanic idiot. 21:30:37 -!- ChanServ has set mode +o Xach 21:30:39 -!- Xach has set mode +b *!*user@*.103-200-80.adsl-dyn.isp.belgacom.be 21:30:44 -!- Xach [~xach@cpe-72-227-90-1.maine.res.rr.com] has been kicked from #lisp 21:31:00 Modius: (In Emacs-speak a frame is a gui window) 21:31:12 tcr: Varies. But I have 3 monitors - leaving the listener on one has been useful. 21:31:18 -!- Xach has set mode -o Xach 21:31:30 Xach: thanks, i feel i do that too often, so i'm glad someone else stepped up. 21:31:53 -!- ChanServ has set mode -o drewc 21:31:55 tcr: Having eval results go to said listener frame (while any errors being on a split window off the source) has been very useful/efficient. 21:32:08 tcr: I mean, eval results from Ctrl-Alt-X 21:33:15 Modius: http://article.gmane.org/gmane.lisp.slime.devel/9474 21:33:35 Modius: also make sure to use the slime-fancy / slime-asdf contribs 21:36:40 Blkt [~user@dynamic-adsl-94-37-238-32.clienti.tiscali.it] has joined #lisp 21:36:41 hehe, I never realized that ab#cd is a valid token 21:37:22 I sometimes use foo# for number-of-foos 21:37:31 Dawgmatix [~Dawgmatix@c-76-124-9-27.hsd1.nj.comcast.net] has joined #lisp 21:40:58 could be illegal in clojure! 21:41:15 (not that I really know) 21:41:33 tcr: not 21:41:53 hm? 21:41:57 tcr: not | 21:42:04 ... ok, this keyboard sucks. 21:43:22 * |{foo}| (: 21:43:33 syamajala [~syamajala@140.232.178.166] has joined #lisp 21:44:14 hah 21:45:00 -!- mathk [~mathk@lns-bzn-46-82-253-205-51.adsl.proxad.net] has quit [Ping timeout: 240 seconds] 21:45:42 -!- amaron [~amaron@cable-89-216-181-46.dynamic.sbb.rs] has quit [Ping timeout: 256 seconds] 21:46:12 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit: Leaving] 21:47:15 amaron [~amaron@cable-89-216-181-46.dynamic.sbb.rs] has joined #lisp 21:48:36 -!- dozu [~a@212.89.209.93] has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )] 21:51:52 -!- freiksenet [~freiksene@hoasnet-fe29dd00-202.dhcp.inet.fi] has quit [Remote host closed the connection] 21:54:50 hrm, did sbcl's compiler become much slower in one of the last 10-20 commits? or it's just me... 21:56:01 -!- amaron [~amaron@cable-89-216-181-46.dynamic.sbb.rs] has quit [Ping timeout: 260 seconds] 21:56:15 amaron [~amaron@cable-89-216-181-46.dynamic.sbb.rs] has joined #lisp 21:59:28 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #lisp 22:00:43 -!- Phoodus [foo@97-124-117-72.phnx.qwest.net] has quit [Ping timeout: 258 seconds] 22:01:49 -!- Athas [~athas@0x50a157d6.alb2nxx15.dynamic.dsl.tele.dk] has quit [Remote host closed the connection] 22:02:23 emacsphan [~user@plmomi-l10-340.dsl.tds.net] has joined #lisp 22:04:36 -!- myrkraverk [~johann@unaffiliated/myrkraverk] has quit [Ping timeout: 265 seconds] 22:04:41 -!- kwinz3 [~kwinz@85.125.183.138] has quit [Quit: Verlassend] 22:05:09 -!- emacsphan [~user@plmomi-l10-340.dsl.tds.net] has quit [Remote host closed the connection] 22:07:41 ltriant [~ltriant@lithium.mailguard.com.au] has joined #lisp 22:09:32 myrkraverk [~johann@unaffiliated/myrkraverk] has joined #lisp 22:09:38 -!- ziga` [~user@BSN-176-150-62.dial-up.dsl.siol.net] has quit [Remote host closed the connection] 22:11:37 -!- fiveop [~fiveop@g229112166.adsl.alicedsl.de] has quit [Quit: humhum] 22:14:00 -!- lukjad007 [~lukjadOO7@unaffiliated/lukjad007] has quit [Quit: Backups are usually a good thing unless it's a sewer.] 22:15:01 -!- Zephyrus [~emanuele@unaffiliated/zephyrus] has quit [Quit: ""] 22:18:24 -!- dstatyvka [ejabberd@pepelaz.jabber.od.ua] has left #lisp 22:19:10 -!- morphling [~stefan@gssn-5f7569bf.pool.mediaWays.net] has quit [Remote host closed the connection] 22:20:34 mbohun [~mbohun@202.124.73.83] has joined #lisp 22:21:25 speaking of slow compilation... ecl's driving me crazy :-) 22:22:48 kpreid [~kpreid@216-171-189-244.northland.net] has joined #lisp 22:23:54 -!- mstevens [~mstevens@eris.etla.org] has quit [Quit: leaving] 22:24:14 you mean gcc? 22:25:38 Edward [~Ed@AAubervilliers-154-1-22-243.w90-3.abo.wanadoo.fr] has joined #lisp 22:29:28 -!- moah [~gnu@dslb-188-101-019-169.pools.arcor-ip.net] has quit [Quit: Leaving] 22:30:15 kwinz3 [~kwinz@85.125.183.138] has joined #lisp 22:31:30 -!- reprore [~reprore@ntkngw356150.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 22:31:51 jordyd [~jordyd@99-177-65-75.lightspeed.wepbfl.sbcglobal.net] has joined #lisp 22:33:26 -!- attila_lendvai [~ati@catv-89-134-66-143.catv.broadband.hu] has quit [Ping timeout: 246 seconds] 22:36:04 prvt70 [~50c867bb@kansas.shawnetworks.com] has joined #lisp 22:36:14 -!- mishoo [~mishoo@79.112.117.160] has quit [Ping timeout: 246 seconds] 22:38:19 -!- prvt70 [~50c867bb@kansas.shawnetworks.com] has quit [Client Quit] 22:38:48 jsfb [~jon@unaffiliated/jsfb] has joined #lisp 22:39:39 -!- c|mell [~cmell@27-91.107-92.cust.bluewin.ch] has quit [Read error: Operation timed out] 22:41:43 prvt70 [~50c867bb@kansas.shawnetworks.com] has joined #lisp 22:41:56 jmbr [~jmbr@167.32.220.87.dynamic.jazztel.es] has joined #lisp 22:42:59 -!- Hun [~hun@p50993726.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 22:43:34 -!- syamajala [~syamajala@140.232.178.166] has quit [Quit: Leaving...] 22:43:35 -!- Blkt [~user@dynamic-adsl-94-37-238-32.clienti.tiscali.it] has quit [Ping timeout: 246 seconds] 22:43:49 stassats: haha 22:43:57 GCC, the slowest compiler out there 22:44:50 Blkt [~user@dynamic-adsl-94-37-238-32.clienti.tiscali.it] has joined #lisp 22:45:35 Is there a good strategy for debugging code that interprets fine but compiles with errors? The errors are something of a mystery to me. 22:46:25 Phoodus [foo@97-124-117-72.phnx.qwest.net] has joined #lisp 22:48:25 -!- prvt70 [~50c867bb@kansas.shawnetworks.com] has quit [Quit: CGI:IRC] 22:50:47 LiamH: I'd say that it very, very, depends on the code in question. A big part *might* be evaluating it by hand to check for differences 22:52:36 -!- pevaneyn [~pevaneyn@162.202-242-81.adsl-dyn.isp.belgacom.be] has quit [Read error: Connection reset by peer] 22:52:55 p_l: It's pretty short, but involves an extension to the iterate macro. What just occurred to me that's weird is that when I say "interpret" I mean giving the defun to the REPL (as opposed to compiling a file), and as far as I know SBCL will compile that too. But that works fine. 22:53:35 prvt70 [~50c867bb@kansas.shawnetworks.com] has joined #lisp 22:54:05 The errors I get are "Objects of type FUNCTION can't be dumped into fasl files." (twice) 22:54:32 c|mell [~cmell@81.62.122.133] has joined #lisp 22:54:33 LiamH: yeah. Can't file-compile references to functions. 22:54:46 -!- kglovern [~kglovern@CPE001d725da193-CM0014f8ca15f0.cpe.net.cable.rogers.com] has quit [Ping timeout: 245 seconds] 22:55:05 -!- abugosh [~Adium@216-164-114-53.c3-0.tlg-ubr3.atw-tlg.pa.cable.rcn.com] has quit [Quit: Leaving.] 22:55:14 In a macro, that's typically indicative of your macro evaluating a function instead of splicing in a form that'll evaluate to a function. 22:56:15 pkhuong: OK, that makes sense, I'll dig around with that in mind. 22:58:06 When I macroexpand the form I get as part of the result (FUNCALL # #:SEQUENCE10)) which is mysterious to me. What does # mean? 22:58:24 carlocci [~nes@93.37.216.222] has joined #lisp 22:58:24 the usual guess is to have &optional (foo '#'bar) instead of &optional (foo #'bar) in your macro lambda list 22:58:42 # means "print-level exceeded" 22:59:41 sellout [~greg@c-24-128-48-180.hsd1.ma.comcast.net] has joined #lisp 23:00:52 Krystof: Thanks for the tip. My iterate extensions don't have ' at all, nor #'. Unless the problem is in iterate itself. 23:01:29 *print-level* is nil 23:01:36 -!- varjag [~eugene@226.119.202.84.customer.cdi.no] has quit [Quit: Leaving] 23:02:05 pevaneyn [~pevaneyn@177.58-136-217.adsl-dyn.isp.belgacom.be] has joined #lisp 23:02:37 -!- DrunkTomato [~DEDULO@ext-gw.wellcom.tomsk.ru] has quit [] 23:08:40 mejja [~user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #lisp 23:12:08 -!- tcr [~tcr@host146.natpool.mwn.de] has quit [Remote host closed the connection] 23:13:47 rrice [~rrice@adsl-99-51-95-162.dsl.akrnoh.sbcglobal.net] has joined #lisp 23:14:59 -!- prvt70 [~50c867bb@kansas.shawnetworks.com] has quit [Quit: CGI:IRC (EOF)] 23:15:28 fisxoj [~fisxoj@softbank221066001155.bbtec.net] has joined #lisp 23:15:31 bytecolor [~user@adsl-71-137-193-55.dsl.scrm01.pacbell.net] has joined #lisp 23:16:18 what in the wide wide world of sports is this syntax doing? (funcall #.#'foo) 23:16:39 specifically the #.#' 23:16:42 bytecolor: #. evaluates at READ-time. 23:17:35 That evaluates #'foo (or (FUNCTION FOO)) at read-time. This smells pretty bad though; why is the code doing that? 23:18:02 Taggnostr2 [~x@dyn57-487.yok.fi] has joined #lisp 23:18:22 l4ndfo [~l4ndfo@S0106002129a187e9.ed.shawcable.net] has joined #lisp 23:19:18 pkhuong: it's from .pdf I'm reading called "The complete Idiot's Guide to Common Lisp Packages" 23:19:20 jsoft [~user@unaffiliated/jsoft] has joined #lisp 23:19:36 I think it's just for demonstration purposes 23:21:38 -!- Taggnostr [~x@dyn57-487.yok.fi] has quit [Ping timeout: 248 seconds] 23:22:00 kglovern [~kglovern@129-97-159-136.uwaterloo.ca] has joined #lisp 23:23:30 -!- alley_cat [~AlleyCat@sourcemage/elder/alleycat] has quit [Remote host closed the connection] 23:23:49 -!- RaceCondition [~RaceCondi@85.253.73.94.cable.starman.ee] has quit [Ping timeout: 264 seconds] 23:24:01 -!- Blkt [~user@dynamic-adsl-94-37-238-32.clienti.tiscali.it] has quit [Remote host closed the connection] 23:24:30 -!- wlr [~walt@c-65-96-92-150.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 23:30:47 -!- poet [~poet@unaffiliated/poet] has quit [Remote host closed the connection] 23:33:33 -!- Taggnostr2 [~x@dyn57-487.yok.fi] has quit [Quit: Switching to single-player mode.] 23:33:46 Taggnostr [~x@dyn57-487.yok.fi] has joined #lisp 23:36:03 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Quit: +++ killed by SIGSEGV +++] 23:44:07 meadow_7 [~50c867bb@kansas.shawnetworks.com] has joined #lisp 23:51:06 quit 23:51:10 -!- meadow_7 [~50c867bb@kansas.shawnetworks.com] has quit [Quit: CGI:IRC 0.5.4 (2004/01/29)] 23:52:40 davazp [~user@165.Red-83-46-5.dynamicIP.rima-tde.net] has joined #lisp 23:58:01 -!- lithper2_ [~chatzilla@ool-182ff1c9.dyn.optonline.net] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20100106054534]] 23:59:39 -!- slash_ [~Unknown@whgeh0250.cip.uni-regensburg.de] has quit [Quit: leaving]