11:44:00 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #lisp 11:44:00 11:44:00 -!- names: ccl-logbot saschakb huangjs feliped herbieB les tvaalen_ aoh_ enn_ joachifm_ billitch_ hiredman_ paraboli1e r126f_ Axioplas1_ tali713 Yuuhi`` pirateking-_- rpgsimmaster_ Xach_ Utkarsh_ chr` stassats` nialo- specbot ramkrsna hugoduncan Quadresce echo-area Posterdati mikaelj nefo kilon Joreji shifty gravicappa ignas peterhil am0c saschakb_ tak` jasox hlavaty TimKack manahino jtza8 truman33 tomodo iocor abbe Houl harish BlankVerse jcazevedo iLogical benny 11:44:00 -!- names: teggi mcsontos treyka Kron_ schoppenhauer keltvek Pupeno_W Ragnaroek nipra BrianRice alanpearce Siphonblast stlifey_ Beetny insomniaSalt gaidal ahinki jdz xan_ ivan-kanis mishoo ubii varjag jjkola_work dropster cymew mvilleneuve comatos__ EyesIsMine jaxtr hkBst two- mrSpec guyal angavrilov ski_ LAMMJohnson billstclair loke chu asvil MoALTz scharan __class__ lemoinem pnathan bobbysmith007 cyb3r3li0g kennyd ace4016 cyphase Ralith mutley89 TDJACR Jasko 11:44:00 -!- names: sshirokov nicdev_ dlowe renard_ Kwucks wccoder AntiSpamMeta Kenjin flip214 ezakimak robot-beethoven fe[nl]ix sykopomp fukushima Vivitron tessier DaDaDOSPrompt Euthydemus minion sellout sammi` blackwol` Munksgaard Guest71614 zxq9 bzzbzz_ chenbing prip Yamazaki-kun sysfault gilez alvis karswell magnificrab kuzary impulse32 ozzloy jfleming fooc hpd _root_ Dodek niko antoszka dfox setheus antifuchs nowhereman BlastHardcheese ineiros sav mal luis Fade yan_ 11:44:00 -!- names: e__krappi pkhuong tomaw galdor Obfuscate felipe literal arbscht cYmen k9quaint g0 ``Erik nitro_idiot_ lnostdal jerQ scode dnm wyan yroeht Nshag finnrobi SeanTAllen ocharles_ NimeshNeema rvirding slyrus gffa fmu housel ArmyOfBruce mon_key timb pchrist a7p derekv yeltzooo clop howeyc The_third_man wtetzner Patzy dan64 jpanest jeekl freiksenet gemelen clog dotemacs setmeaway2 Guest96734 Mandus kaol ejohnson _death redline6561_ |3b| Borbus rotty_ DrForr 11:44:00 -!- names: recycle`` tychoish koisoke_ z0d oGMo gensym Yahovah_ PECCU _tca |42|`` derrida eMBee daimrod ramus axion ecraven teiresias naryl OliverUv Nisstyre H4ns Guest17192 tritchey Deltafire vhost- gabot Inode theBlackDragon guther_ Neronus __main__ dryman ianmcorvidae kanru jrockway_ zbigniew_ mrTapir Saidin lichtblau Subfusc jlaire ve foom anonus ASau easyE` dRbiG df_ dim Zemyla rson cmbntr SHODAN ivan4th pok ivan\ otwieracz cpt_nemo aperture em p_l rtoym 11:44:00 -!- names: malaparte s0ber borkman Phoodus tr-808 sepi samebchase brendyn Kryztof e-gone Tordek anthracite froggey Khisanth kpreid Modius peterhil` rdd kleppari cmatei_ maxm- rabite_ stepnem cataska j_king REPLeffect CrazyEddy jasom cods hyoyoung abeaumont superflit cmm pjb Oddity McMAGIC--Copy tntc drdo TristamWrk ered Buglouse mel0on dsp1 joshe quasisane quazimodo kwmiebach__ dkasak limetree_ jsnell phadthai PissedNumlock acieroid SpitfireWP djanatyn kloeri 11:44:00 -!- names: Bucciarati guaqua boyscared jayne BigEndian johs gf3 copec oconnore sawjig rootzlevel froydnj sigjuice basho___ rvchangue macrobat jacobw joast emit @Zhivago madnificent DGASAU robonyankitty nuba Kovensky sjl ChibaPet egn vsync unglue djinni` Praise Jabberwockey qsun _3b 11:44:33 homie` [~levgue@xdsl-78-35-175-1.netcologne.de] has joined #lisp 11:46:56 lars_t_h [~lars_t_h@002128215191.mbb.telenor.dk] has joined #lisp 11:48:15 newcup [newcup@peruna.fi] has joined #lisp 11:48:51 -!- Beetny [~Beetny@ppp118-208-16-252.lns20.bne1.internode.on.net] has quit [Ping timeout: 260 seconds] 11:50:03 -!- Siphonblast [~Siphonbla@c-98-210-95-103.hsd1.ca.comcast.net] has quit [Ping timeout: 245 seconds] 11:50:15 -!- Houl [~Parmi@unaffiliated/houl] has quit [Quit: weil das Wetter so schön ist] 11:51:02 -!- NimeshNeema [u2689@gateway/web/irccloud.com/x-uyouikrmcpynlygw] has quit [Excess Flood] 11:51:09 NimeshNeema [u2689@gateway/web/irccloud.com/x-uimfjzrvqzxdcmnu] has joined #lisp 11:56:59 pnq [~nick@AC820CCD.ipt.aol.com] has joined #lisp 11:58:43 n1tn4tsn0k [~nitnatsno@178.47.213.176] has joined #lisp 11:58:47 Sbidicuda [~antani@host75-208-dynamic.11-87-r.retail.telecomitalia.it] has joined #lisp 12:00:53 -!- guyal [~michaelmu@108-235-117-64.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 12:01:00 guyal [~michaelmu@108-235-117-64.lightspeed.sntcca.sbcglobal.net] has joined #lisp 12:01:24 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 12:01:26 _class_ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 12:02:46 m7w [~chatzilla@31.24.92.125] has joined #lisp 12:03:28 apathor [~apathor@c-24-218-104-106.hsd1.ma.comcast.net] has joined #lisp 12:03:38 add^_ [~add^_^@m90-141-39-189.cust.tele2.se] has joined #lisp 12:03:46 -!- apathor [~apathor@c-24-218-104-106.hsd1.ma.comcast.net] has left #lisp 12:05:06 YokYok [~david@vmailbox.org] has joined #lisp 12:06:09 -!- YokYok [~david@vmailbox.org] has quit [Client Quit] 12:06:23 -!- _class_ is now known as __class__ 12:11:33 Good morning, lisps. 12:15:16 kiuma [~kiuma@static-217-133-17-91.clienti.tiscali.it] has joined #lisp 12:15:45 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #lisp 12:16:06 -!- homie` [~levgue@xdsl-78-35-175-1.netcologne.de] has quit [Read error: Connection reset by peer] 12:16:35 -!- fe[nl]ix [~quassel@pdpc/supporter/professional/fenlix] has quit [Remote host closed the connection] 12:16:43 fe[nl]ix [~quassel@pdpc/supporter/professional/fenlix] has joined #lisp 12:17:32 homie` [~levgue@xdsl-78-35-175-1.netcologne.de] has joined #lisp 12:19:40 -!- comatos__ [~comatose_@CPE0023bee41a54-CM0023bee41a51.cpe.net.cable.rogers.com] has quit [Remote host closed the connection] 12:22:05 paul0 [~paul0@201.47.45.101.dynamic.adsl.gvt.net.br] has joined #lisp 12:22:25 costae [~quassel@helis.cs.kuleuven.be] has joined #lisp 12:22:57 -!- costae [~quassel@helis.cs.kuleuven.be] has quit [Client Quit] 12:23:31 -!- Joreji [~thomas@vpn-ho1.unidsl.de] has quit [Ping timeout: 250 seconds] 12:23:46 costae [~quassel@helis.cs.kuleuven.be] has joined #lisp 12:23:53 -!- costae [~quassel@helis.cs.kuleuven.be] has quit [Client Quit] 12:25:00 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Ping timeout: 260 seconds] 12:25:09 -!- cmm [~cmm@bzq-79-183-234-200.red.bezeqint.net] has quit [Ping timeout: 245 seconds] 12:26:16 cmm [~cmm@bzq-79-183-234-200.red.bezeqint.net] has joined #lisp 12:27:28 -!- tak` [~user@KHP059129075208.ppp-bb.dion.ne.jp] has quit [Remote host closed the connection] 12:30:21 eli [~eli@racket/eli] has joined #lisp 12:31:15 Joreji [~thomas@vpn-ho1.unidsl.de] has joined #lisp 12:31:40 mathrick [~mathrick@188.123.215.194] has joined #lisp 12:32:08 -!- nipra [~nipra@125.20.84.54] has quit [Ping timeout: 240 seconds] 12:33:35 e27128 [d521469d@gateway/web/freenode/ip.213.33.70.157] has joined #lisp 12:33:46 -!- homie` [~levgue@xdsl-78-35-175-1.netcologne.de] has quit [Read error: Connection reset by peer] 12:35:10 homie` [~levgue@xdsl-78-35-175-1.netcologne.de] has joined #lisp 12:35:13 is postmodern query macro using a server side cursor behind the scene, or is it just filling up local memory at once with the query result? 12:35:24 graspee [~graspee@02dd1c10.bb.sky.com] has joined #lisp 12:35:43 macroexpand to the rescue! 12:35:49 eni [~eni@31.171.153.13] has joined #lisp 12:36:01 well I don't see the term "cursor" in the docs for sure 12:36:01 dim: that depends on the row-reader in use 12:36:20 I know it's pretty rude to just join a channel then immediately ask a question so i apologise but i've been trying to find the answer in various lisp books and using google for an hour now 12:36:22 currently the default 12:36:37 -!- homie` [~levgue@xdsl-78-35-175-1.netcologne.de] has quit [Read error: Connection reset by peer] 12:36:41 graspee: get on with it. 12:36:43 so here goes: is it possible to put the character literal \#Escape into a string literal in lisp 12:37:22 dim: your whole result set will be in memory 12:37:34 graspee: in emacs, C-q C-[ 12:37:42 i'm using clisp 12:37:46 graspee: if you can type it in your editor, yes. 12:37:55 dim: when you use doquery, the result set will be loaded incrementally 12:38:03 there's no way using just 7 bit ascii characters? 12:38:14 graspee: there is no escape syntax for arbitrary control characters. 12:38:21 graspee: try cl-interpol if you need that. 12:38:24 homie [~levgue@xdsl-78-35-175-1.netcologne.de] has joined #lisp 12:38:39 graspee: escape is a 7 bit ascii character, but yeah, try cl-interpol, or just #.(format nil ...) 12:38:50 i know i can do (string \#Escape) and concat that onto the rest but it seems like too much work for the poor lisp 12:39:11 graspee: why do you keep typing \#Escape? 12:39:19 why not? 12:39:26 graspee: because it is wrong 12:39:41 H4ns: I'm reading http://marijnhaverbeke.nl/postmodern/cl-postgres.html#row-reader but fail to see how to use another row reader that would use a server-side cursor, any hint? 12:39:48 you're right. i made a mistake but in my editor it is the right way round 12:39:52 -!- gaidal [~gaidal@h164n1-m-sp-d4.ias.bredband.telia.com] has quit [Quit: Leaving] 12:40:07 -!- Xach_ is now known as Xach 12:40:12 -!- Xach [~xach@cpe-67-255-229-229.maine.res.rr.com] has quit [Changing host] 12:40:12 Xach [~xach@pdpc/supporter/professional/xach] has joined #lisp 12:40:30 -!- mathrick [~mathrick@188.123.215.194] has quit [Read error: Connection reset by peer] 12:40:30 I can do (setf x (string-concat (string #\Escape) "[1mhello")) 12:40:33 dim: (next-row) uses a cursor, not the row reader, sorry. 12:40:45 graspee: or you can look at cl-interpol 12:40:45 but I was hoping I could insert the escape character into a string literal 12:40:57 mathrick [~mathrick@188.123.215.194] has joined #lisp 12:41:00 graspee: you can 12:41:01 is that a library or a lisp interpreter? 12:41:12 minion: cl-interpol 12:41:13 cl-interpol: CL-INTERPOL modifies the reader so that you can have interpolation of strings similar to Perl or Unix Shell scripts. http://www.cliki.net/cl-interpol 12:41:18 -!- pnq [~nick@AC820CCD.ipt.aol.com] has quit [Ping timeout: 245 seconds] 12:41:21 graspee: but you have to insert the _literal_ character, not some kind of escape sequence (which CL does not have) 12:41:33 H4ns: so the default situation seems to be using server side cursors then 12:41:34 thanks for the information then 12:41:34 goo 12:41:36 good 12:43:28 mathrick_ [~mathrick@188.123.215.194] has joined #lisp 12:44:14 pnq [~nick@AC820CCD.ipt.aol.com] has joined #lisp 12:45:22 mathrick__ [~mathrick@188.123.215.194] has joined #lisp 12:46:00 -!- mathrick [~mathrick@188.123.215.194] has quit [Ping timeout: 260 seconds] 12:48:29 -!- mathrick_ [~mathrick@188.123.215.194] has quit [Ping timeout: 245 seconds] 12:48:53 -!- Ragnaroek [~chatzilla@boccacio.fh-trier.de] has quit [Ping timeout: 248 seconds] 12:49:34 -!- varjag [~eugene@122.62-97-226.bkkb.no] has quit [Quit: Leaving] 12:51:36 reading /cl-postgres/tests.lisp it seems I have to use open-database and exec-query to be able to use a row-reader 12:52:13 -!- mathrick__ [~mathrick@188.123.215.194] has quit [Ping timeout: 265 seconds] 12:52:47 dim: row-readers are used implicitly by pomo:query 12:53:09 I'm at (defparameter *result-styles* ..., trying to decipher 12:53:39 EarlGray [~mitra@despairing-occident.volia.net] has joined #lisp 12:53:51 -!- pnq [~nick@AC820CCD.ipt.aol.com] has quit [Ping timeout: 250 seconds] 12:54:07 looks all ok now 12:54:19 but that's not documented :( 12:56:26 pnq [~nick@AC820CCD.ipt.aol.com] has joined #lisp 12:58:23 -!- truman33 [~Miranda@knowingly-handling.volia.net] has quit [Ping timeout: 245 seconds] 13:00:57 kushal [kdas@fedora/kushal] has joined #lisp 13:01:15 edgar-rft [~user@HSI-KBW-078-043-123-191.hsi4.kabel-badenwuerttemberg.de] has joined #lisp 13:01:29 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 13:02:53 tak` [~user@KHP059129075208.ppp-bb.dion.ne.jp] has joined #lisp 13:03:03 Is it possible to change the lambda list of a generic function and method? If I try to compile the generic function first, SBCL complains about a method with different parameters. If I try then to compile the new method, SBCL complains about a mismatching generic function. 13:03:51 Matt_S_G [~Matt_S_G@gateway/tor-sasl/mattsg/x-78535695] has joined #lisp 13:04:20 didi: fmakunbound the name first 13:05:12 Go Xach! 13:05:15 Thank you. 13:05:17 -!- didi [~user@unaffiliated/didi/x-1022147] has left #lisp 13:05:46 araujo [~araujo@gentoo/developer/araujo] has joined #lisp 13:06:07 -!- pnq [~nick@AC820CCD.ipt.aol.com] has quit [Ping timeout: 256 seconds] 13:08:36 pnq [~nick@AC820CCD.ipt.aol.com] has joined #lisp 13:09:45 -!- huangjs [~huangjs@190.8.100.83] has quit [Ping timeout: 260 seconds] 13:10:59 lboat [~lboat@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #lisp 13:12:06 -!- aoh_ is now known as aoh 13:12:52 -!- kilon [~kvirc@178.59.17.196] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 13:13:37 -!- jasox [~jasox@178.239.26.130] has quit [Quit: Leaving] 13:13:46 C-c C-u in slime 13:13:48 test_ [863a2937@gateway/web/freenode/ip.134.58.41.55] has joined #lisp 13:15:35 -!- kushal [kdas@fedora/kushal] has quit [Ping timeout: 260 seconds] 13:16:30 comatose_kid [~comatose_@CPE0023bee41a54-CM0023bee41a51.cpe.net.cable.rogers.com] has joined #lisp 13:16:55 -!- harish [~harish@155.69.194.230] has quit [Ping timeout: 260 seconds] 13:17:55 Xach: did you catch gtk-cffi problem reported earlier here? 13:18:51 leo2007 [~leo@120.33.26.6] has joined #lisp 13:19:12 ok, i see the issue has been opened 13:20:10 stassats`: yes, the problem is that it requires a library that i do not have and cannot easily get 13:20:42 which one ? 13:21:10 gtk3 ? 13:22:13 libgdk-3.so.0 is the specific library it tries to open 13:26:03 francisl [~flavoie@199.84.164.114] has joined #lisp 13:26:15 -!- add^_ [~add^_^@m90-141-39-189.cust.tele2.se] has quit [Ping timeout: 260 seconds] 13:28:25 apathor [~apathor@c-24-218-104-106.hsd1.ma.comcast.net] has joined #lisp 13:28:29 -!- lemoinem [~swoog@216.252.94.164] has quit [Remote host closed the connection] 13:28:31 -!- apathor [~apathor@c-24-218-104-106.hsd1.ma.comcast.net] has left #lisp 13:28:48 lemoinem [~swoog@216.252.65.231] has joined #lisp 13:33:15 -!- jfleming [~jfleming@46.243.25.78] has quit [Ping timeout: 260 seconds] 13:33:19 -!- pnq [~nick@AC820CCD.ipt.aol.com] has quit [Ping timeout: 256 seconds] 13:33:34 gz [~gz@209-6-49-85.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #lisp 13:33:57 -!- am0c [~am0c@180.224.41.101] has quit [Remote host closed the connection] 13:34:43 Xach: hm, this library must be part of gtk3 package. 13:36:58 pnq [~nick@AC820CCD.ipt.aol.com] has joined #lisp 13:39:40 jasox [~jasox@178.239.26.130] has joined #lisp 13:41:32 -!- pnq [~nick@AC820CCD.ipt.aol.com] has quit [Ping timeout: 244 seconds] 13:41:59 metaphysician [~matrix@unaffiliated/meta-coder] has joined #lisp 13:42:19 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 13:43:46 -!- mel0on [~user@h-91-136.a146.priv.bahnhof.se] has quit [Remote host closed the connection] 13:44:01 pnq [~nick@AC820CCD.ipt.aol.com] has joined #lisp 13:45:38 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 13:46:26 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 13:50:15 -!- Deltafire [~chris@82-71-44-155.dsl.in-addr.zen.co.uk] has quit [Remote host closed the connection] 13:51:20 kvsari [~kvsari@119-173-226-229.rev.home.ne.jp] has joined #lisp 13:51:51 dekuked [~user@static-98-164-147-69.axsne.net] has joined #lisp 13:52:53 flavioribeiro [~flaviorib@ct1corp.globo.com] has joined #lisp 13:53:11 nanoc [~conanhome@201-251-62-201.static.speedy.com.ar] has joined #lisp 13:53:23 -!- pnq [~nick@AC820CCD.ipt.aol.com] has quit [Ping timeout: 245 seconds] 13:55:20 -!- mcsontos [mcsontos@nat/redhat/x-obqocrulthqsqdnk] has quit [Quit: Leaving] 13:56:02 pnq [~nick@AC820CCD.ipt.aol.com] has joined #lisp 13:59:11 -!- metaphysician is now known as Guest85456 13:59:18 metaphys1cian [~matrix@unaffiliated/meta-coder] has joined #lisp 13:59:20 harish [~harish@cm50.beta157.maxonline.com.sg] has joined #lisp 14:00:19 -!- Yamazaki-kun [~bsa3@jetalone.facefault.org] has quit [Remote host closed the connection] 14:00:26 Yamazaki-kun [~bsa3@jetalone.facefault.org] has joined #lisp 14:00:28 -!- manahino [~manahino@softbank126108006128.bbtec.net] has quit [Remote host closed the connection] 14:00:35 -!- Guest85456 [~matrix@unaffiliated/meta-coder] has quit [Ping timeout: 252 seconds] 14:02:14 -!- cymew [~cymew@fw01d.snowmen.se] has quit [Ping timeout: 245 seconds] 14:02:24 rmarianski [~rmariansk@mail.marianski.com] has joined #lisp 14:03:13 iocor [~textual@eduroam-wireless-pat7.nomadic.bris.ac.uk] has joined #lisp 14:03:21 -!- iocor [~textual@eduroam-wireless-pat7.nomadic.bris.ac.uk] has quit [Changing host] 14:03:21 iocor [~textual@unaffiliated/iocor] has joined #lisp 14:03:38 _schulte_ [~eschulte@c-174-56-50-60.hsd1.nm.comcast.net] has joined #lisp 14:05:33 ivan-kan` [~user@nantes.visionobjects.com] has joined #lisp 14:07:22 -!- ivan-kanis [~user@nantes.visionobjects.com] has quit [Ping timeout: 244 seconds] 14:07:38 *maxm-* releasing more stuff is hindered by the fact that no one is using demacs 14:08:35 maybe I should write a replacement with a saner name, plus implement a few ideas that been brewing in my mind.. Ie make it easier to define custom flags, use definer itself to define new definers.. 14:10:08 -!- dropster [~Kim@port284.ds1-oebr.adsl.cybercity.dk] has left #lisp 14:10:52 -!- kpreid [~kpreid@128.153.213.162] has quit [Quit: Quitting] 14:14:22 gko [gko@220-135-201-90.HINET-IP.hinet.net] has joined #lisp 14:17:25 adu [~ajr@pool-173-66-253-53.washdc.fios.verizon.net] has joined #lisp 14:18:09 kpreid [~kpreid@128.153.213.162] has joined #lisp 14:20:10 theos [~theos@unaffiliated/theos] has joined #lisp 14:22:10 -!- echo-area [~user@182.92.247.2] has quit [Read error: Connection reset by peer] 14:22:15 -!- metaphys1cian [~matrix@unaffiliated/meta-coder] has quit [Ping timeout: 260 seconds] 14:22:56 kilon [~kilon@athedsl-383291.home.otenet.gr] has joined #lisp 14:25:59 -!- Joreji [~thomas@vpn-ho1.unidsl.de] has quit [Ping timeout: 245 seconds] 14:27:41 Joreji [~thomas@68-049.eduroam.rwth-aachen.de] has joined #lisp 14:29:55 they call us dirty! 14:29:59 lol 14:30:36 ~, 14:30:37 ~ 14:30:38 ~, 14:30:39 ~, 14:30:41 ~, 14:30:44 -!- Guest71614 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 14:30:53 dang. 14:31:12 ssh escape? 14:31:28 dl` [~download@chpcwl01.hpc.unm.edu] has joined #lisp 14:31:46 nyef [~nyef@c-174-63-105-188.hsd1.ma.comcast.net] has joined #lisp 14:31:54 pong dadong ? 14:31:56 -!- dl` is now known as dl 14:32:14 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 14:32:22 -!- xristos is now known as Guest34219 14:32:56 LiamH [~none@pdp8.nrl.navy.mil] has joined #lisp 14:34:20 -!- adu [~ajr@pool-173-66-253-53.washdc.fios.verizon.net] has quit [Quit: adu] 14:39:46 -!- dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has quit [Ping timeout: 255 seconds] 14:44:08 kushal [~kdas@114.143.164.63] has joined #lisp 14:44:08 -!- kushal [~kdas@114.143.164.63] has quit [Changing host] 14:44:08 kushal [~kdas@fedora/kushal] has joined #lisp 14:44:43 -!- jtza8 [~jtza8@196-210-195-194.dynamic.isadsl.co.za] has quit [Ping timeout: 256 seconds] 14:46:57 -!- theos [~theos@unaffiliated/theos] has quit [Ping timeout: 250 seconds] 14:47:26 -!- kiuma [~kiuma@static-217-133-17-91.clienti.tiscali.it] has quit [Quit: Leaving] 14:51:33 -!- ahinki [~chatzilla@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120501201020]] 14:53:17 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 14:55:57 isn't (push (cons 'a 'b) (gethash key hash)) supposed to work? 14:56:33 -!- ubii [~ubii@unaffiliated/ubii] has quit [Remote host closed the connection] 14:56:45 ahah, push can change the place? 14:57:00 how is it not-working? 14:57:03 Push is SUPPOSED to change the place. 14:57:03 dim: not _can_, but _does_ 14:57:05 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 14:57:23 yeah. so what's to use here then? 14:58:02 dim: what exactly do you want to do? just prepend something in front of the list? 14:58:22 append would be ok too, I don't care much about the ordering 14:58:48 dim: LIST* probably is what you want 14:58:52 I'm just used to shortcut it to using push and didn't think it wouldn't work with hash tables 14:59:04 if you want to add an item to a list in a hash table, then the code you quoted should do that. 14:59:17 So, how does it not-do-what-you-want? 14:59:54 -!- pnathan [~Adium@75.87.255.164] has quit [Quit: Leaving.] 15:00:01 in my tests... give me a minute to be sure 15:00:21 S11001001 [~sirian@fsf/member/S11001001] has joined #lisp 15:00:57 I loop over that: (let ((alist (gethash shard buckets)) (format t "data (~d): ~a ~a ~a~%" (length alist) shard user_name comments) (push (cons user_name comments) alist))) 15:01:10 the format is for testing, the length remains 0 15:01:19 (push ... some-variable) is completely different from (push ... (gethash ...)) 15:01:27 you're replacing the variable, not anything in the hash table 15:01:38 ding, rings a bell 15:01:51 I remember having had to use symbol-macrolet there 15:02:00 well, now that you say me I remember 15:02:09 there's still a little too much magic in CL for me 15:02:16 I'll probably get there though 15:02:32 -!- pnq [~nick@AC820CCD.ipt.aol.com] has quit [Ping timeout: 249 seconds] 15:02:47 er 15:02:53 this is not especially unique to CL 15:03:06 dim: I suggest implementing shiftf 15:03:09 suppose in some C-derived-OO language you wrote table[index] += 1 15:03:22 -!- Joreji [~thomas@68-049.eduroam.rwth-aachen.de] has quit [Ping timeout: 272 seconds] 15:03:28 that is different from variable = table[index]; variable += 1 15:03:39 the conventional semantics of that are precisely analogous to CL's 15:03:46 it's much easier to be blind in CL, I find 15:04:01 -!- nefo [~nefo@unaffiliated/nefo] has quit [Remote host closed the connection] 15:04:26 dim: write more. read more. it tends to be the assumption of magic that confuses you, rather than actual magic happening 15:04:45 there is no magic! 15:04:50 oGMo: agree 15:04:50 there is indeed no magic 15:04:52 Norvig wrote about this 15:05:11 the world is a dull place if you don't believe in magic 15:05:31 graspee: it's actually the other way around 15:05:54 I think perhaps the world just isn't that dull either way 15:06:11 each time I'm using push and setf or the like I have to be careful of intermediate variables. right? 15:06:32 dim: read about setf and places 15:06:47 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 15:07:03 dim: implement setf functions and implement setf using get-setf-expander 15:07:12 I'll admit finding places "magic" because I didn't take the time to read about them yet 15:07:28 iocor [~textual@unaffiliated/iocor] has joined #lisp 15:08:06 magic doesn't just have to be an absence of understanding how something works or is 15:08:18 there can be a magic in understanding something fully 15:08:40 heh 15:09:22 Quantum physics is probably a good example of the latter. (-: 15:10:06 i would have thuoght fully understanding quantum physics is impossible at the moment, unless you just mean 'the current state of knowledge' 15:10:19 Even that. 15:10:59 further discussion is meaningless without defining "magic"; and offtopic, too. 15:11:27 Jeanne-Kamikaze [~Jeanne-Ka@29.Red-88-11-20.dynamicIP.rima-tde.net] has joined #lisp 15:11:28 -!- Xach [~xach@pdpc/supporter/professional/xach] has left #lisp 15:11:45 Magic, n.: Sufficiently advanced technology. 15:11:53 qualified magic 15:12:00 obvious magic 15:12:05 nonobvious magic 15:12:12 green magic 15:12:13 black magic 15:12:21 -!- leo2007 [~leo@120.33.26.6] has quit [Ping timeout: 248 seconds] 15:13:30 Don't forget deep magic. 15:13:52 and mc magic 15:14:01 lol 15:14:05 And orlando magic? 15:14:21 (Was it orlando?) 15:14:34 Oh well. 15:14:46 besides, you can just (defun magic ..) if you really want it 15:15:38 oGMo: no, that would have to be (defmacro magic ...) 15:16:22 ah the true magic of CL ;) 15:17:35 mel0on [~user@h-91-136.a146.priv.bahnhof.se] has joined #lisp 15:20:08 -!- asvil [~asvil@178.121.61.2] has quit [Ping timeout: 240 seconds] 15:22:10 Fullmoon [~Fullmoon@chello084112185050.3.11.vie.surfer.at] has joined #lisp 15:22:24 -!- Fullmoon [~Fullmoon@chello084112185050.3.11.vie.surfer.at] has quit [Client Quit] 15:24:05 magic is defined usually as "something i don't understand" 15:24:37 Fullmoon [~Fullmoon@chello084112185050.3.11.vie.surfer.at] has joined #lisp 15:24:45 but which you still enjoy not ? 15:25:06 this is getting silly and off-topic 15:25:47 sbryant [freenode@2600:3c02::f03c:91ff:fe93:e02d] has joined #lisp 15:26:07 -!- jlaire [~jlaire@80-248-244-51.cust.suomicom.fi] has left #lisp 15:26:39 anyway it seems I have my little project about all done now 15:26:45 LuisM [~quassel@unaffiliated/luism] has joined #lisp 15:27:00 I'd have to re-read the whole code now :) 15:28:55 jfleming [~jfleming@46.243.25.78] has joined #lisp 15:28:58 -!- jdz [~jdz@193.206.22.97] has quit [Quit: Byebye.] 15:29:18 with newLISP i can do anything like using common lisp? 15:29:37 -!- Guest34219 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 15:30:27 -!- sysfault [~exalted@p3m/member/sysfault] has quit [Remote host closed the connection] 15:30:30 -!- gko [gko@220-135-201-90.HINET-IP.hinet.net] has quit [] 15:31:14 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 15:31:18 -!- xristos is now known as Guest44291 15:31:30 LuisM: I hear it's turing-complete, so yes 15:31:55 milanj [~milanj_@93-86-216-175.dynamic.isp.telekom.rs] has joined #lisp 15:32:05 ok, cmm 15:32:20 there's also picoLisp to add some confusion with non-CL lisps 15:32:56 newlisp has gui ;D 15:33:20 how nice 15:33:40 what's the backing lang of newlisp ? 15:33:47 ruby ? 15:33:48 -!- ramkrsna [ramkrsna@nat/redhat/x-ofkwohzgmtmapmqr] has quit [Ping timeout: 245 seconds] 15:34:01 snearch [~snearch@f053010082.adsl.alicedsl.de] has joined #lisp 15:34:04 dunno 15:34:56 huangjs [~huangjs@190.8.100.83] has joined #lisp 15:35:00 i think he was joking 15:35:48 newlisp is the future of lisp, clearly 15:36:12 [SLB] [~slabua@host33-161-dynamic.11-87-r.retail.telecomitalia.it] has joined #lisp 15:36:12 -!- [SLB] [~slabua@host33-161-dynamic.11-87-r.retail.telecomitalia.it] has quit [Changing host] 15:36:12 [SLB] [~slabua@unaffiliated/slabua] has joined #lisp 15:36:19 I think so.. 15:36:38 asvil [~asvil@178.121.61.2] has joined #lisp 15:36:53 brucio agrees, or at least used to 15:38:17 gendl [~gendl@c-68-41-192-171.hsd1.mi.comcast.net] has joined #lisp 15:38:35 the web page says it's "putting the fun back into lisp" 15:39:15 -!- dekuked [~user@static-98-164-147-69.axsne.net] has quit [Read error: Connection reset by peer] 15:39:28 dekuked [~user@static-98-164-147-69.axsne.net] has joined #lisp 15:40:15 Hi, seeing as there are only 2 people in the #slime room, I will ask this here: 15:40:41 how would I invoke a hook function when first opening/creating the *slime repl* buffer? 15:40:54 I have a function which has to be run with *slime repl ..* as the current buffer, 15:41:00 -!- fukushima [~fukushima@z128.124-44-151.ppp.wakwak.ne.jp] has quit [Quit: Leaving...] 15:41:02 -!- LuisM [~quassel@unaffiliated/luism] has left #lisp 15:41:08 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has left #lisp 15:41:17 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #lisp 15:41:22 which makes ^M invisible in the output 15:41:28 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has quit [Remote host closed the connection] 15:41:53 This is apparently needed on Slime with acl-8.2m-win-x86 -- otherwise you get ^M showing up at the end of every line in the *slime repl  * 15:41:58 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #lisp 15:42:00 gendl: add your stuff to slime-repl-mode-hook 15:42:24 -!- pjb is now known as Guest3605 15:42:33 -!- hiredman_ is now known as hiredman 15:42:41 cmm: sounds legit.. trying now 15:42:47 slime-inferior-process-start-hook 15:42:57 -!- Guest3605 is now known as pjb 15:43:35 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 15:45:34 cmm: slime-repl-mode-hook seems to be the ticket. Thank you. 15:45:37 -!- Guest44291 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 15:45:43 If anyone is curious, the function is from here: 15:45:44 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 15:45:51 http://stackoverflow.com/questions/730751/hiding-m-in-emacs 15:46:01 jtza8 [~jtza8@196-210-195-194.dynamic.isadsl.co.za] has joined #lisp 15:46:05 the (defun remove-dos-eol () ) 15:47:19 ramkrsna [ramkrsna@nat/redhat/x-ozpmttvvselddndt] has joined #lisp 15:47:25 -!- schoppenhauer [~christoph@unaffiliated/schoppenhauer] has quit [Quit: leaving] 15:47:42 So in my startup el file, I put this function definition, then in the (eval-after-load "slime" '(progn . ) ) 15:47:44 added: 15:47:56 (add-hook 'slime-repl-mode-hook 'remove-dos-eol) 15:48:19 good to know 15:48:31 This is customized from the emacs-lisp Slime startup code given by quicklisp-slime-helper. 15:48:45 pnq [~nick@AC8105D9.ipt.aol.com] has joined #lisp 06:42:24 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #lisp 06:42:24 06:42:24 -!- names: ccl-logbot Guest58458 mvilleneuve Radium_ teggi dropster springz eni echo-area hkBst gravicappa Kryztof shifty nialo- angavrilov mrSpec jewel ubii huangjs kiuma kushal chu ramkrsna _schulte_ nipra newcup jjkola_work quazimodo ianmcorvidae mcsontos __class__ TimKack`` lemoinem mutley89 Axioplase_ Spion_ kuzary Yuuhi``` Kron_ kennyd_ Liaoao ski_ bobbysmith007 keltvek mikaelj harish pnathan Pupeno_W EarlGray Saidin kpreid sykopomp sawjig djinni` zenbalrog 06:42:24 -!- names: Zhivago ve cyphase Ralith pspace lboat billitch Vivitron superflit ltriant wbooze stassats pjb rvchangue cmbntr ezakimak kleppari __main__ [SLB] rvirding gensym kaol tessier DrForr bzzbzz LAMMJohnson kloeri prip les araujo vsync TristamWrk flip214 billstclair dsp1_ jacobw2 Kovensky ChibaPet_ jsnell_ cataska_ acieroid qsun_ Euthydemus` basho__ dmiles_afk quasisan1 teiresia1 vervic minion specbot paul0 saint_cypher xjrn stlifey puchacz dim srcerer 06:42:24 -!- names: tensorpudding mathrick xan__ McMAGIC--Copy j_king Fade gendl jfleming sbryant mel0on nyef Yamazaki-kun gz tak` eli cmm fe[nl]ix guyal NimeshNeema feliped herbieB tvaalen_ aoh enn_ joachifm_ hiredman paraboli1e r126f_ tali713 rpgsimmaster_ Utkarsh_ chr` hugod Quadrescence Posterdati hlavaty abbe BrianRice alanpearce insomniaSalt EyesIsMine jaxtr two- loke MoALTz scharan cyb3r3li0g ace4016 TDJACR Jasko sshirokov nicdev_ dlowe renard_ wccoder AntiSpamMeta 06:42:24 -!- names: Kenjin DaDaDOSPrompt sellout Munksgaard zxq9 chenbing gilez alvis karswell magnificrab impulse32 ozzloy Jabberwockey _3b Praise unglue egn sjl nuba robonyankitty DGASAU madnificent emit joast macrobat sigjuice froydnj rootzlevel oconnore copec gf3 johs BigEndian jayne boyscared guaqua Bucciarati djanatyn SpitfireWP PissedNumlock phadthai limetree_ dkasak kwmiebach__ joshe Buglouse ered drdo Oddity abeaumont hyoyoung cods jasom CrazyEddy REPLeffect stepnem 06:42:24 -!- names: rabite_ maxm- cmatei_ rdd peterhil` Modius Khisanth froggey anthracite Tordek brendyn samebchase sepi tr-808 Phoodus borkman malaparte rtoym p_l em aperture cpt_nemo otwieracz ivan\ pok ivan4th SHODAN rson Zemyla df_ dRbiG easyE` ASau anonus foom Subfusc lichtblau mrTapir zbigniew jrockway_ kanru dryman Neronus guther_ theBlackDragon Inode gabot vhost- tritchey Guest17192 H4ns Nisstyre naryl ecraven axion ramus daimrod eMBee derrida |42|`` _tca PECCU 06:42:24 -!- names: Yahovah_ oGMo z0d koisoke_ tychoish rotty_ Borbus |3b| redline6561_ _death ejohnson Mandus Guest96734 setmeaway2 dotemacs clog gemelen freiksenet jeekl jpanest dan64 Patzy wtetzner The_third_man howeyc clop yeltzooo derekv a7p pchrist timb mon_key ArmyOfBruce housel fmu gffa slyrus ocharles_ SeanTAllen finnrobi Nshag yroeht wyan dnm scode jerQ lnostdal nitro_idiot_ ``Erik g0 k9quaint cYmen arbscht literal felipe Obfuscate galdor tomaw pkhuong e__krappi yan_ 06:42:24 -!- names: luis mal sav ineiros BlastHardcheese nowhereman antifuchs setheus dfox antoszka niko Dodek _root_ hpd fooc 06:42:53 -!- chu [~mathew.ba@CPE-124-176-25-97.lns2.dea.bigpond.net.au] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 06:44:35 -!- jewel [~jewel@196-210-187-71.dynamic.isadsl.co.za] has quit [Ping timeout: 260 seconds] 06:44:55 treyka [~treyka@85.234.199.185] has joined #lisp 06:45:07 Fullmoon [~Fullmoon@dsl-stat-43-17.mmc.at] has joined #lisp 06:45:40 -!- lboat [~lboat@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Quit: trivial-irc-0.0.3] 06:46:20 lboat [~lboat@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #lisp 06:47:38 morning 06:48:04 -!- Fullmoon [~Fullmoon@dsl-stat-43-17.mmc.at] has quit [Client Quit] 06:50:38 -!- treyka [~treyka@85.234.199.185] has quit [Ping timeout: 240 seconds] 06:50:41 Fullmoon [~Fullmoon@dsl-stat-43-17.mmc.at] has joined #lisp 06:51:43 -!- quazimodo [~quazimodo@CPE-58-173-140-27.cjcz1.cht.bigpond.net.au] has quit [Ping timeout: 245 seconds] 06:58:52 quazimodo [~quazimodo@c122-107-122-25.carlnfd1.nsw.optusnet.com.au] has joined #lisp 06:59:26 -!- nipra [~nipra@125.20.84.54] has quit [Ping timeout: 252 seconds] 07:02:52 -!- pspace [~andrew@d118-75-192-10.try.wideopenwest.com] has quit [Quit: Konversation terminated!] 07:12:53 leo2007 [~leo@120.33.26.6] has joined #lisp 07:15:32 -!- ltriant [~ltriant@lithium.mailguard.com.au] has quit [Ping timeout: 244 seconds] 07:16:07 pirateking-_- [~piratekin@c-67-169-182-169.hsd1.ca.comcast.net] has joined #lisp 07:16:36 -!- puchacz [~puchacz@87-194-5-99.bethere.co.uk] has quit [Read error: Operation timed out] 07:17:03 robertbrook [~robertbro@82.132.210.91] has joined #lisp 07:20:12 nipra [~nipra@61.12.27.114] has joined #lisp 07:28:22 e27182817 [d521469d@gateway/web/freenode/ip.213.33.70.157] has joined #lisp 07:30:23 kilon [~kvirc@178.59.17.196] has joined #lisp 07:31:12 -!- gravicappa [~gravicapp@ppp91-77-170-41.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 07:31:36 Ralith_ [~ralith@63.64.64.178] has joined #lisp 07:31:43 Beetny [~Beetny@ppp118-208-104-152.lns20.bne4.internode.on.net] has joined #lisp 07:31:43 -!- ubii [~ubii@unaffiliated/ubii] has quit [Remote host closed the connection] 07:32:02 -!- Ralith [~ralith@63.64.64.178] has quit [Read error: Connection reset by peer] 07:32:16 -!- Euthydemus` [~euthydemu@unaffiliated/euthydemus] has quit [Quit: leaving] 07:32:54 jdz [~jdz@193.206.22.97] has joined #lisp 07:34:45 -!- ezakimak [~nick@69.9.62.212] has quit [Ping timeout: 260 seconds] 07:37:23 robot-beethoven [~user@c-24-118-142-0.hsd1.mn.comcast.net] has joined #lisp 07:40:53 ahinki [~chatzilla@212.99.10.150] has joined #lisp 07:41:18 -!- e27182817 [d521469d@gateway/web/freenode/ip.213.33.70.157] has quit [Quit: Page closed] 07:41:28 -!- Radium_ [~rajesh.na@117.203.12.17] has quit [Remote host closed the connection] 07:41:51 Ragnaroek [~chatzilla@boccacio.fh-trier.de] has joined #lisp 07:41:58 Guest__ [863a2937@gateway/web/freenode/ip.134.58.41.55] has joined #lisp 07:42:24 -!- TimKack`` [~user@c-2ec29d19-74736162.cust.telenor.se] has quit [Remote host closed the connection] 07:42:50 -!- robertbrook [~robertbro@82.132.210.91] has quit [Remote host closed the connection] 07:43:10 robertbrook [~robertbro@82.132.139.148] has joined #lisp 07:43:41 e27182817 [d521469d@gateway/web/freenode/ip.213.33.70.157] has joined #lisp 07:43:51 aerique [310225@xs8.xs4all.nl] has joined #lisp 07:43:59 -!- Beetny [~Beetny@ppp118-208-104-152.lns20.bne4.internode.on.net] has quit [Read error: Connection reset by peer] 07:44:28 -!- insomniaSalt [~milan@unaffiliated/iammilan] has quit [Ping timeout: 244 seconds] 07:44:45 Radium_ [~rajesh.na@117.203.12.17] has joined #lisp 07:46:23 insomniaSalt [~milan@port-92-204-51-106.dynamic.qsc.de] has joined #lisp 07:46:23 -!- insomniaSalt [~milan@port-92-204-51-106.dynamic.qsc.de] has quit [Changing host] 07:46:23 insomniaSalt [~milan@unaffiliated/iammilan] has joined #lisp 07:48:02 ezakimak [~nick@ns1.nickleippe.com] has joined #lisp 07:51:13 TimKack [~user@c-2ec29d19-74736162.cust.telenor.se] has joined #lisp 07:51:34 -!- aerique [310225@xs8.xs4all.nl] has quit [Quit: ...] 07:51:55 -!- Radium_ [~rajesh.na@117.203.12.17] has quit [Ping timeout: 265 seconds] 07:52:36 aerique [310225@xs8.xs4all.nl] has joined #lisp 07:52:47 -!- robertbrook [~robertbro@82.132.139.148] has quit [Quit: robertbrook] 07:53:50 chu [~mathew.ba@CPE-124-176-25-97.lns2.dea.bigpond.net.au] has joined #lisp 07:55:55 aerique_ [310225@xs8.xs4all.nl] has joined #lisp 07:56:06 aerique__ [310225@xs8.xs4all.nl] has joined #lisp 07:56:14 -!- aerique__ [310225@xs8.xs4all.nl] has quit [Client Quit] 07:56:30 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Quit: Leaving.] 07:56:34 Radium_ [~rajesh.na@117.203.12.17] has joined #lisp 07:57:07 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 07:58:15 -!- Ragnaroek [~chatzilla@boccacio.fh-trier.de] has quit [Read error: Operation timed out] 07:58:33 -!- aerique [310225@xs8.xs4all.nl] has quit [Quit: leaving] 07:58:42 -!- aerique_ [310225@xs8.xs4all.nl] has quit [Client Quit] 07:59:49 -!- Kenjin [~josesanto@2.80.241.192] has quit [Quit: Computer has gone to sleep] 08:00:58 Beetny [~Beetny@ppp118-208-104-152.lns20.bne4.internode.on.net] has joined #lisp 08:01:01 -!- Radium_ [~rajesh.na@117.203.12.17] has quit [Remote host closed the connection] 08:01:13 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Client Quit] 08:01:48 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 08:03:13 sykopomp: cancel finalization can be incredibly slow. If the normal function of your program uses a lot of finalizers and cancels some of them, you might want to instead have a mutable cell (not in the finalizee itself, obviously) that enables/disables the finalization function. 08:03:48 mishoo [~mishoo@79.112.112.91] has joined #lisp 08:04:07 -!- Guest58458 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 08:04:13 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 08:04:16 Radium_ [~rajesh.na@117.203.12.17] has joined #lisp 08:04:38 -!- xristos is now known as Guest66368 08:04:41 aerique [310225@xs8.xs4all.nl] has joined #lisp 08:05:41 -!- eni [~eni@31.171.153.13] has quit [Quit: Leaving] 08:05:54 gravicappa [~gravicapp@ppp91-77-170-41.pppoe.mtu-net.ru] has joined #lisp 08:07:01 monxx [~monx@ool-18bc4d6d.dyn.optonline.net] has joined #lisp 08:10:14 linluxiang [~linluxian@218.107.55.254] has joined #lisp 08:11:53 jtza8 [~jtza8@196-210-195-194.dynamic.isadsl.co.za] has joined #lisp 08:13:08 cymew [~cymew@fw01d.snowmen.se] has joined #lisp 08:14:07 -!- Guest66368 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 08:15:03 -!- Radium_ [~rajesh.na@117.203.12.17] has quit [Read error: Connection reset by peer] 08:15:43 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 08:17:35 Radium_ [~rajesh.na@117.203.12.17] has joined #lisp 08:22:10 treyka [~treyka@77.109.79.57] has joined #lisp 08:22:22 tntc [~tntc@c-98-217-26-29.hsd1.ct.comcast.net] has joined #lisp 08:25:44 varjag [~eugene@122.62-97-226.bkkb.no] has joined #lisp 08:28:25 -!- treyka [~treyka@77.109.79.57] has quit [Ping timeout: 260 seconds] 08:30:37 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 08:32:30 -!- tensorpudding [~michael@99.148.203.36] has quit [Ping timeout: 260 seconds] 08:33:16 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 08:35:42 -!- monxx [~monx@ool-18bc4d6d.dyn.optonline.net] has quit [Quit: Leaving] 08:36:21 -!- ahinki [~chatzilla@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120501201020]] 08:36:41 ahinki [~chatzilla@212.99.10.150] has joined #lisp 08:38:12 -!- ahinki [~chatzilla@212.99.10.150] has quit [Client Quit] 08:38:45 ahinki [~chatzilla@212.99.10.150] has joined #lisp 08:40:07 ianmcorvidae|alt [~ianmcorvi@fsf/member/ianmcorvidae] has joined #lisp 08:40:26 treyka [~treyka@77.109.79.57] has joined #lisp 08:41:18 -!- Radium_ [~rajesh.na@117.203.12.17] has quit [Ping timeout: 245 seconds] 08:41:24 -!- nipra [~nipra@61.12.27.114] has quit [Ping timeout: 245 seconds] 08:41:49 -!- ianmcorvidae [~ianmcorvi@fsf/member/ianmcorvidae] has quit [Ping timeout: 244 seconds] 08:42:06 -!- e27182817 [d521469d@gateway/web/freenode/ip.213.33.70.157] has quit [Ping timeout: 245 seconds] 08:43:26 robertbrook [~robertbro@82.132.139.201] has joined #lisp 08:44:13 -!- leo2007 [~leo@120.33.26.6] has quit [Ping timeout: 245 seconds] 08:45:24 Radium_ [~rajesh.na@117.203.12.17] has joined #lisp 08:46:25 leo2007 [~leo@120.33.26.6] has joined #lisp 08:47:41 -!- ahinki [~chatzilla@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120501201020]] 08:47:44 -!- linluxiang [~linluxian@218.107.55.254] has quit [Quit: linluxiang] 08:51:04 -!- Radium_ [~rajesh.na@117.203.12.17] has quit [Remote host closed the connection] 08:52:51 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 08:53:02 -!- robertbrook [~robertbro@82.132.139.201] has quit [Quit: robertbrook] 08:53:17 -!- stlifey [~stlifey@116.19.143.214] has quit [Quit: WeeChat 0.3.7] 08:53:22 -!- Ralith_ is now known as Ralith 08:53:53 nipra [~nipra@125.20.84.54] has joined #lisp 08:57:31 Radium_ [~rajesh.na@117.203.12.17] has joined #lisp 08:58:48 -!- MoALTz [~no@host-92-2-115-216.as43234.net] has quit [Read error: Connection reset by peer] 08:59:00 MoALTz [~no@host-92-8-155-31.as43234.net] has joined #lisp 08:59:09 pspace [~andrew@d118-75-192-10.try.wideopenwest.com] has joined #lisp 09:00:26 e271 [d521469d@gateway/web/freenode/ip.213.33.70.157] has joined #lisp 09:01:58 -!- Radium_ [~rajesh.na@117.203.12.17] has quit [Remote host closed the connection] 09:02:58 -!- treyka [~treyka@77.109.79.57] has quit [Ping timeout: 265 seconds] 09:06:54 -!- ASau [~user@176.14.176.32] has quit [Ping timeout: 256 seconds] 09:08:25 Radium_ [~rajesh.na@117.203.12.17] has joined #lisp 09:08:48 iocor [~textual@unaffiliated/iocor] has joined #lisp 09:08:58 treyka [~treyka@77.109.79.57] has joined #lisp 09:10:55 MoALTz_ [~no@host-92-2-133-6.as43234.net] has joined #lisp 09:11:00 -!- lboat [~lboat@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Ping timeout: 260 seconds] 09:11:09 gko [~gko@220.228.255.204] has joined #lisp 09:12:10 -!- Vivitron [~user@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Ping timeout: 260 seconds] 09:12:28 Ragnaroek [~chatzilla@boccacio.fh-trier.de] has joined #lisp 09:13:09 -!- MoALTz [~no@host-92-8-155-31.as43234.net] has quit [Ping timeout: 260 seconds] 09:14:36 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 09:16:38 lboat [~lboat@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #lisp 09:17:15 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 09:17:41 -!- xristos is now known as Guest98908 09:18:04 -!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Read error: Connection reset by peer] 09:18:13 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #lisp 09:20:55 -!- lboat [~lboat@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Ping timeout: 260 seconds] 09:23:12 MoALTz__ [~no@host-92-8-153-52.as43234.net] has joined #lisp 09:24:55 Hussaind [~hussain@115.124.115.71] has joined #lisp 09:25:10 -!- leo2007 [~leo@120.33.26.6] has quit [Quit: rcirc on GNU Emacs 24.0.96.1] 09:25:10 -!- Hussaind [~hussain@115.124.115.71] has left #lisp 09:26:08 -!- MoALTz_ [~no@host-92-2-133-6.as43234.net] has quit [Ping timeout: 240 seconds] 09:28:32 s0ber [~s0ber@114-25-193-187.dynamic.hinet.net] has joined #lisp 09:28:36 Sidima [~Heli0s@46.44.144.100] has joined #lisp 09:28:38 -!- MoALTz__ [~no@host-92-8-153-52.as43234.net] has quit [Ping timeout: 240 seconds] 09:29:02 ahinki [~chatzilla@212.99.10.150] has joined #lisp 09:29:18 -!- Sidima [~Heli0s@46.44.144.100] has quit [Client Quit] 09:29:25 Sidima [~Heli0s@46.44.144.100] has joined #lisp 09:30:59 -!- ahinki [~chatzilla@212.99.10.150] has quit [Client Quit] 09:31:05 cyphase [~cyphase@unaffiliated/cyphase] has joined #lisp 09:34:03 Kenjin [~josesanto@2.80.241.192] has joined #lisp 09:34:26 -!- wbooze [~wbooze@xdsl-78-35-164-194.netcologne.de] has quit [Quit: Client Quit] 09:34:43 i have an error which is thrown and i'd like to catch-it and throw another error, however i'd like the restart-handler to continue to exist, is that possible? 09:36:13 madnificent: restart bindings and handler bindings do not depend on each other. it is just a question of scope. 09:36:52 Vivitron` [~user@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #lisp 09:37:03 wbooze [~wbooze@xdsl-78-35-164-194.netcologne.de] has joined #lisp 09:37:10 ah, so if i catch the error and throw a new one, the old restarts will still be there? 09:37:48 madnificent: that depends on where you catch the old error and throw the new one. 09:38:14 madnificent: the best thing would be to try it out 09:39:25 if you want the new error to have mostly the same restarts as the old one, you need to throw it from the same place. The way I've done that in the past is to have something like (let ((old-error (make-condition ...))) (restart-case (signal old-error) (signal-new-error () (signal 'new-error :old-error old-error)))) 09:40:02 MoALTz [~no@host-92-8-235-83.as43234.net] has joined #lisp 09:41:08 then if you want a new-error, your handler does (lambda (c) (invoke-restart (find-restart 'signal-new-error c))) 09:41:33 H4ns, Kryztof: thanks 09:41:34 ooh, good idea 09:41:35 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 09:41:51 actually, a restart which asks for a higher-level definition is just about perfect. 09:41:56 -!- Kron_ [~Kron@2.49.66.141] has quit [Read error: Connection reset by peer] 09:43:18 edgar-rft [~user@HSI-KBW-078-043-123-191.hsi4.kabel-badenwuerttemberg.de] has joined #lisp 09:43:29 (this is the technique used in sbcl for errors detected by the compiler at compile-time, which have a complicated set of recovery scenarios depending on whether the code is being compiled for later execution, compiled for immediate execution, compiled by a recursive call to compile-file, etc) 09:43:35 ahinki [~chatzilla@212.99.10.150] has joined #lisp 09:45:06 -!- ahinki [~chatzilla@212.99.10.150] has quit [Client Quit] 09:45:23 ahinki [~chatzilla@212.99.10.150] has joined #lisp 09:46:54 mind you, I'm not convinced that we get all the cases right 09:47:33 ehu [~ehuels@109.38.161.228] has joined #lisp 09:47:56 -!- ahinki [~chatzilla@212.99.10.150] has quit [Client Quit] 09:48:12 ahinki [~ahinki@212.99.10.150] has joined #lisp 09:49:07 Kryztof: i'll try not te depend on edge cases. it's for the reason of implementation differences vs standardized behavior that i was asking instead of trying. 09:50:18 manahino [~manahino@softbank126108006128.bbtec.net] has joined #lisp 09:52:08 -!- samebchase [samuel@pi.nipl.net] has quit [Ping timeout: 245 seconds] 09:52:35 oh, the handler/restart thing ought to be completely straightforward and portable 09:53:03 it's whether we get highly-nested calls to compile right that I'm not sure of (ending up with a compile-time or run-time error embedded in the correct fasl) 09:53:12 -!- ahinki [~ahinki@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120501201020]] 09:53:37 -!- manahino [~manahino@softbank126108006128.bbtec.net] has quit [Read error: Connection reset by peer] 09:54:01 manahino [~manahino@softbank126108006128.bbtec.net] has joined #lisp 09:54:27 -!- harish [harish@nat/redhat/x-zemhemcsowhmccyz] has quit [Ping timeout: 252 seconds] 09:55:10 -!- Liaoao [~Administr@123.139.23.104] has quit [Quit: Leaving.] 09:57:31 ahinki [~ahinki@212.99.10.150] has joined #lisp 10:01:33 -!- jtza8 [~jtza8@196-210-195-194.dynamic.isadsl.co.za] has quit [Ping timeout: 260 seconds] 10:01:37 -!- Guest98908 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 10:05:18 homie [~levgue@xdsl-78-35-164-194.netcologne.de] has joined #lisp 10:05:43 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 10:08:54 iocor [~textual@unaffiliated/iocor] has joined #lisp 10:09:35 snearch [~snearch@f053008189.adsl.alicedsl.de] has joined #lisp 10:10:07 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 10:10:13 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 10:11:29 -!- hlavaty [~user@91-65-218-223-dynip.superkabel.de] has quit [Remote host closed the connection] 10:16:37 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 10:17:24 -!- treyka [~treyka@77.109.79.57] has quit [Ping timeout: 244 seconds] 10:18:13 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 10:18:21 -!- xristos is now known as Guest50216 10:19:04 Kron_ [~Kron@2.49.66.141] has joined #lisp 10:22:39 -!- cymew [~cymew@fw01d.snowmen.se] has quit [Ping timeout: 245 seconds] 10:25:29 -!- ahinki [~ahinki@212.99.10.150] has quit [Read error: Connection reset by peer] 10:25:34 ahinki_ [~ahinki@212.99.10.150] has joined #lisp 10:27:25 -!- jfleming [~jfleming@46.243.25.78] has quit [Ping timeout: 260 seconds] 10:29:00 Joreji [~thomas@u-0-021.vpn.rwth-aachen.de] has joined #lisp 10:29:00 treyka [~treyka@77.109.79.57] has joined #lisp 10:29:39 homie` [~levgue@xdsl-87-79-194-136.netcologne.de] has joined #lisp 10:30:08 -!- wbooze [~wbooze@xdsl-78-35-164-194.netcologne.de] has quit [Ping timeout: 260 seconds] 10:31:41 Kvaks [~kvaks@15.123.34.95.customer.cdi.no] has joined #lisp 10:31:49 -!- homie [~levgue@xdsl-78-35-164-194.netcologne.de] has quit [Ping timeout: 245 seconds] 10:33:03 answer_42 [~answer_42@gateway/tor-sasl/answer42/x-66983568] has joined #lisp 10:33:48 stlifey [~stlifey@116.19.143.214] has joined #lisp 10:35:48 jtza8 [~jtza8@196-210-195-194.dynamic.isadsl.co.za] has joined #lisp 10:36:38 -!- ahinki_ [~ahinki@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120501201020]] 10:41:07 -!- Guest50216 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 10:42:43 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 10:44:48 n1tn4tsn0k [~nitnatsno@adsl-90-150-20-62.nojabrsk.ru] has joined #lisp 10:47:57 jfleming [~jfleming@46.243.25.78] has joined #lisp 10:49:55 -!- Radium_ [~rajesh.na@117.203.12.17] has quit [] 10:50:48 Joreji_ [~thomas@vpn-eu2.unidsl.de] has joined #lisp 10:51:04 BigHugeDog [~QQ@218.58.12.207] has joined #lisp 10:52:07 cymew [~cymew@fw01d.snowmen.se] has joined #lisp 10:54:08 -!- vervic [~vervic@vie-078-142-134-236.dsl.sil.at] has quit [Ping timeout: 265 seconds] 10:55:18 wbooze [~wbooze@xdsl-87-79-194-136.netcologne.de] has joined #lisp 10:56:53 -!- a7p [a7p@9.83.238.89.in-addr.arpa.manitu.net] has quit [Remote host closed the connection] 10:58:12 Euthydemus [~euthydemu@h77-53-198-146.dynamic.se.alltele.net] has joined #lisp 10:58:21 -!- Euthydemus [~euthydemu@h77-53-198-146.dynamic.se.alltele.net] has quit [Changing host] 10:58:21 Euthydemus [~euthydemu@unaffiliated/euthydemus] has joined #lisp 10:59:39 -!- chu [~mathew.ba@CPE-124-176-25-97.lns2.dea.bigpond.net.au] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:01:37 a7p [a7p@9.83.238.89.in-addr.arpa.manitu.net] has joined #lisp 11:03:54 harish [~harish@cm50.beta157.maxonline.com.sg] has joined #lisp 11:05:19 -!- snearch [~snearch@f053008189.adsl.alicedsl.de] has quit [Quit: Verlassend] 11:05:33 -!- Joreji [~thomas@u-0-021.vpn.rwth-aachen.de] has quit [Read error: No route to host] 11:08:54 -!- ramkrsna [ramkrsna@nat/redhat/x-iaabbhuntrkpddte] has quit [Ping timeout: 245 seconds] 11:11:57 nialo` [~nialo@ool-182d5684.dyn.optonline.net] has joined #lisp 11:12:48 -!- nialo- [~nialo@ool-182d5684.dyn.optonline.net] has quit [Ping timeout: 252 seconds] 11:13:16 -!- echo-area [~user@182.92.247.2] has quit [Ping timeout: 256 seconds] 11:13:37 -!- ski_ [~slj@c80-216-142-165.bredband.comhem.se] has quit [Ping timeout: 250 seconds] 11:13:39 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 11:17:08 -!- Joreji_ [~thomas@vpn-eu2.unidsl.de] has quit [Ping timeout: 240 seconds] 11:17:13 Joreji [~thomas@vpn-eu2.unidsl.de] has joined #lisp 11:17:32 -!- springz [~springz@74.117.61.132] has quit [Read error: Connection reset by peer] 11:21:36 -!- Joreji [~thomas@vpn-eu2.unidsl.de] has quit [Ping timeout: 252 seconds] 11:23:01 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 11:23:06 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 11:24:44 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 11:24:47 -!- xristos is now known as Guest78264 11:25:19 ahinki [~ahinki@212.99.10.150] has joined #lisp 11:27:17 ramkrsna [ramkrsna@nat/redhat/x-gbfgdsdvysjvmque] has joined #lisp 11:29:59 alexandria should add nested-condition class, with corresponding sugar that makes writing code equivalent to java catch (Exception causedBy) { throw new CantDoSomethingException("Can't do it Dave", causedBy); } 11:30:05 easier 11:30:34 coz now everyone has to add their own exception with their own :caused-by slot.. 11:35:06 -!- Guest78264 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 11:35:42 -!- teiresia1 is now known as teiresias 11:35:47 springz [~springz@116.231.109.177] has joined #lisp 11:35:50 -!- Beetny [~Beetny@ppp118-208-104-152.lns20.bne4.internode.on.net] has quit [Ping timeout: 272 seconds] 11:35:50 -!- teiresias [~teiresias@99-177-241-137.lightspeed.moblal.sbcglobal.net] has quit [Changing host] 11:35:50 teiresias [~teiresias@archlinux/trusteduser/teiresias] has joined #lisp 11:36:03 pnq [~nick@ACA25648.ipt.aol.com] has joined #lisp 11:36:43 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 11:46:28 nanoc [~conanhome@201-251-62-201.static.speedy.com.ar] has joined #lisp 11:49:56 -!- dim [~dim@prometheus.naquadah.org] has left #lisp 11:52:07 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 11:53:30 -!- springz [~springz@116.231.109.177] has quit [Quit: Ex-Chat] 11:53:32 francisl [~flavoie@bas1-montreal48-1176172815.dsl.bell.ca] has joined #lisp 11:53:43 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 11:53:48 -!- stepnem [~stepnem@176.119.broadband10.iol.cz] has quit [Ping timeout: 245 seconds] 11:54:50 ignas__ [~ignas@ctv-79-132-160-221.vinita.lt] has joined #lisp 11:55:59 dim [~dim@prometheus.naquadah.org] has joined #lisp 11:56:12 ledai [~lda@136.Red-83-42-45.dynamicIP.rima-tde.net] has joined #lisp 11:56:41 -!- Kenjin [~josesanto@2.80.241.192] has quit [Quit: Computer has gone to sleep] 11:57:38 -!- kushal [kdas@fedora/kushal] has quit [Ping timeout: 260 seconds] 11:57:39 -!- francisl [~flavoie@bas1-montreal48-1176172815.dsl.bell.ca] has quit [Ping timeout: 245 seconds] 12:01:37 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 12:03:13 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 12:05:17 apathor [~apathor@c-24-218-104-106.hsd1.ma.comcast.net] has joined #lisp 12:05:44 stepnem [~stepnem@176.119.broadband10.iol.cz] has joined #lisp 12:05:48 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 12:07:53 Jeanne-Kamikaze [~Jeanne-Ka@29.Red-88-11-20.dynamicIP.rima-tde.net] has joined #lisp 12:08:46 francogrex [franco@grex.cyberspace.org] has joined #lisp 12:09:16 because I couldn't manage to install lisp on android, I am using Pascal now :( *depressed* 12:09:23 -!- apathor [~apathor@c-24-218-104-106.hsd1.ma.comcast.net] has left #lisp 12:09:45 not java and not c? 12:10:20 you could be using C# with mono for android, you know... 12:10:29 franco: Use SL4A. 12:10:31 I think there's a CL implementation for mono, too 12:10:33 Or you could use Scheme.. 12:10:38 Or implement Lisp. 12:10:50 or you could try harder and actually install cl 12:10:57 Compile it to javascript. :) 12:10:59 http://xamarin.com/monoforandroid and http://code.google.com/p/uabcl/ 12:11:09 stassats: the future of java on android is uncertain 12:11:18 -!- kilon [~kvirc@178.59.17.196] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 12:11:31 gensym: there is no java on android 12:12:16 -!- [SLB] [~slabua@unaffiliated/slabua] has quit [Quit: Close the world, Open the nExt] 12:12:34 -!- Posterdati [~tapioca@host75-208-dynamic.11-87-r.retail.telecomitalia.it] has quit [Ping timeout: 272 seconds] 12:12:37 kushal [kdas@nat/redhat/x-jgohynpvbregqvui] has joined #lisp 12:12:37 -!- kushal [kdas@nat/redhat/x-jgohynpvbregqvui] has quit [Changing host] 12:12:37 kushal [kdas@fedora/kushal] has joined #lisp 12:13:11 dim: oh, I though uabcl would be a port, it seems it just uses IKVM to run ABCL. 12:14:09 ouch, didn't spot that, thanks for the info 12:16:07 right javascript I haven't thought of that... *even more depressed now*; eventually I'll compile ecl there but until then... 12:16:20 francogrex: What implementation did you try to install? 12:16:41 I think CCL claims to work on ARMs. 12:16:51 I need a lisp to install on Pandora too. 12:17:16 the thing is not the lisp itself, the phone that I have is the problem, I'm stuck with it now 12:18:18 but really it's more for fun than anything else, I don't think a real programmer will be doing his serious stuff on a phoen 12:18:27 phone 12:18:46 A phone-y programmer might. 12:18:50 *borkman* rimshots 12:18:57 kpal [~kpal@janus-nat-128-240-225-120.ncl.ac.uk] has joined #lisp 12:19:08 -!- MoALTz [~no@host-92-8-235-83.as43234.net] has quit [Ping timeout: 240 seconds] 12:20:18 well, soon Ubuntu will be on the phone 12:20:32 "soon" 12:21:35 (http://www.ubuntu.com/devices/android) 12:25:17 is there a format stanza to only take an argument depending on the previous arg's being a generalized true boolean? 12:25:33 format has no stanzas 12:25:46 Posterdati [~tapioca@host223-230-dynamic.16-87-r.retail.telecomitalia.it] has joined #lisp 12:25:56 ok, look up docs, directive? 12:26:09 peterhil [~peterhil@gatekeeper.brainalliance.com] has joined #lisp 12:26:10 ~[ 12:26:34 thx 12:26:45 ~:[~;...~] 12:26:48 MoALTz [~no@host-92-8-159-204.as43234.net] has joined #lisp 12:28:56 ~@[,~] apparently, to output a comma only when arg is true 12:29:03 iocor [~textual@unaffiliated/iocor] has joined #lisp 12:29:38 that's not what you asked 12:30:15 yes I was confused 12:30:26 dim: but yes, ~[ is what you want 12:30:35 reading the docs helped me, and H4ns helped me find the right parts of the docs to read 12:30:43 (format sql "('~a', ~d)~@[,~]" key value (not full)) 12:30:45 *H4ns* takes all credit 12:30:58 *H4ns* smeels sql injections 12:31:19 that allows formating a VALUES sql clause with some data and add the coma only if not closing a "batch" 12:31:42 H4ns: data comes from another existing PG database and I'm the only user of the script 12:31:52 dim: famous last words 12:32:31 why don't you use postmodern then? 12:32:35 it's internal re-hashing of things, and nobody here would ever consider doing CL 12:32:40 stassats: I do. 12:32:58 then why do you use format? 12:33:28 -!- nipra [~nipra@125.20.84.54] has quit [Ping timeout: 252 seconds] 12:33:28 why not? 12:34:24 -!- stlifey [~stlifey@116.19.143.214] has quit [Quit: WeeChat 0.3.7] 12:34:32 all I saw in postmodern to insert values was working with a single row at a time, I'm inserting 10000 rows at a time here 12:34:53 because postmodern provides a convenient query language, which also prevents injections 12:35:08 I actually do like sql 12:35:22 and I actually should read more of the postmodern docs 12:35:29 it is sql 12:35:42 how can i get rid of "deleting unused function" notices in sbcl? 12:36:15 (declare (sb-ext:muffle-conditions sb-ext:code-deletion-note)) 12:36:22 *stassats* has a deja vu 12:36:39 stassats: yes. i've scrolled up to copy that, but it does not help :) 12:36:43 that's why i asked again. 12:36:59 paste code? 12:37:41 http://paste.lisp.org/display/129390 12:38:31 doesn't look like a can compile it 12:38:43 it doesn't even have matching parenthesis 12:38:58 i hoped it was an obvious mistake on my side, wait. 12:39:32 H4ns: (declare (ignorable #'element #'copy-element)) 12:40:01 because that's not exactly code deletion not 12:40:10 ah, ok. thanks! 12:40:23 and it's standard 12:40:37 right. and it works, too! :) thanks again 12:40:50 -!- varjag [~eugene@122.62-97-226.bkkb.no] has quit [Quit: Leaving] 12:45:33 vervic [~vervic@e215-102.eduroam.tuwien.ac.at] has joined #lisp 12:45:33 -!- vervic [~vervic@e215-102.eduroam.tuwien.ac.at] has quit [Client Quit] 12:46:10 vervic [~vervic@e215-102.eduroam.tuwien.ac.at] has joined #lisp 12:47:10 -!- vervic [~vervic@e215-102.eduroam.tuwien.ac.at] has quit [Client Quit] 12:47:30 -!- kpal [~kpal@janus-nat-128-240-225-120.ncl.ac.uk] has quit [Remote host closed the connection] 12:48:50 [SLB] [~slabua@host33-161-dynamic.11-87-r.retail.telecomitalia.it] has joined #lisp 12:48:50 -!- [SLB] [~slabua@host33-161-dynamic.11-87-r.retail.telecomitalia.it] has quit [Changing host] 12:48:50 [SLB] [~slabua@unaffiliated/slabua] has joined #lisp 12:49:27 -!- MoALTz [~no@host-92-8-159-204.as43234.net] has quit [Quit: bbl] 12:49:49 -!- manahino [~manahino@softbank126108006128.bbtec.net] has quit [Read error: Connection reset by peer] 12:49:58 manahino [~manahino@softbank126108006128.bbtec.net] has joined #lisp 12:50:07 Joreji_ [~thomas@ht-210.humtec.rwth-aachen.de] has joined #lisp 12:54:23 francogrex: fwiw, javascript is probably less pain than pascal. and with enyojs + phonegap it should run on multiple phones... it's probably not even that hard to generate the enyo code from parenscript in a remotely nice fashion (it's relatively simple in javascript, so the translation should be too). 12:57:18 madnificent: that's exactly what I had in mind : parenscript and I was just installing phonegap before I read your message :) 12:57:34 :D 12:58:40 francogrex: are you going to go the enyojs route too? 12:59:05 -!- ledai [~lda@136.Red-83-42-45.dynamicIP.rima-tde.net] has quit [Ping timeout: 260 seconds] 13:01:36 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 13:01:45 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 13:01:50 I'm thinking yes 13:02:10 -!- xristos is now known as Guest15769 13:03:53 slyrus_ [~chatzilla@99-28-161-110.lightspeed.miamfl.sbcglobal.net] has joined #lisp 13:05:39 francogrex: i have some setup laying around which i use as a basis for my tryout projects. 13:06:20 -!- sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Read error: Connection reset by peer] 13:06:22 sellout1 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #lisp 13:06:37 -!- Guest15769 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 13:08:10 -!- sellout1 is now known as sellout 13:08:13 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 13:10:56 ikki [~ikki@187.193.157.109] has joined #lisp 13:16:45 -!- Fullmoon [~Fullmoon@dsl-stat-43-17.mmc.at] has quit [Quit: Fullmoon] 13:18:26 -!- ignas__ [~ignas@ctv-79-132-160-221.vinita.lt] has quit [Quit: Ex-Chat] 13:18:40 ignas__ [~ignas@ctv-79-132-160-221.vinita.lt] has joined #lisp 13:20:12 sacho [~sacho@95-42-96-143.btc-net.bg] has joined #lisp 13:20:46 -!- gko [~gko@220.228.255.204] has quit [Ping timeout: 256 seconds] 13:21:04 dardoria [~boiantz@92-247-214-154.spectrumnet.bg] has joined #lisp 13:21:06 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 13:21:12 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 13:21:25 -!- ramkrsna [ramkrsna@nat/redhat/x-gbfgdsdvysjvmque] has quit [Ping timeout: 248 seconds] 13:22:25 ramkrsna [ramkrsna@nat/redhat/x-iyknqnnjzklvwpfn] has joined #lisp 13:23:08 -!- Joreji_ [~thomas@ht-210.humtec.rwth-aachen.de] has quit [Ping timeout: 240 seconds] 13:24:04 -!- ignas__ is now known as ignas 13:24:21 kilon [~kilon@188.4.85.7.dsl.dyn.forthnet.gr] has joined #lisp 13:26:26 francisl [~flavoie@199.84.164.114] has joined #lisp 13:27:58 -!- francogrex [franco@grex.cyberspace.org] has quit [Quit: ERC Version 5.1.2 $Revision: 1.796.2.4 $ (IRC client for Emacs)] 13:29:39 xjiujiu [~quassel@218.77.14.195] has joined #lisp 13:29:43 -!- ramkrsna [ramkrsna@nat/redhat/x-iyknqnnjzklvwpfn] has quit [Read error: Operation timed out] 13:30:01 -!- lemoinem [~swoog@216.252.94.203] has quit [Remote host closed the connection] 13:30:21 lemoinem [~swoog@216.252.94.78] has joined #lisp 13:31:05 samebchase [samuel@pi.nipl.net] has joined #lisp 13:31:31 is there a faster way to prepare a string in chunks than make-string-output-stream then a bunch of format and finally get-output-stream-string? 13:32:08 doing that for only 187755 is slow here. 13:33:48 define "prepare a string in chunks"? 13:34:08 -!- kushal [kdas@fedora/kushal] has quit [Ping timeout: 240 seconds] 13:34:56 dangling-pointer [~user@gateway/tor-sasl/ccomendant] has joined #lisp 13:35:09 dim: bind *PRINT-PRETTY* to NIL around calls to FORMAT? 13:35:28 will try later I have to move, but that's an idea yes 13:35:51 depending on how much you know about the output you could copy it directly to a vector 13:36:17 or directly send it to the socket rather than consing up huge strings in the first place 13:36:21 without knowing more than bunch-of-format it's hard to say 13:36:39 H4ns: I have it in a hash-table that I walk with with-hash-table-iterator 13:36:52 walking it I construct the SQL string then send it over 13:37:41 this is SQL? are you not using binds? 13:37:46 the speed of constructing an SQL query string is slow? 13:38:03 jdz: sbcl is consuming all the CPU, yes 13:38:04 -!- Jeanne-Kamikaze [~Jeanne-Ka@29.Red-88-11-20.dynamicIP.rima-tde.net] has quit [Ping timeout: 272 seconds] 13:38:05 -!- Guest__ [863a2937@gateway/web/freenode/ip.134.58.41.55] has left #lisp 13:38:58 so, I have to go, I will re-read postmodern docs in case it has something to offer given a table and an hashtable to insert the data in there, but it seemed quite specific (key -> value becomes col1, col2) 13:39:08 anyhow, see you all :) 13:41:43 -!- kilon [~kilon@188.4.85.7.dsl.dyn.forthnet.gr] has quit [Ping timeout: 245 seconds] 13:42:09 did anybody integrated iolib:event-handler with cl+ssl ? 13:42:19 *integrate 13:42:19 rme [~rme@50.43.135.251] has joined #lisp 13:42:52 -!- Ragnaroek [~chatzilla@boccacio.fh-trier.de] has quit [Remote host closed the connection] 13:43:46 ramkrsna [ramkrsna@nat/redhat/x-tnptqtxqlpbhzylt] has joined #lisp 13:44:18 Ragnaroek [~chatzilla@boccacio.fh-trier.de] has joined #lisp 13:44:55 -!- shifty [~user@114-198-37-54.dyn.iinet.net.au] has quit [Remote host closed the connection] 13:45:00 kilon [~kilon@77.49.250.103.dsl.dyn.forthnet.gr] has joined #lisp 13:45:17 kiuma: use a tls unwrapper: https://github.com/bumptech/stud/ 13:46:56 shifty [~user@114-198-37-54.dyn.iinet.net.au] has joined #lisp 13:47:07 fe[nl]ix, hello I remember your suggestion I was just wondering if a "pure" lisp solution would be possible. But maybe you are right since the effort isn't worth 13:47:37 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 13:47:44 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 13:49:42 just a suggestion if possible: does it make sense to add fastcgi support and reverse proxy ? 13:49:49 -!- huangjs [~huangjs@190.8.100.83] has quit [Read error: Operation timed out] 13:50:15 to my http server I mean 13:52:28 kiuma: as you are the only user, you need to decide that yourself 13:54:09 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #lisp 13:55:07 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 13:55:12 kiuma: it's also rather common today to use an http proxy frontend such as nginx/lighttpd and talk HTTP all the way 13:56:19 Kenjin [~josesanto@bl22-64-78.dsl.telepac.pt] has joined #lisp 13:56:44 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 13:57:08 with fast networks and http 1.1 keep-alive fastcgi is not as important as it once used to be 13:57:50 it might still help on very loaded infrastructure 13:58:35 what do you mean ? even if there is a keep-alive connection I'd still start a 'fresh' process 13:58:57 with fastcgi the process is already started 13:59:12 hmm that would be a problem with the httpd then, which I don't know how fastcgi would solve 13:59:43 kiuma: why use cgi if you can use http? do you have a use case that requires you to use cgi? 14:00:19 H4ns, I could have the need to run some php script 14:01:00 kiuma: then use apache for php scripts, and a lisp http server for lisp handlers. locate everything behind a caching proxy, problem solved. 14:01:05 kiuma: then use mod_php + mod_proxy 14:01:10 then perhaps that a long-running php-fastcgi process could help 14:01:34 kiuma: that is how many deployments work today. the days where apache was pretty much assumed everywhere are over. 14:01:37 I'd also use apache for php myself 14:03:31 So for you the most obvious way is to use httpd or nginx or lighthttpd in front of everything (or a caching proxy) 14:04:00 kiuma: yes. that is the state of the art. 14:04:02 then your lisp httpd can serve lisp-handled dynamic requests efficiently via http 14:04:23 -!- loke [~elias@bb115-66-85-121.singnet.com.sg] has quit [Remote host closed the connection] 14:04:27 cheier [~chris@64.129.86.8] has joined #lisp 14:05:01 kiuma: of course, there are applications where an absolute minimum latency is required, but these applications are rare, and best served by special purpose solutions. 14:05:28 -!- anonus [anonymous@2a01:7e00::f03c:91ff:fedf:2cc7] has left #lisp 14:06:34 Good morning, lisps. So, I have a quite serious question. I seem to be a perpetual Lisp dilettante, but I've decided to finish a couple books. I'm reading Land of Lisp and I'm horrified by this notion of push/assoc, which Barski says is a "common technique used by Lispers". Is this the case, or is it some crazed fringe thinking? The idea of writing code that happily grows ever-slower and is by definition leaking memory horrifies me. 14:07:23 ChibaPet_: then don't do it. 14:07:40 where would you start, if you were gonna create a basic common-lisp interpreter ? 14:07:41 BeWhy [~chatzilla@c-76-124-138-194.hsd1.pa.comcast.net] has joined #lisp 14:07:45 Oh, I don't plan to, but I want to know if this practise is culturally accepted, and if there are other things that treat resources as unlimited. 14:07:47 -!- kiuma [~kiuma@static-217-133-17-91.clienti.tiscali.it] has quit [Read error: Operation timed out] 14:07:54 a clean one.... 14:08:10 ChibaPet_: to be honest i personally have no clue what practice you're talking about 14:08:30 aim-8 ? 14:08:49 wbooze: aim-8? common lisp? 14:09:00 jdz: Take an association list ((foo bar) (baz qux)) and push (baz zing) onto the front so that assoc now finds zing instead of qux. 14:09:15 Leave the (baz qux) hanging out forever. 14:09:18 ChibaPet_: where is the "slow"? where is the "leak"? 14:09:21 ChibaPet_: that's a cool feature of lists 14:09:50 rmarianski [~rmariansk@mail.marianski.com] has joined #lisp 14:09:56 The "slow" is that each search has potentially more items to traverse. The "leak" is that you're perpetually accumulating garbage that will never be released. 14:10:19 ChibaPet_: i don't see how it makes "more items to traverse" 14:10:39 ChibaPet_: sure, it has more items to traverse if you keep adding more stuff to the alist. 14:10:51 ChibaPet_: it is something you can do if it is convenient. it sometimes is. 14:10:54 So, let's say (foo bar) never changes. If you search for it, you have some indefinite number of new (baz whatever) items to traverse before you get to it. 14:11:02 ChibaPet_: also, that technique is usually used in recursive calls, where an augmented alist/plist is passed down the recursive chain 14:11:41 ChibaPet_: maybe. The pattern is useful when the performance of adding entries while also keeping previous versions around is crucial, or the performance of searches is a non-issue. 14:11:51 kiuma [~kiuma@static-217-133-17-91.clienti.tiscali.it] has joined #lisp 14:11:53 I can envision it being used in recursive calls where there's some definite end at which the list will stop growing, and perhaps then be discarded. 14:12:01 ok, you have conviced me. On the other side I can glue thigs together so that one day I could always add fcgi and proxy support . The funny thing is that I had a working and fast server, but code was really crappy so now I've a lot of sippets scattered around and I'm patiently refactoring my code 14:12:42 ChibaPet_: ... it stops growing when you don't shove more things on it. You can have the same property without recursion. 14:12:49 I guess the other thing I don't know for sure is the cost of using a hash instead, or of mutating the item you return from assoc. 14:13:08 ChibaPet_: there is nothing that beats a measurement 14:13:10 chu [~mathew.ba@CPE-124-176-25-97.lns2.dea.bigpond.net.au] has joined #lisp 14:13:11 ChibaPet_: copying a hash table is O(# entries). 14:13:12 Mutating the item seems the most natural thing to do, but I'm trying to keep an open mind, hence my asking here. :P 14:13:18 Copying an alist is O(1). 14:13:33 Pupeno_W_ [~pupeno@host217-34-41-187.in-addr.btopenworld.com] has joined #lisp 14:13:52 er, O(n)? 14:13:53 pkhuong: Copying, or adding to? 14:13:56 ChibaPet_: i'd recommend that you just try things out. sometimes, the cost of creating a hash table is higher than just consing up an alist and then looking up things by linear search 14:13:56 ChibaPet_: that technique is usually used when upon returning from a recursive call one wants the previous value to be restored 14:14:04 ChibaPet_: copying. 14:14:17 Copying an alist would be O(n) then. 14:14:20 dlowe: no, if you use the alist right (push/assoc), it's purely functional. 14:14:38 -!- dropster [~Kim@port284.ds1-oebr.adsl.cybercity.dk] has left #lisp 14:14:42 Adding to it, id est, adding a new cons that points to the existing list, would be O(1). 14:14:52 -!- kiuma [~kiuma@static-217-133-17-91.clienti.tiscali.it] has quit [Client Quit] 14:15:06 ChibaPet_: nope. Just share tails, like passing around cons lists. 14:15:12 kiuma: also, the fastest proxies tend to be single-process/thread I/O-only bound, using an OS-specific efficient polling system (the way nginx/lighttpd work already), those can proxy to lisp or php backend application servers 14:15:14 I don't know how hash tables tend to be implemented, but I can imagine that being O(n). 14:15:30 Right, the tail-sharing doesn't suggest copying to me, I'm saying. 14:15:31 oops he left... 14:15:33 Joreji_ [~thomas@68-219.eduroam.rwth-aachen.de] has joined #lisp 14:15:41 pkhuong: that doesn't hold for deleting alist elements 14:16:02 dlowe: Well, that's just it. We're talking about a mode wherein we're not mutating the alist at all. 14:16:04 -!- Pupeno_W [~pupeno@87-194-65-126.bethere.co.uk] has quit [Ping timeout: 272 seconds] 14:16:04 -!- Pupeno_W_ is now known as Pupeno_W 14:16:04 dlowe: (acons key :unbound alist). 14:16:15 pkhuong: gotcha 14:16:48 dlowe: or jst implement shallow binding around regular hash tables and get most of the best of both worlds. 14:16:53 acons, looking that up (see above, "dilettante") 14:18:32 -!- answer_42 [~answer_42@gateway/tor-sasl/answer42/x-66983568] has quit [Remote host closed the connection] 14:18:54 answer_42 [~answer_42@gateway/tor-sasl/answer42/x-66983568] has joined #lisp 14:19:20 ChibaPet_: I can have an alist where A is mapped to 1, and then a different alist where A is mapped to 2? That's copying. It just so happens that the only thing there is to copy is a pointer. 14:19:22 minion: chant 14:19:23 MORE DEBUTANTES 14:19:36 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 14:19:47 dilettante, whatever 14:19:57 close enough 14:20:30 occasionally there's overlap, I suppose 14:20:31 -!- Joreji_ [~thomas@68-219.eduroam.rwth-aachen.de] has quit [Ping timeout: 265 seconds] 14:21:14 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 14:21:18 -!- xristos is now known as Guest81934 14:22:49 xyxu [~xyxu@61.171.42.155] has joined #lisp 14:24:40 -!- prip [~foo@host149-124-dynamic.35-79-r.retail.telecomitalia.it] has quit [Read error: Operation timed out] 14:24:41 kushal [~kdas@114.143.164.132] has joined #lisp 14:24:41 -!- kushal [~kdas@114.143.164.132] has quit [Changing host] 14:24:41 kushal [~kdas@fedora/kushal] has joined #lisp 14:26:16 -!- chu [~mathew.ba@CPE-124-176-25-97.lns2.dea.bigpond.net.au] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:27:07 -!- Guest81934 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 14:27:20 -!- BeWhy [~chatzilla@c-76-124-138-194.hsd1.pa.comcast.net] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120423130206]] 14:29:24 -!- manahino [~manahino@softbank126108006128.bbtec.net] has quit [Read error: Connection reset by peer] 14:30:50 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 14:31:14 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 14:31:22 -!- dangling-pointer [~user@gateway/tor-sasl/ccomendant] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:32:15 S11001001 [~sirian@fsf/member/S11001001] has joined #lisp 14:33:33 H4ns: your idea to skip format and directly fill-in the data in the protocol is pretty interesting, any hint on how to achieve that with postmodern? would you hijack its public API or am I missing something obvious? :) 14:33:34 -!- dardoria [~boiantz@92-247-214-154.spectrumnet.bg] has left #lisp 14:35:05 dim: i don't know if postmodern makes the network stream available to applications. 14:35:08 -!- pnq [~nick@ACA25648.ipt.aol.com] has quit [Ping timeout: 240 seconds] 14:35:21 ccomendant [~user@gateway/tor-sasl/ccomendant] has joined #lisp 14:36:04 -!- ccomendant [~user@gateway/tor-sasl/ccomendant] has left #lisp 14:36:36 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 14:37:32 it does not apparently, neither does cl-postgres 14:37:35 prip [~foo@host117-121-dynamic.47-79-r.retail.telecomitalia.it] has joined #lisp 14:37:42 (one of postmodern internal packages) 14:38:03 dim: that should not necessarily stop you 14:38:11 so, is format known to be dog slow? if not, it's in my hands to optimize my little bunch of code 14:38:13 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 14:38:22 dangling-pointer [~user@gateway/tor-sasl/ccomendant] has joined #lisp 14:38:25 H4ns: I don't want to be editing any lib I'm using (yet) 14:38:38 dim: is this for actual sql syntax or data? e.g., VALUES of INSERT, or WHERE parameters, etc 14:38:56 it's still my n00b journey here and I don't want to think I have to write it all myself each when using CL 14:39:15 (yes that's an exageration that could be read as a troll, sorry about that) 14:39:32 if you're splicing together SQL statements that sounds like something you sholudn't be doing enough for it to matter 14:39:34 oGMo: VALUES (text, int) * 10000, in a loop 14:39:40 dim: if the speed of format is slowing down your queries, then you're doing something wrong 14:39:42 dim: your next phase will be "ah, i hate this lib, let me write a better one real quick" 14:39:50 ~180000 entries in the hash table for current test, 33e6 expected 14:39:52 dim: you should be using binds, which should do that for you 14:39:53 dim: and on the sad side, you'll feel success often. 14:40:12 H4ns: real quick. remember trivial-temporary-file? :) 14:40:18 not only is building the data into the SQL statement slow on the lisp side, it's horribly inefficient on the DB side 14:40:49 values is quite good and postmodern has no support for copy from, which I would be using if it had 14:41:14 I could finish the patch for copy from support that H4ns pointed me too and only target lispworks, but that means finishing trivial-temporary-file first 14:41:17 i mean using VALUES (?, ?) or :1 :2 14:41:18 dim: i'm not talking about my phase, but your's, as a noob. i'm in the "oh well, it takes a long time to do things really well" phase 14:41:38 H4ns: oh, I might not be that of a n00b :) 14:41:56 dim: the temporary file library will be merged with cl-fad at some point. for the moment, you can use it from my github. 14:42:11 -!- homie` [~levgue@xdsl-87-79-194-136.netcologne.de] has quit [Read error: Connection reset by peer] 14:42:12 oh it made its way in there? cool 14:43:06 postmodern appears to use $1 $2 ... 14:43:34 what I've read about that technique would mean I would call a function with 10000 arguments 14:43:51 what? no 14:44:07 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 14:44:27 you prepare "insert into blah values ($1, $2)" and get a function, then you call that 10k times with each pair 14:44:34 homie` [~levgue@xdsl-87-79-194-136.netcologne.de] has joined #lisp 14:44:47 ivan-kanis [~user@89.83.137.164] has joined #lisp 14:44:51 it's very efficient on the db side, especially if you do it in reasonable blocks of transactions 14:44:51 33 million times then 14:45:03 dim: if you're doing a massive data load, this is NOT the way 14:45:03 I'm doing 10000 items per call now 14:45:15 COPY IN is the way, I know, it's *not* in postmodern 14:45:22 if you have that much data to load, use the pgsql admin tools to do a data load on the server side 14:45:25 http://www.depesz.com/2007/07/05/how-to-insert-data-to-database-as-fast-as-possible/ 14:45:33 insert/values comes not that far from it though 14:45:41 -!- ahinki [~ahinki@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120501201020]] 14:45:42 dim: it's horribly far from it 14:45:44 xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 14:46:26 oGMo: I won't repeat the whole story, but the data comes from 256 other databases and I aggregate it in memory in CL in a 33 million entries hash-table then process it then re-shard it 14:46:27 copy in (or another tool) takes a file on the server side and loads it directly 14:46:31 no 14:47:05 copy takes the data from the protocol, the copy command takes it from a file on the server, \copy in psql from a file on the client, copy from stdin is also possible, etc 14:47:26 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Quit: Konversation terminated!] 14:47:50 in libpq there's copy from support for the protocol, postmodern implements the protocol for itself and is not implementing the copy protocol 14:47:54 dim: why don't you dump it into a file, and then use psql commandline to load it? 14:48:17 then there is another tool that should do similarly 14:48:35 jdz: because I want to learn CL? :) 14:49:19 -!- cymew [~cymew@fw01d.snowmen.se] has quit [Ping timeout: 245 seconds] 14:49:26 dim: did you try binding *print-pretty*? 14:49:31 -!- kuzary [~who@gateway/tor-sasl/kuzary] has quit [Ping timeout: 276 seconds] 14:49:31 stassats` [~stassats@wikipedia/stassats] has joined #lisp 14:49:41 dim: i don't see where your performance problems are coming from 14:50:03 TimKack` [~user@c-2ec20125-74736162.cust.telenor.se] has joined #lisp 14:50:07 kuzary [~who@gateway/tor-sasl/kuzary] has joined #lisp 14:50:10 ynniv [~ynniv@c-76-23-252-81.hsd1.ct.comcast.net] has joined #lisp 14:50:17 I don't know either and find it interesting to investigate a little on that 14:50:28 http://www.postgresql.org/docs/9.1/interactive/populate.html 14:50:38 antgreen [~user@bas3-toronto06-1177890281.dsl.bell.ca] has joined #lisp 14:50:52 generally if you running a lot of insert statements 14:50:57 you get killed on round-trips 14:51:05 if you're just doing this as an exercise then it's not really practical or realistic, so 14:51:10 oGMo: I know PostgreSQL quite pretty well already, I know about copy, I wrote pgloader 14:51:12 that is why any database API has some kind of batch update thing 14:51:46 I did want to avoid having to add support for COPY FROM in postmodern just to complete this one off script, and I want to know why that bunch of format calls is that slow 14:51:53 Orace since 9g OCI is actually best, they implemented batch behind the scenes, so you can enable it by setting an option, and it will buffer all your inserts up to lets say 10k rows, then do them in 1 call 14:52:06 dim: if you're wanting to learn CL then just mashing up the data is most of it .. if you know pgsql then you should know doing it like you're suggesting is going to be slow :P 14:52:14 -!- TimKack [~user@c-2ec29d19-74736162.cust.telenor.se] has quit [Ping timeout: 245 seconds] 14:52:35 oGMo: I didn't expect the time to be spent mostly (90% of it at least) in CL doing format stuff, though 14:52:44 right api for right things... massive initial load of data is different case from insert a record here and there 14:53:45 dim: did you profile? is FORMAT really using all that cpu? 14:53:48 Euthydemus` [~euthydemu@unaffiliated/euthydemus] has joined #lisp 14:53:59 dim: also, did you try binding *print-pretty*? 14:54:03 if format is using all cpu, bind *print-pretty* nil, *print-circle* nil 14:54:04 Pupeno_W_ [~pupeno@87-194-65-126.bethere.co.uk] has joined #lisp 14:54:13 dim: you're doing multiple formats on what, 33 million strings? using format is probably not the quickest thing in the book etc 14:54:35 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Ping timeout: 260 seconds] 14:54:44 -!- Sidima [~Heli0s@46.44.144.100] has quit [Ping timeout: 245 seconds] 14:54:46 -!- jtza8 [~jtza8@196-210-195-194.dynamic.isadsl.co.za] has quit [Ping timeout: 248 seconds] 14:54:51 H4ns: hu.dwim.util.temporary-files seems to be in QL already, http://www.cliki.net/hu.dwim.util 14:55:10 -!- kushal [~kdas@fedora/kushal] has quit [Ping timeout: 260 seconds] 14:55:22 H4ns is anti-huean d 14:55:22 oGMo: that I want to know more about :) 14:55:23 jtza8 [~jtza8@196-210-195-194.dynamic.isadsl.co.za] has joined #lisp 14:55:34 -!- Pupeno_W [~pupeno@host217-34-41-187.in-addr.btopenworld.com] has quit [Ping timeout: 245 seconds] 14:55:34 -!- S11001001 [~sirian@fsf/member/S11001001] has quit [Disconnected by services] 14:55:34 -!- Pupeno_W_ is now known as Pupeno_W 14:55:48 dim: oh really? not that i'm using hu.dwim, but it is good to know anyway. 14:56:01 *maxm-* is somewhat too, due to super inter-connectedness of all their libs... 14:56:16 -!- AntiSpamMeta [~MetaBot@AntiSpamMeta/.] has quit [Remote host closed the connection] 14:56:22 *sykopomp* is a fan of Common Lisp, not Hungarian Lisp. 14:56:24 -!- Euthydemus [~euthydemu@unaffiliated/euthydemus] has quit [Ping timeout: 245 seconds] 14:56:36 (Hungarian Notation Lisp?) 14:56:36 is this a "guess what my code is" game? 14:57:02 AntiSpamMeta [~MetaBot@AntiSpamMeta/.] has joined #lisp 14:57:09 -!- xjiujiu [~quassel@218.77.14.195] has quit [Read error: Connection reset by peer] 14:57:23 ledai [~lda@136.Red-83-42-45.dynamicIP.rima-tde.net] has joined #lisp 14:57:34 sykopomp: more like bastardization 14:59:48 jasox [~jasox@178.239.26.130] has joined #lisp 15:00:35 iocor [~textual@unaffiliated/iocor] has joined #lisp 15:00:41 H4ns: was https://github.com/marijnh/Postmodern the repository containing the COPY support? 15:01:02 dim: s/marijnh/mcna/ 15:01:30 thx 15:01:40 H4ns: haven't made a pull request to marijnh? He's pretty responsive about pulling things into his repo. 15:01:58 gigamonkey [~gigamonke@adsl-99-2-149-102.dsl.pltn13.sbcglobal.net] has joined #lisp 15:02:01 sykopomp: no, because the copy support is allegro only 15:02:05 (so far) 15:02:08 :( lame 15:02:20 H4ns: hey I see you did commit things in there, didn't you add support for your temporary file lib? 15:02:43 dim: no. i've not added that to anything else. 15:03:32 anyway I'm running another test using that: 15:03:32 (format sql "~@[, ~]('~a', ~d)" (not first) key value) 15:03:46 fiveop [~fiveop@dslb-178-002-103-044.pools.arcor-ip.net] has joined #lisp 15:03:46 with *print-circle* and *print-pretty* bound to nil 15:03:50 we'll see 15:04:36 kiuma [~kiuma@static-217-133-17-91.clienti.tiscali.it] has joined #lisp 15:04:36 oh damn I got it wrong 15:04:59 when false the arg isn't consumed, hilarity ensues 15:05:27 when true, really 15:05:59 -!- mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has quit [Quit: Leaving] 15:06:11 (format nil "~:{('~A',~A)~:^,~}" '((a 2) (b 3) (c 4))) => "('a',2),('b',3),('c',4)" 15:06:25 dim: you may also want to set *print-case* as you want. 15:07:05 'k 15:07:18 (format sql "~:[, ~; ~]('~a', ~d)" first key value) 15:07:21 that should be it 15:07:36 stassats`` [~stassats@pppoe.95-55-188-131.dynamic.avangarddsl.ru] has joined #lisp 15:07:44 dim: (format sql "~:[~;, ~]('~a', ~d)" first key value) 15:07:46 dim: if you use a list of lists, you don't need to do the loop yourself. 15:07:56 -!- kilon [~kilon@77.49.250.103.dsl.dyn.forthnet.gr] has quit [Remote host closed the connection] 15:08:23 dim: and if you have 10,000 rows to insert, avoiding useless spaces can save you a lot of KB and/or packets 15:08:25 -!- gendl [~gendl@c-68-41-192-171.hsd1.mi.comcast.net] has quit [Quit: gendl] 15:08:54 -!- stassats` [~stassats@wikipedia/stassats] has quit [Ping timeout: 245 seconds] 15:09:08 -!- dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has quit [Ping timeout: 240 seconds] 15:10:10 (format sql "~:[, ~; ~]('~a', ~d)" first key value) 15:10:12 sorry 15:10:20 took 4,397,427 microseconds (4.397427 seconds) to run. 15:10:23 better now 15:10:28 for the whole 187000 lines 15:10:41 pjb: right that too 15:11:11 pjb: the data lives in a hash-table, I'm using with-hash-table-iterator to run through it now 15:11:18 mathrick_ [~mathrick@176.97.27.149] has joined #lisp 15:11:26 -!- ChibaPet_ is now known as ChibaPet 15:11:29 (I do have a first step of collecting data and updating the hash-table) 15:11:54 -!- ChibaPet [~ChibaPet@phlegethon.blisses.org] has quit [Changing host] 15:11:54 ChibaPet [~ChibaPet@fsf/member/chibapet] has joined #lisp 15:12:21 0.3s won without the spaces, good 15:13:03 -!- mathrick [~mathrick@176.97.27.149] has quit [Ping timeout: 260 seconds] 15:13:26 703s for the whole thing if that's linear, so let's say 15 mins 15:13:27 milanj [~milanj_@93-86-216-175.dynamic.isp.telekom.rs] has joined #lisp 15:13:27 that's ok 15:14:56 OliverUv [fuckident@valkyrie.underwares.org] has joined #lisp 15:17:16 kmcorbett [~kmcorbett@pool-70-22-217-21.bos.east.verizon.net] has joined #lisp 15:19:18 -!- joachifm_ is now known as joachifm 15:19:28 -!- Kenjin [~josesanto@bl22-64-78.dsl.telepac.pt] has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/] 15:19:51 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Textual IRC Client: http://www.textualapp.com/] 15:26:27 blackwolf [~blackwolf@ool-4575fc51.dyn.optonline.net] has joined #lisp 15:26:29 -!- jdz [~jdz@193.206.22.97] has quit [Quit: Byebye.] 15:28:37 -!- xristos_ [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 15:29:05 srcerer_ [~chatzilla@dns2.klsairexpress.com] has joined #lisp 15:29:08 -!- xyxu [~xyxu@61.171.42.155] has quit [Ping timeout: 240 seconds] 15:29:09 alvis` [~user@tx-184-6-180-2.dhcp.embarqhsd.net] has joined #lisp 15:29:25 -!- mrTapir [vutral@mirbsd/special/Vutral] has quit [Excess Flood] 15:29:44 -!- srcerer [~chatzilla@dns2.klsairexpress.com] has quit [Ping timeout: 245 seconds] 15:30:11 mirTapir [vutral@thinkbase.srv.welterde.de] has joined #lisp 15:30:13 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 15:30:17 -!- xristos is now known as Guest46872 15:30:34 -!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Ping timeout: 245 seconds] 15:30:34 -!- alvis [~user@tx-184-6-180-2.dhcp.embarqhsd.net] has quit [Ping timeout: 245 seconds] 15:33:29 -!- harish [~harish@cm50.beta157.maxonline.com.sg] has quit [Ping timeout: 245 seconds] 15:34:09 -!- Ragnaroek [~chatzilla@boccacio.fh-trier.de] has quit [Read error: Operation timed out] 15:34:41 mmm, had an error with SBCL, switched back to a "debug run" in slime using CCL, no error 15:34:42 nice. 15:34:53 kmcorbett1 [~kmcorbett@dhcp-140-247-179-53.fas.harvard.edu] has joined #lisp 15:34:59 -!- ramkrsna [ramkrsna@nat/redhat/x-tnptqtxqlpbhzylt] has quit [Quit: Leaving] 15:35:21 harish [~harish@cm50.beta157.maxonline.com.sg] has joined #lisp 15:35:31 what is nice? 15:35:37 sarcasm 15:35:45 Spion [~spion@unaffiliated/spion] has joined #lisp 15:35:53 so, would you paste the code and the error? 15:36:13 -!- fiveop [~fiveop@dslb-178-002-103-044.pools.arcor-ip.net] has quit [Read error: Operation timed out] 15:36:19 -!- mcsontos [mcsontos@nat/redhat/x-nmeayrhuuyqcmami] has quit [Quit: Leaving] 15:36:22 sorry, no error once I'm using SBCL and I didn't have any useful context to grok the SBCL error so I didn't keep it around 15:36:34 oh yes I have it 15:36:36 debugger invoked on a TYPE-ERROR in thread #: The value NIL is not of type (MEMBER :UPCASE :DOWNCASE :CAPITALIZE). 15:36:58 why did you set *print-case* to nil? 15:37:18 pjb told me to do that, I trust pjb 15:37:39 see where that got you 15:37:44 -!- kmcorbett [~kmcorbett@pool-70-22-217-21.bos.east.verizon.net] has quit [Ping timeout: 244 seconds] 15:38:05 and pjb didn't say that 15:38:20 -!- Spion_ [~spion@unaffiliated/spion] has quit [Ping timeout: 260 seconds] 15:38:23 -!- stassats`` [~stassats@pppoe.95-55-188-131.dynamic.avangarddsl.ru] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:38:45 oh indeed 15:41:52 -!- rme [~rme@50.43.135.251] has left #lisp