00:05:31 Salamander [~Salamande@ppp121-45-156-111.lns21.adl6.internode.on.net] has joined #lisp 00:06:20 -!- cheezus [~Adium@206-248-160-123.dsl.teksavvy.com] has quit [Quit: Leaving.] 00:07:30 -!- Jasko2 [~tjasko@64.211.82.253] has quit [Ping timeout: 276 seconds] 00:08:20 Jasko2 [~tjasko@64.211.82.253] has joined #lisp 00:09:18 TeMPOraL [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has joined #lisp 00:11:12 -!- z0d [~z0d@unaffiliated/z0d] has quit [Ping timeout: 276 seconds] 00:15:32 pjb thanks! i will take a note on that, and will use it in future. but for this particular task I'm not really sure if imagemagick is appropriate. as far as I can tell it can only edit image files. so I have to take several screenshots per second, to detect a change. 00:16:40 would be better if I could keep the screenshots in memory, instead of writing several images per second to a disk 00:17:56 zardoz8: there's a X server implemented in CL. You could then detect the changes more symbolically, ie. more efficiently. 00:18:09 ISF_ [~ivan@201.82.135.204] has joined #lisp 00:19:41 or use the XDamage extension to ask the x server directly 00:19:51 -!- tsanhwa [~user@2001:da8:8001:111:222:68ff:fe14:6de] has quit [Ping timeout: 260 seconds] 00:20:15 Evanescence [~chris@122.237.42.42] has joined #lisp 00:20:45 -!- Jasko [~tjasko@64.211.82.253] has quit [Ping timeout: 255 seconds] 00:20:47 -!- gor[e] [~svr@gw2.masterhost.ru] has quit [Quit: leaving] 00:21:01 -!- ISF [~ivan@201.82.135.204] has quit [Ping timeout: 250 seconds] 00:21:04 gor[e] [~svr@gw2.masterhost.ru] has joined #lisp 00:22:26 eudoxia [~eudoxia@r190-135-119-194.dialup.adsl.anteldata.net.uy] has joined #lisp 00:22:32 -!- eudoxia [~eudoxia@r190-135-119-194.dialup.adsl.anteldata.net.uy] has quit [Client Quit] 00:24:20 -!- xan_ [~xan@36.Red-83-39-139.dynamicIP.rima-tde.net] has quit [Quit: leaving] 00:32:06 DelPuerto [~youguy@240.pool85-56-66.dynamic.orange.es] has joined #lisp 00:32:15 xxxyyy [~xyxu@58.41.1.251] has joined #lisp 00:34:52 -!- bugQ [~bug@c-71-195-207-34.hsd1.ut.comcast.net] has quit [Ping timeout: 240 seconds] 00:35:04 -!- Evanescence [~chris@122.237.42.42] has quit [Quit: WeeChat 0.3.4] 00:36:39 RwarDoome [~resu@97.72.154.166] has joined #lisp 00:39:13 -!- pnq [~nick@172.129.18.144] has quit [Ping timeout: 258 seconds] 00:39:49 -!- DelPuerto [~youguy@240.pool85-56-66.dynamic.orange.es] has quit [Remote host closed the connection] 00:40:24 chu_ [~chu@CPE-58-165-253-149.lns1.civ.bigpond.net.au] has joined #lisp 00:43:09 -!- rtoym [~chatzilla@user-0c99ag2.cable.mindspring.com] has quit [Read error: Connection reset by peer] 00:44:18 nicdev [~nicdev@209-6-50-99.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #lisp 00:44:47 rtoym [~chatzilla@user-0c99ag2.cable.mindspring.com] has joined #lisp 00:48:48 -!- pferor [~user@unaffiliated/pferor] has quit [Ping timeout: 252 seconds] 00:49:52 just curious about how you guys use asdf. do you make all of your projects asdf packages, including programs, or only libraries ? 00:50:48 Everything. (At least when I decide to use asdf.) 00:51:21 when do you prefer not using it? 00:52:30 neoesque [~neoesque@210.59.147.232] has joined #lisp 00:53:51 btw seems that I can load packages either with (ql:quickload 'package) or (asdf:load-system 'package). not sure if there's any difference between the two 00:55:09 -!- gffa [~gffa@unaffiliated/gffa] has quit [Quit: sleep] 00:55:56 zardoz8: if the source code is less than 100 lines, I just use a single file with a defpackage on top 00:56:35 wintermute99 [~wintermut@adsl-074-232-230-165.sip.asm.bellsouth.net] has joined #lisp 00:56:35 -!- wintermute99 [~wintermut@adsl-074-232-230-165.sip.asm.bellsouth.net] has quit [Read error: Connection reset by peer] 00:56:51 and (asdf:load-system ...) below defpackage if you're using any asdf libraries? 00:56:53 zardoz8: and only for code that's incomplete and not ready to be a library on its own 00:57:27 zardoz8: yeah, more or less 00:59:16 wintermute99 [~wintermut@adsl-074-232-230-165.sip.asm.bellsouth.net] has joined #lisp 00:59:16 -!- wintermute99 [~wintermut@adsl-074-232-230-165.sip.asm.bellsouth.net] has quit [Read error: Connection reset by peer] 01:00:43 ok. and about quicklisp, is that suppose to replace asdf sooner or later, or is it's purpose just to download user libraries? 01:01:15 -!- TeMPOraL [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] 01:04:52 sellout-1 [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has joined #lisp 01:04:52 -!- sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 01:05:43 slater [~5d8b13e2@ns1.smartcall.bg] has joined #lisp 01:07:20 hello. is it possible to do something like this? (funcall '+ (loop for i from 1 to 5 collect i)). should be equal to (+ 1 2 3 4 5) 01:07:59 (apply '+ (loop for i from 1 to 5 collect i)) 01:08:34 thanks 01:09:25 You can do that specific case easier with (loop for i from 1 to 5 summing i), but I'm guessing you have more complicated behavior in mind. 01:09:44 yes, but good to know 01:12:54 -!- drdo [~drdo@91.205.108.93.rev.vodafone.pt] has quit [Remote host closed the connection] 01:12:58 tsanhwa [~user@2001:da8:8001:111:222:68ff:fe14:6de] has joined #lisp 01:14:20 Penten [~user@114.255.149.182] has joined #lisp 01:15:50 zardoz8: quicklisp is a distribution system, asdf is a *build* system 01:16:02 former uses the latter 01:17:51 dnolen_ [~davidnole@pool-68-161-137-73.ny325.east.verizon.net] has joined #lisp 01:18:20 ok got it 01:19:06 this confused me: [Note: ASDF-Install is not currently being maintained. It seems that the obvious replacement is quicklisp, though you may also be interested in clbuild.] 01:19:15 but I just realized asdf is not asdf-install 01:20:27 yes, asdf and asdf-install were historically close 01:20:29 but are so no longer (: 01:24:16 -!- setmeaway [setmeaway3@118.45.149.131] has quit [Ping timeout: 246 seconds] 01:27:05 -!- SegFaultAX [~mkbernard@VEROXITY.ipcolo1.SanFrancisco1.Level3.net] has quit [Ping timeout: 252 seconds] 01:27:08 slater: of course, what you want to do is (loop for i below 5 sum i) 01:27:54 slater: or at worse: (if (< (length list) call-arguments-limit) (apply '+ list) (reduce '+ list)) 01:29:40 ignas [~ignas@ctv-79-132-160-221.vinita.lt] has joined #lisp 01:34:54 (reduce '+ list) is (+ 1 (+ 2 ...))) right? 01:35:03 and apply is (+ 1 2 3 ... ) 01:36:48 slater: you cannot give more than call-arguments-limit arguments to a function call. 01:36:58 This applies to APPLY. 01:37:09 yeah I see 01:37:25 slater: now, thing about it: (defun + (&rest args) ???) How is + implemented? 01:37:50 (defun + (&rest args) (reduce 'system:+/2 args :initial-value 0)) 01:38:11 system::+/2 I mean :-) 01:38:31 sonnym [~evissecer@rrcs-184-74-137-167.nys.biz.rr.com] has joined #lisp 01:39:14 yeah, I didn't think about that limitation of apply 01:40:18 slater: note that call-arguments-limit can be as low as 20. so if you have only 5 numbers to add, it's ok to use apply '+. But if you don't know how many numbers you will have, better to use reduce right away. In anycase, you'll avoid the call to length which is O(n). 01:40:57 call-arguments-limit is 536870911 here :) 01:41:13 sbcl 01:41:27 In a conforming program you couldn't assume that. 01:41:33 true 01:42:43 what if you had uknown number of strings you wanted to concentate? would you use reduce? that might be inefficient 01:42:45 slater: besides, I suspect sbcl lies with its high limits. 01:42:58 slater: eg. normal programs have a limit on the size of the stack that's much smaller. 01:43:04 s/programs/processes/ 01:43:21 concatenate* 01:43:55 slater: indeed. I'd use my own sequence-concatenate that would reduce the total length and make a single allocation before copying the data. 01:44:07 zardoz8: as to your question of being able to use asdf to load packages, even not installed ones - ASDF has ways to extend itself, and quicklisp adds hooks that handle missing dependencies 01:44:37 slater: it's often advised to use with-output-to-string, but this will get you at most an amortized O(n). 01:45:34 gko [~gko@60-251-71-121.HINET-IP.hinet.net] has joined #lisp 01:46:45 -!- RwarDoome [~resu@97.72.154.166] has quit [Read error: Connection reset by peer] 01:46:57 -!- Salamander [~Salamande@ppp121-45-156-111.lns21.adl6.internode.on.net] has quit [Ping timeout: 276 seconds] 01:47:54 -!- dnolen_ [~davidnole@pool-68-161-137-73.ny325.east.verizon.net] has quit [Quit: dnolen_] 01:56:12 pnq [~nick@ACA28C55.ipt.aol.com] has joined #lisp 01:58:13 -!- kpreid [~kpreid@nat/google/x-tlnldirnbrdxesld] has quit [Quit: Offline] 02:00:03 -!- ikki [~ikki@201.155.92.12] has quit [Ping timeout: 240 seconds] 02:01:49 -!- urandom__ [~user@p548A2158.dip.t-dialin.net] has quit [Remote host closed the connection] 02:03:07 -!- Oddity [~Oddity@unaffiliated/oddity] has quit [Read error: Connection reset by peer] 02:03:33 -!- Joreji [~thomas@90-056.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 258 seconds] 02:03:41 -!- tsanhwa [~user@2001:da8:8001:111:222:68ff:fe14:6de] has quit [Ping timeout: 260 seconds] 02:06:11 -!- hargettp [~hargettp@pool-71-184-176-129.bstnma.east.verizon.net] has quit [Quit: Linkinus - http://linkinus.com] 02:11:13 sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has joined #lisp 02:11:13 -!- sellout-1 [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 02:11:39 -!- ignas [~ignas@ctv-79-132-160-221.vinita.lt] has quit [Ping timeout: 240 seconds] 02:15:03 -!- taiyal [~taiyal@bb-216-195-184-102.gwi.net] has quit [Ping timeout: 255 seconds] 02:20:48 dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has joined #lisp 02:32:51 jingtao [~jingtaozf@117.79.232.169] has joined #lisp 02:41:38 phadthai_ [mmondor@ginseng.pulsar-zone.net] has joined #lisp 02:41:38 -!- phadthai [mmondor@ginseng.pulsar-zone.net] has quit [Read error: Connection reset by peer] 02:44:33 kpreid [~kpreid@adsl-75-36-181-173.dsl.pltn13.sbcglobal.net] has joined #lisp 02:46:13 wintermute99 [~wintermut@adsl-074-232-230-165.sip.asm.bellsouth.net] has joined #lisp 02:46:13 -!- wintermute99 [~wintermut@adsl-074-232-230-165.sip.asm.bellsouth.net] has quit [Read error: Connection reset by peer] 02:48:29 katesmith_ [~katesmith@unaffiliated/costume] has joined #lisp 02:49:50 Oddity [~Oddity@unaffiliated/oddity] has joined #lisp 02:51:06 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Ping timeout: 276 seconds] 02:52:37 -!- gor[e] [~svr@gw2.masterhost.ru] has quit [Ping timeout: 258 seconds] 02:54:07 gor[e] [~svr@gw2.masterhost.ru] has joined #lisp 02:58:03 -!- ISF_ is now known as ISF 03:04:13 Quadrescence [~Quad@unaffiliated/quadrescence] has joined #lisp 03:10:48 -!- Quadrescence [~Quad@unaffiliated/quadrescence] has quit [Ping timeout: 276 seconds] 03:12:08 Quadrescence [~Quad@unaffiliated/quadrescence] has joined #lisp 03:16:23 Salamander [~Salamande@ppp118-210-156-184.lns20.adl6.internode.on.net] has joined #lisp 03:19:00 pyrony [~epic@99-105-56-162.lightspeed.sntcca.sbcglobal.net] has joined #lisp 03:20:28 Quadresce` [~Quad@unaffiliated/quadrescence] has joined #lisp 03:20:30 -!- Quadrescence [~Quad@unaffiliated/quadrescence] has quit [Ping timeout: 260 seconds] 03:25:12 -!- Quadresce` [~Quad@unaffiliated/quadrescence] has quit [Ping timeout: 258 seconds] 03:28:28 -!- Mococa [~Mococa@187.58.180.138] has quit [Quit: Saindo] 03:28:48 spradnyesh [~pradyus@nat/yahoo/x-czvudwyvbxnsehxd] has joined #lisp 03:28:53 gxdssoft [~Hansy@190.235.87.56] has joined #lisp 03:33:24 gravicappa [~gravicapp@ppp91-77-165-201.pppoe.mtu-net.ru] has joined #lisp 03:41:01 cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #lisp 03:41:52 -!- gor[e] [~svr@gw2.masterhost.ru] has quit [Quit: leaving] 03:41:58 gor[e] [~svr@gw2.masterhost.ru] has joined #lisp 03:42:13 -!- r11t [~r11t@ec2-50-18-44-29.us-west-1.compute.amazonaws.com] has left #lisp 03:42:54 -!- gor[e] [~svr@gw2.masterhost.ru] has quit [Client Quit] 03:43:01 gor[e] [~svr@gw2.masterhost.ru] has joined #lisp 03:46:16 tsanhwa [~user@2001:da8:8001:240:225:64ff:fe97:d8d2] has joined #lisp 03:48:09 -!- pyrony [~epic@99-105-56-162.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 03:49:40 -!- Salamander [~Salamande@ppp118-210-156-184.lns20.adl6.internode.on.net] has quit [Ping timeout: 260 seconds] 04:01:53 Salamander [~Salamande@ppp121-45-87-232.lns20.adl6.internode.on.net] has joined #lisp 04:04:36 pnq1 [~nick@AC8183F6.ipt.aol.com] has joined #lisp 04:05:29 -!- pnq [~nick@ACA28C55.ipt.aol.com] has quit [Ping timeout: 258 seconds] 04:07:35 Bike1 [~Glossina@71-214-97-24.ptld.qwest.net] has joined #lisp 04:07:45 -!- Bike [~Glossina@71-38-154-91.ptld.qwest.net] has quit [Ping timeout: 260 seconds] 04:07:55 -!- Bike1 is now known as Bike 04:12:57 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: "The Enrichment Center would like to remind you that android hell is a real place, and you will be sent there at the first sign of defiance."] 04:16:58 BlankVerse [~pankajm@122.166.119.36] has joined #lisp 04:28:25 -!- dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has quit [Quit: Leaving.] 04:30:36 is it possible to promote nil to (cffi:null-pointer) when passing it to a C function defined by cffi:defcfun? 04:30:40 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote host closed the connection] 04:31:09 by default I'm getting errors 04:32:29 jsoft [~jsoft@unaffiliated/jsoft] has joined #lisp 04:33:20 "NIL cannot be converted to foreign type FFI:FOREIGN-ADDRESS" 04:34:38 tsanhwa` [~user@2001:da8:8001:111:222:68ff:fe14:6de] has joined #lisp 04:37:31 zardoz8: yes. That's done with: (or value (cffi:null-pointer)). 04:37:59 -!- Hunden [~Hunden@e180098005.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds] 04:38:19 what i meant was, can I define a function with defcfun (or something else) so that nil is automaticall promoted to 0, or (null-pointer) 04:38:33 zardoz8: you said it. You can define that. 04:39:07 key word is automatically though, i won't wrap every function myself 04:39:08 Notably, if instead of using directly cffi:defcfun, you write your own macro that will expand to cffi:defcfun and a defun. 04:39:40 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 04:39:55 ok i see what you mean 04:40:18 btw I just encountered a bigger problem now 04:41:39 let's say I'm wrapping a foo C library. I'm creating a (defpackage :foo (:use :common-lisp :cffi)). and in (asdf:defsystem :foo I have :depends-on (cffi) 04:42:55 Hunden [~Hunden@e180103246.adsl.alicedsl.de] has joined #lisp 04:44:40 when I do asdf load my system, I get a conflict between cffi:defcfun symbol and foo:defcfun symbol 04:44:46 -!- zardoz8 [~xenon@76.73.16.26] has quit [Disconnected by services] 04:44:53 zardoz8 [~zardoz88@76.73.16.26] has joined #lisp 04:46:58 is it because I did :use :cffi ? 04:49:25 longfin [~longfin@124.198.53.194] has joined #lisp 04:51:50 -!- BlankVerse [~pankajm@122.166.119.36] has quit [Quit: Lost terminal] 04:51:52 zardoz8: rather because you did not. 04:52:06 You didn't soon enough. 04:52:16 BlankVerse [~pankajm@122.166.119.36] has joined #lisp 04:53:00 you're right works fine now 04:53:23 Try again from a fresh image. 04:53:40 -!- BlankVerse [~pankajm@122.166.119.36] has quit [Client Quit] 04:53:58 BlankVerse [~pankajm@122.166.119.36] has joined #lisp 04:54:43 I have, works as expected 04:56:32 is it normal that I want to turn C's FunctionName into function-name? :). I mean is that the usual practice, I find that camel case out of place in lisp 04:56:42 +looks 04:57:46 C doesn't use FunctionName. 04:58:06 It uses function_name, but why not? 04:58:11 yeah, I meant C api I'm wrapping does 04:58:49 CamelCase is problematic in CL, because CL pretends to be case insensitive. 04:59:04 true, I did not even consider that one 04:59:46 Well, Pascal lived for ages with CamelCase and case insensitivity. Even with only 16 significant characters... 05:00:22 Otherwise it's perfectly normal to lispify names. 05:03:17 -!- Horse_Apples [~KAPITAL@cpe-174-099-078-028.nc.res.rr.com] has quit [Quit: Leaving] 05:03:33 -!- gor[e] [~svr@gw2.masterhost.ru] has quit [Ping timeout: 250 seconds] 05:03:42 MeanWeen [~KAPITAL@cpe-174-099-078-028.nc.res.rr.com] has joined #lisp 05:12:50 -!- jingtao [~jingtaozf@117.79.232.169] has quit [Remote host closed the connection] 05:13:42 -!- pnq1 [~nick@AC8183F6.ipt.aol.com] has quit [Ping timeout: 255 seconds] 05:17:28 pnq [~nick@172.162.167.103] has joined #lisp 05:17:44 -!- chu_ [~chu@CPE-58-165-253-149.lns1.civ.bigpond.net.au] has quit [Quit: leaving] 05:22:33 Spion_ [~spion@unaffiliated/spion] has joined #lisp 05:24:48 -!- Spion [~spion@unaffiliated/spion] has quit [Ping timeout: 258 seconds] 05:25:37 a7p [a7p@9.83.238.89.in-addr.arpa.manitu.net] has joined #lisp 05:26:45 -!- pnq [~nick@172.162.167.103] has quit [Ping timeout: 252 seconds] 05:29:43 pnq [~nick@ACA2A767.ipt.aol.com] has joined #lisp 05:30:50 mcsontos [~mcsontos@nat/redhat/x-roxrmegzbrzixjpt] has joined #lisp 05:32:18 kushal [~kdas@nat/redhat/x-sxflmnxvfpghksev] has joined #lisp 05:32:18 -!- kushal [~kdas@nat/redhat/x-sxflmnxvfpghksev] has quit [Changing host] 05:32:18 kushal [~kdas@fedora/kushal] has joined #lisp 05:33:13 I just stumbled on a package lock for CL package, in SBCL 1.0.49.0.debian, on symbol VARIABLE, which I don't find in Hyperspec... 05:34:06 ha, nevermind, it just didn't show up in dpans2texi info version of the spec 05:34:20 but it's there alright in the HTML version 05:35:41 -!- am0c [~am0c@222.235.49.86] has quit [Ping timeout: 240 seconds] 05:35:55 -!- MeanWeen [~KAPITAL@cpe-174-099-078-028.nc.res.rr.com] has quit [Ping timeout: 252 seconds] 05:39:07 MeanWeen [~KAPITAL@cpe-174-099-078-028.nc.res.rr.com] has joined #lisp 05:39:40 -!- MeanWeen is now known as Zombull 05:43:48 (export (find-symbol "foo" :package) :package) <- is that the proper way of exporting foo? 05:44:21 I want to do it automatically instead of with :export key in defpackage 05:44:28 so I'm wrapping it inside a macro 05:46:01 -!- The_third_man [~The_third@ram94-12-78-234-200-168.fbx.proxad.net] has quit [Disconnected by services] 05:49:07 -!- Demosthenes [~demo@206.180.155.43.adsl.hal-pc.org] has quit [Read error: Operation timed out] 05:49:20 -!- pnq [~nick@ACA2A767.ipt.aol.com] has quit [Ping timeout: 258 seconds] 05:49:24 am0c [~am0c@222.235.49.86] has joined #lisp 05:50:29 dnolen_ [~davidnole@184.152.69.75] has joined #lisp 05:50:40 morning lispers 05:50:49 cyrillos [~cyrill@188.134.33.130] has joined #lisp 05:54:04 pnq [~nick@172.162.167.103] has joined #lisp 05:55:29 -!- gxdssoft [~Hansy@190.235.87.56] has quit [Ping timeout: 252 seconds] 05:56:24 -!- Zombull [~KAPITAL@cpe-174-099-078-028.nc.res.rr.com] has quit [Ping timeout: 240 seconds] 05:58:18 -!- ISF [~ivan@201.82.135.204] has quit [Quit: WeeChat 0.3.5] 05:59:17 schaueho [~schaueho@dslb-088-066-023-203.pools.arcor-ip.net] has joined #lisp 06:02:16 -!- tsanhwa` [~user@2001:da8:8001:111:222:68ff:fe14:6de] has quit [Ping timeout: 260 seconds] 06:04:39 TeMPOraL [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has joined #lisp 06:07:41 Demosthenes [~demo@206.180.155.43.adsl.hal-pc.org] has joined #lisp 06:08:04 setmeaway [setmeaway3@118.45.149.131] has joined #lisp 06:10:12 -!- dnolen_ [~davidnole@184.152.69.75] has quit [Quit: dnolen_] 06:10:51 -!- TeMPOraL [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] 06:11:17 foocraft [~ewanas@78.100.194.220] has joined #lisp 06:18:08 mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has joined #lisp 06:19:11 good morning 06:19:29 flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has joined #lisp 06:19:42 -!- flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has quit [Changing host] 06:19:42 flip214 [~marek@unaffiliated/flip214] has joined #lisp 06:21:23 pislocide [~PC@ip72-213-141-195.ok.ok.cox.net] has joined #lisp 06:21:59 -!- elliottcable is now known as ec|fkn_away_nick 06:26:21 ramkrsna [~ramkrsna@unaffiliated/ramkrsna] has joined #lisp 06:26:54 -!- flip214 [~marek@unaffiliated/flip214] has quit [Quit: Leaving] 06:27:41 zardoz8: however, notice that it's rare to have a symbol named "foo" interned. 06:29:52 The_third_man [~The_third@ram94-12-78-234-200-168.fbx.proxad.net] has joined #lisp 06:30:20 -!- slater [~5d8b13e2@ns1.smartcall.bg] has quit [Quit: CGI:IRC (EOF)] 06:31:10 austinh [~austinh@c-67-189-92-40.hsd1.or.comcast.net] has joined #lisp 06:34:02 flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has joined #lisp 06:34:02 -!- flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has quit [Changing host] 06:34:02 flip214 [~marek@unaffiliated/flip214] has joined #lisp 06:34:25 *sigh* cll needs an anti idiot bot 06:35:05 well a good kill file configuration works too. 06:35:49 jewel [~jewel@196-209-224-145.dynamic.isadsl.co.za] has joined #lisp 06:36:26 tsanhwa` [~user@2001:da8:8001:111:222:68ff:fe14:6de] has joined #lisp 06:37:06 well, my 84 line cll specific kill file is clearly not good enough 06:39:32 I'm trying to use ECL and cl-net-snmp ... 06:39:46 But when trying (compile-mib #P"...") I get 06:39:48 The readmacro # returned 140147475741416 values. 06:39:55 [Condition of type |SIMPLE-ERROR|] 06:39:57 that's a lot of values 06:39:59 Any ideas? 06:40:06 sounds like a bug in ecl. 06:40:15 Yes, it seems to me that an address is interpreted as a count. 06:40:34 but if I call the function via REPL and (with-input-from-string) it seems to work normally ... 06:44:55 -!- eli [~eli@winooski.ccs.neu.edu] has quit [Ping timeout: 258 seconds] 06:47:32 realitygrill [~realitygr@c-24-5-7-139.hsd1.ca.comcast.net] has joined #lisp 06:50:30 Deesl [~bsdboy@unaffiliated/deesl] has joined #lisp 06:52:26 -!- tsanhwa` [~user@2001:da8:8001:111:222:68ff:fe14:6de] has quit [Ping timeout: 260 seconds] 06:55:28 -!- cmpitg [~cmpitg@113.22.105.27] has quit [Ping timeout: 252 seconds] 06:56:49 ehu [~ehuels@46.207.255.171] has joined #lisp 07:00:20 trigen [c1aca602@gateway/web/freenode/ip.193.172.166.2] has joined #lisp 07:00:45 Has anyone played around with http://repo.or.cz/w/sbcl/llvm.git yet? Can this produce standalone executables, linking arbitrary C files into the result? 07:03:03 -!- jewel [~jewel@196-209-224-145.dynamic.isadsl.co.za] has quit [Ping timeout: 255 seconds] 07:03:40 attila_lendvai [~attila_le@catv-89-132-188-166.catv.broadband.hu] has joined #lisp 07:03:40 -!- attila_lendvai [~attila_le@catv-89-132-188-166.catv.broadband.hu] has quit [Changing host] 07:03:40 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 07:08:22 sellout-1 [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has joined #lisp 07:08:22 -!- sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 07:08:35 eli [~eli@winooski.ccs.neu.edu] has joined #lisp 07:12:32 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 07:17:07 lnostdal-laptop [~lnostdal@ti0030a380-dhcp0111.bb.online.no] has joined #lisp 07:17:35 -!- schaueho [~schaueho@dslb-088-066-023-203.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 07:26:34 Beetny [~Beetny@ppp118-208-143-106.lns20.bne1.internode.on.net] has joined #lisp 07:26:52 jdz [~jdz@193.206.22.97] has joined #lisp 07:27:18 chu_ [~chu@CPE-58-165-253-149.lns1.civ.bigpond.net.au] has joined #lisp 07:33:00 pavelludiq [~pavelludi@87.246.58.193] has joined #lisp 07:33:52 ars-delirum [~Adium@cablelink123-49.telefonia.intercable.net] has joined #lisp 07:37:07 cmpitg [~cmpitg@113.22.118.244] has joined #lisp 07:37:56 -!- BlankVerse [~pankajm@122.166.119.36] has quit [Ping timeout: 260 seconds] 07:38:50 -!- zfx [~zfx@unaffiliated/zfx] has quit [Quit: Be back later] 07:38:51 -!- ars-delirum [~Adium@cablelink123-49.telefonia.intercable.net] has left #lisp 07:40:35 -!- pnq [~nick@172.162.167.103] has quit [Ping timeout: 252 seconds] 07:44:30 -!- ltriant [~ltriant@lithium.mailguard.com.au] has quit [Quit: Computer has gone to sleep] 07:45:07 pferor [~user@unaffiliated/pferor] has joined #lisp 07:46:40 e-user [~e-user@nat/nokia/x-paesnwytvcddkmky] has joined #lisp 07:47:29 morphling [~stefan@gssn-4d0037e6.pool.mediaWays.net] has joined #lisp 07:48:26 -!- Bike [~Glossina@71-214-97-24.ptld.qwest.net] has quit [Ping timeout: 260 seconds] 07:48:28 insomnia1alt [~milan@port-92-204-40-180.dynamic.qsc.de] has joined #lisp 07:48:28 -!- insomnia1alt [~milan@port-92-204-40-180.dynamic.qsc.de] has quit [Changing host] 07:48:28 insomnia1alt [~milan@unaffiliated/iammilan] has joined #lisp 07:50:19 rstandy [~rastandy@93-63-185-248.ip29.fastwebnet.it] has joined #lisp 07:51:35 -!- insomniaSalt [~milan@unaffiliated/iammilan] has quit [Ping timeout: 240 seconds] 07:55:09 foocraft_ [~ewanas@dyn-86-36-35-147.QATAR.CMU.EDU] has joined #lisp 07:56:36 -!- pislocide [~PC@ip72-213-141-195.ok.ok.cox.net] has quit [Quit: Quit] 08:04:12 -!- KindWord [~KindWord@unaffiliated/kindword] has quit [] 08:05:11 trader50039 [~user@119.224.109.204] has joined #lisp 08:07:56 tfb [~tfb@80.238.0.145] has joined #lisp 08:14:28 leo2007 [~leo@222.130.138.22] has joined #lisp 08:16:31 -!- trader50039 [~user@119.224.109.204] has quit [Quit: Leaving] 08:17:46 . 08:18:52 in asdf:defsystem :components, do I have to specify :depends-on, if file1 calls some functions in file2? or can I just list them (:file "file1") (:file "file2") 08:19:13 -!- leo2007 [~leo@222.130.138.22] has quit [Client Quit] 15:26:56 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #lisp 15:26:56 15:26:56 -!- names: ccl-logbot Illiad phf ISF naeg pnq TristamWrk spradnyesh tritchey cmpitg ehu gemelen ramusara wedgeV francogrex c_arenz sanchaz denebola d2biG tom_b BlankVerse genieliu mk2 danielSM jikanter sellout- dlowe xxxyyy nicdev symbole sanjoyd zfx mrSpec dfox gffa bgs100 Jasko ChibaPet lusory_ gxdssoft Amadiro kiuma bobbysmith007 sonnym1 mstevens Joreji longfin ChongLi` _foocraft lnostdal-laptop markskilbeck serichsen morphling Salamander daniel TeMPO[RAL] z0d 15:26:56 -!- names: urandom__ milanj zardoz8 gravicappa pinterface jtza8 pferor araujo peterhil` misterncw Atomsk kennyd Hun ubii_ fmu` erk_ cYmen Inode_ aperturefever luis` peddie hlavaty tfb rstandy insomniaSalt pavelludiq chu_ jdz eli attila_lendvai austinh The_third_man mvilleneuve setmeaway Demosthenes am0c a7p Spion_ Hunden tsanhwa Oddity katesmith phadthai_ sonnym rtoym Jasko2 gigamonkey pchrist_ kleppari bhaskara hugod JuanDaugherty s0ber peterhil jajcloz 15:26:56 -!- names: REPLeffect chturne AntiSpamMeta benny juniorroy mathrick Pepe_ sacho ivan4th phax [df] hargettp_ ramus drunkk arbscht Zephyrus Axioplase_ fe[nl]ix clog easyE jimmy1980 _8david Adrinael jiacobucci clop jamief djinni` ec|fkn_away_nick tessier_ mtd_ schoppen1auer fihi09`` rootzlevel redline6561_ ASau` tsuru ch077179 blandest madnificent cataska nowhereman _krappie_ BrianRice zort- kiooeht CrazyEddy Krystof sykopomp vert2 anonus sword albino koollman 15:26:56 -!- names: X-Scale quasisane delian66 acieroid eno theBlackDragon Odin- ve rvncerr penryu Dodek cmm jefs billitch Younder altctrldel alfa_y_omega yahooooo billstclair specbot minion lisppaste Nshag kytibe Ralith macrobat stepnem prip naryl Patzy tic levi ezakimak ilmari chr` CallToPower felideon HumanRemains martinkb Xantoz em Jabberwockey parabolize Obfuscate Khisanth beach zanea_ mon_key PissedNumlock bzzbzz cmatei daimrod joshe ski_ tychoish cpc26 Iceland_jack 15:26:56 -!- names: ianmcorvidae j_king Fade msmith otwieracz pjb Euthydemus rsynnott incandenza guther pkhuong p_l|backup aoh ineiros hyko Borbus McMAGIC-1Copy gkeith rotty Tristam egn finnrobi kjellkt __class__ Tordek jrockway DGASAU amaron ocharles nuba frodef johanbev vhost- Posterdati algorist jsnell literal cpt_nemo yroeht wivlaro setheus nullman njan tvaalen deepfire schmrkc mornfall joast Yamazaki-kun jfleming C-Keen julius2 daedric sshirokov michelp mikejs 15:26:56 -!- names: Quetzalcoatl_ housel derrida reb sirmacik ``Erik xristos tali713 dostoyevsky Intensity Xof_ lonstein koisoke ecraven _3b krl froggey kanru hohum foom akkartik_ tempire_ xale pok larva sid3k micro oGMo |3b| milkpost mal__ scode_ adeht rabite_ zbigniew yan_ phryk srcerer boyscared Zhivago felipe tomaw cmbntr_ df_aldur _main_ cods tty234 galdor Bucciarati Aisling zakwilson spacebat @antifuchs herbieB fds jeekl SpitfireWP freiksenet klutometis guaqua johs 15:26:56 -!- names: elliottjohnson cipher ozzloy dcrawford k9quaint erg kloeri 15:27:10 stella is much better and more complete 15:27:32 ikki [~ikki@201.155.92.12] has joined #lisp 15:28:00 francogrex: The scexp-0.9 is different from sc080708b.tar.gz (much less code). Thanks. 15:28:32 -!- TeMPO[RAL] [~user@jiscser4.esc.rl.ac.uk] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:28:55 much less code doesn't mean it's better 15:30:12 arguably it's worse because older or less complete... if yu're still not attached to anything try stella 15:31:10 francogrex: Isn't stella even older? 15:31:23 Bike [~Glossina@71-38-156-228.ptld.qwest.net] has joined #lisp 15:31:38 francogrex: Sorry I just saw that the last snapshot is from 2010 15:32:12 francogrex: I was confused by the "Since October 2001 STELLA ..." 15:33:12 it's older but 1) still being devloped and 2 a much bigger complete system 15:36:09 -!- Bike [~Glossina@71-38-156-228.ptld.qwest.net] has quit [Ping timeout: 264 seconds] 15:36:31 francogrex: Can I run Stella within SLIME? 15:36:37 actually I'm not sure how scexp is of any use for translating common lisp code to c 15:36:52 Spion [~spion@unaffiliated/spion] has joined #lisp 15:37:09 mk2: poissibly. I use inferior lisp works fine 15:37:13 -!- longfin [~longfin@211.187.37.46] has quit [Remote host closed the connection] 15:37:14 gtg 15:37:22 will be back later 15:37:51 francogrex: I don't want to translate code. 15:38:01 jagga 15:38:05 francogrex: I just want to write boring code. 15:38:16 -!- francogrex [franco@grex.cyberspace.org] has quit [Quit: ERC Version 5.2 (IRC client for Emacs)] 15:39:06 -!- Spion_ [~spion@unaffiliated/spion] has quit [Ping timeout: 240 seconds] 15:41:44 RwarDoome [~resu@97.72.154.166] has joined #lisp 15:42:58 ignas [~ignas@ctv-79-132-160-221.vinita.lt] has joined #lisp 15:44:54 -!- danielSM [4311ceae@gateway/web/freenode/ip.67.17.206.174] has quit [Quit: Page closed] 15:45:17 -!- pavelludiq [~pavelludi@87.246.58.193] has quit [Remote host closed the connection] 15:46:57 -!- rstandy [~rastandy@93-63-185-248.ip29.fastwebnet.it] has quit [Ping timeout: 258 seconds] 15:49:46 mrbug [~user@unaffiliated/mrbug] has joined #lisp 15:52:08 funny. I always want to translate C to common lisp, not the other way around. 15:52:50 rmarianski [~rmariansk@mail.marianski.com] has joined #lisp 15:55:49 -!- chu_ [~chu@CPE-58-165-253-149.lns1.civ.bigpond.net.au] has quit [Quit: leaving] 15:56:18 -!- RwarDoome [~resu@97.72.154.166] has quit [Read error: Connection reset by peer] 15:56:23 -!- mrbug [~user@unaffiliated/mrbug] has quit [Quit: ERC Version 5.1.2 $Revision: 1.796.2.4 $ (IRC client for Emacs)] 15:57:02 Bike [~Glossina@71-38-156-228.ptld.qwest.net] has joined #lisp 15:57:08 kpreid [~kpreid@nat/google/x-wyuhhstkrahqohen] has joined #lisp 15:58:08 -!- kpreid [~kpreid@nat/google/x-wyuhhstkrahqohen] has quit [Remote host closed the connection] 15:58:29 kpreid [~kpreid@nat/google/x-imizkeyszfercisw] has joined #lisp 15:59:53 dlowe: I need realtime (every 16ms) frame production. 16:01:11 -!- jdz [~jdz@193.206.22.97] has quit [Ping timeout: 240 seconds] 16:01:22 -!- zfx [~zfx@unaffiliated/zfx] has quit [Quit: Be back later] 16:02:02 cyrillos [~cyrill@188.134.33.130] has joined #lisp 16:02:14 -!- kiuma [~kiuma@85-18-55-37.ip.fastwebnet.it] has quit [Quit: Leaving] 16:03:00 -!- pnq [~nick@ACA219A6.ipt.aol.com] has quit [Ping timeout: 276 seconds] 16:04:45 -!- Joreji [~thomas@90-056.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 276 seconds] 16:04:57 foocraft [~ewanas@KURAMATHI.QATAR.CMU.EDU] has joined #lisp 16:07:11 Daev [~KAPITAL@cpe-174-099-078-028.nc.res.rr.com] has joined #lisp 16:07:30 RwarDoome [~resu@97.72.154.166] has joined #lisp 16:09:57 -!- ignas [~ignas@ctv-79-132-160-221.vinita.lt] has quit [Ping timeout: 258 seconds] 16:10:48 -!- xxxyyy [~xyxu@222.68.164.225] has quit [Ping timeout: 246 seconds] 16:18:32 mk2: so write fast lisp code 16:19:21 <_3b> fast != realtime 16:19:44 so write realtime lisp code :p 16:19:49 mk2: something like prescheme, maybe. 16:19:55 -!- spradnyesh [~pradyus@nat/yahoo/x-stsdztncgyfzuzup] has quit [Quit: Leaving.] 16:20:01 <_3b> dlowe: which would require a realtime lisp 16:20:17 _3b: a realtime C would help too 16:20:32 <_3b> much easier to find those though 16:21:09 if you say so 16:21:22 *_3b* would probably go with the 'something like prescheme' idea though 16:23:19 <_3b> most Cs don't stop all threads on random allocations 16:23:47 Can one safely call write-line and read-line concurrently on the same file and use the secondary value from read-line to determine if the last line was incomplete? 16:23:55 Unless they have per-thread arenas, they do. 16:23:57 I don't know much about file I/O. 16:24:18 DelPuerto [~youguy@240.pool85-56-66.dynamic.orange.es] has joined #lisp 16:24:19 <_3b> so you for normal-os level 'realtime', "don't allocate in the realtime thread" is good enough for for C 16:24:20 austinh: that sort of thing isn't defined in the standard. 16:24:35 <_3b> doesn't quite work on a lisp that stops all the threads for GC though 16:24:42 pkhuong: I didn't think so. I thought it would be in the domain of the OS. 16:25:00 -!- genieliu [~genieliu@59.78.62.120] has quit [Quit: Lost terminal] 16:25:00 No. It's in the domain of the compiler. 16:25:21 -!- sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 16:25:27 realitygrill [~realitygr@38.104.194.118] has joined #lisp 16:25:33 Threads need to respect the semantics of the CAS. 16:26:02 mmauryc [~mmmau@stu232-227.bard.edu] has joined #lisp 16:26:06 austinh: OSes rarely deal in lines. I wouldn't bet on anything, frankly, especially with the levels of buffering involved. 16:26:32 -!- DelPuerto [~youguy@240.pool85-56-66.dynamic.orange.es] has quit [Client Quit] 16:26:54 pkhuong: Thanks. I was hoping to avoid relying on a database for something so trivial. 16:27:06 Just use two files. 16:27:17 sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has joined #lisp 16:27:21 austinh: lock. Or copy/rename. 16:27:42 -!- tfb [~tfb@80.238.0.145] has quit [Ping timeout: 276 seconds] 16:29:18 That was my next question. If one thread has a file open for reading and another thread renames the file, that won't affect the data open for reading? 16:29:43 austinh: depends on the implementation. But, at the posix level, it won't. 16:30:03 on unixy platforms, anyway. 16:30:28 Munksgaard [~Munksgaar@1807ds2-noe.0.fullrate.dk] has joined #lisp 16:30:40 I read that append was atomic on POSIX, but I didn't know if that applies to SBCL on Linux, for instance. 16:31:06 It isn't. 16:31:22 Well, there is no append operation in posix. 16:31:40 And posix supports short writes, so ... 16:32:09 Writing in append mode: "If the O_APPEND flag of the file status flags is set, the file offset shall be set to the end of the file prior to each write and no intervening file modification operation shall occur between changing the file offset and the write operation." 16:32:26 And what determines how many bytes will get written? 16:33:05 SegFaultAX [~mkbernard@VEROXITY.ipcolo1.SanFrancisco1.Level3.net] has joined #lisp 16:33:31 austinh: anyway, I'd use the FFI and use libc as directly as possible. 16:34:43 I'd avoid designs that expect contentious writes. 16:34:49 Why do you care if it is atomic or not? 16:35:42 pkhuong: Thanks. As always, I really appreciate your help. I think I should spend some time considering how a database might solve this issue and others in my application. 16:36:10 Or you could just use ... multiple files. 16:36:22 Zhivago: This is all new territory for me, so I'm certainly confused on more than one front. 16:36:41 So, what problem are you actually trying to solve? 16:38:05 Give me a sec to figure out how to describe it succinctly. 16:39:11 -!- tali713 [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has quit [Ping timeout: 240 seconds] 16:40:36 I have a simulation that is generating output in real-time. I want to collect that output as a sequence of events, and periodically I want to compile a chunk of those events into a snapshot. 16:40:44 At any time, I'd like the current snapshot and the current sequence of events available via a webserver. 16:41:55 *_3b* would probably try redis 16:42:02 So, the snapshot and the sequence of events would always need to be consistent. 16:42:15 _3b: depends on the size of the snapshots. 16:42:28 <_3b> true 16:42:53 I was using CouchDB for a while, but I wanted to make sure that I wasn't overlooking a simpler solution. 16:43:05 Well, just write a log file. 16:43:22 Periodically make a new log file and switch to it, renaming the old file. 16:43:40 Run a consolidator on the renamed old files. 16:43:51 -!- RwarDoome [~resu@97.72.154.166] has quit [Read error: Connection reset by peer] 16:44:16 Can't see anything complicated in that problem, to be honest. 16:45:17 I think my imagination is not in tune with the reality of file I/O and concurrency. 16:45:42 xan_ [~xan@248.Red-83-39-57.dynamicIP.rima-tde.net] has joined #lisp 16:45:52 sharad [~sharad@117.192.251.154] has joined #lisp 16:46:11 -!- morphling [~stefan@gssn-4d0037e6.pool.mediaWays.net] has quit [Remote host closed the connection] 16:47:00 It's pretty simple :) 16:47:28 When your log file gets to N entries, rename it and start a new log file. 16:47:55 Nothing is now writing to the old files, so there is no contention with respect to reading them. 16:48:02 That part I feel comfortable with. 16:48:13 That's all there is to it. 16:48:21 ... I somehow ended with two prospective high-end AI projects 16:48:40 -!- misterncw [~misterncw@82.71.241.25] has quit [Remote host closed the connection] 16:49:18 -!- lnostdal-laptop [~lnostdal@ti0030a380-dhcp0111.bb.online.no] has quit [Ping timeout: 246 seconds] 16:50:04 kushal [~kdas@114.143.160.223] has joined #lisp 16:50:04 -!- kushal [~kdas@114.143.160.223] has quit [Changing host] 16:50:04 kushal [~kdas@fedora/kushal] has joined #lisp 16:50:32 -!- cyrillos [~cyrill@188.134.33.130] has quit [Read error: Operation timed out] 16:50:58 cyrillos [~cyrill@188.134.33.130] has joined #lisp 16:52:21 So, I could log to log.1, log.2, etc. And I could consolidate those to snapshot.1, snapshot.2, etc., but if I wanted to safely grab the most recent snapshot and the log files that haven't yet been applied to it, I'd need some way to keep track of which is which. 16:52:31 antoszka [~antoszka@unaffiliated/antoszka] has joined #lisp 16:53:42 snapshot.1 has everything up to and including log.1, etc. 16:54:18 I had hoped to use rename-file to just move snapshot.1 to snapshot, and log.1 to log, so that those names would always be where the most current are found, but I'd have to be able to update both atomically. 16:54:45 RwarDoome [~resu@97.72.154.166] has joined #lisp 16:55:04 austinh: you'd need a directory for that. 16:55:18 when in doubt, add indirection. 16:55:28 pkhuong: Sorry, how would that work? 16:56:54 Oh, I think I see. I could have both files in a directory and use rename-file on the directory. 16:56:55 put hardlinks in a directory, rename that directory. 16:57:20 Wow. I wish I would have known that sooner. 16:58:12 -!- sharad [~sharad@117.192.251.154] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 16:58:13 Joreji [~thomas@90-056.eduroam.RWTH-Aachen.DE] has joined #lisp 16:58:20 -!- mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has quit [Quit: away!] 17:00:48 sharad [~sharad@117.192.251.154] has joined #lisp 17:01:19 -!- sharad [~sharad@117.192.251.154] has left #lisp 17:01:47 zmv [~Telefonic@187.34.55.220] has joined #lisp 17:04:02 drdo [~drdo@93.108.205.91] has joined #lisp 17:04:25 austinh: then again, depending on how your lisp implements file and directory access, that might not work. 17:06:44 sharad [~sharad@117.192.251.154] has joined #lisp 17:07:07 -!- sharad [~sharad@117.192.251.154] has left #lisp 17:07:46 Ok. I still had an open issue, anyway, with wanting the incoming log data to be available asap, but needing to move the file before reading it. I wouldn't want to move it after every write, right? 17:08:14 -!- ramusara [~ramusara@220.156.210.236.user.e-catv.ne.jp] has quit [Quit: Leaving...] 17:08:16 tali713 [~user@c-66-41-158-119.hsd1.mn.comcast.net] has joined #lisp 17:08:43 you'll have to let the reader deal with inconsistent state at the end of the log file. 17:09:22 Elench [~user@unaffiliated/elench] has joined #lisp 17:10:12 That's what I was asking about read-line and checking for EOF. Is that sane? 17:10:36 Or, testing for some other delimeter before EOF. 17:10:45 zfx [~zfx@unaffiliated/zfx] has joined #lisp 17:12:30 It's likely ok. 17:12:31 -!- mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has quit [Quit: Lost terminal] 17:14:05 -!- zmv [~Telefonic@187.34.55.220] has quit [Ping timeout: 260 seconds] 17:15:22 zmv [~Telefonic@187.34.55.220] has joined #lisp 17:15:30 -!- drdo [~drdo@93.108.205.91] has quit [Ping timeout: 258 seconds] 17:16:28 -!- gxdssoft [~Hansy@190.235.47.224] has quit [Quit: Saliendo] 17:17:02 -!- c_arenz [~arenz@nat/ibm/x-sunmlzbmolenvxtq] has quit [Ping timeout: 258 seconds] 17:18:11 -!- Bike [~Glossina@71-38-156-228.ptld.qwest.net] has quit [Ping timeout: 240 seconds] 17:18:23 Bike [~Glossina@71-214-107-181.ptld.qwest.net] has joined #lisp 17:21:13 pkhuong: When you said above, "depending on how your lisp implements file and directory access, that might not work", can I assume that it would work on SBCL/Linux or is it more uncertain or volatile than that? 17:22:02 austinh: I frankly have no clue. 17:22:07 ok, thanks 17:22:24 -!- kleppari [~spa@bitbucket.is] has quit [Remote host closed the connection] 17:22:47 -!- foocraft [~ewanas@KURAMATHI.QATAR.CMU.EDU] has quit [Quit: if you're going....to san. fran. cisco!!!] 17:23:35 kleppari [~spa@bitbucket.is] has joined #lisp 17:23:41 Bike1 [~Glossina@71-38-152-64.ptld.qwest.net] has joined #lisp 17:23:59 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 17:24:34 austinh: when doing things that depend on specific OS semantics, use OS-specific interfaces 17:24:35 -!- Bike [~Glossina@71-214-107-181.ptld.qwest.net] has quit [Ping timeout: 260 seconds] 17:24:38 ? 17:25:33 -!- xan_ [~xan@248.Red-83-39-57.dynamicIP.rima-tde.net] has quit [Read error: Connection reset by peer] 17:25:40 Well, I think this discussion has satisfied my curiousity regarding "Is there a simple way to do this?" 17:28:55 drdo [~drdo@91.205.108.93.rev.vodafone.pt] has joined #lisp 17:31:01 zmv_ [~Telefonic@187.34.55.220] has joined #lisp 17:31:31 xan_ [~xan@248.Red-83-39-57.dynamicIP.rima-tde.net] has joined #lisp 17:31:36 -!- juniorroy [~juniorroy@212.36.228.103] has quit [Ping timeout: 258 seconds] 17:34:15 -!- zmv [~Telefonic@187.34.55.220] has quit [Ping timeout: 258 seconds] 17:34:33 -!- Bike1 [~Glossina@71-38-152-64.ptld.qwest.net] has quit [Read error: Connection reset by peer] 17:34:42 Bike [~Glossina@71-38-152-64.ptld.qwest.net] has joined #lisp 17:36:41 TeMPOraL [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has joined #lisp 17:39:21 TeMPOraL` [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has joined #lisp 17:42:27 -!- kushal [~kdas@fedora/kushal] has quit [Ping timeout: 276 seconds] 17:42:30 -!- TeMPOraL [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] 17:42:35 HG` [~HG@p579F7C8C.dip.t-dialin.net] has joined #lisp 17:42:47 tali713` [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has joined #lisp 17:42:59 confab [180a3cb9@gateway/web/freenode/ip.24.10.60.185] has joined #lisp 17:45:57 -!- tali713 [~user@c-66-41-158-119.hsd1.mn.comcast.net] has quit [Remote host closed the connection] 17:45:58 -!- tali713` is now known as tali713 17:47:40 -!- tali713 [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has quit [Disconnected by services] 17:47:48 tali713 [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has joined #lisp 17:48:13 -!- tali713 [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has quit [Disconnected by services] 17:48:18 tali713 [~tali713@c-75-72-220-197.hsd1.mn.comcast.net] has joined #lisp 17:51:26 zmv [~Telefonic@187.34.55.220] has joined #lisp 17:53:14 -!- kleppari [~spa@bitbucket.is] has quit [Quit: leaving] 17:53:45 -!- zmv_ [~Telefonic@187.34.55.220] has quit [Ping timeout: 255 seconds] 17:56:11 -!- jefs [~jef@217.146.88.200] has quit [Quit: leaving] 17:57:52 wormphlegm [~wormphleg@c-50-131-44-231.hsd1.ca.comcast.net] has joined #lisp 17:58:32 carlocci [~nes@93.37.194.7] has joined #lisp 18:00:00 Kenjin [~josesanto@bl19-248-40.dsl.telepac.pt] has joined #lisp 18:02:33 mindCrime [~chatzilla@rrcs-70-62-112-146.midsouth.biz.rr.com] has joined #lisp 18:12:04 -!- naeg [~naeg@194.208.239.170] has quit [Quit: WeeChat 0.3.5] 18:12:22 -!- d2biG is now known as dRbiG 18:13:29 -!- hlavaty [~user@91-65-217-112-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 18:14:24 -!- kytibe [~kytibe@212.174.109.55] has quit [Read error: Connection reset by peer] 18:14:27 -!- zmv [~Telefonic@187.34.55.220] has quit [Ping timeout: 255 seconds] 18:15:05 -!- DGASAU [~user@91.218.144.129] has quit [Remote host closed the connection] 18:15:55 zmv [~Telefonic@187.34.55.220] has joined #lisp 18:16:00 Does anyone have any idea why this matches (scan "(ab)+" "xabab") but this doesn't (scan "(ab)*" "xabab") ? (cl-ppcre) 18:16:16 DGASAU [~user@91.218.144.129] has joined #lisp 18:17:58 it does match 18:18:04 not here 18:18:12 you just get the empty match group, because * allows the match group to be empty 18:18:17 it returns 0 for me 18:18:21 ahmm 18:18:30 Shouldn't it match the largest possible string though? 18:18:36 Otherwise what's even the point of * 18:18:42 ISF_ [~ivan@201.82.135.204] has joined #lisp 18:18:47 .* would be greedy 18:18:51 <_3b> it matches the first match 18:18:55 <_3b> which is "" 18:18:57 i can always give you the empty match for * 18:19:00 but that's useless 18:19:09 drdo: Not, it's useful. 18:19:10 kytibe [~kytibe@212.174.109.55] has joined #lisp 18:19:15 also 18:19:15 y(ab)*x matches yx 18:19:20 if you remove the x 18:19:24 it gives you ab 18:19:27 <_3b> well, not accepting the empty match is exactly the point of using + instead of * 18:19:30 drdo: Say you want to match /foo.*bar/ with anything or nothing in between. 18:20:06 sure, what's the problem antoszka ? 18:20:20 drdo: 20:18:36 < drdo> Otherwise what's even the point of * 18:20:25 drdo: Just answering that. 18:21:01 kleppari [~spa@bitbucket.is] has joined #lisp 18:21:49 -!- ISF [~ivan@201.82.135.204] has quit [Ping timeout: 258 seconds] 18:21:49 How could i get the longest matching substring then? 18:22:08 <_3b> find all matches and pick the longest? 18:22:08 use + I guess? 18:22:13 or that (: 18:22:25 drdo: Use the greedy modifier. 18:22:37 <_3b> + would only find the first non-empty match, not the longest if there are more than one 18:22:51 <_3b> (not sur if that is what was meant by longest or not) 18:23:46 drdo: Or formulate the regex in a different way (if possible). 18:24:16 I don't care about that particular regex, just trying to figure out how cl-ppcre works 18:24:16 -!- JuanDaugherty [~Ren@cpe-72-228-177-92.buffalo.res.rr.com] has quit [Quit: Exeunt IRC] 18:24:21 I'm confused  * and + should be greedy by default, right? and +? and *? are not greedy. 18:24:37 At least, if it's really Perl-compatible. 18:24:57 I wouldn't know, never really used perl 18:25:02 <_3b> yeah, seems that way 18:25:05 Hm.. I thought it was the other way round. 18:25:06 Damn. 18:25:07 <_3b> *? matches "" 18:25:08 Used flex a bit though 18:25:15 <_3b> even if it could match more 18:25:53 sellout-1 [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has joined #lisp 18:25:53 -!- sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 18:26:21 I understand why it would be useful to return a match immediatly if all you care is that it matches and don't care about the actual match 18:27:07 Oh, duh, right, it is matching, but it's not about greedy or not greedy 18:27:22 It's about the fact that the empty string before the "x" matches first. 18:27:33 it doesn't matter 18:27:39 (anything)* always matches for any string 18:27:45 <_3b> right 18:27:54 If you do (cl-ppcre:scan "(ab)*" "abab"), it will match the 4-char one. 18:28:11 yay for inconsistency? 18:28:21 <_3b> no, it is consistent 18:28:27 drdo: It's not inconsistent, Perl would do the same thing. 18:28:31 * is greedy 18:28:33 <_3b> X* matches X 0 or more times 18:28:41 well 18:29:07 with "abab" it processes the whole input when it could just return immediatly since that will match anything 18:29:08 -!- Illiad [beb90cd3@gateway/web/freenode/ip.190.185.12.211] has left #lisp 18:29:16 but with "xabab" it just gives up immediatly 18:29:24 i don't understand why it should be different 18:29:39 <_3b> no, it /succeeds/ immediately, matching "" 18:29:45 -!- TeMPOraL` [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] 18:29:50 yes, i know 18:29:51 drdo: No, it doesn't process the whole input. What do you expect (scan "(ab)*" "abxabab") would match? 18:29:52 i just said that 18:30:03 <_3b> in both cases it matches the first longest substring 18:30:19 oh 18:30:34 so that's the behaviour? 18:30:39 longest substring from the start? 18:31:05 drdo: yes, that's what 'greedy' means. 18:31:11 drdo: Right. It always returns the first match. But given the starting point of that match, it'll return the longest one it can. 18:31:16 <_3b> first thing that matches 18:31:22 <_3b> and as much as will match 18:31:39 I was expecting "xabab" to give me "abab" 18:31:59 So it just stops if it can't match more, never skips stuff 18:32:06 You need ".*((?:ab)*)" or some such. 18:32:09 drdo: Exactly. 18:32:33 gigamonkey: I was just trying to understand how it works really, i never used perl 18:32:47 Or use a different function like ALL-MATCHES. 18:33:22 drdo: use the function that changes perl syntax into SEXP 18:34:02 p_l|backup: I'm alright with that syntax for regexps 18:34:46 -!- zmv [~Telefonic@187.34.55.220] has quit [Ping timeout: 260 seconds] 18:35:51 drdo: what I use it for is to explain PPCRE's behaviour 18:36:00 zmv [~Telefonic@187.34.55.220] has joined #lisp 18:36:14 or to verify my understanding of regexes I write 18:36:24 since it does the parsing for me :) 18:36:31 francogrex [~user@109.130.119.83] has joined #lisp 18:39:12 PuffTheMagic [~PuffTheMa@unaffiliated/puffthemagic] has joined #lisp 18:39:31 can someone tell me what this does -> for int = (aref ints i) 18:39:37 ive never seen that in a loop before 18:39:44 the = part 18:39:51 mk2: if you're still around, I tested scexp a little, it's not that great. Seriously stella is much better 18:40:23 Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has joined #lisp 18:40:27 INT is set or bound to (aref ints i) at each iteration. 18:40:31 it's setting a variable isn't it? 18:40:46 thanks 18:41:01 usually used as such: for line = (read-line stream nil) 18:41:20 hmm 18:41:31 What's the point of returning the starting index of the match? 18:41:46 If it behaves that way, it will always be the same as START 18:42:00 -!- mk2 [~user@159.92.65.64] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:42:19 <_3b> not every regex matches the start 18:42:42 _3b: If it doesn't match you just get nil 18:42:43 OliverUv [fuckident@valkyrie.underwares.org] has joined #lisp 18:42:53 <_3b> it might match some other part of the string 18:43:31 <_3b> it returns the first match, which could be anywhere 18:44:17 oh yes, nevermind 18:46:27 -!- tom_b [~user@152.23.26.53] has left #lisp 18:47:15 -!- _foocraft [~ewanas@78.101.175.151] has quit [Quit: So long, and thanks for all the fish!] 18:48:26 -!- francogrex [~user@109.130.119.83] has quit [Remote host closed the connection] 18:48:33 :O- 18:49:34 ehu` [~ehuels@46.207.255.171] has joined #lisp 18:51:01 zmv_ [~Telefonic@187.34.55.220] has joined #lisp 18:51:12 -!- ehu [~ehuels@46.207.255.171] has quit [Ping timeout: 252 seconds] 18:51:38 -!- zardoz8 [~zardoz88@76.73.16.26] has quit [Quit: CGI:IRC (Session timeout)] 18:52:25 gkeith_lt [~gkeith@nat/google/x-kutrgekrgbhrhiml] has joined #lisp 18:53:41 -!- Joreji [~thomas@90-056.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 18:53:42 Xach [~xach@pdpc/supporter/professional/xach] has joined #lisp 18:54:36 -!- zmv [~Telefonic@187.34.55.220] has quit [Ping timeout: 276 seconds] 18:54:46 hello, could someone point me to some examples on cxml usage? 18:54:59 Kenjin: There are examples on the website 18:55:08 <_3b> google code search? 18:55:13 http://common-lisp.net/project/cxml/quickstart.html 18:55:41 drdo: I've been reading that 18:56:18 I've never actually used it much, i've used closure-html for some simple things though 18:56:58 Kenjin: you might get better help, if you asked a specific question. IE "How do I parse an xml document into a dom?" 18:57:29 I get a bunch of child nodes but don't know how to parse them further? Do I need to know the structure of the xml doc? Is there a way to list the tags? 18:57:45 Kenjin: what do you want to do? 18:58:37 I have a xml document I want to parse, and eventually do some calculations on the data and put it up on a web page. 18:59:26 lnostdal-laptop [~lnostdal@ti0030a380-dhcp0111.bb.online.no] has joined #lisp 18:59:27 I was just trying to figure out how to use cxml. I guess I might be too tired. Just had 3 exams in 2 days 19:00:38 -!- daniel [~daniel@p50829536.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 19:00:44 nixfreak [~nixfreak@mailserver.dayport.com] has joined #lisp 19:00:45 daniel [~daniel@p50829536.dip.t-dialin.net] has joined #lisp 19:00:56 looking for a lisp binding for mplayer ? 19:01:28 -!- wedgeV [~wedge@static-96-239-100-26.nycmny.fios.verizon.net] has quit [Quit: wedgeV] 19:01:44 -!- ubii_ is now known as ubii 19:01:45 -!- ubii [~ubii@207-119-123-149.stat.centurytel.net] has quit [Changing host] 19:01:45 ubii [~ubii@unaffiliated/ubii] has joined #lisp 19:01:53 Xach: for now I was just loading the xml and trying to see its structure 19:02:11 -!- cmpitg [~cmpitg@113.22.105.27] has quit [Ping timeout: 260 seconds] 19:03:01 nixfreak: Am I? Are you? 19:03:14 pnq [~nick@AC8188FE.ipt.aol.com] has joined #lisp 19:04:16 ??? 19:04:44 sorry I am looking for lisp bindings for mplayer / mencoder 19:04:54 there's a library? 19:05:34 *_3b* thought someone started on ffmpeg bindings, don't know if that does what you want, or if any of them even got finished 19:06:26 nixfreak: no such thing 19:06:28 nixfreak: mplayer/mencoder don't provide libraries for processing afair, so you can just run the binaries with whatever arguments you like. 19:07:52 anvandare [~anvandare@78-23-215-230.access.telenet.be] has joined #lisp 19:08:53 you mean just using the mplayer commands 19:08:59 -!- zfx [~zfx@unaffiliated/zfx] has quit [Quit: Be back later] 19:10:05 nixfreak: Yes. 19:10:46 zmv [~Telefonic@187.34.55.220] has joined #lisp 19:11:33 -!- zmv [~Telefonic@187.34.55.220] has quit [Read error: Connection reset by peer] 19:12:06 -!- BlankVerse [~pankajm@122.172.247.54] has quit [Ping timeout: 252 seconds] 19:13:46 -!- sellout-1 is now known as sellout 19:13:54 -!- pferor [~user@unaffiliated/pferor] has quit [Ping timeout: 276 seconds] 19:14:11 -!- zmv_ [~Telefonic@187.34.55.220] has quit [Ping timeout: 240 seconds] 19:17:51 maden [~maden@dsl-128-48.aei.ca] has joined #lisp 19:18:06 bummer 19:18:26 what about emms which uses emacs-lisp to control mplayer ? 19:18:34 is that just a wrapper ? 19:19:06 justinm [~zfx@host86-145-204-238.range86-145.btcentralplus.com] has joined #lisp 19:19:50 nixfreak: emms just runs mplayer 19:20:13 -!- gravicappa [~gravicapp@80.90.116.82] has quit [Remote host closed the connection] 19:20:15 -!- ec|fkn_away_nick is now known as elliottcable 19:20:34 would you say that emms would be ok for Set top box ? 19:20:41 TeMPOraL` [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has joined #lisp 19:21:14 nixfreak: the most difficult part is in writing a parser for mplayer's output, which is the only way to get a feedback 19:21:51 Welcome to unix, we hope you enjoy your stay 19:21:51 <_3b> doesn't it have some way to control it through a named pipe or something? might be confusing it with some other media player though 19:22:40 just brain storming right now 19:23:14 wanna use SDL for a UI that talks to Mplayer 19:23:17 -!- TeMPOraL` [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 19:23:18 _3b: you can send commands to its stdin, but the output it produces is very confusing 19:23:21 TeMPOraL` [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has joined #lisp 19:23:33 <_3b> yeah, just found http://www.mplayerhq.hu/DOCS/tech/slave.txt 19:24:41 -!- maden [~maden@dsl-128-48.aei.ca] has quit [Quit: Leaving] 19:26:41 so I suppose you write lisp functions to interact correct 19:26:50 Also the output is async so you have to match up what it says with what you asked for. 19:27:19 gigamonkey do you have an example ? 19:32:06 nixfreak: A think vlc has a far more programmer friendly interface. There's probably a clearly defined protocol for sending commands and reading output. 19:32:24 you don't think its slower though do you ? 19:32:43 cause I know for transcoding its slower then mencoder 19:33:11 nixfreak: well, I wrote some elisp foo to do transcription. I wanted to get timestamps at various points. There's a command you can send to mplayers stdin to tell it to give you a timestamp. 19:33:13 -!- Inode_ is now known as Inode 19:33:35 *jtza8* risists the urge to be a "grammer nazi". 19:33:46 But then I had to do (set-process-filter *mplayer-process* 'transcribe:grok-output) and have grok-output look for the right string coming back some time later. 19:34:20 *resists. :P 19:34:24 shachaf [~shachaf@204.109.63.130] has joined #lisp 19:34:27 jtza: So, are the other parties 'grammar jews', 'grammar faggots' or 'grammar retards'? 19:34:29 And 'grammar'. 19:34:50 I suppose so. 19:34:57 kill all grammar extremists! 19:35:11 sorry :) 19:35:36 jtza: I think that asking people to spell "it's" properly is perfectly reasonable. 19:35:56 And if you're talking about a missing apostrophe, don't get delusions of grandeur; you're just a punctuation nazi. 19:36:08 -!- lnostdal-laptop [~lnostdal@ti0030a380-dhcp0111.bb.online.no] has quit [Ping timeout: 258 seconds] 19:36:16 Zhivago: That and messing up then and than is even worse to me. 19:36:52 not as bad as "his" in place of "he's" though 19:37:35 gigamonkey: Yep... Which brings me to the question... when is the then/than mix-up a spelling mistake and when is it grammar? 19:37:43 Inode: True. 19:38:28 benny` [~benny@i577A2413.versanet.de] has joined #lisp 19:38:31 jtza8: It's in the mind/fingers of the offender. 19:38:37 jtza8: You can never be sure. :) 19:38:56 Hehe 19:39:12 You are all nazi nazis 19:39:17 juniorroy [~juniorroy@212.36.228.103] has joined #lisp 19:39:24 Let the guy be a half-ass nazi if he pleases 19:39:26 -!- benny [~benny@i577A8B86.versanet.de] has quit [Ping timeout: 240 seconds] 19:39:36 ace4016 [ace4016@adsl-184-32-7-148.mia.bellsouth.net] has joined #lisp 19:39:54 -!- benny` is now known as benny 19:39:58 It's just people that speak english as a first language that really get me all nazi-like. 19:40:20 Its hard 19:40:37 your ok though 19:40:54 *you're :) 19:40:56 feeling the urge yet? 19:41:02 Great success! 19:41:29 -!- Atomsk [ace4016@adsl-184-32-7-148.mia.bellsouth.net] has quit [Ping timeout: 250 seconds] 19:41:51 hmm you can use guile-gnome to talk to gstreamer 19:42:49 *drdo* cowers in fear thinking of gobject 19:43:27 Joreji [~thomas@90-056.eduroam.RWTH-Aachen.DE] has joined #lisp 19:44:19 lnostdal-laptop [~lnostdal@ti0030a380-dhcp0111.bb.online.no] has joined #lisp 19:45:46 how do I return to cl-user package on the repl? I seem to have gotten in a package that does not have (in-package) 19:45:59 (cl:in-package :cl-user) 19:46:01 (cl:in-package :cl-user) 19:46:20 *jtza8* was too late. 19:46:33 you can always qualify operators with their package (: 19:46:39 (CL:IN-PACKAGE :CL-USER) 19:47:03 Krystof: itym (|CL|:|IN-PACKAGE| :|CL-USER|) 19:47:06 ((-; 19:47:08 (Cl:In-PaCkAgE :cL-uSeR) 19:47:38 Lol dood thats l33T! 19:47:46 antifuchs: except even that doesn't work properly in ahem your product ;-) 19:47:57 *_3b* deletes the reader macro on #\( just to make it harder 19:48:06 -!- phadthai_ is now known as phadthai 19:48:15 neither does your form! we're assuming a complying ANSI CL (-: 19:48:49 antifuchs: what's not compliant about that? 19:49:05 <_3b> (setf *read-base* 36) 19:49:23 drdo: nothing - mlisp is not ansi-compliant w.r.t. reader case treatment though 19:49:29 (and case of cl operators) 19:49:36 Thanks all. I'm going to rest. my brain is fried 19:50:21 antifuchs: What's mlisp? 19:50:39 drdo: modern-mode. 19:51:03 Allegro CL 19:51:43 That means (readtable-case :preserve) right? 19:52:17 -!- RwarDoome [~resu@97.72.154.166] has quit [Read error: Connection reset by peer] 19:52:18 no 19:52:27 -!- ISF_ is now known as ISF 19:52:31 What is it then? 19:52:44 is it possible to use LIRC with lispbuilder-sdl 19:52:58 :preserve is part of it, but it's also the entire CL library in lowercase. 19:53:03 see http://www.franz.com/support/documentation/8.1/doc/case.htm (: 19:53:27 -!- TeMPOraL` [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] 19:53:27 sykopomp: i see 19:54:17 Well, modern mode makes sense 19:54:36 I never understood the purpose of the reader converting case 19:54:41 nixfreak: Sure, look for a package or write your own ffi wrapper with CFFI. 19:54:51 drdo: historical backwards-compatibility 19:55:05 discouraging poor programming practices. 19:55:09 :D 19:55:18 sykopomp: eh not really 19:55:49 CamelCase makes me want to stick a fork in my eye. 19:56:03 and anyone who thinks they can type it consistently is a liar. 19:56:05 -!- TristamWrk [~tristamwr@2620:0:2820:b03:214:22ff:fe45:5204] has quit [Quit: Some days you're the pigeon, some days the statue...] 19:56:57 *sykopomp* is amazed that even some web developers he's challenged on the issue can't properly capitalize XHR on the first try. 19:57:34 *jtza8* isn't. :P 19:57:50 eXecute Human Resources? 19:58:06 ChibaPet: XMLHttpRequest 19:58:09 ...I think. 19:58:15 pretty sure that's the one. 19:58:21 I can see that being problematic. 19:59:01 it's lots of fun in parenscript, too. 19:59:17 -x-m-l-http-request, I think? 19:59:58 I'd turn that into xml-http-request... or is this an existing API? 20:00:25 jtza8: it's the way parenscript converts symbols. 20:00:26 kwertii [~kwertii@ResNet-33-19.resnet.ucsb.edu] has joined #lisp 20:00:52 francogrex [franco@grex.cyberspace.org] has joined #lisp 20:01:03 What's wrong with "XML-HTTP-request"? 20:01:20 n.m. 20:01:45 *gigamonkey* does think one of Lisp's greatest features is the availability of #\- for use in names. 20:01:52 <_3b> (defmacro xml-http-request ...) ; there, fixed :p 20:02:02 yeah, but you know :\ 20:02:05 gigamonkey: so very true 20:02:16 _ and camelcase are just ew ): 20:02:27 *sykopomp* does like the -idea- of modern-mode. Has just suffered too much from it recently. 20:02:31 Agreed. 20:02:35 <_3b> (and define-symbol-macro in case you want to pass the function to something) 20:02:52 Having to patch half the libraries you use is a bit of a pain. Specially having to hunt down symbol generators. 20:02:59 gigamonkey +1 20:03:09 Using underscore pains me now. 20:03:29 sykopomp: just abuse support@franz.com 20:03:31 :D 20:04:04 sykopomp: yeah. the way clisp solved that was much cleaner 20:04:13 redline6561_: Shift isn't the most comfortable key to press, yes. 20:04:22 zardoz8 [~zardoz8@76.73.16.26] has joined #lisp 20:04:27 and I wish the bright minds at franz could have gone with that, but then there would have been nobody to make that original mistake 20:04:30 Someday when I invent my own language I'm going to have to enforce whitespace around tokens so we can use #\- in names in #\, in numeric literals. 20:04:33 antifuchs: what did clips do? 20:04:45 per-package case sensitivity 20:04:54 s/clips/clisp 20:05:04 felideon: what Krystof says. I think there's a paper on it somewhere 20:05:17 interesting 20:05:23 http://www.gnu.org/s/clisp/impnotes/package-case.html has docs 20:05:49 gigamonkey: Clever idea when not using s-exps. 20:06:15 gigamonkey: heh, ruby allows ? in identifiers and has a trinary operator (: 20:06:23 gigamonkey: I wish it did the same for - and minux 20:06:25 "minus" 20:06:46 is there another way of interfacing a C struct with cffi besides cffi:defcstruct? I'm grepping iolib for defcstruct and getting zero results 20:06:56 -!- reb [~user@nat/google/x-babfdhrtgmnlddww] has quit [Ping timeout: 260 seconds] 20:07:11 zardoz8: Use the groveler? 20:07:58 *groveller? 20:08:11 jtza8: that is only useful if you need to use only a few fields, but still get offsets and size correct 20:08:24 otherwise there's verrazano 20:08:26 jtza8 looking into it thanks 20:09:04 is groveller actually usable for more complex headers? 20:09:06 argiopeweb [~elliot@175.40.91.184.cfl.res.rr.com] has joined #lisp 20:09:08 mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has joined #lisp 20:09:21 zardoz8: Yes, but it needs a compiler. 20:09:47 reb [~user@nat/google/x-eqlbrjnepjhxpgvf] has joined #lisp 20:09:55 ... it compiles a C file to get the correct header values. 20:10:15 _3b, hello! 20:10:36 sounds great if it works 20:11:09 zardoz8: That it does. IMHO 20:12:54 <_3b> deepfire: 'lo 20:13:09 zardoz8: yeah, all it does is use sizeof and offset info that it gets from the compiler 20:13:20 zardoz8: as long as you know the names of things, groveling is pretty reliable 20:14:19 -!- xan_ [~xan@248.Red-83-39-57.dynamicIP.rima-tde.net] has quit [Read error: Connection reset by peer] 20:15:09 _3b, can you think of anything fundamentally preventing clws from being integrated into hunchentoot? 20:15:21 xan_ [~xan@248.Red-83-39-57.dynamicIP.rima-tde.net] has joined #lisp 20:15:30 <_3b> deepfire: right now the biggest issue i know of is iolib vs usocket 20:15:30 -!- ChongLi` [~user@dslb-092-076-084-126.pools.arcor-ip.net] has quit [Remote host closed the connection] 20:15:43 _3b, ouch, sounds like a showstopper.. 20:15:52 <_3b> i'd like it to be able to be used with hunchentoot at some point though 20:16:03 <_3b> would be nice to be able to share a port, and cookie handling 20:16:16 _3b, usocket is too primitive for clws? 20:16:17 deepfire: I'm using clws in tandem with hunchentoot. 20:16:34 <_3b> no idea, it is on my todo list to look into it, just haven't gotten tothat yet 20:16:34 and I validate clws connections using hunchentoot's cookie/session mechanism. 20:16:39 sykopomp, can I has clues? : -) 20:16:54 mk2 [~user@cpc7-lewi14-2-0-cust39.2-4.cable.virginmedia.com] has joined #lisp 20:17:01 deepfire: _3b clued me in, but I can show you some code later (at work right now) 20:17:02 <_3b> they work fine together as is, you just can't share a port 20:17:23 <_3b> and do the cookie extraction yourself 20:17:27 yeah, they work pretty well together. 20:17:30 <_3b> *and have to do 20:17:37 _3b, hmm.. 20:17:46 sykopomp, I'd love to see that, indeed.. 20:17:55 -!- sonnym1 [~sonny@singlebrookvpn.lightlink.com] has quit [Quit: Leaving.] 20:18:19 wedgeV [~wedge@static-96-239-100-26.nycmny.fios.verizon.net] has joined #lisp 20:18:31 I might be off (GMT+3 here), so if you'd mail _deepfire@feelingofgreen.ru that'd be wonderful.. 20:18:34 _3b: you can make a small ASDF system that redefines certain internal hunchentoot classes and methods 20:18:41 _3b: no need to seek upstream approval 20:18:51 Does anyone know, where I can download common-idioms? The link on http://www.cliki.net/common-idioms doesn't work. 20:19:11 So, in the long haul, hunchentoot wants to be ported to iolib? 20:19:24 <_3b> fe[nl]ix: to add clws to hunchentoot you mean? 20:19:29 deepfire: I'll have to do some cleanup before sending it like that. 20:19:57 deepfire: no, quite the opposite. I don't think edi will agree to that 20:20:14 sykopomp, proprietary code? : -) 20:20:40 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 240 seconds] 20:20:40 deepfire: I call session-verify on a manually-constructed request instance -- clws gives you just about everything you need on client connection, except the user agent. 20:20:59 which I send as the first message on successful socket connection, from the JS in the client-side. 20:21:26 sykopomp, aha.. 20:21:36 and that's that -- you have the corresponding, validated hunchentoot session at that point, and you can associate it with your websocket client however you think is appropriate. 20:22:42 eno [~eno@adsl-70-137-145-74.dsl.snfc21.sbcglobal.net] has joined #lisp 20:22:43 -!- eno [~eno@adsl-70-137-145-74.dsl.snfc21.sbcglobal.net] has quit [Changing host] 20:22:43 eno [~eno@nslu2-linux/eno] has joined #lisp 20:23:01 deepfire: so basically, a client connects, I put it in a 'standby' area, until the client sends the first message with the useragent in it, and then I validate the client and move it to the validated-client area, with the hunchentoot session attached. 20:23:08 ...to repeat myself. 20:23:47 sykopomp, I think I see.. 20:24:17 I'm unfamiliar with hunchentoot session mechanism, so far, so I'm not entirely clear. 20:24:41 The port sharing I've hoped to have, indeed.. 20:25:32 http://static.businessinsider.com/image/4df1f15acadcbb9c5d060000-590/googlers-get-paid-the-most.jpg 20:25:36 _3b, do you think it'd be technically possible to have both http and websocket requests in the same keepalive session? 20:26:00 RwarDoome [~resu@97.72.154.166] has joined #lisp 20:26:03 -!- em [~em@unaffiliated/emma] has quit [Ping timeout: 276 seconds] 20:26:04 ..if what I say makes any sense at all.. 20:26:05 however.. finance industry is much bigger than internet/software industry. they probably employ as many engineers 20:26:09 -!- wedgeV [~wedge@static-96-239-100-26.nycmny.fios.verizon.net] has left #lisp 20:26:09 <_3b> definitely can't do hgttp after you start ws, not sure baout ws after http 20:26:33 -!- justinm [~zfx@host86-145-204-238.range86-145.btcentralplus.com] has quit [Read error: Connection timed out] 20:26:49 Hmm, ws-after-http would be enough. 20:27:05 I guess I can see what this means. 20:27:08 HumanRemains: actually, I think finance industry is smaller, especially if you discount certain services like bookkeeping 20:27:25 *_3b* doesn'tknow much about http, so not sure if that would be technically possible or not, would probably be harder to get right in the server too though 20:27:36 -!- symbole [d1bfab0b@gateway/web/freenode/ip.209.191.171.11] has quit [Ping timeout: 252 seconds] 20:27:46 _3b, is it hard to emulate a trivial HTTP web server using clws? 20:27:47 HumanRemains: well, smaller in population, not necessarily in how much they suck out 20:28:08 <_3b> depends on how trivial 20:28:30 <_3b> actually, maybe it doesn't and the answer is that it can't 20:28:35 *_3b* isn't really sure 20:29:00 _3b, I'm thinking serving the initial page, then doing the rest of interactivity using clws 20:29:13 <_3b> wouldn't want to add it in right now either way though, since i'm planning a rewrite of the low-level stuff once the ws spec is finished 20:29:21 (Initial page + css and pictures) 20:29:46 I see. 20:30:41 <_3b> and probably better to spend the effort to make it work properly with hunchentoot or some other real server anyway 20:31:17 Heh, I'm getting crazy ideas about cannibalising pieces of hunchentoot for ws-after-http. 20:32:08 The idea is that you don't need the webserver for anything after the static content is loaded. 20:32:22 At least, I expect that to be a major use case. 20:32:33 my pet feature wish for clws (or similar) is to have Socket.IO support :) 20:32:46 *deepfire* is unclued about Socket.IO 20:32:47 *_3b* would probably just put it behind nginx or something if there was only static files 20:33:17 Anyway, thanks a lot folks! 20:33:23 deepfire: Socket.IO abstracts the websocket interface, switching between native websockets, flash, and various mechanisms for comet. 20:33:33 You gave me many great ideas. 20:33:36 but with the same interface, client-side, as native ones. 20:33:48 comet? 20:33:53 it supports pretty much every browser out there, afaict. 20:34:04 deepfire: you know, reverse ajax, server-push, whatever. 20:34:28 how people did instant gratification before websockets, when flash wasn't able to. 20:34:48 sykopomp: obsessively hit the Refresh button 20:34:53 *sykopomp* is also hankering for eventual wss support. 20:34:58 felideon: indeed. 20:35:24 dans [~daniel@92.81.77.185] has joined #lisp 20:35:28 Socket.IO is a pure JS implementation? 20:37:20 Socket.IO is a server and a client. 20:37:30 fourier [~user@213.141.149.93] has joined #lisp 20:37:31 but you can have a server that supports Socket.IO's client protocol. 20:38:01 in which case, you just send up the Socket.IO client code to the browser, and let it decide what the best connection to your server would be. 20:38:11 it also supports mobile browsers, which I'm targeting. 20:38:12 I see.. 20:38:25 Thank you again! 20:38:31 Got to crash.. 20:41:13 o7 20:43:26 -!- francogrex [franco@grex.cyberspace.org] has quit [Quit: ERC Version 5.2 (IRC client for Emacs)] 20:45:29 -!- jtza8 [~jtza8@iburst-41-213-27-85.iburst.co.za] has quit [Quit: leaving] 20:51:01 gravicappa [~gravicapp@ppp91-77-165-201.pppoe.mtu-net.ru] has joined #lisp 20:52:01 -!- Elench [~user@unaffiliated/elench] has quit [Ping timeout: 252 seconds] 20:52:56 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 252 seconds] 20:53:21 REPLeffect [~REPLeffec@69.54.115.254] has joined #lisp 20:59:58 attila_lendvai [~attila_le@catv-89-132-188-166.catv.broadband.hu] has joined #lisp 20:59:59 -!- attila_lendvai [~attila_le@catv-89-132-188-166.catv.broadband.hu] has quit [Changing host] 20:59:59 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 21:03:13 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has quit [Quit: Leaving.] 21:06:02 -!- mindCrime [~chatzilla@rrcs-70-62-112-146.midsouth.biz.rr.com] has quit [Quit: ChatZilla 0.9.86.1-rdmsoft [XULRunner 1.9.0.15/2009101909]] 21:09:14 -!- sellout [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 21:09:48 sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has joined #lisp 21:10:27 jsoft [~jsoft@unaffiliated/jsoft] has joined #lisp 21:13:15 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 21:15:13 -!- fourier [~user@213.141.149.93] has quit [Read error: Connection reset by peer] 21:15:35 -!- bhaskara [~user@c-98-248-43-91.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 21:16:31 zfx [~zfx@unaffiliated/zfx] has joined #lisp 21:17:40 val [irc2gowebc@net-93-144-208-144.cust.dsl.teletu.it] has joined #lisp 21:17:45 hi 21:17:53 i've a problem with a little macro 21:18:57 (defmacro random-choices (&rest expr) `(case (random ,(length expr)) (let ((k -1)) ,@(mapcar #' (lambda (e) `(, (incf k) ,e )) expr)))) 21:19:02 the problem is with the let 21:19:14 (random-choices choose randomly to evaluate one of the argument) 21:19:35 the compiler says: In an anonymous lambda form inside RANDOM-CHOICES: Undeclared free variable K (2 references) 21:19:47 i can't understand, why i can't declare let in that way? 21:20:07 i also know the right choice: put the (let (( after the ,@ and before the mapcar 21:20:22 but i simply wanna understand why this version doesn't work.. 21:20:31 dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has joined #lisp 21:21:50 <_3b> the LET is in the expansion, the (incf k) is called during macroexpansion 21:22:38 so when the macro expand 21:22:53 expand to (case (random 5) (let ((k -1)) ... ? 21:22:55 Xach: do you have any experience with the mime magic for Nikon's .nef files? Specifically whether they are actually tiff files? 21:23:11 -!- Jasko [~tjasko@64.211.82.253] has quit [Quit: This computer has gone to sleep] 21:23:34 <_3b> right, it if compiled it would look like that 21:23:51 -!- tritchey [~tritchey@64.211.82.253] has quit [Quit: tritchey] 21:24:01 right, now it seems obviously :-) 21:24:06 thank you as always ^^ 21:25:38 mon_key: they are tiff files last i checked 21:26:37 Xach: ok, I' 21:27:25 Jasko [~tjasko@64.211.82.253] has joined #lisp 21:27:52 am pivoting on output from magicffi and got thrown a curve by that one :) 21:28:36 -!- ehu` [~ehuels@46.207.255.171] has quit [Ping timeout: 260 seconds] 21:29:34 bhaskara [~user@c-98-248-43-91.hsd1.ca.comcast.net] has joined #lisp 21:30:28 labrintok [cfa1525c@gateway/web/freenode/ip.207.161.82.92] has joined #lisp 21:30:41 -!- PuffTheMagic [~PuffTheMa@unaffiliated/puffthemagic] has left #lisp 21:32:39 -!- HG` [~HG@p579F7C8C.dip.t-dialin.net] has quit [Quit: Leaving.] 21:38:32 -!- serichsen [~user@hmbg-4d069c9e.pool.mediaWays.net] has quit [Quit: Good night!] 21:41:13 francogrex [~user@109.130.119.83] has joined #lisp 21:41:19 Hi all 21:45:22 -!- mmauryc [~mmmau@stu232-227.bard.edu] has quit [Ping timeout: 258 seconds] 21:45:28 -!- mstevens [~mstevens@fsf/member/pdpc.active.mstevens] has quit [Quit: leaving] 21:45:45 pferor [~user@unaffiliated/pferor] has joined #lisp 21:47:47 -!- carlocci [~nes@93.37.194.7] has quit [Quit: eventually IE will rot and die] 21:47:58 -!- gravicappa [~gravicapp@ppp91-77-165-201.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 21:49:35 -!- ChibaPet [~mason@74.203.221.34] has quit [Quit: Leaving.] 21:50:54 -!- mk2 [~user@cpc7-lewi14-2-0-cust39.2-4.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] 21:56:11 -!- francogrex [~user@109.130.119.83] has quit [Remote host closed the connection] 21:57:42 -!- cyrillos [~cyrill@188.134.33.130] has quit [Ping timeout: 276 seconds] 22:00:20 -!- dto [~dto@pool-96-252-62-25.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 22:03:36 -!- gkeith_lt [~gkeith@nat/google/x-kutrgekrgbhrhiml] has quit [Ping timeout: 260 seconds] 22:08:55 -!- rmarianski [~rmariansk@mail.marianski.com] has quit [Quit: leaving] 22:11:52 -!- Posterdati [~tapioca@host245-214-dynamic.7-87-r.retail.telecomitalia.it] has quit [Quit: Leaving] 22:12:15 doesthiswork [~Adium@he190123.dsl.fsr.net] has joined #lisp 22:12:25 Posterdati [~tapioca@host245-214-dynamic.7-87-r.retail.telecomitalia.it] has joined #lisp 22:13:50 -!- jikanter [~Adium@66.146.192.56] has quit [Quit: Leaving.] 22:13:53 ltriant [~ltriant@lithium.mailguard.com.au] has joined #lisp 22:16:26 -!- gemelen [~shelta@shpd-92-101-136-202.vologda.ru] has quit [Ping timeout: 240 seconds] 22:16:29 -!- val [irc2gowebc@net-93-144-208-144.cust.dsl.teletu.it] has quit [Quit: http://irc2go.com/] 22:16:56 DelPuerto [~youguy@240.pool85-56-66.dynamic.orange.es] has joined #lisp 22:18:43 -!- austinh [~austinh@c-67-189-92-40.hsd1.or.comcast.net] has quit [Quit: leaving] 22:19:54 -!- ltriant [~ltriant@lithium.mailguard.com.au] has quit [Read error: Connection reset by peer] 22:20:06 ltriant [~ltriant@lithium.mailguard.com.au] has joined #lisp 22:22:46 -!- phf [~user@75.150.171.217] has quit [Ping timeout: 252 seconds] 22:24:45 taiyal [~taiyal@bb-216-195-184-102.gwi.net] has joined #lisp 22:25:33 -!- jsoft [~jsoft@unaffiliated/jsoft] has quit [Ping timeout: 258 seconds] 22:27:02 -!- ltriant [~ltriant@lithium.mailguard.com.au] has quit [Read error: Connection reset by peer] 22:27:19 ltriant [~ltriant@lithium.mailguard.com.au] has joined #lisp 22:27:23 -!- DelPuerto [~youguy@240.pool85-56-66.dynamic.orange.es] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 22:28:16 cffi-grovel is amazing 22:28:29 wish I knew about it sooner 22:33:39 -!- realitygrill [~realitygr@38.104.194.118] has quit [Read error: Connection reset by peer] 22:33:54 -!- zardoz8 [~zardoz8@76.73.16.26] has quit [Quit: CGI:IRC (Ping timeout)] 22:34:17 realitygrill_ [~realitygr@38.104.194.118] has joined #lisp 22:36:11 rosario [~rosario@p57967598.dip.t-dialin.net] has joined #lisp 22:37:49 littlebobby [~bob@unaffiliated/littlebobby] has joined #lisp 22:37:54 -!- xan_ [~xan@248.Red-83-39-57.dynamicIP.rima-tde.net] has quit [Quit: leaving] 22:39:21 -!- ltriant [~ltriant@lithium.mailguard.com.au] has quit [Read error: Connection reset by peer] 22:39:47 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has left #lisp 22:39:47 -!- sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 22:39:52 what's the difference between (setf foo (delete nil foo)) and (delete nil foo)? in practical common lisp, chapter 12 peter says the former is a common idiom, but I don't see the point 22:39:55 sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has joined #lisp 22:40:03 ltriant [~ltriant@lithium.mailguard.com.au] has joined #lisp 22:40:58 <_3b> delete is a function, so can't modify bindings 22:41:09 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 22:41:24 _3b, oh so within a (let ...) the latter wouldn't work? 22:41:39 <_3b> not reliably 22:41:54 <_3b> and not just in LET, same applies to function arguments of special vars 22:42:02 <_3b> *arguments or special vars 22:42:33 is this different to global variables i.e. the ones set with defparameter? 22:42:41 <_3b> no 22:43:02 <_3b> (those are what i meant by 'special variables') 22:43:31 littlebobby: if DELETE were to remove the first element in a list, it the original list won't reflect that change. 22:43:44 littlebobby: also, DELETE is only allowed to be destrucive, not required 22:44:10 so you have to use the return value, no mattet what (: 22:44:13 (littlebobby: see page 69 "Dynamic a.k.a. Special, Variables" if you forgot about them) 22:44:14 "matter" erm. 22:44:21 antifuchs, ah... the requiremnt... indeed - that's what peter mentioned before 22:44:39 this becomes even more annoying if you use SORT (: 22:44:40 <_3b> yeah, that is another important reason :) 22:44:47 antifuchs, that didn't make complete sense to me before, thanks 22:44:54 thanks guys 22:44:58 cool (: 22:45:06 gonna reread that part 22:46:03 (I've gotten confused with SORT before... especially with lists. but the solution is easy: always use the return value) 22:48:13 thin machine -> lisp machine 22:48:58 antifuchs, quote from that chapter: "NSUBSTITUTE and variants can be relied on to walk down the list structure of the list argument and to SETF the CARs of any cons cells holding the old value to the new value and to otherwise leave the list intact. It then returns the original list, which now has the same value as would've been computed by SUBSTITUTE. 6 The key thing to remember about NCONC and NSUBSTITUTE is that they're the exceptions to the r 22:48:58 ule that you can't rely on the side effects of recycling functions. It's perfectly acceptable--and arguably good style--to ignore the reliability of their side effects and use them, like any other recycling function, only for the value they return. 22:49:21 sorry, the quote didn't look so long in the browser 22:50:44 nicdev_ [~nicdev@209-6-50-99.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #lisp 22:52:02 heh 22:52:15 yeah, that's true: nconc and nsubstitute are the notable exceptions (: 22:52:38 otoh, NCONCing something to NIL won't modify nil (: 22:53:33 -!- Joreji [~thomas@90-056.eduroam.RWTH-Aachen.DE] has quit [Ping timeout: 264 seconds] 22:56:17 asmer [~asmer@85-90-197-63.adsl.sta.kh.velton.ua] has joined #lisp 22:56:37 hi, how I can set more than one operator into DO loop? 22:56:50 DO loop body I mean 22:58:04 mrSpec [~Spec@pool-151-204-255-122.bstnma.btas.verizon.net] has joined #lisp 22:58:04 -!- mrSpec [~Spec@pool-151-204-255-122.bstnma.btas.verizon.net] has quit [Changing host] 22:58:04 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 22:59:32 asmer: just do it. (no pun intended) 23:00:20 no, PROGN required 23:02:24 fourier [~user@213.141.149.93] has joined #lisp 23:02:47 asmer: no, unless I'm misunderstanding what you're asking: (do ((i 0 (1+ i))) ((> i 10) nil) (print i) (print (* 2 i))) 23:06:18 gigamonkey: hi 23:06:21 Hello. 23:06:30 gigamonkey: how are you ? 23:06:42 asmer: note how the two calls to print are in the body of the DO with no explicit PROGN. 23:06:45 Posterdati: goodish. 23:06:57 gigamonkey: I'm bordering madness 23:07:43 gigamonkey: like modifying songs in a childish manner 23:08:09 cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #lisp 23:09:19 gigamonkey: I'd like to start an embedded work on that six axis copter 23:09:47 gigamonkey: the kind of miniature copter to take pics and so on 23:10:47 gigamonkey: spy/voyeur toy at last 23:14:30 gigamonkey, 10x 23:14:39 gigamonkey, u r right 23:15:36 -!- lnostdal-laptop [~lnostdal@ti0030a380-dhcp0111.bb.online.no] has quit [Quit: Leaving] 23:16:44 gigamonkey: :( 23:17:26 gn ppl 23:18:13 zmv [~Telefonic@187.34.55.220] has joined #lisp 23:23:44 bhaskara` [~user@c-98-248-43-91.hsd1.ca.comcast.net] has joined #lisp 23:23:49 -!- bhaskara [~user@c-98-248-43-91.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 23:34:35 PuffTheMagic [~PuffTheMa@unaffiliated/puffthemagic] has joined #lisp 23:34:51 -!- Spion [~spion@unaffiliated/spion] has quit [Remote host closed the connection] 23:37:13 DelPuerto [~youguy@90.162.144.123] has joined #lisp 23:38:23 -!- peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has quit [Read error: Connection reset by peer] 23:39:53 peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has joined #lisp 23:41:05 -!- peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has quit [Remote host closed the connection] 23:41:26 peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has joined #lisp 23:42:43 wedgeV [~wedge@static-96-239-100-26.nycmny.fios.verizon.net] has joined #lisp 23:42:44 -!- peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has quit [Remote host closed the connection] 23:42:52 peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has joined #lisp 23:43:52 pferor` [~user@201.212.18.95.dynamic.jazztel.es] has joined #lisp 23:45:27 -!- pferor [~user@unaffiliated/pferor] has quit [Ping timeout: 250 seconds] 23:45:34 barryfm [~barryfm@fl-71-49-6-99.dhcp.embarqhsd.net] has joined #lisp 23:46:17 TeMPOraL` [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has joined #lisp 23:46:25 -!- peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has quit [Client Quit] 23:46:35 peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has joined #lisp 23:47:41 -!- sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 23:47:47 huangho [~vitor@201-66-148-217.paemt700.dsl.brasiltelecom.net.br] has joined #lisp 23:47:52 -!- DelPuerto [~youguy@90.162.144.123] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 23:47:58 sellout- [~Adium@ALagny-751-1-2-90.w86-218.abo.wanadoo.fr] has joined #lisp 23:49:04 -!- peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has quit [Remote host closed the connection] 23:49:11 peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has joined #lisp 23:50:08 -!- peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has quit [Remote host closed the connection] 23:50:14 peterhil [~peterhil@hoasnet-ff04dd00-56.dhcp.inet.fi] has joined #lisp 23:51:26 -!- wedgeV [~wedge@static-96-239-100-26.nycmny.fios.verizon.net] has quit [Quit: wedgeV] 23:52:24 -!- TeMPOraL` [~user@cpc12-oxfd18-2-0-cust64.4-3.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] 23:54:14 -!- kwertii [~kwertii@ResNet-33-19.resnet.ucsb.edu] has quit [Quit: bye] 23:59:09 -!- Jasko2 [~tjasko@64.211.82.253] has quit [Ping timeout: 258 seconds]