00:00:47 -!- dullard [~user@188-223-137-38.zone14.bethere.co.uk] has quit [Remote host closed the connection] 00:01:29 -!- leo2007 [~leo@th041069.ip.tsinghua.edu.cn] has quit [Ping timeout: 240 seconds] 00:03:01 davekong [~davekong@unaffiliated/davekong] has joined #lisp 00:04:36 ruben1194navarro [~ruben@190.53.139.232] has joined #lisp 00:07:54 drl [~lat@110.139.230.142] has joined #lisp 00:09:44 How do use (use-package) packages installed with quicklisp? 00:09:56 you don't 00:10:05 you load them with ASDF 00:10:38 so I put :use packagename in a defpackage form and I get an errror saying packagename is not a package 00:11:08 00:11:38 davekong: http://xach.livejournal.com/278047.html?thread=674335 00:11:43 asdf replaces the whole defpackage system? 00:11:50 I get a lot more lisp source onscreen now at 3840x2400 :) 00:12:00 davekong: no, it doesn't 00:12:25 Phooodus: what dimensions? 00:12:32 22" 00:12:39 >200dpi, 6pt font 00:12:50 do you use binoculars? 00:12:59 heh, no I just keep close to the screen 00:13:11 I read that and it looks like he is using defpackage and importing things 00:13:11 I'm nearsighted, but my vision within a foot or so of a target is very good 00:13:36 8 columns of 87-column text 00:13:37 -!- Bahman [~Bahman@2.144.210.36] has quit [Ping timeout: 276 seconds] 00:14:06 juniorroy [~juniorroy@212.36.224.57] has joined #lisp 00:15:22 i have less than 100dpi (i guess?), and use 13pt font 00:16:25 -!- ruben1194navarro [~ruben@190.53.139.232] has left #lisp 00:16:33 -!- carlocci [~nes@93.37.222.4] has quit [Quit: eventually IE will rot and die] 00:16:52 yeah, normal monitors are looking reaaally blocky next to this one (ibm t221) 00:17:43 you can also have two monitors, one for each eye 00:17:51 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 00:18:18 heh 00:18:29 -!- quasisane [~sanep@c-76-24-80-97.hsd1.nh.comcast.net] has quit [Ping timeout: 252 seconds] 00:18:30 they come up very rarely on ebay nowadays, which is where I snagged this 00:18:41 and two keyboards, and two different projects open at each display, and working on them simultaneously, now, that should be productive 00:20:06 *Phooodus* gets surgery to split the two halves of his brain 00:20:37 ... are you epileptical enough to warrant it? 00:20:55 quasisane [~sanep@76.24.80.97] has joined #lisp 00:21:42 danlentz [~danlentz@c-69-141-20-254.hsd1.nj.comcast.net] has joined #lisp 00:21:44 -!- danlentz [~danlentz@c-69-141-20-254.hsd1.nj.comcast.net] has quit [Excess Flood] 00:22:10 danlentz [~danlentz@c-69-141-20-254.hsd1.nj.comcast.net] has joined #lisp 00:22:12 -!- danlentz [~danlentz@c-69-141-20-254.hsd1.nj.comcast.net] has quit [Excess Flood] 00:22:19 nnnnnnnonnnnnonhdhsiusdsdfsdfjfdsdffd no 00:22:38 danlentz [~danlentz@c-69-141-20-254.hsd1.nj.comcast.net] has joined #lisp 00:22:48 (I first read that as "elliptical") 00:23:07 Phooodus: so, are you? 00:23:09 also, it doesn't cause a full split, though there is a certain level of split of control 00:23:11 -!- xinming_ [~hyy@115.221.0.88] has quit [Ping timeout: 276 seconds] 00:23:27 xinming [~hyy@115.221.13.78] has joined #lisp 00:23:35 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 260 seconds] 00:23:45 so yeah, it's afaik a very rare treatment 00:23:58 and you would have common checkups, fMRIs etc. 00:23:58 no, just joking about the dual-development thing 00:24:22 Phooodus: i meant are you elliptical? 00:24:28 though Kim Peek could apparently read a book with one eye scanning each facing page independently 00:24:42 ah, no. I more resemble a segment 00:24:58 s/one/each/ 00:26:54 well, sensorimotor cortexes do exhibit certain level of async behaviour after it, but that trick probably relied on the fact that we are constantly moving our eyes anyway 00:27:03 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Ping timeout: 258 seconds] 00:28:31 "M-Mustn't run away, mustn't run away, mustn't run away," Snape muttered over and over, rocking back and forth in a fetal position as the stuffed Hippogriff just continued to stare with it's adorable googly eyes. <---.... did Snape watch what I think he watched? 00:28:36 damn, wrong channel 00:28:57 fortitudeZDY [~fortitude@210.192.101.125] has joined #lisp 00:29:05 -!- ASau [~user@93-80-248-41.broadband.corbina.ru] has quit [Ping timeout: 240 seconds] 00:30:12 -!- Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 00:30:42 wow 00:31:57 -!- emporas [~emporas@athedsl-170924.home.otenet.gr] has quit [Ping timeout: 246 seconds] 00:32:26 also, the last of my bragging: http://img59.imageshack.us/img59/311/20110415172823.jpg 00:32:45 nice 00:32:48 ASau [~user@93-80-248-41.broadband.corbina.ru] has joined #lisp 00:32:55 -!- quasisane [~sanep@76.24.80.97] has quit [Ping timeout: 260 seconds] 00:33:46 -!- Evious [~n_a@s64-180-62-209.bc.hsia.telus.net] has quit [Ping timeout: 246 seconds] 00:34:19 Phooodus: how do you navigate through all that? 00:35:00 mostly with the mouse, since C-x o tons of times gets slow 00:35:41 yeah, i find C-x o with more than two buffers to be a pain, perhaps you could use some coordinates 00:35:46 (especially since with slime you eventually end up with 2 rows of windows) 00:36:41 there's windmove 00:36:46 M- 00:37:09 (the default keybinding through (windmove-default-keybindings)) 00:37:20 ah, so that's an addon? 00:37:22 Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has joined #lisp 00:37:26 because that just hops between words for me 00:38:07 I think it might be part of emacs, but not default one 00:38:14 well, not enabled by default 00:38:26 it shows up in M-x windmove-default-keybindings, but doesn't seem to do anything when executed 00:38:29 ... or maybe it was Shift-move 00:38:43 yeah, shift- 00:38:53 oh, that's not good. I use that for selection all the time 00:39:20 Phooodus: (windmove-default-keybindings 'hyper) then? 00:39:46 Phooodus: well, you can set-up any keys for it, the command name says it all 00:39:53 or meta, rather 00:40:05 the package itself contains commands to move around windows by direction 00:40:46 is there a package which selects the window you're looking at? 00:41:56 stassats`: no, the extra hw is rare outside of embedded applications 00:42:05 -!- gigamonkey [~user@adsl-99-24-219-24.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 00:42:28 and the typical variants among PC users move the mouse by head movement 00:42:35 gigamonkey [~user@adsl-99-24-219-24.dsl.pltn13.sbcglobal.net] has joined #lisp 00:43:01 *stassats`* check's the date. it's XXI, i'm disappointed! 00:43:12 s/'// 00:47:02 quasisane [~sanep@c-76-24-80-97.hsd1.nh.comcast.net] has joined #lisp 00:47:26 -!- gigamonkey [~user@adsl-99-24-219-24.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 264 seconds] 00:48:13 -!- kvsari [~kvsari@203.171.93.21.static.rev.aanet.com.au] has quit [Ping timeout: 240 seconds] 00:48:51 p_l|backup: windmove running on all emacses in the office now :) 00:49:14 thank you very much for pointing that out 00:49:44 *stassats`* thinks about using F-keys for selecting windows 00:51:06 slime is really quirky when using more than two windows 00:51:27 someone should fix that! /me looks aside 00:52:00 I am about to prepare a new (for me) course called "syntax analysis" and I am planning to teach parser combinators, and since Lisp is fresh in the heads of the students, I was going to use it for programming. Can someone here please talk to me about existing CL libraries for parser combinators, such as advantages/disadvantages of each one, please? 00:52:10 -!- rtoym [~chatzilla@user-0c99ag2.cable.mindspring.com] has quit [Read error: Connection reset by peer] 00:54:21 -!- Vicfred [~Vicfred@201.102.105.39] has quit [Ping timeout: 246 seconds] 00:55:28 kvsari [~kvsari@203.171.93.21.static.rev.aanet.com.au] has joined #lisp 01:01:07 -!- BrandLeeJones [~BrandLeeJ@84.114.246.246] has left #lisp 01:03:52 pearle [~pearle@blk-224-181-222.eastlink.ca] has joined #lisp 01:06:31 -!- Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 252 seconds] 01:09:32 sabalaba [~sabalaba@c-71-227-118-15.hsd1.mi.comcast.net] has joined #lisp 01:09:49 Oh, well. 01:11:21 -!- pearle [~pearle@blk-224-181-222.eastlink.ca] has quit [Quit: Leaving] 01:12:53 -!- sabalaba [~sabalaba@c-71-227-118-15.hsd1.mi.comcast.net] has quit [Client Quit] 01:21:27 pearle [~pearle@blk-224-181-222.eastlink.ca] has joined #lisp 01:24:46 ltriant [~ltriant@203-217-78-248.dyn.iinet.net.au] has joined #lisp 01:28:15 -!- kvsari [~kvsari@203.171.93.21.static.rev.aanet.com.au] has quit [Quit: leaving] 01:32:27 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 248 seconds] 01:32:30 -!- pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 246 seconds] 01:35:25 -!- dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has quit [Ping timeout: 250 seconds] 01:35:35 -!- davekong [~davekong@unaffiliated/davekong] has quit [Quit: WeeChat 0.3.4] 01:36:37 beach: there are not a lot of such libraries. Theres http://www.cliki.net/parser-combinators and that's about all AFAIK. 01:38:54 beach: it would probably be more interesting to try to implement one's own parser combinators library :-) 01:42:22 bohanlon_ [~bohanlon@pool-108-20-68-105.bstnma.fios.verizon.net] has joined #lisp 01:42:54 pjb: There is also "smug". But yeah, it might be interesting to do that, and probably not that hard. 01:42:55 -!- bohanlon [~bohanlon@TUBERIUM.CLUB.CC.CMU.EDU] has quit [Quit: leaving] 01:43:08 -!- bohanlon_ [~bohanlon@pool-108-20-68-105.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 01:43:37 bohanlon [~bohanlon@pool-108-20-68-105.bstnma.fios.verizon.net] has joined #lisp 01:44:37 -!- Amadiro [~Amadiro@ti0021a380-dhcp3462.bb.online.no] has quit [Read error: Operation timed out] 01:49:44 homie` [~levgue@xdsl-78-35-144-126.netcologne.de] has joined #lisp 01:50:54 Does anyone around work on or with lisp-matrix? 01:52:32 -!- homie [~levgue@xdsl-78-35-154-185.netcologne.de] has quit [Ping timeout: 258 seconds] 01:59:56 -!- milanj [~milanj_@109-92-102-125.dynamic.isp.telekom.rs] has quit [Quit: Leaving] 02:01:40 -!- Quadrescence [~Quad@unaffiliated/quadrescence] has quit [Quit: omghaahhahaohwow] 02:02:37 Amadiro [~Amadiro@ti0021a380-dhcp3462.bb.online.no] has joined #lisp 02:02:43 Xach: what's wrong with wikipedia? 02:05:56 pjb` [~t@81.202.16.46.dyn.user.ono.com] has joined #lisp 02:07:50 -!- j_king [~jking@mortar.walled.net] has quit [Ping timeout: 276 seconds] 02:07:55 j_king [~jking@mortar.walled.net] has joined #lisp 02:08:06 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #lisp 02:09:57 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has quit [Ping timeout: 252 seconds] 02:12:16 -!- enthymeme [~kraken@adsl-76-194-209-80.dsl.lsan03.sbcglobal.net] has quit [Quit: rcirc on GNU Emacs 23.1.1] 02:14:30 -!- killerboy [~mateusz@smrw-91-193-87-5.smrw.lodz.pl] has quit [Ping timeout: 246 seconds] 02:16:03 BrandLeeJones [~BrandLeeJ@84.114.246.246] has joined #lisp 02:16:16 madnificent: any schmuck can edit it! 02:16:56 BrokenCog [~bc@pool-108-18-165-241.washdc.east.verizon.net] has joined #lisp 02:16:57 -!- xan_ [~xan@206.111.142.135.ptr.us.xo.net] has quit [Ping timeout: 240 seconds] 02:17:09 -!- statonjr [~statonjr@71.75.85.85] has quit [Quit: statonjr] 02:18:15 -!- spacemagic [~chatzilla@c-24-245-21-197.hsd1.mn.comcast.net] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 3.6.16/20110323142937]] 02:19:35 madnificent: and it makes cliki look very bad 02:20:44 realitygrill [~realitygr@76.226.220.85] has joined #lisp 02:21:52 -!- BrandLeeJones [~BrandLeeJ@84.114.246.246] has quit [Quit: BrandLeeJones] 02:22:00 -!- Ralith [~ralith@173.10.121.193] has quit [Ping timeout: 260 seconds] 02:27:32 xan_ [~xan@64.134.236.138] has joined #lisp 02:31:50 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 02:36:19 -!- urandom__ [~user@p548A2F97.dip.t-dialin.net] has quit [Remote host closed the connection] 02:37:55 -!- jweiss [~user@cpe-069-134-063-238.nc.res.rr.com] has quit [Ping timeout: 276 seconds] 02:39:04 stassats`: Xach: pjb: beach: pkhuong: nyef: |3b|: And whomever else. Thanks for Slime SBCL and sharing your code and knowledge. I have strong _love_ for Common Lisp today! :) 02:40:51 that's ok, i have strong love for CL everyday 02:42:53 sellout: oh noes, the emacs solarized theme is off by several steps! 02:43:34 antifuchs: You should really get upstream. I'm going to toss my fork. Now managing just the emacs bit in sellout/emacs-color-theme-solarized 02:43:39 (and I was wondering why I didn't like it so much )-:) 02:43:44 cool stuff 02:43:45 (emacs is is upstream now) 02:44:12 Still not perfect, but getting there. 02:45:11 yeah. the color-wrongness is still baffling, though: https://img.skitch.com/20110416-grueq8b9aryuc8u5krxt8nmfng.jpg 02:45:21 also, that it's wrong in both emacs and IDEA (: 02:45:35 antifuchs: Agreed. WTF? 02:45:53 But only on the Mac  which is unfortunately my platform. 02:45:55 serious color-offness. I checked the numbers, they agree with what /should/ be there 02:46:02 but what's being rendered is completely off 02:46:12 as it is mine. wtf. 02:46:54 -!- gffa [~gffa@unaffiliated/gffa] has quit [Quit: sleep] 02:47:52 drl [~lat@110.139.230.142] has joined #lisp 02:48:27 -!- tauntaun [~Crumpet@ool-457c37c3.dyn.optonline.net] has quit [Quit: Ex-Chat] 02:49:25 <_3b> wrong color space? 02:50:02 maybe! I wish I knew more about this stuff (: 02:56:50 -!- BrokenCog [~bc@pool-108-18-165-241.washdc.east.verizon.net] has quit [Quit: leaving] 03:00:27 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #lisp 03:05:07 lolsuper_ [~super_@pool-96-254-154-66.tampfl.fios.verizon.net] has joined #lisp 03:05:07 -!- lolsuper_ [~super_@pool-96-254-154-66.tampfl.fios.verizon.net] has quit [Changing host] 03:05:07 lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has joined #lisp 03:07:43 -!- xan_ [~xan@64.134.236.138] has quit [Ping timeout: 250 seconds] 03:18:10 -!- cods [~cods@rsbac/developer/cods] has quit [Remote host closed the connection] 03:18:16 cods [~cods@tuxee.net] has joined #lisp 03:19:26 -!- elliottcable is now known as ec|jaculated 03:22:12 antgreen` [~user@12.232.236.106] has joined #lisp 03:34:35 -!- clop2 [~jared@moat3.centtech.com] has quit [Ping timeout: 248 seconds] 03:35:18 enthymeme [~kraken@cpe-76-171-245-75.socal.res.rr.com] has joined #lisp 03:36:38 xan_ [~xan@206.111.142.135.ptr.us.xo.net] has joined #lisp 03:40:15 -!- PuffTheMagic is now known as TV_MA_LSV 03:42:54 gravicappa [~gravicapp@ppp91-77-187-65.pppoe.mtu-net.ru] has joined #lisp 03:44:59 -!- pnq [~nick@ACA37BCC.ipt.aol.com] has quit [Read error: Connection reset by peer] 03:47:53 clop2 [~jared@moat3.centtech.com] has joined #lisp 03:48:34 neoesque [~neoesque@210.59.147.226] has joined #lisp 03:53:25 vlion [~user@64.126.142.148] has joined #lisp 03:54:05 pjb`` [~t@81.202.16.46.dyn.user.ono.com] has joined #lisp 03:54:42 Trystam [~Tristam@cpe-72-226-124-205.nycap.res.rr.com] has joined #lisp 03:55:39 -!- pjb` [~t@81.202.16.46.dyn.user.ono.com] has quit [Ping timeout: 246 seconds] 03:55:39 -!- k9quaint_ [~quaint@c-98-207-104-124.hsd1.ca.comcast.net] has quit [Ping timeout: 246 seconds] 03:55:49 wormphlegm [~wormphleg@98.234.186.226] has joined #lisp 03:55:55 -!- Tristam [~Tristam@cpe-72-226-124-205.nycap.res.rr.com] has quit [Ping timeout: 252 seconds] 03:56:00 -!- mpereira [~mpereira@ec2-50-16-8-218.compute-1.amazonaws.com] has quit [Ping timeout: 246 seconds] 03:56:58 mpereira [~mpereira@ec2-50-16-8-218.compute-1.amazonaws.com] has joined #lisp 03:59:13 k9quaint_ [~quaint@c-98-207-104-124.hsd1.ca.comcast.net] has joined #lisp 03:59:15 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 04:01:01 -!- jrockway [~jrockway@jrockway-2-pt.tunnel.tserv9.chi1.ipv6.he.net] has quit [Read error: Operation timed out] 04:01:51 jrockway [~jrockway@jrockway-2-pt.tunnel.tserv9.chi1.ipv6.he.net] has joined #lisp 04:08:21 am0c [~am0c@124.49.51.197] has joined #lisp 04:12:53 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 04:20:12 -!- nuba is now known as nuba_zZzZ 04:20:45 -!- nuba_zZzZ is now known as nuba 04:22:36 -!- vlion [~user@64.126.142.148] has quit [Ping timeout: 246 seconds] 04:25:07 -!- pjb`` [~t@81.202.16.46.dyn.user.ono.com] has quit [Remote host closed the connection] 04:25:43 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #lisp 04:35:49 myu2 [~myu2@v051158.dynamic.ppp.asahi-net.or.jp] has joined #lisp 04:35:52 -!- myu2 [~myu2@v051158.dynamic.ppp.asahi-net.or.jp] has quit [Client Quit] 04:36:35 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Remote host closed the connection] 04:40:41 -!- cesarbp [~chatzilla@189.247.115.33] has quit [Ping timeout: 240 seconds] 04:45:26 Gmind [~Nevermind@113.190.172.242] has joined #lisp 04:47:53 -!- wormphlegm [~wormphleg@98.234.186.226] has quit [Read error: Connection reset by peer] 04:55:05 -!- ltriant [~ltriant@203-217-78-248.dyn.iinet.net.au] has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/] 04:55:21 alama [~alama@a79-169-95-242.cpe.netcabo.pt] has joined #lisp 04:55:26 -!- Gmind [~Nevermind@113.190.172.242] has left #lisp 05:00:42 psilord2 [~psilord@ppp-70-226-166-7.dsl.mdsnwi.ameritech.net] has joined #lisp 05:00:51 -!- psilord2 [~psilord@ppp-70-226-166-7.dsl.mdsnwi.ameritech.net] has left #lisp 05:02:23 "Compilation failed. Load fasl file anyway? (y or n)" 05:02:33 In that situation, didn't it used to bring up a sldb restart? 05:02:56 no 05:03:06 the modality of stealing the keyboard for that y/n question is a real nuisance 05:03:36 what was the prior behavior? 05:03:52 not load it 05:04:21 is there some config option to quiet that prompt with "always n"? 05:05:16 i don't think so, but let me check 05:06:20 as we're running the slime source out of our own repository, I'm open to modifying the source locally to gain the same effect 05:06:41 but I haven't done any diving into its internals 05:06:59 that's right, there is no such option 05:07:01 -!- Khisanth [~Khisanth@pool-96-250-25-39.nycmny.east.verizon.net] has quit [Read error: Operation timed out] 05:07:21 I know googling for it only brought up other people asking how it can be disabled :-P 05:07:58 alright, alright, i'll add it 05:08:34 okay. I guess that's easier for us than modifying the source locally 05:12:59 Khisanth [~Khisanth@pool-96-246-2-5.nycmny.east.verizon.net] has joined #lisp 05:16:26 *stassats`* curses CVS once more 05:17:32 stassats`: motivates you to switch to Hg. 05:17:58 -!- pizzledizzle [~pizdets@pool-96-250-215-244.nycmny.fios.verizon.net] has quit [] 05:18:11 Phooodus: done, see `slime-load-failed-fasl' (after it hits the anonymous CVS) 05:18:11 -!- realitygrill [~realitygr@76.226.220.85] has quit [Ping timeout: 240 seconds] 05:18:16 pjb: it doesn't 05:18:36 Roynz [~kvirc@180.168.94.242] has joined #lisp 05:19:42 hey, thanks. Didn't quite expect that 05:20:24 you got lucky, i don't like it too, so i'll set to always load for me 05:21:06 heh 05:21:49 drdo` [~user@91.205.108.93.rev.vodafone.pt] has joined #lisp 05:23:29 -!- drdo [~user@91.205.108.93.rev.vodafone.pt] has quit [Ping timeout: 240 seconds] 05:24:31 lichtblau: with xuriella, i'd like to treat references to non-existent external documents as warnings, not as errors (ala xsltproc) -- any ideas how to do this? 05:25:40 i could have a handler for conditions of type xslt-error, but this seems too broad for me 05:26:33 hmm, or perhaps a customized uri-resolver, given to apply-stylesheet 05:32:04 Hoornet [~Hoornet@93.103.24.156] has joined #lisp 05:34:21 -!- am0c [~am0c@124.49.51.197] has quit [Quit: Leaving] 05:36:42 dlila [~dlila@CPE0014d1c9243c-CM001bd71cede2.cpe.net.cable.rogers.com] has joined #lisp 05:40:57 gor[e] [~svr@gw1.masterhost.ru] has joined #lisp 05:45:20 -!- srolls [~user@c-76-126-212-192.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 05:49:07 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 05:49:35 -!- Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has quit [Ping timeout: 252 seconds] 05:50:00 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #lisp 05:50:35 Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has joined #lisp 05:51:48 minion: sicp 05:51:55 still no minion? 05:56:04 tcr1 [~tcr@217-162-131-235.dynamic.hispeed.ch] has joined #lisp 05:56:44 leo2007 [~leo@2402:f000:5:2901:225:4bff:fea9:b9e4] has joined #lisp 05:57:05 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 05:59:00 simplechat [~simplecha@unaffiliated/simplechat] has joined #lisp 06:02:25 gaidal [~gaidal@113.109.132.228] has joined #lisp 06:03:39 realitygrill [~realitygr@76.226.116.44] has joined #lisp 06:04:21 Areil [~user@123.21.161.19] has joined #lisp 06:05:12 -!- realitygrill [~realitygr@76.226.116.44] has quit [Remote host closed the connection] 06:06:00 realitygrill [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has joined #lisp 06:08:56 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Read error: Operation timed out] 06:10:14 -!- cmm [~cmm@109.65.203.181] has quit [Ping timeout: 264 seconds] 06:10:48 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 06:11:11 cmm [~cmm@109.65.203.181] has joined #lisp 06:11:53 -!- convulsive [~convulsiv@129.133.193.182] has quit [Ping timeout: 250 seconds] 06:12:34 Liera [~Liera@123.21.161.19] has joined #lisp 06:17:18 BlankVer1e [~pankajm@202.3.77.219] has joined #lisp 06:17:25 -!- realitygrill [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has quit [Quit: realitygrill] 06:17:25 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Read error: Connection reset by peer] 06:19:59 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 06:20:34 -!- BlankVer1e [~pankajm@202.3.77.219] has quit [Read error: Connection reset by peer] 06:26:40 -!- alama [~alama@a79-169-95-242.cpe.netcabo.pt] has quit [Quit: alama] 06:27:11 -!- Woshin [~Woshin@c-66-30-108-153.hsd1.ma.comcast.net] has quit [Ping timeout: 240 seconds] 06:28:23 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 06:28:40 -!- McMAGIC--Copy [debian-tor@gateway/tor-sasl/mcmagic--copy] has quit [Ping timeout: 246 seconds] 06:30:07 McMAGIC--Copy [debian-tor@gateway/tor-sasl/mcmagic--copy] has joined #lisp 06:34:28 lanthan_ [~ze@p54B7CA62.dip.t-dialin.net] has joined #lisp 06:37:04 -!- lanthan [~ze@p54B7D182.dip.t-dialin.net] has quit [Ping timeout: 246 seconds] 06:37:23 -!- tcr1 [~tcr@217-162-131-235.dynamic.hispeed.ch] has quit [Quit: Leaving.] 06:39:49 -!- dlila [~dlila@CPE0014d1c9243c-CM001bd71cede2.cpe.net.cable.rogers.com] has quit [Quit: Leaving] 06:43:45 josemanuel [~josemanue@151.0.222.87.dynamic.jazztel.es] has joined #lisp 06:44:52 -!- enthymeme [~kraken@cpe-76-171-245-75.socal.res.rr.com] has quit [Quit: rcirc on GNU Emacs 23.1.1] 06:44:55 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 276 seconds] 06:48:31 jewel [~jewel@196-215-117-7.dynamic.isadsl.co.za] has joined #lisp 06:48:58 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 06:49:05 -!- stassats` [~stassats@wikipedia/stassats] has quit [Ping timeout: 240 seconds] 06:52:37 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Ping timeout: 250 seconds] 06:52:46 slash_ [~unknown@pD955A685.dip.t-dialin.net] has joined #lisp 06:55:06 eugu [~Miranda@213.141.157.147] has joined #lisp 06:58:09 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 06:58:17 drl [~lat@110.139.230.142] has joined #lisp 06:59:32 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 06:59:38 -!- The_Fellow [~storm2@glida.mooo.com] has quit [Quit: Leaving.] 07:02:20 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #lisp 07:06:35 -!- setmeaway [setmeaway3@183.106.96.20] has quit [Read error: Connection reset by peer] 07:06:48 setmeaway [setmeaway3@183.106.96.20] has joined #lisp 07:07:08 -!- setmeaway [setmeaway3@183.106.96.20] has quit [Read error: Connection reset by peer] 07:08:26 realitygrill [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has joined #lisp 07:09:15 ye_ [~h@78.129.114.47] has joined #lisp 07:10:04 can someone help me ? 07:10:08 not sure how to implement something in CL 07:10:39 grncdr [~stephen@sdo.csc.UVic.CA] has joined #lisp 07:10:55 -!- cnl [~cnl@78.31.74.25] has quit [Ping timeout: 276 seconds] 07:11:45 setmeaway [~setmeaway@183.106.96.20] has joined #lisp 07:12:22 lisp newb here, currently going through "practical common lisp" and going off on a bit of a tangent playing with macros... should expandmacro recursively expand macros? 07:13:16 i think it expands all macros 07:13:29 Go ahead and ask :-) ... and some one will try to help.. if not right now, whenever they happen to wander over to the computer 07:14:03 use macroexpand-1 to just expand 1 time 07:14:23 ok, that's what I thought (as implied by the name) 07:14:33 macroexpand doesn't expands macros in subexpressions. It only expands the toplevel forms until it's not a macro. 07:15:15 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #lisp 07:15:19 Macros forms may expand to a macro form of the same macro (but obviously different, to terminate). 07:16:08 i have a list and i want to get back a list of original elements minus the ones that returns nil when apply a given func on them 07:16:16 like map, but returning the original items in the list not the results of the function 07:16:33 remove-if-not 07:17:20 "elements minus the ones" = remove 07:17:56 gemelen [~shelta@shpd-78-36-167-48.static.vologda.ru] has joined #lisp 07:18:14 i was thinking of a variant of map, i feel stupid now, but thanks 07:18:48 ye_: as a newbie, you may want to just browse the dictionary sections of each chapters of CLHS. There's no need to read the definition pages right now, just read the ToC of the dictionary sections twice or thrice, until you have an idea of the operators that exist. 07:19:24 Then when you think of a function, perhaps some symbol will occur you, and you may read the clhs page to see if it corresponds to what you need. 07:20:14 (of course, asking on #lisp works too :-)) 07:20:24 i actually used that one in my code already, just didnt think about it 07:20:32 and thanks for pointing me to clhs 07:20:49 It's called filter in scheme... 07:21:06 i was looking in cltl but it isnt very easy to find anything in there 07:21:13 i went through most of sicp 07:21:16 ok, I'm missing something obvious about macros already... if I (defmacro dbl (x) (list x x)) and then (double 1) I get dumped to the debugger 07:21:21 ye_: you may also use the symbol index, and the permuted symbol index. 07:21:22 so doing cl now isnt that easy 07:21:39 but if I macroexpand the same thing it works 07:21:44 grncdr: yes, because 1 is not a function name. 07:22:02 ok, so I need (list 'list x x) 07:22:02 its trying to run (1 1) like a function call 07:22:08 grncdr: yes, but the macroexpansion works, but it produce an invalid form. 07:22:11 yes 07:22:14 ah 07:22:26 that makes perfect sense 07:22:29 grncdr: indeed. 07:22:49 ;) 07:22:52 grncdr: notice that there's a reader macro to shortcut the constructions of such lists: (list 'list x x) == `(list ,x ,x) 07:23:07 -!- Jake_ [~Jake@71-89-15-161.dhcp.oxfr.ma.charter.com] has quit [Quit: Leaving] 07:23:22 (append (list 'list x) y) == `(list ,x ,@y) 07:23:25 etc. 07:24:24 right, I had seen the backticks, and that made sense, was just using that macro as a simple example to help me figure out what I was missing with my more complicated one 07:26:24 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Quit: Leaving] 07:27:34 billitch [~billitch@men75-12-88-183-197-206.fbx.proxad.net] has joined #lisp 07:30:05 -!- fortitudeZDY [~fortitude@210.192.101.125] has quit [Quit: leaving] 07:35:42 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Quit: Lost terminal] 07:37:28 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:40:07 BlankVer1e [~pankajm@202.3.77.219] has joined #lisp 07:40:44 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Read error: Connection reset by peer] 07:42:35 pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #lisp 07:42:40 pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #lisp 07:43:19 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:43:40 -!- BlankVer1e [~pankajm@202.3.77.219] has quit [Read error: Connection reset by peer] 07:45:07 insomnia1alt [~milan@port-92-204-33-193.dynamic.qsc.de] has joined #lisp 07:45:29 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 250 seconds] 07:46:33 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Client Quit] 07:48:05 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:48:37 -!- insomniaSalt [~milan@port-92-204-80-111.dynamic.qsc.de] has quit [Ping timeout: 276 seconds] 07:49:58 -!- wormphle1m [~wormphleg@c-98-234-186-226.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 07:50:53 xxxyyy [~xyxu@58.33.152.39] has joined #lisp 07:52:52 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Client Quit] 07:53:45 -!- Liera [~Liera@123.21.161.19] has quit [Quit: Leaving] 07:54:24 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:54:59 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Remote host closed the connection] 07:55:05 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:55:13 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Remote host closed the connection] 07:55:20 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:55:50 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Remote host closed the connection] 07:55:57 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:57:03 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Read error: Connection reset by peer] 07:57:19 -!- Areil [~user@123.21.161.19] has quit [Read error: Connection reset by peer] 07:58:01 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:58:02 drl [~lat@110.139.230.142] has joined #lisp 07:58:22 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Remote host closed the connection] 07:58:29 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 07:58:31 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Read error: Connection reset by peer] 07:59:57 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 08:00:16 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Remote host closed the connection] 08:02:00 -!- slash_ [~unknown@pD955A685.dip.t-dialin.net] has quit [Quit: Leaving.] 08:02:01 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 08:02:29 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Read error: Connection reset by peer] 08:04:58 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 08:05:12 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Remote host closed the connection] 08:06:58 tcr1 [~tcr@217-162-131-235.dynamic.hispeed.ch] has joined #lisp 08:07:02 freewheelnat [~freewheel@cpc2-pool4-0-0-cust31.15-1.cable.virginmedia.com] has joined #lisp 08:08:50 -!- ye_ [~h@78.129.114.47] has quit [Quit: Leaving] 08:08:53 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 08:10:07 -!- freewheelnat [~freewheel@cpc2-pool4-0-0-cust31.15-1.cable.virginmedia.com] has quit [Client Quit] 08:11:55 -!- loke [~elias@bb116-14-81-241.singnet.com.sg] has quit [Read error: Connection reset by peer] 08:11:58 loke_ [~elias@bb220-255-249-132.singnet.com.sg] has joined #lisp 08:14:13 bege [~bege@S0106001cf0520ea3.ed.shawcable.net] has joined #lisp 08:15:23 -!- macrocat [~marmalade@142.177.92.68] has quit [Remote host closed the connection] 08:15:56 basho__ [~basho__@dslb-188-108-237-206.pools.arcor-ip.net] has joined #lisp 08:16:33 morphling [~stefan@gssn-5f7579f2.pool.mediaWays.net] has joined #lisp 08:18:11 katesmith [~katesmith@unaffiliated/costume] has joined #lisp 08:18:17 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Remote host closed the connection] 08:18:26 Davidbrcz [david@212-198-126-167.rev.numericable.fr] has joined #lisp 08:19:00 loke__ [~elias@bb116-15-162-61.singnet.com.sg] has joined #lisp 08:19:31 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 08:21:22 -!- loke_ [~elias@bb220-255-249-132.singnet.com.sg] has quit [Ping timeout: 246 seconds] 08:23:48 -!- xxxyyy [~xyxu@58.33.152.39] has quit [Quit: Leaving.] 08:24:01 Areil [~user@123.21.161.19] has joined #lisp 08:29:52 Ralith [~ralith@173-10-121-193-BusName-Washington.hfc.comcastbusiness.net] has joined #lisp 08:30:04 BlankVer1e [~pankajm@202.3.77.219] has joined #lisp 08:31:35 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Ping timeout: 258 seconds] 08:31:52 -!- BlankVer1e [~pankajm@202.3.77.219] has quit [Read error: Connection reset by peer] 08:34:39 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 08:35:01 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 08:36:53 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 08:38:03 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 08:38:12 galumph [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has joined #lisp 08:38:57 -!- galumph [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has quit [Max SendQ exceeded] 08:39:02 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Remote host closed the connection] 08:39:12 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 08:39:38 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 08:40:17 galumph [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has joined #lisp 08:41:01 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 08:42:48 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Client Quit] 08:43:58 -!- billitch [~billitch@men75-12-88-183-197-206.fbx.proxad.net] has quit [Ping timeout: 260 seconds] 08:44:08 mrSpec [~Spec@89-75-35-251.dynamic.chello.pl] has joined #lisp 08:44:14 -!- mrSpec [~Spec@89-75-35-251.dynamic.chello.pl] has quit [Changing host] 08:44:14 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 08:45:01 emporas [~emporas@athedsl-170924.home.otenet.gr] has joined #lisp 08:46:23 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 08:50:11 -!- emporas [~emporas@athedsl-170924.home.otenet.gr] has quit [Ping timeout: 276 seconds] 08:52:33 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 08:52:46 -!- bege [~bege@S0106001cf0520ea3.ed.shawcable.net] has quit [Quit: leaving] 08:52:49 udzinari [~user@ip-89-102-12-6.net.upcbroadband.cz] has joined #lisp 08:52:54 am0c [~am0c@124.49.51.197] has joined #lisp 08:53:17 -!- homie` [~levgue@xdsl-78-35-144-126.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:56:11 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Remote host closed the connection] 08:56:34 homie [~levgue@xdsl-78-35-144-126.netcologne.de] has joined #lisp 08:58:42 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 240 seconds] 09:04:03 -!- Areil [~user@123.21.161.19] has quit [Read error: Connection reset by peer] 09:05:05 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 09:06:05 -!- Younder [~john@224.13.202.84.customer.cdi.no] has quit [Remote host closed the connection] 09:07:54 killerboy [~mateusz@smrw-91-193-87-5.smrw.lodz.pl] has joined #lisp 09:11:42 -!- leo2007 [~leo@2402:f000:5:2901:225:4bff:fea9:b9e4] has quit [Read error: Operation timed out] 09:22:58 -!- setmeaway [~setmeaway@183.106.96.20] has quit [Ping timeout: 246 seconds] 09:28:07 -!- TheRealLongshot [~longshot@180.184.33.204] has quit [Quit: TheRealLongshot] 09:29:25 HET2 [~diman@cpc1-cdif12-2-0-cust125.5-1.cable.virginmedia.com] has joined #lisp 09:33:17 drl [~lat@110.139.230.142] has joined #lisp 09:35:03 -!- xan_ [~xan@206.111.142.135.ptr.us.xo.net] has quit [Read error: Operation timed out] 09:35:16 ltriant [~ltriant@203-217-78-248.dyn.iinet.net.au] has joined #lisp 09:35:27 -!- Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has quit [Ping timeout: 252 seconds] 09:35:57 Gmind [~Nevermind@113.190.204.254] has joined #lisp 09:36:04 hi 09:36:12 (defun power (number base) 09:36:12 (if (> base 0) 09:36:13 (power (* number number) (- base 1)) 09:36:13 (power))) 09:36:20 what wrong w/ my power ? 09:36:24 Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has joined #lisp 09:36:28 Gmind: Please use lisppaste for posting code. 09:36:35 oops, sorry 09:36:59 You are calling (power) with 0 arguments but it wants 2. 09:37:24 Gmind: You probably meant just just POWER without parens. 09:37:30 Or (symbol-value power) 09:37:45 naryl: Why would he have meant that? 09:37:56 ohwait 09:38:00 Ignore me. -_- 09:40:26 http://pastebin.com/c9dfuASM 09:40:33 just a simple power function 09:40:36 =.= 09:40:41 but I'm new to this 09:40:59 Gmind: But what did you mean when you wrote (power) on the last line? 09:41:12 I want to return the result :( 09:41:20 when the base is 0 09:41:32 Gmind: But what makes you think that (power) is the result? 09:42:07 because power itself is a function , a function should return a result =) 09:42:16 just tell me how to do it your way 09:42:25 I know it's wrong 09:42:33 Gmind: When the base is 0 the result would be 1, when the base is 1 the result would be NUMBER. 09:42:41 Gmind: But (power) calls the power function with no arguments, but you just defined it to have two. 09:42:54 yay 09:42:56 :P 09:43:07 what should I let it to do when base reach 0 ? 09:43:12 naryl: You spoil the pedagogical experience. 09:43:24 sorry. 09:43:27 Gmind: It depends on what you want the function to do. 09:43:48 beach: But it won't work anyway. You have plenty more to teach. 09:43:51 Gmind: You call it POWER, but then you have an argument called BASE, which is very strange. 09:44:02 :) 09:44:04 naryl: Possibly, yes. 09:44:05 sorry, it's just a name :P 09:44:24 Gmind: Yes, but if you want help, you had better use names that mean something to the people you ask. 09:44:41 Gmind: So perhaps your POWER function does addition? 09:44:41 my eng in math is not good 09:44:46 no 09:44:50 it's just do power 09:44:55 Gmind: It could. It's just a name. 09:44:57 3 ^ 2 = 9 09:45:03 that's what I want 09:45:04 =.= 09:45:11 Gmind: Then what you call BASE is what others would call EXPONENT. 09:45:20 thank 09:45:21 :P 09:45:24 then change it 09:45:49 OK, so what is the base case here? 09:45:56 Salamander_ [~Salamande@ppp121-45-142-254.lns21.adl2.internode.on.net] has joined #lisp 09:46:12 :| 09:47:02 ok then 09:47:07 Gmind: When you do recursive reasoning (reasoning by induction in math) you start by finding base cases, i.e. values for which you know the result a priori. 09:47:23 if ( > expt 1) then I will continue to power up 09:47:32 For example, the length of the empty list is 0. 09:47:33 else I will just show out the result 09:47:34 :P 09:47:43 Gmind: That's not the base case. That's the induction hypothesis. Start with the base case. 09:48:27 -!- Salamander [~Salamande@ppp118-210-58-40.lns20.adl2.internode.on.net] has quit [Ping timeout: 246 seconds] 09:48:29 ah... ok 09:48:37 you mean when the recursion will stop ? 09:48:42 Yes. 09:48:50 Always start with the base case. 09:49:01 when expt is 1 09:49:15 You could do that. 0 is even better. 09:49:32 Because other than if number is 0 number^0 is 1. 09:50:01 sarah__ [~danieljam@94-193-7-241.zone7.bethere.co.uk] has joined #lisp 09:50:01 :-? 09:50:11 how will I implement this function now ? 09:50:38 Gmind: You had the right idea, just start with the base case in the if. 09:51:36 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 252 seconds] 09:51:42 zomgbie [~jesus@h081217131002.dyn.cm.kabsi.at] has joined #lisp 09:53:25 is there a convenient operator which can test a value and return either that value, or something else if it is 'nil 09:53:49 sarah__: or 09:54:07 (or that-value something-else) 09:54:20 oh my 09:54:24 thanks 09:54:29 no problem 09:55:54 Athas [~athas@shop3.diku.dk] has joined #lisp 09:57:25 yeah, I just changed my old, old "snap non-nil to t" function to (and val t) 09:58:46 fsrt [~m@talula.plus.com] has joined #lisp 10:00:51 -!- fsrt [~m@talula.plus.com] has left #lisp 10:02:00 The_Fellow [~storm2@glida.mooo.com] has joined #lisp 10:04:47 drl [~lat@110.139.230.142] has joined #lisp 10:05:10 loke_ [~elias@bb119-74-155-99.singnet.com.sg] has joined #lisp 10:05:40 -!- Salamander_ [~Salamande@ppp121-45-142-254.lns21.adl2.internode.on.net] has quit [Ping timeout: 246 seconds] 10:06:59 -!- loke__ [~elias@bb116-15-162-61.singnet.com.sg] has quit [Ping timeout: 252 seconds] 10:10:41 Spion [~spion@unaffiliated/spion] has joined #lisp 10:13:33 Athas` [~athas@shop0.diku.dk] has joined #lisp 10:13:34 -!- gravicappa [~gravicapp@ppp91-77-187-65.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 10:13:37 -!- Spion_ [~spion@unaffiliated/spion] has quit [Ping timeout: 240 seconds] 10:14:11 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 240 seconds] 10:15:07 -!- Athas [~athas@shop3.diku.dk] has quit [Ping timeout: 246 seconds] 10:18:01 Salamander_ [~Salamande@ppp118-210-33-84.lns20.adl2.internode.on.net] has joined #lisp 10:20:52 -!- Roynz [~kvirc@180.168.94.242] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 10:22:04 BrandLeeJones [~BrandLeeJ@84.114.246.246] has joined #lisp 10:22:29 Is there an sqllib-agnostic SQL syntax? I want one for cl-sqlite but all of them seem to be a part of bigger libraries. 10:22:48 -!- Gmind [~Nevermind@113.190.204.254] has quit [Quit: Leaving.] 10:22:51 like clsql or hu.dwim.rdbms. 10:27:05 drl [~lat@110.139.230.142] has joined #lisp 10:27:43 -!- BrandLeeJones [~BrandLeeJ@84.114.246.246] has left #lisp 10:35:12 naeg [~naeg@194.208.239.170] has joined #lisp 10:39:56 -!- realitygrill [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has quit [Quit: realitygrill] 10:46:45 beach` [~user@116.118.8.187] has joined #lisp 10:49:08 -!- beach [~user@116.118.11.247] has quit [Ping timeout: 276 seconds] 10:51:52 -!- sellout [~Adium@c-24-61-13-161.hsd1.ma.comcast.net] has quit [Ping timeout: 246 seconds] 10:54:01 sabalaba [~sabalaba@c-71-227-118-15.hsd1.mi.comcast.net] has joined #lisp 10:56:17 Zephyrus [~emanuele@unaffiliated/zephyrus] has joined #lisp 10:56:35 -!- Demosthenes [~demo@206.180.155.43.adsl.hal-pc.org] has quit [Quit: Lost terminal] 10:57:53 -!- am0c [~am0c@124.49.51.197] has quit [Remote host closed the connection] 11:00:48 -!- Athas` is now known as Athas 11:01:38 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 11:04:49 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #lisp 11:05:24 macrocat [~marmalade@142.177.45.71] has joined #lisp 11:06:20 -!- antgreen` [~user@12.232.236.106] has quit [Remote host closed the connection] 11:08:27 -!- Beetny [~Beetny@ppp118-208-16-38.lns20.bne1.internode.on.net] has quit [Ping timeout: 248 seconds] 11:08:48 -!- Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has quit [Ping timeout: 240 seconds] 11:10:00 Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has joined #lisp 11:10:35 drm [~drm@cpc2-cmbg14-2-0-cust310.5-4.cable.virginmedia.com] has joined #lisp 11:18:15 emporas [~emporas@athedsl-170924.home.otenet.gr] has joined #lisp 11:19:13 Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has joined #lisp 11:20:32 varjag [~eugene@4.169.249.62.customer.cdi.no] has joined #lisp 11:20:43 -!- amb007 [~a_bakic@252.17.97-84.rev.gaoland.net] has quit [Ping timeout: 248 seconds] 11:25:50 -!- drm [~drm@cpc2-cmbg14-2-0-cust310.5-4.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 11:31:23 -!- cmm [~cmm@109.65.203.181] has quit [Ping timeout: 260 seconds] 11:31:52 cmm [~cmm@109.65.203.181] has joined #lisp 11:36:54 sellout [~Adium@173-124-166-193.pools.spcsdns.net] has joined #lisp 11:40:42 spilman [~spilman@ARennes-552-1-29-226.w92-135.abo.wanadoo.fr] has joined #lisp 11:44:17 -!- Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 11:49:00 alama [~alama@a79-169-95-242.cpe.netcabo.pt] has joined #lisp 11:53:28 -!- Spion [~spion@unaffiliated/spion] has quit [Ping timeout: 246 seconds] 11:54:39 gor[e]_ [~svr@gw1.masterhost.ru] has joined #lisp 11:55:53 -!- gor[e] [~svr@gw1.masterhost.ru] has quit [Ping timeout: 252 seconds] 11:58:34 Bahman [~Bahman@2.144.209.73] has joined #lisp 11:59:06 Hi all! 11:59:25 -!- bohanlon [~bohanlon@pool-108-20-68-105.bstnma.fios.verizon.net] has quit [Quit: So long, and thanks for all the fish!] 12:00:27 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 12:05:51 -!- jamief [~user@harrison.doc.gold.ac.uk] has quit [Quit: Terminated with extreme prejudice - dircproxy 1.0.5] 12:05:54 ye_ [~h@78.129.114.47] has joined #lisp 12:06:33 if I do this: ((lambda (x) (+ x 1)) 1), i got 2 12:07:00 but if I do (defvar a (lambda (x) (+ x 1))) then (a 1) 12:07:03 i got an error 12:07:21 i did a lot of scheme and not much cl, i don't understand the error 12:08:23 -!- cmm [~cmm@109.65.203.181] has quit [Remote host closed the connection] 12:08:42 a is bound to an expression ? 12:08:53 you assign it a value ? 12:09:24 jamief [~user@158.223.51.80] has joined #lisp 12:09:43 ye_: (funcall a 1) 12:10:00 Variables and functions are separate namespaces in CL. 12:10:08 pnq [~nick@AC818894.ipt.aol.com] has joined #lisp 12:10:12 ye_: CL symbols have more than one slot. You assign to symbol-value, when you do (a 1) it uses symbol-function. 12:10:35 So the equivalent would be. (setf (symbol-function a) (lambda (x) (+ x 1))) 12:10:38 NOT TESTED 12:10:55 it works with funcall 12:11:03 i'm storing some code in an object 12:11:04 -!- spilman [~spilman@ARennes-552-1-29-226.w92-135.abo.wanadoo.fr] has left #lisp 12:11:16 that i want to run when some things happen to the object 12:11:46 ye_: (a b c) will use a's symbol-function but b and c's symbol-value. So (funcall a 1) uses a's symbol value which had the lambda from DEFVAR. 12:11:47 you need state 12:12:02 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #lisp 12:12:10 statefull variable ? 12:12:48 an object 12:12:55 im using an accessor to get the code in one of the slot 12:13:08 wait everything is an object in lisp 12:13:19 a make-instance 12:13:22 from a class i defined 12:13:27 so does everything has state ? 12:14:07 Bronsa [~brace@79.6.186.237] has joined #lisp 12:14:47 something like a watchdog 12:14:48 am0c [~am0c@183.96.90.183] has joined #lisp 12:14:49 (defclass () (code :initarg :code :initform #'(lambda () (format "it works")) :accessor code)) 12:15:08 (defparameter foo (make-instance 'myclass)) 12:15:17 yes 12:18:30 -!- Salamander_ is now known as Salamander 12:19:22 when I load something with asdf, how can I check if it's already loaded ? 12:19:24 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 12:19:41 some add in *feature* but not all 12:21:10 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #lisp 12:22:06 when you load some package via asdf it usually gives T or nil depending if it was loaded or not 12:22:10 -!- am0c [~am0c@183.96.90.183] has quit [Ping timeout: 246 seconds] 12:22:31 when reloading it usually gives nil, cause there was nothing to load 12:22:44 well, that maybe an actual bug... i don't know 12:23:00 but if I want to check before i load it 12:23:00 not to load it again 12:23:22 Salamander_ [~Salamande@ppp118-210-119-9.lns20.adl2.internode.on.net] has joined #lisp 12:23:41 check before load is not possible, other than you want to check via path or some such.... 12:24:01 depends on what you want to check 12:24:18 before it is not loaded, nothing from that package will be interned 12:25:25 -!- Salamander [~Salamande@ppp118-210-33-84.lns20.adl2.internode.on.net] has quit [Ping timeout: 258 seconds] 12:26:01 i mean you can't check it as if it is interned 12:26:12 you'll write a package specific script or some such.... 12:27:10 or a regex-engin to look for things in all packages or so.... 12:27:40 You can check if the package from that system is loaded with FIND-PACKAGE. 12:29:01 What implementation of scheme do you folks recommend to use? (Linux, x64) 12:29:13 mzscheme 12:29:18 plt 12:29:26 chicken 12:29:51 cmuscheme and mitscheme too maybe 12:30:41 -!- naeg [~naeg@194.208.239.170] has quit [Quit: WeeChat 0.3.4] 12:31:42 homie: I got plt and chicken in my repositories. Any preference? 12:32:00 well i would say first chicken 12:32:05 then plt 12:32:13 when you want gui go with plt 12:32:16 Bahman: I would say first Racket but you better ask at #scheme. 12:32:27 racket is mzscheme is plt not ? 12:32:31 Salamander__ [~Salamande@ppp118-210-161-72.lns20.adl6.internode.on.net] has joined #lisp 12:32:43 -!- dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has quit [Ping timeout: 248 seconds] 12:32:46 Thanks homie, naryl. 12:33:01 -!- Salamander_ [~Salamande@ppp118-210-119-9.lns20.adl2.internode.on.net] has quit [Ping timeout: 246 seconds] 12:33:57 thanks naryl 12:35:09 Salamander [~Salamande@ppp121-45-140-111.lns21.adl2.internode.on.net] has joined #lisp 12:36:13 -!- beach` is now known as beach 12:37:31 -!- Salamander__ [~Salamande@ppp118-210-161-72.lns20.adl6.internode.on.net] has quit [Ping timeout: 248 seconds] 12:41:04 -!- Salamander [~Salamande@ppp121-45-140-111.lns21.adl2.internode.on.net] has quit [Ping timeout: 246 seconds] 12:41:38 azaq23 [~derivecto@unaffiliated/azaq23] has joined #lisp 12:42:39 aperturefever [~abell@ppp079166187001.dsl.hol.gr] has joined #lisp 12:42:50 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Ping timeout: 240 seconds] 12:43:26 theBlackDragon [~dragon@83.101.80.180] has joined #lisp 12:43:58 cnl [~cnl@78.31.74.25] has joined #lisp 12:45:49 dmiles_afk [~dmiles@c-71-56-149-8.hsd1.wa.comcast.net] has joined #lisp 12:53:07 -!- drdo` is now known as drdo 12:53:13 ghiu [~gu@dynamic-adsl-94-36-67-168.clienti.tiscali.it] has joined #lisp 12:53:20 Salamander [~Salamande@ppp118-210-213-108.lns20.adl6.internode.on.net] has joined #lisp 12:54:27 -!- ghiu [~gu@dynamic-adsl-94-36-67-168.clienti.tiscali.it] has quit [Client Quit] 12:54:31 -!- Trystam is now known as Tristam 12:55:10 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #lisp 12:58:13 ghiu [~gu@dynamic-adsl-94-36-67-168.clienti.tiscali.it] has joined #lisp 12:58:49 NamelessTee [~Ben@AReims-552-1-14-252.w90-1.abo.wanadoo.fr] has joined #lisp 12:59:42 -!- ghiu [~gu@dynamic-adsl-94-36-67-168.clienti.tiscali.it] has quit [Client Quit] 13:03:55 gravicappa [~gravicapp@ppp91-77-180-147.pppoe.mtu-net.ru] has joined #lisp 13:04:38 BrandLeeJones [~BrandLeeJ@84.114.246.246] has joined #lisp 13:04:42 rdd [~rdd@c83-250-52-16.bredband.comhem.se] has joined #lisp 13:05:56 setmeaway [setmeaway3@119.201.52.252] has joined #lisp 13:14:04 what does non-local transfer of control mean in sbcl ? 13:15:10 a jump out of a function I would guess 13:15:18 i just stopped some test in maxima, cause it would hang, and then got into debug mode, pressed return to maxima toplevel and maxima just restarted 13:15:29 i'm guessing it means giving over control to something else, either a system call or other program? 13:15:32 via GO, THROW or SIGNAL 13:15:56 hmmm ok 13:23:33 gffa [~gffa@unaffiliated/gffa] has joined #lisp 13:25:37 -!- zomgbie [~jesus@h081217131002.dyn.cm.kabsi.at] has quit [Ping timeout: 240 seconds] 13:33:32 sbahra [~sbahra@pool-74-106-252-24.bltmmd.fios.verizon.net] has joined #lisp 13:33:35 waaaaargh [~waaaaargh@agsb-5d852f73.pool.mediaWays.net] has joined #lisp 13:35:04 -!- Davidbrcz [david@212-198-126-167.rev.numericable.fr] has quit [Ping timeout: 276 seconds] 13:35:14 fortitudeZDY [~fortitude@210.192.101.125] has joined #lisp 13:37:27 LiamH [~healy@pool-72-75-119-109.washdc.east.verizon.net] has joined #lisp 13:41:41 -!- fortitudeZDY [~fortitude@210.192.101.125] has quit [Ping timeout: 250 seconds] 13:42:43 Woshin [~Woshin@c-66-30-108-153.hsd1.ma.comcast.net] has joined #lisp 13:42:46 fortitudeZDY [~fortitude@210.192.101.125] has joined #lisp 13:44:16 -!- Bronsa [~brace@79.6.186.237] has quit [Quit: leaving] 13:45:12 dnolen [~davidnole@184.152.69.75] has joined #lisp 13:45:34 TheRealLongshot [~longshot@180.184.33.204] has joined #lisp 13:47:27 -!- Bahman [~Bahman@2.144.209.73] has quit [Ping timeout: 258 seconds] 13:48:17 Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has joined #lisp 13:48:19 -!- alama [~alama@a79-169-95-242.cpe.netcabo.pt] has quit [Quit: alama] 13:48:44 Bahman [~Bahman@2.144.209.73] has joined #lisp 13:50:33 jcazevedo [~jcazevedo@bl18-95-167.dsl.telepac.pt] has joined #lisp 13:53:05 -!- NamelessTee [~Ben@AReims-552-1-14-252.w90-1.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 13:53:06 MoALTz_ [~no@92.18.80.117] has joined #lisp 13:53:26 tauntaun [~Crumpet@ool-457c37c3.dyn.optonline.net] has joined #lisp 13:53:35 -!- sarah__ [~danieljam@94-193-7-241.zone7.bethere.co.uk] has quit [Ping timeout: 252 seconds] 13:55:27 TeMPOraL [~user@46.204.10.219.nat.umts.dynamic.eranet.pl] has joined #lisp 13:55:53 -!- MoALTz [~no@92.8.159.153] has quit [Ping timeout: 246 seconds] 13:55:59 GutenLinux [~chatzilla@122.242.168.132] has joined #lisp 13:58:49 Cin [~Cin@pdpc/supporter/student/zhuangzi] has joined #lisp 13:59:02 If I want to write a swank backend where's best to look for how to do that? 14:04:37 -!- TV_MA_LSV is now known as PuffTheMagic 14:05:16 -!- PuffTheMagic is now known as TV_MA_LSV 14:06:18 billitch [~billitch@men75-12-88-183-197-206.fbx.proxad.net] has joined #lisp 14:07:04 NamelessTee [~Ben@AReims-552-1-28-156.w92-142.abo.wanadoo.fr] has joined #lisp 14:09:26 hargettp [~hargettp@pool-71-184-183-90.bstnma.east.verizon.net] has joined #lisp 14:10:46 -!- homie [~levgue@xdsl-78-35-144-126.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:14:16 -!- TV_MA_LSV is now known as PuffTheMagic 14:16:52 -!- timjstewart [~tims@159.182.183.6] has quit [Read error: Connection reset by peer] 14:19:09 homie [~levgue@xdsl-78-35-144-126.netcologne.de] has joined #lisp 14:19:21 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 14:23:56 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #lisp 14:31:41 syamajala [~syamajala@68-187-217-213.dhcp.oxfr.ma.charter.com] has joined #lisp 14:31:50 -!- syamajala [~syamajala@68-187-217-213.dhcp.oxfr.ma.charter.com] has quit [Remote host closed the connection] 14:31:57 syamajala [~syamajala@68-187-217-213.dhcp.oxfr.ma.charter.com] has joined #lisp 14:32:51 urandom__ [~user@p548A4CD5.dip.t-dialin.net] has joined #lisp 14:33:39 Salamander_ [~Salamande@ppp118-210-233-241.lns20.adl6.internode.on.net] has joined #lisp 14:33:52 -!- Woshin [~Woshin@c-66-30-108-153.hsd1.ma.comcast.net] has quit [Ping timeout: 260 seconds] 14:34:57 -!- Salamander [~Salamande@ppp118-210-213-108.lns20.adl6.internode.on.net] has quit [Ping timeout: 240 seconds] 14:35:43 Davidbrcz [david@212-198-126-167.rev.numericable.fr] has joined #lisp 14:35:50 cesarbp [~chatzilla@189.247.115.33] has joined #lisp 14:37:35 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 250 seconds] 14:39:43 -!- Salamander_ [~Salamande@ppp118-210-233-241.lns20.adl6.internode.on.net] has quit [Ping timeout: 246 seconds] 14:40:23 homie` [~levgue@xdsl-87-79-193-143.netcologne.de] has joined #lisp 14:41:01 -!- homie` [~levgue@xdsl-87-79-193-143.netcologne.de] has quit [Remote host closed the connection] 14:41:08 amb007 [~a_bakic@252.17.97-84.rev.gaoland.net] has joined #lisp 14:42:29 -!- azaq23 [~derivecto@unaffiliated/azaq23] has quit [Quit: Leaving.] 14:43:08 -!- homie [~levgue@xdsl-78-35-144-126.netcologne.de] has quit [Ping timeout: 276 seconds] 14:43:16 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 14:45:26 gigamonkey [~user@adsl-99-24-219-24.dsl.pltn13.sbcglobal.net] has joined #lisp 14:45:49 Cin: A swank common lisp backend or one for another language? 14:45:51 -!- gigamonkey [~user@adsl-99-24-219-24.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 14:46:27 gigamonkey [~user@adsl-99-24-219-24.dsl.pltn13.sbcglobal.net] has joined #lisp 14:50:20 drl [~lat@110.139.230.142] has joined #lisp 14:52:37 Salamander [~Salamande@ppp118-210-105-71.lns20.adl2.internode.on.net] has joined #lisp 14:52:59 joachifm [~joachim@212.7.195.193] has joined #lisp 14:53:22 -!- Vutral [ss@vutral.net] has quit [Ping timeout: 252 seconds] 14:55:24 homie [~levgue@xdsl-87-79-193-143.netcologne.de] has joined #lisp 14:56:58 -!- fortitudeZDY [~fortitude@210.192.101.125] has quit [Quit: leaving] 14:57:31 -!- orivej [~orivej@217.66.146.109] has quit [Remote host closed the connection] 14:58:03 memechaser [~memechase@85.211.36.8] has joined #lisp 14:58:42 Hi, I wonder if anyone could offer some advice please? 14:58:55 I'm trying to dynamically add stuff to a nested alist. Like so: http://pastebin.com/nc3Z2yRG 14:59:17 -!- loke_ is now known as loke 14:59:33 memechaser: What have you tried? 15:00:22 Xach: (I'm using elisp), complicated amounts of `assoc` and `setcdr` and friends. 15:00:36 This channel is for Common Lisp. 15:00:58 Sorry, I thought so, but thought it may be ok to ask about other dialects too. 15:01:28 The solution in CL would look quite a bit different. 15:01:30 Your question isn't about adding, but about transforming. 15:01:43 orivej [~orivej@host-34-146-66-217.spbmts.ru] has joined #lisp 15:01:46 I think this is a general lisp issue. I'm quite new to it, and it seems that dictionaries in other high-level languages allow for this kind of work quite easily. 15:01:49 If you are just transforming a list into a tree, then it should be simpler. 15:01:58 MoALTz__ [~no@92.9.70.189] has joined #lisp 15:02:36 Does elisp have setf? 15:02:47 Well, setq, but yes. 15:02:57 setq is not setf. 15:02:57 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Ping timeout: 240 seconds] 15:03:12 Oh :/ 15:03:26 Yes, it does have setf too 15:04:00 That might make things simpler if there is a (setf (assoc ...) ...) form. 15:04:14 -!- MoALTz_ [~no@92.18.80.117] has quit [Ping timeout: 264 seconds] 15:04:22 Err, sorry, correction. The cl library I'm using in elisp does have setf implemented. 15:04:32 Vutral [ss@vutral.net] has joined #lisp 15:04:58 Why do you want a tree structure of that form? 15:05:33 -!- orivej [~orivej@host-34-146-66-217.spbmts.ru] has quit [Remote host closed the connection] 15:06:11 Would something as simple as (push value (gethash *table* key)) work? 15:06:53 I'm writing a function that runs through several files, and picks up all lines that match the example. I then want to create several files and directories, flat/1, car/3, etc., each with the contents of "something" or "else" or whatever, appropriate. 15:07:19 Then you don't need to destructure the key like that. 15:07:28 I'd look at something like what I suggested there. 15:07:41 -!- pnq [~nick@AC818894.ipt.aol.com] has quit [Ping timeout: 240 seconds] 15:07:48 I've written it without accumulating the data in a list first, but it opens and closes each created file for each match of @something that it finds, which feels like it's very wasteful to the drive (and also quite slow). 15:08:10 stassats` [~stassats@wikipedia/stassats] has joined #lisp 15:08:25 eudoxia [~eudoxia@r190-64-212-71.dialup.adsl.anteldata.net.uy] has joined #lisp 15:08:30 -!- GutenLinux [~chatzilla@122.242.168.132] has quit [Remote host closed the connection] 15:08:41 orivej [~orivej@host-22-152-66-217.spbmts.ru] has joined #lisp 15:09:12 OK thanks for the help. So you'd suggest a simpler tree structure? 15:09:15 -!- TeMPOraL [~user@46.204.10.219.nat.umts.dynamic.eranet.pl] has quit [Quit: artbuzz, take 2] 15:09:32 memechaser: sort the lines first. 15:09:47 then you don't need to open a given file more than once. 15:10:06 mem: I'd suggest a simple key-value pair structure. 15:11:18 pnq [~nick@AC81406C.ipt.aol.com] has joined #lisp 15:11:52 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 15:12:41 pchrist [~spirit@gentoo/developer/pchrist] has joined #lisp 15:12:48 Zhivago: that's what I was going for, unless I make many separate lists, I don't see how I can simplify. 15:19:55 memechaser: Do you understand what I meant? 15:20:33 Xach: yes, thanks. Trying to implement it now. 15:21:09 -!- sellout [~Adium@173-124-166-193.pools.spcsdns.net] has quit [Quit: Leaving.] 15:21:09 Of course, your original approach was fine, too. Opening and closing files is cheap and fast. 15:21:16 If it works, no need to elegant it up. 15:22:42 Well this is what I originally thought, would ~100 file opening and closing calls a day do much tothe drive really? (Regular laptop HDD) 15:25:14 I'm new to lisp though, so also just want to do it to learn. 15:25:27 Xach and Zhivago: thanks for the help. 15:29:01 memechaser: 100 is not really anything worth thinking about 15:29:15 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 15:29:28 -!- pnq [~nick@AC81406C.ipt.aol.com] has quit [Ping timeout: 276 seconds] 15:29:42 Xach: ok, thanks. 15:31:44 xan_ [~xan@206.111.142.135.ptr.us.xo.net] has joined #lisp 15:33:18 nha [~prefect@250-194.105-92.cust.bluewin.ch] has joined #lisp 15:37:08 -!- gaidal [~gaidal@113.109.132.228] has quit [Quit: Leaving] 15:37:45 -!- basho__ [~basho__@dslb-188-108-237-206.pools.arcor-ip.net] has quit [Remote host closed the connection] 15:39:15 dnolen [~davidnole@184.152.69.75] has joined #lisp 15:40:53 Spion [~spion@unaffiliated/spion] has joined #lisp 15:41:29 pnq [~nick@AC82F336.ipt.aol.com] has joined #lisp 15:42:43 -!- setmeaway [setmeaway3@119.201.52.252] has quit [Read error: Connection reset by peer] 15:46:46 hmm 15:46:47 -!- joachifm [~joachim@212.7.195.193] has quit [Ping timeout: 260 seconds] 15:47:36 I have two variables, *TAGS* and *VALUES*, both defined as (defvar *TAGS* ()) (defvar *VALUES* ()) ... but when I add something to the property list of one, it's also added to the other 15:47:45 setmeaway [~setmeaway@119.201.52.252] has joined #lisp 15:47:59 oh wait, of course, they're both pointing to the empty list 15:48:45 .win 9 15:49:08 Landr: the symbol nil, rather 15:49:16 -!- eudoxia [~eudoxia@r190-64-212-71.dialup.adsl.anteldata.net.uy] has quit [Read error: Connection reset by peer] 15:49:21 yes... so I should refer to them in quote 15:50:45 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 15:51:34 -!- Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has quit [Ping timeout: 276 seconds] 15:51:42 Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has joined #lisp 15:56:01 Gmind [~Nevermind@113.190.204.254] has joined #lisp 15:56:30 Tippenein [~chatzilla@97.65.218.4] has joined #lisp 15:58:53 BlankVerse [~pankajm@202.3.77.219] has joined #lisp 16:02:16 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #lisp 16:04:27 am0c [~am0c@124.49.51.197] has joined #lisp 16:05:57 -!- neoesque [~neoesque@210.59.147.226] has quit [Quit: Bye!] 16:07:31 bgs100 [~ian@unaffiliated/bgs100] has joined #lisp 16:07:51 dnolen [~davidnole@pool-68-161-59-220.ny325.east.verizon.net] has joined #lisp 16:08:28 -!- gravicappa [~gravicapp@ppp91-77-180-147.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 16:08:42 -!- dsop [~dsop@wthack.de] has left #lisp 16:09:57 -!- orivej [~orivej@host-22-152-66-217.spbmts.ru] has quit [Ping timeout: 240 seconds] 16:10:47 -!- akimbo [~oy@cpe-024-163-123-094.nc.res.rr.com] has quit [Read error: Operation timed out] 16:14:22 orivej [~orivej@host-8-152-66-217.spbmts.ru] has joined #lisp 16:15:37 I'm having some problems installing el-get, anyone here have experience with it? 16:16:26 I get this: http://pastebin.com/EBiaBWE4 16:16:55 bgs101 [~ian@unaffiliated/bgs100] has joined #lisp 16:17:19 Zol: this channel is for common lisp 16:17:31 -!- bgs101 [~ian@unaffiliated/bgs100] has quit [Read error: Connection reset by peer] 16:18:24 Ah, my fault. 16:18:26 Sorry! 16:18:27 seangrove [~user@c-98-234-242-172.hsd1.ca.comcast.net] has joined #lisp 16:19:47 jleija [~jleija@50.8.41.50] has joined #lisp 16:20:43 -!- Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has quit [Ping timeout: 260 seconds] 16:20:52 Bronsa [~brace@host237-186-dynamic.6-79-r.retail.telecomitalia.it] has joined #lisp 16:20:56 azaq23 [~derivecto@unaffiliated/azaq23] has joined #lisp 16:21:13 Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has joined #lisp 16:22:17 daniel___ [~daniel@p5B326E81.dip.t-dialin.net] has joined #lisp 16:22:17 -!- pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 240 seconds] 16:22:42 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Ping timeout: 258 seconds] 16:22:48 aintme [~user@201.37.221.87.dynamic.jazztel.es] has joined #lisp 16:23:41 -!- Bahman [~Bahman@2.144.209.73] has quit [Ping timeout: 240 seconds] 16:24:35 gravicappa [~gravicapp@91.77.182.230] has joined #lisp 16:25:29 -!- daniel__ [~daniel@p5082A156.dip.t-dialin.net] has quit [Ping timeout: 250 seconds] 16:32:17 -!- Adlai [~Adlai@unaffiliated/adlai] has quit [Ping timeout: 240 seconds] 16:35:35 -!- Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 276 seconds] 16:35:37 -!- BrandLeeJones [~BrandLeeJ@84.114.246.246] has quit [Read error: Operation timed out] 16:40:16 -!- Ralith [~ralith@173-10-121-193-BusName-Washington.hfc.comcastbusiness.net] has quit [Read error: Operation timed out] 16:40:58 -!- pnq [~nick@AC82F336.ipt.aol.com] has quit [Ping timeout: 276 seconds] 16:42:36 -!- rme [rme@clozure-ABAB5F25.chi.dsl-w.verizon.net] has quit [Ping timeout] 16:43:14 BrandLeeJones [~BrandLeeJ@84.114.246.246] has joined #lisp 16:43:32 -!- rme [~rme@pool-70-104-125-229.chi.dsl-w.verizon.net] has quit [Ping timeout: 246 seconds] 16:44:30 -!- cesarbp [~chatzilla@189.247.115.33] has quit [Ping timeout: 241 seconds] 16:46:49 -!- dnolen [~davidnole@pool-68-161-59-220.ny325.east.verizon.net] has quit [Quit: dnolen] 16:49:14 rme [~rme@pool-70-105-91-189.chi.dsl-w.verizon.net] has joined #lisp 16:49:18 -!- Zephyrus [~emanuele@unaffiliated/zephyrus] has quit [Ping timeout: 260 seconds] 16:49:25 -!- Bronsa [~brace@host237-186-dynamic.6-79-r.retail.telecomitalia.it] has quit [Quit: leaving] 16:51:22 Zephyrus [~emanuele@unaffiliated/zephyrus] has joined #lisp 16:59:46 cl-sqlite has in-memory databases. Is there a way to dump it in an .sqlite file? 17:00:20 naryl: create a persistent table and copy it there? 17:01:07 -!- Salamander [~Salamande@ppp118-210-105-71.lns20.adl2.internode.on.net] has quit [Ping timeout: 246 seconds] 17:02:21 I hoped there is a solution in the lib. Ok, not a problem. 17:02:31 Joreji [~thomas@134.61.66.232] has joined #lisp 17:03:05 -!- BrandLeeJones [~BrandLeeJ@84.114.246.246] has quit [Ping timeout: 240 seconds] 17:03:45 -!- rme [rme@clozure-4927C075.chi.dsl-w.verizon.net] has quit [Ping timeout] 17:04:11 -!- rme [~rme@pool-70-105-91-189.chi.dsl-w.verizon.net] has quit [Ping timeout: 276 seconds] 17:04:36 carlocci [~nes@93.37.195.35] has joined #lisp 17:04:36 bad_alloc [~bad_alloc@HSI-KBW-085-216-109-135.hsi.kabelbw.de] has joined #lisp 17:06:01 rme [~rme@pool-70-104-120-248.chi.dsl-w.verizon.net] has joined #lisp 17:06:22 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 17:10:02 hello, I've got a loop, that is supposed to output something and return a value when it meets some condition. how do i make it print something AND return a value? the loop's own if doesn't seem to support more than one operation. [it should look like (loop for... if (condition) (print x) return y)] 17:10:13 -!- rme [~rme@pool-70-104-120-248.chi.dsl-w.verizon.net] has quit [Ping timeout: 246 seconds] 17:10:40 bad_alloc: (print ...) returns its argument 17:10:49 ah. 17:10:54 ehu: yes, but i need a format 17:11:05 print was just for simplicities sake 17:11:09 (progn (print x) y) 17:11:21 returns the last value 17:11:29 -!- xan_ [~xan@206.111.142.135.ptr.us.xo.net] has quit [Ping timeout: 240 seconds] 17:12:05 not extremely good-looking, but sometimes unavoidable. 17:12:52 you could just use do (when condition (format ) (return y)) 17:13:04 ghiu [~gu@dynamic-adsl-94-36-67-168.clienti.tiscali.it] has joined #lisp 17:13:19 Salamander [~Salamande@ppp121-45-32-132.lns20.adl2.internode.on.net] has joined #lisp 17:13:22 -!- NamelessTee [~Ben@AReims-552-1-28-156.w92-142.abo.wanadoo.fr] has quit [Ping timeout: 246 seconds] 17:13:24 or, if condition do (format ) (return ), iirc. 17:13:31 pkhuong: that looks practical, thanks 17:13:54 BrokenCog [~bc@pool-108-18-165-241.washdc.east.verizon.net] has joined #lisp 17:14:33 apropos unavoidable: can i change the content of the list im looping over? I need to remove a value from the list. something like: (loop for e in l ... (setf l (remove l e))) 17:15:09 in the vecto package 17:15:18 bad_alloc: you can't do that 17:15:19 what is the character for return, tab etc ? 17:15:29 #\Return, #\Tab 17:15:55 stassats: can any lisp loop do that or do i have to use tagbody? 17:16:02 bad_alloc: if you need that, you'd have to manually loop over the list 17:16:21 hm, darn. thanks stassats` 17:17:04 i'm using this as a string : "test #\Return foo" 17:17:04 am I doing something wrong ? 17:17:28 -!- alfa_y_omega [~alfa_y_om@89.129.116.150] has quit [Ping timeout: 252 seconds] 17:17:58 ye_: yes 17:18:15 alfa_y_omega [~alfa_y_om@89.129.116.150] has joined #lisp 17:18:29 -!- billitch [~billitch@men75-12-88-183-197-206.fbx.proxad.net] has quit [Ping timeout: 276 seconds] 17:18:42 bad_alloc: (loop for cdr = list then (remove car (cdr cdr)) for car = (car cdr) while cdr do (print car)) 17:19:13 ye_: you can't use reader syntax inside strings 17:19:20 -!- borkamaniac [~user@S0106001111de1fc8.cg.shawcable.net] has quit [Read error: Connection reset by peer] 17:21:00 stassats`: just to understand correctly: you use a local variable instead of altering the actual list directly (which is impossible)? 17:21:25 no, it is possible 17:21:38 it's just prohibited to modify the list you're looping over 17:21:44 araujo [~araujo@gentoo/developer/araujo] has joined #lisp 17:22:01 with loop, dolist, find, position, remove, etc. 17:23:21 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #lisp 17:24:46 pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has joined #lisp 17:25:14 how do i create a string with a #\Return in it then ? 17:26:04 Salamander_ [~Salamande@ppp121-45-110-222.lns20.adl6.internode.on.net] has joined #lisp 17:26:25 ye_: you type it. 17:26:42 -!- pnkfelix [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has quit [Client Quit] 17:26:45 -!- Joreji [~thomas@134.61.66.232] has quit [Ping timeout: 260 seconds] 17:27:05 what if i need inside a variable ? 17:27:07 akimbo [~oy@cpe-024-163-123-094.nc.res.rr.com] has joined #lisp 17:27:43 -!- Salamander [~Salamande@ppp121-45-32-132.lns20.adl2.internode.on.net] has quit [Ping timeout: 246 seconds] 17:27:44 I don't understand the question. 17:28:27 i want a string with a #\Return character in it 17:28:31 how do I do that ? 17:28:32 ye_: a variable that is written into the string? 17:28:58 ye_: how about " 17:28:59 " 17:29:01 ? 17:29:34 ye_: what ehu said or (string #\Return) 17:30:19 (IMO using literal returns is a bad idea because it makes the code indentation-sensitive...) 17:31:14 Can I somehow limit the maximum amount of memory the lisp process can consume or automatically kill it, when it uses more than x megabytes? Due to some obscure bug my program eats up all memory. (ubuntu 10.04, clisp 2.44.1) 17:31:57 (format nil "foo~%bar"), or arbitrary characters (format nil "foo~cbar" #\Tab) 17:32:22 bad_alloc: ulimit? 17:33:02 -!- memechaser [~memechase@85.211.36.8] has quit [Remote host closed the connection] 17:33:18 if i do (string #\Return) i get -> "^M" 17:33:36 just so, perhaps you want (string #\Newline) 17:34:11 -!- Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has quit [Ping timeout: 240 seconds] 17:35:26 Euthydemus [~euthydemu@vaxjo5.79.cust.blixtvik.net] has joined #lisp 17:35:58 stassats`: works, thx 17:36:15 #\newline works, but not in vecto 17:36:24 Salamander__ [~Salamande@ppp121-45-101-47.lns20.adl6.internode.on.net] has joined #lisp 17:36:31 fatalnix [~fatalnix@208.233.36.250] has joined #lisp 17:36:58 define "not [working] in vecto" 17:39:18 Hey there 17:39:28 -!- Salamander_ [~Salamande@ppp121-45-110-222.lns20.adl6.internode.on.net] has quit [Ping timeout: 260 seconds] 17:41:02 -!- BrokenCog [~bc@pool-108-18-165-241.washdc.east.verizon.net] has quit [Quit: leaving] 17:42:15 BrokenCog [~bc@pool-108-18-165-241.washdc.east.verizon.net] has joined #lisp 17:42:33 -!- syamajala [~syamajala@68-187-217-213.dhcp.oxfr.ma.charter.com] has quit [Remote host closed the connection] 17:43:10 is there a nicer way to do this ? (concatenate 'string "foo" '(#\Newline) "bar") 17:46:41 -!- ye_ [~h@78.129.114.47] has quit [Read error: Connection reset by peer] 17:47:51 Woohoo! Let's hear it for packaged executables! I was able to move my Buildapp generated app from one machine to another where I don't have Lisp fully set up yet and just run it. Yay! 17:47:59 ye_ [~h@78.129.114.47] has joined #lisp 17:48:20 sorry I disconnected, is there a nicer way to do this ? (concatenate 'string "foo" '(#\Newline) "bar") 17:48:52 (format nil "foo~%bar"). 17:49:09 gigamonkey: CCL? nice! 17:50:31 ye_: or just type a newline in the string literal. 17:51:34 gigamonkey: are you Peter Seibel by any chance? 17:51:56 NamelessTee [~Ben@AReims-552-1-72-122.w92-147.abo.wanadoo.fr] has joined #lisp 17:53:10 bad_alloc: yeah, that's him (: 17:53:23 *antifuchs* outs gigamonkey as a very famous lisp author 17:53:53 ehu: SBCL, actually. 17:54:05 Salamander [~Salamande@ppp121-45-104-220.lns20.adl6.internode.on.net] has joined #lisp 17:54:13 oh? wow. 17:54:15 bad_alloc: hello. 17:54:27 ehu: why is that so surprising? 17:54:37 I'm pretty sure Buildapp is SBCL only. 17:55:13 ah. then I must have been confused. The only activity that I saw for a project like that was on the ccl mailing list. 17:55:27 does anybody mind if I switch cl-net off for at most one hour tonight? 17:55:42 (as part of the migration to a new server) 17:55:53 -!- Salamander__ [~Salamande@ppp121-45-101-47.lns20.adl6.internode.on.net] has quit [Ping timeout: 240 seconds] 17:55:54 (I should be done much more quickly) 17:56:08 ehu: go go go (: 17:56:15 ehu: http://www.xach.com/lisp/buildapp/ 17:56:42 oh, wait, xach mentioned that he'd maybe be dist-updating today. 17:56:54 ehu: maybe ask Xach if he's done fetching stuff from cl.net for quicklisp (-: 17:57:06 pkhuong: i want it in a variable, i cant type it. and format wont put the output in a string 17:57:33 ye_: (format nil "foo~%bar") returns a string 17:57:42 Xach: here? mind me turning off cl-net for at most an hour today? 17:58:19 ye_: you can assign the result of that format expression to a variable 17:58:34 ye_: I don't understand the part about you wanting it in a variable. 17:58:40 defvar it, or bind it with let, or just use setf 17:59:28 or even the result of a string literal expression 17:59:33 rtoym [~chatzilla@user-0c99ag2.cable.mindspring.com] has joined #lisp 17:59:52 ehu: night of which timezone? 18:02:43 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 18:03:06 convulsive [~convulsiv@129.133.193.182] has joined #lisp 18:04:21 Bronsa [~brace@host237-186-dynamic.6-79-r.retail.telecomitalia.it] has joined #lisp 18:04:29 i'm puting in vecto then in a texture 18:07:48 ok it works to create a string with a newline in it 18:08:00 but in vecto, it displays it as a square 18:08:09 as the character isnt recognized 18:09:46 -!- Gmind [~Nevermind@113.190.204.254] has quit [Read error: Connection reset by peer] 18:10:31 so, you want it to be printed as two lines? 18:10:40 yes 18:10:52 perhaps you need to do that manually, ask Xach for sure 18:11:15 realitygrill [~realitygr@76.226.116.44] has joined #lisp 18:13:23 mstevens [~mstevens@eris.etla.org] has joined #lisp 18:13:24 -!- mstevens [~mstevens@eris.etla.org] has quit [Changing host] 18:13:24 mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has joined #lisp 18:13:28 borkamaniac [~user@S0106001111de1fc8.cg.shawcable.net] has joined #lisp 18:13:54 -!- hargettp [~hargettp@pool-71-184-183-90.bstnma.east.verizon.net] has quit [Quit: Leaving...] 18:14:34 -!- Davidbrcz [david@212-198-126-167.rev.numericable.fr] has quit [Ping timeout: 276 seconds] 18:17:58 -!- ghiu [~gu@dynamic-adsl-94-36-67-168.clienti.tiscali.it] has quit [Quit: ghiu] 18:18:19 pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #lisp 18:18:20 pdelgallego_ [~pdelgalle@1385159903.dhcp.dbnet.dk] has joined #lisp 18:19:12 -!- aintme [~user@201.37.221.87.dynamic.jazztel.es] has quit [Quit: ERC Version 5.2 (IRC client for Emacs)] 18:20:34 -!- LiamH [~healy@pool-72-75-119-109.washdc.east.verizon.net] has quit [Ping timeout: 246 seconds] 18:20:59 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 248 seconds] 18:24:57 -!- BrokenCog [~bc@pool-108-18-165-241.washdc.east.verizon.net] has quit [Quit: leaving] 18:25:16 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #lisp 18:28:57 ye_: http://paste.lisp.org/display/121552 18:28:58 -!- simplechat [~simplecha@unaffiliated/simplechat] has quit [Read error: Connection reset by peer] 18:30:36 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #lisp 18:31:12 kenjin2201 [~kenjin@58.230.108.42] has joined #lisp 18:32:34 BrokenCog [~bc@108.18.165.241] has joined #lisp 18:33:46 drl [~lat@110.139.230.142] has joined #lisp 18:34:12 pnq [~nick@ACA30EC9.ipt.aol.com] has joined #lisp 18:35:03 -!- macrocat [~marmalade@142.177.45.71] has quit [Remote host closed the connection] 18:38:22 Gmind [~Gmind@113.190.204.254] has joined #lisp 18:38:27 hi there 18:40:29 jmbr [~jmbr@6.32.220.87.dynamic.jazztel.es] has joined #lisp 18:41:48 ye_: so, have you tried it? 18:42:28 -!- BrokenCog [~bc@108.18.165.241] has quit [Quit: Lost terminal] 18:43:00 -!- Gmind [~Gmind@113.190.204.254] has quit [Ping timeout: 258 seconds] 18:45:25 ghiu [~gu@dynamic-adsl-94-36-67-168.clienti.tiscali.it] has joined #lisp 18:46:10 can u suggest any stack for developing web applications in cl? 18:46:23 hunchentoot 18:46:34 Salamander_ [~Salamande@ppp121-45-155-214.lns21.adl6.internode.on.net] has joined #lisp 18:47:50 Gmind [~Gmind@113.190.204.254] has joined #lisp 18:48:13 -!- Salamander [~Salamande@ppp121-45-104-220.lns20.adl6.internode.on.net] has quit [Ping timeout: 246 seconds] 18:49:02 thanks 18:49:02 ehu: no trouble with me 18:49:38 i was eating diner, trying now 18:49:53 ye_: stassats is right, you have to draw two strings at different positions 18:50:07 Ralith [~ralith@198.134.89.250] has joined #lisp 18:50:38 ah ok, thanks 18:51:47 ghiu: http://www.cliki.net/Current%20recommended%20libraries See "Web development" 18:52:26 great thanks 18:52:35 cesarbp [~chatzilla@189.247.134.9] has joined #lisp 18:52:50 Oh, RESTAS is the recommended framework already? 18:54:28 who recommends it? 18:54:59 -!- Gmind [~Gmind@113.190.204.254] has left #lisp 18:55:47 zmv [~daniel@c934ad95.virtua.com.br] has joined #lisp 18:56:01 hahaha vsedach 18:56:18 He was systematically going through parts of cliki a few months back 18:56:24 *shrug* 18:56:55 -!- Tippenein [~chatzilla@97.65.218.4] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 3.6.16/20110319135224]] 18:57:28 -!- pnq [~nick@ACA30EC9.ipt.aol.com] has quit [Ping timeout: 276 seconds] 18:57:37 Xach: don't know if you saw my earlier cries of joy at how easy it was to move a Buildapp generated executable from one machine to another. 18:58:11 gigamonkey: yay 18:58:27 gigamonkey: I'll take note, thanks. 18:58:39 I think buildapp could be made to work with CCL and maybe other Lisps, but I haven't investigated yet. 18:58:43 kenjin2202 [~kenjin@58.230.108.42] has joined #lisp 18:59:11 BrokenCog [~bc@pool-108-18-165-241.washdc.east.verizon.net] has joined #lisp 19:00:22 TeMPOraL [~user@178.182.4.126.nat.umts.dynamic.eranet.pl] has joined #lisp 19:01:28 Bahman [~Bahman@2.144.209.73] has joined #lisp 19:01:45 -!- Bahman [~Bahman@2.144.209.73] has quit [Read error: Connection reset by peer] 19:03:33 stassats`: it works, thanks 19:03:44 eudoxia [~eudoxia@r190-64-212-71.dialup.adsl.anteldata.net.uy] has joined #lisp 19:07:38 -!- BrokenCog [~bc@pool-108-18-165-241.washdc.east.verizon.net] has quit [Quit: leaving] 19:08:27 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Ping timeout: 248 seconds] 19:09:02 -!- bad_alloc [~bad_alloc@HSI-KBW-085-216-109-135.hsi.kabelbw.de] has quit [Quit: Verlassend] 19:09:45 -!- cesarbp [~chatzilla@189.247.134.9] has quit [Ping timeout: 240 seconds] 19:11:08 Bahman [~Bahman@2.144.209.73] has joined #lisp 19:11:32 Hi all! 19:12:35 hi 19:13:02 -!- am0c [~am0c@124.49.51.197] has quit [Remote host closed the connection] 19:14:08 -!- mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has quit [Quit: leaving] 19:16:26 realitygrill_ [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has joined #lisp 19:16:34 -!- realitygrill_ [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has quit [Client Quit] 19:17:02 Hello Lispers! 19:19:20 -!- realitygrill [~realitygr@76.226.116.44] has quit [Ping timeout: 260 seconds] 19:20:07 -!- akimbo [~oy@cpe-024-163-123-094.nc.res.rr.com] has quit [Ping timeout: 250 seconds] 19:21:42 -!- eudoxia [~eudoxia@r190-64-212-71.dialup.adsl.anteldata.net.uy] has quit [Quit: quit] 19:21:58 hi mon_key 19:25:10 hi 19:27:40 sarah [~danieljam@94-193-7-241.zone7.bethere.co.uk] has joined #lisp 19:27:50 -!- Vutral [ss@vutral.net] has quit [Ping timeout: 276 seconds] 19:27:58 What am I doing wrong here (functionp (cdr '(test . #'(lambda (x) (* 2 x))))) 19:28:34 Salamander [~Salamande@ppp118-210-193-136.lns20.adl6.internode.on.net] has joined #lisp 19:29:54 sarah: (FUNCTION (LAMBDA (X) ...)) is a list, not a function. 19:30:03 sarah: it evaluates to a function, but ' inhibits evaluation. 19:30:09 nothing wrong 19:30:10 Salamander__ [~Salamande@ppp121-45-77-229.lns20.adl6.internode.on.net] has joined #lisp 19:30:13 -!- Ralith [~ralith@198.134.89.250] has quit [Ping timeout: 246 seconds] 19:30:30 hankhero [~Adium@c213-89-201-154.bredband.comhem.se] has joined #lisp 19:30:37 -!- Salamander_ [~Salamande@ppp121-45-155-214.lns21.adl6.internode.on.net] has quit [Ping timeout: 240 seconds] 19:30:41 *Xach* is only guessing at expectations 19:30:42 so what is the correct form if I want to have some lambda expressions stored in an alist? 19:30:50 Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has joined #lisp 19:31:03 (cons 'test (lambda (x) (* 2 x))) 19:31:55 ah ha- got it. 19:33:13 -!- Salamander [~Salamande@ppp118-210-193-136.lns20.adl6.internode.on.net] has quit [Ping timeout: 258 seconds] 19:37:42 Xach: would some cl-net outage inconvenience you in your dist-upgrading? 19:38:34 -!- ehu changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language . New: cl-net outage 22:00-23:00 CET due to migration efforts, SBCL 1.0.47, usocket 0.5.0, ABCL 0.25 19:39:16 I'm getting different results for the following on clisp and sbcl: 19:40:45 (print-object (make-array 8 :element-type 'bit) nil) 19:41:58 mon_key: I don't find that particularly surprising. 19:42:20 clisp returns #*00000000 sbcl: #<(SIMPLE-BIT-VECTOR 8) {D8657FF}> 19:42:25 "The function print-object is called by the Lisp printer; it should not be called by the user." 19:42:52 mon_key: NIL isn't a stream. 19:43:00 stassats`: I understood the spec as saying that bit-vectors have #* notation by default 19:43:17 mon_key: that's not necessarily print-object's job. 19:43:36 pkhuong: happens on *standard-output* too 19:43:59 isn't the quoted passage from CLHS not enough? 19:44:09 stassats`: No it is not. 19:44:13 -!- rtoym [~chatzilla@user-0c99ag2.cable.mindspring.com] has quit [Ping timeout: 246 seconds] 19:44:36 mon_key: you're not supposed to call print-object yourself. 19:44:58 w/r/t *print-array*: "These printer control variables apply to specific types of objects and are handled by the methods for those objects." 19:45:04 There's no way for you to know what preprocessing objects go through before potentially calling print-object. 19:45:26 ehu: QL dists are stored on Amazon S3. Not cl-net. ;) 19:46:11 (funcall (pprint-dispatch (make-array 8 :element-type 'bit)) *standard-output* (make-array 8 :element-type 'bit)) => #*00000000 19:46:43 redline6561: I'm aware. 19:46:52 stassats`: Yes, I'd gotten that far as well :) 19:46:55 ehu: Oops. Nevermind me. 19:46:58 redline6561: however, he downloads projects which are not situated on S3. 19:47:02 mon_key: have you tried using PRINC? 19:47:17 ehu: Yep sorry. Didn't realize you were a cl.net admin. My bad. 19:47:19 those downloads make up the dist. 19:47:32 stassats`: Sure, I'm just trying to understand what is conformant 19:47:55 redline6561: np. 19:48:06 mon_key: "it should not be called by the user" your code isn't conformant. 19:49:11 pkhuong: Fine. but given the comments of SBCL's print.lisp and section "22.1.3.6 Printing Bit Vectors" of the Default print-object methods. I'm left a bit confused 19:49:12 19:49:22 -!- MoALTz__ [~no@92.9.70.189] has quit [Quit: Leaving] 19:49:26 -!- Salamander__ [~Salamande@ppp121-45-77-229.lns20.adl6.internode.on.net] has quit [Read error: Operation timed out] 19:49:35 -!- kenjin2201 [~kenjin@58.230.108.42] has quit [Ping timeout: 250 seconds] 19:49:41 -!- kenjin2202 [~kenjin@58.230.108.42] has quit [Ping timeout: 240 seconds] 19:49:46 MoALTz [~no@92.9.70.189] has joined #lisp 19:49:57 kenjin2201 [~kenjin@58.230.108.42] has joined #lisp 19:50:01 kenjin2202 [~kenjin@58.230.108.42] has joined #lisp 19:50:06 mon_key: I don't see the confusion. 19:50:11 You're not supposed to call print-object. 19:50:52 22.1.3.6 describes how bit vectors should be printed, not how their print-object method is defined. 19:50:59 Salamander [~Salamande@ppp118-210-180-69.lns20.adl6.internode.on.net] has joined #lisp 19:51:08 In fact, it doesn't even require such a method to be defined. 19:51:12 pkhuong: its aproposthe default print object methods 19:51:14 -!- ghiu [~gu@dynamic-adsl-94-36-67-168.clienti.tiscali.it] has quit [Quit: ghiu] 19:53:16 is a simple-bit-vector not a standard type? 19:53:32 mon_key: which only means it should be defined if the printer implementation decides to call it for that type 19:55:47 ehu: Ok. So IIUC there are no standard default printer methods specified for the CL printer and user code should not call print-object. So why was it included in the spec? 19:56:04 mon_key: so that you can add methods to it 19:58:45 mon_key: it's the standardized protocol for users to hook into the printer 19:59:10 similarly, set-pprint-dispatch is the standardized protocol for users to hook into the pretty-printer 20:01:28 BrandLeeJones [~BrandLeeJ@84.114.246.246] has joined #lisp 20:04:04 Salamander_ [~Salamande@ppp121-45-143-249.lns21.adl2.internode.on.net] has joined #lisp 20:05:34 -!- Salamander [~Salamande@ppp118-210-180-69.lns20.adl6.internode.on.net] has quit [Ping timeout: 246 seconds] 20:07:20 -!- MoALTz [~no@92.9.70.189] has quit [Quit: Leaving] 20:07:53 s0ber_ [~s0ber@111-240-167-237.dynamic.hinet.net] has joined #lisp 20:09:58 -!- s0ber [~s0ber@111-240-172-98.dynamic.hinet.net] has quit [Ping timeout: 260 seconds] 20:10:14 -!- s0ber_ is now known as s0ber 20:11:28 -!- TeMPOraL [~user@178.182.4.126.nat.umts.dynamic.eranet.pl] has quit [Quit: Stack overflow while trying to compute: (next "g#")] 20:11:42 -!- Hoornet [~Hoornet@93.103.24.156] has quit [Quit: Love is the law, love under Will.] 20:12:04 TeMPOraL [~user@178.182.4.126.nat.umts.dynamic.eranet.pl] has joined #lisp 20:13:44 MoALTz [~no@92.18.76.42] has joined #lisp 20:18:40 Woshin [~Woshin@66.30.108.153] has joined #lisp 20:19:03 Salamander__ [~Salamande@ppp121-45-157-64.lns21.adl6.internode.on.net] has joined #lisp 20:20:15 Evildaemon [~chatzilla@50-35-187-113.evrt.wa.frontiernet.net] has joined #lisp 20:20:59 -!- Salamander_ [~Salamande@ppp121-45-143-249.lns21.adl2.internode.on.net] has quit [Ping timeout: 248 seconds] 20:23:49 -!- Salamander__ [~Salamande@ppp121-45-157-64.lns21.adl6.internode.on.net] has quit [Ping timeout: 258 seconds] 20:25:13 -!- BlankVerse [~pankajm@202.3.77.219] has quit [Ping timeout: 276 seconds] 20:26:58 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 20:27:26 Salamander__ [~Salamande@ppp118-210-144-170.lns20.adl6.internode.on.net] has joined #lisp 20:30:04 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 20:32:03 -!- Salamander__ [~Salamande@ppp118-210-144-170.lns20.adl6.internode.on.net] has quit [Ping timeout: 250 seconds] 20:32:55 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 20:33:01 common-lisp.net is down? 20:33:11 peterhil: server move 20:33:15 ok 20:34:08 Salamander [~Salamande@ppp121-45-131-185.lns21.adl2.internode.on.net] has joined #lisp 20:34:58 -!- benny [~benny@i577A82B6.versanet.de] has quit [Ping timeout: 240 seconds] 20:39:57 peterhil: 20 more minutes max. 20:40:27 benny [~benny@i577A73CB.versanet.de] has joined #lisp 20:40:52 btw, anyone got any pointers towards a good book on crypto? 20:44:50 bitri_ [~bitri@pool-98-116-28-11.nycmny.east.verizon.net] has joined #lisp 20:45:00 ok. cl-net should be back up 20:46:05 p_l|backup: No personal experience but I have heard good things about Menezes' and Mao's books theory-wise. Not sure about practice. Crypto Engineering by Schneier is recent though. 20:46:08 -!- ehu changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language . New: SBCL 1.0.47, usocket 0.5.0, ABCL 0.25 20:48:34 dfox [~dfox@ip-94-113-89-201.net.upcbroadband.cz] has joined #lisp 20:48:36 mippymoe [~mathguru1@c-98-209-31-38.hsd1.mi.comcast.net] has joined #lisp 20:49:02 -!- bitri_ [~bitri@pool-98-116-28-11.nycmny.east.verizon.net] has quit [Client Quit] 20:49:56 well, I hope I won't design something too easily circumvented (it won't be in any way powerful, it's just the idea that it needs to survive 30 minutes :D) 20:51:15 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 252 seconds] 20:51:41 lisppaste restarted 20:51:55 it'll take a while before coming back into the channel though 20:52:21 -!- gravicappa [~gravicapp@91.77.182.230] has quit [Remote host closed the connection] 20:52:23 p_l|backup: Good luck :) 20:53:12 redline6561: yeah 20:54:31 -!- Tordek [~tordek@2001:470:dc50:b0::21] has quit [Read error: Operation timed out] 20:56:45 ehu: I'm getting a proxy error when I hit paste.lisp.org. Should that be happening? 20:57:11 (i.e. is it just not finished loading yet?) 20:57:35 redline6561: yea. that's to be expected. 20:57:44 it reads all pastes ever made. 20:57:54 DAMN 20:58:10 may take up to 15 minutes 20:59:08 ehu: Well sure. Thanks. :) 21:00:01 Tordek [~tordek@2001:470:dc50:b0::21] has joined #lisp 21:00:29 ehu: Out of curiosity is it playing back a log and recreating them all or deserializing paste objects from storage? 21:00:54 ehu: I assume the latter. Guess I'm just wondering how pastes are stored... 21:01:22 the latter. 21:01:53 cool 21:03:15 redline6561: got cl-net access? 21:03:26 I do 21:03:47 common-lisp.net right? 21:03:58 you could try peeking into /home/lisppaste/lisppaste2/pastes to see 21:04:01 Evildaemon: yea. 21:04:08 jtza8 [~jtza8@41.213.74.255] has joined #lisp 21:04:11 drl [~lat@110.139.230.142] has joined #lisp 21:04:37 -!- Bronsa [~brace@host237-186-dynamic.6-79-r.retail.telecomitalia.it] has quit [Quit: leaving] 21:05:15 -!- cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has quit [Remote host closed the connection] 21:05:22 ehu: I do. And good point. 21:05:24 -!- kenjin2202 [~kenjin@58.230.108.42] has quit [Remote host closed the connection] 21:05:24 -!- kenjin2201 [~kenjin@58.230.108.42] has quit [Remote host closed the connection] 21:05:59 -!- EarlGray [~dmytrish@inherent.puzzler.volia.net] has quit [Ping timeout: 276 seconds] 21:06:30 ehu: so paste should be back in a bit? 21:07:01 gigamonkey: I'm expecting it, yes. if not, there must be an issue. 21:07:03 Salamander_ [~Salamande@ppp118-210-175-224.lns20.adl6.internode.on.net] has joined #lisp 21:07:47 dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has joined #lisp 21:08:07 hello. What is the canonical way to 'dolist' but doing something different for the last element? I am used to doing this kind of thing in C... 21:08:34 -!- Salamander [~Salamande@ppp121-45-131-185.lns21.adl2.internode.on.net] has quit [Ping timeout: 246 seconds] 21:08:51 EarlGray [~dmytrish@inherent.puzzler.volia.net] has joined #lisp 21:11:07 sarah: what exactly do you want to do else for the last element? 21:11:34 hmpf 21:11:41 (loop for (x . rest) on list do (if rest (do-normal x) (do-end x))) 21:11:41 it's stuck in ldb 21:11:55 -!- udzinari [~user@ip-89-102-12-6.net.upcbroadband.cz] has quit [Ping timeout: 250 seconds] 21:11:55 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 260 seconds] 21:12:03 -!- TeMPOraL [~user@178.182.4.126.nat.umts.dynamic.eranet.pl] has quit [Quit: bbl] 21:12:04 Salamander__ [~Salamande@ppp118-210-152-137.lns20.adl6.internode.on.net] has joined #lisp 21:12:48 I am learning lisp- I am generating some sql, and I have written functions to output the columns. For the last one, I don't want to output a comma. I know I can probably achieve it using format {~a^ ~a} but it seems somehow wrong to build up such a large string like that 21:13:28 -!- Salamander_ [~Salamande@ppp118-210-175-224.lns20.adl6.internode.on.net] has quit [Ping timeout: 246 seconds] 21:14:07 gigamonkey: thanks 21:14:30 sarah: depending on how you generate the SQL, there are various ways... but I'd actually consider using FORMAT (or FORMATTER) 21:14:58 I'd probably just use FORMAT. But that LOOP idiom is good to know. 21:15:02 sarah: also, you might enjoy doing it recursively, with a check for availability of next item 21:16:27 Salamander [~Salamande@ppp121-45-64-89.lns20.adl6.internode.on.net] has joined #lisp 21:16:32 at least this time it actually started. 21:16:43 namely, since CDR of final element is NIL, you can do the recursive call with (unless (cdr foo nil) (our-function foo)) 21:16:52 nixfreak [~nixfreak@mn-10k-dhcp1-3174.dsl.hickorytech.net] has joined #lisp 21:17:11 I have slime and quicklisp installed and just downloaded weblocks 21:17:14 -!- amb007 [~a_bakic@252.17.97-84.rev.gaoland.net] has quit [Ping timeout: 246 seconds] 21:17:28 i will try these methods 21:17:53 -!- galumph [~ron@bzq-84-108-249-117.cablep.bezeqint.net] has quit [Quit: Leaving] 21:18:40 but how do I load weblocks without loading quicklisp? 21:18:53 say if I want to reload emacs and slime again ? 21:19:03 nixfreak: eh? 21:19:10 nixfreak: You could try (asdf:oos 'asdf:load-op 'weblocks) 21:19:20 nixfreak: or (require 'weblocks) on sbcl. 21:19:30 using clozure 21:19:41 nixfreak: Are you hacking on weblocks itself though? Otherwise I can't think of a reason you'd need to reload. 21:19:42 assuming you manually add quicklisp's dirs to ASDF 21:19:45 nixfreak: note also that weblocks is included in the quicklisp dist. 21:19:49 -!- Salamander__ [~Salamande@ppp118-210-152-137.lns20.adl6.internode.on.net] has quit [Read error: Operation timed out] 21:19:56 nixfreak: Wait...what am I saying, just call (ql:quickload 'weblocks) again. 21:20:18 I'm also not sure what you mean by "reload emacs and slime" 21:20:31 Yeah. Tell us more nixfreak. 21:20:43 ok new at lisp and emacs so bare with me 21:21:05 Beetny [~Beetny@ppp118-208-16-38.lns20.bne1.internode.on.net] has joined #lisp 21:21:29 if I close down emacs right. then open up again and try to start weblocks (weblocks:start-weblocks) doesnt work 21:21:37 I do have a code-generation problem which I need to solve and I am loathe to use Codesmith (I will be outputting C#, C and SQL). Does anyone know of a cl- package which has a set of macros suitable for doing this kind of thing, e.g. where one can write something like .. "INSERT INTO " (some expression..) etc 21:22:06 nixfreak: Sure. That's because the lisp image weblocks was loaded in was a subprocess of emacs. 21:22:19 nixfreak: Did do the step in Quicklisp setup that adds the requisite foo to your lisp init file? 21:22:26 I.e. so quicklisp is automatically loaded? 21:22:29 yep just did 21:22:30 now 21:22:32 nixfreak: Many folks leave an emacs up all the time or run "emacs --daemon" etc. 21:22:39 If so, you should be able to say: (ql:quickload "weblocks") 21:22:50 nixfreak: But otherwise you'll need to start a fresh emacs, M-x slime to start slime and load any libs you want. 21:22:50 ok thanks 21:23:16 -!- NamelessTee [~Ben@AReims-552-1-72-122.w92-147.abo.wanadoo.fr] has quit [Ping timeout: 246 seconds] 21:25:02 drl [~lat@110.139.230.142] has joined #lisp 21:26:36 -!- ye_ [~h@78.129.114.47] has quit [Ping timeout: 240 seconds] 21:27:00 lisppaste [~lisppaste@common-lisp.net] has joined #lisp 21:27:29 minion [~minion@common-lisp.net] has joined #lisp 21:27:36 specbot [~specbot@common-lisp.net] has joined #lisp 21:27:52 ok. lisppaste is back. 21:27:56 enthymeme [~kraken@adsl-76-194-209-80.dsl.lsan03.sbcglobal.net] has joined #lisp 21:28:03 hooray! 21:28:47 if anybody would be so kind to code up a different way for lisppaste to admin its metadata, that would be most welcome! 21:29:08 minion: welcome back! 21:29:09 thanks! 21:29:35 Dear cxml-dom wizards, how would you do this? http://paste.lisp.org/display/121557 21:29:46 This works fine, I just suspect there's a better way. 21:29:50 -!- McMAGIC--Copy [debian-tor@gateway/tor-sasl/mcmagic--copy] has quit [Remote host closed the connection] 21:30:36 ehu: in what sense? 21:32:33 madnificent: in the sense that it doesn't need to read all the paste history anymore? 21:32:54 madnificent: for example by using a real data base, or by doing 'on demand' retrieval 21:33:18 ehu: I get it... thanks for the perspective :) 21:33:50 McMAGIC--Copy [debian-tor@gateway/tor-sasl/mcmagic--copy] has joined #lisp 21:35:14 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #lisp 21:36:18 -!- mippymoe [~mathguru1@c-98-209-31-38.hsd1.mi.comcast.net] has quit [Ping timeout: 260 seconds] 21:39:48 Can someone point me to an open source project written in LISP (So I have some example code to read?) 21:40:05 -!- dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has quit [Ping timeout: 250 seconds] 21:40:09 -!- Zephyrus [~emanuele@unaffiliated/zephyrus] has quit [Quit: ""] 21:40:17 ehu: is there a repo I could look for lisppaste/minion *current* code? 21:40:33 NamelessTee [~Ben@AReims-552-1-124-60.w82-127.abo.wanadoo.fr] has joined #lisp 21:40:55 Evildaemon: search cliki for something you like... much of it is open source (if not everything) 21:41:16 Evildaemon: what kind of things interest you? 21:41:20 Evildaemon: Nope, but I can point you to Common Lisp projects. :) 21:41:40 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #lisp 21:41:46 Evildaemon: https://github.com/languages/Common%20Lisp 21:42:01 Uh, honestly mad, I don't know. 21:42:30 -!- tcr1 [~tcr@217-162-131-235.dynamic.hispeed.ch] has quit [Quit: Leaving.] 21:42:32 Evildaemon: Specific examples of good style vary but this might be a good place to start: http://common-lisp.net/gitweb?p=projects/alexandria/alexandria.git;a=summary 21:43:08 Evildaemon: Also, check out PCL. 21:43:11 minion: PCL 21:43:12 PCL: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005). 21:43:40 Evildaemon: tell me something about your daily life then... why do you want to look at code? Why do you want to code in general? 21:44:44 ... sounds like a psych visit 21:44:54 Actually, ironically enough I've already downloaded that book, among others. Thanks though, minion. 21:45:13 Evildaemon: (minion is the bot) 21:45:23 Lol 21:45:37 p_l|backup: well sorry, but it's hard to read his mind over teh interwebs 21:46:30 I don't really care about the project, however, actually, a game might be nice. 21:46:58 Evildaemon: ah, #lispgames stuff :) 21:47:07 p_l|backup: dunno. I do know it's in /home/lisppaste/lisppaste2 on cl.net 21:47:31 Evildaemon: http://lispgames.org and #lispgames :) 21:47:47 Thanks. 21:49:04 good look Evildaemon 21:49:32 Evildaemon: keep in mind that lisp is vastly different from what you currently know. Reading a book about lisp (like the PCL) is advised. 21:50:31 Already am. Thanks for the suggestion, it doesn't seem too different though. 21:51:57 Xach: does buildapp support windows in any way? 21:52:09 mathrick: should work fine on windows. 21:52:56 -!- eugu [~Miranda@213.141.157.147] has quit [Quit: eugu] 21:53:28 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #lisp 21:53:28 Xach: what about installing? 21:53:34 -!- borkamaniac [~user@S0106001111de1fc8.cg.shawcable.net] has quit [Remote host closed the connection] 21:53:49 oh well, I can just do it by hand I guess 21:56:07 -!- Tordek [~tordek@2001:470:dc50:b0::21] has quit [Read error: Operation timed out] 21:56:16 mathrick: Installing what? 21:56:22 buildapp 21:56:30 but I just read the makefile and it's trivial 21:57:25 mathrick: you can (ql:quickload "buildapp") then (buildapp:build-buildapp) to get buildapp.exe somewhere. 21:57:55 -!- jtza8 [~jtza8@41.213.74.255] has quit [Quit: leaving] 21:58:27 amb007 [~a_bakic@84.97.17.252] has joined #lisp 21:58:35 aye 21:58:54 -!- PuffTheMagic [~PuffTheMa@unaffiliated/puffthemagic] has quit [Read error: Connection reset by peer] 21:59:02 sarah: instead of doing something different on the last element, do something different on the first element: print a space/comma/whatever *before* every element not the first 21:59:16 I usually find that easier, since there's no looking 'ahead' 21:59:22 TeMPOraL [~user@178.182.52.200.nat.umts.dynamic.eranet.pl] has joined #lisp 21:59:43 kpreid: and then do the dolist over the cdr? 21:59:49 -!- enthymeme [~kraken@adsl-76-194-209-80.dsl.lsan03.sbcglobal.net] has quit [Quit: rcirc on GNU Emacs 23.1.1] 21:59:53 sure, or set a flag... 22:01:13 -!- Athas [~athas@shop0.diku.dk] has quit [Read error: Operation timed out] 22:01:25 -!- gemelen [~shelta@shpd-78-36-167-48.static.vologda.ru] has quit [Ping timeout: 276 seconds] 22:01:28 here's an overly cute approach: (let ((sep "")) (dolist (x list) (princ sep) (setf sep ", ") (princ x))) 22:01:34 Tordek [~tordek@2001:470:dc50:b0::21] has joined #lisp 22:02:24 gemelen [~shelta@shpd-92-101-155-58.vologda.ru] has joined #lisp 22:02:24 Athas [~athas@shop3.diku.dk] has joined #lisp 22:02:46 ah yes 22:03:07 that is more like the C way I suppose 22:03:29 PuffTheMagic [~PuffTheMa@unaffiliated/puffthemagic] has joined #lisp 22:04:02 the real lisp way is to do that in an efficient way once and put it in a function :-) 22:04:09 Ragnaroek [~chatzilla@p5B0C201A.dip0.t-ipconnect.de] has joined #lisp 22:04:57 -!- mathrick [~mathrick@users177.kollegienet.dk] has quit [Remote host closed the connection] 22:05:08 mathrick [~mathrick@users177.kollegienet.dk] has joined #lisp 22:06:26 kpreid: agreed! 22:06:40 -!- juniorroy [~juniorroy@212.36.224.57] has quit [Ping timeout: 246 seconds] 22:07:31 ...and ensure that the user can substitute a different operation for (princ x) e.g. formatting x in some special way. 22:08:00 In fact, if one is doing this a *lot* in many variations, it might make sense to have something that you can use like (dolist-with-separators-printed (x list) (princ x)) 22:08:11 (except make it work on sequences, like MAP NIL) 22:10:46 Spion_ [~spion@unaffiliated/spion] has joined #lisp 22:13:38 -!- Spion [~spion@unaffiliated/spion] has quit [Read error: Operation timed out] 22:13:54 davazp [~user@223.Red-83-46-0.dynamicIP.rima-tde.net] has joined #lisp 22:14:04 Athas` [~athas@shop0.diku.dk] has joined #lisp 22:15:20 -!- Athas [~athas@shop3.diku.dk] has quit [Ping timeout: 246 seconds] 22:17:08 can a method specialized on array further specialize on a compound type specifier e.g.: (obj (array * (8)))? 22:17:41 no 22:18:13 -!- Salamander [~Salamande@ppp121-45-64-89.lns20.adl6.internode.on.net] has quit [Ping timeout: 246 seconds] 22:18:15 methods can only specialize on classes (or instances with eql specializers), and there is no class corresponding to the type (array * (8)) 22:19:31 kpreid: thanks 22:19:37 -!- cnl [~cnl@78.31.74.25] has quit [Ping timeout: 276 seconds] 22:19:37 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 252 seconds] 22:20:38 -!- Tordek [~tordek@2001:470:dc50:b0::21] has quit [Ping timeout: 260 seconds] 22:20:46 ye_ [~h@78.129.114.47] has joined #lisp 22:21:41 Good morning everyone! 22:21:49 Hello beach! 22:21:53 hello beach 22:21:53 beach: good morning 22:22:36 Tordek [~tordek@2001:470:dc50:b0::21] has joined #lisp 22:23:51 Ralith [~ralith@204.239.250.1] has joined #lisp 22:25:27 macrocat [~marmalade@142.177.64.93] has joined #lisp 22:27:41 paul0 [~user@187.112.64.196] has joined #lisp 22:29:46 -!- mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 22:30:09 -!- varjag [~eugene@4.169.249.62.customer.cdi.no] has quit [Quit: Ex-Chat] 22:30:16 Salamander [~Salamande@ppp118-210-8-53.lns20.adl2.internode.on.net] has joined #lisp 22:30:49 -!- Ragnaroek [~chatzilla@p5B0C201A.dip0.t-ipconnect.de] has quit [Ping timeout: 246 seconds] 22:30:56 Transformer [~Transform@ool-4a59e397.dyn.optonline.net] has joined #lisp 22:30:59 pnq [~nick@AC8203B8.ipt.aol.com] has joined #lisp 22:31:03 night 22:31:22 Athas`` [~athas@shop3.diku.dk] has joined #lisp 22:31:28 realitygrill [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has joined #lisp 22:32:13 -!- Athas` [~athas@shop0.diku.dk] has quit [Read error: No route to host] 22:33:14 -!- Transformer [~Transform@ool-4a59e397.dyn.optonline.net] has quit [Excess Flood] 22:33:49 xan_ [~xan@206.111.142.135.ptr.us.xo.net] has joined #lisp 22:35:11 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 240 seconds] 22:39:39 not much docs for weblocks that sux 22:39:51 grncdr pasted "I'm confused about this error" at http://paste.lisp.org/display/121559 22:39:58 drl [~lat@110.139.230.142] has joined #lisp 22:40:45 -!- ye_ [~h@78.129.114.47] has quit [Ping timeout: 250 seconds] 22:40:46 so yeah, I'm a total lisp newb, just playing around with "Practical Common Lisp" and I can't figure out how to resolve this error 22:41:12 grncdr: mapcar accepts a symbol or a function (which is what the message says), but you are passing it a list. 22:41:13 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 22:41:51 beach: I was using the `#' quote before, but got the same error, at that point I'm stuck 22:41:59 how do I make my lambda actually a function? 22:42:05 -!- Ralith [~ralith@204.239.250.1] has quit [Ping timeout: 260 seconds] 22:42:13 the syntax should be (mapcar (lambda () )) 22:42:24 the backquote is a literal list-building utility 22:42:42 `(a 1 ,b) is effectively (list 'a 1 b) 22:42:43 -!- sarah [~danieljam@94-193-7-241.zone7.bethere.co.uk] has left #lisp 22:42:51 ah, so the backquote is doing it 22:43:06 #` is not the function macro, #' is 22:43:07 -!- morphling [~stefan@gssn-5f7579f2.pool.mediaWays.net] has quit [Remote host closed the connection] 22:43:33 but yes, the backquote is passing a literal list starting with the symbol 'lambda, instead of a lambda expression 22:44:12 ye_ [~h@78.129.114.47] has joined #lisp 22:44:31 (oh, and in my "syntax should be", I also forgot the last parameter to mapcar, which is the actual list to work on :-P, *db* in your case) 22:44:42 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 22:45:10 awesome I think that is what I was missing 22:45:16 -!- Salamander [~Salamande@ppp118-210-8-53.lns20.adl2.internode.on.net] has quit [Ping timeout: 258 seconds] 22:45:22 I'll poke at it a few more times and see what I come up with 22:45:47 -!- fatalnix [~fatalnix@208.233.36.250] has quit [Ping timeout: 246 seconds] 22:45:49 take out all the punctuation and it should be better ;) 22:45:59 -!- seangrove [~user@c-98-234-242-172.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 22:46:02 Athas``` [~athas@shop0.diku.dk] has joined #lisp 22:46:20 does it show that I write perl in the day job? ;) 22:46:27 Quadrescence [~Quad@unaffiliated/quadrescence] has joined #lisp 22:46:27 hmm 22:46:31 I think you want a macro, not a function 22:46:44 I think you may be right 22:46:45 as selector-fn is really a body you want run, not a function object you pass in 22:46:55 well, sort of 22:47:07 selector-fn is provided by my "where" macro 22:47:13 ah 22:47:15 which creates an anonymous function 22:47:34 -!- Athas`` [~athas@shop3.diku.dk] has quit [Ping timeout: 258 seconds] 22:48:04 it seems that inside your defun, you're building up source code you want executed 22:48:12 that's only possible with eval or inside macros 22:48:47 Salamander [~Salamande@ppp118-210-252-171.lns20.adl6.internode.on.net] has joined #lisp 22:48:49 Phooodus: or a function used as a helper by a macro 22:49:01 -!- sabalaba [~sabalaba@c-71-227-118-15.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 22:49:01 -!- Athas``` [~athas@shop0.diku.dk] has quit [Client Quit] 22:49:14 hmm, let me try macrofying it again 22:49:22 right, but a function like that doesn't generally execute code, just generate it 22:49:37 what does make-fields-lambda-list do? 22:49:47 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #lisp 22:50:01 (when (funcall selector-fn cd) ...) should call your selector-fn if it's really a function 22:50:23 ok, two things in there... 22:50:44 that last one first, are you saying that's how (when ...) should behave inside a macro? 22:50:58 no, I'm saying that's how you call a passed-in function 22:51:04 CyberDaoist [~DiaitaDoc@bas1-ottawa01-1177967261.dsl.bell.ca] has joined #lisp 22:51:07 'when' just happens to use its return value 22:51:41 fatalnix [~fatalnix@208.233.36.250] has joined #lisp 22:51:50 (at least, that's how you call a passed-in function when you know the parameters explicitly; #'apply is when you build up the arguments, too) 22:52:02 If I want a non blocking timer to raise an event every approximate 18th of a seccond or so would the best way to implement it be by use of SIGALRM? 22:52:25 or a thread & timer? 22:52:34 good idea 22:52:52 http://www.cliki.net/timer ? 22:53:44 as to your question about make-fields-lambda-list it's short, so I should I just paste it here? 22:54:10 less one "I" in that sentence... 22:54:38 what does it return 22:54:40 ? 22:55:09 -!- CyberDaoist [~DiaitaDoc@bas1-ottawa01-1177967261.dsl.bell.ca] has quit [Client Quit] 22:55:24 a list of expressions like (setf (getf fieldname) fieldvalue) 22:55:30 so not lambdas at all 22:55:41 *grncdr* fixes bad namesf 22:56:25 sorry, that was (getf cd fieldname) 22:56:34 so that's source code that needs to be eval'd or put into a macro, definitely 22:57:01 ok 22:57:21 that makes more sense, I hadn't thought about it too much yet ;) 22:58:31 note that (mapcar (eval `(lambda (x) ,@(generate-some-source code ...))) *db*) could technically work, as it'd build up source code, eval it to create a real lambda object, and then be able to use it for the mapcar 22:58:45 but "if you have to use eval, you're doing it wrong" is a good lisp motto 22:59:16 hence macros to do things once at compile time 22:59:17 tell me how to rightly implement a REPL! 22:59:28 heh 22:59:36 eval is _usually_ wrong. saying it's _always_ wrong is silly 22:59:42 correct 22:59:55 (on the other hand, you could implement a repl using COMPILE) 22:59:58 I think I've only used it once in production code, but was able to get rid of that 23:00:14 in later versions 23:00:23 -!- zmv [~daniel@c934ad95.virtua.com.br] has quit [Ping timeout: 276 seconds] 23:01:07 eudoxia [~eudoxia@r190-64-212-71.dialup.adsl.anteldata.net.uy] has joined #lisp 23:01:12 -!- eudoxia [~eudoxia@r190-64-212-71.dialup.adsl.anteldata.net.uy] has quit [Client Quit] 23:04:36 Salamander_ [~Salamande@ppp118-210-129-132.lns20.adl6.internode.on.net] has joined #lisp 23:04:48 ok, now I'm _really_ confused :P by removing the punctuation, and making it a macro, it's telling me that selector-fn is undefined inside my anonymous lambda 23:05:11 cesarbp [~chatzilla@189.247.134.9] has joined #lisp 23:05:53 -!- gor[e]_ [~svr@gw1.masterhost.ru] has quit [Ping timeout: 250 seconds] 23:06:10 -!- Salamander [~Salamande@ppp118-210-252-171.lns20.adl6.internode.on.net] has quit [Ping timeout: 246 seconds] 23:07:29 -!- xan_ [~xan@206.111.142.135.ptr.us.xo.net] has quit [Ping timeout: 246 seconds] 23:08:38 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 240 seconds] 23:09:04 -!- josemanuel [~josemanue@151.0.222.87.dynamic.jazztel.es] has quit [Quit: Saliendo] 23:10:00 sabalaba [~sabalaba@c-24-11-171-16.hsd1.mi.comcast.net] has joined #lisp 23:10:13 a macro has to return a source code list 23:10:47 -!- sabalaba [~sabalaba@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Client Quit] 23:11:43 -!- orivej [~orivej@host-8-152-66-217.spbmts.ru] has quit [Ping timeout: 258 seconds] 23:13:11 -!- carlocci [~nes@93.37.195.35] has quit [Quit: eventually IE will rot and die] 23:13:40 xan_ [~xan@206.111.142.135.ptr.us.xo.net] has joined #lisp 23:13:57 -!- paul0 [~user@187.112.64.196] has quit [Ping timeout: 240 seconds] 23:14:02 Has anyone every tried playing Another Glitch in the Call from the lambda.txt fortunes? 23:14:05 ever* 23:14:08 gor[e] [~svr@gw1.masterhost.ru] has joined #lisp 23:16:18 grncdr: As a total Lisp newbie, you probably shouldn't use macros, or even generate code based on data. Just write code that uses ordinary control structures to make decisions. 23:17:29 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 23:22:04 drl [~lat@110.139.230.142] has joined #lisp 23:22:36 grncdr: So why don't you tell us what UPDATE is supposed to do, and we might tell you how to write it without generating code at runtime. 23:24:33 grncdr: Are you still here? 23:28:31 -!- xan_ [~xan@206.111.142.135.ptr.us.xo.net] has quit [Ping timeout: 276 seconds] 23:30:39 marcoecc [~user@67-23-7-228.static.slicehost.net] has joined #lisp 23:30:51 orivej [~orivej@host-40-146-66-217.spbmts.ru] has joined #lisp 23:31:23 mippymoe [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #lisp 23:32:09 dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has joined #lisp 23:32:23 also, I can'tsorry yeah I'm still here 23:32:33 whoops, had some stuff in the buffer 23:32:52 I'm still here, but tbh, my interest in lisp pretty much IS macros 23:33:36 grncdr: OK, fine, but then you have to learn about the difference between compile time (or rather macro-expansion time) and runtime. 23:33:36 23:34:08 yep, reading http://www.gigamonkeys.com/book/macros-defining-your-own.html right now, which seems to be spelling it out for me 23:34:43 -!- stassats` [~stassats@wikipedia/stassats] has quit [Ping timeout: 258 seconds] 23:38:38 -!- cesarbp [~chatzilla@189.247.134.9] has quit [Ping timeout: 240 seconds] 23:42:04 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Read error: Connection reset by peer] 23:42:44 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 23:43:37 jingtao [~jingtaozf@123.120.12.254] has joined #lisp 23:43:59 the biggest thing with macros for me was getting used to exactly what's in the macro parameters 23:44:06 wormphlegm [~wormphleg@c-98-234-186-226.hsd1.ca.comcast.net] has joined #lisp 23:44:10 -!- Woshin [~Woshin@66.30.108.153] has quit [Ping timeout: 260 seconds] 23:44:54 (let ((a 3)) (my-macro a)), when (defmacro a (foo) ...), then foo is bound to the symbol A, not 3. The assocation from A to 3 happens after the macro is already expanded 23:45:09 erm, (defmacro my-macro (foo) ...) 23:46:03 bgs100 [~ian@unaffiliated/bgs100] has joined #lisp 23:46:03 paul0 [~user@187.112.64.196] has joined #lisp 23:46:05 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Read error: Connection reset by peer] 23:47:13 xan_ [~xan@99.13.242.166] has joined #lisp 23:47:36 dnolen [~davidnole@184.152.69.75] has joined #lisp 23:47:41 wormphle1m [~wormphleg@c-98-234-186-226.hsd1.ca.comcast.net] has joined #lisp 23:50:00 -!- Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has quit [Read error: Operation timed out] 23:50:26 -!- drl [~lat@110.139.230.142] has quit [Ping timeout: 264 seconds] 23:53:14 Transformer [~Transform@ool-4a59e397.dyn.optonline.net] has joined #lisp 23:56:08 -!- realitygrill [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has quit [Remote host closed the connection] 23:56:18 -!- Transformer [~Transform@ool-4a59e397.dyn.optonline.net] has quit [Excess Flood] 23:56:27 realitygrill [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has joined #lisp 23:56:56 -!- HET2 [~diman@cpc1-cdif12-2-0-cust125.5-1.cable.virginmedia.com] has quit [Quit: This computer has gone to sleep] 23:56:56 -!- realitygrill [~realitygr@adsl-76-226-116-44.dsl.sfldmi.sbcglobal.net] has quit [Client Quit] 23:56:58 -!- incandenza [~incandenz@ip68-231-109-244.ph.ph.cox.net] has quit [Quit: WeeChat 0.3.4] 23:57:06 -!- pdelgallego [~pdelgalle@1385159903.dhcp.dbnet.dk] has quit [Read error: Operation timed out] 23:58:57 Joreji [~thomas@66-232.eduroam.RWTH-Aachen.DE] has joined #lisp