00:00:53 -!- ianmcorvidae [~ianmcorvi@musicbrainz/ianmcorvidae] has quit [Read error: Connection reset by peer] 00:00:54 quazimodo: It's just my personal opinion. 00:01:13 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 00:01:19 ianmcorvidae [~ianmcorvi@ip72-200-124-178.tc.ph.cox.net] has joined #lisp 00:01:19 -!- ianmcorvidae [~ianmcorvi@ip72-200-124-178.tc.ph.cox.net] has quit [Changing host] 00:01:19 ianmcorvidae [~ianmcorvi@musicbrainz/ianmcorvidae] has joined #lisp 00:01:21 There's no precedence rule set burnt in brains. Try to ask any C++ programmer the precedence rules! 00:03:03 hrm 00:03:05 The fact that C compilers must warn of legal code is proof of that! if(a=b+c){} 00:03:13 is the quicklips version of slime good enough? 00:03:20 or must I cvs that 00:04:05 Usually you want the stable version of slime, but most importantly, you want the same version of slime and swank. 00:04:28 jleija [~jleija@50.8.10.126] has joined #lisp 00:04:35 Jubb [~ghost@pool-108-28-0-134.washdc.fios.verizon.net] has joined #lisp 00:04:41 That's very important ^ 00:05:46 -!- pulse40 [~pulse40@c-98-196-168-47.hsd1.tx.comcast.net] has quit [Quit: pulse40] 00:07:02 sure, i guess what i'm saying is... should i be using quicklisp or cvs manually? 00:07:22 i have no idea if quicklisp is up to the task 00:07:29 tsuru`` [~charlie@adsl-74-179-19-236.bna.bellsouth.net] has joined #lisp 00:07:32 whether it's up to date or not 00:09:19 -!- tsuru` [~charlie@adsl-74-179-250-178.bna.bellsouth.net] has quit [Ping timeout: 272 seconds] 00:12:26 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 252 seconds] 00:12:35 -!- tiripamwe [~tiripamwe@41.221.159.84] has quit [Ping timeout: 244 seconds] 00:12:52 -!- urandom__ [~user@p548A2B6D.dip.t-dialin.net] has quit [Remote host closed the connection] 00:13:59 tiripamwe [~tiripamwe@41.221.159.84] has joined #lisp 00:14:30 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 00:16:48 -!- slyrus [~chatzilla@173-228-44-92.dsl.static.sonic.net] has quit [Ping timeout: 245 seconds] 00:17:56 (let (s) #i(s = "hello", concatenate('string, s, subseq(",, world", 1)))) 00:18:02 pretty cool :) 00:25:47 -!- jlongster [~user@pool-98-117-94-43.rcmdva.fios.verizon.net] has quit [Ping timeout: 272 seconds] 00:27:53 -!- booguie [~booguie@wsip-98-172-168-236.sd.sd.cox.net] has quit [Remote host closed the connection] 00:29:30 -!- antonv [5d7d31f9@gateway/web/freenode/ip.93.125.49.249] has quit [Quit: Page closed] 00:37:01 quazimodo: it is pretty up to date. 00:37:19 kanru [~kanru@189.120.166.119] has joined #lisp 00:38:31 quazimodo: i use (ql:quickload "quicklisp-slime-helper") to get going on new systems 00:39:56 Forty-3 [~seana11@pool-96-255-130-43.washdc.fios.verizon.net] has joined #lisp 00:42:07 works like unto a charm 00:43:10 Xach: you should thank the guy that made it :) 00:43:50 oh i do 00:43:53 every day! 00:44:21 i usually make or buy him lunch 00:46:03 *Xach* thinks about giving that swell fella a beer out of his own fridge 00:47:51 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Quit: Leaving] 00:53:49 -!- kpreid [~kpreid@adsl-75-37-19-235.dsl.pltn13.sbcglobal.net] has quit [Quit: Quitting] 00:55:04 pjb: well, it feels like my brain is burning when I'm doing C++ :) 00:55:37 *pavelpenev* has had to endure some C++ today 00:55:55 pavelpenev: now, C++ has 27 priority levels. What about prolog which has provision for 1000 priority levels! 00:56:17 (since you can add operators to prolog, specifying the priority level). 00:56:23 -!- kliph [~user@unaffiliated/kliph] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:56:47 kliph [~user@unaffiliated/kliph] has joined #lisp 00:57:20 -!- foreignFunction [~niksaak@94.27.88.195] has quit [Quit: Leaving.] 00:57:21 xwolf-: have a look at http://groups.google.com/group/comp.lang.lisp/browse_frm/thread/245342429c61800/f7966bf3df9f716c?q=objective-cl++group:comp.lang.lisp+author:pascal+author:bourguignon#f7966bf3df9f716c for an even cooler example of a reader macro. 00:57:33 unlike C++ the burning sensation I get in my head when I do prolog is good :) 00:57:47 Indeed. 00:59:11 *pavelpenev* thinks he should learn prolog properly, and not just enough of it to pass his exams. 01:00:00 pnq [~nick@unaffiliated/pnq] has joined #lisp 01:00:35 yrk [~user@c-50-133-134-220.hsd1.ma.comcast.net] has joined #lisp 01:00:39 -!- yrk [~user@c-50-133-134-220.hsd1.ma.comcast.net] has quit [Changing host] 01:00:39 yrk [~user@pdpc/supporter/student/yrk] has joined #lisp 01:04:09 lusory [~lusory@bb42-60-31-187.singnet.com.sg] has joined #lisp 01:10:32 kpreid [~kpreid@adsl-75-37-19-235.dsl.pltn13.sbcglobal.net] has joined #lisp 01:11:32 gonzojive [~red@c-67-188-215-86.hsd1.ca.comcast.net] has joined #lisp 01:15:03 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Excess Flood] 01:15:30 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 01:17:29 neoesque [~neoesque@210.59.147.232] has joined #lisp 01:22:51 -!- Modius [~user@cpe-70-123-128-240.austin.res.rr.com] has quit [Remote host closed the connection] 01:29:43 -!- Sorella [~quildreen@oftn/member/Sorella] has quit [Quit: (quit :reason 'sleep)] 01:30:16 wow everyone hates c++ 01:31:03 am0c [~am0c@203.246.179.173] has joined #lisp 01:31:41 i'm not sure i could tell you the exact precedence rules but the main ones are eonough. i do probably put more brackets than are needed sometimes to clarify 01:33:09 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Excess Flood] 01:33:39 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 01:34:36 -!- agumonkey [~agu@249.217.72.86.rev.sfr.net] has quit [Ping timeout: 245 seconds] 01:37:51 gurrag [~gurrag@bb-216-195-184-91.gwi.net] has joined #lisp 01:37:51 -!- gurrag [~gurrag@bb-216-195-184-91.gwi.net] has quit [Changing host] 01:37:52 gurrag [~gurrag@unaffiliated/gurrag] has joined #lisp 01:39:21 n00b6502: on the other hand, in lisp, you cannot put more brackets ore parentheses: you can only put the minimal number of meaningful parentheses in a lisp program. 01:39:46 ok less ambigious 01:44:19 (with-extra-parens (((+) (27) (1000)))) 01:46:26 (let ((x 42)) (flet ((x () 33)) (with-extra-parens (((x)))))) ? 01:46:37 phadthai, I will accept your challenge 01:46:53 Quadrescence: Why? I already beat it. 01:47:04 heh 01:47:12 pjb, au contraire! 01:47:34 What will my form return? Why? 01:48:44 pjb, let me write a program to compute it and we will see! 01:48:53 if (x) is a funcall (which with-extra-parens might assume), 33, if not, 42? :) 01:49:08 phadthai: there's two binding to X ! 01:49:22 Why should it stop at (X) and not remove them for X? 01:49:40 well CL is a lisp-2 01:50:12 Furthermore, you can't know what binding there are until run-time, for global fbindings and for global dynamic bindings. 01:50:20 any big developments in the lisp world in the last 12 months? I've been out of touch. 01:50:41 So you will have to try the combination of all parenthesis removal, and see those that don't give an error. 01:50:49 Which means you'll have random side effects. 01:51:01 It's one of the worst features ever proposed, semantically. 01:51:26 gonzojive: trolls on cll ? 01:51:33 and a totally useless one (with-extra-parens, I mean) 01:53:22 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Quit: http://www.redeclipse.net -- Fast-paced online FPS] 01:54:29 slime 01:54:32 is freaking amazing 01:55:12 gonzojive: the disappearance of Robert Strandh? 01:55:51 how do I access completion in lisp-mode? 01:55:58 clearly a solution: http://paste.lisp.org/display/131265 01:56:03 M-TAB 01:56:35 exterminate! exterminate! 01:56:58 lol 01:57:03 doesn't wokr. 01:57:04 a testament to the power of lisp that you can do semantic hacks so pointless in ten lines 01:57:19 Bike, haha 01:57:33 Try: (exterminate-extra-parens '((sin) (+ 3 4))) 01:57:53 pjb, Look, I redefined the problem to fit with the solution I had in mind. 01:57:56 pjb: ah. Any great leaps forward technologically speaking? 01:58:05 (typically what I do when customers want something) 01:58:46 Quadrescence: well I admire the try, I didn't bother to try :) 01:58:50 gonzojive: I wrote a CL stepper since ccl doesn't have one. 01:59:23 eldoc error: not connected ? 01:59:31 for CCL, I presume 01:59:44 gonzojive, lisp can work on finitely generated permutation groups 01:59:55 gonzojive: http://pvk.ca/Blog/2012/08/27/tabasco-sort-super-optimal-merge-sort/ here's something fun 02:00:38 how do I access documentation from a quicklisp package in slime? 02:01:24 the same way you access documentation of a regular package in slime? 02:03:11 nice Tabasco article 02:03:30 -!- Forty-3 [~seana11@pool-96-255-130-43.washdc.fios.verizon.net] has quit [Ping timeout: 240 seconds] 02:03:44 alexy [~alexy@imss.chinamobile.com] has joined #lisp 02:03:59 -!- Fade [~fade@outrider.deepsky.com] has quit [Read error: Operation timed out] 02:04:00 *Quadrescence* can't believe pkhuong went along with that name. 02:04:00 -!- alexy [~alexy@imss.chinamobile.com] has left #lisp 02:04:03 Quadrescence: don't know that either :-/ 02:04:19 Finally, I'm an inspiration to the lisp community, even if very indirectly. 02:04:25 Quadrescence: "finitely generated permutation groups?" Is it time for me to go back to graduate school? 02:05:30 gonzojive, maybe! or just learn what a permutation is and then forget about the technicalities 02:05:38 -!- j_king [~jking@mortar.walled.net] has quit [Ping timeout: 246 seconds] 02:05:40 -!- Tuxedo [~tuxedo@mortar.walled.net] has quit [Ping timeout: 248 seconds] 02:05:43 gonzojive, easily do stuff like prove a rubiks cube can't have a flipped edge -- all in Lisp! 02:08:17 Quadrescence, the way you phrased "lisp can work on finitely generated permutation groups" made FGPG sound like a new paradigm for computing 02:08:35 haha :) 02:09:57 n00b6502: It's not that I have C++, but in the 3 years I've been using it at my school I've found 0 reasons to want to learn it well, and more than enough reasons to try and ignore it after I graduate. 02:10:03 hate* 02:10:31 FreeTux [~tuxedo@mortar.walled.net] has joined #lisp 02:11:01 i'm aware of its limitations .. but like how direct it is 02:11:12 Direct in what sense? 02:11:40 is this talking-about-c++ in #lisp business going to continue for much longer? I think finitely generated permutation groups are more interesting 02:11:43 direct in the sense of being able to visualize whats going on low level 02:11:44 anything in C++ you like that isn't in C? 02:12:01 templates 02:12:19 thats why i'm interested in lisp, a better macro syystem 02:12:30 Bike, see the README here! https://bitbucket.org/tarballs_are_good/cl-permutation 02:12:39 (and it's on quicklisp!) 02:12:45 steffi_s [~marioooh@cpe-67-250-43-211.nyc.res.rr.com] has joined #lisp 02:12:57 j_king [~jking@mortar.walled.net] has joined #lisp 02:12:58 I've seen that, actually. I don't suppose you looked at the tabasco sort thing? 02:13:00 loke_erc [~user@c-1756e555.012-14-67626717.cust.bredbandsbolaget.se] has joined #lisp 02:13:00 fade [~fade@outrider.deepsky.com] has joined #lisp 02:13:32 me? I have. I read it before I got out of bed. 02:13:44 -!- homie` [~user@xdsl-78-35-165-6.netcologne.de] has quit [Ping timeout: 268 seconds] 02:13:54 just because of it using perms, I mean. 02:14:00 -!- fade is now known as Fade 02:14:34 Yeah, I saw it do cycle decomposition. I was going to tell pkhuong to just use cl-permutation, but I'm sure he'd say "too much bloat for a simple little operation" 02:15:05 heh 02:18:20 -!- neoesque [~neoesque@210.59.147.232] has quit [Remote host closed the connection] 02:18:53 -!- steffi_s [~marioooh@cpe-67-250-43-211.nyc.res.rr.com] has quit [Quit: zzzz] 02:19:21 -!- xwolf- [~yhiselamu@lap.ee] has quit [Quit: #yhiselamu | www.yhiselamu.ee (EOF)] 02:24:08 -!- Cosman246 [~user@c-66-235-50-85.sea.wa.customer.broadstripe.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 02:24:13 -!- tensorpudding [~michael@99.160.220.254] has quit [Ping timeout: 272 seconds] 02:25:41 -!- cfy [~cfy@unaffiliated/chenfengyuan] has quit [Read error: Connection reset by peer] 02:32:19 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #lisp 02:38:01 xjiujiu [~quassel@218.77.14.202] has joined #lisp 02:38:14 PhoSor [~pho_nzp@213.87.240.56] has joined #lisp 02:38:47 -!- apathor [~apathor@c-24-218-104-106.hsd1.ma.comcast.net] has quit [Quit: leaving] 02:42:12 -!- kuzary [~who@gateway/tor-sasl/kuzary] has quit [Quit: return 0;] 02:42:25 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 02:42:38 -!- jleija [~jleija@50.8.10.126] has quit [Quit: leaving] 02:42:56 _veer [~veer@pool-173-65-234-164.tampfl.fios.verizon.net] has joined #lisp 02:42:56 -!- _veer [~veer@pool-173-65-234-164.tampfl.fios.verizon.net] has quit [Changing host] 02:42:56 _veer [~veer@unaffiliated/lolsuper-/x-9881387] has joined #lisp 02:43:04 kuzary [~who@gateway/tor-sasl/kuzary] has joined #lisp 02:43:50 -!- FreeTux is now known as Tuxedo 02:44:35 -!- _veer is now known as lolsuper_ 02:56:48 aslan69 [~aslan69@c-75-71-21-183.hsd1.co.comcast.net] has joined #lisp 02:58:01 -!- Natch [~Natch@c-1dcce155.25-4-64736c10.cust.bredbandsbolaget.se] has quit [Remote host closed the connection] 03:02:34 -!- tiripamwe [~tiripamwe@41.221.159.84] has quit [Ping timeout: 244 seconds] 03:03:25 -!- benny [~user@i577A7C20.versanet.de] has quit [Ping timeout: 260 seconds] 03:04:21 -!- PhoSor [~pho_nzp@213.87.240.56] has quit [Ping timeout: 260 seconds] 03:04:44 -!- qptain_Nemo [~qN@81-235-52-30-no79.bredband.skanova.com] has quit [Read error: Connection reset by peer] 03:09:31 mattrepl [~mattrepl@pool-72-66-73-241.washdc.fios.verizon.net] has joined #lisp 03:15:23 PhoSor [~pho_nzp@213.87.240.38] has joined #lisp 03:15:50 sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has joined #lisp 03:16:49 Yuuhi` [benni@p54839A10.dip.t-dialin.net] has joined #lisp 03:17:04 -!- VieiraN [~VieiraN@187.10.244.166] has quit [Remote host closed the connection] 03:18:20 -!- Yuuhi [benni@p5483A3E8.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 03:21:11 tiripamwe [~tiripamwe@41.221.159.84] has joined #lisp 03:21:19 superflit [~superflit@209-180-241-159.hlrn.qwest.net] has joined #lisp 03:22:25 -!- mattrepl [~mattrepl@pool-72-66-73-241.washdc.fios.verizon.net] has quit [Quit: mattrepl] 03:22:44 cfy [~cfy@unaffiliated/chenfengyuan] has joined #lisp 03:25:52 -!- xjiujiu [~quassel@218.77.14.202] has quit [Read error: Connection reset by peer] 03:28:18 -!- logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Read error: Connection reset by peer] 03:28:18 -!- pnq [~nick@unaffiliated/pnq] has quit [Quit: Leaving.] 03:30:07 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 03:30:40 -!- gonzojive [~red@c-67-188-215-86.hsd1.ca.comcast.net] has quit [Quit: gonzojive] 03:31:40 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 03:33:43 *Quadrescence* is sad that the *MACROEXPAND-HOOK* (lambda (exp f e) (incf *global*) (funcall exp f e)) blows the stack. 03:34:03 how does it do that o.O 03:36:21 I tried doing it with 100k+ lines of code, and the stack got to... let me see 16 MB before falling to the ground. 03:36:55 how does it modify stack dynamics wrt. the norm? 03:37:14 Ralith, That, I have no idea. 03:37:51 yeah idgi either 03:38:38 This is what I did: http://paste.lisp.org/display/131266 03:41:33 Can anyone think of a better way to count the number of macro expansions that occur during a compilation process? 03:41:55 -!- kanru [~kanru@189.120.166.119] has quit [Ping timeout: 268 seconds] 03:42:49 hmm does setq also cause the problem, vs setf? 03:43:04 oh, that would be nasty. 03:43:56 hmm vs incf (which internally uses the same macro magic as setf) 03:44:09 Well no setf/incf causes nothing to occur (nothing bad) 03:44:32 which is even stranger to me 03:44:40 (this is LispWorks) 03:44:49 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 246 seconds] 03:45:00 setf/incf expand into some macro, and that's the macro expand hook, possibly producing recursive macroexpansion 03:45:11 s/into some/a/ 03:45:23 phadthai, hm! Good idea 03:45:32 try compiling hook first? 03:46:37 sbcl won't even let me set *macroexpand-hook* to an interpreted function. reasonable. 03:46:54 incf eventually expands (here) into a setq; setq does not expand at all, so... I think setq should be safe. 03:47:19 yes, but when it tries to macroexpand the incf, it will call hook, and then it will try to expand the incf... 03:47:22 (maybe) 03:47:38 so you could try also (setq *global* (1+ *global*)) 03:47:41 Bike, I think that's the issue as phadthai explained 03:47:53 phadthai: or just ensuring hook is compiled. 03:47:57 yes 03:48:35 Yes, it works now. 03:49:23 nice 03:49:28 maybe you should suggest to lispworks that they warn you when you set the hook to an interpreted function? 03:49:42 Vutral [ss@mirbsd/special/Vutral] has joined #lisp 03:49:53 Bike, probably a good idea. 03:51:59 teggi [~teggi@113.172.54.215] has joined #lisp 03:53:02 hm, fewer expansions than I expected. ~500k 03:53:39 -!- DataLinkDroid [~DataLinkD@101.169.55.21] has quit [Ping timeout: 260 seconds] 03:53:51 gcv [~gcv@c-76-126-148-240.hsd1.ca.comcast.net] has joined #lisp 03:54:16 phadthai: ahh, that makes sense. 03:55:23 DataLinkDroid [~DataLinkD@101.169.55.21] has joined #lisp 03:56:49 hmm I'm trying to crash ecl with a lambda using incf and am not succeeding heh 03:57:01 but I guess it compiles to bytecode on the fly 03:57:12 :) 03:57:34 booguie [~booguie@ip68-101-218-78.sd.sd.cox.net] has joined #lisp 03:57:37 # - COMPILED-FUNCTION 03:58:41 so its interpreter-mode is a bytecode interpreter and macros are already expanded 04:04:58 logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 04:12:50 -!- kliph [~user@unaffiliated/kliph] has quit [Ping timeout: 244 seconds] 04:14:58 gonzojive [~red@c-67-188-215-86.hsd1.ca.comcast.net] has joined #lisp 04:15:15 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 255 seconds] 04:16:22 -!- gonzojive [~red@c-67-188-215-86.hsd1.ca.comcast.net] has quit [Client Quit] 04:18:14 tsuru``` [~charlie@adsl-98-87-47-160.bna.bellsouth.net] has joined #lisp 04:18:21 -!- tiripamwe [~tiripamwe@41.221.159.84] has quit [Ping timeout: 252 seconds] 04:18:42 Vutral [ss@mirbsd/special/Vutral] has joined #lisp 04:18:45 -!- robot-be` [~user@c-24-118-142-0.hsd1.mn.comcast.net] has quit [Remote host closed the connection] 04:19:54 -!- tsuru`` [~charlie@adsl-74-179-19-236.bna.bellsouth.net] has quit [Ping timeout: 264 seconds] 04:20:09 -!- DataLinkDroid [~DataLinkD@101.169.55.21] has quit [Quit: Bye] 04:20:35 MoALTz [~no@host-92-8-144-135.as43234.net] has joined #lisp 04:30:46 -!- gcv [~gcv@c-76-126-148-240.hsd1.ca.comcast.net] has quit [Quit: gcv] 04:31:01 -!- loke_erc [~user@c-1756e555.012-14-67626717.cust.bredbandsbolaget.se] has quit [Remote host closed the connection] 04:33:22 Here was my attempt at a non-polluting COUNT-MACRO-EXPANSIONS macro: https://bitbucket.org/tarballs_are_good/lisp-random/src/5916d00a06bd/macroexpand-count.lisp 04:35:45 Quadrescence: would checking for (macro-function 'setq) tell you if setq's a macrO? 04:36:30 -!- impulse [~impulse@bas3-toronto48-2925078992.dsl.bell.ca] has quit [Ping timeout: 240 seconds] 04:37:01 setq is a special operator. It could be defined as a macro so indeed. 04:37:41 mattrepl [~mattrepl@pool-72-66-73-241.washdc.fios.verizon.net] has joined #lisp 04:37:45 Bike, yes 04:37:57 fffde [~shawn@222.126.194.154] has joined #lisp 04:38:31 impulse [~impulse@bas3-toronto48-2925078992.dsl.bell.ca] has joined #lisp 04:38:45 Bike, however, I'm not sure that being able to check is advantageous to enhancing the definition to work more portably 04:38:55 Otherwise you can always use (compile nil (lambda )) 04:39:07 I suppose if you were feeling really paranoid you could (let ((real-hook (compile nil ...))) `(...(flet ((hook (e f env) (funcall real-hook e f env) ... 04:39:25 pjb, that doesn't work in this case because I'm LAMBDA would be closing some variables. 04:39:47 I've not said (compile nil `(lambda )) 04:40:01 pjb, how does that make any difference? 04:40:20 (lambda () ) is a closure. `(lambda ) not. 04:40:56 pjb, that's correct, which is what I'm saying 04:41:01 compile works on interpreted closures, huh? 04:41:08 Yep. 04:41:15 -!- tali713 [~tali713@c-75-72-193-140.hsd1.mn.comcast.net] has quit [Read error: No route to host] 04:41:24 neat. learn something new every time someone comes up with a problem I never considered to need solving 04:41:37 (let ((x 0)) (compile nil (lambda () x))) results in a failure for my lisp. 04:42:05 works on sbcl 04:42:14 It works in all the other implementations. 04:42:33 «The consequences are undefined if the lexical environment surrounding the function to be compiled contains any bindings other than those for macros, symbol macros, or declarations.» Oh, geh. 04:42:37 tiripamwe [~tiripamwe@41.221.159.83] has joined #lisp 04:42:38 and (funcall ) works everywhere but in cmucl and ecl. 04:42:53 :-( 04:43:05 So yo have to insert the values you want with ` , 04:43:11 tali713 [~tali713@c-75-72-193-140.hsd1.mn.comcast.net] has joined #lisp 04:43:16 he wants to be able to alter the value. 04:43:20 http://paste.lisp.org/display/131267 04:44:30 -!- MoALTz [~no@host-92-8-144-135.as43234.net] has quit [Ping timeout: 252 seconds] 04:44:44 How about use a SPECIAL gensym? 04:45:25 Then use compile-file. That's a strange restriction on compile 04:45:59 pjb, I prefer to have things work in both compiled and interpreted environments 04:46:19 -!- tali713 [~tali713@c-75-72-193-140.hsd1.mn.comcast.net] has quit [Client Quit] 04:46:56 Bike, good idea... 04:47:07 My point is that in implementations that have an interpreter, if they refuse to compile closures, it becomes impossible to set a *macroexpand-hook* ! 04:48:09 «The original motivation [for the restriction] was "Many implementations cannot correctly compile functions that are defined interpretively in a non-null lexical environment, because the compiler and interpreter use different representations for closures." 04:48:29 whatever. 04:48:33 Bike, That wouldn't work, because the extent of the variable is limited 04:48:53 The alternative to write conforming *macroexpand-hook*s is to write your own minimal-compiler 04:49:07 incoming pjb's minimal compiler in 3... 2... 1... 04:49:18 Quadrescence: er, what? 04:49:45 Bike, erm... wait, I might have mistaken an error for what I said there 04:49:49 Which means you have to provide your own CL macros, since the implementation may use an implementation specific special operator in them , which doesn't necessarily have a macroexpansion. 04:50:15 I mean, if CL implementations were like C implementations, we'd be really fucked off. 04:50:18 like (let ((,count 0)) (declare (special ,count)) (flet ((,hook (...) (declare (special ,count)), I think that should work. 04:51:03 nkkarthik [~nkkarthik@smtpbt.pramati.com] has joined #lisp 04:51:34 hum, sbcl in eval mode errors out on compiling a closure too. 04:54:37 Bike, This seems to work, though it doesn't work equivalently to the one above when you nest COUNT-MACRO-EXPANSIONS: https://bitbucket.org/tarballs_are_good/lisp-random/src/dca5f7814e23/macroexpand-count.lisp#cl-36 04:54:55 Bike, pretty clever idea 04:55:55 um... make the macro itself close around the gensym and expand into nothing if it's already bound, maybe 04:56:10 (setf *macroexpand-hook* (funcall (compile nil (let ((x 0)) `(lambda () (let ((x ,x)) (lambda (a b c) (incf x) (funcall a b c)))))))) 04:56:39 xscc [~xscc@123.160.133.245] has joined #lisp 04:57:51 pjb, in the example I pasted I also want to use X outside of the scope of the LAMBDA 04:57:55 that's impressively twisted, but you still need to get x out. or does that do that? 04:58:48 (defvar *closures* (funcall (compile nil (let ((x 0)) `(lambda () (let ((x ,x)) (list (lambda (a b c) (incf x) (funcall a b c)) (lambda () x) ))))))) (setf *macroexpand-hook* (first *closures*)) (funcall (second *closures*)) 04:59:14 good lord. 04:59:16 Bike, I don't think it does that, since that outer LET's variable isn't modified 04:59:33 -!- setmeaway [setmeaway3@119.201.52.168] has quit [Quit: Leaving] 05:00:54 setmeaway [~setmeaway@119.201.52.168] has joined #lisp 05:01:26 The outer let is useless really. 05:01:38 You can just write the initial value inside the lambda expression. 05:04:32 leo2007 [~leo@216.185.105.36] has joined #lisp 05:06:37 -!- xscc [~xscc@123.160.133.245] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 05:06:47 i just discovered 'clojure' has a macro that i called 'pipe' .. (defun lerp( lo hi f) (pipe (- hi lo)(* f)(+ lo))) ..-> 05:06:57 makes me feel a little less crazy :) 05:07:17 pjb, I'm getting "undefined variable X", haven't determined why yet. 05:08:16 oh, my fault 05:08:52 -!- `fogus|away [~fogus@burke-matrex.d-a-s.com] has quit [Ping timeout: 268 seconds] 05:09:14 pjb, that seems to work too. nice purely lexical solution 05:09:34 (though a bit hairy :) 05:11:52 -!- aslan69 [~aslan69@c-75-71-21-183.hsd1.co.comcast.net] has quit [Quit: aslan69] 05:12:17 `fogus|away [~fogus@burke-matrex.d-a-s.com] has joined #lisp 05:13:38 xscc [~xscc@123.160.133.245] has joined #lisp 05:13:47 (here are the solutions integrated in: https://bitbucket.org/tarballs_are_good/lisp-random/raw/e02e52e63759/macroexpand-count.lisp ) 05:14:09 -!- dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has quit [Remote host closed the connection] 05:14:46 -!- xscc [~xscc@123.160.133.245] has quit [Client Quit] 05:15:00 do lisp implementations used tagged memory , e.g. ints are 30 bits with 2 used for tags or somethign ... or do they put the tags elsewhere 05:15:20 n00b6502, they aren't required to but often do 05:15:48 i guess with an MMU i's just as easy to stick the tags in a bitfield mirroring the rest 05:15:59 -!- `fogus|away [~fogus@burke-matrex.d-a-s.com] has quit [Read error: Operation timed out] 05:16:36 kushal [kdas@nat/redhat/x-dpyjufmsnfgpwram] has joined #lisp 05:16:36 -!- kushal [kdas@nat/redhat/x-dpyjufmsnfgpwram] has quit [Changing host] 05:16:36 kushal [kdas@fedora/kushal] has joined #lisp 05:16:56 the size of fixnum is implementation dependent too 05:17:31 (and usually varies with architecture in the same implementation) 05:18:44 -!- PhoSor [~pho_nzp@213.87.240.38] has quit [Ping timeout: 260 seconds] 05:19:41 I wonder if, in pjb's suggestion, the inner lambdas necessarily need to be compiled lambdas, or if the compiler can compile an outer lambda and produce two inner interpreted lambdas 05:22:18 No, it should compile the inner lambdas. 05:22:39 But then we don't really care. What matters, is that it must do the minimal compilation on them: so no more macros. 05:22:46 yeah 05:23:15 That's the only thing that COMPILE has to do, the minimal compilation. 05:23:24 right 05:27:32 `fogus|away [~fogus@burke-matrex.d-a-s.com] has joined #lisp 05:28:04 asvil [~asvil@178.121.255.252] has joined #lisp 05:30:33 angavrilov [~angavrilo@217.71.227.190] has joined #lisp 05:37:29 PhoSor [~pho_nzp@213.87.240.92] has joined #lisp 05:41:48 logger__ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 05:43:09 -!- logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Read error: Connection reset by peer] 05:44:12 -!- EyesIsMine [~Eyes@WiseOS/Founder/EyesIsMine] has quit [Read error: Connection reset by peer] 05:47:06 sdemarre [~serge@91.176.31.180] has joined #lisp 05:48:25 steffi_s [~marioooh@184.152.73.25] has joined #lisp 05:53:08 whats the difference between set, setq, setf 05:54:09 did you check out CLHS? 05:54:16 the general case is setf. setf is used for all places 05:55:32 asvil, though with (defvar x (list 'x)), (set (car x) 5) and (setf (car x)) will not have the same effect :) 05:58:36 Varargs... Looks like I'll have some more fun with macros. 06:00:06 -!- jjkola_ [~androirc@212-226-72-200-nat.elisa-mobile.fi] has quit [Ping timeout: 246 seconds] 06:00:50 Quadrescence: yes, I simplified answer about set* 06:01:10 (I actually know you know, I just wanted to say it anyway for the sake of clarification.) 06:02:45 would you just use a (list ...) where a python programmer would use a tuple. (i've just read about 'destructuring-bind') 06:02:45 -!- Jubb [~ghost@pool-108-28-0-134.washdc.fios.verizon.net] has quit [Remote host closed the connection] 06:03:03 n00b6502: Yes. 06:03:25 -!- booguie [~booguie@ip68-101-218-78.sd.sd.cox.net] has quit [Remote host closed the connection] 06:03:26 I think an array is a little closer to the general idea of a tuple 06:03:30 gravicappa [~gravicapp@ppp91-77-178-171.pppoe.mtu-net.ru] has joined #lisp 06:03:36 (or more specifically, a simple-vector) 06:05:30 lcc_ [~lcc@75-173-72-107.albq.qwest.net] has joined #lisp 06:05:36 -!- lcc [~lcc@unaffiliated/lcc] has quit [Ping timeout: 268 seconds] 06:05:48 robot-beethoven [~user@c-24-118-142-0.hsd1.mn.comcast.net] has joined #lisp 06:05:51 -!- fantazo [~fantazo@91-119-125-214.dynamic.xdsl-line.inode.at] has quit [Remote host closed the connection] 06:07:14 jewel [~jewel@196-210-138-20.dynamic.isadsl.co.za] has joined #lisp 06:08:50 momo-reina [~user@122.179.111.167] has joined #lisp 06:09:05 Oh yeah, Quadrescence is right. Tuples are O(1). 06:11:06 strictly speaking, a mathematical tuple is just a product of N types, equipped with N projections from the tuple space to each individual type, which doesn't necessarily require O(1) access. 06:11:26 I meant Python's tuple. 06:11:56 i see 06:11:56 'anonymous struct' is what i think of it as 06:11:57 bearr [~yhiselamu@lap.ee] has joined #lisp 06:12:06 piko [~piko@ip4-83-240-108-205.cust.nbox.cz] has joined #lisp 06:12:37 Quadrescence: a "mathematical tuple" doesn't have computational complexity. 06:13:04 Ralith, that is kind of what I am saying by the "not necessarily part" 06:14:04 -!- recived [~recived@ns.unatlib.org.ru] has quit [Remote host closed the connection] 06:14:19 it might be what you meant, but it's not what you said. 06:15:28 agumonkey [~agu@249.217.72.86.rev.sfr.net] has joined #lisp 06:15:37 JPeterson [~JPeterson@s213-103-211-58.cust.tele2.se] has joined #lisp 06:15:58 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 265 seconds] 06:16:02 Ralith, The only reason a "mathematical tuple" doesn't have computational complexity associated with it is simply because it's not required for the definition. However for any pragmatic construction, complexity will crop up sooner or later. 06:16:36 Quadrescence: it has no more relevance than color or proximity to jupiter. 06:16:42 ok: (vector. ..) or #( ..) will return something with dynamic sizing, but there's also "make-array" for a fixed size? 06:16:43 prxq [~mommer@mnhm-4d013b3d.pool.mediaWays.net] has joined #lisp 06:16:55 should i make a macro (tuple ....) :) 06:17:07 n00b6502: Do it. 06:17:08 Ralith, it has plenty of relevance: we are talking about programming, in which we can embed the mathematical idea 06:17:17 vector doesn't imply dynamic sizing. this isn't C++ 06:17:35 Quadrescence: if you are talking about programming, do not represent yourself as talking about math :P 06:17:47 heh as they do in #haskell 06:17:55 Ralith, the two aren't mutually exclusive 06:18:07 n00b6502: if you want a resizable vector just pass the appropriate options to make-array. 06:18:09 -!- kuzary [~who@gateway/tor-sasl/kuzary] has quit [Ping timeout: 276 seconds] 06:19:58 macro (tuple..) and another for destrustructing version of 'setf' (setf src (tuple x y z )) .... (sett (x y z) src) 06:20:13 Quadrescence: nor are they interchangable. 06:20:15 you sure like weird macros. 06:20:16 'destructuring bind' seems to be like a let (scoped) 06:20:26 yeah . bend the language to my will 06:20:28 Ralith, fortunately i haven't interchanged them yet. 06:20:53 kuzary [~who@gateway/tor-sasl/kuzary] has joined #lisp 06:21:05 Quadrescence: yes, you've just munged them together carelessly :P 06:21:27 destructuring-bind usually expands to let, check out (macroexpand-1 '(destructuring-bind (a b) list)) 06:21:37 Ralith, i disagree, but i'll concede as to not stink up the channel with non-lisp stuff 06:22:19 fair enough 06:22:29 (defun (dot v0 v1)(sett (x0 y0 z0) v0 (x1 y1 z1) v1) (+(* x0 x1)(* y0 y1)(* z0 z1))) 06:22:45 oops 1 bracket misplaced at the start 06:23:06 thats what it'll look like 06:23:07 mrSpec [~Spec@88.208.105.6] has joined #lisp 06:23:07 -!- mrSpec [~Spec@88.208.105.6] has quit [Changing host] 06:23:07 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 06:23:21 n00b6502, this isn't C++: SETT can't introduce new lexical bindings with the syntax you provided 06:23:34 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 06:23:36 hkBst [~marijn@79.170.210.172] has joined #lisp 06:23:36 -!- hkBst [~marijn@79.170.210.172] has quit [Changing host] 06:23:36 hkBst [~marijn@gentoo/developer/hkbst] has joined #lisp 06:23:56 'setf' does though doesn't it? what i've got in mind is a macro sett expanding out to setf 06:24:20 (defun dot (&rest vs) (reduce #'+ (map 'vector #'* vs))) 06:24:29 and no, setf doesn't establish lexical bindings. 06:24:32 n00b6502, no it does nopt 06:24:35 -p 06:25:16 n00b6502, try: (defun foo () (setf x 0)) (foo) 06:25:25 and then evaluate x 06:26:08 (defun lerp (a b f)(setf diff (- b a))(+(* diff)a)) <--- this seems to work for me in the REPL 06:26:17 perhaps the repl is different 06:26:33 clisp on linux 06:26:49 n00b6502, and type "diff" after you call that function 06:26:50 type diff in the repl after calling that function 06:27:04 dont want it outside of the function, just inside 06:27:14 definitely want a local - just not nested 06:27:29 arrghh ouch 06:27:42 How are you learning lisp exactly? Still just flailing around? 06:27:46 its there. its a global?! 06:27:58 as said, setf doesn't introduce lexical bindings 06:28:02 shockhorror.gif 06:28:09 n00b6502: you should read an introductory lisp book. 06:28:46 -!- leo2007 [~leo@216.185.105.36] has quit [Ping timeout: 245 seconds] 06:28:49 so to make locals you need let and nesting.. 06:28:57 yes, as it should be 06:29:30 i guess thats not so bad if its n-ary 06:30:01 -!- lcc_ [~lcc@75-173-72-107.albq.qwest.net] has quit [Ping timeout: 245 seconds] 06:30:05 (defun dot (v0 v1)(lett ((x0 y0 z0) v0 (x1 y1 z1) v1) (+(* x0 x1)(* y0 y1)(* z0 z1)))) 06:30:22 it'll work like that 06:30:25 What's wrong with the definition I gave you, out of curiosity. 06:30:56 well, other than that I got it wrong 06:31:00 lcc [~lcc@unaffiliated/lcc] has joined #lisp 06:31:07 ha ha 06:31:33 that version will work given (vector x y z) arguments ? 06:31:34 but the general theme of map, reduce, etc 06:31:43 n-ary dot-product also... 06:32:04 gko [~user@59-120-37-164.HINET-IP.hinet.net] has joined #lisp 06:32:11 n00b6502: why aren't you reading an introductory lisp book? 06:32:16 sure - i can see its nice and elegant with map/reduce etc, i just want to see how things look with struct acesss 06:32:21 (apply #'map ...), there we go. 06:32:43 And yes, it works on arbitrary vectors. You can think this way if you don't get bogged down in weird syntactic macro definitions. 06:32:54 why not reading a book ... REPL + a little program + web + irc is more fun 06:33:06 - 06:34:31 that approach got you to create global variables willy nilly without knowing about it 06:34:48 when i come to cross product i want the destructuring approach, although one could probably do it algorithmically too 06:35:06 yeah that does suck but i can go back and replace them. 06:35:19 But why. It means defining a bunch of weird macros, and you restrict it to one length. It's totally pointless. 06:35:52 cross product will be 3d 06:36:14 (defun dot (a b) (reduce (function +) (map 'vector (function *) a b))) 06:36:39 (c++ head could go and use operator overloading for all sorts of axis-values for 2d cross making a z axis vector or whatever) 06:36:42 (dot #(1 2 3 4 5) #(5 4 3 2 1)) => 35 06:36:53 why (function +) instead of #'+ or '+ ? 06:37:02 For a lot of reasons. 06:37:24 name one 06:37:29 The latest being that #'+ is (cl:function +), while (function +) may not be (cl:function +), which may be advantageous. 06:37:55 overloaded? 06:38:23 (not (eq 'cl-stepper:function 'cl:function)) --> T 06:39:06 -!- sdemarre [~serge@91.176.31.180] has quit [Ping timeout: 264 seconds] 06:39:10 bad style which he seems to be aiming for -> http://paste.lisp.org/display/131279 06:39:22 pjb you are insane 06:39:52 if you 'setf' within a let.. is that local. (let ((x 10)) (setf x 15)) 06:40:03 Quadrescence: can't work 06:40:13 pjb, what? 06:40:22 you have a single loop, but you pass a vector and a list! 06:40:36 ok that works 06:40:43 Ah, sorry, it works, you're looping on the variables, not on the elements. ok. 06:40:55 n00b6502: just read a book. you'll get a more coherent and good presentation then you'll get by asking us. 06:41:11 bearr: just try to use my stepper and feel the pain from #'. 06:41:14 a vector has more chance of compiling to SIMD instructions ? 06:41:35 bearr: but otherwise, mainly I don't use #' because it's too pointy, it hurts. I prefer the roundness of parentheses. 06:41:43 n00b6502, in addition to what Bike, a book will probably deter you from this horrendous style your style of "learning" seems to be perpetuating 06:42:07 leo2007 [~leo@119.255.41.67] has joined #lisp 06:42:35 pjb :) 06:42:57 Quadrescence: I think it'd be more efficient to use (map 'list (function list) variables sequence) 06:42:58 this notion is going through my head. could i bend the language to my will with macros, then write a front end that translates an algol syntax to it , and voila a sane language for me 06:43:12 Just write a compiler. 06:43:14 n00b6502: yes, you can. 06:43:30 -!- steffi_s [~marioooh@184.152.73.25] has quit [Quit: zzzz] 06:43:38 n00b6502: but once you'll have learned enough lisp to do that, you'll understand why it'd be silly to do that. 06:43:51 pjb, That won't work at compile time if the structure of VALUE isn't known. 06:43:54 Ie why your language won't be as sane as lisp. 06:44:23 Quadrescence: right. Time to go to bed for me. Good night. 06:44:31 goodnight 06:44:41 -!- momo-reina [~user@122.179.111.167] has quit [Remote host closed the connection] 06:45:20 LaughingMan [~chatzilla@boccacio.fh-trier.de] has joined #lisp 06:45:21 using lisp as an AST for self-indulgent-language 06:45:30 using lisp as an AST/'backend' for self-indulgent-language 06:53:58 serious implementation question, is it likely that any implementations will be able to figure out (float,float,float,float) can go in a simd register. or perhaps thats better done with an intrinsic type in a customiezd implementation 06:54:17 fevon [~fevon@dslb-188-098-075-199.pools.arcor-ip.net] has joined #lisp 06:55:29 SBCL can (possibly with some patches), I think 06:57:50 yet another q, has lisp been used for gpgpu in a manner analogous to goal 06:58:18 has anyone of you read "Land of Lisp"? 06:58:21 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Read error: Connection reset by peer] 06:58:53 n00b6502: I know there's a cl-gpu library for writing CUDA kernels. 06:58:58 I wonder how "far" it teaches 06:59:21 is still good if you know your s-expressions, mapcar, looping, tail-recursion etc? 07:00:42 -!- jewel [~jewel@196-210-138-20.dynamic.isadsl.co.za] has quit [Ping timeout: 264 seconds] 07:01:51 -!- fevon [~fevon@dslb-188-098-075-199.pools.arcor-ip.net] has quit [Remote host closed the connection] 07:01:52 varjag [~eugene@122.62-97-226.bkkb.no] has joined #lisp 07:03:47 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 07:05:34 mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has joined #lisp 07:14:21 -!- ow [icxcnika@freenode/weird-exception/network-troll/afterdeath] has left #lisp 07:17:31 loke_erc [~user@c-1756e555.012-14-67626717.cust.bredbandsbolaget.se] has joined #lisp 07:18:21 Quadresce [~quad@unaffiliated/quadrescence] has joined #lisp 07:19:32 trebor_dki [~user@kvpn.lbf.fraunhofer.de] has joined #lisp 07:21:29 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Ping timeout: 260 seconds] 07:21:51 -!- Quadresce is now known as Quadrescence 07:28:14 mishoo [~mishoo@178.138.32.192] has joined #lisp 07:28:41 -!- cmatei [~cmatei@95.76.22.68] has quit [Remote host closed the connection] 07:29:13 cmatei [~cmatei@95.76.22.68] has joined #lisp 07:29:21 Cool, Quicklisp uses the site's system if it has one. 07:29:39 s/one/it 07:30:23 ivan-kanis [~user@nantes.visionobjects.com] has joined #lisp 07:33:02 Dratiniyeon [~TaiHaoLe@ip70-179-167-78.fv.ks.cox.net] has joined #lisp 07:34:11 Let it be known that the owner of a french-based shock site lives at this address: http://goo.gl/maps/v8ZGe Therefore, he may not be safe any longer. Teach Sam Hocevar of "zoy" and "nimp" to find a better hobby. 07:34:43 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 245 seconds] 07:34:46 If anyone's been offended by visiting those sites, that's the owner's house. If you live or will be anywhere near there, please teach him a lesson! 07:37:21 attila_lendvai [~attila_le@5.34.23.52] has joined #lisp 07:37:21 -!- attila_lendvai [~attila_le@5.34.23.52] has quit [Changing host] 07:37:22 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 07:37:46 Beetny [~Beetny@ppp118-208-60-218.lns20.bne1.internode.on.net] has joined #lisp 07:38:43 DataLinkDroid [~DataLinkD@1.149.217.247] has joined #lisp 07:40:17 phax [~phax@unaffiliated/phax] has joined #lisp 07:40:29 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 07:40:59 -!- Bike [~Glossina@67-5-245-92.ptld.qwest.net] has quit [Quit: gone.] 07:41:36 -!- Kvaks [~quassel@15.123.34.95.customer.cdi.no] has quit [Ping timeout: 246 seconds] 07:43:06 anaumov [~anaumov@opensuse/member/Alexander-Naumov] has joined #lisp 07:43:25 -!- DataLinkDroid is now known as DataLink 07:43:55 -!- DataLink is now known as Guest95829 07:44:03 -!- Guest95829 is now known as DataLinkDroid 07:44:03 DT`` [~ea@host135-192-dynamic.56-79-r.retail.telecomitalia.it] has joined #lisp 07:44:18 -!- logger__ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Ping timeout: 245 seconds] 07:45:19 Some foreign functions have a similar version of themselves that allows passing a `va_list' instead of being vararg with the hope of being easier for binding writers. With Lisp and CFFI, I actually think they aren't. 07:45:23 -!- DT` [~ea@host233-153-dynamic.1-87-r.retail.telecomitalia.it] has quit [Read error: Operation timed out] 07:46:07 -!- DataLinkDroid is now known as DataLinkD2 07:47:17 -!- loke_erc [~user@c-1756e555.012-14-67626717.cust.bredbandsbolaget.se] has quit [Remote host closed the connection] 07:47:20 logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 07:47:30 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 264 seconds] 07:47:30 Kvaks [~quassel@15.123.34.95.customer.cdi.no] has joined #lisp 07:49:56 -!- DataLinkD2 [~DataLinkD@1.149.217.247] has quit [Quit: Bye] 07:50:21 DataLinkDroid [~DataLinkD@1.149.217.247] has joined #lisp 07:50:57 Houl [~Parmi@unaffiliated/houl] has joined #lisp 07:51:05 -!- DataLinkDroid is now known as DataLinkD2 07:51:22 -!- DDR [~chatzilla@d66-183-118-10.bchsia.telus.net] has quit [Quit: for the love of god this is not safe for work] 07:55:28 DT` [~ea@host171-174-dynamic.247-95-r.retail.telecomitalia.it] has joined #lisp 07:57:06 -!- DT`` [~ea@host135-192-dynamic.56-79-r.retail.telecomitalia.it] has quit [Ping timeout: 264 seconds] 07:58:20 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 07:58:29 -!- Dratiniyeon [~TaiHaoLe@ip70-179-167-78.fv.ks.cox.net] has quit [Quit: Leaving] 07:59:08 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 244 seconds] 08:00:54 punee [~punee@213-245-106-105.rev.numericable.fr] has joined #lisp 08:01:14 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 08:02:58 c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has joined #lisp 08:05:19 zxq9 [~zxq9@FL1-119-244-164-28.okn.mesh.ad.jp] has joined #lisp 08:07:04 quazimod1 [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 08:07:19 peterhil` [~peterhil@gatekeeper.brainalliance.com] has joined #lisp 08:07:31 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Ping timeout: 252 seconds] 08:10:54 -!- tiripamwe [~tiripamwe@41.221.159.83] has quit [Ping timeout: 264 seconds] 08:11:43 -!- DataLinkD2 [~DataLinkD@1.149.217.247] has quit [Ping timeout: 260 seconds] 08:11:53 -!- peterhil` [~peterhil@gatekeeper.brainalliance.com] has quit [Ping timeout: 260 seconds] 08:13:06 Actually, I have no idea how to use `va_list' from ¬C. Go macros. 08:13:11 -!- _tca [~tca@thewired.me] has quit [Ping timeout: 272 seconds] 08:13:18 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Ping timeout: 264 seconds] 08:15:16 naeg [~naeg@194.208.239.170] has joined #lisp 08:15:18 didi if I understand you right, sbcl-only solution is adding vop for pushing arguments to stack and calling function. 08:16:57 kanru [~kanru@189.120.166.119] has joined #lisp 08:17:01 asvil: I don't know what is `vop', but it sounds like the right direction for `va_list'. I was initially hoping to use it but nah... I think there are better solutions for this. Thanks. 08:18:15 -!- theos [~theos@unaffiliated/theos] has quit [Ping timeout: 272 seconds] 08:20:11 didi: vop probably is virtual machine operator, and yes it is the lowest level to solve problem, therefore the most difficult. 08:20:22 DataLinkDroid [~DataLinkD@CPE-144-137-66-3.lnse5.cht.bigpond.net.au] has joined #lisp 08:20:32 _tca [~tca@thewired.me] has joined #lisp 08:21:23 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 08:21:58 asvil: The strategy now is constructing a `foreign-funcall' based on the arguments of a wrapper macro. Seems more sane. 08:22:53 -!- bearr [~yhiselamu@lap.ee] has quit [Quit: quit] 08:22:57 -!- fffde [~shawn@222.126.194.154] has quit [Quit: Leaving.] 08:24:42 theos [~theos@unaffiliated/theos] has joined #lisp 08:24:42 -!- theos [~theos@unaffiliated/theos] has quit [Excess Flood] 08:25:18 fevon [~holger@2001:7c0:409:8001:21f:c6ff:fe26:3105] has joined #lisp 08:25:29 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Ping timeout: 244 seconds] 08:25:58 -!- _tca [~tca@thewired.me] has quit [Ping timeout: 245 seconds] 08:25:59 theos [~theos@unaffiliated/theos] has joined #lisp 08:27:39 tiripamwe [~tiripamwe@41.221.159.85] has joined #lisp 08:27:51 _tca [~tca@thewired.me] has joined #lisp 08:27:59 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 08:28:06 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 244 seconds] 08:28:36 krrrcks [~krrrcks@krrrcks.de] has joined #lisp 08:30:31 Any suggestion for a FFI library to the R statistics programme? RCL v. RCLG? I am not sure what works best. 08:31:11 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 08:31:28 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Excess Flood] 08:31:56 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 08:38:45 ipmonger [~ipmonger@2001:470:8:d80:cc30:7697:22a3:7a4e] has joined #lisp 08:39:18 ipmonger_ [~ipmonger@2001:470:8:d80:e078:c71c:7aaa:c626] has joined #lisp 08:40:59 -!- gko [~user@59-120-37-164.HINET-IP.hinet.net] has quit [Ping timeout: 244 seconds] 08:43:08 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:43:21 -!- ipmonger [~ipmonger@2001:470:8:d80:cc30:7697:22a3:7a4e] has quit [Ping timeout: 245 seconds] 08:43:22 -!- ipmonger_ is now known as ipmonger 08:43:29 gko [~user@59-120-37-164.HINET-IP.hinet.net] has joined #lisp 08:46:15 jtza8 [~jtza8@196-210-142-207.dynamic.isadsl.co.za] has joined #lisp 08:46:25 -!- fevon [~holger@2001:7c0:409:8001:21f:c6ff:fe26:3105] has quit [Quit: Leaving] 08:47:02 -!- DataLinkDroid [~DataLinkD@CPE-144-137-66-3.lnse5.cht.bigpond.net.au] has quit [Read error: Connection reset by peer] 08:47:35 Sgeo_ [~Sgeo@ool-ad034d00.dyn.optonline.net] has joined #lisp 08:49:42 DataLinkDroid [~DataLinkD@CPE-144-137-66-3.lnse5.cht.bigpond.net.au] has joined #lisp 08:50:23 Sgeo__ [~Sgeo@ool-ad034d00.dyn.optonline.net] has joined #lisp 08:50:24 -!- DataLinkDroid [~DataLinkD@CPE-144-137-66-3.lnse5.cht.bigpond.net.au] has quit [Read error: Connection reset by peer] 08:50:42 DataLinkDroid [~DataLinkD@CPE-144-137-66-3.lnse5.cht.bigpond.net.au] has joined #lisp 08:50:54 -!- Sgeo [~Sgeo@ool-ad034d00.dyn.optonline.net] has quit [Ping timeout: 276 seconds] 08:50:55 -!- DataLinkDroid [~DataLinkD@CPE-144-137-66-3.lnse5.cht.bigpond.net.au] has quit [Client Quit] 08:54:06 -!- Sgeo_ [~Sgeo@ool-ad034d00.dyn.optonline.net] has quit [Ping timeout: 264 seconds] 08:56:06 DT`` [~ea@host171-174-dynamic.247-95-r.retail.telecomitalia.it] has joined #lisp 08:56:30 -!- gko [~user@59-120-37-164.HINET-IP.hinet.net] has quit [Ping timeout: 244 seconds] 08:56:52 Sgeo [~Sgeo@ool-ad034d00.dyn.optonline.net] has joined #lisp 08:57:42 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Ping timeout: 264 seconds] 08:58:54 -!- DT` [~ea@host171-174-dynamic.247-95-r.retail.telecomitalia.it] has quit [Ping timeout: 264 seconds] 08:59:09 -!- Sgeo__ [~Sgeo@ool-ad034d00.dyn.optonline.net] has quit [Ping timeout: 240 seconds] 08:59:30 -!- _tca [~tca@thewired.me] has quit [Ping timeout: 268 seconds] 08:59:43 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Ping timeout: 245 seconds] 09:00:52 -!- Sgeo [~Sgeo@ool-ad034d00.dyn.optonline.net] has quit [Read error: Connection reset by peer] 09:00:54 -!- zxq9 [~zxq9@FL1-119-244-164-28.okn.mesh.ad.jp] has quit [Quit: Leaving] 09:01:04 _tca [~tca@thewired.me] has joined #lisp 09:01:19 Sgeo [~Sgeo@ool-ad034d00.dyn.optonline.net] has joined #lisp 09:02:07 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 09:02:07 -!- CrazyEddy [~Botrydium@wrongplanet/CrazyEddy] has quit [Ping timeout: 240 seconds] 09:02:51 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Excess Flood] 09:03:19 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 09:08:29 bitonic [~user@vm-shell1.doc.ic.ac.uk] has joined #lisp 09:09:43 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Ping timeout: 245 seconds] 09:10:10 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 09:10:51 add^_ [~add^_@m90-130-54-83.cust.tele2.se] has joined #lisp 09:11:45 Vutral [~ss@mirbsd/special/Vutral] has joined #lisp 09:13:54 -!- c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has quit [Ping timeout: 264 seconds] 09:16:02 c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has joined #lisp 09:17:40 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Ping timeout: 248 seconds] 09:19:18 -!- _tca [~tca@thewired.me] has quit [Ping timeout: 264 seconds] 09:20:03 -!- am0c [~am0c@203.246.179.173] has quit [Remote host closed the connection] 09:21:35 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 09:23:33 gunnar_m [~gunnar_m@213.209.114.50] has joined #lisp 09:25:33 _tca [~tca@thewired.me] has joined #lisp 09:30:42 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Ping timeout: 264 seconds] 09:30:54 Alice3 [~Alice@cpc3-grim12-0-0-cust856.12-3.cable.virginmedia.com] has joined #lisp 09:31:55 ramkrsna [ramkrsna@nat/redhat/x-nvybpigikzmxjtew] has joined #lisp 09:32:30 -!- _tca [~tca@thewired.me] has quit [Ping timeout: 264 seconds] 09:33:15 tijn_ [~tijn@188.89.150.104] has joined #lisp 09:34:01 EyesIsMine [~Eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 09:36:51 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 09:38:23 benny [~user@i577A8AE5.versanet.de] has joined #lisp 09:38:48 _tca [~tca@thewired.me] has joined #lisp 09:41:15 -!- gunnar_m [~gunnar_m@213.209.114.50] has quit [Quit: Colloquy for iPad - http://colloquy.mobi] 09:46:23 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 09:48:09 -!- logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Ping timeout: 244 seconds] 09:48:52 -!- theos [~theos@unaffiliated/theos] has quit [Quit: cya] 09:50:54 gko [~user@59-120-37-164.HINET-IP.hinet.net] has joined #lisp 09:52:11 -!- ramkrsna [ramkrsna@nat/redhat/x-nvybpigikzmxjtew] has quit [Ping timeout: 256 seconds] 09:54:56 logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 09:55:46 ramkrsna [ramkrsna@nat/redhat/x-ixnwdhttpebdrxge] has joined #lisp 09:57:35 tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has joined #lisp 09:58:43 antonv [2e35c344@gateway/web/freenode/ip.46.53.195.68] has joined #lisp 10:01:16 -!- krrrcks [~krrrcks@krrrcks.de] has left #lisp 10:07:18 -!- c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has quit [Ping timeout: 244 seconds] 10:07:18 -!- gko [~user@59-120-37-164.HINET-IP.hinet.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 10:09:56 m7w [~chatzilla@178.172.214.42] has joined #lisp 10:10:43 -!- tiripamwe [~tiripamwe@41.221.159.85] has quit [Ping timeout: 252 seconds] 10:13:29 -!- ramkrsna [ramkrsna@nat/redhat/x-ixnwdhttpebdrxge] has quit [Ping timeout: 246 seconds] 10:14:51 -!- kushal [kdas@fedora/kushal] has quit [Ping timeout: 256 seconds] 10:16:20 -!- kanru [~kanru@189.120.166.119] has quit [Ping timeout: 248 seconds] 10:19:44 ngz [~user@254.214.67.86.rev.sfr.net] has joined #lisp 10:22:28 -!- leo2007 [~leo@119.255.41.67] has quit [Quit: rcirc on GNU Emacs 24.2.1] 10:26:13 kushal [kdas@fedora/kushal] has joined #lisp 10:29:04 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 10:32:17 ramkrsna [ramkrsna@nat/redhat/x-bpatoxxvbeyvdldg] has joined #lisp 10:33:03 -!- dreish [~dreish@minus.dreish.org] has quit [Quit: dreish] 10:35:50 xan_ [~xan@80.174.78.213.dyn.user.ono.com] has joined #lisp 10:51:28 -!- peterhil [~peterhil@91-157-48-51.elisa-laajakaista.fi] has quit [Ping timeout: 265 seconds] 10:51:43 theos [~theos@unaffiliated/theos] has joined #lisp 10:52:09 iocor [~textual@unaffiliated/iocor] has joined #lisp 10:53:48 -!- jtza8 [~jtza8@196-210-142-207.dynamic.isadsl.co.za] has quit [Ping timeout: 244 seconds] 10:54:34 jtza8 [~jtza8@196-210-142-207.dynamic.isadsl.co.za] has joined #lisp 10:59:25 ignas [~ignas@office.pov.lt] has joined #lisp 11:05:05 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Read error: No route to host] 11:05:15 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 11:10:29 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Ping timeout: 252 seconds] 11:10:53 Natch [~Natch@c-1dcce155.25-4-64736c10.cust.bredbandsbolaget.se] has joined #lisp 11:13:48 -!- pirateking-_- [~piratekin@c-67-169-182-169.hsd1.ca.comcast.net] has quit [Quit: pirateking-_-] 11:13:57 gko [~user@114-34-168-13.HINET-IP.hinet.net] has joined #lisp 11:14:50 -!- LaughingMan [~chatzilla@boccacio.fh-trier.de] has quit [Remote host closed the connection] 11:15:59 -!- kushal [kdas@fedora/kushal] has quit [Ping timeout: 244 seconds] 11:16:07 peterhil [~peterhil@gatekeeper.brainalliance.com] has joined #lisp 11:20:41 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 11:23:49 gekko_ [~jjk@78.157.103.6] has joined #lisp 11:24:18 LaughingMan [~chatzilla@boccacio.fh-trier.de] has joined #lisp 11:26:13 phax [~phax@unaffiliated/phax] has joined #lisp 11:32:00 -!- logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Ping timeout: 244 seconds] 11:32:04 -!- Beetny [~Beetny@ppp118-208-60-218.lns20.bne1.internode.on.net] has quit [Ping timeout: 248 seconds] 11:33:42 logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 11:36:34 so quiet today... 11:38:29 tsuru```` [~charlie@adsl-74-240-217-182.bna.bellsouth.net] has joined #lisp 11:40:18 -!- tsuru``` [~charlie@adsl-98-87-47-160.bna.bellsouth.net] has quit [Ping timeout: 264 seconds] 11:43:43 -!- gekko_ [~jjk@78.157.103.6] has quit [Read error: Connection timed out] 11:43:49 benkard [~benkard@002608dc9535.dfn.mwn.de] has joined #lisp 11:44:09 -!- jtza8 [~jtza8@196-210-142-207.dynamic.isadsl.co.za] has quit [Ping timeout: 268 seconds] 11:44:33 jtza8 [~jtza8@196-210-142-207.dynamic.isadsl.co.za] has joined #lisp 11:45:30 gekko_ [~jjk@78.157.103.6] has joined #lisp 11:46:15 -!- `fogus|away is now known as `fogus 11:46:40 ams: lispers are too busy coding lisp-os :) 11:48:33 phadthai: Didn't we finish that one with the CADR, Bolix, and whatever back in the 70s? 11:48:42 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Ping timeout: 264 seconds] 11:48:58 MoALTz [~no@host-92-2-114-133.as43234.net] has joined #lisp 11:52:20 steffi_s [~marioooh@184.152.73.25] has joined #lisp 11:55:29 -!- PhoSor [~pho_nzp@213.87.240.92] has quit [Ping timeout: 272 seconds] 11:56:49 -!- anaumov [~anaumov@opensuse/member/Alexander-Naumov] has quit [Remote host closed the connection] 12:00:10 -!- stardiviner [~stardivin@122.236.244.248] has quit [Quit: my website: http://stardiviner.dyndns-blog.com/] 12:00:24 -!- quazimod1 [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Remote host closed the connection] 12:00:24 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Remote host closed the connection] 12:03:18 hmph... 12:03:24 quicklisp isn't liking me today... or asdf 12:03:38 Component :ASDF does not match version 2.23, required by # 12:04:07 -!- add^_ [~add^_@m90-130-54-83.cust.tele2.se] has quit [Quit: add^_] 12:04:47 apathor [~apathor@c-24-218-104-106.hsd1.ma.comcast.net] has joined #lisp 12:04:51 -!- maxm-- [~user@openchat.com] has quit [Changing host] 12:04:51 maxm-- [~user@unaffiliated/maxm] has joined #lisp 12:04:56 -!- maxm-- is now known as maxm 12:05:00 -!- apathor [~apathor@c-24-218-104-106.hsd1.ma.comcast.net] has left #lisp 12:07:59 quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has joined #lisp 12:15:47 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 12:18:25 -!- mathrick [~mathrick@85.218.134.11] has quit [Ping timeout: 246 seconds] 12:19:46 fantazo [~fantazo@91-119-125-214.dynamic.xdsl-line.inode.at] has joined #lisp 12:27:44 PhoSor [~pho_nzp@213.87.241.77] has joined #lisp 12:31:35 mathrick [~mathrick@85.218.134.11] has joined #lisp 12:33:07 -!- MoALTz [~no@host-92-2-114-133.as43234.net] has quit [Ping timeout: 256 seconds] 12:34:17 -!- robot-beethoven [~user@c-24-118-142-0.hsd1.mn.comcast.net] has quit [Remote host closed the connection] 12:40:15 kanru [~kanru@189-69-139-121.dial-up.telesp.net.br] has joined #lisp 12:40:50 pskosinski [~pk@public-gprs404127.centertel.pl] has joined #lisp 12:41:43 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 12:43:49 -!- gekko_ [~jjk@78.157.103.6] has quit [Quit: Ex-Chat] 12:44:36 -!- pskosinski [~pk@public-gprs404127.centertel.pl] has quit [Read error: No route to host] 12:46:13 add^_ [~add^_@m90-141-33-35.cust.tele2.se] has joined #lisp 12:47:30 -!- kanru [~kanru@189-69-139-121.dial-up.telesp.net.br] has quit [Ping timeout: 264 seconds] 12:47:38 peterhil` [~peterhil@91-157-48-51.elisa-laajakaista.fi] has joined #lisp 12:48:30 -!- gurrag [~gurrag@unaffiliated/gurrag] has quit [Ping timeout: 244 seconds] 12:48:52 -!- piko [~piko@ip4-83-240-108-205.cust.nbox.cz] has quit [Ping timeout: 248 seconds] 12:50:54 ams, computer programs are not thinks that can "like" you 12:51:01 *things 12:51:56 not yet anyway 12:54:05 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 12:54:13 MHD [50478707@gateway/web/freenode/ip.80.71.135.7] has joined #lisp 12:54:29 Condition of type: HEADACHE-NOT-NOW 12:54:33 Lycurgus: You never meet my computer :-) 12:54:39 Lycurgus: that's debatable. 12:54:49 kanru [~kanru@187.74.240.18] has joined #lisp 12:56:12 prxq, perhaps with others 12:56:21 Qinix [~qinix@124.126.22.57] has joined #lisp 12:56:39 My computer depates it constantly with me. 12:59:09 ams: this is a known issue 12:59:14 you meet with ASDF 12:59:28 ams: earlier I meant neo-lisp-os I guess, but I was kidding 12:59:41 antonv: mm... already fixed it for myself. 12:59:53 how? 12:59:59 antonv: updating asdf obviously... 13:00:19 ams: ah, yes, thats obvious 13:00:30 Just cause things don'tl ike me doesn't mean i can't beat them into liking me :-) 13:00:57 ams: if not like then at least respect 13:01:25 antonv: oh, i don't think my system has any respect for me anymore... 13:02:30 (and if it did, i'd be quite disapointed ..) 13:02:59 in its lack of discernment 13:06:08 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 13:07:03 My_Hearing [~Mon_Ouie@subtle/user/MonOuie] has joined #lisp 13:09:39 stardiviner [~stardivin@122.236.245.26] has joined #lisp 13:09:42 -!- Mon_Ouie [~Mon_Ouie@subtle/user/MonOuie] has quit [Ping timeout: 264 seconds] 13:10:39 -!- PhoSor [~pho_nzp@213.87.241.77] has quit [Quit: PhoSor] 13:12:08 -!- My_Hearing is now known as Mon_Ouie 13:12:09 -!- kcj [~casey@unaffiliated/kcj] has quit [Ping timeout: 240 seconds] 13:14:12 -!- Houl [~Parmi@unaffiliated/houl] has quit [Quit: weil das Wetter so schön ist] 13:16:58 jfe [~jfe@12.34.212.237] has joined #lisp 13:17:56 -!- tijn_ [~tijn@188.89.150.104] has quit [Ping timeout: 245 seconds] 13:22:05 -!- antonv [2e35c344@gateway/web/freenode/ip.46.53.195.68] has quit [Ping timeout: 245 seconds] 13:22:53 -!- MHD [50478707@gateway/web/freenode/ip.80.71.135.7] has quit [Quit: Page closed] 13:23:35 -!- mathrick [~mathrick@85.218.134.11] has quit [Ping timeout: 252 seconds] 13:26:23 -!- gravicappa [~gravicapp@ppp91-77-178-171.pppoe.mtu-net.ru] has quit [Ping timeout: 256 seconds] 13:32:11 kushal [~kdas@114.143.165.8] has joined #lisp 13:32:11 -!- kushal [~kdas@114.143.165.8] has quit [Changing host] 13:32:12 kushal [~kdas@fedora/kushal] has joined #lisp 13:35:15 m7w_ [~chatzilla@178.172.214.42] has joined #lisp 13:35:16 urandom__ [~user@p548A3B05.dip.t-dialin.net] has joined #lisp 13:35:41 are there lisps that lack global variables 13:35:51 logger__ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 13:36:06 -!- m7w [~chatzilla@178.172.214.42] has quit [Ping timeout: 264 seconds] 13:36:09 -!- m7w_ is now known as m7w 13:36:15 -!- logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Read error: Connection reset by peer] 13:37:05 mathrick [~mathrick@85.218.134.11] has joined #lisp 13:38:04 -!- jfe [~jfe@12.34.212.237] has quit [Quit: leaving] 13:39:06 jfe [~jfe@12.34.212.237] has joined #lisp 13:39:42 -!- kanru [~kanru@187.74.240.18] has quit [Ping timeout: 264 seconds] 13:41:24 -!- stardiviner [~stardivin@122.236.245.26] has quit [Quit: my website: http://stardiviner.dyndns-blog.com/] 13:45:10 -!- tsuru```` is now known as tsuru` 13:45:19 gravicappa [~gravicapp@ppp91-77-181-81.pppoe.mtu-net.ru] has joined #lisp 13:46:19 <|3b|> n00b6502: arguably most CLs lack 'global' variables, they have 'special' variables which have dynamic scope rather than global, and they have a value slot on symbols which can be use as a sort of 'global' variable 13:47:55 -!- benkard [~benkard@002608dc9535.dfn.mwn.de] has quit [Ping timeout: 256 seconds] 13:51:23 what i'm talking about is that when i say (defun blah() (setq something ...) .... ) i get 'something' in global scope which i wasn't expecting till i was alerted to it here :) 13:51:35 Houl [~Parmi@unaffiliated/houl] has joined #lisp 13:53:15 You learned the right way to get local variables shortly after that, right? 13:53:21 of course i can avoid using them .. my C/C++ head tells me globals reduce modularity, and its nice to pass things with "const *" to show what is read-only or modifyable 13:53:43 (let .... ) yes :) 13:54:02 <|3b|> right, you get 'something 13:54:17 <|3b|> 'something', since it is undefined what SETF does to undefined variables 13:54:33 -!- peterhil [~peterhil@gatekeeper.brainalliance.com] has quit [Ping timeout: 272 seconds] 13:54:55 but you can sstill do (let something .....(setf something...)..) to modify locals, i think 13:55:15 <|3b|> LET doesn't modify anything, it creates bindings 13:55:39 yes i mean the 'setf' modifies after let biding 13:56:03 <|3b|> right, SETF modifies things, including variable bindings 13:56:22 i suppose a more pure functional style simply avoids setf ... 13:57:22 n00b6502: what implementation are you using? Usualy, the code you posted triggers an error. 13:57:42 logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 13:58:00 clisp from ubuntu linux repositories; i think i actually tried that out 13:58:05 let me try again 13:58:10 -!- sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Quit: Leaving.] 13:58:39 rmarianski [~rmariansk@mail.marianski.com] has joined #lisp 13:59:47 -!- logger__ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Read error: Connection reset by peer] 14:00:46 Forty-Two [~seana11@pool-96-255-130-43.washdc.fios.verizon.net] has joined #lisp 14:00:58 yes it works here; 14:01:37 -!- Forty-Two is now known as Forty-3 14:01:42 (defun foo (a) (let ((x (+ a 1))) (print x)(setf x (+ x 1)) (print x))) (foo 1) ===> "2" "3" "3" 14:03:04 sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #lisp 14:03:06 hm, forgot that setq had that particular semantics. 14:03:55 various implementations will warn when setting a dynamic variable via setf before defparameter/defvar though 14:04:17 or when functions access variables outside their scope which aren't known 14:04:33 <|3b|> setting a dynamic variable without defparameter/defvar is OK 14:05:12 mario2 [~mario2@101.68.89.3] has joined #lisp 14:05:32 c/c++ head is used to having features one is better off avoiding... 14:05:38 yes, the implementation can warn but should accept it 14:05:42 <|3b|> but note that for something to be a 'dynamic variable' there needs to be a declaration in effect describing it as such 14:05:49 although at least things needing to be declared catches more at compile time 14:06:09 n00b6502: it's best to let go of the C ;) 14:06:10 so there's other types of let ? 14:06:50 i run this code in closure cl, (defun test-sort () (let ((original '(8 9 5 7 2 0))) (sort original #'<) (print original))), the output is error (8 9), while clasp is ok (0 2 5 7 8 9), is this a bug of clozure cl? 14:07:08 <|3b|> mario2: it is a bug in that code 14:07:16 j_king: C/C++ is too big a part of my head, never forgetting it 14:07:29 <|3b|> mario2: SORT is destructive, and can change the list passed as a parameter arbitrarily 14:07:51 is it scheme that marks impure vs pure functions 14:08:07 n00b6502: I'm a polyglot too, but there isn't much to relate between C and CL 14:08:19 <|3b|> mario2: so always use the return value from SORT, and note that modifying a literal list like '(9 8 5 7 2 0) is non-conformant as well 14:08:20 there is a convention in scheme to use ! as a prefix for destructive functions, but other than that no. 14:08:38 mario2: clasp? 14:08:45 i'm aware they're hugely different. i have used scripting lanaguges a little which are supposedly closer to lisp than c 14:08:48 sorry, clisp 14:08:50 kinda like using *foo* for global variables, +foo+ for constants, ... etc in CL 14:09:00 -!- sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Quit: Leaving.] 14:09:23 -!- varjag [~eugene@122.62-97-226.bkkb.no] has quit [Quit: Leaving] 14:09:35 -!- agumonkey [~agu@249.217.72.86.rev.sfr.net] has quit [Ping timeout: 244 seconds] 14:11:18 that is to say i must save a copy of the output for sort? 14:11:21 -!- logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Read error: Connection reset by peer] 14:11:28 so my advice is to forget what you know about C for a while and just learn CL 14:11:29 logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 14:11:56 <|3b|> you should save the output from sort, no need to copy it 14:11:59 I also suggest completely reading a lisp book 14:12:11 (to n00b6502) 14:12:13 rswarbri1k [~rupert@cpc1-cove3-0-0-cust941.3-1.cable.virginmedia.com] has joined #lisp 14:12:20 <|3b|> you might need to copy the input though, if you don't want it modified (for exa 14:12:25 <|3b|> for exa 14:12:29 <|3b|> ple when it is a literal like in your exa 14:12:30 <|3b|> ple 14:12:39 *|3b|* can't type today 14:12:51 mario2: sort is destructive in cl, if you want to keep the original you need to store copy it. 14:13:06 ok, thanks 14:13:10 yes a literal list should generally be considered as if it was read-only data 14:13:31 which it might really be in some implementations 14:13:49 <|3b|> or it might share structure with some other literal 14:15:39 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #lisp 14:17:55 -!- Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Read error: Connection reset by peer] 14:18:16 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #lisp 14:18:41 n00b6502: first go through PCL completely, then check a university library for PAIP, which has also some important speed tips (and various idiomatic lisp stuff, including writing compilers) 14:19:32 -!- Qinix [~qinix@124.126.22.57] has quit [Quit: Bye] 14:20:51 On Lisp might then be nice as it covers macros pretty well, but it also tends to treat CL like scheme a lot on other topics 14:21:32 i give in, i''m reading aswell 14:21:52 blackwolf [~blackwolf@ool-4575fc51.dyn.optonline.net] has joined #lisp 14:22:29 -!- prxq [~mommer@mnhm-4d013b3d.pool.mediaWays.net] has quit [Quit: Leaving] 14:22:52 on another note is it easy to get opengl bindings in clisp / linux 14:23:34 -!- mario2 [~mario2@101.68.89.3] has quit [Quit: ] 14:23:56 stat_vi [~stat@dslb-094-218-238-185.pools.arcor-ip.net] has joined #lisp 14:24:54 n00b6502: no idea about clisp, but cl-opengl works pretty good, afaik, at least with SBCL and CCL 14:25:34 n00b6502: a friend of mine made a simple strategy game (iirc for ludlum dare) with Clozure CL, cl-opengl, lispbuilder-sdl, running on windows 14:28:02 jxonas [~Thunderbi@201.82.4.152] has joined #lisp 14:28:13 tensorpudding [~michael@99.160.220.254] has joined #lisp 14:29:06 -!- rswarbri1k [~rupert@cpc1-cove3-0-0-cust941.3-1.cable.virginmedia.com] has quit [Quit: Changing server] 14:30:32 loke [~elias@bb115-66-85-121.singnet.com.sg] has joined #lisp 14:31:05 n00b6502: /join #lispgames 14:31:43 kmee [~yhiselamu@lap.ee] has joined #lisp 14:32:11 logger__ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 14:32:19 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 14:32:33 one thing that interests me is DSL's for procedural graphics.. 14:33:14 -!- logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Read error: Connection reset by peer] 14:33:48 -!- kennyd [kennyd@93-138-250-250.adsl.net.t-com.hr] has quit [Ping timeout: 265 seconds] 14:35:21 -!- Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Quit: trivial-irc-0.0.3] 14:35:22 mario2 [~mario2@110.53.94.90] has joined #lisp 14:35:33 -!- mario2 [~mario2@110.53.94.90] has left #lisp 14:36:26 sellout42 [~Adium@c-98-245-90-138.hsd1.co.comcast.net] has joined #lisp 14:37:02 mario2 [~mario2@110.53.94.90] has joined #lisp 14:37:11 -!- mario2 [~mario2@110.53.94.90] has left #lisp 14:37:15 kennyd [kennyd@93-139-10-144.adsl.net.t-com.hr] has joined #lisp 14:37:37 dl [~download@dhcp154.hpc.unm.edu] has joined #lisp 14:39:21 gffa [~unknown@unaffiliated/gffa] has joined #lisp 14:40:42 mario2 [~mario2@110.53.94.90] has joined #lisp 14:42:47 -!- mario2 [~mario2@110.53.94.90] has left #lisp 14:53:40 -!- steffi_s [~marioooh@184.152.73.25] has quit [Quit: zzzz] 14:56:14 -!- Euthy [~euthy@unaffiliated/euthydemus] has quit [Ping timeout: 246 seconds] 14:56:15 rswarbri1k [~rupert@cpc1-cove3-0-0-cust941.3-1.cable.virginmedia.com] has joined #lisp 15:00:06 -!- asvil [~asvil@178.121.255.252] has quit [Ping timeout: 264 seconds] 15:00:12 -!- mishoo [~mishoo@178.138.32.192] has quit [Read error: Connection reset by peer] 15:03:35 iocor [~textual@89-168-109-131.dynamic.dsl.as9105.com] has joined #lisp 15:03:48 -!- iocor [~textual@89-168-109-131.dynamic.dsl.as9105.com] has quit [Changing host] 15:03:48 iocor [~textual@unaffiliated/iocor] has joined #lisp 15:05:44 jjkola [~androirc@212-226-73-157-nat.elisa-mobile.fi] has joined #lisp 15:07:37 chadaw [591f76a3@gateway/web/freenode/ip.89.31.118.163] has joined #lisp 15:11:25 kliph [~user@unaffiliated/kliph] has joined #lisp 15:11:50 Guest34450 [~user@xdsl-78-35-167-197.netcologne.de] has joined #lisp 15:12:31 -!- logger__ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Ping timeout: 245 seconds] 15:15:29 -!- LaughingMan [~chatzilla@boccacio.fh-trier.de] has quit [Ping timeout: 246 seconds] 15:15:32 steffi_s [~marioooh@pool-173-68-241-211.nycmny.east.verizon.net] has joined #lisp 15:16:33 ISF [~ivan@143.106.196.205] has joined #lisp 15:17:31 Hello. Can someone explain me why neither CL nor Scheme defines an external representation for functions? 15:18:08 chadaw: what do you expect as an external representation? 15:18:54 something like "(lambda )" 15:19:27 chadaw: One problem is lexical capture. 15:19:55 So, if I do (let ((x 3)) (lambda (k) (incf x k))), what should the external representation be? 15:19:58 -!- cods [~cods@tuxee.net] has quit [Changing host] 15:19:58 cods [~cods@rsbac/developer/cods] has joined #lisp 15:20:34 logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 15:20:39 -!- ngz [~user@254.214.67.86.rev.sfr.net] has quit [Remote host closed the connection] 15:20:41 rswarbri1k: thanks, I think I got it 15:20:58 that problem is enough 15:22:23 king_warr [~papirripe@189.156.254.227] has joined #lisp 15:22:32 well you could turn the question into "why isn't there an external representation for closures" and/or "why aren't closures first-class", but i think there are problems beyond that 15:22:34 attila_lendvai [~attila_le@5.34.25.36] has joined #lisp 15:22:34 -!- attila_lendvai [~attila_le@5.34.25.36] has quit [Changing host] 15:22:34 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 15:22:47 phew, it looks like I dont have to deploy to mac os x. 15:22:56 only to windows, yay clisp for generating EXEs :D 15:23:01 heh reading "pcl" i just encountered the phrase "macrophobic". personally i'm a 'macrophile' 15:23:47 -!- king_warr [~papirripe@189.156.254.227] has left #lisp 15:25:18 -!- sellout42 [~Adium@c-98-245-90-138.hsd1.co.comcast.net] has quit [Quit: Leaving.] 15:25:45 sellout42 [~Adium@c-98-245-90-138.hsd1.co.comcast.net] has joined #lisp 15:25:53 optikalmouse: clozureCL makes it pretty easy to deploy to os x 15:26:48 oGMo: Hmm, I was just thinking about that. I mean, the only problem that there *could* be is that there is some information not contained explicitly in the lambda form. I can't think of anything but closures that could do this. Have you an example? 15:27:18 Otherwise, a trivial solution is just to store the (lambda (args) blah) that the lisp reader saw. 15:27:29 jasom: how easy? :S 15:28:43 agumonkey [~agu@249.217.72.86.rev.sfr.net] has joined #lisp 15:28:49 optikalmouse: (build-application :toplevel-function #'my-entry-point) 15:28:59 optikalmouse: really the hard part is you need a mac to do it 15:30:16 chadaw: worse, if you do: (let ((x 3)) (defun c () x) (lambda (k) (incf x k))) what should the external representation be? 15:30:33 -!- ArmyOfBruce [~bmitchene@waywardmonkeys.com] has quit [Excess Flood] 15:30:45 chadaw: otherwise, lisp forms are an external representation you can use for functions. 15:31:01 ArmyOfBruce [~bmitchene@waywardmonkeys.com] has joined #lisp 15:31:14 chadaw: (read-from-string "(lambda (x) (* x x))") => (lambda (x) (* x x)) 15:31:14 15:31:21 does lisp have bitwise-operations .. bitwise or. (as opposed to the and/or macros) 15:31:29 optikalmouse: Though to be honest If you're not using the native GUI stuff it's somewhat more involved than that unless you don't mind it opening up a weird looking application 15:31:32 (compile nil (read-from-string "(lambda (x) (* x x))")) => # 15:31:32 15:31:37 n00b6502: logand logor, etc 15:31:45 paolo_m [~user@2-228-95-110.ip190.fastwebnet.it] has joined #lisp 15:31:46 n00b6502: see the numbers dictionary in the hyperspec :) 15:32:13 (eval '(lambda (a b) (+ a b))) => # 15:32:14 n00b6502: CLs bit-fiddling is better than most, though Erlang IMHO has nicer interface 15:32:17 oGMo: closures are first class objects. 15:32:53 jjkola_ [~androirc@193-64-20-4-nat.elisa-mobile.fi] has joined #lisp 15:33:26 kmee: eval may return an interpreted function and usually do. compile ensures it's compiled. You can also use (coerce '(lambda ) 'function), which will either keep the interpreted version or compile it, depending on what the implementationt thinks it's better. 15:33:59 pjb: When you say "first class objects" here, what exactly do you mean? To me, it seems to be quite the opposite. After all, there isn't a way to (for instance) grab a list of all variables that are closed over. Indeed, a closure is pretty opaque. Or have I misunderstood the term? 15:34:03 n00b6502: macrophilia can be life threatening if you're underneath, btw 15:34:13 rswarbri1k: you have misunderstood the term 15:34:24 rswarbri1k: the standard definition of first class: can be bound to variables, passed as arguments, etc. 15:34:27 -!- jjkola [~androirc@212-226-73-157-nat.elisa-mobile.fi] has quit [Ping timeout: 256 seconds] 15:34:38 rswarbri1k: "first class" has nothing on touching internals, but how you can pass it around etc. 15:34:53 rswarbri1k: all the lisp objects are opaque. 15:34:53 macro-philia in computing langauges only 15:35:01 p_l: Oh, ok. Can you give me an example of a non-first class object in lisp then? 15:35:10 go tags. 15:35:19 Ah! That makes sense. 15:35:26 (tagbody (let ((tag :a)) (go tag) :a) doesn't work. 15:35:53 I was about to say "and the same with block", but of course that's the same thing. 15:36:02 -!- rswarbri1k is now known as rswarbrick 15:36:03 Yes :-) 15:36:44 Thank-you both for clearing that up. In other languages (C, say), presumably the only first class objects are pointers and integers? 15:37:04 functions too. 15:37:25 int(*)(int) f=some_fun; do_something(f); f(42) 15:37:38 Ah, ok. Although they are pretty much indistinguishable from pointers on von Neumann machines (Yes, this is going OT. I'll shut up now) 15:37:53 jsabeaudry [~jsabeaudr@242.161.18.64.static.oricom.ca] has joined #lisp 15:37:58 M-4 ( in paredit will wrap the next 4 sexps, is there a fast way to wrap all sexps besides M-9 M-9 M-9 M-9 ( ? 15:38:46 C-x h M-( 15:39:09 Or C-SPC M-> C-x C-x M-( 15:39:47 Ah, cool! I should follow this channel more often... 15:40:23 rswarbrick: interestingly enough the C standard does not allow function pointers to be converted to/from void pointers, (as the C model is not strictly Von Neumann) though it works in just about every compiler out there 15:40:23 ngz [~user@254.214.67.86.rev.sfr.net] has joined #lisp 15:41:22 jasom: Ahah, except presumably with Microchip's PIC architecture (Harvard). Admittedly, I've only written assembly for them. 15:42:02 jb so I should have done (compile (eval '(lambda (a b) (+ a b)))) 15:42:05 pjb 15:42:37 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Remote host closed the connection] 15:43:04 hkBst [~marijn@gentoo/developer/hkbst] has joined #lisp 15:43:24 rswarbrick: It even works on the PIC IIRC since a void * is big enough to hold a function pointer, there is no loss of information 15:43:24 -!- paolo_m [~user@2-228-95-110.ip190.fastwebnet.it] has left #lisp 15:44:02 jasom: my app was command-line only, maybe I should use clozure next time. what's the install process for clozure on mac? can I bundle it together with my code and make my app self-contained or do I have to install it system-wide? 15:44:25 Really? But the PIC12xxx and the PIC16xx are 8-bit and there is a much bigger instruction address space. Hence the messing around with PCLATH etc. 15:44:29 you can do that with ccl. and also sbcl 15:44:41 optikalmouse: for command-line only you should be fine doing it however you do it on ainy *nix 15:44:53 optikalmouse: with ccl or sbcl 15:45:57 rswarbrick: we're getting *really* OT so I'll just look it up later :) 15:47:31 jasom: Cool :-) 15:47:47 -!- steffi_s [~marioooh@pool-173-68-241-211.nycmny.east.verizon.net] has quit [Quit: zzzz] 15:49:15 -!- jjkola_ is now known as jjkola 15:49:20 tijn [~tijn@178.231.52.145] has joined #lisp 15:49:29 -!- tijn [~tijn@178.231.52.145] has quit [Client Quit] 15:50:14 steffi_s [~marioooh@pool-173-77-101-4.nycmny.east.verizon.net] has joined #lisp 15:52:54 phax [~phax@unaffiliated/phax] has joined #lisp 15:55:46 jewel [~jewel@196-210-138-20.dynamic.isadsl.co.za] has joined #lisp 15:56:50 FreeArtMan [~fam@93.177.213.54] has joined #lisp 15:57:33 -!- kuzary [~who@gateway/tor-sasl/kuzary] has quit [Quit: return 0;] 15:57:39 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Remote host closed the connection] 15:57:58 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Quit: Konversation terminated!] 16:00:11 gonzojive [~red@c-67-188-215-86.hsd1.ca.comcast.net] has joined #lisp 16:00:23 -!- stat_vi [~stat@dslb-094-218-238-185.pools.arcor-ip.net] has quit [Quit: leaving] 16:02:21 -!- ISF [~ivan@143.106.196.205] has quit [Ping timeout: 252 seconds] 16:02:42 -!- ramkrsna [ramkrsna@nat/redhat/x-bpatoxxvbeyvdldg] has quit [Remote host closed the connection] 16:05:26 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 245 seconds] 16:07:39 -!- trebor_dki [~user@kvpn.lbf.fraunhofer.de] has quit [Read error: Operation timed out] 16:13:20 mucker [~mucker@183.83.240.198] has joined #lisp 16:13:33 -!- mucker [~mucker@183.83.240.198] has quit [Client Quit] 16:13:56 mucker [~mucker@183.83.240.198] has joined #lisp 16:14:39 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 16:15:57 -!- mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has quit [Quit: Leaving] 16:17:12 -!- nkkarthik [~nkkarthik@smtpbt.pramati.com] has quit [Ping timeout: 244 seconds] 16:17:38 -!- Tristam [~Tristam@bodhilinux/team/Tristam] has quit [Ping timeout: 245 seconds] 16:18:31 [6502] [5e24deb2@gateway/web/freenode/ip.94.36.222.178] has joined #lisp 16:18:36 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 16:19:57 Bike [~Glossina@67-5-245-92.ptld.qwest.net] has joined #lisp 16:20:55 dmx [~dmx@adsl-67-121-157-253.dsl.pltn13.pacbell.net] has joined #lisp 16:21:40 -!- gko [~user@114-34-168-13.HINET-IP.hinet.net] has quit [Ping timeout: 248 seconds] 16:22:23 mishoo [~mishoo@178.138.32.192] has joined #lisp 16:22:31 ykm [~user@124.155.255.201] has joined #lisp 16:24:35 -!- chadaw [591f76a3@gateway/web/freenode/ip.89.31.118.163] has quit [Ping timeout: 245 seconds] 16:26:29 phax [~phax@unaffiliated/phax] has joined #lisp 16:28:52 Euthy [~euthy@unaffiliated/euthydemus] has joined #lisp 16:29:32 iLogical_ [~iLogical@unaffiliated/ilogical] has joined #lisp 16:29:49 -!- phax [~phax@unaffiliated/phax] has quit [Client Quit] 16:30:06 snearch [~snearch@p5795B13D.dip.t-dialin.net] has joined #lisp 16:30:19 booguie [~booguie@wsip-98-172-168-236.sd.sd.cox.net] has joined #lisp 16:32:30 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Ping timeout: 264 seconds] 16:35:05 cpc26 [~cpc26@fsf/member/cpc26] has joined #lisp 16:35:05 -!- cpc26 [~cpc26@fsf/member/cpc26] has quit [Client Quit] 16:41:21 i've only ever encounterd Harvard architecture on dsp-like chips 16:41:37 -!- cfy [~cfy@unaffiliated/chenfengyuan] has quit [Remote host closed the connection] 16:42:42 -!- ngz [~user@254.214.67.86.rev.sfr.net] has quit [Ping timeout: 264 seconds] 16:43:03 n00b6502: almost all modern CPUs are somewhat Harvard, just try writing to memory in your icache 16:44:04 -!- lusory [~lusory@bb42-60-31-187.singnet.com.sg] has quit [Read error: No route to host] 16:44:06 coherency enforced though isn't it (or is it? does the mmu's knowledge of writable code pages and i vs d cache interact?) 16:44:39 paolo_m [~user@adsl-ull-140-193.49-151.net24.it] has joined #lisp 16:44:47 oh so icache is NOT coherent, requires cache-control instructions to modify? 16:44:53 -!- kmee [~yhiselamu@lap.ee] has quit [Quit: quit] 16:45:03 yes 16:45:37 ok makes sense 16:46:08 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 244 seconds] 16:46:24 How comes, after years of C and C++ you don't know that? That's low level matter thought! 16:46:38 leo2007 [~leo@123.114.42.185] has joined #lisp 16:47:29 working on platforms where code is signed and not modifyable 16:47:50 Code non modifiable? Bouahaha! 16:47:51 and where compiling involves so much scheduling that runtime code genreation is not viable 16:48:05 you could generate code on cell sure. but .. 16:48:17 Working with Babbage machines instead of Von Neumann machines! 16:48:46 i did do self-modifying code as a kid. it was widely known that once you have caches, its not so needed 16:49:35 (or rather not so advantageous) 16:49:47 -!- dl [~download@dhcp154.hpc.unm.edu] has quit [Ping timeout: 244 seconds] 16:51:59 -!- FreeArtMan [~fam@93.177.213.54] has quit [Read error: Connection reset by peer] 16:53:30 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 16:55:04 -!- logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Read error: Connection reset by peer] 16:55:26 xpololz [~xpololz@80.203.124.203] has joined #lisp 16:57:20 logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 16:59:18 qptain_Nemo [~qN@81-235-52-30-no79.bredband.skanova.com] has joined #lisp 16:59:51 attila_lendvai [~attila_le@5.34.25.36] has joined #lisp 16:59:51 -!- attila_lendvai [~attila_le@5.34.25.36] has quit [Changing host] 16:59:51 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 17:02:12 -!- ivan-kanis [~user@nantes.visionobjects.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:04:37 sdemarre [~serge@91.176.31.180] has joined #lisp 17:04:39 -!- scymtym [~user@2001:638:504:2093:226:b9ff:fe7d:3e1f] has quit [Read error: Connection reset by peer] 17:08:30 -!- logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has quit [Ping timeout: 264 seconds] 17:10:41 anon119 [~bman@12.104.144.2] has joined #lisp 17:10:45 -!- kennyd [kennyd@93-139-10-144.adsl.net.t-com.hr] has quit [Ping timeout: 276 seconds] 17:10:56 -!- leo2007 [~leo@123.114.42.185] has quit [Ping timeout: 244 seconds] 17:11:08 logger_ [~logger@84-73-159-126.dclient.hispeed.ch] has joined #lisp 17:13:44 -!- [6502] [5e24deb2@gateway/web/freenode/ip.94.36.222.178] has quit [Quit: Page closed] 17:13:47 -!- jjkola [~androirc@193-64-20-4-nat.elisa-mobile.fi] has quit [Quit: quit] 17:15:45 kennyd [kennyd@93-138-81-252.adsl.net.t-com.hr] has joined #lisp 17:16:00 k0001 [~k0001@host76.190-228-122.telecom.net.ar] has joined #lisp 17:18:45 -!- teggi [~teggi@113.172.54.215] has quit [Remote host closed the connection] 17:19:44 kanru [~kanru@187.74.240.18] has joined #lisp 17:21:02 -!- ignas [~ignas@office.pov.lt] has quit [Ping timeout: 265 seconds] 17:21:55 -!- kanru [~kanru@187.74.240.18] has quit [Read error: Connection reset by peer] 17:23:18 MoALTz [~no@host-92-2-114-133.as43234.net] has joined #lisp 17:23:20 kuzary [~who@gateway/tor-sasl/kuzary] has joined #lisp 17:25:44 pnpuff [~pnpuff@gateway/tor-sasl/pnpuff] has joined #lisp 17:27:29 -!- k0001 [~k0001@host76.190-228-122.telecom.net.ar] has quit [Ping timeout: 240 seconds] 17:39:14 phax [~phax@unaffiliated/phax] has joined #lisp 17:39:24 k0001 [~k0001@host76.190-228-122.telecom.net.ar] has joined #lisp 17:40:03 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 17:40:30 leo2007 [~leo@123.114.42.185] has joined #lisp 17:42:59 -!- sellout42 [~Adium@c-98-245-90-138.hsd1.co.comcast.net] has quit [Quit: Leaving.] 17:43:34 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 17:57:13 milanj [~milanj_@79-101-197-111.dynamic.isp.telekom.rs] has joined #lisp 17:58:12 sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #lisp 18:03:41 -!- kuzary [~who@gateway/tor-sasl/kuzary] has quit [Remote host closed the connection] 18:04:40 DDR [~chatzilla@d66-183-118-10.bchsia.telus.net] has joined #lisp 18:08:35 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Read error: Connection reset by peer] 18:08:52 -!- snearch [~snearch@p5795B13D.dip.t-dialin.net] has quit [Quit: Verlassend] 18:09:44 -!- bitonic [~user@vm-shell1.doc.ic.ac.uk] has quit [Remote host closed the connection] 18:10:43 REPLeffect [~REPLeffec@69.54.115.254] has joined #lisp 18:14:16 -!- ykm [~user@124.155.255.201] has quit [Remote host closed the connection] 18:16:06 stat_vi [~stat@dslb-094-218-236-000.pools.arcor-ip.net] has joined #lisp 18:21:01 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 18:21:36 -!- steffi_s [~marioooh@pool-173-77-101-4.nycmny.east.verizon.net] has quit [Quit: zzzz] 18:22:04 -!- dmx [~dmx@adsl-67-121-157-253.dsl.pltn13.pacbell.net] has quit [Remote host closed the connection] 18:22:18 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Ping timeout: 264 seconds] 18:23:42 VieiraN [~VieiraN@187.10.244.166] has joined #lisp 18:24:28 steffi_s [~marioooh@pool-173-77-101-4.nycmny.east.verizon.net] has joined #lisp 18:26:18 CrazyEddy [~reasonabi@wrongplanet/CrazyEddy] has joined #lisp 18:30:29 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 18:32:37 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 18:35:40 -!- k0001 [~k0001@host76.190-228-122.telecom.net.ar] has quit [Ping timeout: 244 seconds] 18:45:37 how do I add the namespace of a package to the current one? 18:47:38 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Read error: Connection reset by peer] 18:48:42 -!- phax [~phax@unaffiliated/phax] has quit [Ping timeout: 264 seconds] 18:48:55 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 18:49:20 http://common-lisp.net/project/fiveam/docs/FiveAM_0020Example_0020_0028poor_0020man_0027s_0020tutorial_0029.html basically - I'm not sure how much magic is behind the whole defpackage/in-package 18:49:59 -!- jsabeaudry [~jsabeaudr@242.161.18.64.static.oricom.ca] has left #lisp 18:50:33 solomonoff complexity of the link it's too high :) 18:51:12 -!- p_l [~pl@web1.rootnode.net] has quit [Read error: Connection reset by peer] 18:51:43 dmx [~dmx@adsl-67-121-157-253.dsl.pltn13.pacbell.net] has joined #lisp 18:52:00 -!- sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Quit: Leaving.] 18:52:17 k0001 [~k0001@host76.190-228-122.telecom.net.ar] has joined #lisp 18:53:52 vlion [~vlion@66-87-112-55.pools.spcsdns.net] has joined #lisp 18:54:58 -!- Kvaks [~quassel@15.123.34.95.customer.cdi.no] has quit [Read error: Connection reset by peer] 18:55:47 Kvaks [~quassel@15.123.34.95.customer.cdi.no] has joined #lisp 18:56:21 reactormonk: use-package 18:56:44 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 265 seconds] 18:57:06 reactormonk: Try: http://www.flownet.com/ron/packages.pdf ; it's critisized, but it's the only we have for now. 18:57:29 http://pastie.org/private/dv6say3k4lhvdzb5uklg current code--- 18:58:10 -!- ghast [~user@host83.190-30-155.telecom.net.ar] has left #lisp 19:01:22 -!- jtza8 [~jtza8@196-210-142-207.dynamic.isadsl.co.za] has quit [Ping timeout: 268 seconds] 19:01:52 jtza8 [~jtza8@196-210-142-207.dynamic.isadsl.co.za] has joined #lisp 19:02:13 -!- pnpuff [~pnpuff@gateway/tor-sasl/pnpuff] has left #lisp 19:03:34 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 19:03:47 bitonic [~user@027cae25.bb.sky.com] has joined #lisp 19:04:10 p_l|ssh-broke [~pl@91.222.124.6] has joined #lisp 19:05:51 pjb: critisized in what way? 19:06:06 Some say it should be rewritten better. 19:06:49 -!- mishoo [~mishoo@178.138.32.192] has quit [Ping timeout: 240 seconds] 19:07:44 mishoo [~mishoo@178.138.32.192] has joined #lisp 19:08:53 the document or the system? 19:09:00 The document. 19:15:47 Fare [fare@nat/google/x-hxcafxqgoolxthga] has joined #lisp 19:20:09 -!- bitonic [~user@027cae25.bb.sky.com] has quit [Ping timeout: 260 seconds] 19:22:51 kanru [~kanru@187.74.240.18] has joined #lisp 19:26:29 pnq [~nick@unaffiliated/pnq] has joined #lisp 19:26:38 ehu [~ehu@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 19:31:07 sellout42 [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #lisp 19:31:18 -!- jewel [~jewel@196-210-138-20.dynamic.isadsl.co.za] has quit [Ping timeout: 264 seconds] 19:31:36 -!- vlion [~vlion@66-87-112-55.pools.spcsdns.net] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 19:32:08 asvil [~asvil@178.121.255.252] has joined #lisp 19:37:48 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Read error: Connection reset by peer] 19:45:06 -!- tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has quit [Ping timeout: 264 seconds] 19:47:54 any document for setq <-> setf <-> set ? 19:48:54 the clhs? 19:49:34 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 19:51:48 francogrex [~user@109.130.184.144] has joined #lisp 19:52:10 -!- asvil [~asvil@178.121.255.252] has quit [Remote host closed the connection] 19:52:16 is there a way to know the space in memory that a hash table is taking (sbcl) ? 19:52:49 reactormonk: I also vaguely remember PCL explaining the various set forms, not quite sure it was there, though. 19:53:05 (with some historical background, maybe that was Touretzky?) 19:56:15 -!- gonzojive [~red@c-67-188-215-86.hsd1.ca.comcast.net] has quit [Quit: gonzojive] 19:58:34 Joreji [~thomas@77-23-106-67-dynip.superkabel.de] has joined #lisp 20:00:11 Hehe, nice. Tabasco Sort on Hacker News. 20:00:53 ye 20:01:24 antoszka: http://stackoverflow.com/questions/869529/difference-between-set-setq-and-setf-in-common-lisp good enough? 20:02:46 reactormonk: Looks sensible. 20:03:19 ThomasH [~user@pdpc/supporter/professional/thomash] has joined #lisp 20:03:28 Greetings lispers 20:05:30 -!- Yuuhi` [benni@p54839A10.dip.t-dialin.net] has quit [Ping timeout: 268 seconds] 20:06:44 reactormonk: You can also define your own setf expansions, start by looking here: http://www.lispworks.com/documentation/HyperSpec/Body/05_aa.htm 20:06:48 there are two namespaces, function and variable? function the first element of each list, variables the rest? 20:07:53 reactormonk: That's not how the differentiation is made. 20:08:53 ThomasH: that's my interpretation of the bits of information I have - what's the official way? 20:08:53 reactormonk: A symbol has attributes 20:09:10 minion: Tell reactormonk about symbol 20:09:10 Sorry, I couldn't find anything in the database for ``symbol''. 20:09:12 reactormonk: PAIP says there are "at least seven name spaces". 20:09:14 -!- ehu [~ehu@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 252 seconds] 20:09:23 reactormonk: -> http://www.lispworks.com/documentation/HyperSpec/Body/t_symbol.htm 20:09:25 reactormonk: Rather than thinking there are many namespaces (more than two if you look that way) it's better to realize, that it's a single symbol you're dealing with and it has various slots. 20:09:52 reactormonk: There are more than two slots (variable and function, to put simply). 20:10:05 -!- jxonas [~Thunderbi@201.82.4.152] has quit [Ping timeout: 260 seconds] 20:10:31 I can never remember how to drive the bots around here. 20:10:38 clhs symbol 20:10:39 http://www.lispworks.com/reference/HyperSpec/Body/t_symbol.htm 20:12:27 reactormonk: Enter (describe 'list) in your REPL. 20:14:05 ThomasH: http://www.lispworks.com/documentation/HyperSpec/Body/a_list.htm which one are you referring to? 20:15:29 didi: macro and special are two more? 20:15:32 reactormonk: Actually, I was wanting you to see the output of DESCRIBE, but that list of references also alludes to a symbol having attributes, since the symbol LIST refers to all of those. 20:15:59 Well, except 'Glossary Entry', but I think you know what I mean. 20:16:06 ThomasH: http://sprunge.us/SAKU which part? 20:16:35 reactormonk: The description is a little involved, but the first two are: 1. for functions and macros and 2. for variables. 20:17:02 -!- gravicappa [~gravicapp@ppp91-77-181-81.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 20:17:08 Hey, that's one noisy DESCRIBE. 20:17:19 sbcl gives much terser output. 20:17:53 reactormonk: that is an insane output, I checked it on LW and CCL, what is that from? 20:17:58 ThomasH: clisp 20:18:19 ThomasH: your point is that a symbol can mean different things in different namespaces? 20:18:30 or that it can exist in more than one? 20:19:31 reactormonk: There is a single namespace for a symbol, and it's the package the symbol is in. 20:19:36 tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has joined #lisp 20:19:44 All of the above. It can have both a function and variable attribute, and different attributes for different packages defiing the symbol. 20:19:49 -!- tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has quit [Remote host closed the connection] 20:19:56 tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has joined #lisp 20:20:46 antoszka: can there be packages within packages, as you see in C++ with foo::bar::baz ? 20:20:52 No 20:20:59 thought so 20:21:00 -!- steffi_s [~marioooh@pool-173-77-101-4.nycmny.east.verizon.net] has quit [Quit: zzzz] 20:21:03 reactormonk: There are just various data slots in a symbol. By doing (defun foo ), you're attaching a function object to the function slot of a symbol. 20:21:20 There's the conduits system which allows foo.bar.baz::sym ; hierarchical packages 20:21:26 reactormonk: Although, I think there add-ons that will allow you to do that, can't remember the name. 20:21:29 antoszka: now that would explain the --f---- in the slime video :-) 20:21:40 reactormonk: calling (foo) is then the equivalent of (funcall (symbol-function 'foo)) 20:22:01 symbol-function retrieves the object that's stored in the function slot of a given symbol 20:22:03 antoszka: or its shortcut #: ? 20:22:20 #'foo is a shortcut for (function foo) 20:22:48 Haha, nice. 20:22:54 *didi* didn't know that 20:23:15 Beware, though, that's a global mutation 20:23:38 that will not work for lexically bound functions 20:23:42 oic 20:24:03 -!- `fogus is now known as `fogus|away 20:24:25 i.e. (let (f) (setf (symbol-function 'f) (lambda () "hi")) (f)) will work... but the binding is not lexical. 20:24:34 (so F will be visible outside of the LET) 20:24:41 -!- Joreji [~thomas@77-23-106-67-dynip.superkabel.de] has quit [Ping timeout: 244 seconds] 20:24:44 antoszka: the only difference between (function foo) (symbol-function 'foo) is that one takes a quoted and one an unquoted name? 20:24:45 the same is true with a LABELS or FLET binding 20:25:04 reactormonk, (FUNCTION FOO) can refer to a lexically scoped function binding 20:25:15 -!- paolo_m [~user@adsl-ull-140-193.49-151.net24.it] has left #lisp 20:25:28 what's the other binding again? 20:25:36 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 20:25:39 (labels ((f (x) (* x x))) (symbol-function 'f)) ; invalid, F doesn't have a SYMBOL-FUNCTION 20:26:01 however (labels ((f (x) (* x x))) (function f)) will indeed refer to that lexically bound function 20:26:23 -!- tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has quit [Remote host closed the connection] 20:26:44 reactormonk: also, you can put a literal function object (a lambda form) in function, which you wouldn't do with symbol-function, as it explicitly refers to whatever is stored in the function slot of an object 20:27:56 gonzojive [~red@c-67-188-215-86.hsd1.ca.comcast.net] has joined #lisp 20:28:05 clhs function 20:28:05 http://www.lispworks.com/reference/HyperSpec/Body/a_fn.htm 20:29:24 -!- add^_ [~add^_@m90-141-33-35.cust.tele2.se] has quit [Ping timeout: 246 seconds] 20:29:40 -!- mucker [~mucker@183.83.240.198] has quit [Ping timeout: 248 seconds] 20:29:58 add^_ [~add^_@m90-141-41-122.cust.tele2.se] has joined #lisp 20:30:13 tali713 [~user@c-76-17-236-129.hsd1.mn.comcast.net] has joined #lisp 20:30:51 iocor [~textual@unaffiliated/iocor] has joined #lisp 20:33:24 -!- leo2007 [~leo@123.114.42.185] has quit [Ping timeout: 265 seconds] 20:34:12 francogrex: yes. A hash table takes in memory O((hash-table-size h)) 20:34:13 TimKack [~user@c-2ec392ee-74736162.cust.telenor.se] has joined #lisp 20:34:31 Quadrescence: labels is to functions what let is to variables? 20:35:07 Closer to let* 20:35:13 There's also flet 20:35:21 LABELS is more like LETREC in Scheme. FLET is closer to LET. 20:35:44 pnkbst [~user@unaffiliated/pnkbst] has joined #lisp 20:36:46 reactormonk: let  flet, let*  labels (though not quite) 20:37:06 there was some subtle difference I can't remember 20:37:41 LABELS can define mutually recursive functions 20:37:54 Quadrescence: in (let (f) (setf (symbol-function 'f) (lambda () "hi")) (f)) the lexical variable f is not used. It's equivalent to (let (unused) (setf (symbol-function 'f) (lambda () "hi")) (f)) and equivalent to (let () (setf (symbol-function 'f) (lambda () "hi")) (f)) 20:38:08 pjb, right 20:38:35 (hash-table-size *table*) -> 65536 20:38:53 antoszka: I'll stumble over it in time 20:39:06 gendl [~gendl@c-68-41-192-171.hsd1.mi.comcast.net] has joined #lisp 20:39:32 So it looks like asdf does not distinguish between SMP and non-SMP Allegro CL 9.0 20:39:40 for the output-translations 20:39:44 francogrex: that's why, for small maps, you may prefer a-lists or p-lists. 20:40:08 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Remote host closed the connection] 20:40:09 p_l [~pl@web1.rootnode.net] has joined #lisp 20:40:24 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 20:40:57 I suppose I should look at how it computes that platform string, fix it to include "smp" for the SMP version... 20:41:04 reactormonk: there are other namespaces. For example, the setf-ers lie in another namespace. Functions named (setf something). 20:41:18 tfb [~tfb@a1.norwich.yourspac.nsdsl.net] has joined #lisp 20:42:21 x (symbol-value 'x) (function x) (fdefinition 'x) (function (setf x)) (fdefinition '(setf x)) 20:42:51 maybe I should bring these issues up with Franz before mentioning here? 20:43:11 clhs fdefinition 20:43:12 http://www.lispworks.com/reference/HyperSpec/Body/f_fdefin.htm 20:43:54 -!- p_l|ssh-broke [~pl@91.222.124.6] has quit [Quit: leaving] 20:48:27 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Ping timeout: 244 seconds] 20:48:58 how do I deal with http://sprunge.us/VMEh 20:49:27 -!- k0001 [~k0001@host76.190-228-122.telecom.net.ar] has quit [Ping timeout: 252 seconds] 20:52:46 That's because one of the symbols had already been defined in cl-user before you loaded your package; one of the restarts should give you an option to use the symbol from the new package instead. 20:53:03 -!- TimKack [~user@c-2ec392ee-74736162.cust.telenor.se] has left #lisp 20:53:19 SexKitten [~Oddity@d154-20-194-103.bchsia.telus.net] has joined #lisp 20:54:18 Mon_Ouie: yep, did that. The question is how to resolve that in code 20:54:30 actually quicklisp already loaded the functions in the current namespace... 20:55:35 Well, I assumed the only reason the symbol was already there was because you created it accidentally (or whatever) during development 20:57:17 reactormonk: first, don't use the cl-user package: implementations are free to put anything they want in it, so you cannot predict what conflicts you will have. 20:58:04 reactormonk: then, if you have read http://www.flownet.com/ron/packages.pdf as I told you a couple of hours ago, you should know that you should use DEFPACKAGE to solve this problem. 20:58:31 pjb: I feel like defpackage is a bit of overkill here. 20:58:35 If you have read it and don't know it, then it's proof that as I mentionned, it's not as good as it should be. 20:59:19 pjb: I did read most of it the defpackage stuck in mind as 'explained elsewhere' 20:59:32 Still, I don't see how defining COMMON-LISP-USER::IS (by the user or the implementation) would conflict with FIVEAM:IS. 20:59:43 Must be missing something 20:59:48 (defpackage :your-program (:use :cl :fiveam)) (in-pacakge :your-package) #|have fun|# 20:59:57 ah, yes 20:59:58 did (ql:quickload 'fiveam') at the beginning of the file 21:00:00 -!- rmarianski [~rmariansk@mail.marianski.com] has quit [Quit: leaving] 21:00:13 You can still do it first indeed. 21:00:30 pjb: just stick to that? 21:00:42 (ql:quickload 'fiveam') (defpackage :your-program (:use :cl :fiveam)) (in-pacakge :your-package) #|have fun|# 21:01:54 oke, thanks 21:02:20 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Read error: Connection reset by peer] 21:03:16 tobel [~user@pD9E8B274.dip.t-dialin.net] has joined #lisp 21:03:33 kcj [~casey@unaffiliated/kcj] has joined #lisp 21:04:05 eni [~eni@gob75-5-82-230-88-217.fbx.proxad.net] has joined #lisp 21:06:14 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 21:07:54 -!- sdemarre [~serge@91.176.31.180] has quit [Ping timeout: 264 seconds] 21:11:30 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Ping timeout: 264 seconds] 21:11:48 phax [~phax@unaffiliated/phax] has joined #lisp 21:13:33 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 260 seconds] 21:14:11 k0001 [~k0001@host76.190-228-122.telecom.net.ar] has joined #lisp 21:16:53 __class__ [~class@99.105.56.217] has joined #lisp 21:17:09 -!- s0ber [~s0ber@114-25-195-123.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 21:18:46 s0ber [~s0ber@114-25-201-96.dynamic.hinet.net] has joined #lisp 21:20:26 -!- gonzojive [~red@c-67-188-215-86.hsd1.ca.comcast.net] has quit [Quit: gonzojive] 21:20:40 -!- francogrex [~user@109.130.184.144] has quit [Quit: ERC Version 5.2 (IRC client for Emacs)] 21:21:08 -!- kushal [~kdas@fedora/kushal] has quit [Ping timeout: 240 seconds] 21:22:55 -!- tobel [~user@pD9E8B274.dip.t-dialin.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:24:50 ticking [~janpaulbu@87.253.189.132] has joined #lisp 21:27:48 -!- __class__ [~class@99.105.56.217] has quit [Ping timeout: 248 seconds] 21:27:54 -!- mishoo [~mishoo@178.138.32.192] has quit [Read error: No route to host] 21:28:28 mishoo [~mishoo@178.138.32.192] has joined #lisp 21:30:48 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 21:34:09 -!- ticking [~janpaulbu@87.253.189.132] has quit [Quit: Leaving...] 21:35:34 foreignFunction [~niksaak@94.27.88.104] has joined #lisp 21:37:13 ticking [~janpaulbu@87.253.189.132] has joined #lisp 21:41:57 -!- gffa [~unknown@unaffiliated/gffa] has quit [Quit: sleep] 21:42:20 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 21:45:07 -!- Alice3 [~Alice@cpc3-grim12-0-0-cust856.12-3.cable.virginmedia.com] has quit [] 21:47:39 -!- stat_vi [~stat@dslb-094-218-236-000.pools.arcor-ip.net] has quit [Quit: leaving] 21:50:54 -!- ipmonger [~ipmonger@2001:470:8:d80:e078:c71c:7aaa:c626] has quit [Quit: ipmonger] 21:51:50 -!- pnkbst [~user@unaffiliated/pnkbst] has quit [Remote host closed the connection] 21:55:34 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 265 seconds] 21:55:44 -!- CampinSam [~user@24-176-98-217.dhcp.jcsn.tn.charter.com] has quit [Remote host closed the connection] 21:56:00 CampinSam [~user@24-176-98-217.dhcp.jcsn.tn.charter.com] has joined #lisp 22:01:44 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 22:01:54 -!- kanru [~kanru@187.74.240.18] has quit [Ping timeout: 264 seconds] 22:02:49 -!- quazimodo [~quazimodo@c27-253-100-110.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 265 seconds] 22:06:34 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 22:07:32 -!- ticking [~janpaulbu@87.253.189.132] has quit [Quit: Leaving...] 22:07:38 -!- eni [~eni@gob75-5-82-230-88-217.fbx.proxad.net] has quit [Ping timeout: 245 seconds] 22:12:37 ticking [~janpaulbu@87.253.189.132] has joined #lisp 22:14:51 -!- sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has quit [Remote host closed the connection] 22:15:47 -!- k0001 [~k0001@host76.190-228-122.telecom.net.ar] has quit [Ping timeout: 246 seconds] 22:20:42 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #lisp 22:27:14 k0001 [~k0001@host76.190-228-122.telecom.net.ar] has joined #lisp 22:27:17 RomyRomy [~stickycak@207.239.107.3] has joined #lisp 22:27:21 -!- mishoo [~mishoo@178.138.32.192] has quit [Read error: No route to host] 22:31:28 -!- rswarbrick [~rupert@cpc1-cove3-0-0-cust941.3-1.cable.virginmedia.com] has quit [Read error: Operation timed out] 22:33:17 -!- MoALTz [~no@host-92-2-114-133.as43234.net] has quit [Quit: brb] 22:35:59 -!- [SLB] is now known as [SLB]` 22:36:40 stardiviner [~stardivin@122.236.247.45] has joined #lisp 22:38:20 m7w_ [~chatzilla@178.172.214.42] has joined #lisp 22:38:39 -!- DT`` is now known as DT` 22:39:43 -!- m7w [~chatzilla@178.172.214.42] has quit [Ping timeout: 245 seconds] 22:39:44 -!- m7w_ is now known as m7w 22:39:53 -!- ticking [~janpaulbu@87.253.189.132] has quit [Quit: Leaving...] 22:40:27 ticking [~janpaulbu@87.253.189.132] has joined #lisp 22:40:52 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 22:44:11 -!- m7w [~chatzilla@178.172.214.42] has quit [Ping timeout: 244 seconds] 22:45:17 mritz [~textual@cpe-66-25-166-122.austin.res.rr.com] has joined #lisp 22:46:46 -!- [SLB]` is now known as ]SLB[ 22:46:46 -!- ]SLB[ is now known as [SLB] 22:46:49 -!- [SLB] is now known as ]SLB[ 22:46:59 -!- ]SLB[ is now known as [SLB] 22:48:33 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 22:49:11 DataLinkDroid [~DataLinkD@1.152.52.64] has joined #lisp 22:49:47 dreish [~dreish@minus.dreish.org] has joined #lisp 22:50:04 -!- punee [~punee@213-245-106-105.rev.numericable.fr] has quit [Quit: punee] 22:50:13 -!- pskosinski [~pk@czu186.internetdsl.tpnet.pl] has quit [Read error: Connection reset by peer] 22:53:46 -!- RomyRomy [~stickycak@207.239.107.3] has quit [Quit: RomyRomy] 23:00:04 -!- cods [~cods@rsbac/developer/cods] has quit [Ping timeout: 248 seconds] 23:02:44 cfy [~cfy@unaffiliated/chenfengyuan] has joined #lisp 23:02:51 -!- DDR [~chatzilla@d66-183-118-10.bchsia.telus.net] has quit [Quit: for the love of god this is not safe for work] 23:03:19 DDR [~chatzilla@d66-183-118-10.bchsia.telus.net] has joined #lisp 23:03:26 sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has joined #lisp 23:05:48 Sorella [~quildreen@201-58-198-116.user.veloxzone.com.br] has joined #lisp 23:05:51 -!- Sorella [~quildreen@201-58-198-116.user.veloxzone.com.br] has quit [Changing host] 23:05:51 Sorella [~quildreen@oftn/member/Sorella] has joined #lisp 23:08:18 -!- [SLB] is now known as [SLB]` 23:09:07 -!- CrazyEddy [~reasonabi@wrongplanet/CrazyEddy] has quit [Ping timeout: 240 seconds] 23:11:33 -!- jtza8 [~jtza8@196-210-142-207.dynamic.isadsl.co.za] has quit [Quit: leaving] 23:12:06 cods [~cods@tuxee.net] has joined #lisp 23:12:24 -!- pnq [~nick@unaffiliated/pnq] has quit [Quit: Leaving.] 23:13:33 -!- cfy [~cfy@unaffiliated/chenfengyuan] has quit [Read error: Connection reset by peer] 23:13:56 cfy [~cfy@unaffiliated/chenfengyuan] has joined #lisp 23:14:20 -!- ThomasH [~user@pdpc/supporter/professional/thomash] has left #lisp 23:14:50 -!- peterhil` [~peterhil@91-157-48-51.elisa-laajakaista.fi] has quit [Ping timeout: 265 seconds] 23:17:42 -!- xpololz [~xpololz@80.203.124.203] has quit [Ping timeout: 252 seconds] 23:18:52 -!- Houl [~Parmi@unaffiliated/houl] has quit [Quit: weil das Wetter so schön ist] 23:19:39 -!- [SLB]` is now known as [SLB] 23:19:40 -!- k0001 [~k0001@host76.190-228-122.telecom.net.ar] has quit [Ping timeout: 265 seconds] 23:20:06 -!- ticking [~janpaulbu@87.253.189.132] has quit [Quit: Leaving...] 23:21:03 -!- xan_ [~xan@80.174.78.213.dyn.user.ono.com] has quit [Quit: leaving] 23:22:12 MoALTz [~no@host-92-2-124-104.as43234.net] has joined #lisp 23:25:37 -!- cfy [~cfy@unaffiliated/chenfengyuan] has quit [Remote host closed the connection] 23:25:55 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 23:28:10 pskosinski [~pk@czu186.internetdsl.tpnet.pl] has joined #lisp 23:29:28 -!- mritz [~textual@cpe-66-25-166-122.austin.res.rr.com] has quit [Quit: Computer has gone to sleep.] 23:29:37 -!- MoALTz [~no@host-92-2-124-104.as43234.net] has quit [Ping timeout: 268 seconds] 23:30:31 organixpear [~organixpe@96-42-14-128.dhcp.fdul.wi.charter.com] has joined #lisp 23:31:07 cryptic [~cryptic@pool-108-21-223-187.nycmny.fios.verizon.net] has joined #lisp 23:31:34 it looks like I will be spending a lot of time here this semester, so thanks in advance :) 23:32:41 cryptic: you have a course using lisp? 23:33:36 yes pavelpenev 23:33:43 -!- mattrepl [~mattrepl@pool-72-66-73-241.washdc.fios.verizon.net] has quit [Quit: mattrepl] 23:33:44 introduction to artificial intelligence 23:33:55 cryptic: so you're reading PAIP and AIMA? 23:35:14 AIMA 23:35:22 what's PAIP? 23:35:30 Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp 23:36:21 is that a good book to read with AIMA? 23:36:27 Yes 23:37:00 I should probably read that eventually, my AI course was so disappointing, I'll have to learn AI all on my own. 23:37:16 pavelpenev: http://coursera.org http://ocw.mit.edu 23:37:25 superflit_ [~superflit@75-171-203-88.hlrn.qwest.net] has joined #lisp 23:37:33 -!- superflit [~superflit@209-180-241-159.hlrn.qwest.net] has quit [Ping timeout: 265 seconds] 23:37:34 -!- superflit_ is now known as superflit 23:37:34 jeti [~user@p548EADDD.dip.t-dialin.net] has joined #lisp 23:37:39 I love living in the future :) 23:37:57 pavelpenev: I'm not sure how mine's going to be--I'm a little nervous 23:38:00 AIMA is not very much about Lisp. 23:38:18 It's very much about introduction to artificial intelligence. 23:39:06 peterhil` [~peterhil@91-157-48-51.elisa-laajakaista.fi] has joined #lisp 23:39:18 I started learning haskell over the summer, but I'm still pretty new to functional programming. the closest I've come to it in the past is template metaprogramming in C++ 23:39:36 Poor little thing. 23:39:41 haha 23:40:06 templates have anything to do with FP? 23:40:09 Let's alert Amnesty International. Where do they teach C++ template? 23:40:10 PAIP is more about Common Lisp 23:40:17 my school teaches them 23:40:18 -!- __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 23:40:46 but just to make polymorphic collections, list and such, nothing more horrible than that 23:40:56 -!- phax [~phax@unaffiliated/phax] has quit [Ping timeout: 265 seconds] 23:41:34 pavelpenev: why yes. I once had a lisp that compiled to templates! (: 23:43:29 phax [~phax@unaffiliated/phax] has joined #lisp 23:43:35 C++11 is actually a lot closer to FP 23:44:04 you can do a lot more (see Modern C++ Design, for example) 23:45:08 it's also a bit cryptic 23:45:25 I think this channel has had way too much C++ these past few days, also, I'm using it right now in preparation for an exam, so lets retire the topic until I regain my sanity :) 23:45:40 jhaha 23:46:38 yeah, let's 23:48:03 cryptic: Your AI course will be taught using Lisp or did you assume it? 23:48:17 -!- organixpear [~organixpe@96-42-14-128.dhcp.fdul.wi.charter.com] has quit [Quit: Lost terminal] 23:48:37 -!- agumonkey [~agu@249.217.72.86.rev.sfr.net] has quit [Quit: Lost terminal] 23:48:53 CrazyEddy [~drumming@wrongplanet/CrazyEddy] has joined #lisp 23:49:55 agumonkey [~agu@249.217.72.86.rev.sfr.net] has joined #lisp 23:51:06 Guest344` [~user@xdsl-78-35-141-199.netcologne.de] has joined #lisp 23:52:16 -!- naeg [~naeg@194.208.239.170] has quit [Quit: WeeChat 0.3.8] 23:52:23 -!- Guest34450 [~user@xdsl-78-35-167-197.netcologne.de] has quit [Ping timeout: 244 seconds] 23:53:27 didi: it will be 23:53:42 the prof devotes the first two weeks to "teaching lisp" 23:56:15 How strange the first section of PAIP teaches lisp too. 23:56:42 __class__ [~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net] has joined #lisp 23:57:41 http://norvig.com/21-days.html 23:58:08 cryptic: Nice.