14:31:21 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #lisp 14:31:21 14:31:21 -!- names: ccl-logbot CrazyEddy p_nathan danielszmulewicz gravicappa harish_ mrSpec Vivitron mlamari zacharias kcj chu ahungry_ ogamita wchun uzo segv- drmeister fortitude jangle normanrichards octet8 przl mgile DrCode oleo hitecnologys teggi echo-area foreignFunction MoALTz lduros LiamH antgreen scampbell clmsy feorex stassats` jtza8 Kabaka arnsa xk05 lq kwmiebach froggey cnl maxter Karl_dscc Lefeni Cymew Jubb joneshf-laptop zickzackv Okasu kiuma optikalmouse_ 14:31:21 -!- names: weie_ beaumonta dmiles_afk arenz pavelpenev stepnem ck`` beach theos Bike jdz varjagg xan_ shridhar mvilleneuve PuffTheMagic MrWoohoo daimrod ggole nisstyre angavrilov BohemianHacks mishoo superjudge mcsontos prxq ASau dsp_ naeg_ Borbus_ willyfrog oGMo asedeno_ ivan\ Ash__ macdice` ivan4th`` sellout- alezost rvchangue sykopomp EvW Codynyx motionman yrk axion cg505 theBlackDragon cross jaimef kmder Vutral doomlord_ sttau pjb cyphase ludocode clog 14:31:21 -!- names: neoncortex MikeSeth Patzy matko joast kpreid REPLeffect Praise munge d4gg4d_ capisce newcup spacebat1 dented42 araujo ered ezakimak clop2 epsylon` cpape` patrickwonders quotemstr wormphlegm namtsui [SLB] hypno_ cdidd Posterdati s0ber sabra ahungry ISF K1rk Marco__ ckoch786 scharan Natch hugod ski __main__ DrForr fikusz Ketsuban cantstanya Quadrescence effy robsmoniker seangrov` cibs Guest97484 FrostyX sauerkrause trebor_dki ThePhoeron fe[nl]ix hpd yano 14:31:21 -!- names: smull z0d par rotty chr` Ralt_ JPeterson dRbiG add^_ cmatei insomniaSalt skalawag devon`` Guest52377 Kruppe aoh arbscht naryl zorkmoid igotnolegs- ZombieChicken Petit_Dejeuner antoszka SHODAN krrrcks billstclair dlowe saysjonathan tensorpudding kirin` joshe nicdev nightfly guyal housel Tarential ashish__ rtoym justinmcp dan64 xristos aw|incendiary eli tkd danlentz zenoli irq0 abend nbouscal marsam Odin- Wukix` seggioo milosn eak ecraven _d3f 14:31:21 -!- names: joneshf-work hyperboreean schoppenhauer tali713 tessier karswell BlastHardcheese surrounder jayne shifty subtlepath ramus rvirding j0ni finnrobi bhyde fmu____ gluegadget sigjuice expez KingNato_ eagleflo Sourceless karupa64 nitro_idiot_ bege ggherdov photex madnificent minion wyan pok Anarch ashp redline6561 vsync TristamWrk bobbysmith007 zmyrgel H4ns vnz samebchase igorw copec sontek seantallen reb` gensym PuercoPop gko sbryant oconnore dfox spacefrogg 14:31:21 -!- names: Zhivago gabot vhost- nullman zfx Tristam mathrick |3b| GuilOooo Krystof pchrist s00pcan ineiros drdo robot-beethoven flip214 setheus kanru Nshag The_third_man phadthai Blkt antifuchs ircbrowse guaqua cpt_nemo loke rk[imposter] sweet_kid aajmakin varjag nightshade427 hiyosi Adeon ft mikaelj AntiSpamMeta Oddity blackwol` acieroid cmbntr koisoke balle gendl trigen|afk aerique _schulte_ gemelen Xach easye tychoish kbtr p_l BrianRice dotemacs prip yeltzooo 14:31:21 -!- names: zbigniew mshroyer Tordek eMBee jsnell theGNUrk Roin adeht jasom deadghost_ mal____ otwieracz Neptu aeth foom Mandus sytse djinni` sjl em maxpeck fmu ivan sfa luis` Amadiro ozzloy ``Erik wilfredh Khisanth Guest25276 gf3 cods isaacbw felideon stopbit cruxeternus brucem guther lemoinem pegu quasisane specbot Watcher7 tvaalen Fade freiksenet AeroNotix mtd dim Yamazaki-kun sshirokov DollyDuplex yroeht obre johs stokachu felipe tomaw Subfusc Cheery banjiewen 14:31:21 -!- names: sid_cypher rabite j_king jd__ galdor nuba 14:32:39 hwiersma [~hwiersma@205.250.11.18] has joined #lisp 14:33:21 -!- lduros [~user@fsf/member/lduros] has quit [Remote host closed the connection] 14:33:22 -!- zorkmoid [c2ed8e07@gateway/web/freenode/ip.194.237.142.7] has quit [Quit: Page closed] 14:35:09 -!- p_nathan [~Adium@174-21-140-82.tukw.qwest.net] has quit [Quit: Leaving.] 14:39:43 -!- octet8 [~klogd_@59.174.84.145] has quit [] 14:40:20 -!- karswell [~user@228.33.208.46.dyn.plus.net] has quit [Read error: Connection reset by peer] 14:41:38 Shinmera [~linus@public-docking-pat-etx-mapped-0021.ethz.ch] has joined #lisp 14:41:42 -!- drmeister [~drmeister@166.137.85.178] has quit [Read error: Connection reset by peer] 14:41:55 nachtwandler [~nachtwand@p5089D05C.dip0.t-ipconnect.de] has joined #lisp 14:42:29 fnus [~fnus@233-221-124-91.pool.ukrtel.net] has joined #lisp 14:43:46 synacktic [~jordyd@unaffiliated/jordyd] has joined #lisp 14:43:51 -!- danielszmulewicz [~danielszm@194.42.67.50] has quit [Quit: danielszmulewicz] 14:44:16 -!- zickzackv [~faot@port-92-198-30-130.static.qsc.de] has quit [Ping timeout: 264 seconds] 14:46:52 cffi-string-suff [~other@94.25.229.26] has joined #lisp 14:46:55 hi 14:47:02 Hi. 14:47:05 hi cffi-string-suff 14:47:31 -!- clmsy [~clmsy@212.57.9.204] has quit [Remote host closed the connection] 14:47:50 i'm trying to got familiar with CFFI, everything is fine but strings, it's such a pain, i hope someone can explain how to deal with them 14:48:11 -!- fnus [~fnus@233-221-124-91.pool.ukrtel.net] has left #lisp 14:49:03 i have function on C side with type signature such as that foo(5 args one of the is const *char) 14:49:51 but when i'm trying to call that function from lisp with cffi with arggument for *char "FOO", i'm getting There is no applicable method for the generic function 14:50:15 strugling with it like 3 hours already and can't figure out what to do and whats wrong with it 14:50:33 One option to get quick help is to paste the code and error message to paste.lisp.org 14:50:34 show the code 14:50:49 minion: chant 14:50:49 MORE COMFORTABLE 14:50:50 http://vpaste.net/GGEbV full error 14:50:53 hello. in sbcl: how can i check & call a function in a locked package (sb-ext::quit / sb-ext::exit)? doing a (when (find-symbol "EXIT" 'sb-ext) (eval (read-from-string "(sb-ext::exit)"))) is very bad i think.... 14:51:50 trebor_dki: save the result of find-symbol, pass it to funcall. 14:52:08 (let ((quitter (or (find-symbol "EXIT" ...) (find-symbol "QUIT")))) (funcall quitter)) 14:52:12 )))) 14:52:29 http://paste.lisp.org/display/139232 code + error 14:52:50 oh, Xach thanks. 14:53:35 http://paste.lisp.org/display/139232#1 added annotation with c function 14:54:19 cffi-string-suff: are you sure that you don't want (:pointer (:struct point))? 14:54:21 i've tried to foreign-funcall getenv with same const char* and it works, it seems my function exactly the same but it fails 14:54:36 stassats`: yes, and its irrelevant 14:55:41 why i'm so sure about that string causes troubles, because it works when i remove that string away :) 14:56:10 Xach: I'm just curious, why did you use let here? Isn't (funcall (or (find-symbol "EXIT") (find-symbol "QUIT"))) shorter and cleaner? 14:56:34 hitecnologys: maybe. 14:56:41 hitecnologys: it was the first thing that sprang to mind. 14:57:43 http://comments.gmane.org/gmane.lisp.cffi.devel/2274 that guy had something similiar but it seems Liam alreadye have fixed issue 14:57:46 Xach: ah, okay then. I just thought that maybe there's some reason I don't know about. 14:57:56 argh, its soo frustrating 14:59:06 stassats`: what whould you do in my place(except making point a pointer :))? 14:59:36 -!- cffi-string-suff is now known as cffistring-suffe 14:59:45 -!- cffistring-suffe is now known as string-suffering 14:59:49 my cffi is up to date: nothing 15:00:09 stassats`: my cffi is up to date too 15:02:00 string-suffering: apparently not 15:02:54 chenjf [~chenjf@58.253.216.130] has joined #lisp 15:03:01 (slot-value (asdf:find-system 'cffi) 'asdf:version) 15:03:05 "0.11.2" 15:03:21 maybe i'm checking version in a wrong way? 15:03:49 ssqq [~perlvim@221.4.142.41] has joined #lisp 15:05:00 oudeis [~oudeis@2.55.130.55] has joined #lisp 15:06:13 -!- rvchangue [~rvchangue@unaffiliated/rvchangue] has quit [Ping timeout: 248 seconds] 15:06:28 clmsy [~clmsy@212.57.9.204] has joined #lisp 15:06:30 either it's still not fixed or your cffi is bad 15:06:49 -!- MoALTz [~no@host86-142-120-148.range86-142.btcentralplus.com] has quit [Quit: Leaving] 15:07:55 -!- oudeis [~oudeis@2.55.130.55] has quit [Client Quit] 15:08:26 -!- Shinmera [~linus@public-docking-pat-etx-mapped-0021.ethz.ch] has quit [Quit: BBL] 15:11:39 :'( 15:11:59 it's the former 15:12:23 stassats`: thanks for information 15:12:50 do you have an idea how does it works with getenv function? 15:13:03 -!- spacefrogg [~spacefrog@unaffiliated/spacefrogg] has quit [Quit: spacefrogg] 15:13:15 because i can freely do (foreign-funcall "getenv" :string "SHELL" :string) 15:13:18 there's no passing of structs by value 15:13:34 -!- kpreid [~kpreid@50-196-148-101-static.hfc.comcastbusiness.net] has quit [Quit: Quitting] 15:13:40 dtw [~dtw@pdpc/supporter/active/dtw] has joined #lisp 15:13:41 stassats`: wow 15:13:54 kpreid [~kpreid@50-196-148-101-static.hfc.comcastbusiness.net] has joined #lisp 15:13:55 i didn't knew that these are related somehow 15:14:03 so, do you really want to pass it by value or not? 15:14:33 stassats`: well, its convenient but afraid i have to turn it down 15:14:44 meh 15:14:54 -!- zacharias [~aw@unaffiliated/zacharias] has quit [Quit: Bye!] 15:15:00 or you can fix cffi 15:15:24 stassats`: it's unlikely, i'm still a newb 15:16:16 stassats`: can you plese explain why does passing structs by value affets strings? 15:16:28 because broken, obviously 15:16:30 it's 15:17:01 p_nathan [~Adium@216.57.209.252] has joined #lisp 15:17:28 -!- Bike [~Glossina@gannon-wless-gw.resnet.wsu.edu] has quit [Ping timeout: 240 seconds] 15:17:28 diadara [~diadara@115.249.18.25] has joined #lisp 15:17:30 stassats`: hm, but it works just fine when function doesn't have a string as parameter... 15:17:50 -!- ISF [~ivan@187.64.222.94] has quit [Ping timeout: 256 seconds] 15:18:54 and yeah, i;m aware of libffi-cffi and i'm using it for sole reason of passing structs by value 15:19:03 -!- pavelpenev [~quassel@melontech.com] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 15:19:55 stassats`: i think you're kidding but i must try at least to refactor my code to use struct pointer excvept values 15:20:06 ykm [~ykm@38.snat-111-91-51.hns.net.in] has joined #lisp 15:20:11 kidding about what? 15:20:44 -!- Vivitron [~Vivitron@c-50-172-44-193.hsd1.il.comcast.net] has quit [Quit: trivial-irc-0.0.4] 15:20:45 stassats`: kidding about broken strings are lreated to passing structs by value 15:21:04 Bike [~Glossina@gannon-wless-gw.resnet.wsu.edu] has joined #lisp 15:21:09 -!- Okasu [~1@unaffiliated/okasu] has quit [Quit: leaving] 15:21:33 what should there be a logic in what fashion is it broken? 15:21:53 it just is, you can either fix it or leave it 15:22:32 stassats`: i mean why does it affects strings, structs and streang are unrelated in my opitionion. 15:23:19 it affects strings to ruin your day 15:24:09 you know you sound like "you have a flu because dog barked at tree other day" :D 15:24:45 ksh [~user@gateway/tor-sasl/skulls] has joined #lisp 15:25:30 i don't get what is that you want 15:26:32 -!- clmsy [~clmsy@212.57.9.204] has quit [Remote host closed the connection] 15:27:39 stassats`: i've just asked why do you think "pass struct by value" breaks strings, thats all. "because it's broken, obviously" quite abiguous answers, like "what is broken" and "why strings affected by breakag of structs if you;ve meant struts by value are broken" 15:28:08 are you going to be fixing it or what? 15:28:15 why isn't "broken" enough for you? 15:29:00 stassats`: Jsut want to learn, maybe i'll be able to understand cffi better. 15:29:09 then read its code 15:29:28 so you don't know? 15:29:55 i can't deny or confirm this 15:30:34 yer scumbag, but thanks anyway for tip on structs. 15:33:12 ejohnson [~Thunderbi@c-67-181-201-173.hsd1.ca.comcast.net] has joined #lisp 15:35:27 http://cdn.meme.li/i/oubre.jpg 15:36:06 -!- string-suffering [~other@94.25.229.26] has quit [Quit: leaving] 15:37:51 quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has joined #lisp 15:40:56 -!- synacktic [~jordyd@unaffiliated/jordyd] has quit [Quit: Leaving] 15:52:14 -!- Posterdati [~kvirc@host103-221-dynamic.21-87-r.retail.telecomitalia.it] has quit [Remote host closed the connection] 15:52:34 paddymahoney [~paddymaho@24.137.221.230] has joined #lisp 15:53:20 -!- patrickwonders [~patrickwo@user-38q42ns.cable.mindspring.com] has quit [Quit: patrickwonders] 15:54:20 -!- marsam [nyan@2600:3c01::f03c:91ff:feae:4421] has quit [Remote host closed the connection] 15:55:36 -!- theos [~theos@unaffiliated/theos] has quit [Quit: i will be back...nvm] 15:56:10 clmsy [~clmsy@212.57.9.204] has joined #lisp 15:57:01 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 15:57:25 -!- hitecnologys [~hitecnolo@176.62.96.188] has quit [Quit: hitecnologys] 15:57:32 theos [~theos@unaffiliated/theos] has joined #lisp 15:59:39 -!- theos [~theos@unaffiliated/theos] has quit [Client Quit] 16:00:39 lduros [~user@fsf/member/lduros] has joined #lisp 16:01:28 -!- gendl [~gendl@c-98-250-10-50.hsd1.mi.comcast.net] has quit [Ping timeout: 256 seconds] 16:02:25 gendl [~gendl@c-98-250-10-50.hsd1.mi.comcast.net] has joined #lisp 16:04:01 theos [~theos@unaffiliated/theos] has joined #lisp 16:04:05 -!- ssqq [~perlvim@221.4.142.41] has quit [Quit: Leaving] 16:04:55 -!- antgreen [~green@ip-64-134-228-132.public.wayport.net] has quit [Ping timeout: 246 seconds] 16:07:12 sohail [~sohail@unaffiliated/sohail] has joined #lisp 16:07:33 -!- przl [~przlrkt@62.217.45.197] has quit [Ping timeout: 248 seconds] 16:07:41 nalkri [~user@unaffiliated/elench] has joined #lisp 16:10:25 zacharias [~aw@unaffiliated/zacharias] has joined #lisp 16:11:41 k0001 [~k0001@host87.181-1-164.telecom.net.ar] has joined #lisp 16:12:18 patrickwonders [~patrickwo@67-220-27-111.usiwireless.com] has joined #lisp 16:14:55 zamboli [~zzzzzzzzz@71-89-15-148.dhcp.oxfr.ma.charter.com] has joined #lisp 16:16:18 is there anything like fractionp in lisp? 16:16:32 yacks [~py@103.6.159.103] has joined #lisp 16:16:39 (typep x 'ratio) 16:16:51 if you mean "is this a non-integer rational?" 16:17:10 or rationalp 16:17:24 oh, unless you really don't want integers :p 16:18:05 I had this 16:18:06 (defun fractionp (x) (and (rationalp x) (not (integerp x)))) 16:18:10 didnt think of 'ratio 16:18:31 strictly speaking, ratio might be wrong 16:18:41 ratiop seems to return what I want 16:18:42 ratio and integer are disjoint subtypes of rational, but aren't necessarily exhaustive 16:18:50 an implementation might provide other non-integer rationals 16:18:57 (but don't worry about it, they probably don't) 16:19:46 antgreen [~green@ip-64-134-228-132.public.wayport.net] has joined #lisp 16:21:02 -!- foreignFunction [~niksaak@ip-4761.sunline.net.ua] has quit [Quit: Leaving.] 16:21:10 foreignFunction [~niksaak@ip-4761.sunline.net.ua] has joined #lisp 16:21:46 -!- foreignFunction [~niksaak@ip-4761.sunline.net.ua] has quit [Client Quit] 16:22:02 foreignFunction [~niksaak@ip-4761.sunline.net.ua] has joined #lisp 16:22:41 -!- foreignFunction [~niksaak@ip-4761.sunline.net.ua] has quit [Client Quit] 16:22:59 foreignFunction [~niksaak@ip-4761.sunline.net.ua] has joined #lisp 16:24:15 -!- hwiersma [~hwiersma@205.250.11.18] has quit [Ping timeout: 240 seconds] 16:25:16 -!- irq0 [~irq0@amy.irq0.org] has quit [Ping timeout: 260 seconds] 16:25:24 s 16:25:36 -!- zamboli [~zzzzzzzzz@71-89-15-148.dhcp.oxfr.ma.charter.com] has left #lisp 16:28:07 -!- teggi [~teggi@113.173.4.29] has quit [Remote host closed the connection] 16:28:17 bitonic [~user@xdsl-188-155-179-93.adslplus.ch] has joined #lisp 16:28:48 ltbarcly [~textual@216.113.168.141] has joined #lisp 16:28:50 shifty` [~user@114-198-24-53.dyn.iinet.net.au] has joined #lisp 16:29:17 -!- Xach [xach@clozure-55AB4A22.maine.res.rr.com] has quit [Ping timeout] 16:30:25 -!- shifty [~user@114-198-26-180.dyn.iinet.net.au] has quit [Ping timeout: 245 seconds] 16:30:51 Xach_ [~xach@cpe-67-255-229-229.maine.res.rr.com] has joined #lisp 16:30:59 -!- Xach_ [~xach@cpe-67-255-229-229.maine.res.rr.com] has quit [Changing host] 16:30:59 Xach_ [~xach@pdpc/supporter/professional/xach] has joined #lisp 16:31:02 -!- sohail [~sohail@unaffiliated/sohail] has quit [Quit: This computer has gone to sleep] 16:31:04 -!- Xach [~xach@pdpc/supporter/professional/xach] has quit [Disconnected by services] 16:31:11 -!- Xach_ is now known as Xach 16:31:28 -!- ykm [~ykm@38.snat-111-91-51.hns.net.in] has quit [Ping timeout: 240 seconds] 16:32:26 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Quit: This computer has gone to sleep] 16:33:46 -!- nachtwandler [~nachtwand@p5089D05C.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 16:33:48 Framedragger [~k@unaffiliated/framedragger] has joined #lisp 16:33:53 -!- chu [~user@unaffiliated/chu] has quit [Ping timeout: 245 seconds] 16:34:10 -!- mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has quit [Quit: Leaving] 16:35:50 irq0 [~irq0@amy.irq0.org] has joined #lisp 16:35:53 hwiersma [~hwiersma@S0106602ad08e475a.ok.shawcable.net] has joined #lisp 16:36:04 nachtwandler [~nachtwand@p5089CB75.dip0.t-ipconnect.de] has joined #lisp 16:37:59 Yanez [~Thunderbi@159.178.28.52] has joined #lisp 16:40:22 -!- superjudge [~superjudg@c83-250-14-77.bredband.comhem.se] has quit [Quit: superjudge] 16:40:28 -!- Jubb [~Jubb@pool-71-178-197-128.washdc.fios.verizon.net] has quit [Ping timeout: 240 seconds] 16:43:27 kwmiebach_ [~kwmiebach@xdsl-78-35-238-101.netcologne.de] has joined #lisp 16:43:48 nipra [~nipra@122.177.187.183] has joined #lisp 16:46:36 -!- antgreen [~green@ip-64-134-228-132.public.wayport.net] has quit [Quit: Leaving] 16:47:15 -!- kwmiebach [~kwmiebach@xdsl-195-14-221-71.netcologne.de] has quit [Ping timeout: 260 seconds] 16:48:06 Jubb [~Jubb@pool-71-178-197-128.washdc.fios.verizon.net] has joined #lisp 16:48:41 -!- Ash__ is now known as Ash 16:50:25 -!- kiuma [~kiuma@88-149-138-107.v4.ngi.it] has quit [Read error: Operation timed out] 16:51:02 edgar-rft [~GOD@HSI-KBW-109-193-013-113.hsi7.kabel-badenwuerttemberg.de] has joined #lisp 16:52:56 -!- ogamita [~t@LNantes-156-76-35-103.w82-127.abo.wanadoo.fr] has quit [Ping timeout: 241 seconds] 16:54:46 -!- motionman [~motionman@unaffiliated/motionman] has quit [Quit: tschüß] 16:57:03 -!- Bike [~Glossina@gannon-wless-gw.resnet.wsu.edu] has quit [Ping timeout: 260 seconds] 16:58:07 -!- nachtwandler [~nachtwand@p5089CB75.dip0.t-ipconnect.de] has quit [Quit: leaving] 16:59:21 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 16:59:45 attila_lendvai [~attila_le@92.46.8.214] has joined #lisp 16:59:45 -!- attila_lendvai [~attila_le@92.46.8.214] has quit [Changing host] 16:59:45 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 17:02:59 Does anybody know good Lisp-related pictures/photos that can be freely used in a commercial magazine? Wikipedia has Lisp machine and photo of John McCarthy. Anything else? 17:03:12 drmeister [~drmeister@farnsworth.chem.temple.edu] has joined #lisp 17:04:13 sohail [~sohail@unaffiliated/sohail] has joined #lisp 17:05:04 (To be published with an article about Common Lisp with small history of Lisp.) 17:05:48 -!- mgile [~mgile@74-92-220-177-Colorado.hfc.comcastbusiness.net] has quit [Ping timeout: 252 seconds] 17:07:30 mgile [~mgile@74-92-220-177-Colorado.hfc.comcastbusiness.net] has joined #lisp 17:09:17 -!- ejohnson [~Thunderbi@c-67-181-201-173.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 17:10:12 ykm [~ykm@38.snat-111-91-51.hns.net.in] has joined #lisp 17:10:50 oh my. is there a way to (declaim (ftype (function (t &key (key1 default1) (key2 default2)) t))) in order to avoid warnings if function1 calls function2 and function2 calls function1 (securely, no endless loop)? (undefined function waring)? 17:10:55 Bike [~Glossina@69.166.47.109] has joined #lisp 17:11:22 there should be no warnings if they are in the same file 17:11:41 hm. they are. 17:12:15 then you are good to go 17:12:19 Are you compiling the entire file, or just asking emacs to blast the whole thing to the repl? 17:12:47 -!- drmeister [~drmeister@farnsworth.chem.temple.edu] has quit [Remote host closed the connection] 17:12:50 i do (load ) 17:12:59 -!- varjagg [~eugene@122.62-97-226.bkkb.no] has quit [Quit: Leaving] 17:13:12 (in the repl) 17:13:38 Okasu [~1@unaffiliated/okasu] has joined #lisp 17:13:40 marsam [nyan@2600:3c01::f03c:91ff:feae:4421] has joined #lisp 17:13:41 would declaim be a solution at all? 17:14:53 ejohnson [~Thunderbi@67.181.201.173] has joined #lisp 17:15:04 using sbcl 1.1.8 (under win) 17:15:23 a solution to what? 17:15:29 either do (load (compile-file "foo.lisp")) 17:15:52 or IIRC (with-compilation-unit () (load "foo.lisp")) 17:16:05 to warnings or you don't want any output at all? 17:17:01 (let* ((*standard-output* (make-broadcast-stream)) (*error-output* *standard-output*)) (load file)) will hide any output 17:19:15 i would like learn how to avoid the warning, by telling the compiler that there will be a function-declaration later so he does not to worry about a call before the definition. 17:19:34 LOAD is a bad way to invoke the compiler 17:20:08 compiling first should work, afaik 17:20:23 ok. if thats all, that would be fine. - testing - 17:20:23 -!- ltbarcly [~textual@216.113.168.141] has quit [Ping timeout: 260 seconds] 17:20:26 (Well, both should *work*: compiling first should eliminate the warning.) 17:21:33 -!- sohail [~sohail@unaffiliated/sohail] has quit [Quit: This computer has gone to sleep] 17:21:40 Quadrescence [~quad@unaffiliated/quadrescence] has joined #lisp 17:23:40 -!- maxter [~maxter@gaffeless.chaperon.volia.net] has quit [Quit: Konversation terminated!] 17:24:36 ltbarcly [~textual@216.113.168.135] has joined #lisp 17:24:41 -!- ltbarcly [~textual@216.113.168.135] has quit [Client Quit] 17:25:25 maxter [~maxter@gaffeless.chaperon.volia.net] has joined #lisp 17:25:47 ltbarcly [~textual@216.113.168.135] has joined #lisp 17:26:00 -!- ltbarcly [~textual@216.113.168.135] has quit [Client Quit] 17:26:16 -!- arenz [arenz@nat/ibm/x-dzsxjlzgwkbxhmxi] has quit [Ping timeout: 245 seconds] 17:26:31 -!- beach [~user@ABordeaux-651-1-229-172.w83-193.abo.wanadoo.fr] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:28:41 *trebor_dki* needs to reopen session on the other emacs ... 17:28:55 -!- trebor_dki [~user@153.96.244.202] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:29:11 ltbarcly [~textual@216.113.168.135] has joined #lisp 17:30:18 trebor_dki [~user@153.96.244.202] has joined #lisp 17:30:24 -!- ltbarcly [~textual@216.113.168.135] has quit [Client Quit] 17:30:27 -!- shridhar [Shridhar@nat/redhat/x-vaojrdmgaocviqnh] has quit [Quit: shridhar] 17:32:15 -!- skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has quit [Read error: Connection reset by peer] 17:32:22 skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has joined #lisp 17:32:38 -!- ezakimak [~nick@72.250.219.55] has quit [Ping timeout: 240 seconds] 17:33:04 ezakimak [~nick@72.250.219.55] has joined #lisp 17:35:46 -!- ejohnson [~Thunderbi@67.181.201.173] has quit [Quit: ejohnson] 17:37:28 -!- neoncortex [~neoncorte@unaffiliated/xispirito] has quit [Ping timeout: 240 seconds] 17:38:07 trebor_dki, in some situations it may be good idea to put code inside (handler-bind ((warning (lambda (c) (declare (ignore c)) (muffle-warning)))) ...). That is, invoke muffle-warning restart automatically. 17:38:46 muffling warnings doesn't always work well during compilation 17:39:38 the best way is to silence all the output 17:41:39 sorry i was lost for some moments. the warnings are gone, worse i get a not about deleting unreachable code if i compile in sbcl1.1.8 (windows, testing under wine) but i do not get the note in sbcl1.0.55 (linux). looking for pastebin ... 17:41:52 -!- normanrichards [~normanric@rrcs-108-178-120-144.sw.biz.rr.com] has quit [] 17:42:03 -!- ykm [~ykm@38.snat-111-91-51.hns.net.in] has quit [Quit: Leaving.] 17:42:33 ,paste 17:44:14 -!- dtw [~dtw@pdpc/supporter/active/dtw] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:44:50 http://paste.lisp.org/display/139235 17:45:00 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Quit: This computer has gone to sleep] 17:47:08 sirdancealo2 [~sirdancea@194.228.11.84] has joined #lisp 17:47:21 your indentation is crooked 17:47:35 what if i told you that you can use #\Newline 17:47:49 ups. sorry, i re-paste it. 17:48:09 or you probably want #\Return 17:48:58 dtw: (handler-bind ((warning #'muffle-warning)) ...) is a better way of writing that, I think 17:50:21 -!- irq0 [~irq0@amy.irq0.org] has quit [Ping timeout: 252 seconds] 17:51:29 trebor_dki: header-p is always NIL on the first iteration 17:51:51 bjorkintosh [~bjork@ip68-13-229-200.ok.ok.cox.net] has joined #lisp 17:52:35 sohail [~sohail@unaffiliated/sohail] has joined #lisp 17:53:29 stassats`: i thought that start is t in the first iteration, so (or start ...) is t and so it would depend on the notevery part. 17:56:35 why not just for header-p = (header-p columns convert-list) then (and header-p (header-p columns convert-list))? 17:56:47 tertl3-laptop [~tertl3-la@75.139.64.89] has joined #lisp 17:56:56 even better, split the part where you work on the header and not on the header into different loops, different functions 17:57:11 the header can be only at the beginning 17:57:23 Aramur [~arare@9.Red-83-42-45.dynamicIP.rima-tde.net] has joined #lisp 17:57:53 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 17:59:36 -!- clog [~nef@bespin.org] has quit [Ping timeout: 245 seconds] 18:00:37 ok. doing so (solves the problem faster than understanding why there is unreachable code (still not thinking there is any at this point)) - thank you - 18:02:35 because header-p is always NIL at the first iteration 18:04:48 or actually, it's because START is always t 18:06:40 hm i thought that start is t in the first iteration and nil afterwards and header-p would be nil just until 'for header-p = ...' and that for header-p = (and (or t header-p) (notevery ...)) therefore would set header-p depending on the notevery-part (otherwise the function never should have worked) 18:06:58 and always NIL in the second iteration 18:07:08 ltbarcly [~textual@216.113.168.141] has joined #lisp 18:07:25 i don't think you know which part is being deleted 18:07:53 it's the (if start start (the t header-p)), the else leg is never executed 18:07:59 -!- axion [~axion@34.sub-70-197-193.myvzw.com] has quit [Ping timeout: 260 seconds] 18:09:16 but splitting the function will make your code both cleaner and faster 18:10:16 axion [~axion@34.sub-70-197-193.myvzw.com] has joined #lisp 18:10:54 -!- skalawag [user@2600:3c00::f03c:91ff:fedf:3ad2] has left #lisp 18:11:00 not much faster, since I/O will most likely dominate 18:11:47 ah. the note about unreachable code is gone ... thank you. i have to admit that this is my beginners-beginners-code (obviously being a long time novice). 18:14:27 and why it doesn't happen in 1.0.55, there was a wicked routine which determined whether to split first iteration code into two copies or not 18:15:08 if it didn't split, it put into a local function which had a parameter (if first-iteration ... ...), and the way it determined when to split was strange too 18:15:44 so, i removed this functionality, and now there's two pieces of code, in one where START is always T, and in another it's always NIL, hence the deletion notice 18:18:26 ManateeLazyCat [~user@61.183.179.53] has joined #lisp 18:19:44 ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has joined #lisp 18:20:11 thanks for the (little more) insight (do i understand right, that only 'internal-code' would have been deleted?) 18:21:02 clog [~nef@bespin.org] has joined #lisp 18:21:36 klltkr [~klltkr@unaffiliated/klltkr] has joined #lisp 18:21:50 -!- sbryant [freenode@2600:3c02::f03c:91ff:fe93:e02d] has quit [Ping timeout: 240 seconds] 18:22:12 sbryant [freenode@2600:3c02::f03c:91ff:fe93:e02d] has joined #lisp 18:23:39 -!- stassats` [~stassats@wikipedia/stassats] has quit [Ping timeout: 240 seconds] 18:25:05 ehu` [~ehu@ip167-22-212-87.adsl2.static.versatel.nl] has joined #lisp 18:26:42 irq0 [~irq0@amy.irq0.org] has joined #lisp 18:27:13 -!- ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 245 seconds] 18:28:14 -!- diadara [~diadara@115.249.18.25] has quit [Read error: Connection reset by peer] 18:32:42 -!- ehu` [~ehu@ip167-22-212-87.adsl2.static.versatel.nl] has quit [] 18:33:42 -!- Karl_dscc [~localhost@p5DD9DD08.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 18:34:23 -!- macdice` is now known as macdice 18:35:20 Shinmera [~linus@xdsl-188-155-176-171.adslplus.ch] has joined #lisp 18:35:58 -!- FrostyX [~frostyx@tux.inf.upol.cz] has left #lisp 18:35:58 ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has joined #lisp 18:35:59 -!- axion [~axion@34.sub-70-197-193.myvzw.com] has quit [Ping timeout: 260 seconds] 18:38:03 svs_ [~svs@66.162.154.131] has joined #lisp 18:38:20 CADD [~CADD@12.227.104.109] has joined #lisp 18:38:28 -!- lq [~lq@115.238.153.246] has quit [Ping timeout: 245 seconds] 18:39:24 -!- clog [~nef@bespin.org] has quit [Ping timeout: 256 seconds] 18:41:49 -!- naeg_ [~naeg@170-18-182-46.NbIServ.com] has quit [Quit: WeeChat 0.3.2] 18:42:11 Joreji [~thomas@vpn-ho1.unidsl.de] has joined #lisp 18:42:13 -!- svs_ [~svs@66.162.154.131] has quit [Ping timeout: 245 seconds] 18:45:12 eigenlicht [~eigenlich@170-18-182-46.NbIServ.com] has joined #lisp 18:45:39 harovali [~harovali@r186-52-97-195.dialup.adsl.anteldata.net.uy] has joined #lisp 18:46:34 synacktic [~jordyd@unaffiliated/jordyd] has joined #lisp 18:47:55 -!- eigenlicht is now known as eigenlicht_ 18:48:30 -!- eigenlicht_ is now known as eigenlicht- 18:48:44 -!- eigenlicht- is now known as eigenlicht 18:48:56 -!- eigenlicht [~eigenlich@170-18-182-46.NbIServ.com] has quit [Client Quit] 18:49:04 eigenlicht [~eigenlich@170-18-182-46.NbIServ.com] has joined #lisp 18:51:04 -!- eigenlicht [~eigenlich@170-18-182-46.NbIServ.com] has quit [Changing host] 18:51:04 eigenlicht [~eigenlich@unaffiliated/eigenlicht] has joined #lisp 18:51:57 -!- matko [~matko@ip82-139-127-72.lijbrandt.net] has quit [Ping timeout: 252 seconds] 18:53:40 MoALTz [~no@host86-142-120-148.range86-142.btcentralplus.com] has joined #lisp 18:54:25 drmeister [~drmeister@farnsworth.chem.temple.edu] has joined #lisp 18:54:45 -!- drmeister [~drmeister@farnsworth.chem.temple.edu] has quit [Remote host closed the connection] 18:59:14 -!- ck`` [~ck@dslb-094-219-237-029.pools.arcor-ip.net] has quit [Ping timeout: 256 seconds] 18:59:49 normanrichards [~normanric@rrcs-108-178-120-144.sw.biz.rr.com] has joined #lisp 18:59:49 -!- optikalmouse_ [~optikalmo@207-245-237-147.dedicated.allstream.net] has quit [Quit: Leaving] 19:00:07 optikalmouse [~optikalmo@207-245-237-147.dedicated.allstream.net] has joined #lisp 19:01:25 DalekBaldwin [~Adium@74.212.183.186] has joined #lisp 19:01:56 -!- patrickwonders [~patrickwo@67-220-27-111.usiwireless.com] has quit [Quit: patrickwonders] 19:02:06 -!- Bike [~Glossina@69.166.47.109] has quit [Ping timeout: 245 seconds] 19:03:24 this is probably my third time asking this because I keep forgetting - if I have multiple inferior lisps running, how do I change which one slime is talking to? is it global or can I set it on a per-buffer basis? 19:03:46 -!- klltkr [~klltkr@unaffiliated/klltkr] has quit [Ping timeout: 245 seconds] 19:04:31 C-c s c or C-c s n or similar .. C-c s ? is your friend 19:06:15 -!- yacks [~py@103.6.159.103] has quit [Quit: Leaving] 19:08:00 -!- munge [~user@cpe-075-178-033-080.nc.res.rr.com] has quit [Read error: Connection reset by peer] 19:10:30 -!- ggole [~ggole@220-253-182-166.dyn.iinet.net.au] has quit [] 19:12:26 Karl_dscc [~localhost@p5DD9DD08.dip0.t-ipconnect.de] has joined #lisp 19:15:01 patrickwonders [~patrickwo@user-38q42ns.cable.mindspring.com] has joined #lisp 19:17:36 clog [~nef@bespin.org] has joined #lisp 19:18:11 svs_ [~svs@67-0-97-160.albq.qwest.net] has joined #lisp 19:18:30 -!- irq0 [~irq0@amy.irq0.org] has quit [Ping timeout: 256 seconds] 19:19:26 irq0 [~irq0@amy.irq0.org] has joined #lisp 19:21:27 drmeister [~drmeister@farnsworth.chem.temple.edu] has joined #lisp 19:22:02 -!- ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has quit [] 19:22:17 -!- sohail [~sohail@unaffiliated/sohail] has quit [Quit: This computer has gone to sleep] 19:29:00 -!- patrickwonders [~patrickwo@user-38q42ns.cable.mindspring.com] has quit [Quit: patrickwonders] 19:30:01 -!- quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 246 seconds] 19:30:33 -!- gendl [~gendl@c-98-250-10-50.hsd1.mi.comcast.net] has quit [Ping timeout: 245 seconds] 19:30:59 ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has joined #lisp 19:31:22 gendl [~gendl@c-98-250-10-50.hsd1.mi.comcast.net] has joined #lisp 19:32:08 patrickwonders [~patrickwo@user-38q42ns.cable.mindspring.com] has joined #lisp 19:32:30 -!- drmeister [~drmeister@farnsworth.chem.temple.edu] has quit [Remote host closed the connection] 19:33:28 -!- oleo [~oleo@xdsl-84-44-176-106.netcologne.de] has quit [Ping timeout: 240 seconds] 19:34:09 oleo [~oleo@xdsl-78-35-164-118.netcologne.de] has joined #lisp 19:37:26 -!- ManateeLazyCat [~user@61.183.179.53] has quit [Ping timeout: 240 seconds] 19:41:13 -!- joneshf-laptop [~joneshf@086.112-30-64.ftth.swbr.surewest.net] has quit [Read error: Connection reset by peer] 19:44:19 axion [~axion@34.sub-70-197-193.myvzw.com] has joined #lisp 19:46:03 nug700 [~nug700@174-26-129-222.phnx.qwest.net] has joined #lisp 19:46:54 -!- normanrichards [~normanric@rrcs-108-178-120-144.sw.biz.rr.com] has quit [Ping timeout: 264 seconds] 19:47:27 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Remote host closed the connection] 19:48:52 hiroakip [~hiroaki@77-23-26-6-dynip.superkabel.de] has joined #lisp 19:49:50 stassats [~stassats@wikipedia/stassats] has joined #lisp 19:50:32 is there any measure / estimation of CL's implementation usage? 19:50:41 fightback [~david@vpn-global-069-dhcp.ethz.ch] has joined #lisp 19:58:57 confused about sbcl 1.1.8 compiler notes about unreachable code (minimal-code example): http://paste.lisp.org/+2ZFO - as the code works as wanted - how should the notes be read to understand what really seems to be 'unreachable'? 19:59:35 it's for not-start = nil then t, as i've told you 20:01:42 yes (not wanting to make you angry), is it that a note about unreachable code can be ignored in general, like notes about no-optimization-possible? 20:02:07 it can be ignored 20:02:13 or it can be telling something is not right 20:02:40 -!- seangrov` [~user@c-69-181-197-122.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 20:02:55 seangrov` [~user@c-69-181-197-122.hsd1.ca.comcast.net] has joined #lisp 20:03:03 -!- xk05 [~xk05@30.176-62-69.ftth.swbr.surewest.net] has quit [Ping timeout: 245 seconds] 20:04:18 harovali: there are some minimum numbers. quicklisp downloads, number of employees at various lisp companies, stuff like that. But nothing precise. 20:05:18 i was wondering, because the note only occured for test002, so i thought it could be illegel to test not-start before setting it. - just trying to understand what the compiler tells me - 20:06:19 the compiler certainly doesn't compile what you actually see, try macroexpanding LOOP 20:09:07 fightbac_ [~david@163-116.199-178.cust.bluewin.ch] has joined #lisp 20:09:13 -!- fightback [~david@vpn-global-069-dhcp.ethz.ch] has quit [Ping timeout: 246 seconds] 20:13:46 -!- fightbac_ [~david@163-116.199-178.cust.bluewin.ch] has quit [Ping timeout: 246 seconds] 20:14:01 -!- gravicappa [~gravicapp@ppp91-77-190-158.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 20:15:06 -!- danlentz [~danlentz@c-68-37-70-235.hsd1.nj.comcast.net] has quit [Remote host closed the connection] 20:15:55 -!- Framedragger [~k@unaffiliated/framedragger] has quit [Ping timeout: 248 seconds] 20:17:00 Framedragger [~k@unaffiliated/framedragger] has joined #lisp 20:17:12 pjb: thanks 20:17:36 -!- paddymahoney [~paddymaho@24.137.221.230] has quit [Remote host closed the connection] 20:18:33 matko [~matko@ip82-139-127-72.lijbrandt.net] has joined #lisp 20:20:12 Hydan [~hydan@ip-89-103-110-5.net.upcbroadband.cz] has joined #lisp 20:20:37 Bike [~Glossina@wl-nat99.it.wsu.edu] has joined #lisp 20:21:38 sdemarre [~serge@91.176.198.222] has joined #lisp 20:22:03 -!- cg505 [~user@50.121.10.233] has left #lisp 20:23:22 rvchangue [~rvchangue@unaffiliated/rvchangue] has joined #lisp 20:27:07 -!- axion [~axion@34.sub-70-197-193.myvzw.com] has quit [Ping timeout: 248 seconds] 20:28:36 -!- maxter [~maxter@gaffeless.chaperon.volia.net] has quit [Remote host closed the connection] 20:29:03 maxter [~maxter@gaffeless.chaperon.volia.net] has joined #lisp 20:29:22 sohail [~sohail@unaffiliated/sohail] has joined #lisp 20:29:48 -!- k0001 [~k0001@host87.181-1-164.telecom.net.ar] has quit [Ping timeout: 240 seconds] 20:31:51 k0001 [~k0001@host168.190-138-106.telecom.net.ar] has joined #lisp 20:33:26 Guest79726 [~l@84.233.246.170] has joined #lisp 20:33:31 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 20:34:35 Posterdati [~kvirc@host103-221-dynamic.21-87-r.retail.telecomitalia.it] has joined #lisp 20:35:03 -!- MoALTz [~no@host86-142-120-148.range86-142.btcentralplus.com] has quit [Ping timeout: 240 seconds] 20:35:14 -!- Guest79726 [~l@84.233.246.170] has left #lisp 20:36:38 DoctorDude [~Jake@unaffiliated/doctordude] has joined #lisp 20:39:45 what does 1.0d0 denote ? 20:39:46 danlentz [~danlentz@68.37.70.235] has joined #lisp 20:39:50 and what 1.0f0 ? 20:40:04 what about the last 0 there ? 20:40:08 what's that ? 20:40:31 it means it's double precision 20:40:50 no i know the difference between f and d 20:40:53 i just ask the last 0 20:41:02 what does it signify ? 20:41:11 as in f0 20:41:13 d0 20:41:14 an exponent of 10^1 20:41:19 oh 20:41:20 10^0 i mean 20:41:26 ah ok 20:41:34 1.0d0 == 1d0 20:41:43 and what is 1.0 then ? 20:41:52 clhs *r-d-f-f* 20:41:52 *read-default-float-format*: http://www.lispworks.com/reference/HyperSpec/Body/v_rd_def.htm 20:41:54 it's decimal notationn. 20:41:58 is it the implementations default or the default of my config reading it as double or single ? 20:42:08 see link. 20:42:12 ok 20:42:27 -!- scampbell [~scampbell@mail.scampbell.net] has quit [Remote host closed the connection] 20:42:39 aaah 20:42:41 ok 20:42:45 -!- nisstyre [~yours@oftn/member/Nisstyre] has quit [Ping timeout: 248 seconds] 20:42:54 say ok one more time 20:43:04 drmeister [~drmeister@farnsworth.chem.temple.edu] has joined #lisp 20:44:05 got it 20:44:20 malkomalko [~malkomalk@66-234-38-99.nyc.cable.nyct.net] has joined #lisp 20:46:17 yacks [~py@103.6.159.103] has joined #lisp 20:48:31 -!- drmeister [~drmeister@farnsworth.chem.temple.edu] has quit [Ping timeout: 260 seconds] 20:49:41 -!- Posterdati [~kvirc@host103-221-dynamic.21-87-r.retail.telecomitalia.it] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/] 20:54:27 Posterdati [~kvirc@host103-221-dynamic.21-87-r.retail.telecomitalia.it] has joined #lisp 20:56:09 -!- DrCode [~DrCode@gateway/tor-sasl/drcode] has quit [Ping timeout: 240 seconds] 20:56:23 nisstyre [~yours@oftn/member/Nisstyre] has joined #lisp 20:56:39 octet8 [~klogd_@111.172.177.248] has joined #lisp 20:57:31 -!- sdemarre [~serge@91.176.198.222] has quit [Ping timeout: 246 seconds] 20:57:49 -!- Kabaka [~Kabaka@botters/kabaka] has quit [Ping timeout: 240 seconds] 20:58:27 desophos [~desophos@n138h11.dhcp.oxy.edu] has joined #lisp 20:59:15 pedr0- [~user@ip2-80.brfjupiter.se] has joined #lisp 21:03:24 ebobby [~fms@38.99.41.36] has joined #lisp 21:04:07 AeK5 [~other@94.25.228.46] has joined #lisp 21:04:18 DrCode [~DrCode@gateway/tor-sasl/drcode] has joined #lisp 21:04:51 -!- Xach [xach@clozure-FF3E0EE5.maine.res.rr.com] has quit [Ping timeout] 21:05:31 stassats: you were right about passing structures by value, i have eliminated all pass by value cases and got rid of libffi-cffi and now strings are working 21:05:36 that you so much! 21:05:48 -!- Xach [~xach@pdpc/supporter/professional/xach] has quit [Ping timeout: 240 seconds] 21:06:02 -!- ahungry_ [~null@66.184.106.97] has quit [Quit: leaving] 21:06:08 thank* 21:06:28 -!- maxter [~maxter@gaffeless.chaperon.volia.net] has quit [Quit: Konversation terminated!] 21:06:49 -!- ksh [~user@gateway/tor-sasl/skulls] has quit [Ping timeout: 240 seconds] 21:07:25 -!- AeK5 [~other@94.25.228.46] has quit [Client Quit] 21:07:59 Xach [~xach@pdpc/supporter/professional/xach] has joined #lisp 21:09:04 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 240 seconds] 21:09:32 -!- deadghost_ [~deadghost@pool-72-67-200-248.lsanca.fios.verizon.net] has quit [Remote host closed the connection] 21:10:14 drmeister [~drmeister@farnsworth.chem.temple.edu] has joined #lisp 21:10:46 -!- arnsa [arnas@78-63-18-208.static.zebra.lt] has quit [] 21:11:14 danielszmulewicz [~danielszm@109.226.59.4] has joined #lisp 21:11:56 *trebor_dki* trying to compile 1.1.12 under wine ;) 21:12:55 bgs100 [~nitrogen@unaffiliated/bgs100] has joined #lisp 21:13:14 Kabaka [~Kabaka@botters/kabaka] has joined #lisp 21:14:47 neoncortex [~neoncorte@unaffiliated/xispirito] has joined #lisp 21:16:25 -!- drmeister [~drmeister@farnsworth.chem.temple.edu] has quit [Remote host closed the connection] 21:17:47 -!- mishoo [~mishoo@93.113.190.121] has quit [Ping timeout: 248 seconds] 21:18:20 -!- alezost [~user@128-70-203-73.broadband.corbina.ru] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:18:31 nug700_ [~nug700@174-26-159-108.phnx.qwest.net] has joined #lisp 21:18:59 noncopy [~user@178.233.218.108] has joined #lisp 21:19:19 -!- noncopy [~user@178.233.218.108] has quit [Client Quit] 21:19:21 -!- Joreji [~thomas@vpn-ho1.unidsl.de] has quit [Ping timeout: 252 seconds] 21:19:34 -!- nug700 [~nug700@174-26-129-222.phnx.qwest.net] has quit [Ping timeout: 246 seconds] 21:19:43 wasn't there a method of building sbcl using lisp-tools only? (maybe mixing with other lisp-implementation) 21:21:23 noncopy [~user@178.233.218.108] has joined #lisp 21:21:44 fourier [~fourier@fsf/member/fourier] has joined #lisp 21:22:18 is #'identity compiled as a NOOP? 21:23:11 maybe 21:23:20 usually when you use identity you're passing it to something, though. 21:23:26 on sbcl, perhaps 21:23:39 -!- Yanez [~Thunderbi@159.178.28.52] has quit [Quit: Yanez] 21:23:52 Any way in slime to M-. to a reader macro definition? 21:24:43 you can use get-macro-character to get a function name, sometimes 21:25:06 -!- DoctorDude [~Jake@unaffiliated/doctordude] has left #lisp 21:26:27 -!- kwmiebach_ [~kwmiebach@xdsl-78-35-238-101.netcologne.de] has quit [Quit: Leaving] 21:26:28 fe[nl]ix: yeah I'm using SBCL here, and my current API means that I'm returning a function, but I'm dropping support for corner cases and want identity now 21:26:45 kwmiebach [~kwmiebach@xdsl-78-35-238-101.netcologne.de] has joined #lisp 21:27:04 Adlai [~adlai@unaffiliated/adlai] has joined #lisp 21:27:36 disassemblies for (lambda (x) x) and (lambda (x) (identity x)) look identical here, at least 21:28:10 What about (lambda (x) x) and (function identity)? 21:28:34 it's not identity in the multiple-value case 21:28:52 pjb: those look identical too, actually! 21:29:06 anyway i don't need to speculate, it looks like there's a source transform from (identity foo) to (prog1 foo) 21:29:08 sorry, not a nop. it is of course by definition identity :-) 21:29:20 identity has never been about multiple-values: it's a normal function. 21:30:24 hello everyone, i have a design question. i am moving my codebase to CL and on the way cleaning lots of stuff. for this particular module i want to create an interface and have a few backends. one way is to create a context and pass this to generic functions, but this is the thing i want to get rid of, using a special variable and not passing it to every function. am i making any sense to anyone? 21:30:47 Bike: Thanks  been away from CL too long, apparently. 21:30:49 -!- sohail [~sohail@unaffiliated/sohail] has quit [Quit: This computer has gone to sleep] 21:31:13 pjb: would you advice refactoring so that I don't need to use identity? 21:31:23 sellout-: (remember that it's get-dispatch-macro-character if you're looking for a # macro or whatever) 21:31:41 -!- schoppenhauer [~quassel@unaffiliated/schoppenhauer] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 21:33:05 Bike: Yep, I was, but after your first hint, my memory was jogged :) 21:33:13 cool, cool 21:33:39 bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has joined #lisp 21:34:43 I'm trying some declaring now (type, optimize, inline) but it seems that the runtime is not affected. I'm actually generating code (lambda expression) that I compile at run time then use for each row I read, so maybe I should be aware of something here? 21:35:11 try profiling first 21:35:32 random type declarations are unlikely to help 21:37:38 -!- ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has quit [Remote host closed the connection] 21:37:47 vibs [~zorro@212.183.128.36] has joined #lisp 21:37:57 ehaliewi` [~user@50-0-51-11.dsl.static.sonic.net] has joined #lisp 21:38:12 it's not random, it's what I think are the Hot Spots (the function that transforms data for each and every row) and which is using fixnums 21:39:54 type declarations usually help most with numeric operations 21:40:12 if you have string operations it's better to try to cons less 21:40:26 maybe pre-allocate buffers, etc... 21:40:31 sohail [~sohail@75-119-250-178.dsl.teksavvy.com] has joined #lisp 21:40:31 -!- sohail [~sohail@75-119-250-178.dsl.teksavvy.com] has quit [Changing host] 21:40:31 sohail [~sohail@unaffiliated/sohail] has joined #lisp 21:40:53 8,242,794,912 bytes consed 21:41:02 that might be the real thing for me to address next that said 21:41:05 dim: that would only help you gain one function call. 21:41:18 pjb: per row, I guess? 21:41:35 Yes, of course, if you're calling it an exponential number of time it may be bad. 21:41:39 current example loading 2228847 rows 21:41:48 function called once per row 21:41:53 well at least 21:42:01 could be once per-col, but not in that case 21:44:49 -!- prxq [~mommer@x2f68fc8.dyn.telefonica.de] has quit [Remote host closed the connection] 21:46:15 stassats [~stassats@wikipedia/stassats] has joined #lisp 21:47:46 -!- quasisane [~sanep@c-24-218-184-186.hsd1.nh.comcast.net] has quit [Read error: Operation timed out] 21:48:24 quasisane [~sanep@c-24-218-184-186.hsd1.nh.comcast.net] has joined #lisp 21:49:24 -!- vibs [~zorro@212.183.128.36] has quit [Quit: Leaving] 21:49:38 -!- synacktic [~jordyd@unaffiliated/jordyd] has quit [Quit: Leaving] 21:53:59 -!- fortitude [~mts@rrcs-24-97-165-124.nys.biz.rr.com] has quit [Quit: leaving] 21:58:11 -!- ehaliewi` [~user@50-0-51-11.dsl.static.sonic.net] has quit [Remote host closed the connection] 21:58:39 ehaliewi` [~user@50-0-51-11.dsl.static.sonic.net] has joined #lisp 22:01:25 -!- ehaliewi` [~user@50-0-51-11.dsl.static.sonic.net] has quit [Remote host closed the connection] 22:02:03 ehaliewi` [~user@50-0-51-11.dsl.static.sonic.net] has joined #lisp 22:02:14 > GC invariant lost, file "gc-common.c", line 191 22:02:18 D: 22:02:38 -!- LiamH [~healy@pdp8.nrl.navy.mil] has quit [Quit: Leaving.] 22:02:48 -!- Bike [~Glossina@wl-nat99.it.wsu.edu] has quit [Ping timeout: 252 seconds] 22:02:53 SBCL ^ 22:03:01 the_well [~user@c-71-226-45-121.hsd1.az.comcast.net] has joined #lisp 22:03:22 I guess i just did something horrendous. 22:04:17 -!- svs_ [~svs@67-0-97-160.albq.qwest.net] has quit [Quit: svs_] 22:04:58 it happens 22:05:12 -!- Adlai [~adlai@unaffiliated/adlai] has left #lisp 22:07:53 -!- Karl_dscc [~localhost@p5DD9DD08.dip0.t-ipconnect.de] has quit [Quit: Leaving] 22:08:43 in clos, is it possible to dispatch over a special variable? 22:09:44 i don't know what that means, but in ordinary CLOS you can dispatch only on classes and on EQL 22:09:59 -!- Neptu [~Neptu@252.67.24.31.static.mrfriday.com] has quit [Read error: Operation timed out] 22:10:19 Neptu [~Neptu@252.67.24.31.static.mrfriday.com] has joined #lisp 22:10:22 -!- the_well [~user@c-71-226-45-121.hsd1.az.comcast.net] has quit [Remote host closed the connection] 22:10:49 -!- cmbntr [~cmbntr@slice.loopback.ch] has quit [Read error: Operation timed out] 22:11:08 -!- ered [~ered@75-101-56-39.dsl.static.sonic.net] has quit [Read error: Operation timed out] 22:11:08 cmbntr [~cmbntr@slice.loopback.ch] has joined #lisp 22:11:09 -!- scharan [~scharan@caps04.cs.ucr.edu] has quit [Read error: Operation timed out] 22:11:22 the_well [~user@c-71-226-45-121.hsd1.az.comcast.net] has joined #lisp 22:11:24 ered [~ered@75-101-56-39.dsl.static.sonic.net] has joined #lisp 22:11:29 xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has joined #lisp 22:11:43 scharan [~scharan@caps04.cs.ucr.edu] has joined #lisp 22:12:38 stassats: it would be something like (defmethod fn (((cx *ctx*) type)) ... ), i am trying to use special vars with generic functions, probably not making any sense 22:13:19 that's right, it doesn't 22:13:37 dispatch can be performed only on the required parameters 22:14:05 if you want to do it on others, make a wrapper function which call a generic one with the required arguments 22:14:18 so i can't dispatch on an optional parameter 22:14:24 hmm that is one way 22:15:55 quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has joined #lisp 22:16:17 Bike [~Glossina@gannon-wless-gw.resnet.wsu.edu] has joined #lisp 22:16:31 -!- pedr0- [~user@ip2-80.brfjupiter.se] has quit [Remote host closed the connection] 22:16:45 -!- ehaliewi` [~user@50-0-51-11.dsl.static.sonic.net] has quit [Remote host closed the connection] 22:17:14 ehaliewi` [~user@50-0-51-11.dsl.static.sonic.net] has joined #lisp 22:18:14 -!- Okasu [~1@unaffiliated/okasu] has quit [Quit: leaving] 22:18:38 -!- malkomalko [~malkomalk@66-234-38-99.nyc.cable.nyct.net] has quit [Remote host closed the connection] 22:18:42 -!- bitonic [~user@xdsl-188-155-179-93.adslplus.ch] has quit [Ping timeout: 264 seconds] 22:19:19 stassats: oh that really helps, with a simple macro to generate that wrapper and gf. thanks 22:19:41 -!- xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has quit [Quit: Leaving] 22:19:53 xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has joined #lisp 22:20:10 -!- xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has quit [Client Quit] 22:20:13 -!- Shinmera [~linus@xdsl-188-155-176-171.adslplus.ch] has quit [Quit: ZzzZ] 22:20:32 xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has joined #lisp 22:20:38 -!- seggioo is now known as segmond 22:22:21 -!- xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has quit [Client Quit] 22:22:46 xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has joined #lisp 22:26:03 -!- hwiersma [~hwiersma@S0106602ad08e475a.ok.shawcable.net] has quit [Ping timeout: 248 seconds] 22:28:14 nialo [~nialo@ool-44c53f01.dyn.optonline.net] has joined #lisp 22:28:37 dsevilla [~user@175.Red-83-54-234.dynamicIP.rima-tde.net] has joined #lisp 22:29:43 noncopy: you can name any parameter with a special variable. 22:29:44 there should be a pub to accept bitcoins in order to thank stassats ;) 22:29:53 (defmethod fn ((*ctx* class)) ... ) 22:31:11 -!- mgile [~mgile@74-92-220-177-Colorado.hfc.comcastbusiness.net] has quit [Quit: Parting is such sweet sorrow...] 22:31:47 that's not what noncopy wanted, is that? 22:34:18 -!- quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 264 seconds] 22:34:32 pjp would that dispatch over *ctx* special variable without passing it to "fn"? 22:34:48 pjb: ^ 22:34:57 it wouldn't 22:35:26 -!- CADD [~CADD@12.227.104.109] has quit [Ping timeout: 245 seconds] 22:36:54 pjb: for example (defmacro def-fn (name (&rest args)) 22:36:54 (let ((gf (alexandria:symbolicate "UI-" name))) 22:36:54 `(progn 22:36:54 (defgeneric ,gf (context ,@args)) 22:36:57 (defun ,name (,@args) 22:37:00 (,gf *ctx* ,@args))))) does what i want 22:37:06 don't paste here 22:37:14 oh sorry 22:37:24 -!- jtza8 [~jtza8@105-237-28-8.access.mtnbusiness.co.za] has quit [Remote host closed the connection] 22:38:27 (,gf *ctx* ,@args) wouldn't work very well with &optional and &key 22:39:45 noncopy: you can do: (defgeneric gf (object)) (defun f () (gf *ctx)) 22:39:52 *ctx* 22:40:06 that's what noncopy is doing 22:40:50 yes. He's doing that and he can do it. 22:41:23 -!- harish_ [~harish@119.56.124.126] has quit [Ping timeout: 245 seconds] 22:41:29 -!- fe[nl]ix [~quassel@pdpc/supporter/professional/fenlix] has quit [Remote host closed the connection] 22:41:29 -!- Blkt [~Blkt@2a01:4f8:150:80a1::aaaa] has quit [Remote host closed the connection] 22:41:39 Blkt [~Blkt@2a01:4f8:150:80a1::aaaa] has joined #lisp 22:41:41 fe[nl]ix [~quassel@pdpc/supporter/professional/fenlix] has joined #lisp 22:42:46 if only someone could read the backlogs too 22:43:44 stassats: is there a way to make it work well with &optional and &key? 22:44:18 noncopy: (defun ,name (&rest args) (apply #',gf *ctx* args)) would work 22:44:24 albeit without a nice arglist 22:45:48 stassats: thanks 22:45:51 -!- desophos [~desophos@n138h11.dhcp.oxy.edu] has quit [Ping timeout: 245 seconds] 22:46:10 if you want to complicate things, take a look at (alexandria:parse-ordinary-lambda-list '(a b c &optional opt &key key)) 22:46:48 implant a &rest into the lambda-list, then do (apply #',gf *ctx* ,@required-args rest) 22:47:24 -!- trebor_dki [~user@153.96.244.202] has quit [Quit: gn8] 22:47:48 but parse-ordinary-lambda-list doesn't work with specialized lambda lists 22:47:51 tough luck 22:48:08 mop has specialized lambda list parsing if you wanna go whole hog 22:48:27 normanrichards [~normanric@70.114.215.220] has joined #lisp 22:49:01 extract-lambda-list? 22:49:36 Just use com.informatimago.common-lisp.lisp-sexp.source-form:parse-lambda-list 22:49:45 It can handle all the lambda lists specified by the standard. 22:49:55 GPL software is like that: always superior. 22:49:56 nay, extract-lambda-list will get rid of the specializations 22:50:26 is GPL software also full of hogwash or not? 22:50:41 bitonic [~user@xdsl-188-155-179-93.adslplus.ch] has joined #lisp 22:51:43 stassats: there's extract-lambda-list to get rid of the specializations, and then another one that gives you the specializations. 22:51:44 -!- chenjf [~chenjf@58.253.216.130] has quit [Quit: Leaving.] 22:51:57 extract-specializer-names, you'll have to merge 22:52:13 specialized lambda list here defmethod lambda list right? 22:52:22 yes. 22:52:25 -!- Ketsuban [~quassel@2.222.160.169] has left #lisp 22:52:30 pjb: It can be hard to tell when you are saying stupid things as a joke. I wish there was a suitable emoticon so you could clarify. 22:52:46 Bike: or (subseq original-ll 0 (length (alexandria:parse-ordinary-lambda-list (extract-specializer-names ...)))) 22:52:47 I guess your nick prefixing the statement in most clients will have to suffice. 22:52:50 I'm plain serrious. 22:53:03 noncopy: right 22:53:23 Another masterpiece of deadpan irony. 22:53:37 Bike: that'll allow CCL to complain about ignored variables 22:54:02 thank goodness 22:54:15 -!- jangle [~jimmy1984@50.241.129.73] has quit [Quit: jangle] 22:54:17 otherwise ((a b) c d) merged with (B T T) will be ((a b) (c t) (d t)) 22:54:35 and that will stop ccl from complaining if either c or d are otherwise unused 22:57:53 ... and the macro grows to a hundred of lines 22:59:39 -!- Hydan [~hydan@ip-89-103-110-5.net.upcbroadband.cz] has quit [Read error: Operation timed out] 23:01:12 and it'll be difficult to deal with optional paramters, since you can't put them into &rest, and can't pass like just like the required ones, because that'll break passed-p parameter 23:02:00 klltkr [~klltkr@host86-136-47-180.range86-136.btcentralplus.com] has joined #lisp 23:02:26 and constructing a list at runtime is expensive, and still parses the optional arguments twice, so, &rest args is the best solution 23:02:27 actually since i am calling the GF within a normal function, i can't have specialized variables anyway, at least not with a macro like above 23:02:47 err specialized lambda lists 23:02:52 just pray for better IDEs to show, which sense that &rest args is APPLied and display the right lambda list 23:02:55 pillton [~user@140.253.50.147] has joined #lisp 23:02:56 to show up 23:03:45 noncopy: what do you mean? 23:03:46 -!- bitonic [~user@xdsl-188-155-179-93.adslplus.ch] has quit [Ping timeout: 245 seconds] 23:04:12 everything will work just fine with (defun ,name (&rest args) (apply #',gf *ctx* args)) 23:06:15 stassats: you are right, i was thinking with the normal function call syntax, not apply 23:08:17 Hydan [~hydan@ip-89-103-110-5.net.upcbroadband.cz] has joined #lisp 23:09:50 what i did in a similar case: i have generic GF in one package, and another package which implements it, so i shadow its symbol in the implementation package and define (defmethod generic:gf ((context context-type) args) (gf args)), and then just define (defmethod gf (args)) without repeating the context specialization 23:10:08 but without using macros 23:11:00 but it's not exactly what you're doing 23:11:24 davazp [~user@92.251.249.5.threembb.ie] has joined #lisp 23:12:04 -!- marsam [nyan@2600:3c01::f03c:91ff:feae:4421] has quit [Quit: Programming is hard, let's go trolling] 23:13:11 -!- ltbarcly [~textual@216.113.168.141] has quit [Ping timeout: 260 seconds] 23:14:46 maybe not what i am doing but looks like what i want to do 23:15:08 -!- xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 23:17:38 looks like there may be many solutions and there's no clear choice, unless you're using efficiency as a criterion 23:17:49 the most efficient way would be using no wrapper functions 23:19:03 are you making a graphical interface of some sorts? 23:20:33 -!- froggey [~froggey@unaffiliated/froggey] has quit [Ping timeout: 245 seconds] 23:20:33 stassats: i am moving my codebase to CL, and for this module, user interface, i want to make a single interface and a few backends, 2Dgl, 3Dgl, native 23:21:16 that looked like a changeable backends problem 23:21:28 and i really like using special vars for handling context, just couldn't find a way y to apply it to a plugin system 23:22:21 i'd settle for the most widely supported backend first and worry about customization later 23:22:31 -!- danielszmulewicz [~danielszm@109.226.59.4] has quit [Quit: danielszmulewicz] 23:22:41 changeable backends? any docs i could read? 23:24:12 i don't know, look at existing gui frameworks? 23:24:19 stassats: i have UI implemented in opengl, for me the most reliable/clean because this is a game engine and i am already using gl 23:24:57 hwiersma [~hwiersma@205.250.11.18] has joined #lisp 23:28:31 xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has joined #lisp 23:31:27 motionman [~motionman@unaffiliated/motionman] has joined #lisp 23:35:17 nalkri` [~user@217.155.101.22] has joined #lisp 23:37:04 -!- nalkri [~user@unaffiliated/elench] has quit [Ping timeout: 256 seconds] 23:37:06 -!- ft [efftee@oldshell.chaostreff-dortmund.de] has quit [Ping timeout: 245 seconds] 23:37:15 svs_ [~svs@67-0-97-160.albq.qwest.net] has joined #lisp 23:37:43 -!- nalkri` [~user@217.155.101.22] has quit [Changing host] 23:37:43 nalkri` [~user@unaffiliated/elench] has joined #lisp 23:37:48 -!- nalkri` is now known as nalkri 23:38:01 stassats: even better, i could just make a package for each implementation, and don't even bother with generic functions 23:38:18 ft [efftee@oldshell.chaostreff-dortmund.de] has joined #lisp 23:39:19 thanks everyone 23:39:58 fridim_ [~fridim@bas2-montreal07-2925317373.dsl.bell.ca] has joined #lisp 23:40:20 -!- normanrichards [~normanric@70.114.215.220] has quit [] 23:40:29 -!- kwmiebach [~kwmiebach@xdsl-78-35-238-101.netcologne.de] has quit [Quit: Leaving] 23:42:38 -!- xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 23:43:05 xk05 [~xk05@c-98-244-43-125.hsd1.ca.comcast.net] has joined #lisp 23:44:27 -!- Framedragger [~k@unaffiliated/framedragger] has quit [Ping timeout: 248 seconds] 23:46:21 -!- gendl [~gendl@c-98-250-10-50.hsd1.mi.comcast.net] has quit [Read error: Connection reset by peer] 23:46:22 -!- dsevilla [~user@175.Red-83-54-234.dynamicIP.rima-tde.net] has quit [Remote host closed the connection] 23:46:29 you still want to share some code between them 23:46:41 gendl [~gendl@c-98-250-10-50.hsd1.mi.comcast.net] has joined #lisp 23:46:54 -!- cmbntr [~cmbntr@slice.loopback.ch] has quit [Ping timeout: 264 seconds] 23:47:42 cmbntr [~cmbntr@slice.loopback.ch] has joined #lisp 23:48:35 right 23:49:35 -!- zmyrgel [~zmyrgel@a91-153-150-75.elisa-laajakaista.fi] has quit [Ping timeout: 245 seconds] 23:51:32 zmyrgel [~zmyrgel@a91-153-150-75.elisa-laajakaista.fi] has joined #lisp 23:55:24 svs__ [~svs@67-0-97-160.albq.qwest.net] has joined #lisp 23:55:24 -!- svs_ [~svs@67-0-97-160.albq.qwest.net] has quit [Read error: Connection reset by peer] 23:57:59 ISF [~ivan@187.64.222.94] has joined #lisp 23:59:10 -!- Aramur [~arare@9.Red-83-42-45.dynamicIP.rima-tde.net] has quit [Quit: Aramur]