00:01:58 -!- danielszmulewicz [~danielszm@5.144.62.162] has quit [Quit: danielszmulewicz] 00:03:52 ejbs [~user@h-198-214.a176.priv.bahnhof.se] has joined #lisp 00:08:35 danielszmulewicz [~danielszm@5.144.62.162] has joined #lisp 00:10:43 -!- jxriddle [~jxriddle@74-132-175-208.dhcp.insightbb.com] has quit [Quit: jxriddle] 00:11:19 -!- hwiersma [~hwiersma@S0106602ad08e475a.ok.shawcable.net] has quit [Ping timeout: 256 seconds] 00:12:30 Joreji_ [~thomas@145-017.eduroam.rwth-aachen.de] has joined #lisp 00:12:51 seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has joined #lisp 00:18:22 -!- chameco [~samuel@cpe-67-241-240-138.stny.res.rr.com] has quit [Ping timeout: 268 seconds] 00:21:13 michaeljmcd [~michael@ip70-178-95-137.ks.ks.cox.net] has joined #lisp 00:21:57 -!- seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has quit [Ping timeout: 248 seconds] 00:25:52 guiambros [~guiambros@z65-50-88-217.ips.direcpath.com] has joined #lisp 00:26:06 -!- youlysses [~user@75-132-28-10.dhcp.stls.mo.charter.com] has quit [Quit: Brb.] 00:28:30 -!- alesguzik [~alesguzik@178.121.169.130] has quit [Quit: leaving] 00:29:12 youlysses [~user@75-132-28-10.dhcp.stls.mo.charter.com] has joined #lisp 00:33:31 -!- zRecursive [~czsq888@171.216.96.171] has quit [Remote host closed the connection] 00:36:21 -!- Joreji [~thomas@145-017.eduroam.rwth-aachen.de] has quit [Ping timeout: 248 seconds] 00:36:28 Joreji [~thomas@145-017.eduroam.rwth-aachen.de] has joined #lisp 00:37:14 Nisstyre [~yours@oftn/member/Nisstyre] has joined #lisp 00:40:29 -!- lduros [~user@fsf/member/lduros] has quit [Remote host closed the connection] 00:42:31 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Remote host closed the connection] 00:43:11 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 00:47:49 seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has joined #lisp 00:51:01 brianmwaters [60e97a7e@gateway/web/freenode/ip.96.233.122.126] has joined #lisp 00:52:35 -!- johnzorn [~jz@69-165-197-72.cable.teksavvy.com] has quit [Ping timeout: 260 seconds] 00:54:38 -!- prxq [~mommer@mnhm-5f75c96e.pool.mediaWays.net] has quit [Remote host closed the connection] 00:57:47 -!- arubin [~arubin@99-114-192-172.lightspeed.cicril.sbcglobal.net] has quit [Quit: Computer has gone to sleep.] 01:00:01 -!- seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 01:00:45 -!- mhbauer [~user@24-179-240-11.dhcp.roch.mn.charter.com] has left #lisp 01:03:39 BitPuffin [~quassel@m5-240-197-28.cust.tele2.se] has joined #lisp 01:03:42 chameco [~samuel@cpe-67-241-240-138.stny.res.rr.com] has joined #lisp 01:06:11 -!- ericmathison [~ericmathi@172-15-249-133.lightspeed.irvnca.sbcglobal.net] has quit [Remote host closed the connection] 01:11:19 -!- Oberon4278 [~dcrooksto@209-6-246-54.c3-0.wrx-ubr1.sbo-wrx.ma.cable.rcn.com] has quit [] 01:11:53 -!- fenton [~fenton@ppp-124-121-111-138.revip2.asianet.co.th] has quit [Read error: Connection reset by peer] 01:13:16 fenton [~fenton@ppp-124-121-205-31.revip2.asianet.co.th] has joined #lisp 01:14:25 estebistec [~estebiste@72.133.228.205] has joined #lisp 01:14:48 -!- jfe [~jfe@ool-18bfe75c.dyn.optonline.net] has quit [Ping timeout: 256 seconds] 01:16:24 -!- zolk3ri [~zolk3ri@unaffiliated/zolk3ri] has quit [Quit: Lost terminal] 01:17:34 -!- dnolen` [~user@rrcs-208-105-4-254.nyc.biz.rr.com] has quit [Ping timeout: 276 seconds] 01:23:52 -!- agumonkey [~agu@156.217.72.86.rev.sfr.net] has quit [Ping timeout: 256 seconds] 01:25:33 arubin [~arubin@99-114-192-172.lightspeed.cicril.sbcglobal.net] has joined #lisp 01:33:55 jfe [~jfe@ool-18bfe75c.dyn.optonline.net] has joined #lisp 01:43:27 -!- chameco [~samuel@cpe-67-241-240-138.stny.res.rr.com] has quit [Remote host closed the connection] 01:44:50 chameco [~samuel@cpe-67-241-240-138.stny.res.rr.com] has joined #lisp 01:45:58 -!- Triclops256|away is now known as Triclops256 01:45:59 nbouscal [~nbouscal@c-67-168-113-48.hsd1.wa.comcast.net] has joined #lisp 01:51:59 -!- pavelpenev [~quassel@85.130.70.65] has quit [Remote host closed the connection] 01:58:32 https://github.com/dlowe-net/cl-sort 01:59:10 -!- ejbs [~user@h-198-214.a176.priv.bahnhof.se] has quit [Ping timeout: 276 seconds] 01:59:17 dlowe, are you looking for comments or what 01:59:34 just putting it out there 01:59:53 I made a thing that didn't seem to exist previously. 02:00:07 hugod [~user@76.65.143.249] has joined #lisp 02:00:12 %dual-pivot-quicksort is huge 02:01:00 yeah, it could probably be slimmed down some, but the only code I could find for one that actually worked was the reference implementation from the original paper 02:01:18 ah i see 02:01:52 -!- danielszmulewicz [~danielszm@5.144.62.162] has quit [Quit: danielszmulewicz] 02:02:13 This is a first draft, obviously. 02:02:16 But they do all work. 02:02:23 So that was the first step 02:02:43 dlowe, might i suggest you separate the sorting methods into different files 02:03:05 I was intending to just implement the dual-pivot quicksort at pkhuong_ 's suggestion 02:03:46 danielszmulewicz [~danielszm@5.144.62.162] has joined #lisp 02:04:07 Quadrescence, sure, that'd be pretty simple 02:05:01 -!- michaeljmcd [~michael@ip70-178-95-137.ks.ks.cox.net] has quit [Ping timeout: 276 seconds] 02:07:19 dnolen [~user@cpe-72-225-195-108.nyc.res.rr.com] has joined #lisp 02:07:28 dnolen_ [~user@cpe-72-225-195-108.nyc.res.rr.com] has joined #lisp 02:07:35 -!- dnolen_ [~user@cpe-72-225-195-108.nyc.res.rr.com] has quit [Remote host closed the connection] 02:07:52 -!- dnolen [~user@cpe-72-225-195-108.nyc.res.rr.com] has quit [Remote host closed the connection] 02:08:21 dnolen [~user@cpe-72-225-195-108.nyc.res.rr.com] has joined #lisp 02:08:59 -!- Triclops256 is now known as Triclops256|away 02:10:02 The quicksort routine could also borrow the dual pivot quicksort's pivot selection method 02:15:45 -!- foreignFunction [~niksaak@ip-4761.sunline.net.ua] has quit [Quit: Leaving.] 02:16:05 krsree [~krsree@106.51.158.127] has joined #lisp 02:18:38 dotemacs [uid801@gateway/web/irccloud.com/x-meaonhhjnipbenin] has joined #lisp 02:20:15 -!- davazp [~user@187.Red-88-8-246.dynamicIP.rima-tde.net] has quit [Remote host closed the connection] 02:22:57 -!- Joreji [~thomas@145-017.eduroam.rwth-aachen.de] has quit [Ping timeout: 264 seconds] 02:24:03 -!- nbouscal [~nbouscal@c-67-168-113-48.hsd1.wa.comcast.net] has quit [Quit: Computer has commenced electric sheep tracking protocol.] 02:25:38 -!- BitPuffin [~quassel@m5-240-197-28.cust.tele2.se] has quit [Ping timeout: 256 seconds] 02:25:51 -!- arubin [~arubin@99-114-192-172.lightspeed.cicril.sbcglobal.net] has quit [Quit: Computer has gone to sleep.] 02:26:55 -!- krsree [~krsree@106.51.158.127] has quit [Quit: Leaving] 02:28:39 -!- danielszmulewicz [~danielszm@5.144.62.162] has quit [Quit: danielszmulewicz] 02:28:45 -!- spion [~spion@unaffiliated/spion] has quit [Remote host closed the connection] 02:29:44 michaeljmcd [~michael@ip70-178-95-137.ks.ks.cox.net] has joined #lisp 02:33:34 Z_Mass [~zmassia@bas1-cornwall24-1279267682.dsl.bell.ca] has joined #lisp 02:33:35 -!- Joreji_ [~thomas@145-017.eduroam.rwth-aachen.de] has quit [Remote host closed the connection] 02:33:47 Joreji [~thomas@145-017.eduroam.rwth-aachen.de] has joined #lisp 02:34:24 -!- vi1 [~vi1@93.92.216.186] has quit [Remote host closed the connection] 02:34:55 -!- brianmwaters [60e97a7e@gateway/web/freenode/ip.96.233.122.126] has quit [Ping timeout: 250 seconds] 02:34:57 -!- youlysses [~user@75-132-28-10.dhcp.stls.mo.charter.com] has quit [Ping timeout: 264 seconds] 02:37:40 iLogical_ [~iLogical@unaffiliated/ilogical] has joined #lisp 02:37:44 nothnks [c8922b9f@gateway/web/freenode/ip.200.146.43.159] has joined #lisp 02:37:57 -!- nothnks [c8922b9f@gateway/web/freenode/ip.200.146.43.159] has left #lisp 02:38:00 -!- iLogical_ [~iLogical@unaffiliated/ilogical] has quit [Read error: Connection reset by peer] 02:38:29 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Ping timeout: 248 seconds] 02:38:34 iLogical_ [~iLogical@unaffiliated/ilogical] has joined #lisp 02:41:21 jerryzhou [~jerryzhou@58.245.253.218] has joined #lisp 02:41:36 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 02:42:45 -!- iLogical_ [~iLogical@unaffiliated/ilogical] has quit [Ping timeout: 248 seconds] 02:46:14 L ISP 02:46:14 L I SP 02:46:15 LI S P 02:46:15 LIS P 02:50:41 -!- jerryzhou [~jerryzhou@58.245.253.218] has quit [Quit: Leaving] 02:51:50 -!- Dalek_Baldwin [~Adium@108-225-26-178.lightspeed.irvnca.sbcglobal.net] has quit [Quit: Leaving.] 02:53:52 sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #lisp 02:54:16 dlowe: nice. an adaptative switch to linear-time pivot selection + three-way pivot would make for a complete and safe quicksort. 02:54:34 -!- pkhuong_ is now known as pkhuong 02:54:51 -!- joneshf-work [~joneshf@mail.concordusapps.com] has quit [Remote host closed the connection] 02:58:41 -!- abeaumont [~abeaumont@185.Red-79-148-147.dynamicIP.rima-tde.net] has quit [Ping timeout: 248 seconds] 02:59:49 -!- McMAGIC--Copy [~McMAGIC--@gateway/tor-sasl/mcmagic--copy] has quit [Ping timeout: 240 seconds] 02:59:59 cymew [~cymew@90-230-84-97-no110.tbcn.telia.com] has joined #lisp 03:01:57 McMAGIC--Copy [~McMAGIC--@gateway/tor-sasl/mcmagic--copy] has joined #lisp 03:03:29 dlowe: also, knuth's 0-1 principle is really useful to test comparison sorts. 03:05:55 jerryzhou [~jerryzhou@58.245.253.218] has joined #lisp 03:06:50 -!- Guest66589 is now known as syrinx 03:07:18 -!- syrinx [~quassel@ip68-1-175-223.ri.ri.cox.net] has quit [Changing host] 03:07:18 syrinx [~quassel@unaffiliated/syrinx-/x-4255893] has joined #lisp 03:07:23 -!- antgreen [~green@dsl-173-206-105-245.tor.primus.ca] has quit [Ping timeout: 240 seconds] 03:09:03 -!- AlbireoX [~AlbireoX@99-136-83-34.lightspeed.rcsntx.sbcglobal.net] has quit [Remote host closed the connection] 03:11:30 -!- chameco [~samuel@cpe-67-241-240-138.stny.res.rr.com] has quit [Ping timeout: 264 seconds] 03:11:44 ejohnson [~Thunderbi@c-67-181-201-173.hsd1.ca.comcast.net] has joined #lisp 03:12:09 -!- Joreji [~thomas@145-017.eduroam.rwth-aachen.de] has quit [Ping timeout: 264 seconds] 03:14:34 -!- harish [~harish@cm32.zeta224.maxonline.com.sg] has quit [Read error: Connection reset by peer] 03:15:08 Dalek_Baldwin [~Adium@71-84-34-33.dhcp.mtpk.ca.charter.com] has joined #lisp 03:15:19 harish [~harish@cm32.zeta224.maxonline.com.sg] has joined #lisp 03:16:31 -!- ejohnson [~Thunderbi@c-67-181-201-173.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 03:16:50 hitecnologys [~hitecnolo@94.137.24.196] has joined #lisp 03:18:17 ante_ [~cymew@90-230-84-97-no110.tbcn.telia.com] has joined #lisp 03:21:43 -!- cymew [~cymew@90-230-84-97-no110.tbcn.telia.com] has quit [Ping timeout: 276 seconds] 03:22:26 antgreen [~green@dsl-173-206-105-245.tor.primus.ca] has joined #lisp 03:26:55 -!- hitecnologys [~hitecnolo@94.137.24.196] has quit [Quit: hitecnologys] 03:29:50 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 03:32:00 -!- tessier [~treed@kernel-panic/copilotco] has quit [Ping timeout: 268 seconds] 03:33:47 -!- ryankarason [~rak@108-245-58-182.lightspeed.clmboh.sbcglobal.net] has quit [Quit: leaving] 03:36:18 kushal [~kdas@fedora/kushal] has joined #lisp 03:38:39 -!- robot-be` [~user@c-24-118-142-0.hsd1.mn.comcast.net] has quit [Remote host closed the connection] 03:39:11 robot-be` [~user@c-24-118-142-0.hsd1.mn.comcast.net] has joined #lisp 03:46:42 -!- jangle [~jimmy1984@dsl-164.7-238.gtb.net] has quit [Quit: jangle] 03:49:16 -!- dnolen [~user@cpe-72-225-195-108.nyc.res.rr.com] has quit [Ping timeout: 268 seconds] 03:53:20 hitecnologys [~hitecnolo@94.137.24.196] has joined #lisp 03:56:24 -!- sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Quit: Leaving.] 03:57:13 francis_wolke [62cf9ba1@gateway/web/cgi-irc/kiwiirc.com/ip.98.207.155.161] has joined #lisp 04:04:34 sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #lisp 04:04:58 -!- sellout is now known as Guest76664 04:06:19 -!- Guest76664 is now known as sellout- 04:09:52 -!- hitecnologys [~hitecnolo@94.137.24.196] has quit [Quit: hitecnologys] 04:18:36 krsree [~krsree@106.51.158.127] has joined #lisp 04:18:46 seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has joined #lisp 04:22:09 PuffTheMagic [uid3325@gateway/web/irccloud.com/x-rzulittxabvexcfe] has joined #lisp 04:23:33 -!- antgreen [~green@dsl-173-206-105-245.tor.primus.ca] has quit [Ping timeout: 248 seconds] 04:23:44 hitecnologys [~hitecnolo@94.137.24.196] has joined #lisp 04:24:07 -!- tmokros [~tmokros@ip72-196-149-92.cl.ri.cox.net] has quit [Ping timeout: 276 seconds] 04:24:22 NimeshNeema [uid2689@gateway/web/irccloud.com/x-tswlphkdxtbcqiyn] has joined #lisp 04:24:50 ahungry [~null@99-40-10-216.lightspeed.livnmi.sbcglobal.net] has joined #lisp 04:28:27 drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has joined #lisp 04:32:01 varjag [uid4973@gateway/web/irccloud.com/x-ajnyrlxlwdyzoqlm] has joined #lisp 04:32:32 arubin [~arubin@99-114-192-172.lightspeed.cicril.sbcglobal.net] has joined #lisp 04:32:35 hwiersma [~hwiersma@S0106001c10341a19.vc.shawcable.net] has joined #lisp 04:33:10 Hello everyone! I've just received a bunch of new newbie questions delivery, here's the first one: "How do I properly disconnect from swank? After slime-disconnect it doesn't allow me to connect again. What am I doing wrong?" 04:33:14 -!- ayeaye92 [~matt@dsl-173-206-68-24.tor.primus.ca] has quit [Read error: Connection reset by peer] 04:35:09 ayeaye92 [~matt@dsl-173-206-68-24.tor.primus.ca] has joined #lisp 04:35:47 start the swank server with :keep-alive t or whatever it is 04:36:49 d4gg4d [uid7020@gateway/web/irccloud.com/x-kyfgdilwaprkhkaq] has joined #lisp 04:39:56 It's :dont-close. That worked, thanks a lot. 04:40:34 pyx [~pyx@24-212-148-106.cable.teksavvy.com] has joined #lisp 04:41:23 rvirding [uid5943@gateway/web/irccloud.com/x-iqvdmphsbindoynf] has joined #lisp 04:43:32 -!- krsree [~krsree@106.51.158.127] has quit [Ping timeout: 268 seconds] 04:48:09 walter [~walter@97-88-38-33.dhcp.roch.mn.charter.com] has joined #lisp 04:50:17 -!- Jubb [~Jubb@pool-72-66-105-188.washdc.fios.verizon.net] has quit [Remote host closed the connection] 04:51:06 -!- walter [~walter@97-88-38-33.dhcp.roch.mn.charter.com] has quit [Client Quit] 04:56:37 ggherdov [uid11402@gateway/web/irccloud.com/x-wonavjmwqjwqylxx] has joined #lisp 04:58:02 Who is this WJ guy on c.l.l? 04:59:15 some spammer. 05:00:17 Is he bot or what? 05:05:09 -!- Bike [~Glossina@71-214-87-180.ptld.qwest.net] has quit [Ping timeout: 248 seconds] 05:06:22 -!- bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has quit [Ping timeout: 276 seconds] 05:07:59 attila_lendvai [~attila_le@212.112.119.1] has joined #lisp 05:07:59 -!- attila_lendvai [~attila_le@212.112.119.1] has quit [Changing host] 05:07:59 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 05:08:24 -!- kpreid [~kpreid@50-196-148-102-static.hfc.comcastbusiness.net] has quit [Quit: Quitting] 05:09:37 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Client Quit] 05:16:24 sdemarre [~serge@91.180.99.116] has joined #lisp 05:16:46 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Ping timeout: 256 seconds] 05:18:21 catmtking [~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net] has joined #lisp 05:18:35 arrdem [~user@107-194-73-19.lightspeed.austtx.sbcglobal.net] has joined #lisp 05:18:41 zRecursive [~czsq888@222.209.13.18] has joined #lisp 05:19:09 easye [~user@213.33.70.157] has joined #lisp 05:19:24 -!- jrajav [~jrajav@71-82-124-223.dhcp.roch.mn.charter.com] has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE] 05:20:27 -!- easye [~user@213.33.70.157] has quit [Remote host closed the connection] 05:20:39 -!- robot-be` [~user@c-24-118-142-0.hsd1.mn.comcast.net] has quit [Remote host closed the connection] 05:20:49 easye [~user@213.33.70.157] has joined #lisp 05:21:57 robot-be` [~user@24.118.142.0] has joined #lisp 05:24:15 Bike [~Glossina@71-214-87-180.ptld.qwest.net] has joined #lisp 05:24:21 I have labels in my macro to provide it's body interface to interact with another part of program. Sometimes functions from labels isn't unsed so sbcl complains that it removes them. Is it possible to somehow tell sbcl that this is ok and it doesn't need to report about it? 05:24:46 hitecnologys: (declare (ignore #'name)) 05:24:58 danielszmulewicz [~danielszm@5.144.62.162] has joined #lisp 05:25:04 -!- danielszmulewicz [~danielszm@5.144.62.162] has quit [Remote host closed the connection] 05:25:37 or, e.g. if the local function is from a macro expansion, (declare (ignorable #'name)) 05:25:46 -!- estebistec [~estebiste@72.133.228.205] has quit [Remote host closed the connection] 05:27:33 I used ignorable, that worked, thanks. 05:29:39 -!- jack_rabbit [~kyle@c-98-253-60-75.hsd1.il.comcast.net] has quit [Quit: Leaving] 05:29:53 jack_rabbit [~kyle@c-98-253-60-75.hsd1.il.comcast.net] has joined #lisp 05:32:11 tessier [~treed@216.105.40.125] has joined #lisp 05:32:11 -!- tessier [~treed@216.105.40.125] has quit [Changing host] 05:32:11 tessier [~treed@kernel-panic/copilotco] has joined #lisp 05:36:34 -!- arrdem [~user@107-194-73-19.lightspeed.austtx.sbcglobal.net] has quit [Ping timeout: 268 seconds] 05:36:36 -!- jfe [~jfe@ool-18bfe75c.dyn.optonline.net] has quit [Ping timeout: 256 seconds] 05:39:04 teggi [~teggi@123.20.119.146] has joined #lisp 05:39:08 -!- hitecnologys [~hitecnolo@94.137.24.196] has quit [Quit: hitecnologys] 05:39:15 -!- kushal [~kdas@fedora/kushal] has quit [Quit: Leaving] 05:39:30 mrSpec [~Spec@88.208.105.6] has joined #lisp 05:39:30 -!- mrSpec [~Spec@88.208.105.6] has quit [Changing host] 05:39:30 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 05:39:53 chameco [~samuel@cpe-67-241-240-138.stny.res.rr.com] has joined #lisp 05:40:20 benny [~user@maidenhead3.tunnelr.com] has joined #lisp 05:40:48 bitonic [~user@ppp-25-187.27-151.libero.it] has joined #lisp 05:41:28 -!- francis_wolke [62cf9ba1@gateway/web/cgi-irc/kiwiirc.com/ip.98.207.155.161] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 05:46:05 -!- Codynyx [~cody@c-75-72-187-16.hsd1.mn.comcast.net] has quit [Read error: Connection reset by peer] 05:46:11 mutila [~mutila@c-24-5-148-31.hsd1.ca.comcast.net] has joined #lisp 05:47:04 Codynyx [~cody@c-75-72-187-16.hsd1.mn.comcast.net] has joined #lisp 05:47:59 Do you guys mind if I ask some questions here? #clnoobs is pretty empty 05:48:29 go for it 05:50:17 Alright, so after looking at the code for https://github.com/dlowe-net/cl-sort that was posted earlier I noticed that in the (defpackage #:cl-sort ...) in package.lisp that there was (:use #:common-lisp) but in the defpackage in the testing file there was (:use #:cl). Is there any difference between those two packages? 05:50:40 they are the same package. cl is a nickname for common-lisp. 05:52:31 Okay, that makes sense. After googling for quite a while the only things I was getting between differences between #:cl and #:common-lisp was about the differences between CL and Scheme -.- 05:52:36 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 268 seconds] 05:53:12 clhs 11.1.2.1 05:53:12 The COMMON-LISP Package: http://www.lispworks.com/reference/HyperSpec/Body/11_aba.htm 05:55:00 How do you guys find the sections in HyperSec so quickly? Haha :P There doesn't seem to be any decent way to search unless you already know what you're looking for 05:55:08 BitPuffin [~quassel@m5-240-197-28.cust.tele2.se] has joined #lisp 05:55:46 yeah, i already knew that was in the "Packages" chapter. 05:56:19 I'm assuming you know which number the "Packages" chapter was as well? :P 05:56:38 nah, that's in the table of contents. i looked up the section before specbotting it. 05:58:46 -!- kliph [~user@unaffiliated/kliph] has quit [Ping timeout: 268 seconds] 06:00:29 -!- mutila [~mutila@c-24-5-148-31.hsd1.ca.comcast.net] has quit [Quit: Leaving] 06:01:18 -!- BitPuffin [~quassel@m5-240-197-28.cust.tele2.se] has quit [Ping timeout: 264 seconds] 06:02:18 -!- nightfly [~sage@rarity.sagenite.net] has quit [Remote host closed the connection] 06:02:29 jxriddle [~jxriddle@74-132-175-208.dhcp.insightbb.com] has joined #lisp 06:04:36 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 06:05:08 -!- pyx [~pyx@24-212-148-106.cable.teksavvy.com] has quit [Quit: WeeChat 0.4.1] 06:06:06 -!- robot-be` is now known as robot-beethoven 06:07:12 hitecnologys [~hitecnolo@94.137.24.196] has joined #lisp 06:08:49 What is your opinion on the way that the MP3 datadase is designed in chapter 27 of PCL? Would there be a better way of representing the data than a plist with a column class that defines a comparator, normalizer, etc? 06:12:22 -!- zRecursive [~czsq888@222.209.13.18] has left #lisp 06:13:32 ayeaye92: you can represent data as you want, but I prefer stucts for data. Maybe it's just my old C habbit. If you want you data structures to be changed in runtime, don't use struct then, use classes instead. But in this specific case plists are acceptable because there's only one data type -- MP3 record. 06:14:41 ayeaye92: you can use alists if you want, this doesn't really matter. 06:15:10 Structs also make sense, plus with structs you can write/read them with the #S syntax which classes don't have unfortunately... :/ 06:17:13 ayeaye92: but you can't change struct in runtime, you'll have to recreate all instances then, so for development phase I use classes and then change them for structs if I really need this but usually I leave them as classes. Classes are nice. 06:17:35 NickLevine_ [~chatzilla@cpc18-cmbg15-2-0-cust43.5-4.cable.virginmedia.com] has joined #lisp 06:18:15 The CLOS system is beautiful compared to the object systems of all the other languages I've used ihmo 06:18:16 mutila [~mutila@c-24-5-148-31.hsd1.ca.comcast.net] has joined #lisp 06:18:26 The only object systems I've used before are message passing based 06:19:11 The best advice I've received so far for storing class objects is to write all of the attributes as a plist and then when recreating the objects pass that list to `make-instance` 06:20:30 clhs make-load-form-saving-slots 06:20:30 http://www.lispworks.com/reference/HyperSpec/Body/f_mk_l_1.htm 06:20:44 You can also change reinitialize-instance. 06:22:55 -!- drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has quit [Remote host closed the connection] 06:25:58 drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has joined #lisp 06:30:31 Or there are various persistence libraries 06:30:45 -!- Z_Mass [~zmassia@bas1-cornwall24-1279267682.dsl.bell.ca] has quit [Ping timeout: 264 seconds] 06:30:57 dlowe: (bleh. the 0-1 principle really isn't useful, even as a heuristic, for quicksort-like algorithms) 06:33:56 Okay, I played around with make-load-form-saving-slots, but it still doesn't seem to be able to recreate an object after evaluating the resulting forms :S Could I see a quick example? 06:35:15 It also seems that it only stores the local slots so all slots of superclasses will be lost 06:35:32 -!- seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has quit [Ping timeout: 256 seconds] 06:37:32 -!- arubin [~arubin@99-114-192-172.lightspeed.cicril.sbcglobal.net] has quit [Quit: Computer has gone to sleep.] 06:38:33 -!- rszeno [~rszeno@79.114.104.28] has quit [Quit: Leaving.] 06:41:30 -!- NickLevine_ [~chatzilla@cpc18-cmbg15-2-0-cust43.5-4.cable.virginmedia.com] has quit [Ping timeout: 264 seconds] 06:45:04 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Quit: This computer has gone to sleep] 06:45:22 -!- ayeaye92 [~matt@dsl-173-206-68-24.tor.primus.ca] has quit [Quit: Konversation terminated!] 06:48:13 Try cl-store. 06:50:40 Mon_Ouie [~Mon_Ouie@96.69-244-81.adsl-dyn.isp.belgacom.be] has joined #lisp 06:50:41 -!- Mon_Ouie [~Mon_Ouie@96.69-244-81.adsl-dyn.isp.belgacom.be] has quit [Changing host] 06:50:41 Mon_Ouie [~Mon_Ouie@subtle/user/MonOuie] has joined #lisp 06:50:49 fengsheng [~user@101.229.72.248] has joined #lisp 06:51:17 -!- fengsheng [~user@101.229.72.248] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 06:52:50 jfe [~jfe@ool-18bfe75c.dyn.optonline.net] has joined #lisp 06:54:33 fengsheng [~user@101.229.72.248] has joined #lisp 06:57:14 jewel [~jewel@105-237-57-201.access.mtnbusiness.co.za] has joined #lisp 07:14:30 -!- fengsheng [~user@101.229.72.248] has quit [Ping timeout: 264 seconds] 07:14:36 Gruu [~Gruu@91.240.66.29] has joined #lisp 07:16:21 skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has joined #lisp 07:16:34 ehu [~ehu@31.138.236.220] has joined #lisp 07:16:40 -!- skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has left #lisp 07:17:24 skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has joined #lisp 07:17:45 -!- skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has left #lisp 07:17:47 agumonkey [~agu@156.217.72.86.rev.sfr.net] has joined #lisp 07:19:16 -!- Gruu [~Gruu@91.240.66.29] has quit [Client Quit] 07:19:48 -!- daimrod [daimrod@sbrk.org] has quit [Remote host closed the connection] 07:19:59 daimrod [daimrod@sbrk.org] has joined #lisp 07:21:06 Karl_dscc [~localhost@p5B2B0B6C.dip0.t-ipconnect.de] has joined #lisp 07:22:58 -!- setmeaway2 [~setmeaway@119.201.52.138] has quit [Read error: Connection reset by peer] 07:24:33 -!- Karl_dscc [~localhost@p5B2B0B6C.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 07:29:33 yati [~yati@122.169.75.169] has joined #lisp 07:36:00 nilsi [~nilsi@109.58.73.132.bredband.tre.se] has joined #lisp 07:37:46 -!- jerryzhou [~jerryzhou@58.245.253.218] has quit [Quit: Leaving] 07:40:13 xan_ [~xan@80.174.78.149.dyn.user.ono.com] has joined #lisp 07:41:17 seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has joined #lisp 07:45:14 pranavrc [~pranavrc@122.164.205.153] has joined #lisp 07:45:14 -!- pranavrc [~pranavrc@122.164.205.153] has quit [Changing host] 07:45:14 pranavrc [~pranavrc@unaffiliated/pranavrc] has joined #lisp 07:46:18 -!- seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds] 07:46:51 ph88 [5597cc14@gateway/web/freenode/ip.85.151.204.20] has joined #lisp 07:49:46 -!- daem0n [popoki@unaffiliated/mryaargh] has quit [Ping timeout: 256 seconds] 07:54:46 joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has joined #lisp 07:55:15 kcj [~casey@unaffiliated/kcj] has joined #lisp 07:55:40 -!- catmtking [~catmtking@108-224-122-111.lightspeed.irvnca.sbcglobal.net] has quit [Quit: Leaving] 07:56:29 DataLinkDroid [~DataLinkD@CPE-124-184-243-149.lns13.cht.bigpond.net.au] has joined #lisp 08:00:07 minion: memo for Quadrescence: http://paste.lisp.org/display/137934 08:00:08 Remembered. I'll tell Quadrescence when he/she/it next speaks. 08:01:05 zRecursive [~czsq888@222.209.13.143] has joined #lisp 08:01:21 morphling [~stefan@gssn-4d00369b.pool.mediaWays.net] has joined #lisp 08:02:23 Hi. I was thinking of writing the exercises from Andre Ng's machine learning course on Coursera in CL as an exercise. What (beginner-friendly) library can I use for linear algebra? Something like numpy/scipy of Python? 08:03:55 araujo [~araujo@gentoo/developer/araujo] has joined #lisp 08:04:30 You could use maxima. 08:04:45 daem0n [popoki@2607:f5a0:0:162:225:90ff:fe57:5e05] has joined #lisp 08:05:00 or cliki: http://www.cliki.net/site/search?query=linear 08:05:07 -!- daem0n is now known as Guest14085 08:05:16 Also, I'm doing the 99-lisp problems and keeping them here: https://github.com/yati-sagade/99-lisp-problems/blob/master/99.lisp If anyone has some slack time, I welcome code-style and technique suggestions. 08:05:40 Oh Cliki is great :) thanks, pjb 08:06:06 pierpa [~user@host204-228-dynamic.51-79-r.retail.telecomitalia.it] has joined #lisp 08:06:43 yati: 99 solutions: https://www.informatimago.com/develop/lisp/l99/index.html ;-) 08:08:51 yati: using nth or elt on lists is a code smell: it's often the thing NOT to do. 08:09:14 Because they are O(n), so in a loop, you get automatically >O(n^2). 08:09:51 pjb, noted. so you suggest recursion/loop using the functional idiom of first/rest or car/cdr? 08:10:30 -!- nilsi [~nilsi@109.58.73.132.bredband.tre.se] has quit [Remote host closed the connection] 08:10:43 Check my solutions ;-) 08:11:26 abeaumont [~abeaumont@98.Red-79-156-231.staticIP.rima-tde.net] has joined #lisp 08:12:07 s/https/http/ 08:12:20 I wonder why I get those https links :-? 08:12:20 jtza8 [~jtza8@105-236-77-150.access.mtnbusiness.co.za] has joined #lisp 08:13:13 Oh those are yours? 08:14:05 Yes. pjb = informatimago = ogamita 08:15:05 -!- Guest86994 [~Natch@c-10cfe155.25-4-64736c10.cust.bredbandsbolaget.se] has left #lisp 08:15:07 pjb, Also, is there a reason why you use (loop :for ...) instead of just (loop for ...) 08:15:13 Natch [~Natch@c-10cfe155.25-4-64736c10.cust.bredbandsbolaget.se] has joined #lisp 08:15:43 codeburg [~folker@85.183.24.157] has joined #lisp 08:16:01 Try: (defpackage "UTILS" (:export "FOR")) (loop for i below 3) (use-package "UTILS") 08:17:25 right 08:17:30 got it 08:18:16 pjb, mind a PM? 08:18:32 np 08:18:39 no problemo :-) 08:21:29 -!- pranavrc [~pranavrc@unaffiliated/pranavrc] has quit [Quit: Ping timeout: ] 08:22:07 -!- zRecursive [~czsq888@222.209.13.143] has left #lisp 08:22:34 -!- abeaumont [~abeaumont@98.Red-79-156-231.staticIP.rima-tde.net] has quit [Remote host closed the connection] 08:24:59 -!- yati [~yati@122.169.75.169] has quit [Read error: Connection reset by peer] 08:25:51 yati [~yati@122.169.82.155] has joined #lisp 08:27:25 NickLevine_ [~chatzilla@cpc18-cmbg15-2-0-cust43.5-4.cable.virginmedia.com] has joined #lisp 08:32:12 abeaumont [~abeaumont@98.Red-79-156-231.staticIP.rima-tde.net] has joined #lisp 08:35:42 -!- _d3f [~gnu@94.242.252.66] has quit [Quit: WeeChat 0.4.1] 08:43:43 killerboy [~mateusz@195.225.68.249] has joined #lisp 08:45:25 -!- jewel [~jewel@105-237-57-201.access.mtnbusiness.co.za] has quit [Ping timeout: 248 seconds] 08:45:45 -!- guiambros [~guiambros@z65-50-88-217.ips.direcpath.com] has quit [Ping timeout: 264 seconds] 08:45:54 -!- codeburg [~folker@85.183.24.157] has quit [Quit: This computer has gone to sleep] 08:46:55 wbooze [~wbooze@xdsl-78-35-186-165.netcologne.de] has joined #lisp 08:52:12 nha_ [~prefect@koln-4d0dc819.pool.mediaWays.net] has joined #lisp 08:55:02 nso95 [~textual@unaffiliated/nathan1995] has joined #lisp 08:59:29 doomlord [~doomlod@host86-145-105-238.range86-145.btcentralplus.com] has joined #lisp 09:00:11 -!- hitecnologys [~hitecnolo@94.137.24.196] has quit [Quit: hitecnologys] 09:02:57 -!- theBlackDragon [~dragon@213.211.143.23] has quit [Ping timeout: 248 seconds] 09:04:22 theBlackDragon [~dragon@213.211.143.23] has joined #lisp 09:05:23 hitecnologys [~hitecnolo@94.137.24.196] has joined #lisp 09:09:28 -!- theBlackDragon [~dragon@213.211.143.23] has quit [Ping timeout: 276 seconds] 09:15:43 theBlackDragon [~dragon@213.211.143.23] has joined #lisp 09:18:55 -!- nug700 [~nug700@174-26-159-207.phnx.qwest.net] has quit [Quit: bye] 09:20:54 -!- nso95 [~textual@unaffiliated/nathan1995] has left #lisp 09:26:18 -!- Neptu [~Neptu@252.67.24.31.static.mrfriday.com] has quit [Read error: Operation timed out] 09:29:47 -!- hitecnologys [~hitecnolo@94.137.24.196] has quit [Quit: hitecnologys] 09:36:04 ffilozov [~user@119.red-80-28-107.adsl.static.ccgg.telefonica.net] has joined #lisp 09:36:16 -!- drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has quit [Remote host closed the connection] 09:36:27 Neptu [~Neptu@252.67.24.31.static.mrfriday.com] has joined #lisp 09:36:58 prxq [~mommer@mnhm-590c06d5.pool.mediaWays.net] has joined #lisp 09:37:53 -!- GuilOooo_ [~GuilOooo@178.20.70.196] has quit [Read error: Operation timed out] 09:38:28 codd64 [~admin@79.148.241.148] has joined #lisp 09:38:31 hitecnologys [~hitecnolo@94.137.24.196] has joined #lisp 09:40:01 -!- sdemarre [~serge@91.180.99.116] has quit [Ping timeout: 276 seconds] 09:41:41 leo2007 [~leo@182.48.101.29] has joined #lisp 09:44:28 francis_wolke [62cf9ba1@gateway/web/cgi-irc/kiwiirc.com/ip.98.207.155.161] has joined #lisp 09:47:14 stepnem [~stepnem@internet2.cznet.cz] has joined #lisp 09:47:29 GuilOooo [~GuilOooo@178.20.70.196] has joined #lisp 09:47:38 -!- tomaw [tom@freenode/staff/tomaw] has quit [Quit: Quitting] 09:48:32 _d3f [~gnu@94.242.252.66] has joined #lisp 09:50:55 zolk3ri [~zolk3ri@unaffiliated/zolk3ri] has joined #lisp 09:52:52 pavelpenev [~quassel@85.130.70.65] has joined #lisp 09:53:25 -!- ffilozov [~user@119.red-80-28-107.adsl.static.ccgg.telefonica.net] has quit [Remote host closed the connection] 09:53:28 -!- weie_ [~eie@softbank221078042071.bbtec.net] has quit [Read error: Connection reset by peer] 09:53:40 ksinkar [~ksinkar@1.23.149.168] has joined #lisp 09:54:00 weie [~eie@softbank221078042071.bbtec.net] has joined #lisp 09:56:52 tomaw [tom@freenode/staff/tomaw] has joined #lisp 09:58:13 -!- krishnak` [~krishnak@50.11.87.144] has quit [Ping timeout: 276 seconds] 10:03:42 -!- leo2007 [~leo@182.48.101.29] has quit [Ping timeout: 264 seconds] 10:04:04 tmokros [~tmokros@ip72-196-149-92.cl.ri.cox.net] has joined #lisp 10:14:04 angavrilov [~angavrilo@217.71.227.190] has joined #lisp 10:18:29 ffilozov [~user@84.77.187.252] has joined #lisp 10:18:55 leo2007 [~leo@182.48.101.29] has joined #lisp 10:39:29 -!- EvW1 [~Thunderbi@a82-92-190-215.adsl.xs4all.nl] has quit [Quit: EvW1] 10:41:06 -!- _d3f [~gnu@94.242.252.66] has quit [Quit: WeeChat 0.4.1] 10:41:24 -!- hitecnologys [~hitecnolo@94.137.24.196] has quit [Quit: hitecnologys] 10:44:09 b1gb0b_ [~RiwBHLe@2001:da8:ff3a:c894:117::] has joined #lisp 10:44:33 -!- b1gb0b_ [~RiwBHLe@2001:da8:ff3a:c894:117::] has quit [Remote host closed the connection] 10:45:26 b1gb0b [~xXusliv@2001:da8:ff3a:c894:117::] has joined #lisp 10:45:37 _d3f [~gnu@94.242.252.66] has joined #lisp 10:45:58 -!- b1gb0b [~xXusliv@2001:da8:ff3a:c894:117::] has quit [Remote host closed the connection] 10:48:32 zRecursive [~czsq888@171.212.255.157] has joined #lisp 10:50:04 b1gb0b [~PLbTlZ@59.49.30.235] has joined #lisp 10:50:17 poppingtonic [~poppingto@212.49.88.100] has joined #lisp 10:50:35 hi. (adjust-array *db* '((array-total-size *db*))) -> The value (ARRAY-TOTAL-SIZE *DB*) is not of type FIXNUM. how can I fix this? 10:51:31 -!- wbooze [~wbooze@xdsl-78-35-186-165.netcologne.de] has quit [Ping timeout: 276 seconds] 10:52:36 try (adjust-array *db* (list (array-total-size *db*))) 10:53:22 -!- ffilozov [~user@84.77.187.252] has quit [Ping timeout: 256 seconds] 10:55:04 -!- yati [~yati@122.169.82.155] has quit [Ping timeout: 256 seconds] 10:55:25 -!- ehu [~ehu@31.138.236.220] has quit [Ping timeout: 276 seconds] 10:57:08 edgar-rft: ok, I am using this: (adjust-array *db* (list (1+ (array-total-size *db*)))), but I am getting "note: unable to optimize because: can't tell the rank at compile time", what does this mean and how can I fix? 10:59:42 -!- mutila [~mutila@c-24-5-148-31.hsd1.ca.comcast.net] has quit [Ping timeout: 268 seconds] 10:59:55 stassats [~stassats@wikipedia/stassats] has joined #lisp 11:00:31 try (eval-when (:compile-toplevel) (adjust-array *db* (list (1+ (array-total-size *db*))))) 11:00:42 ffilozov [~user@84.77.187.252] has joined #lisp 11:01:12 no need for LIST 11:03:59 correct, with only one dimension no LIST is needed, try: (eval-when (:compile-toplevel) (adjust-array *db* (1+ (array-total-size *db*)))) 11:04:38 now, what with eval-when? 11:05:45 ok, it's currently (adjust-array *db* (1+ (array-total-size *db*))) 11:05:49 b1gb0b: it means it can't optimize it, there's nothing to fix 11:06:02 but it says it's unable to optimize because can't tell the rank at compile time, in (array-total-size *db*) 11:06:15 -!- zRecursive [~czsq888@171.212.255.157] has left #lisp 11:07:20 but (adjust-array *db* 1) works, I don't get the note, but why do I get it with (array-total-size *db*) ? 11:07:32 because it can't optimize array-total-size 11:07:48 if you don't wish to see those notes, don't compile with SPEED of 3 11:08:13 zRecursive [~czsq888@171.212.255.157] has joined #lisp 11:08:29 -!- poppingtonic [~poppingto@212.49.88.100] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:08:46 how to produce TAGS for emacs ? 11:09:04 ask #emacs 11:09:22 zRecursive: etags 11:10:03 pjb: thanks 11:11:26 whereis etags => etags: /usr/local/bin/etags, i honestly donot know etags can produce TAGS for lisp files before 11:11:31 zRecursive: If you use SLIME, you might want to look at slime-who-* set of commands. 11:11:54 zRecursive: yes, for lisp, just use slime. 11:12:02 etags is not really good for common lisp 11:12:03 It's not tags, but it will help you jump around Lisp code. 11:12:38 -!- leo2007 [~leo@182.48.101.29] has quit [Ping timeout: 256 seconds] 11:13:17 i use 'run-lisp to start REPL in emacs, pressing doesnot auto-complete. 11:13:42 M-Tab needs TAGS file 11:13:50 zRecursive: install quicklisp, with quicklisp, install swank and quicklisp-slime-helper, and then use M-x slime instead of M-x run-lisp. 11:14:01 The only annoying thing I find about using SLIME's cross-referencing commands is that it completely destroys my Emacs layout. It opens up a temporary buffer, then overwrites my current buffers. 11:14:14 stassats: can I somehow turn off the optimization only for array-total-size? 11:14:29 ffilozov: I believe this could be solved with some configuration of emacs, something about prefered windows or frames, etc. 11:14:42 pjb: i will do it 11:14:49 ffilozov: in Aquamacs, they did quote some such configuration to get the strange behavior of Aquamacs. 11:15:05 zRecursive: see http://www.cliki.net/Getting%20Started 11:15:23 thx 11:16:07 b1gb0b: yes, by squinting your eyes 11:16:11 so that you don't see it 11:16:41 -!- ffilozov [~user@84.77.187.252] has quit [Remote host closed the connection] 11:16:55 ffilozov [~user@84.77.187.252] has joined #lisp 11:18:50 Does 'slime use inferior-lisp-program as 'run-lisp ? 11:19:32 kushal [~kdas@fedora/kushal] has joined #lisp 11:20:10 spion [~spion@unaffiliated/spion] has joined #lisp 11:20:48 Joreji [~thomas@145-017.eduroam.rwth-aachen.de] has joined #lisp 11:21:41 leo2007 [~leo@182.48.101.29] has joined #lisp 11:24:56 -!- ffilozov [~user@84.77.187.252] has quit [Remote host closed the connection] 11:25:06 wom, slime is great, thx 11:25:50 mrSpec [~Spec@88.208.105.6] has joined #lisp 11:25:50 -!- mrSpec [~Spec@88.208.105.6] has quit [Changing host] 11:25:50 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 11:25:58 poppingtonic [~poppingto@212.49.88.100] has joined #lisp 11:26:37 -!- zRecursive [~czsq888@171.212.255.157] has left #lisp 11:32:57 guiambros [~guiambros@z65-50-88-217.ips.direcpath.com] has joined #lisp 11:35:13 -!- DataLinkDroid [~DataLinkD@CPE-124-184-243-149.lns13.cht.bigpond.net.au] has quit [Ping timeout: 256 seconds] 11:40:16 -!- chameco [~samuel@cpe-67-241-240-138.stny.res.rr.com] has quit [Ping timeout: 276 seconds] 11:40:50 chameco [~samuel@cpe-67-241-240-138.stny.res.rr.com] has joined #lisp 11:41:09 wbooze [~wbooze@xdsl-78-35-188-80.netcologne.de] has joined #lisp 11:41:25 hitecnologys [~hitecnolo@94.137.56.154] has joined #lisp 11:43:53 hiato [~hiato@41-133-149-74.dsl.mweb.co.za] has joined #lisp 11:51:44 -!- xan_ [~xan@80.174.78.149.dyn.user.ono.com] has quit [Ping timeout: 256 seconds] 11:56:31 EvW [~Thunderbi@a82-92-190-215.adsl.xs4all.nl] has joined #lisp 12:02:45 -!- chameco [~samuel@cpe-67-241-240-138.stny.res.rr.com] has quit [Ping timeout: 248 seconds] 12:05:45 -!- NickLevine_ [~chatzilla@cpc18-cmbg15-2-0-cust43.5-4.cable.virginmedia.com] has quit [Quit: ChatZilla 0.9.90 [Firefox 21.0/20130511120803]] 12:07:28 xan_ [~xan@80.174.78.149.dyn.user.ono.com] has joined #lisp 12:07:59 -!- nha_ [~prefect@koln-4d0dc819.pool.mediaWays.net] has quit [Read error: Connection reset by peer] 12:08:01 is it possible to change *print-length* 5 only for a specified function's return value? 12:08:39 yati [~yati@122.169.82.155] has joined #lisp 12:12:50 or is it possible set the length of the return value of a specified function? 12:21:01 BitPuffin [~quassel@m5-240-197-28.cust.tele2.se] has joined #lisp 12:22:25 AeroNotix [~xeno@abom88.neoplus.adsl.tpnet.pl] has joined #lisp 12:23:07 jeremyheiler [~jeremyhei@229.sub-70-215-2.myvzw.com] has joined #lisp 12:25:58 b1gb0b: (let ((*print-length* whateveryouwant)) code-code-code) 12:28:27 I tried it, it doesn't work, maybe I am doing something wrong. 12:28:51 (defun add (obj) 12:28:51 (let ((*print-length* 5)) 12:28:51 (push obj *db*))) 12:28:56 CL-USER> (add "lol") 12:28:56 ("lol" "ten" "nine" "eight" "seven" "six" "five" "four" "three" "two" "one") 12:29:07 b1gb0b: don't paste here, use paste.lisp.org/new. 12:29:21 ok, next time I'll use it 12:29:36 but you see my problem? 12:29:50 wish it worked :d 12:29:51 b1gb0b: ah, of course it wouldn't work because push *returns* list, it doesn't *print* it. 12:30:30 well, is there any way to change the length of the return value? 12:31:24 codeburg [~folker@85.183.24.157] has joined #lisp 12:31:51 -!- teggi [~teggi@123.20.119.146] has quit [Remote host closed the connection] 12:32:06 b1gb0b: (write-to-string (whatever) :length 5) 12:33:18 b1gb0b: you can also use (subseq (whatever) 0 5) but this wouldn't work if (whatever) returns something that is not sequence. 12:33:42 -!- agumonkey [~agu@156.217.72.86.rev.sfr.net] has quit [Ping timeout: 264 seconds] 12:33:59 b1gb0b: anyway, why do you need to limit length? 12:34:42 because if I have 1000000 elements, it takes hours to print the return value 12:36:39 I see, use write-to-string then. 12:37:16 Or if you want to print (not return) result, you can use write. 12:37:21 -!- jtza8 [~jtza8@105-236-77-150.access.mtnbusiness.co.za] has quit [Ping timeout: 264 seconds] 12:37:44 clhs write 12:37:44 http://www.lispworks.com/reference/HyperSpec/Body/f_wr_pr.htm 12:38:06 Read this. 12:40:54 (write (push obj *db*) :length 5)) would be nice, if it didn't return a value after printing the stuff 12:40:58 like 12:40:59 ("lol" "lol" "lol" "lol" "lol" ...) 12:41:02 ("lol" "lol" "lol" "lol" "lol" "lol" "ten" "nine" "eight" "seven" "six" "five" "four" "three" "two" "one") 12:42:39 -!- weie [~eie@softbank221078042071.bbtec.net] has quit [Read error: Connection reset by peer] 12:43:15 weie [~eie@softbank221078042071.bbtec.net] has joined #lisp 12:43:39 hitecnologys: http://paste.lisp.org/display/137936 , do you think it's fine? 12:47:22 can I somehow make the return value ("lol" "lol" ...) ? without " and \ in write-to-string? 12:48:02 -!- jeremyheiler [~jeremyhei@229.sub-70-215-2.myvzw.com] has quit [Quit: Textual IRC Client: www.textualapp.com] 12:51:16 cross [cross@spitfire.i.gajendra.net] has joined #lisp 12:51:46 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 12:51:55 -!- delian66 [~delian@host170-134.kf-wlan.satnet-bg.com] has quit [Ping timeout: 246 seconds] 12:54:06 antgreen [~green@dsl-173-206-105-245.tor.primus.ca] has joined #lisp 12:56:04 jweslley [~jweslley@187.28.203.194] has joined #lisp 12:56:28 -!- hiato [~hiato@41-133-149-74.dsl.mweb.co.za] has quit [Quit: Nothing so gives the illusion of intelligence as personal association with large sums.] 12:57:05 -!- codeburg [~folker@85.183.24.157] has quit [Quit: This computer has gone to sleep] 12:59:25 -!- bhyde [~bhyde@198.199.88.224] has quit [Ping timeout: 256 seconds] 13:01:17 ASau [~user@p5797FE22.dip0.t-ipconnect.de] has joined #lisp 13:02:09 -!- _d3f [~gnu@94.242.252.66] has quit [Quit: WeeChat 0.4.1] 13:05:07 codeburg [~folker@85.183.24.157] has joined #lisp 13:05:25 -!- Beetny [~Beetny@ppp118-208-20-32.lns20.bne1.internode.on.net] has quit [Ping timeout: 276 seconds] 13:06:45 davazp [~user@187.Red-88-8-246.dynamicIP.rima-tde.net] has joined #lisp 13:08:21 _d3f [~gnu@50.7.242.122] has joined #lisp 13:11:11 ehu [~ehu@ip167-22-212-87.adsl2.static.versatel.nl] has joined #lisp 13:15:09 -!- antgreen [~green@dsl-173-206-105-245.tor.primus.ca] has quit [Ping timeout: 264 seconds] 13:16:36 -!- b1gb0b [~PLbTlZ@59.49.30.235] has quit [Remote host closed the connection] 13:17:13 -!- harish [~harish@cm32.zeta224.maxonline.com.sg] has quit [Ping timeout: 268 seconds] 13:22:47 -!- codeburg [~folker@85.183.24.157] has quit [Quit: This computer has gone to sleep] 13:23:13 knob [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 13:30:43 jtza8 [~jtza8@105-236-77-150.access.mtnbusiness.co.za] has joined #lisp 13:30:53 knob3212 [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 13:32:01 -!- knob [~knob@adsl-64-237-237-155.prtc.net] has quit [Ping timeout: 256 seconds] 13:32:35 -!- knob3212 is now known as knob 13:32:53 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 248 seconds] 13:34:49 b1gb0b [~gOjunUp@59.49.30.235] has joined #lisp 13:36:03 -!- xan_ [~xan@80.174.78.149.dyn.user.ono.com] has quit [Quit: leaving] 13:36:03 przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has joined #lisp 13:36:34 http://paste.lisp.org/display/137937 what can I do with it? 13:36:54 besides ignoring 13:37:21 -!- ksinkar [~ksinkar@1.23.149.168] has quit [Ping timeout: 264 seconds] 13:38:09 harish [~harish@119.234.133.127] has joined #lisp 13:42:42 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 13:43:24 nevermind 13:44:47 Ah, sorry, I was afk. (subseq whatever 0 5) 13:45:06 -!- doomlord [~doomlod@host86-145-105-238.range86-145.btcentralplus.com] has quit [Ping timeout: 264 seconds] 13:47:15 Is it feature that http://paste.lisp.org/display/1 and http://paste.lisp.org/display/1whateverandomstuff are the liks to the same page? 13:47:30 -!- michaeljmcd [~michael@ip70-178-95-137.ks.ks.cox.net] has quit [Ping timeout: 264 seconds] 13:48:14 kliph [~user@unaffiliated/kliph] has joined #lisp 13:48:53 Jubb [~Jubb@pool-72-66-105-188.washdc.fios.verizon.net] has joined #lisp 13:48:54 ksinkar [~ksinkar@14.97.16.99] has joined #lisp 13:49:37 -!- BitPuffin [~quassel@m5-240-197-28.cust.tele2.se] has quit [Ping timeout: 276 seconds] 13:54:23 michaeljmcd [~michael@ip70-178-95-137.ks.ks.cox.net] has joined #lisp 14:02:45 -!- francis_wolke [62cf9ba1@gateway/web/cgi-irc/kiwiirc.com/ip.98.207.155.161] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 14:03:31 -!- mathrick [~mathrick@85.218.134.11] has quit [Read error: Network is unreachable] 14:04:37 foreignFunction [~niksaak@ip-4761.sunline.net.ua] has joined #lisp 14:10:54 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 264 seconds] 14:11:22 -!- spion [~spion@unaffiliated/spion] has quit [Ping timeout: 246 seconds] 14:11:24 yati_ [~yati@122.169.89.139] has joined #lisp 14:11:30 -!- yati [~yati@122.169.82.155] has quit [Ping timeout: 264 seconds] 14:11:42 -!- kushal [~kdas@fedora/kushal] has quit [Ping timeout: 256 seconds] 14:13:11 -!- jweslley [~jweslley@187.28.203.194] has quit [Quit: leaving] 14:13:26 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 14:16:41 -!- bitonic [~user@ppp-25-187.27-151.libero.it] has quit [Remote host closed the connection] 14:17:25 ah.. added some operators to my OUT.. http://paste.lisp.org/display/137940 14:17:29 bitonic [~user@ppp-25-187.27-151.libero.it] has joined #lisp 14:20:33 is there any way to prevent having to recompile all functions that use a macro after redefining the macro? I find that a compiled function has the macro expanded into it and that's that. If the macro changes the function doesn't pick up the new code. 14:21:03 mathrick [~mathrick@85.218.134.11] has joined #lisp 14:24:01 spion [~spion@unaffiliated/spion] has joined #lisp 14:24:03 ryankarason [~rak@108-245-58-182.lightspeed.clmboh.sbcglobal.net] has joined #lisp 14:25:06 codd64: it's impossible, function have to be recompiled because macos are expanded at compile time. 14:26:07 lduros [~user@fsf/member/lduros] has joined #lisp 14:28:21 -!- leo2007 [~leo@182.48.101.29] has quit [Ping timeout: 264 seconds] 14:28:41 -!- foreignFunction [~niksaak@ip-4761.sunline.net.ua] has quit [Read error: Connection reset by peer] 14:28:49 hitecnologys: what about incremental compilation? A consistent image cannot be maintained easily, and big systems must be unwieldy to maintain 14:28:55 foreignFunction [~niksaak@ip-4761.sunline.net.ua] has joined #lisp 14:29:57 -!- przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has quit [Ping timeout: 248 seconds] 14:30:09 -!- davazp [~user@187.Red-88-8-246.dynamicIP.rima-tde.net] has quit [Ping timeout: 264 seconds] 14:30:48 codd64: and yet big systems exist. Worst case, you recompile everything. 14:31:05 or, rather, you get asdf to do it for you. 14:32:05 -!- jtza8 [~jtza8@105-236-77-150.access.mtnbusiness.co.za] has quit [Ping timeout: 256 seconds] 14:32:40 agumonkey [~agu@156.217.72.86.rev.sfr.net] has joined #lisp 14:32:52 pkhuong: introducing overhead and shifting my job in this regard from nothing to maintaining a build system 14:33:10 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 276 seconds] 14:34:41 whois rpg 14:34:45 -!- bitonic [~user@ppp-25-187.27-151.libero.it] has quit [Ping timeout: 248 seconds] 14:35:04 codd64: anyway, no, Robert Goldman takes care of maintaining asdf now. 14:35:05 if functions are interpreted rather than compiled do they pick up new macros automatically? 14:35:42 codd64: nope, macros are exapanded after reading 14:35:46 codd64: perhaps, perhaps not. 14:36:17 I see. The tradeoff, of course, will be Python's speed :) 14:36:44 Pypy is fast enough. 14:37:02 hitecnologys: for some values of 'fast' 14:37:44 codeburg [~folker@85.183.24.157] has joined #lisp 14:37:55 pkhuong: can compilation/interpretation be set globally on sbcl/slime? 14:37:57 If you do some special tricks with python code, you can make it run as fast as java or even faster. 14:37:58 factor had an interesting solution to a similar issue. 14:38:13 codd64: see sb-ext:*evaluator-mode*. 14:38:31 and use keybindings that evaluate rather than compile. 14:38:57 I need to reboot, brb 14:39:04 -!- hitecnologys [~hitecnolo@94.137.56.154] has quit [Quit: hitecnologys] 14:39:14 But I believe the beauty of functional languages is to not do 'tricks'. You do tricks in C/Java and you suffer all the more for it. 14:39:50 thanks pkhuong, I definitely need to read the manuals 14:40:03 Ah, an aesthete. 14:41:09 hitecnologys [~hitecnolo@94.137.56.154] has joined #lisp 14:41:10 elegance is not a luxury to be dispensed with, but the quality of successful systems. 14:43:02 -!- knob [~knob@adsl-64-237-237-155.prtc.net] has quit [Read error: Connection reset by peer] 14:43:47 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 14:43:57 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 14:45:36 bitonic [~user@ppp-25-187.27-151.libero.it] has joined #lisp 14:48:25 knob [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 14:48:25 -!- ksinkar [~ksinkar@14.97.16.99] has quit [Remote host closed the connection] 14:49:12 ksinkar [~ksinkar@1.23.150.176] has joined #lisp 14:51:06 *Xach* puts a macro in a closure 14:54:42 -!- codeburg [~folker@85.183.24.157] has quit [Quit: This computer has gone to sleep] 14:55:01 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 248 seconds] 14:55:59 -!- hitecnologys [~hitecnolo@94.137.56.154] has quit [Quit: hitecnologys] 14:56:54 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 14:57:38 bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has joined #lisp 15:00:59 photex [uid2006@gateway/web/irccloud.com/x-mxcrwwgecfrjvgmh] has joined #lisp 15:01:37 jerryzhou [~jerryzhou@58.245.253.218] has joined #lisp 15:03:33 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 248 seconds] 15:05:29 -!- jxriddle [~jxriddle@74-132-175-208.dhcp.insightbb.com] has quit [Quit: jxriddle] 15:05:45 -!- jagaj [~AdmiralBu@pool-71-99-141-240.tampfl.fios.verizon.net] has quit [Quit: jagaj] 15:06:39 antgreen [~green@dsl-173-206-105-245.tor.primus.ca] has joined #lisp 15:10:11 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 15:11:55 -!- spion [~spion@unaffiliated/spion] has quit [Ping timeout: 246 seconds] 15:12:25 -!- lduros [~user@fsf/member/lduros] has quit [Remote host closed the connection] 15:13:08 Z_Mass [~zmassia@bas1-cornwall24-1279267682.dsl.bell.ca] has joined #lisp 15:17:36 http://paste.lisp.org/display/137942 15:24:30 -!- jerryzhou [~jerryzhou@58.245.253.218] has quit [Quit: Leaving] 15:25:22 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 256 seconds] 15:25:29 -!- knob [~knob@adsl-64-237-237-155.prtc.net] has quit [Ping timeout: 268 seconds] 15:25:44 knob3212 [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 15:30:12 -!- nuba_ is now known as nuba 15:30:24 codeburg [~folker@85.183.24.157] has joined #lisp 15:33:48 przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has joined #lisp 15:36:51 nbouscal [~nbouscal@c-67-168-113-48.hsd1.wa.comcast.net] has joined #lisp 15:37:12 -!- mathrick [~mathrick@85.218.134.11] has quit [Ping timeout: 268 seconds] 15:37:18 -!- ehu [~ehu@ip167-22-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 264 seconds] 15:37:21 -!- Z_Mass [~zmassia@bas1-cornwall24-1279267682.dsl.bell.ca] has quit [Ping timeout: 264 seconds] 15:37:41 leusis [~leusis@h69-130-16-111.nwlnnh.broadband.dynamic.tds.net] has joined #lisp 15:38:07 statl [~statl@dslb-094-218-015-222.pools.arcor-ip.net] has joined #lisp 15:38:49 -!- przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has quit [Ping timeout: 276 seconds] 15:42:30 ayeaye92 [~user@dsl-173-206-68-24.tor.primus.ca] has joined #lisp 15:44:50 <|3b|> b1gb0b: not sure what you are trying to do.. either declare END to be either NIL or unsigned-byte 32, or initialize it to an unsigned-byte 32 15:45:38 <|3b|> b1gb0b: and (loop for i of-type (unsigned-byte 32) ...) 15:45:40 irus [~irus@112.145.76.2] has joined #lisp 15:47:57 <|3b|> and you probably don't need THE there, it may prevent your compiler from catching errors, and probably won't affect speed much 15:48:27 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 15:49:03 BitPuffin [~quassel@m5-243-226-147.cust.tele2.se] has joined #lisp 15:49:24 mathrick [~mathrick@85.218.134.11] has joined #lisp 15:50:12 |3b|: but if end is 0, then it will be (subseq ... ... 0) which is not good for me, because if I do (log-show) it won't show anything... because end is 0, not nil, do you see my problem? 15:50:39 <|3b|> so use NIL? 15:51:06 <|3b|> or use some unsigned-byte other than 0? 15:51:09 and if it is nil, I can't declare it like I declare start 15:51:12 mutila [~mutila@c-24-5-148-31.hsd1.ca.comcast.net] has joined #lisp 15:51:26 <|3b|> right, but cause it is an unsigned-byte 32 or nil 15:51:34 <|3b|> so declare it (or NIL (unsigned-byte 32)) 15:52:05 <|3b|> not that that will provide much benefit, and may not even be right to start with 15:52:06 why does the type of END matter? The only thing you do with it is cons up a new sublist. 15:52:29 *|3b|* doesn't know how likely you are to have more than 2^32 items in your DB, but it isn't impossible on modern computers 15:52:57 Quadrescence [~quad@unaffiliated/quadrescence] has joined #lisp 15:52:57 ok what do you guys suggest 15:53:01 <|3b|> yeah, declaring types in that function seems a bit silly in general 15:53:34 <|3b|> without context, suggestion is get rid of the DECLARE and THE 15:53:41 -!- knob3212 [~knob@adsl-64-237-237-155.prtc.net] has quit [Ping timeout: 248 seconds] 15:54:18 and just ignore "The first argument is a NUMBER, not a FLOAT.", etc? 15:54:26 arubin [~arubin@99-114-192-172.lightspeed.cicril.sbcglobal.net] has joined #lisp 15:54:50 <|3b|> don't compile with SPEED 3 for things that don't need to be fast? 15:55:04 <|3b|> (and that have major algorithmic speed problems anyway) 15:55:07 knob3212 [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 15:56:07 TheNegativeOne [~TheNegati@46.165.251.69] has joined #lisp 15:56:54 -!- irus [~irus@112.145.76.2] has quit [Quit: Leaving] 15:57:05 ok 15:58:21 -!- TheNegativeOne [~TheNegati@46.165.251.69] has left #lisp 15:59:52 -!- codeburg [~folker@85.183.24.157] has quit [Quit: This computer has gone to sleep] 16:04:27 -!- yati_ [~yati@122.169.89.139] has quit [Ping timeout: 256 seconds] 16:05:17 yati_ [~yati@122.169.68.230] has joined #lisp 16:09:52 ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has joined #lisp 16:10:57 -!- AeroNotix [~xeno@abom88.neoplus.adsl.tpnet.pl] has quit [Ping timeout: 264 seconds] 16:12:13 Z_Mass [~zmassia@bas1-cornwall24-1279267682.dsl.bell.ca] has joined #lisp 16:14:33 -!- ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 264 seconds] 16:14:38 are there any useful websites on SBCL and optimization? 16:16:28 Hi, I got a large speed improvement from this diff and think I've misunderstood why: https://github.com/redline6561/cl-6502/commit/6401f98f5b4257adf1cc3a289f1edf72c08e9782#diff-1 16:17:21 Is the funcall/apply distinction important or is it the elimination of destructuring-bind? 16:17:30 -!- knob3212 [~knob@adsl-64-237-237-155.prtc.net] has quit [Ping timeout: 264 seconds] 16:17:35 destructuring is not free 16:17:41 estebistec [~estebiste@72.133.228.205] has joined #lisp 16:18:01 -!- statl [~statl@dslb-094-218-015-222.pools.arcor-ip.net] has quit [Quit: Lost terminal] 16:18:06 Well, nothing is *free* :) 16:18:31 knob3212 [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 16:19:04 Thanks stassats. 16:19:17 -!- morphling [~stefan@gssn-4d00369b.pool.mediaWays.net] has quit [Quit: Konversation terminated!] 16:20:41 trying to test multiple args into string= ... (string= (or ("rd" "food")) "food") 16:20:43 hammond [~abner@unaffiliated/portrait] has joined #lisp 16:20:44 am i close? 16:20:50 (yeah im utter n00b) 16:20:52 hi 16:21:03 is this where zolk3ri's hang out? 16:21:08 hammond: no 16:21:09 Guest14085: that's not how or, or strings work. 16:22:00 ok so i would have to do multiple ORs to test 16:22:02 Guest14085: you might want regular expressions for that. see cl-ppcre 16:22:09 Or multiple ORs, yes. 16:22:21 thanks 16:24:22 mike4_ [~mike4_@gateway/tor-sasl/mike4/x-38362156] has joined #lisp 16:25:37 -!- poppingtonic [~poppingto@212.49.88.100] has quit [Ping timeout: 276 seconds] 16:26:55 -!- mutila [~mutila@c-24-5-148-31.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 16:28:21 -!- knob3212 [~knob@adsl-64-237-237-155.prtc.net] has quit [Ping timeout: 264 seconds] 16:29:43 knob5312 [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 16:29:48 nug700 [~nug700@174-26-159-207.phnx.qwest.net] has joined #lisp 16:30:29 -!- mike4_ [~mike4_@gateway/tor-sasl/mike4/x-38362156] has quit [Ping timeout: 240 seconds] 16:37:30 bhyde [~bhyde@198.199.88.224] has joined #lisp 16:38:34 mike4_ [~mike4_@gateway/tor-sasl/mike4/x-38362156] has joined #lisp 16:39:27 -!- mike4_ [~mike4_@gateway/tor-sasl/mike4/x-38362156] has quit [Max SendQ exceeded] 16:40:06 -!- ksinkar [~ksinkar@1.23.150.176] has quit [Ping timeout: 268 seconds] 16:41:42 gendl [~gendl@c-98-250-10-50.hsd1.mi.comcast.net] has joined #lisp 16:42:35 Gruu [~Gruu@91.240.66.29] has joined #lisp 16:42:45 -!- Gruu [~Gruu@91.240.66.29] has quit [Read error: Connection reset by peer] 16:43:24 poppingtonic [~poppingto@212.49.88.111] has joined #lisp 16:43:31 AlbertAq [~oximz@vk-195.222.36-86.bih.net.ba] has joined #lisp 16:43:45 AlbertwM [~gcw@vk-195.222.36-86.bih.net.ba] has joined #lisp 16:44:01 -!- AlbertwM [~gcw@vk-195.222.36-86.bih.net.ba] has left #lisp 16:45:42 Quadresce_ [~quad@unaffiliated/quadrescence] has joined #lisp 16:46:00 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Disconnected by services] 16:46:18 -!- Quadresce_ is now known as Quadrescence 16:46:53 -!- Bike [~Glossina@71-214-87-180.ptld.qwest.net] has quit [Ping timeout: 268 seconds] 16:47:16 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:16 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:18 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:18 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:20 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:20 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:22 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:22 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:24 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:24 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:26 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:26 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:28 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:28 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:30 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:30 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:32 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:32 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:34 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:34 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:35 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!xvnmyya fovx ij bypo kwg k yiudy 16:47:35 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!oups mylqoyp ijonw e qc a jtbouc gwxojisg 16:47:36 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:37 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:37 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!jssxtmnuo nwoq kgurixs vuuw tiw adqoo cpydpkjpuj 16:47:37 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!rmevimjn vxanntf qo hh nrentet zurgluu qinhr 16:47:38 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:38 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!! 16:47:39 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!ptkhnfuch wifwuadi a 16:47:40 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!wbk jkaoanmxa u g qikrdto ksdz onxrz cbrnsohke 16:47:41 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!o txlypjyc kvcb fr h fdn 16:47:41 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!l gjosd yiqvuii 16:47:43 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!wpks lwe vrasvdxo mpzoe ugzy sugbfaugxh 16:47:44 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!wsxgklwowx v ktt eoxitrlwfp rnjx piuto cxp 16:47:45 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!zvuutqno jksxdom lhqwc x vqbn oesvovzuq kojcjv 16:47:45 CAUTION: zolk3ri has HIV, CODE RED: zolk3ri has the STD called HIV, proceede with caution zolk3ri is infected with HIV AIDS. ALERT ALERT!!jvj nkvot 16:47:47 -!- AlbertAq [~oximz@vk-195.222.36-86.bih.net.ba] has left #lisp 16:48:39 Bike [~Glossina@71-214-87-180.ptld.qwest.net] has joined #lisp 16:49:40 marienz [~marienz@freenode/staff/marienz] has joined #lisp 16:50:13 -!- marienz [~marienz@freenode/staff/marienz] has left #lisp 16:55:00 inkjetunito [~hf999@unaffiliated/inkjetunit] has joined #lisp 16:55:31 -!- knob5312 [~knob@adsl-64-237-237-155.prtc.net] has quit [Ping timeout: 276 seconds] 16:56:01 knob5312 [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 16:58:51 -!- gendl [~gendl@c-98-250-10-50.hsd1.mi.comcast.net] has quit [Ping timeout: 256 seconds] 16:59:07 -!- Watcher7|off is now known as Watcher7 17:00:46 -!- b1gb0b [~gOjunUp@59.49.30.235] has quit [Quit: Lost terminal] 17:01:01 gendl [~gendl@c-98-250-10-50.hsd1.mi.comcast.net] has joined #lisp 17:02:51 I'm stumped: how do I call a macro from within a function? It will not evaluate its parameters, so there is no way to pass anything to it except the actual textual representation of what's in the source code. Am I doing something horribly wrong? 17:02:56 leo2007 [~leo@182.48.101.29] has joined #lisp 17:03:05 no, that's what macros are for. 17:03:08 what are you trying to do? 17:03:52 seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has joined #lisp 17:04:13 I want to implement a syntax for keyword-like things (instead of :keyword, say, :keyword/aa/bb/cc/dd) and I want to return the macroexpansion of that to setf 17:04:19 drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has joined #lisp 17:04:59 I don't understand. 17:05:06 -!- knob5312 [~knob@adsl-64-237-237-155.prtc.net] has quit [Ping timeout: 256 seconds] 17:05:34 knob5312 [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 17:05:37 Bike: I have a plist, like (:a 1 :b (aa: 11 :bb 22)) 17:05:54 I want to do something like (getf plist :a/aa) and get 11 17:05:58 Thra11 [~Thra11@146.90.165.193] has joined #lisp 17:06:03 and also be able to set it with setf 17:06:25 well, you'll be writing your own getf, rather than using the standard one, correct? 17:06:29 where do macros come into play here? 17:06:31 so where's the macro cme in? 17:06:40 -!- knob5312 [~knob@adsl-64-237-237-155.prtc.net] has quit [Max SendQ exceeded] 17:07:23 the macro is going to return (getf (getf plist) :b) :bb) in exchange for :b/bb 17:07:50 knob5312 [~knob@adsl-64-237-237-155.prtc.net] has joined #lisp 17:08:31 sorry: it's actually ":b/aa and get 11" up there 17:08:59 what do you need a macro for, you can write a function that does this. 17:10:03 Bike: I though it wouldn't be necessary to write my own getf and (god forbid) setf. My idea is to have a macro whose macroexpansion is what I just wrote for that "extended" keyword notation with slashes. I have it to the point that it works from the REPL. 17:10:36 that sounds like a very bad idea. 17:10:54 codd64: you only have to write your own setf function. 17:11:11 or setf expander, depending on the semantics you want when keys are missing 17:11:32 Bike: why? 17:12:07 -!- wbooze [~wbooze@xdsl-78-35-188-80.netcologne.de] has quit [Read error: Connection reset by peer] 17:12:31 because it gives rise to the problem you started by asking about? 17:12:34 problems 17:12:47 Well, apart from that :) 17:13:06 you can't (apply #'some-macro list), etc 17:13:12 macros are for syntax. 17:13:13 I thought that it might be easy now that it seems to be almost working 17:15:24 so macros are for syntax, ok, so how do I go about this? 17:15:32 write a function? 17:15:46 -!- estebistec [~estebiste@72.133.228.205] has quit [Remote host closed the connection] 17:15:47 the function cannot be passed to setf 17:16:12 yes it can. 17:16:28 setf doesn't work like you think it does. look up setf expanders. 17:16:33 -!- drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has quit [Remote host closed the connection] 17:17:17 I will. Thanks, pkhuong / Bike 17:18:36 drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has joined #lisp 17:21:40 ejbs [~user@h-198-214.a176.priv.bahnhof.se] has joined #lisp 17:24:30 -!- BitPuffin [~quassel@m5-243-226-147.cust.tele2.se] has quit [Ping timeout: 268 seconds] 17:28:12 -!- knob5312 [~knob@adsl-64-237-237-155.prtc.net] has quit [Ping timeout: 268 seconds] 17:35:08 doomlord [~doomlod@host86-145-105-238.range86-145.btcentralplus.com] has joined #lisp 17:36:34 statl [~statl@dslb-094-218-018-025.pools.arcor-ip.net] has joined #lisp 17:41:29 ericmathison [~ericmathi@172-15-249-133.lightspeed.irvnca.sbcglobal.net] has joined #lisp 17:45:44 fortitude [~mts@cpe-74-78-176-106.twcny.res.rr.com] has joined #lisp 17:45:53 -!- fortitude [~mts@cpe-74-78-176-106.twcny.res.rr.com] has quit [Client Quit] 17:46:33 fortitude [~mts@cpe-74-78-176-106.twcny.res.rr.com] has joined #lisp 17:49:37 wbooze [~wbooze@xdsl-78-35-188-80.netcologne.de] has joined #lisp 17:53:00 szkrabik [~szkrabik@37.31.239.144.nat.umts.dynamic.t-mobile.pl] has joined #lisp 17:53:01 mutila [~mutila@c-24-5-148-31.hsd1.ca.comcast.net] has joined #lisp 17:54:42 -!- nbouscal [~nbouscal@c-67-168-113-48.hsd1.wa.comcast.net] has quit [Quit: Computer has commenced electric sheep tracking protocol.] 17:55:14 -!- bhyde [~bhyde@198.199.88.224] has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0] 17:56:29 nbouscal [~nbouscal@c-67-168-113-48.hsd1.wa.comcast.net] has joined #lisp 17:56:37 jrajav [~jrajav@71-82-124-223.dhcp.roch.mn.charter.com] has joined #lisp 17:56:38 -!- hammond [~abner@unaffiliated/portrait] has left #lisp 17:58:31 fantazo [~fantazo@213.129.230.10] has joined #lisp 18:01:30 -!- yacks [~py@180.151.36.168] has quit [Ping timeout: 268 seconds] 18:02:08 hwiersma2 [~hwiersma@S0106001c10341a19.vc.shawcable.net] has joined #lisp 18:03:46 -!- hwiersma [~hwiersma@S0106001c10341a19.vc.shawcable.net] has quit [Ping timeout: 276 seconds] 18:04:09 -!- szkrabik [~szkrabik@37.31.239.144.nat.umts.dynamic.t-mobile.pl] has quit [Remote host closed the connection] 18:04:51 francis_wolke [62cf9ba1@gateway/web/cgi-irc/kiwiirc.com/ip.98.207.155.161] has joined #lisp 18:06:06 inkjetunit [~hf999@unaffiliated/inkjetunit] has joined #lisp 18:06:45 -!- yati_ [~yati@122.169.68.230] has quit [Ping timeout: 264 seconds] 18:09:09 -!- inkjetunito [~hf999@unaffiliated/inkjetunit] has quit [Ping timeout: 248 seconds] 18:09:19 -!- inkjetunit is now known as inkjetunito 18:09:54 -!- francis_wolke [62cf9ba1@gateway/web/cgi-irc/kiwiirc.com/ip.98.207.155.161] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 18:16:35 -!- leusis [~leusis@h69-130-16-111.nwlnnh.broadband.dynamic.tds.net] has quit [Quit: Leaving] 18:17:39 'flet' is an obsolete macro (as of 24.3); use either 'cl-flet' or 'cl-letf' -- coming from quicklisp-slime-helper from June quicklisp - is this expected, or am I doing something wrong? 18:18:03 don't pay attention 18:18:42 gendl: I'm guessing it'll be updated to cl-flet once 24.3 dominates the emacs space. 18:20:06 yacks [~py@180.151.36.168] has joined #lisp 18:20:11 jeremyheiler [~jeremyhei@229.sub-70-215-2.myvzw.com] has joined #lisp 18:21:06 -!- hwiersma2 [~hwiersma@S0106001c10341a19.vc.shawcable.net] has quit [Ping timeout: 264 seconds] 18:22:59 jtza8 [~jtza8@105-236-77-150.access.mtnbusiness.co.za] has joined #lisp 18:28:49 hwiersma [~hwiersma@S0106001c10341a19.vc.shawcable.net] has joined #lisp 18:28:53 bondar [~rukugu@197.156.132.62] has joined #lisp 18:30:06 -!- doomlord [~doomlod@host86-145-105-238.range86-145.btcentralplus.com] has quit [Ping timeout: 256 seconds] 18:31:26 -!- jeremyheiler [~jeremyhei@229.sub-70-215-2.myvzw.com] has quit [Quit: Textual IRC Client: www.textualapp.com] 18:35:46 -!- ASau [~user@p5797FE22.dip0.t-ipconnect.de] has quit [Ping timeout: 256 seconds] 18:36:05 ski [~md9slj@ce-pc46.ce.chalmers.se] has joined #lisp 18:38:30 -!- hwiersma [~hwiersma@S0106001c10341a19.vc.shawcable.net] has quit [Ping timeout: 268 seconds] 18:38:35 ASau [~user@p5797E3C6.dip0.t-ipconnect.de] has joined #lisp 18:39:01 -!- Joreji [~thomas@145-017.eduroam.rwth-aachen.de] has quit [Ping timeout: 248 seconds] 18:40:21 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Ping timeout: 268 seconds] 18:40:56 ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has joined #lisp 18:44:25 kushal [~kdas@fedora/kushal] has joined #lisp 18:45:48 Quadrescence [~quad@unaffiliated/quadrescence] has joined #lisp 18:46:54 -!- jfe [~jfe@ool-18bfe75c.dyn.optonline.net] has quit [Ping timeout: 264 seconds] 18:49:39 AeroNotix [~xeno@abom88.neoplus.adsl.tpnet.pl] has joined #lisp 18:51:57 -!- ryankarason [~rak@108-245-58-182.lightspeed.clmboh.sbcglobal.net] has quit [Quit: leaving] 18:59:30 -!- Z_Mass [~zmassia@bas1-cornwall24-1279267682.dsl.bell.ca] has quit [Ping timeout: 264 seconds] 18:59:55 jfe [~jfe@ool-18bfe75c.dyn.optonline.net] has joined #lisp 19:02:36 -!- namtsui [~user@c-76-102-34-148.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 19:12:58 -!- drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has quit [Read error: Connection reset by peer] 19:14:07 drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has joined #lisp 19:16:54 -!- jfe [~jfe@ool-18bfe75c.dyn.optonline.net] has quit [Ping timeout: 264 seconds] 19:17:00 fisxoj [~fisxoj@c-24-12-190-29.hsd1.il.comcast.net] has joined #lisp 19:22:06 jfe [~jfe@ool-18bfe75c.dyn.optonline.net] has joined #lisp 19:23:14 Joreji [~thomas@145-017.eduroam.rwth-aachen.de] has joined #lisp 19:29:22 -!- drmeister [~drmeister@S010610ddb1c81950.vf.shawcable.net] has quit [Remote host closed the connection] 19:36:31 jeremyheiler [~jeremyhei@cpe-69-207-59-129.buffalo.res.rr.com] has joined #lisp 19:36:37 boycottgoogle [~user@stgt-5f7189ee.pool.mediaWays.net] has joined #lisp 19:37:54 -!- Bike [~Glossina@71-214-87-180.ptld.qwest.net] has quit [Ping timeout: 264 seconds] 19:38:15 doomlord [~doomlod@host86-145-105-238.range86-145.btcentralplus.com] has joined #lisp 19:42:09 xificurC [~xificurC@adsl-dyn121.78-99-138.t-com.sk] has joined #lisp 19:44:47 ffilozov [~user@168.Red-88-9-107.dynamicIP.rima-tde.net] has joined #lisp 19:47:33 is there a way to programmatically tell if a function returns multiple values? 19:47:47 dstatyvka [ejabberd@pepelaz.jabber.od.ua] has joined #lisp 19:48:24 xificurC: you can tell how many values were returned. 19:48:57 without calling the function, I don't think it is possible 19:50:01 xificurC: you'll get better advice if you give more context, e.g. why you want that information. 19:52:23 pkhuong, basically I'm just playing around with some thoughts and one of them was to create a macro that would do all the usual bindings 19:53:10 since it's easy to decide on the context whether you want to use a let, labels or destructuring bind it's not that hard to write such a macro 19:53:51 but from something like (a b) (something) you cannot tell whether the user would want (multiple-value-bind (a b) (something)) or (destructuring-bind (a b) (something)) 19:54:19 <|3b|> can't tell that even if you know (something) returns 2 values 19:54:34 minion: metabang-bind 19:54:34 metabang-bind: No definition was found in the first 5 lines of http://www.cliki.net/metabang-bind 19:54:37 <|3b|> would have to also know first value isn't a list 19:54:54 |3b|, didnt even tink about that :) 19:54:54 brb 19:55:28 <|3b|> or maybe it returns 1 value and you want B bound to NIL (and want maintainers to hate you :) 19:55:58 or maybe it sometimes returns 1 value, and sometimes multiple values 19:56:39 <|3b|> or more plausibly, you aren't sure how many it returns, but want it to behave consistently regardless of whether the macro knows more about it than you do 19:56:53 -!- kushal [~kdas@fedora/kushal] has quit [Quit: Leaving] 20:00:42 -!- theBlackDragon [~dragon@213.211.143.23] has quit [Ping timeout: 264 seconds] 20:01:53 theBlackDragon [~dragon@213.211.143.23] has joined #lisp 20:04:00 -!- fisxoj [~fisxoj@c-24-12-190-29.hsd1.il.comcast.net] has quit [Quit: Ex-Chat] 20:04:46 bobu [~bobu@AMontsouris-552-1-123-176.w92-140.abo.wanadoo.fr] has joined #lisp 20:05:36 so yeah, i'm not the first one to come up with this: http://www.cliki.net/bind 20:05:48 i even used the same name in my lisp file 20:05:57 masondesu [~textual@adsl-74-177-77-144.gsp.bellsouth.net] has joined #lisp 20:06:23 the bottom of the page provides a nice idea on how to solve multiple value binding 20:07:08 -!- nicdev` is now known as nicdev 20:07:55 -!- theBlackDragon [~dragon@213.211.143.23] has quit [Ping timeout: 276 seconds] 20:08:05 -!- masondesu [~textual@adsl-74-177-77-144.gsp.bellsouth.net] has quit [Client Quit] 20:08:19 theBlackDragon [~dragon@213.211.143.23] has joined #lisp 20:08:26 masondesu [~textual@adsl-74-177-77-144.gsp.bellsouth.net] has joined #lisp 20:10:20 dsevilla [~user@178.139.65.235] has joined #lisp 20:10:57 -!- ffilozov [~user@168.Red-88-9-107.dynamicIP.rima-tde.net] has quit [Ping timeout: 256 seconds] 20:15:30 kpreid [~kpreid@50-196-148-102-static.hfc.comcastbusiness.net] has joined #lisp 20:17:09 -!- Thra11 [~Thra11@146.90.165.193] has quit [Ping timeout: 248 seconds] 20:24:06 -!- nicdev [user@2600:3c03::f03c:91ff:fedf:4986] has quit [Remote host closed the connection] 20:24:27 nicdev [user@2600:3c03::f03c:91ff:fedf:4986] has joined #lisp 20:26:44 -!- xificurC [~xificurC@adsl-dyn121.78-99-138.t-com.sk] has quit [Quit: Leaving] 20:27:37 -!- wbooze [~wbooze@xdsl-78-35-188-80.netcologne.de] has quit [Quit: none] 20:29:17 -!- copec [copec@schrodbox.unaen.org] has quit [Read error: Operation timed out] 20:29:33 copec [copec@schrodbox.unaen.org] has joined #lisp 20:29:34 -!- copec [copec@schrodbox.unaen.org] has quit [Excess Flood] 20:30:03 copec [copec@schrodbox.unaen.org] has joined #lisp 20:30:05 wbooze [~wbooze@xdsl-78-35-188-80.netcologne.de] has joined #lisp 20:31:08 -!- cdidd [~cdidd@176.14.200.244] has quit [Read error: Connection reset by peer] 20:32:57 cdidd [~cdidd@95-27-143-170.broadband.corbina.ru] has joined #lisp 20:34:04 skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has joined #lisp 20:35:40 -!- AeroNotix [~xeno@abom88.neoplus.adsl.tpnet.pl] has quit [Ping timeout: 268 seconds] 20:40:38 tyrick [~tyrick@c-50-143-173-244.hsd1.ca.comcast.net] has joined #lisp 20:45:06 -!- mishoo [~mishoo@93.113.190.121] has quit [Ping timeout: 264 seconds] 20:47:20 jerryzhou [~jerryzhou@58.245.253.218] has joined #lisp 20:48:30 weie_ [~eie@softbank221078042071.bbtec.net] has joined #lisp 20:50:30 -!- weie [~eie@softbank221078042071.bbtec.net] has quit [Ping timeout: 264 seconds] 20:50:56 AeroNotix [~xeno@abnz66.neoplus.adsl.tpnet.pl] has joined #lisp 20:52:53 -!- boycottgoogle [~user@stgt-5f7189ee.pool.mediaWays.net] has quit [Remote host closed the connection] 20:56:39 -!- cdidd [~cdidd@95-27-143-170.broadband.corbina.ru] has quit [Quit: Leaving] 20:57:08 -!- jerryzhou [~jerryzhou@58.245.253.218] has quit [Quit: Leaving] 21:03:48 p_nathan [~vlion@174-21-140-82.tukw.qwest.net] has joined #lisp 21:07:01 -!- ejbs [~user@h-198-214.a176.priv.bahnhof.se] has quit [Remote host closed the connection] 21:07:04 -!- masondesu [~textual@adsl-74-177-77-144.gsp.bellsouth.net] has quit [Quit: Computer has gone to sleep.] 21:09:57 cdidd [~cdidd@95-26-211-166.broadband.corbina.ru] has joined #lisp 21:10:40 s0ber_ [~s0ber@114-36-250-70.dynamic.hinet.net] has joined #lisp 21:11:47 -!- inkjetunito [~hf999@unaffiliated/inkjetunit] has quit [Quit: qQQe] 21:12:25 -!- s0ber [~s0ber@114-36-247-174.dynamic.hinet.net] has quit [Ping timeout: 246 seconds] 21:12:41 -!- s0ber_ is now known as s0ber 21:12:57 przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has joined #lisp 21:14:14 -!- Watcher7 is now known as Watcher7|off 21:14:19 -!- skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has quit [Remote host closed the connection] 21:18:54 -!- statl [~statl@dslb-094-218-018-025.pools.arcor-ip.net] has quit [Quit: Lost terminal] 21:19:34 Z_Mass [~zmassia@bas1-cornwall24-1279267682.dsl.bell.ca] has joined #lisp 21:20:13 zRecursive [~czsq888@220.166.237.57] has joined #lisp 21:28:01 skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has joined #lisp 21:28:59 walter [~walter@174.124.64.172] has joined #lisp 21:31:34 inkjetunito [~hf999@unaffiliated/inkjetunit] has joined #lisp 21:31:54 -!- walter [~walter@174.124.64.172] has quit [Client Quit] 21:32:34 lduros [~user@fsf/member/lduros] has joined #lisp 21:32:47 -!- prxq [~mommer@mnhm-590c06d5.pool.mediaWays.net] has quit [Remote host closed the connection] 21:34:05 bitonic` [~user@ppp-93-137.27-151.libero.it] has joined #lisp 21:34:50 Beetny [~Beetny@ppp118-208-13-63.lns20.bne1.internode.on.net] has joined #lisp 21:35:01 -!- bitonic [~user@ppp-25-187.27-151.libero.it] has quit [Ping timeout: 248 seconds] 21:37:41 -!- przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has quit [Ping timeout: 248 seconds] 21:38:21 Thra11 [~Thra11@146.90.165.193] has joined #lisp 21:39:57 przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has joined #lisp 21:40:44 -!- dstatyvka [ejabberd@pepelaz.jabber.od.ua] has left #lisp 21:43:34 walter [~walter@174.124.64.172] has joined #lisp 21:45:57 -!- walter [~walter@174.124.64.172] has quit [Client Quit] 21:47:29 sdemarre [~serge@109.134.148.173] has joined #lisp 21:48:21 -!- Thra11 [~Thra11@146.90.165.193] has quit [Ping timeout: 248 seconds] 21:49:29 Bike [~Glossina@71-214-87-180.ptld.qwest.net] has joined #lisp 21:51:33 -!- przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has quit [Ping timeout: 248 seconds] 21:52:30 antonv_ [5d7d2a74@gateway/web/freenode/ip.93.125.42.116] has joined #lisp 21:52:40 przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has joined #lisp 21:53:27 -!- inkjetunito [~hf999@unaffiliated/inkjetunit] has quit [Quit: qQ] 21:55:30 BitPuffin [~quassel@m5-243-226-147.cust.tele2.se] has joined #lisp 22:00:30 b1gb0y [~tYbWQh@59.49.30.235] has joined #lisp 22:00:51 hello 22:03:51 hello b1gb0y 22:05:57 bjorkintosh [~bjork@ip68-13-229-200.ok.ok.cox.net] has joined #lisp 22:06:05 http://paste.lisp.org/display/137945 , what am i doing wrong? and why log-add is so slow? :( 22:07:20 what is supposed to happen, and what behavior are you seeing that doesn't match that. 22:08:12 -!- przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 22:08:29 it works but log-add is adding elements slowly, and.. what dont u like about my code? what would you have done differently? 22:08:44 <|3b|> writing things to strings for no obvious reason seems a bit odd 22:09:35 |3b|: if the list contains 10000 elements, it takes an hour to print it, and without write-to-string, i could not limit it (:length) 22:09:41 the return value 22:09:48 <|3b|> so don't print it? 22:09:49 przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has joined #lisp 22:10:15 when you push to a list that already contains 100000 then it will return those, and takes a lot of time 22:10:25 then return (values) or something instead. 22:10:26 <|3b|> returning a list is fast 22:10:30 b1gb0y: *print-length* 22:11:02 <|3b|> printing a huge list to a string you probably don't actually want is slow 22:11:30 -!- sdemarre [~serge@109.134.148.173] has quit [Ping timeout: 264 seconds] 22:11:35 -!- ericmathison [~ericmathi@172-15-249-133.lightspeed.irvnca.sbcglobal.net] has quit [Quit: leaving] 22:11:57 b1gb0y: is there a reason you're using &optional &key instead of just &key (and initializing key args to nil intead of using the default)? 22:11:58 -!- jeremyheiler [~jeremyhei@cpe-69-207-59-129.buffalo.res.rr.com] has quit [Quit: Computer has gone to sleep.] 22:13:21 -!- mutila [~mutila@c-24-5-148-31.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds] 22:13:33 <|3b|> creating a REVERSEd copy of a list just to get the nth element from the end seems a bit wasteful 22:13:52 <|3b|> (at least i assume that is what it is trying to do) 22:14:05 <|3b|> particularly when you already made the effort to calculate the length of the list 22:14:29 -!- yacks [~py@180.151.36.168] has quit [Ping timeout: 248 seconds] 22:15:05 -!- Z_Mass [~zmassia@bas1-cornwall24-1279267682.dsl.bell.ca] has quit [Quit: Leaving] 22:15:07 <|3b|> :test (constantly t) seems a bit odd too 22:15:28 |3b|: how should i do it then 22:15:38 <|3b|> and instead of IF with only 1 branch, use WHEN or UNLESS 22:15:53 -!- stepnem [~stepnem@internet2.cznet.cz] has quit [Quit: ZNC - http://znc.sourceforge.net] 22:16:07 <|3b|> do which part, finding Nth from the end? save the length and subtract N? 22:17:30 <|3b|> also, time needed to calculate length of a list is proportional to the length of the list, so might want to save it rather than recalculating it in log-nth-update 22:18:40 <|3b|> also, for long-lived data like *log-db* sounds like it might be, you might want to define it with DEFVAR instead of DEFPARAMETER, since DEFVAR doesn't reinitialize it if it already exists 22:19:20 <|3b|> so for example if you have a bunch of data stored in *log-db* and reload the file, DEFPARAMETER would reset it to NIL, but DEFVAR wouldn't 22:19:41 what do you mean by save it? 22:20:33 <|3b|> (let ((length (length *log-db*))) ... (use length) ...) 22:22:09 *|3b|* would also use length rather than list-length, since i assume your DB shouldn't be a circular list (and you assume list-length returns a number, so your code wouldn't handle a circular list anyway) 22:23:01 -!- fantazo [~fantazo@213.129.230.10] has quit [Ping timeout: 248 seconds] 22:23:36 *|3b|* supposes LENGTH would be a bad name for that variable since you are already using it though 22:24:57 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 22:25:42 (not (> n (list-length *log-db*))) <=> (<= n (length *log-db*)) 22:26:12 -!- _d3f [~gnu@50.7.242.122] has quit [Quit: WeeChat 0.4.1] 22:26:52 _d3f [~gnu@94.242.252.66] has joined #lisp 22:26:56 The problem with log-nth-delete is that it reverses *log-db* only once! 22:27:33 It would be better to start by writing down the specifications for the wanted log system 22:28:21 -!- przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has quit [Ping timeout: 248 seconds] 22:30:48 *|3b|* isn't sure where else you would reverse it, since it wouldn't change the length, can't be setf, and reversing it before or after deleting would leave it in the wrong order 22:31:06 -!- nug700 [~nug700@174-26-159-207.phnx.qwest.net] has quit [Quit: bye] 22:31:23 <|3b|> unless you reverse it twice for no reason, and not doing that doesn't seem like much of a problem 22:33:30 (let ((cdr (nthcdr (1- n) list))) (setf (cdr cdr) (cddr cdr)) list)? 22:34:31 *|3b|* would probably use POP there 22:34:35 |3b|: ah right, I misread it. 22:36:52 -!- nbouscal [~nbouscal@c-67-168-113-48.hsd1.wa.comcast.net] has quit [Quit: Computer has commenced electric sheep tracking protocol.] 22:44:00 -!- Codynyx [~cody@c-75-72-187-16.hsd1.mn.comcast.net] has quit [Read error: Connection reset by peer] 22:44:45 Codynyx [~cody@c-75-72-187-16.hsd1.mn.comcast.net] has joined #lisp 22:46:01 -!- bobu [~bobu@AMontsouris-552-1-123-176.w92-140.abo.wanadoo.fr] has quit [Remote host closed the connection] 22:46:24 -!- ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 268 seconds] 22:54:49 nug700_ [u174125@174-26-159-207.phnx.qwest.net] has joined #lisp 22:56:03 -!- nug700_ is now known as nug700 22:58:21 -!- agumonkey [~agu@156.217.72.86.rev.sfr.net] has quit [Ping timeout: 264 seconds] 22:59:40 davazp [~user@187.Red-88-8-246.dynamicIP.rima-tde.net] has joined #lisp 23:00:23 -!- dsevilla [~user@178.139.65.235] has quit [Remote host closed the connection] 23:03:42 irus [~irus@112.145.76.2] has joined #lisp 23:08:35 jeremyheiler [~jeremyhei@cpe-69-207-59-129.buffalo.res.rr.com] has joined #lisp 23:09:50 -!- killerboy [~mateusz@195.225.68.249] has quit [Quit: dobranoc / good night] 23:11:41 -!- bitonic` [~user@ppp-93-137.27-151.libero.it] has quit [Ping timeout: 268 seconds] 23:12:05 -!- leo2007 [~leo@182.48.101.29] has quit [Ping timeout: 248 seconds] 23:14:45 -!- wbooze [~wbooze@xdsl-78-35-188-80.netcologne.de] has quit [Ping timeout: 248 seconds] 23:19:58 petekaz [~user@99-99-189-187.lightspeed.rcsntx.sbcglobal.net] has joined #lisp 23:20:08 -!- jtza8 [~jtza8@105-236-77-150.access.mtnbusiness.co.za] has quit [Remote host closed the connection] 23:22:12 beaumonta [~abeaumont@98.Red-79-156-231.staticIP.rima-tde.net] has joined #lisp 23:22:17 james111111 [~james1111@173-26-0-118.client.mchsi.com] has joined #lisp 23:23:00 -!- jeremyheiler [~jeremyhei@cpe-69-207-59-129.buffalo.res.rr.com] has quit [Quit: Computer has gone to sleep.] 23:25:31 -!- abeaumont [~abeaumont@98.Red-79-156-231.staticIP.rima-tde.net] has quit [Ping timeout: 276 seconds] 23:25:32 -!- james111111 [~james1111@173-26-0-118.client.mchsi.com] has quit [Read error: Connection reset by peer] 23:26:40 -!- ph88 [5597cc14@gateway/web/freenode/ip.85.151.204.20] has quit [Quit: Page closed] 23:27:22 -!- antonv_ [5d7d2a74@gateway/web/freenode/ip.93.125.42.116] has quit [Quit: Page closed] 23:27:45 -!- Joreji [~thomas@145-017.eduroam.rwth-aachen.de] has quit [Ping timeout: 264 seconds] 23:31:01 azathoth99 [~g@cpe-75-83-12-120.socal.res.rr.com] has joined #lisp 23:31:24 -!- azathoth99 [~g@cpe-75-83-12-120.socal.res.rr.com] has left #lisp 23:33:50 -!- pierpa [~user@host204-228-dynamic.51-79-r.retail.telecomitalia.it] has quit [Ping timeout: 256 seconds] 23:34:51 przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has joined #lisp 23:35:21 skeptomai [~cb@c-76-22-58-159.hsd1.wa.comcast.net] has joined #lisp 23:36:02 -!- skeptomai [~cb@c-76-22-58-159.hsd1.wa.comcast.net] has left #lisp 23:38:49 mutila [~mutila@c-24-5-148-31.hsd1.ca.comcast.net] has joined #lisp 23:39:17 -!- przl [~przlrkt@p5B29816C.dip0.t-ipconnect.de] has quit [Ping timeout: 248 seconds] 23:41:12 -!- lduros [~user@fsf/member/lduros] has quit [Remote host closed the connection] 23:49:57 -!- seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds] 23:51:13 agumonkey [~agu@156.217.72.86.rev.sfr.net] has joined #lisp 23:51:32 wbooze [~wbooze@xdsl-84-44-208-217.netcologne.de] has joined #lisp 23:55:27 -!- tyrick [~tyrick@c-50-143-173-244.hsd1.ca.comcast.net] has quit [Quit: Leaving] 23:56:47 -!- foreignFunction [~niksaak@ip-4761.sunline.net.ua] has quit [Quit: Leaving.] 23:56:58 foreignFunction [~niksaak@ip-4761.sunline.net.ua] has joined #lisp