00:00:17 -!- chu [~mathew.ba@CPE-124-176-31-250.lns2.dea.bigpond.net.au] has quit [Ping timeout: 258 seconds] 00:00:26 -!- Jeanne-Kamikaze [~Jeanne-Ka@242.Red-88-24-175.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 00:00:40 -!- drdo [~user@85.207.54.77.rev.vodafone.pt] has quit [Ping timeout: 258 seconds] 00:01:25 urandom__ [~user@p548A4EAE.dip.t-dialin.net] has joined #lisp 00:01:35 chu [~mathew.ba@CPE-124-176-31-250.lns2.dea.bigpond.net.au] has joined #lisp 00:03:00 -!- sacho__ [~sacho@95-42-127-126.btc-net.bg] has quit [Ping timeout: 240 seconds] 00:04:00 -!- spike2251 [~user@c-76-24-24-228.hsd1.ma.comcast.net] has quit [Ping timeout: 248 seconds] 00:05:25 -!- gffa [~gffa@unaffiliated/gffa] has quit [Quit: sleep] 00:06:41 marsell [~marsell@120.18.216.119] has joined #lisp 00:06:59 -!- wedgeV [~wedge@static-96-239-100-26.nycmny.fios.verizon.net] has quit [Quit: wedgeV] 00:12:12 alek_b [~alek_b@99-10-120-63.lightspeed.sndgca.sbcglobal.net] has joined #lisp 00:14:05 -!- kilon [~kilon@athedsl-397916.home.otenet.gr] has quit [Ping timeout: 244 seconds] 00:15:07 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 00:15:14 -!- samebchase [~samuel@76.73.121.203] has quit [Ping timeout: 258 seconds] 00:15:20 samebchase [~samuel@76.73.121.203] has joined #lisp 00:15:28 -!- kidfoo [~neena@unaffiliated/neenaoffline] has quit [Ping timeout: 244 seconds] 00:15:35 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 00:17:45 kidfoo [~neena@76.73.121.203] has joined #lisp 00:19:46 Vivitron [~user@pool-173-48-170-228.bstnma.fios.verizon.net] has joined #lisp 00:20:21 rme [~rme@50.43.147.52] has joined #lisp 00:20:55 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #lisp 00:21:20 phax [~phax@unaffiliated/phax] has joined #lisp 00:28:17 -!- herdrick [~herdrick@c-24-6-49-99.hsd1.ca.comcast.net] has quit [Quit: herdrick] 00:35:12 -!- ifnspifn [~ifnspifn@173.204.91.184.cfl.res.rr.com] has quit [Quit: Leaving] 00:36:49 ramusara [~ramusara@220.156.210.236.user.e-catv.ne.jp] has joined #lisp 00:36:56 herdrick [~herdrick@c-24-6-49-99.hsd1.ca.comcast.net] has joined #lisp 00:37:47 -!- osa1 [~sinan@141.196.93.1] has quit [Remote host closed the connection] 00:41:05 Harag [~phil@41.56.44.202] has joined #lisp 00:42:20 anybody know how to fix a problem like the following in quicklisp 00:42:25 Condition QL-DIST:BADLY-SIZED-LOCAL-ARCHIVE was signalled. 00:42:27 [Condition of type QL-DIST:BADLY-SIZED-LOCAL-ARCHIVE] 00:43:39 msponge [~msponge@31-34-126.wireless.csail.mit.edu] has joined #lisp 00:44:22 wedgeV [~wedge@cpe-68-173-18-241.nyc.res.rr.com] has joined #lisp 00:44:26 -!- wedgeV [~wedge@cpe-68-173-18-241.nyc.res.rr.com] has quit [Client Quit] 00:44:42 Farzad [~root@46.225.99.242] has joined #lisp 00:47:36 nonduality [~nondualit@chello084114039189.14.vie.surfer.at] has joined #lisp 00:50:00 nitro_idiot [~nitro_idi@EM1-115-124-17.pool.e-mobile.ne.jp] has joined #lisp 00:50:05 -!- saschakb [~saschakb@p4FEA010C.dip0.t-ipconnect.de] has quit [Ping timeout: 244 seconds] 00:50:29 Harag: can you just delete the local archive, and force it to download over? 00:50:31 Harag: Perhaps remove the archive and have the system redownload it. 00:50:56 -!- Vivitron [~user@pool-173-48-170-228.bstnma.fios.verizon.net] has quit [Ping timeout: 248 seconds] 00:51:18 I cant find the local archive 00:52:07 Harag: quicklisp/dists/quicklisp/archives/ 00:52:11 it should be in quicklisp/dists/quicklisp/software should it not? 00:52:23 Nope. 00:52:41 duh 00:52:45 sorry 00:53:01 that comes from working 2 am in the morning 00:53:04 thanx 00:53:07 Harag: it might be in .cache/common-lisp/implementation-name/... 00:53:09 -!- ikki [~ikki@201.155.92.12] has quit [Quit: Leaving] 00:53:50 it was in quicklisp/dists/quicklisp/archive and deleting it fixed the issue 00:54:53 well let me get back to work, I am taking part in a local garage48 event and have much to do, hopefully I can fly the lisp flag high 00:56:13 sacho [~sacho@87-126-39-203.btc-net.bg] has joined #lisp 00:58:45 -!- msponge [~msponge@31-34-126.wireless.csail.mit.edu] has quit [Quit: msponge] 00:59:33 -!- chu [~mathew.ba@CPE-124-176-31-250.lns2.dea.bigpond.net.au] has quit [Ping timeout: 244 seconds] 01:01:04 -!- Joreji [~thomas@u-0-033.vpn.RWTH-Aachen.DE] has quit [Ping timeout: 248 seconds] 01:01:39 pferor`` [~user@122.Red-2-137-179.dynamicIP.rima-tde.net] has joined #lisp 01:05:10 -!- bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has quit [Quit: If only your veins were filled with oil, the world would rush to your rescue!] 01:06:02 -!- pferor` [~user@122.Red-2-137-179.dynamicIP.rima-tde.net] has quit [Ping timeout: 255 seconds] 01:06:45 -!- samebchase [~samuel@76.73.121.203] has quit [Ping timeout: 260 seconds] 01:07:19 saschakb [~saschakb@p4FEA12A2.dip0.t-ipconnect.de] has joined #lisp 01:09:38 -!- Noctifer [~Noctifer@89.204.153.242] has quit [Ping timeout: 255 seconds] 01:10:24 -!- kidfoo [~neena@76.73.121.203] has quit [Ping timeout: 244 seconds] 01:10:57 kidfoo [~neena@76.73.121.203] has joined #lisp 01:11:42 samebchase [~samuel@76.73.121.203] has joined #lisp 01:12:45 is this regex invalid for cl-ppcre? its supposed to check for email: ^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$ 01:13:49 -!- milanj [~milanj_@91-150-120-190.dynamic.isp.telekom.rs] has quit [Quit: Leaving] 01:13:58 nothing fancy in there. Why do you think cl-ppcre doesn't like it? 01:14:13 Invalid range from #\_ to #\. in char-class. 01:15:01 put - at the beginning or end of the class 01:15:26 ok whats a class? :P 01:15:27 spearalot [~spearalot@c83-248-140-186.bredband.comhem.se] has joined #lisp 01:15:54 [a-zA-Z0-9_\-\.] <-- that's a char-class. The \- bit in there is what's being complained about. 01:16:12 ok thanks 01:19:03 pferor``` [~user@122.Red-2-137-179.dynamicIP.rima-tde.net] has joined #lisp 01:21:06 -!- nitro_idiot [~nitro_idi@EM1-115-124-17.pool.e-mobile.ne.jp] has quit [Remote host closed the connection] 01:22:46 nitro_idiot [~nitro_idi@EM1-115-124-17.pool.e-mobile.ne.jp] has joined #lisp 01:22:55 -!- pferor`` [~user@122.Red-2-137-179.dynamicIP.rima-tde.net] has quit [Ping timeout: 248 seconds] 01:24:38 -!- nitro_idiot [~nitro_idi@EM1-115-124-17.pool.e-mobile.ne.jp] has quit [Remote host closed the connection] 01:25:19 -!- ThomasH [4b1349ad@pdpc/supporter/sustaining/tmh] has quit [Quit: Page closed] 01:25:22 -!- spearalot [~spearalot@c83-248-140-186.bredband.comhem.se] has quit [Quit: Computer has gone to sleep] 01:28:02 is any one using cl with gui kits? i tested cl-ltk but i found a few problems, dunno it was me or the package. what are u guys using? 01:30:42 (defun corner-for (xsq) (car (rassoc xsq corner/xsqs)))) 01:30:56 what does car(rassoc()) is? 01:31:08 car first of all 01:31:20 nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has joined #lisp 01:31:41 l_r: check clhs pages about car and rassoc. 01:31:56 http://www.lispworks.com/documentation/HyperSpec/Front/X_Symbol.htm 01:38:02 -!- urandom__ [~user@p548A4EAE.dip.t-dialin.net] has quit [Remote host closed the connection] 01:38:24 why does not this program work http://paste.lisp.org/display/126250#1 01:43:49 -!- gigamonkey [~user@adsl-99-24-216-238.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 245 seconds] 01:43:54 -!- hakzsam_ [~hakzsam@aqu33-5-82-245-96-206.fbx.proxad.net] has quit [Remote host closed the connection] 01:44:32 l_r: You're missing a ) 03:48:49 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #lisp 03:48:49 03:48:49 -!- names: ccl-logbot gko cpc262 kushal katesmith kidfoo _nix00 samebchase syddraf chu Pomo teggi Vivitron duomo simplechat am0c topo___ topo ramus ianmcorvidae ASau s0ber nicdev saschakb sacho Harag ramusara phax karswell alek_b ch077179 DaDaDosPrompt buhman klltkr Kron_ Nisstyre jasom rgrinberg iwillig l_r kpreid otakutomo Posterdati zenlunatic chp Beetny Kvaks Fade pokes bobbysmith007 dodecahedron parabolize benny srcerer gniourf_gniourf ybit homie tjasko 03:48:49 -!- names: mindCrime Bike jacius jjc mathrick fmeyer lemoinem srolls X-Scale theos p8m DGASAU antoszka Guest40994 troydm stassats` dlowe Kryztof kpal Mandus xristos Oddity xyxu tsuru` dfox_ xcv newcup Salamander juniorroy flip214 waveman daniel___ alvis killerboy Adlai BrianRice insomniaSalt abeaumont sykopomp markskilbeck kami rahul quasisane kennyd micro` sanjoyd el-maxo hugod p_l sipo lnostdal_ peterhil` Euthy` EarlGray^ theBlackDragon z0d dRbiG cmbntr djuber 03:48:49 -!- names: whoops bhaskara pjb nowhere_man dmiles_a3k tritchey Vutral evenson sellout ski_ yroeht bwright cmm jrockway Axioplase_ ayrnieu gaidal setmeaway oGMo ihyoyoung CrazyEddy Jasko3 nialo`` hcfd__ stepnem AntiSpamMeta araujo anonus joshe Iceland_jack REPLeffect elliottcable petter` lnostdal rabite EyesIsServer kwmiebach antifuchs Zephyrus Ralith zbigniew cmatei derrida syrinx_ Quadrescence mon_key scharan chrnybo`` macrobat cpt_nemo froggey ecraven g000001 joast 03:48:49 -!- names: Odin- egn ace4016 CaZe kjellkt Patzy ArmyOfBruce SidH_ Phoodus pchrist setheus vsync Khisanth peccu tty234 cs-colt housel Jasko2 Shaftoe Zhivago |3b| rtoym phryk herbieB Bucciarati djinni` spacebat peddie jiacobucci tali713 erg Tristam yahooooo mornfall __main__ PissedNumlock vhost- foom freiksenet GeneralMaximus bfein CallToPower tempire k9quaint clop mtd__ Koven DrForr wtetzner df redline6561_ Borbus mgr scode billstclair cow-orker deepfire yan_ 03:48:49 -!- names: boyscared lonstein klutometis Amadiro The_third_man jbalint ve BlastHardcheese em naryl bzzbzz levi aperturefever cYmen rotty_ j_king fmu C-Keen izz_ ivan4th guther Nshag Shapeshifter prip PuffTheMagic vpit3833 pinterface literal tomaw guaqua felipe mal sshirokov a7p gemelen schme daimrod foocraft Xach rotty finnrobi fe[nl]ix rootzlevel ljos gensym jayne inklesspen hyko Neronus clog Jabberwockey zakwilson morphling Obfuscate luis elliottjohnson sepi albino 03:48:49 -!- names: jsnell wolgo dcrawford eno sbryant cods Yamazaki-kun billitch pkhuong adeht OliverUv koollman Intensity frozencemetery aoh tessier krl maxm----- ``Erik Dodek Adrinael ruediger ineiros kanru _3b Saeren eli orangejuice austinh rpgsimmaster v0|d felideon _mathrick qsun e0 cataska gkeith_lt Pepe_ jeekl phadthai _krappie_ alanpearce Demosthenes limetree nuba kloeri djanatyn eMBee tvaalen shachaf fridim JoHNMiDGLeY dsp_ _root_ jlaire arbscht SpitfireWP df_aldur 03:48:49 -!- names: rsynnott pok_ tychoish acieroid SHODAN johs howeyc galdor daedric devhost MikeSeth 03:53:21 kami` [~user@unaffiliated/kami-] has joined #lisp 03:53:26 timack [~timack@hlfx55-2b-69.ns.sympatico.ca] has joined #lisp 03:55:59 -!- mindCrime [~chatzilla@24.106.207.82] has quit [Read error: Operation timed out] 03:56:44 -!- kami [~user@unaffiliated/kami-] has quit [Ping timeout: 252 seconds] 03:57:35 pitlimit [~pitlimit@dyn-160-39-55-94.dyn.columbia.edu] has joined #lisp 03:57:35 -!- pitlimit [~pitlimit@dyn-160-39-55-94.dyn.columbia.edu] has quit [Changing host] 03:57:35 pitlimit [~pitlimit@unaffiliated/pitlimit] has joined #lisp 03:57:45 is there a function to see what type an object is? 03:57:55 type-of 03:58:02 thanks 03:58:20 what are you planning to use it for? 03:58:42 well i have '(a <-> b) 03:58:46 I'm trying to figure out what type <-> s 03:59:57 is rather 04:00:01 that's a symbol. 04:00:06 you mean your function accepts a list and it does something based on what the second element is? 04:00:11 Yes stassats` 04:00:17 gigamonkey [~user@adsl-99-24-216-238.dsl.pltn13.sbcglobal.net] has joined #lisp 04:00:54 there should be better options, like TYPECASE, or if you're only expecting a symbol, SYMBOLP 04:01:17 ok 04:01:38 sellout: herep 04:02:35 (destructuring-bind (operand-a operator operand-b) '(2 + 3) (etypecase operator (symbol (funcall operator operand-a operand-b)))) => 5 04:03:01 el-maxo_ [~max@p5DE8FC6B.dip.t-dialin.net] has joined #lisp 04:04:14 -!- el-maxo [~max@p5DE8DBFE.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 04:04:34 homie` [~levgue@xdsl-78-35-143-4.netcologne.de] has joined #lisp 04:05:25 saschakb_ [~saschakb@p4FEA09DE.dip0.t-ipconnect.de] has joined #lisp 04:07:09 -!- homie [~levgue@xdsl-78-35-145-132.netcologne.de] has quit [Ping timeout: 258 seconds] 04:09:20 -!- samebchase [~samuel@76.73.121.203] has quit [Ping timeout: 248 seconds] 04:09:23 -!- saschakb [~saschakb@p4FEA12A2.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 04:09:24 samebchase [~samuel@76.73.121.203] has joined #lisp 04:09:30 I am trying to build a let expression from a list of variables and a list of values that match one-to-one, basically match them pair-wise by index to make the expression. The problem is that let expects the form (var1 'a) and I am giving it (var1 a). Is there anyway to make it behave as if it has a single quote in front of it? 04:09:50 The "a", that is. 04:10:06 just put it there? 04:10:25 ',something-resulting-in-a 04:10:37 THat would make it (var1 '(car vars)) =P 04:11:54 syddraf no if there's , in front of (car vars) 04:12:14 provided that you're using backqoute, of course 04:12:21 Let me pastbin what I have 04:12:22 -!- kidfoo [~neena@76.73.121.203] has quit [Ping timeout: 244 seconds] 04:12:41 http://pastebin.com/Km7UtLvC 04:13:18 kidfoo [~neena@76.73.121.203] has joined #lisp 04:13:35 if you insist on using LIST and friends, then remember that 'x == (quote x) 04:13:48 that's an odd way to do this. why not `((...)) ? 04:14:20 and (append (list x) y) == (cons x y) 04:16:25 I'm not very experienced with lisp so I'm just going with what I know. If there's a better way then I'm all for it 04:16:25 and you don't need recursion here 04:16:30 (defun generate-let-assignments (vars vals) (loop for var in vars for val in vals collect (list var val))) 04:16:45 Is it hugely inefficient if I create a list and continually modify the first element? 04:17:02 or even (mapcar #'list '(a b c) '(1 2 3)) => ((A 1) (B 2) (C 3)), if you're not planning on putting quotes 04:17:12 syddraf: `(let ,(mapcar 'list vars (mapcar (lambda (x) (list 'quote x)) vals)) ,@body) 04:17:42 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Quit: Leaving] 04:17:50 (loop for var in vars for val in vals collect `(var ',val)) 04:18:00 ,var 04:18:13 katesmith [~katesmith@unaffiliated/costume] has joined #lisp 04:18:29 pitlimit: no. 04:18:50 pitlimit: inefficient for doing what? 04:19:04 thanks 04:19:12 pitlimit: even if you modified the last element, it wouldn't be inefficient, as long as you keep a handle on that last element. 04:19:15 here's what i came up with. (defun generate-let-assignments (vars vals) (mapcar (lambda (a b) `(',a ,b)) vars vals)) 04:19:18 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Read error: Connection reset by peer] 04:19:23 keep a handle? 04:19:28 a reference. 04:19:32 kennyd: it's wrong. 04:19:34 katesmith [~katesmith@unaffiliated/costume] has joined #lisp 04:19:34 but i don't plan on doing that 04:19:42 EmmanuelOga [~emmanuel@190.244.19.108] has joined #lisp 04:19:44 I don't know if I should convert my list to an array first 04:19:47 pjb why? 04:20:02 oh right 04:20:04 you misplaced ' 04:20:05 kennyd: because variables must be symbols, they cannot be lists. 04:20:43 pitlimit: modifying the first element is O(1) 04:20:47 pitlimit: try it! (time (loop with list = (list 1 2 3) repeat 10000 do (incf (car list)))) 04:21:23 yes 04:21:24 thanks 04:21:37 10000 times? what is this, a calculator? 04:21:43 dcguru [~chatzilla@66.129.60.130] has joined #lisp 04:22:00 try 1e9 if you prefer. 04:22:54 that's better 04:23:35 stratobacker [~user@c-98-202-137-87.hsd1.ut.comcast.net] has joined #lisp 04:23:48 takes 6 seconds, and (incf (third list)) takes 6.5 seconds 04:24:56 stassats`: (time (loop with list = (make-list 1e4) repeat 10000 do (incf (car (last list))))) 04:25:46 + :initial-value 0 04:25:48 unclispified: (time (loop with list = (make-list 10000 :initial-element 0) repeat 10000 do (incf (car (last list))))) 04:26:19 Yes, initial-element. It's late... 04:26:35 0.173 seconds of real time 04:26:36 hrolf [~redmundia@mail.madito.es] has joined #lisp 04:26:48 fast computer are no fun. 04:26:59 well, i can try running it on ABCL 04:27:46 0.531 seconds real time, not that bad 04:28:10 *stassats`* forgot what's the point of this, oh well 04:28:34 -!- chu [~mathew.ba@CPE-124-176-31-250.lns2.dea.bigpond.net.au] has quit [Remote host closed the connection] 04:29:15 chu [~mathew.ba@CPE-124-176-31-250.lns2.dea.bigpond.net.au] has joined #lisp 04:30:20 -!- Pomo [~Pomo@192.188.108.71] has left #lisp 04:31:36 gigamonkey: t 04:33:56 wolfjb [~user@ip72-198-11-96.ok.ok.cox.net] has joined #lisp 04:34:53 Pomo [~Pomo@192.188.108.71] has joined #lisp 04:35:32 hello. is anyone using CCL on windows? I am having trouble creating executable. 04:35:54 I'm looking for some documentation on best practices for organizing code google for lisp code organization best practices didn't turn up much, can someone point me in the right direction please. 04:35:57 what problem do you encounter? 04:36:25 wolfjb: write modular programs, keep the code of each module in its file. 04:36:27 when I try to run the executable I'm getting "Program too big to fit in memory" error. http://paste.lisp.org/display/126255 04:37:02 let me try 04:38:02 herdrick [~herdrick@c-69-181-208-149.hsd1.ca.comcast.net] has joined #lisp 04:38:09 you forgot :prepend-kernel t 04:38:12 pjb: does it make sense to organize in directories? especially when considering keeping test separate from production code? (sorry - java programmer learning lisp) 04:38:23 hrolf: try asking on the openmcl-devel@clozure.com maillist. 04:38:33 wolfjb: depends on the size of your project. 04:38:50 wolfjb: this has nothing to do with lisp by the way. It would be the same with any programming language. 04:39:24 hrolf you created image not executable. you need :prepend-kernel t like stassats` said 04:40:05 wolfjb: if you are writing a utility that takes two functions, you can write the test functions in the same file. If you are writing a moon base management system, I guess the test code will go in several separate directories. 04:40:24 pjb: :-) true, but some tools facilitate this in specific ways for their language (maven for example). In this case I'm not sure what big is, but I have about 19 lisp files in a project 04:40:43 I use a single universal tool: my brains. 04:41:13 but otherwise, it could be an idea, to write an expert system to organize code for yourself. 04:41:18 nice :prepend-kernel t did it, thanks stassats, kennyd 04:41:27 -!- am0c [~am0c@222.235.56.158] has quit [Remote host closed the connection] 04:41:40 just stuff your functions randomly in a file, you have M-. to get around 04:41:45 pjb: thanks 04:42:23 grouping several things into separate files once they're big enough might be reasonable as well 04:42:24 wolfjb: you may also have a look at the existing libraries and applications. Use quicklisp to download a few of them and see how they're organized. 04:44:09 pjb: thanks I'll look at it. 04:46:05 -!- Pomo [~Pomo@192.188.108.71] has quit [Quit: Leaving] 04:46:27 -!- xcv [~xcv@dsl-225-28.hive.is] has quit [Remote host closed the connection] 04:46:43 -!- timack [~timack@hlfx55-2b-69.ns.sympatico.ca] has quit [Ping timeout: 244 seconds] 04:46:59 -!- jjc [~jjc@50-46-182-239.evrt.wa.frontiernet.net] has quit [Ping timeout: 244 seconds] 04:47:03 mindCrime [~chatzilla@cpe-076-182-089-009.nc.res.rr.com] has joined #lisp 04:47:14 -!- EmmanuelOga [~emmanuel@190.244.19.108] has quit [Ping timeout: 244 seconds] 04:47:24 -!- topo___ [~topo@f053032233.adsl.alicedsl.de] has quit [Quit: topo___] 04:48:03 RomyEatsDrupal [~stickycak@ool-ade563b0.dyn.optonline.net] has joined #lisp 04:49:18 wolfjb might want to take a look at lisp-unit too if you haven't already, according to author it's been inspired by JUnit 04:49:47 hrolf: thanks, I'll look into it 04:49:58 i like it's simplicity 04:50:24 -!- topo [~topo@f053032233.adsl.alicedsl.de] has quit [Ping timeout: 248 seconds] 04:50:29 chromaticwt [~user@67-41-15-81.albq.qwest.net] has joined #lisp 04:54:32 hmm... looks interesting 04:55:21 along the lines of lisp-unit, are there mocking libraries or are they not necessary 04:56:02 there's #lisp, it'll mock you for free 04:56:24 stassats`: heheh, great! just what I need 04:57:21 so, if I wanted to make sure a function is called, but not really executed, is there an idiom for handling that situation? 04:57:41 pnathan [~Adium@98.145.116.190] has joined #lisp 05:00:57 -!- elliottcable is now known as battlecollie 05:01:19 not really 05:02:52 but it's possible, assuming the function is not inlined 05:03:11 -!- battlecollie is now known as elliottcable 05:03:23 you can use (SETF FDEFINITION) to replace the original function with something else 05:05:54 would I use that with a lambda of some kind? (setf my-fn (lambda () ...)) for example? 05:06:14 or is fdefinition special in some way? 05:06:22 sorry, not familiar with that term 05:07:09 -!- gko [~gko@220-135-201-90.HINET-IP.hinet.net] has quit [Ping timeout: 245 seconds] 05:07:44 Vicfred [~Vicfred@189.143.87.123] has joined #lisp 05:08:35 -!- stassats` [~stassats@wikipedia/stassats] has quit [Ping timeout: 244 seconds] 05:09:07 ok, nevermind I found some doc on fdefinition 05:09:13 ... reading .. 05:09:15 :-) 05:10:35 I'd probably write a macro that temporarily rebinds a function and then restore it at the end of it's scope 05:14:16 stassats [~stassats@wikipedia/stassats] has joined #lisp 05:18:34 with-mocked-function fn stub 05:18:36 daschel [~berner@p4FF8B790.dip.t-dialin.net] has joined #lisp 05:21:41 i have two questions. first, is there an equivalent to the this pointer in common lisp? and second, in a similar vein, if I'm operating on a component of an object, how do i refer back to that object? 05:21:56 no and no 05:23:36 this, as in a reference to the object in a method? 05:23:52 could you pursue a python approach and pass self as an argument explicitly? 05:24:00 methods don't belong to objects or classes 05:24:37 methods in CL accept reference to the dispatched object(s) 05:24:49 you can name them any way you want 05:25:08 hrolf, yes 05:25:18 so if you passed it in, it would serve the same purpose as a this pointer. 05:25:38 -!- herdrick [~herdrick@c-69-181-208-149.hsd1.ca.comcast.net] has quit [Quit: herdrick] 05:25:41 but you should stop thinking about it in that way 05:26:06 how should it be thought of? 05:26:25 (defmethod who-am-i ((this string)) (print "i am a string")) (defmethod who-am-i ((this integer)) (print "i am an integer")) 05:27:10 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Read error: Connection timed out] 05:27:21 (defmethod draw ((this square) (that device)) ...) 05:27:48 methods specialize on classes and belong to a generic function 05:28:07 yes methods are not part of classes in lisp. and they can dispatch on more than just the first argument 05:28:09 katesmith [~katesmith@unaffiliated/costume] has joined #lisp 05:28:31 you can say it's a function which works differently on different type of things 05:29:51 Cryotank2011 [~Cryotank2@c-24-17-62-152.hsd1.wa.comcast.net] has joined #lisp 05:31:10 this and that are rather lame parameter names. (defmethod draw ((what square) (where device)) ...) 05:31:21 -!- Cryotank2011 [~Cryotank2@c-24-17-62-152.hsd1.wa.comcast.net] has quit [Client Quit] 05:31:45 -!- Yamazaki-kun [~bsa3@jetalone.facefault.org] has quit [Quit: Lost terminal] 05:31:58 -!- hrolf [~redmundia@mail.madito.es] has quit [Quit: Chateando desde http://webchat.redmundial.org (EOF)] 05:32:12 Yamazaki-kun [~bsa3@jetalone.facefault.org] has joined #lisp 05:33:40 herdrick [~herdrick@c-69-181-208-149.hsd1.ca.comcast.net] has joined #lisp 05:34:21 Modius [~Modius@cpe-70-123-128-240.austin.res.rr.com] has joined #lisp 05:36:49 is it possible to write a common method for all objects, and then specialize it for some? 05:37:02 yes 05:37:09 how? 05:37:28 all objects are of class T 05:37:49 -!- Iceland_jack [~baldur@earth.sudo.is] has quit [Ping timeout: 240 seconds] 05:37:59 and (defmethod foo (bar)) == (defmethod foo ((bar t))) 05:38:53 -!- syddraf [~syddraf@129.59.115.2] has quit [Quit: Leaving] 05:39:00 so (defmethod foo (bar)) (defmethod foo ((bar integer)) ; specialized for int) ? 05:39:09 can't test at the moment 05:39:18 right 05:39:39 Or: (defgeneric foo (bar) (:method ((bar t)) 'generic) (:method ((bar integer)) 'specialized)) 05:44:32 -!- elliottcable is now known as ec|thiscutiemark 05:44:38 -!- ec|thiscutiemark is now known as elliottcable|see 05:44:43 -!- elliottcable|see is now known as elliottcable 05:44:56 -!- simplechat [~simplecha@unaffiliated/simplechat] has quit [Remote host closed the connection] 05:46:55 -!- Harag [~phil@41.56.44.202] has quit [Ping timeout: 248 seconds] 05:48:42 -!- cpc262 [~cpc26@fsf/member/cpc26] has quit [Quit: WeeChat 0.3.6] 05:53:51 so this is what I've come up with (http://pastie.org/2958422), but I'd like to pass a list of pairs (fn stub), the syntax is escaping me. 05:54:05 pointers would be appreciated 05:54:47 how do you want it to be called? 05:55:04 wolfjb: use unwind-protect. 05:55:36 you should use unwind-protect to restore function even if condition is thrown 05:55:37 (defmacro with-mocked-functions ((fn stub &rest other-fn-stub) &body body) ...) 05:55:41 (with-mocked-function (list (fn1 stub1) (fn2 stub2) ...) (some test code)) 05:55:53 (with-mocked-function ((fn1 stub1) (fn2 stub2) ...) (some test code)) 05:55:55 (with-mocked-functions ((fn1 stub1) (fn2 stub2) ...) (some test code)) 05:58:21 do I also then need to iterate over the &rest other-fn-stub? 05:58:29 Yes. 05:58:33 ah 05:59:25 you could also just write: (defmacro with-mocked-functions (fn-stubs &body body) ...) but (defmacro with-mocked-functions (((fn stub) &rest other-fn-stub) &body body) ...) let the user knowo that at least one (fn stub) is needed. 06:00:05 and the syntax, too 06:00:33 realitygrill [~realitygr@76.226.204.215] has joined #lisp 06:00:46 -!- naryl [~weechat@188.134.95.93] has quit [Ping timeout: 260 seconds] 06:01:07 -!- nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has quit [Ping timeout: 244 seconds] 06:04:26 the gensym part is beating me. how do I do that in a list context and still know the resulting symbol to use in the rest of the macro? 06:04:38 By programming. 06:04:50 This is data. 06:04:59 create a list of gensyms 06:07:48 -!- chu [~mathew.ba@CPE-124-176-31-250.lns2.dea.bigpond.net.au] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 06:08:49 -!- sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has quit [Quit: o7] 06:09:07 -!- setmeaway [~setmeaway@119.201.52.190] has quit [Read error: Connection reset by peer] 06:09:26 sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has joined #lisp 06:09:27 -!- Modius [~Modius@cpe-70-123-128-240.austin.res.rr.com] has quit [Ping timeout: 252 seconds] 06:11:22 so, it seems that I would need to know the number of (fn stub) pairs were provided, I'm not finding a way to do that, what am I missing? 06:12:21 mapcar ? 06:12:30 Modius [~Modius@cpe-70-123-128-240.austin.res.rr.com] has joined #lisp 06:13:26 &rest stubs is just a list. surely you know how to fetch the number of elements in a list 06:13:43 setmeaway [~setmeaway@119.201.52.190] has joined #lisp 06:14:05 *wolfjb* face plants 06:14:10 :) 06:14:14 -!- theos [~theos@unaffiliated/theos] has quit [Ping timeout: 245 seconds] 06:14:38 nothing is ever obvious until it is, then it is usually painfully obvious... 06:15:27 naryl [~weechat@188.134.95.93] has joined #lisp 06:16:26 -!- saschakb_ [~saschakb@p4FEA09DE.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 06:17:17 wolfjb: http://paste.lisp.org/display/126256 06:18:47 vauban [~vauban@vaubansys.com] has joined #lisp 06:19:24 pjb: thanks! 06:20:29 I wouldn't have known to use destructuring-bind, declare ignore. I was close on the initial let to make the gensyms 06:21:24 You can add a (declare (ignore fn-stub)) before (gensum) and replace it with (gensym), etc. 06:21:25 there is a lot there for me to study, much appreciated 06:22:01 it's a rather bizarre use of destructuring-bind, why not just `(,temps (fdefinition ',(car fn-stub))) 06:22:39 Now, since it's possible that (fdefinition ',stub) signal an error, perhaps we should use a single psetf to assign all the fns at once. 06:22:58 stassats: readability. 06:23:13 Having the same form for the three mapcar frees neurons. 06:23:22 if the goal is to decrease readability, then yes 06:24:49 otherwise you'd just use LOOP 06:25:00 pjb, did you know macros can't (usefully) expand into DECLARE forms 06:25:38 wolfjb: http://paste.lisp.org/display/126256#1 06:25:56 Quadrescence: yes, that seems obvious. 06:26:36 nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has joined #lisp 06:27:15 I learned about this yesterday trying to go from a macro (time* ) to essentially (time (funcall (compile nil (lambda () (locally )))) and I was not pleased with this restriction 06:27:26 -!- kennyd [~kennyd@93-138-58-60.adsl.net.t-com.hr] has quit [Ping timeout: 252 seconds] 06:27:26 pjb: thanks 06:27:47 Quadrescence: this you can do easily. 06:28:14 `(time (funcall (compile nil (lambda () (locally ,@ ,@))))) offers no difficulty. 06:28:23 And locally isn't even needed in a lambda. 06:28:39 Are you sure you want to time the compilation? 06:28:57 `(let ((fn (compile nil (lambda () (locally ,@ ,@))))) (time (funcall fn))) 06:29:22 pjb, no, it was essentially that. It was a LET like that 06:29:43 pjb, I swear I didn't see lambda the spec's list of forms where declarations are allowed. 06:30:00 Then again this after 20 or so hours of straight coding for work 06:30:50 kennyd [~kennyd@93-141-24-120.adsl.net.t-com.hr] has joined #lisp 06:31:01 -!- gaidal [gaidal@58.62.105.190] has quit [Ping timeout: 240 seconds] 06:32:59 -!- dcguru [~chatzilla@66.129.60.130] has quit [Quit: ChatZilla 0.9.87 [Firefox 3.6.13/20101209123813]] 06:33:36 http://www.lispworks.com/documentation/HyperSpec/Body/s_declar.htm 06:33:37 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 06:33:56 Harag [~phil@41.0.39.242] has joined #lisp 06:34:14 **A declare expression can occur in a lambda expression** or in any of the forms listed in the next figure. 06:34:18 ha :( 06:34:52 http://paste.lisp.org/display/126256#2 06:35:57 stassats: thanks! 06:36:45 -!- elliottcable is now known as elliottcable|fag 06:36:56 -!- kami` [~user@unaffiliated/kami-] has quit [Ping timeout: 244 seconds] 06:37:57 I always wonder how those language designers thought to include the IGNORABLE declaration. It's such a minute thing but it makes some things 100x more pleasant to compile. 06:38:15 they were smart 06:38:32 and i guess that they actually tried to use the language 06:38:37 ThePawnBreak [~quassel@94.177.108.25] has joined #lisp 06:38:43 stassats, :) 06:39:21 loop ninjitsu.... I'll have to read about that one, I assume collect returns a list of things it collected similar to the way smalltalk works? 06:39:44 -!- chp [~user@c-68-45-180-238.hsd1.nj.comcast.net] has quit [Ping timeout: 248 seconds] 06:39:44 gaidal [gaidal@61.144.106.22] has joined #lisp 06:39:54 wolfjb, I was going to tell stassats to buckle down and just use a LET/PUSH 06:40:22 what is this, an 18th century? 06:41:33 borkman [~user@S0106001111de1fc8.cg.shawcable.net] has joined #lisp 06:42:25 stassats, actually I timed lispworks on this and it happened that LET/PUSH consed less, and of course this dictates the performance of the language inherently. 06:42:32 A macro cannot expand just into a declare but it can expand into something that includes a declare no probs. eg 06:42:50 (defmacro fn1 () '(defun f1 (a) (declare (ignore a)) 1)) 06:43:10 -!- gaidal [gaidal@61.144.106.22] has quit [Client Quit] 06:44:37 Maybe I misinterpreted the spec then 06:44:57 -!- elliottcable|fag is now known as elliottcable|hat 06:45:51 -!- srolls [~user@c-76-126-212-192.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 06:46:28 RomyEatsDrupal_ [~stickycak@ool-ade563b0.dyn.optonline.net] has joined #lisp 06:47:05 Quad*: I tested this - it worked (no warning about a not used, and when i took out the declare it warned me). 06:47:05 -!- RomyEatsDrupal [~stickycak@ool-ade563b0.dyn.optonline.net] has quit [Read error: Connection reset by peer] 06:47:05 -!- RomyEatsDrupal_ is now known as RomyEatsDrupal 06:48:34 well, it's not trivial to handle declarations 06:49:33 for example (defmacro fancy-defun (wild-parameter &body ...) (declare (ignorable wild-parameter)) ,@body) 06:49:41 -!- herdrick [~herdrick@c-69-181-208-149.hsd1.ca.comcast.net] has quit [Quit: herdrick] 06:49:56 wolfjb: Collect does return a list of things. I think the following chapter a fine place to read about loop: http://gigamonkeys.com/book/loop-for-black-belts.html 06:50:04 now, (fancy-defun foo (x y z) "docstring" (declare (fixnum x)) (+ x y z)) wouldn't work 06:50:17 "is a" even 06:50:21 that's why there's alexandria:parse-declarations 06:50:30 or however is it called 06:50:46 this is a fine loop basics tutorial too, with many examples. http://www.ai.sri.com/pkarp/loop.html 06:52:14 jewel [~jewel@196-209-248-92.dynamic.isadsl.co.za] has joined #lisp 06:52:29 -!- Kryztof [~user@81.174.155.115] has quit [Remote host closed the connection] 06:53:24 Kryztof [~user@81.174.155.115] has joined #lisp 06:53:40 Thanks Vivitron 06:54:26 Thanks kennyd 06:54:31 gaidal [gaidal@61.144.106.22] has joined #lisp 06:54:40 angavrilov [~angavrilo@217.71.227.181] has joined #lisp 06:56:19 okay, enough to study on, thanks for the help! 06:56:55 -!- wolfjb [~user@ip72-198-11-96.ok.ok.cox.net] has quit [Quit: going to bed] 07:00:37 -!- elliottcable|hat is now known as hatiottcable 07:00:50 -!- hatiottcable is now known as ellihatcable 07:04:28 Munksgaard [~Munksgaar@168.22.19.85] has joined #lisp 07:05:31 -!- Munksgaard [~Munksgaar@168.22.19.85] has left #lisp 07:07:31 topo [~topo@f053032233.adsl.alicedsl.de] has joined #lisp 07:07:33 topo_ [~topo@f053032233.adsl.alicedsl.de] has joined #lisp 07:08:58 -!- vauban [~vauban@vaubansys.com] has quit [Quit: leaving] 07:15:08 -!- ellihatcable is now known as elliottcable 07:15:12 JuanDaugherty [~Ren@cpe-72-228-177-92.buffalo.res.rr.com] has joined #lisp 07:15:41 sdemarre [~serge@91.176.39.17] has joined #lisp 07:18:11 -!- Kron_ [~Kron@69.166.20.102] has quit [Quit: Kron awayyy!] 07:22:24 -!- jewel [~jewel@196-209-248-92.dynamic.isadsl.co.za] has quit [Ping timeout: 248 seconds] 07:23:01 -!- jacius [~jacius@c-24-13-89-230.hsd1.il.comcast.net] has quit [Remote host closed the connection] 07:25:25 -!- troydm [~troydm@unaffiliated/troydm] has quit [Ping timeout: 240 seconds] 07:27:35 -!- juniorroy [~dima@212.36.228.103] has quit [Read error: Operation timed out] 07:32:29 -!- pnathan [~Adium@98.145.116.190] has quit [Quit: Leaving.] 07:32:46 cyrillos [~cyrill@188.134.33.194] has joined #lisp 07:37:18 -!- elliottcable is now known as elliottcable^ 07:38:29 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 07:39:23 juniorroy [~dima@212.36.228.103] has joined #lisp 07:46:00 -!- gigamonkey [~user@adsl-99-24-216-238.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 244 seconds] 07:48:55 Diaoer [~Diaoer@116.239.4.194] has joined #lisp 07:51:49 nitro_idiot [~nitro_idi@EM114-51-138-53.pool.e-mobile.ne.jp] has joined #lisp 07:55:02 pjb, what's the last thing you learned about common lisp, and was it recent 08:01:45 kilon [~kilon@athedsl-321633.home.otenet.gr] has joined #lisp 08:01:47 -!- RomyEatsDrupal [~stickycak@ool-ade563b0.dyn.optonline.net] has quit [Quit: RomyEatsDrupal] 08:02:32 -!- nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has quit [Ping timeout: 244 seconds] 08:02:59 -!- elliottcable^ is now known as elliottcable 08:06:38 mishoo_ [~mishoo@79.112.111.6] has joined #lisp 08:08:47 qnavry [~user@c114-76-49-176.eburwd4.vic.optusnet.com.au] has joined #lisp 08:10:12 nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has joined #lisp 08:10:40 spearalot [~spearalot@c83-248-140-186.bredband.comhem.se] has joined #lisp 08:12:17 -!- kilon [~kilon@athedsl-321633.home.otenet.gr] has quit [Ping timeout: 252 seconds] 08:16:03 nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has joined #lisp 08:28:16 _nix001 [~Adium@222.65.231.123] has joined #lisp 08:28:16 -!- _nix00 [~Adium@222.65.231.123] has quit [Read error: Connection reset by peer] 08:28:18 -!- kidfoo [~neena@76.73.121.203] has quit [Changing host] 08:28:18 kidfoo [~neena@unaffiliated/neenaoffline] has joined #lisp 08:28:29 insomnia1alt [~milan@unaffiliated/iammilan] has joined #lisp 08:31:44 -!- insomniaSalt [~milan@unaffiliated/iammilan] has quit [Ping timeout: 245 seconds] 08:31:44 -!- insomnia1alt is now known as insomniaSalt 08:32:46 osa1 [~sinan@141.196.62.207] has joined #lisp 08:37:54 hi, I have quicklisp installed, how can Ioad it and install lispbuilder-SDL package? 08:41:25 use ql:quickload 08:42:21 Salamander_ [~Salamande@ppp118-210-163-103.lns20.adl6.internode.on.net] has joined #lisp 08:44:01 stassats: package not found "ql" 08:44:05 -!- Bike [~Glossina@71-38-156-118.ptld.qwest.net] has quit [Quit: leaving] 08:44:21 you need to load quicklisp first 08:45:03 -!- Salamander [~Salamande@ppp118-210-161-226.lns20.adl6.internode.on.net] has quit [Ping timeout: 248 seconds] 08:45:35 osa1: did you follow the directions quicklisp gave then you loaded the quicklisp.lisp file? 08:46:42 nikodemus: yes, first time everything worked, but now I can't load, here's my log http://paste.pocoo.org/show/516095/ 08:47:34 -!- stratobacker [~user@c-98-202-137-87.hsd1.ut.comcast.net] has quit [Ping timeout: 245 seconds] 08:50:00 you're not loading, you're installing it 08:50:19 -!- Vicfred [~Vicfred@189.143.87.123] has quit [Quit: Leaving] 08:53:46 stassats: I'm new at common lisp, can you please be more specific? how can I load then? 08:54:14 i don't know 08:54:25 sorry, i don't really use quicklisp 08:55:10 osa1 follow this: http://www.quicklisp.org/beta/#installation 08:55:11 osa1: the simple way: blow away ~/quicklisp, then do sbcl --load quicklisp.lisp again, then follow directions 08:56:18 osa1: kennyd+nikodemus's suggestions combined should work -- looks like you missed the add to init file step the first time you installed ql 08:56:48 -!- mishoo_ [~mishoo@79.112.111.6] has quit [Ping timeout: 248 seconds] 08:57:18 -!- nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has quit [Ping timeout: 244 seconds] 08:59:20 ok, thanks 08:59:42 it looks like quicklisp doesn't have lispbuilderSDL 09:01:06 try (ql:system-apropos "lispbuilder") 09:01:56 Vivitron: yeah later I realized that 09:02:03 is there an easy way to install all of this? 09:03:38 I've nevery used lispbuilder but I would try grabbing "lispbuilder-sdl" and hope it does the right thing 09:07:21 easy-iPad [~easyipad@213.47.71.36] has joined #lisp 09:07:44 -!- realitygrill [~realitygr@76.226.204.215] has quit [Quit: realitygrill] 09:08:55 Salamander [~Salamande@ppp121-45-73-99.lns20.adl6.internode.on.net] has joined #lisp 09:10:40 -!- Salamander_ [~Salamande@ppp118-210-163-103.lns20.adl6.internode.on.net] has quit [Ping timeout: 248 seconds] 09:12:18 -!- xyxu [~xyxu@222.68.164.173] has left #lisp 09:14:40 nitro_id_ [~nitro_idi@EM114-51-213-234.pool.e-mobile.ne.jp] has joined #lisp 09:15:04 -!- nitro_idiot [~nitro_idi@EM114-51-138-53.pool.e-mobile.ne.jp] has quit [Ping timeout: 245 seconds] 09:19:51 nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has joined #lisp 09:24:54 -!- osa1 [~sinan@141.196.62.207] has quit [Remote host closed the connection] 09:27:08 araujo [~araujo@190.73.44.29] has joined #lisp 09:27:08 -!- araujo [~araujo@190.73.44.29] has quit [Changing host] 09:27:08 araujo [~araujo@gentoo/developer/araujo] has joined #lisp 09:29:52 akovalenko [~akovalenk@95.73.50.180] has joined #lisp 09:30:49 c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has joined #lisp 09:44:53 -!- cyrillos [~cyrill@188.134.33.194] has quit [Ping timeout: 252 seconds] 09:45:27 cnl [~cnl@95.106.65.176] has joined #lisp 09:47:41 -!- easy-iPad [~easyipad@213.47.71.36] has quit [Quit: Outta here?] 09:50:00 -!- nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has quit [Ping timeout: 244 seconds] 09:51:00 -!- naryl [~weechat@188.134.95.93] has quit [Ping timeout: 258 seconds] 09:52:56 naryl [~weechat@188.134.95.93] has joined #lisp 09:53:11 ivan-kanis [~user@89.83.137.164] has joined #lisp 09:53:24 ccorn [~ccorn@g132123.upc-g.chello.nl] has joined #lisp 09:55:29 theos [~theos@unaffiliated/theos] has joined #lisp 09:56:13 gravicappa [~gravicapp@ppp91-77-177-157.pppoe.mtu-net.ru] has joined #lisp 09:59:40 oudeis [~oudeis@host86-163-112-218.range86-163.btcentralplus.com] has joined #lisp 10:00:22 -!- oudeis [~oudeis@host86-163-112-218.range86-163.btcentralplus.com] has quit [Remote host closed the connection] 10:01:05 -!- daschel [~berner@p4FF8B790.dip.t-dialin.net] has quit [Ping timeout: 260 seconds] 10:01:24 oudeis [~oudeis@host86-163-112-218.range86-163.btcentralplus.com] has joined #lisp 10:03:56 madnificent [~madnifice@83.101.62.132] has joined #lisp 10:16:41 -!- waveman [~tim@203-214-39-56.dyn.iinet.net.au] has quit [Quit: leaving] 10:19:53 -!- daniel___ [~daniel@p5082914E.dip.t-dialin.net] has quit [Read error: Operation timed out] 10:19:58 daniel__1 [~daniel@p5B326BF2.dip.t-dialin.net] has joined #lisp 10:23:06 cyrillos [~cyrill@95-55-44-6.dynamic.avangarddsl.ru] has joined #lisp 10:23:53 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 10:25:26 -!- Oddity [~Oddity@unaffiliated/oddity] has quit [Read error: Connection reset by peer] 10:31:40 -!- c_arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has quit [Read error: Operation timed out] 10:33:18 slash_ [~unknown@p54A8FCA5.dip.t-dialin.net] has joined #lisp 10:34:28 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Remote host closed the connection] 10:37:59 urandom__ [~user@p548A240A.dip.t-dialin.net] has joined #lisp 10:38:15 araujo [~araujo@190.73.44.29] has joined #lisp 10:38:15 -!- araujo [~araujo@190.73.44.29] has quit [Changing host] 10:38:15 araujo [~araujo@gentoo/developer/araujo] has joined #lisp 10:42:15 Jeanne-Kamikaze [~Jeanne-Ka@242.Red-88-24-175.staticIP.rima-tde.net] has joined #lisp 10:42:52 is there a defacto standard library for working with times and dates in lisp? 10:44:15 madnificent: I use local-time 10:44:54 Salamander_ [~Salamande@ppp118-210-51-179.lns20.adl2.internode.on.net] has joined #lisp 10:45:59 MoALTz [~no@host-92-18-77-195.as13285.net] has joined #lisp 10:46:35 i've used it in the past as well, but cliki mentioned it could go in an endless loop 10:47:37 -!- Salamander [~Salamande@ppp121-45-73-99.lns20.adl6.internode.on.net] has quit [Ping timeout: 244 seconds] 10:48:30 imagine how many things have not mentioned infinite loops 10:49:31 -!- ASau [~user@95-27-132-224.broadband.corbina.ru] has quit [Read error: Connection reset by peer] 10:50:58 ASau [~user@89-178-114-2.broadband.corbina.ru] has joined #lisp 10:51:25 entrix_ [~entrix@95-25-92-77.broadband.corbina.ru] has joined #lisp 10:51:38 -!- entrix_ [~entrix@95-25-92-77.broadband.corbina.ru] has quit [Client Quit] 10:52:10 hagish [~hagish@p5DCBD72D.dip.t-dialin.net] has joined #lisp 10:52:59 -!- cyrillos [~cyrill@95-55-44-6.dynamic.avangarddsl.ru] has quit [Ping timeout: 245 seconds] 10:55:04 chenbing [~user@218.72.95.235] has joined #lisp 10:58:20 YuleAthas [~athas@130.225.165.40] has joined #lisp 10:59:13 daschel [~berner@p4FF8B790.dip.t-dialin.net] has joined #lisp 10:59:44 -!- oudeis [~oudeis@host86-163-112-218.range86-163.btcentralplus.com] has quit [Quit: This computer has gone to sleep] 11:00:54 hakzsam [~hakzsam@aqu33-5-82-245-96-206.fbx.proxad.net] has joined #lisp 11:01:13 Hi lispers 11:02:27 stassats: true, yet in those cases there may not be infinite loops :) 11:02:31 hellp chenbing 11:02:37 s/hellp/hello/ 11:02:44 (hellp chenbing) => false 11:03:45 -!- nitro_id_ [~nitro_idi@EM114-51-213-234.pool.e-mobile.ne.jp] has quit [Remote host closed the connection] 11:04:38 nitro_idiot [~nitro_idi@EM114-51-213-234.pool.e-mobile.ne.jp] has joined #lisp 11:04:48 -!- theos [~theos@unaffiliated/theos] has quit [Ping timeout: 248 seconds] 11:07:33 heavenp? 11:08:10 entrix [~entrix@95-25-92-77.broadband.corbina.ru] has joined #lisp 11:13:03 -!- nitro_idiot [~nitro_idi@EM114-51-213-234.pool.e-mobile.ne.jp] has quit [Remote host closed the connection] 11:13:08 stassats: (heavenp) => nill :hell 11:15:47 -!- Diaoer [~Diaoer@116.239.4.194] has quit [Quit: Leaving] 11:17:34 theos [~theos@unaffiliated/theos] has joined #lisp 11:18:54 -!- chromaticwt [~user@67-41-15-81.albq.qwest.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:20:22 nitro_idiot [~nitro_idi@EM114-51-213-234.pool.e-mobile.ne.jp] has joined #lisp 11:20:43 -!- ccorn [~ccorn@g132123.upc-g.chello.nl] has quit [Quit: ccorn] 11:21:15 Xach, By the way, from your ECLM talk, I think the highlight was when you said MAKUNBOUND 11:21:40 cyrillos [~cyrill@188.134.33.194] has joined #lisp 11:24:27 *madnificent* really likes Erik Naggum's writing style 11:25:00 jtza8 [~jtza8@iburst-41-213-88-186.iburst.co.za] has joined #lisp 11:25:30 do you say it "make unbound"? 11:26:33 funny. FMAKUNBOUND's pronunciation is standardized, but MAKUNBOUND's isn't. 11:26:55 Actually I think Xach said FMAKUNBOUND; I don't remember now. 11:27:01 stassats, no I don't 11:27:05 oh~~ 11:28:00 Yuuhi [benni@p5483B271.dip.t-dialin.net] has joined #lisp 11:30:47 -!- nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has quit [Quit: This computer has gone to sleep] 11:32:03 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 244 seconds] 11:37:39 (madp madnificent) ;=>T 11:37:54 oudeis [~oudeis@host-92-29-166-243.as13285.net] has joined #lisp 11:45:53 schoppenhauer [~christoph@unaffiliated/schoppenhauer] has joined #lisp 11:47:09 -!- ljos [~mozzyb@login1.uib.no] has quit [Ping timeout: 258 seconds] 11:48:26 ljos [~mozzyb@login1.uib.no] has joined #lisp 11:50:30 gensym` [~user@dslc-082-082-099-088.pools.arcor-ip.net] has joined #lisp 11:54:00 Guthur [~user@host86-168-209-168.range86-168.btcentralplus.com] has joined #lisp 11:57:09 ccorn [~ccorn@g132123.upc-g.chello.nl] has joined #lisp 11:57:13 jimmy1980 [~jimmy@119.179.55.72] has joined #lisp 11:58:29 -!- ccorn [~ccorn@g132123.upc-g.chello.nl] has quit [Client Quit] 12:06:30 -!- jimmy1980 [~jimmy@119.179.55.72] has quit [Ping timeout: 260 seconds] 12:06:43 Quadrescence: oh my 12:07:04 gffa [~gffa@unaffiliated/gffa] has joined #lisp 12:09:37 chromaticwt [~user@67-41-15-81.albq.qwest.net] has joined #lisp 12:12:13 -!- naryl [~weechat@188.134.95.93] has quit [Ping timeout: 240 seconds] 12:12:29 -!- iwillig [~ivan@ool-ad03c1a0.dyn.optonline.net] has quit [Ping timeout: 255 seconds] 12:13:03 -!- gensym` [~user@dslc-082-082-099-088.pools.arcor-ip.net] has quit [Remote host closed the connection] 12:13:33 pnq [~nick@172.130.223.88] has joined #lisp 12:15:12 xan_ [~xan@155.99.117.91.static.mundo-r.com] has joined #lisp 12:15:32 jimmy1980 [~jimmy@119.179.55.72] has joined #lisp 12:15:44 -!- tsuru` [~charlie@adsl-74-179-198-34.bna.bellsouth.net] has quit [Read error: Connection reset by peer] 12:16:40 tsuru` [~charlie@adsl-98-87-43-60.bna.bellsouth.net] has joined #lisp 12:17:58 simplechat [~simplecha@123-243-79-139.static.tpgi.com.au] has joined #lisp 12:17:58 -!- simplechat [~simplecha@123-243-79-139.static.tpgi.com.au] has quit [Changing host] 12:17:59 simplechat [~simplecha@unaffiliated/simplechat] has joined #lisp 12:25:44 -!- otakutomo [~otakutomo@KD027083117212.ppp-bb.dion.ne.jp] has quit [Read error: Connection reset by peer] 12:26:26 ivan-kan` [~user@nantes.visionobjects.com] has joined #lisp 12:27:51 -!- ivan-kanis [~user@89.83.137.164] has quit [Ping timeout: 244 seconds] 12:29:31 nonduality [~nondualit@chello084114039189.14.vie.surfer.at] has joined #lisp 12:32:16 pferor [~user@unaffiliated/pferor] has joined #lisp 12:33:57 -!- Vutral [~ss@vutral.net] has quit [Ping timeout: 244 seconds] 12:34:30 -!- jimmy1980 [~jimmy@119.179.55.72] has quit [Ping timeout: 260 seconds] 12:34:52 jimmy1980 [~jimmy@119.179.55.72] has joined #lisp 12:35:20 -!- ivan-kan` [~user@nantes.visionobjects.com] has quit [Ping timeout: 244 seconds] 12:37:35 -!- Jeanne-Kamikaze [~Jeanne-Ka@242.Red-88-24-175.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 12:38:46 xcv [~xcv@dsl-225-28.hive.is] has joined #lisp 12:39:05 -!- nitro_idiot [~nitro_idi@EM114-51-213-234.pool.e-mobile.ne.jp] has quit [Remote host closed the connection] 12:39:36 nitro_idiot [~nitro_idi@EM114-51-213-234.pool.e-mobile.ne.jp] has joined #lisp 12:39:48 Oddity [~Oddity@unaffiliated/oddity] has joined #lisp 12:40:17 Neronus: do you use shelisp? 12:40:51 -!- DaDaDosPrompt [~DaDaDosPr@75-163-225-197.clsp.qwest.net] has quit [Quit: DaDaDosPrompt] 12:42:41 nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has joined #lisp 12:42:54 -!- jtza8 [~jtza8@iburst-41-213-88-186.iburst.co.za] has quit [Ping timeout: 252 seconds] 12:43:16 DamienCassou [~cassou@fibz10.fh-potsdam.de] has joined #lisp 12:43:19 hi 12:43:46 is there an equivalent of #'boundp which also checks the lexical environment? 12:43:49 -!- nitro_idiot [~nitro_idi@EM114-51-213-234.pool.e-mobile.ne.jp] has quit [Ping timeout: 240 seconds] 12:44:48 bozhidar [~user@93-152-182-45.ddns.onlinedirect.bg] has joined #lisp 12:45:15 DamienCassou: no. 12:45:30 DamienCassou: How might you come to need such a function? 12:45:44 Xach: I'm doing crazy stuffs :-) 12:45:53 Any specifics? 12:46:52 Xach: is it possible to create a macro which tries to read a variable from its name and, if there is an exception it indicates that there is no variable with such name? 12:47:27 DamienCassou: check #'symbol-value and catch the respective error 12:47:33 Xach: I'm creating a reader-macro to simplify calling methods on objects in my OO language implemented in lisp. 12:49:28 though the spec says signal unbound-variable, which iirc indicates that a conforming implementation doesn't need to do it per se. 12:50:07 madnificent: How would that help? 12:50:25 madnificent: How is symbol-value involved? 12:50:29 ivan-kanis [~user@89.83.137.164] has joined #lisp 12:51:36 DamienCassou: if your macro expands into local functions, it can also expand into a local function that maintains or updates a structure that says whether a name is locally available as a function. 12:51:53 -!- hagish [~hagish@p5DCBD72D.dip.t-dialin.net] has quit [Quit: Leaving] 12:52:04 (defmacro myboundp (symbol) `(handler-case (progn (symbol-value ,symbol) t) (unbound-variable () nil))) 12:52:06 If you are doing ten crazy things already, what harm is eleven? 12:52:12 the previous macro doesn't work, any clue? 12:53:02 symbol-value is not involved with lexical variables. 12:53:30 Xach: argh, I think you are right 12:53:59 Xach: wait, symbol-value doesn't work on lexical variables? 12:54:43 Xach: you're right. DamienCassou: my bad. 12:54:43 madnificent: http://www.lispworks.com/documentation/HyperSpec/Body/f_symb_5.htm#symbol-value says no :;-( 12:55:05 DamienCassou: What does your high-level code look like? 12:55:08 -!- oudeis [~oudeis@host-92-29-166-243.as13285.net] has quit [Quit: This computer has gone to sleep] 12:55:38 to call methName on obj with params 12:55:49 to call methName on this with params 12:56:12 I want to distinguish between these two, but the more I work on it, the more it looks impossible :-) 12:56:28 nitro_idiot [~nitro_idi@EM114-51-238-100.pool.e-mobile.ne.jp] has joined #lisp 12:56:28 ? 12:56:31 (2 hours ago I had the intuition it was impossible, should have listened to me) 12:56:44 Xach: why not? I told you I was going crazy 12:56:49 I don't know, you're probably right not to listen to yourself. I think you might be crazy. 12:57:01 You might be out to get you. 12:57:04 accesses the instance variable of obj 12:57:20 DamienCassou: what compels you to implement an "OO language" in lisp? 12:57:24 are you aware of CLOS? 12:57:39 Ralith: sure I am. This is an exercise for me :-) 12:57:48 Xach: I will stop listening then 12:57:49 :-) 12:58:23 -!- pnq [~nick@172.130.223.88] has quit [Ping timeout: 255 seconds] 12:58:24 exercise languages are more fun when you build them from scratch 12:59:41 pnq [~nick@AC82DF58.ipt.aol.com] has joined #lisp 13:00:12 it seems to look like how racket does calls on objects, except it replaces the parenthesis with pointy brackets and 'send' with 'c' 13:00:22 Xach: I use a modified variant of it. I didn't like some of the things they had 13:00:33 Karl_H [~Karl_H@p5DE92CB9.dip.t-dialin.net] has joined #lisp 13:00:40 personally I prefer CLOS 13:04:11 can I use #'case for branching on a character? It looks like #'case uses #'eql and I can't make sense of the hyperspec for the difference with #'char= 13:04:13 ? 13:04:40 DamienCassou: 3. If they are both characters that represent the same character. 13:05:03 DamienCassou: yes, you can use case for branching on characters 13:05:33 Xach: I don't understand your first answer, but the second is crystal clear 13:05:44 chenbing` [~user@115.192.194.249] has joined #lisp 13:06:27 EQL returns true if its two arguments are characters and they represent the same character. 13:06:37 (eql *surely-a-character* *maybe-a-character*) ;; a typical use case where char= won't work 13:06:43 situ [~quassel@223.179.183.130] has joined #lisp 13:06:50 -!- situ [~quassel@223.179.183.130] has quit [Remote host closed the connection] 13:07:09 thanks to both of you 13:07:09 -!- chenbing [~user@218.72.95.235] has quit [Ping timeout: 245 seconds] 13:09:09 lanthan [ze@conference/bpt112/x-shfzwcqvdloupwzm] has joined #lisp 13:12:53 angavrilov: ping 13:13:18 nikodemus: hi 13:14:01 can you pull from git://github.com/nikodemus/cl-gpu.git ? vector-io package name is now sb-vector-io 13:14:19 naeg [~naeg@194.208.239.170] has joined #lisp 13:14:30 hi howto get current package and get the package of symbol directly? 13:14:35 -!- lanthan [ze@conference/bpt112/x-shfzwcqvdloupwzm] has quit [Ping timeout: 255 seconds] 13:14:38 *package* 13:14:57 (intern "NAME" "PACKAGE-NAME") 13:15:58 ;-) 13:16:33 also IMPORT 13:16:35 (let ((s (gensym))) (import s :cl-user) (values s (symbol-package s))) 13:20:13 -!- jimmy1980 [~jimmy@119.179.55.72] has quit [Ping timeout: 240 seconds] 13:20:59 jimmy1980 [~jimmy@112.224.2.54] has joined #lisp 13:24:56 Xach: Why do you ask? 13:25:23 -!- chenbing` [~user@115.192.194.249] has quit [Ping timeout: 255 seconds] 13:25:38 Xach: I don't see a shelisp in ql 13:26:27 Xach: If I would make an update of shelisp I would first port it to trivial-shell I guess. The trouble is, that not all implementation support stderr and stdout as separate streams 13:26:50 Xach: Another thing I would fix would be the parsing. It sometimes causes trouble 13:26:57 nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has joined #lisp 13:30:30 Neronus: Someone asked for it but i'm reluctant 13:34:14 gko [gko@220-135-201-90.HINET-IP.hinet.net] has joined #lisp 13:34:48 -!- pnq [~nick@AC82DF58.ipt.aol.com] has quit [Max SendQ exceeded] 13:36:22 pnq [~nick@AC82DF58.ipt.aol.com] has joined #lisp 13:41:02 moah [~gnu@dslb-178-009-098-098.pools.arcor-ip.net] has joined #lisp 13:41:51 jtza8 [~jtza8@iburst-41-213-88-186.iburst.co.za] has joined #lisp 13:42:08 -!- jtza8 [~jtza8@iburst-41-213-88-186.iburst.co.za] has quit [Remote host closed the connection] 13:42:55 -!- Dodek [dodek@nolajf.pl] has quit [Ping timeout: 258 seconds] 13:44:14 -!- nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 13:46:20 jewel [~jewel@196-209-248-92.dynamic.isadsl.co.za] has joined #lisp 13:46:32 -!- Karl_H [~Karl_H@p5DE92CB9.dip.t-dialin.net] has quit [Quit: Leaving.] 13:52:07 -!- Oddity [~Oddity@unaffiliated/oddity] has quit [Ping timeout: 240 seconds] 13:52:27 nikodemus [~nikodemus@GKMMMLVII.gprs.sl-laajakaista.fi] has joined #lisp 13:55:54 hello 13:57:03 could anyone help me to interpret "(p1 (find player board :test-not #'eql :start sq :end 19))" in http://paste.lisp.org/display/126250#3 13:57:04 welcome back l_r 13:57:31 l_r: you're using annotated pastes! great :D 13:57:34 i don't know the meaning of :test-not and :start 13:57:46 hello madnificent 13:57:58 l_r: see http://l1sp.org/cl/find 13:59:33 -!- nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has quit [Ping timeout: 244 seconds] 13:59:54 l_r: if you don't know the meaning of a standard thing, look it up in the CLHS. 13:59:56 l_r: p1 is the definition of a variable. test-not receives a function which is expected to yield nil when the item in the list board should be returned as the result. find starts searching from index sq and stops searching at index 19. more information in the clhs. 14:00:57 i thx 14:01:12 * thx 14:01:25 -!- newcup [newcup@peruna.fi] has quit [Ping timeout: 240 seconds] 14:01:40 l_r: it may help you to play around with find on the repl! just enter some test cases and you'll see what the results are, it'll likely give you some insights. 14:02:18 -!- pitlimit [~pitlimit@unaffiliated/pitlimit] has quit [Ping timeout: 244 seconds] 14:05:01 -!- sacho [~sacho@87-126-39-203.btc-net.bg] has quit [Ping timeout: 240 seconds] 14:05:13 Karl_H [~Karl_H@p5DE92CB9.dip.t-dialin.net] has joined #lisp 14:08:20 -!- tty234 [telex@gateway/shell/anapnea.net/x-sckofjbzpwwlrdul] has quit [Ping timeout: 252 seconds] 14:08:53 tty234 [telex@gateway/shell/anapnea.net/x-etigozmpctiggoku] has joined #lisp 14:09:37 Dodek [~dodek@nolajf.pl] has joined #lisp 14:10:04 -!- DamienCassou [~cassou@fibz10.fh-potsdam.de] has quit [Ping timeout: 245 seconds] 14:10:30 easy-iPad [~easyipad@213.47.71.36] has joined #lisp 14:12:02 sacho [~sacho@92-247-208-87.spectrumnet.bg] has joined #lisp 14:12:46 -!- Euthy` [~euthy@unaffiliated/euthydemus] has quit [Quit: leaving] 14:12:46 nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has joined #lisp 14:14:00 DamienCassou [~cassou@fibz10.fh-potsdam.de] has joined #lisp 14:14:41 -!- Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has quit [Quit: Quitte] 14:14:50 Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has joined #lisp 14:16:58 qfluid [~mzhang@108-66-116-155.lightspeed.sndgca.sbcglobal.net] has joined #lisp 14:17:35 -!- Beetny [~Beetny@ppp118-208-13-198.lns20.bne1.internode.on.net] has quit [Ping timeout: 255 seconds] 14:18:35 -!- Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has quit [Remote host closed the connection] 14:19:20 -!- DamienCassou [~cassou@fibz10.fh-potsdam.de] has quit [Ping timeout: 252 seconds] 14:20:00 Xach: Why are you reluctant? 14:20:25 -!- Kryztof [~user@81.174.155.115] has quit [Read error: Connection reset by peer] 14:20:34 Neronus: fwiw, it failed on me when i tried to use it. perhaps i did something wrong. 14:20:54 Jeanne-Kamikaze [~Jeanne-Ka@242.Red-88-24-175.staticIP.rima-tde.net] has joined #lisp 14:22:15 -!- naeg [~naeg@194.208.239.170] has quit [Read error: Operation timed out] 14:23:35 naeg [~naeg@194.208.239.170] has joined #lisp 14:24:22 Neronus: no system file, half-baked, sbcl-only 14:24:56 i'm reading CLHS 7.1.2 and don't quite grasp what i need to do to allow a new keyword argument for a slot. i quote "Initialization arguments that fill slots are declared as valid by the :initarg slot option to defclass." i'm not sure where i should start searching for more information. should i just declare a new metaclass for this and define the allowed slots that way? 14:25:31 madnificent: re-evaluate defclass with an extra :initarg? 14:25:33 the only thing i want to do is allow another initialization-argument for a specific slot so i can read it out later (as you can get the initialization arguments for a slot, that's not an issue) 14:25:46 (defclass foo () ((bar :initarg :bar :initarg :baz))) 14:25:58 ah, then i'm misinterpreting it 14:26:28 i wanted to be able to do something like (defclass foo () ((bar :my-key :some-symbol))) 14:27:05 oh, i see. yes, that is metaclass territory 14:27:36 it's not clear from chs if end is included in the search 14:27:53 closer-mop it is. there's no simpler way than declaring a new metaclass, right? the metaclass itself will not contain any new information afaict. 14:29:04 l_r: http://l1sp.org/cl/glossary/bound 14:29:19 sorry: 14:29:21 l_r: http://l1sp.org/cl/glossary/bounded 14:29:48 clear there thx 14:29:51 -!- jiacobucci [~jiacobucc@gw-asdl.ae.gatech.edu] has quit [Quit: Leaving.] 14:30:01 l_r: and a bit lower you see the meaning for nil as well (length sequence) 14:30:04 jiacobucci [~jiacobucc@gw-asdl.ae.gatech.edu] has joined #lisp 14:30:29 -!- daschel [~berner@p4FF8B790.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 14:31:47 -!- nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has quit [Ping timeout: 252 seconds] 14:32:26 -!- bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has quit [Quit: leaving] 14:33:49 -!- rsynnott [rsynnott@spoon.netsoc.tcd.ie] has quit [Ping timeout: 245 seconds] 14:34:34 rsynnott [rsynnott@spoon.netsoc.tcd.ie] has joined #lisp 14:36:51 Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has joined #lisp 14:39:05 iwillig [~ivan@ool-ad03c1a0.dyn.optonline.net] has joined #lisp 14:43:00 nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has joined #lisp 14:43:27 aargh. slime broken on sbcl/darwin :( 14:43:33 im trying to create a file during compilation-time: http://paste.lisp.org/display/126260 14:44:03 but it does nothing 14:45:09 -!- phax [~phax@unaffiliated/phax] has quit [Read error: Connection reset by peer] 14:45:34 lars_t_h [~lars_t_h@2.129.215.69] has joined #lisp 14:48:05 -!- nicdev [~user@c-76-24-21-219.hsd1.ma.comcast.net] has quit [Ping timeout: 260 seconds] 14:50:24 -!- pferor [~user@unaffiliated/pferor] has quit [Ping timeout: 248 seconds] 14:50:45 nikodemus: should be fixed though right? i thought stassats committed a fix last night. 14:51:53 hm. is there something that will had quickload to the slime commands? 14:51:57 add 14:52:27 -!- iwillig [~ivan@ool-ad03c1a0.dyn.optonline.net] has quit [Quit: leaving] 14:53:55 dlowe: like defslime-repl-shortcut ? 14:54:42 -!- nonduality [~nondualit@chello084114039189.14.vie.surfer.at] has quit [Quit: Client Quit] 14:54:50 daimrod: I thought there might be something includable, requireable, or enableable 14:56:11 _pw_ [~user@119.57.24.19] has joined #lisp 14:56:22 Xach: nope 14:56:41 he possibly fixed it somewhere, but definitely not here 15:00:06 ISF [~ivan@201.82.172.81] has joined #lisp 15:00:35 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 15:00:40 dlowe: afaik the answer is no. 15:00:55 -!- pnq [~nick@AC82DF58.ipt.aol.com] has quit [Ping timeout: 260 seconds] 15:01:05 pchrist [~spirit@gentoo/developer/pchrist] has joined #lisp 15:03:58 is Not(NIL) true? 15:04:12 i have this condition ((and (eql p1 opp) (eql p2 opp) 15:04:12 (find empty board :start 11 :end 19)) 15:04:36 (not nil) => T 15:04:45 ok thx 15:05:21 IMHO it's a very strange logic :) 15:05:22 Houl [~Miranda@unaffiliated/houl] has joined #lisp 15:06:35 no stranger than having !0 -> some arbitrary non-zero value 15:06:49 and what about if (!NULL) { printf("true"); } 15:08:20 pchrist_ [~spirit@gentoo/developer/pchrist] has joined #lisp 15:09:10 what language? !0 is 1 15:09:29 l_r: in C, it's not necessarily 1 15:09:30 Depends on the implementation. It's often -1. 15:09:46 And sometimes 255. 15:11:02 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Ping timeout: 252 seconds] 15:11:19 -!- theos [~theos@unaffiliated/theos] has quit [Ping timeout: 245 seconds] 15:11:21 nikodemus: is it SLIME from today's CVS that is broken on darwin? 15:11:51 nikodemus: and how is it broken? 15:12:30 (if it's some older slime, please disregard) 15:12:31 naryl [~weechat@188.134.95.93] has joined #lisp 15:14:19 pferor [~user@unaffiliated/pferor] has joined #lisp 15:21:04 !0 is necessarily 1 in C. 15:23:55 ramkrsna [~ramkrsna@unaffiliated/ramkrsna] has joined #lisp 15:24:17 If you have observed anything else, you were not using a C compiler. :) 15:25:12 A recent C compiler. It wasn't necessarily 1 in older standards. 15:25:23 there were not-quite-ANSI C compilers for embedded targets, some of them may be still around.. 15:26:59 There are no C standards for which it is not required to be 1. 15:27:18 -!- duomo [~duomo@cpe-69-204-168-98.nycap.res.rr.com] has quit [Quit: Linkinus - http://linkinus.com] 15:28:14 oudeis [~oudeis@host109-150-73-67.range109-150.btcentralplus.com] has joined #lisp 15:29:47 nialo` [~nialo@ool-182d5684.dyn.optonline.net] has joined #lisp 15:32:39 -!- nialo`` [nialo@ool-182d5684.dyn.optonline.net] has quit [Ping timeout: 252 seconds] 15:35:41 DamienCassou [~cassou@fibz10.fh-potsdam.de] has joined #lisp 15:36:16 -!- simplechat [~simplecha@unaffiliated/simplechat] has quit [Remote host closed the connection] 15:36:46 Joreji [~thomas@vpn-ho1.unidsl.de] has joined #lisp 15:37:31 -!- Karl_H [~Karl_H@p5DE92CB9.dip.t-dialin.net] has quit [Quit: Leaving.] 15:38:45 -!- YuleAthas [~athas@130.225.165.40] has quit [Remote host closed the connection] 15:39:50 -!- ramkrsna [~ramkrsna@unaffiliated/ramkrsna] has quit [Read error: Operation timed out] 15:40:00 akovalenko: fixed now 15:40:26 pizzledizzle [~pizdets@cpe-74-64-109-53.nyc.res.rr.com] has joined #lisp 15:40:42 akovalenko: no os-provides-poll on darwin, and not-on-windows-and-no-os-provides-poll was completely broken 15:47:19 vrook [~girondist@c-24-91-141-42.hsd1.ma.comcast.net] has joined #lisp 15:48:47 -!- dlowe [~dlowe@digital.sanctuary.org] has quit [Quit: ZNC - http://znc.sourceforge.net] 15:50:21 -!- homie` [~levgue@xdsl-78-35-143-4.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:50:47 dlowe [~dlowe@digital.sanctuary.org] has joined #lisp 15:51:32 -!- ramusara [~ramusara@220.156.210.236.user.e-catv.ne.jp] has quit [Quit: Leaving...] 15:53:13 nialo`` [~nialo@ool-182d5684.dyn.optonline.net] has joined #lisp 15:54:00 -!- Joreji [~thomas@vpn-ho1.unidsl.de] has quit [Ping timeout: 244 seconds] 15:55:35 Joreji [~thomas@u-0-041.vpn.RWTH-Aachen.DE] has joined #lisp 16:00:55 -!- mon_key [~user@unaffiliated/monkey/x-267253] has quit [Read error: No route to host] 16:01:09 mon_key [~user@unaffiliated/monkey/x-267253] has joined #lisp 16:05:55 -!- lnostdal_ [~lnostdal@212.79-161-132.customer.lyse.net] has quit [Quit: Leaving] 16:06:10 Karl_H [~Karl_H@p5DE92CB9.dip.t-dialin.net] has joined #lisp 16:07:46 -!- bozhidar [~user@93-152-182-45.ddns.onlinedirect.bg] has quit [Remote host closed the connection] 16:09:59 theos [~theos@unaffiliated/theos] has joined #lisp 16:14:27 -!- nikodemus [~nikodemus@GKMMMLVII.gprs.sl-laajakaista.fi] has quit [Quit: This computer has gone to sleep] 16:14:27 -!- naeg [~naeg@194.208.239.170] has quit [Quit: WeeChat 0.3.6] 16:15:50 -!- spearalot [~spearalot@c83-248-140-186.bredband.comhem.se] has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/] 16:21:30 lnostdal_ [~lnostdal@212.79-161-132.customer.lyse.net] has joined #lisp 16:25:37 -!- teggi [~teggi@123.20.50.48] has quit [Remote host closed the connection] 16:27:11 nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has joined #lisp 16:27:19 Whitesquall [~notwhites@94.242.143.130] has joined #lisp 16:29:17 -!- vrook [~girondist@c-24-91-141-42.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 16:29:17 -!- hakzsam [~hakzsam@aqu33-5-82-245-96-206.fbx.proxad.net] has quit [Read error: Connection reset by peer] 16:29:39 hakzsam [~hakzsam@aqu33-5-82-245-96-206.fbx.proxad.net] has joined #lisp 16:31:18 Kron_ [~Kron@69.166.20.102] has joined #lisp 16:32:54 -!- DamienCassou [~cassou@fibz10.fh-potsdam.de] has left #lisp 16:32:56 -!- rotty [rotty@de.xx.vu] has quit [Ping timeout: 260 seconds] 16:33:04 rotty [rotty@de.xx.vu] has joined #lisp 16:33:18 ramkrsna [~ramkrsna@122.169.78.180] has joined #lisp 16:33:18 -!- ramkrsna [~ramkrsna@122.169.78.180] has quit [Changing host] 16:33:18 ramkrsna [~ramkrsna@unaffiliated/ramkrsna] has joined #lisp 16:39:11 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 16:40:01 Oddity [~Oddity@unaffiliated/oddity] has joined #lisp 16:47:44 -!- nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has quit [Ping timeout: 244 seconds] 16:50:08 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 16:54:42 homie [~levgue@xdsl-78-35-137-148.netcologne.de] has joined #lisp 16:56:13 -!- Joreji [~thomas@u-0-041.vpn.RWTH-Aachen.DE] has quit [Ping timeout: 240 seconds] 16:57:17 nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has joined #lisp 16:58:05 -!- killerboy [~mateusz@users69.kollegienet.dk] has quit [Ping timeout: 252 seconds] 17:02:08 -!- nitro_idiot [~nitro_idi@EM114-51-238-100.pool.e-mobile.ne.jp] has quit [Ping timeout: 252 seconds] 17:04:15 -!- dlowe [~dlowe@digital.sanctuary.org] has quit [Quit: ZNC - http://znc.sourceforge.net] 17:05:53 dlowe [~dlowe@digital.sanctuary.org] has joined #lisp 17:06:42 -!- easy-iPad [~easyipad@213.47.71.36] has quit [Remote host closed the connection] 17:08:09 -!- lemoinem [~swoog@216.252.78.158] has quit [Remote host closed the connection] 17:08:28 lemoinem [~swoog@201-73-252-216.dsl.colba.net] has joined #lisp 17:08:29 realitygrill [~realitygr@76.226.204.215] has joined #lisp 17:08:48 -!- pchrist_ [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 17:09:21 pchrist [~spirit@gentoo/developer/pchrist] has joined #lisp 17:15:03 pnathan [~Adium@98.145.116.190] has joined #lisp 17:15:15 -!- nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has quit [Quit: This computer has gone to sleep] 17:15:24 killerboy [~mateusz@users69.kollegienet.dk] has joined #lisp 17:15:27 -!- Jeanne-Kamikaze [~Jeanne-Ka@242.Red-88-24-175.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 17:15:42 easy-iPad [~easyipad@213.47.71.36] has joined #lisp 17:17:19 nitro_idiot [~nitro_idi@EM114-51-182-53.pool.e-mobile.ne.jp] has joined #lisp 17:17:49 -!- jimmy1980 [~jimmy@112.224.2.54] has quit [Ping timeout: 240 seconds] 17:20:46 gigamonkey [~user@adsl-99-24-216-238.dsl.pltn13.sbcglobal.net] has joined #lisp 17:21:14 osa1 [~sinan@141.196.122.32] has joined #lisp 17:23:46 nonduality [~nondualit@chello084114039189.14.vie.surfer.at] has joined #lisp 17:25:23 -!- easy-iPad [~easyipad@213.47.71.36] has quit [Quit: Outta here?] 17:25:47 jimmy1980 [~jimmy@112.224.3.44] has joined #lisp 17:26:32 -!- Karl_H [~Karl_H@p5DE92CB9.dip.t-dialin.net] has quit [Quit: Leaving.] 17:27:44 EmmanuelOga [~emmanuel@190.244.19.108] has joined #lisp 17:27:49 jacius [~jacius@c-24-13-89-230.hsd1.il.comcast.net] has joined #lisp 17:33:06 -!- theos [~theos@unaffiliated/theos] has quit [Ping timeout: 244 seconds] 17:36:49 -!- entrix [~entrix@95-25-92-77.broadband.corbina.ru] has quit [Remote host closed the connection] 17:46:45 theos [~theos@unaffiliated/theos] has joined #lisp 17:50:21 leo2007 [~leo@120.33.3.111] has joined #lisp 17:51:02 RomyEatsDrupal [~stickycak@ool-ade563e0.dyn.optonline.net] has joined #lisp 17:51:20 -!- jimmy1980 [~jimmy@112.224.3.44] has quit [Ping timeout: 260 seconds] 17:51:44 jimmy1980 [~jimmy@112.224.3.44] has joined #lisp 17:53:40 -!- slash_ [~unknown@p54A8FCA5.dip.t-dialin.net] has left #lisp 17:53:41 -!- RomyEatsDrupal [~stickycak@ool-ade563e0.dyn.optonline.net] has quit [Client Quit] 17:54:07 stratobacker [~user@c-98-202-137-87.hsd1.ut.comcast.net] has joined #lisp 17:54:21 Jeanne-Kamikaze [~Jeanne-Ka@242.Red-88-24-175.staticIP.rima-tde.net] has joined #lisp 17:55:09 -!- ivan-kanis [~user@89.83.137.164] has quit [Remote host closed the connection] 17:57:25 bege [~bege@S0106001d7e5132b0.ed.shawcable.net] has joined #lisp 17:58:47 -!- jimmy1980 [~jimmy@112.224.3.44] has quit [Ping timeout: 252 seconds] 18:02:13 -!- Guthur [~user@host86-168-209-168.range86-168.btcentralplus.com] has quit [Remote host closed the connection] 18:02:18 drwho [~drwho@c-68-81-125-196.hsd1.pa.comcast.net] has joined #lisp 18:04:43 jimmy1980 [~jimmy@112.224.3.44] has joined #lisp 18:04:48 -!- _pw_ [~user@119.57.24.19] has quit [Remote host closed the connection] 18:08:25 whare is round in chls? 18:10:14 l_r: http://www.lispworks.com/documentation/HyperSpec/Front/X_Master.htm 18:10:15 l_r: http://lispdoc.com/ 18:10:17 http://l1sp.org/cl/round , and 12.2 18:10:33 do overlows exist in lisp? 18:11:00 Assuming you mean overflow, not with integers. 18:11:08 But floats can. 18:11:17 what happens with integers? 18:11:31 when a sum overflows for example 18:11:46 It doesn't. You get the mathematical answer. 18:12:26 -!- qfluid [~mzhang@108-66-116-155.lightspeed.sndgca.sbcglobal.net] has quit [Quit: Ex-Chat] 18:13:13 l_r: the number is converted to a bignum, which can be arbitrarily big 18:13:30 :D 18:13:36 i see 18:13:51 what a pain..i have to handle this case too 18:14:18 l_r: yeah, it's a shame that lisp is a good language! you definately shouldn't be using it for real! 18:15:29 l_r: Are you still trying to port Norvig's othello code to C? 18:16:13 jacius, part of it 18:17:38 l_r: some parts use runtime generation of functions to create a strategy, that's going to be hard to make work in C 18:18:02 i have almost done 18:18:26 -!- nitro_idiot [~nitro_idi@EM114-51-182-53.pool.e-mobile.ne.jp] has quit [Remote host closed the connection] 18:18:27 -!- Kron_ [~Kron@69.166.20.102] has quit [Quit: Kron awayyy!] 18:18:34 i have to handle overflows and scale/rework some results 18:18:56 what kind of overflows do you get on an 8x8 board? 18:19:21 they are in the evalutation function 18:19:31 askatasuna [~askatasun@190.190.39.231] has joined #lisp 18:19:34 -!- chromaticwt [~user@67-41-15-81.albq.qwest.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:21:52 zmv [~zmv@189.120.173.189] has joined #lisp 18:22:03 oh, I see them, he did use rather large numbers there. Can you use gmp? Or are you just going to scale down? (or convert to double should do fine) 18:22:51 i am going to scale, i don't want to use any external libs 18:25:35 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 18:27:26 -!- zmv [~zmv@189.120.173.189] has quit [Ping timeout: 260 seconds] 18:27:50 pers [~user@96-25-162-104.gar.clearwire-wmx.net] has joined #lisp 18:28:39 -!- jimmy1980 [~jimmy@112.224.3.44] has quit [Ping timeout: 252 seconds] 18:33:49 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 18:34:43 jimmy1980 [~jimmy@112.224.3.44] has joined #lisp 18:35:18 -!- oudeis [~oudeis@host109-150-73-67.range109-150.btcentralplus.com] has quit [Quit: This computer has gone to sleep] 18:36:08 -!- Demosthenes [~demo@206.180.155.43.adsl.hal-pc.org] has quit [Ping timeout: 244 seconds] 18:38:12 Xach: I could take care of those, if you are interested 18:42:24 Guthur [~user@host86-168-209-168.range86-168.btcentralplus.com] has joined #lisp 18:45:20 -!- jimmy1980 [~jimmy@112.224.3.44] has quit [Ping timeout: 255 seconds] 18:46:00 dto [~dto@pool-96-252-62-35.bstnma.fios.verizon.net] has joined #lisp 18:46:28 jimmy1980 [~jimmy@112.224.3.44] has joined #lisp 18:47:11 -!- pferor [~user@unaffiliated/pferor] has quit [Remote host closed the connection] 18:47:19 the source has trailing ) on their own lines. Some of them. Sometimes several at a time. With varying indentation. So there are liability issues: the usual "not our problem if this program sets you on fire" clause may fail in court. 18:47:22 pferor [~user@unaffiliated/pferor] has joined #lisp 18:53:19 Demosthenes [~demo@206.180.155.43.adsl.hal-pc.org] has joined #lisp 18:53:44 chp [~user@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU] has joined #lisp 18:54:20 Guthur` [~user@host86-135-204-43.range86-135.btcentralplus.com] has joined #lisp 18:56:54 -!- Guthur [~user@host86-168-209-168.range86-168.btcentralplus.com] has quit [Ping timeout: 244 seconds] 19:01:09 Kron_ [~Kron@129-97-120-22.uwaterloo.ca] has joined #lisp 19:01:11 waltwhite [~waltwhite@113-9-190-109.dsl.ovh.fr] has joined #lisp 19:02:01 -!- waltwhite [~waltwhite@113-9-190-109.dsl.ovh.fr] has quit [Client Quit] 19:02:21 waltwhite [~waltwhite@113-9-190-109.dsl.ovh.fr] has joined #lisp 19:06:19 hmm 19:06:25 i tested it 19:07:20 the game finished draw this engine vs another one 19:08:35 Karl_H [~Karl_H@p5DE92CB9.dip.t-dialin.net] has joined #lisp 19:09:02 -!- samebchase [~samuel@76.73.121.203] has quit [Ping timeout: 244 seconds] 19:09:35 samebchase [~samuel@76.73.121.203] has joined #lisp 19:12:16 -!- pferor [~user@unaffiliated/pferor] has quit [Ping timeout: 248 seconds] 19:16:54 xcv_ [~xcv@dsl-225-28.hive.is] has joined #lisp 19:18:51 -!- xcv [~xcv@dsl-225-28.hive.is] has quit [Ping timeout: 244 seconds] 19:20:38 -!- nialo`` [~nialo@ool-182d5684.dyn.optonline.net] has quit [Ping timeout: 258 seconds] 19:20:44 -!- nialo` [~nialo@ool-182d5684.dyn.optonline.net] has quit [Ping timeout: 252 seconds] 19:23:34 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 19:24:02 -!- jimmy1980 [~jimmy@112.224.3.44] has quit [Ping timeout: 255 seconds] 19:25:46 nialo` [nialo@ool-182d5684.dyn.optonline.net] has joined #lisp 19:26:37 nialo`` [~nialo@ool-182d5684.dyn.optonline.net] has joined #lisp 19:27:35 RomyEatsDrupal [~stickycak@dyn-209-2-229-92.dyn.columbia.edu] has joined #lisp 19:28:02 -!- nonduality [~nondualit@chello084114039189.14.vie.surfer.at] has quit [Remote host closed the connection] 19:28:09 -!- RomyEatsDrupal [~stickycak@dyn-209-2-229-92.dyn.columbia.edu] has quit [Client Quit] 19:29:04 RomyEatsDrupal [~stickycak@dyn-209-2-229-92.dyn.columbia.edu] has joined #lisp 19:29:16 jimmy1980 [~jimmy@112.224.3.44] has joined #lisp 19:31:18 -!- RomyEatsDrupal [~stickycak@dyn-209-2-229-92.dyn.columbia.edu] has quit [Client Quit] 19:31:30 -!- Guthur` [~user@host86-135-204-43.range86-135.btcentralplus.com] has quit [Remote host closed the connection] 19:31:48 -!- Whitesquall [~notwhites@94.242.143.130] has quit [Read error: Connection reset by peer] 19:31:53 RomyEatsDrupal [~stickycak@dyn-209-2-229-92.dyn.columbia.edu] has joined #lisp 19:32:20 Whitesquall [~notwhites@212.106.51.222] has joined #lisp 19:32:37 -!- RomyEatsDrupal [~stickycak@dyn-209-2-229-92.dyn.columbia.edu] has quit [Client Quit] 19:33:47 nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has joined #lisp 19:35:07 Zhivago: theory vs practice. Though I suspect that all of them return 1 now 19:36:11 -!- jasom [~aidenn@ip72-194-213-200.sb.sd.cox.net] has quit [Ping timeout: 255 seconds] 19:39:41 -!- benny [~benny@i577A31B2.versanet.de] has quit [Ping timeout: 244 seconds] 19:41:45 -!- samebchase [~samuel@76.73.121.203] has quit [Ping timeout: 244 seconds] 19:42:01 RomyEatsDrupal [~stickycak@dyn-209-2-229-92.dyn.columbia.edu] has joined #lisp 19:42:56 samebchase [~samuel@76.73.121.203] has joined #lisp 19:47:45 entrix_ [~entrix@93-80-246-108.broadband.corbina.ru] has joined #lisp 19:48:14 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 20:02:09 -!- ramkrsna [~ramkrsna@unaffiliated/ramkrsna] has quit [Remote host closed the connection] 20:02:37 -!- klltkr [~klltkr@dsl78-143-210-29.in-addr.fast.co.uk] has quit [Quit: Lost terminal] 20:03:17 benny [~benny@i577A3329.versanet.de] has joined #lisp 20:03:47 -!- RomyEatsDrupal is now known as Romy-AFK 20:06:47 -!- nialo` [nialo@ool-182d5684.dyn.optonline.net] has quit [Ping timeout: 255 seconds] 20:07:09 -!- schme [~marcus@sxemacs/devel/schme] has quit [K-Lined] 20:07:56 -!- nialo`` [~nialo@ool-182d5684.dyn.optonline.net] has quit [Ping timeout: 244 seconds] 20:09:19 -!- xan_ [~xan@155.99.117.91.static.mundo-r.com] has quit [Ping timeout: 258 seconds] 20:10:34 -!- askatasuna [~askatasun@190.190.39.231] has quit [Quit: WeeChat 0.3.6] 20:11:35 -!- mindCrime [~chatzilla@cpe-076-182-089-009.nc.res.rr.com] has quit [Read error: Operation timed out] 20:12:08 -!- _nix001 [~Adium@222.65.231.123] has quit [Quit: Leaving.] 20:12:57 Pomo [~Pomo@192.188.108.71] has joined #lisp 20:14:02 anvandare [~anvandare@78-22-149-49.access.telenet.be] has joined #lisp 20:14:11 _nix00 [~Adium@222.65.231.123] has joined #lisp 20:15:44 -!- _nix00 [~Adium@222.65.231.123] has quit [Client Quit] 20:17:09 -!- gravicappa [~gravicapp@ppp91-77-177-157.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 20:19:23 _nix00 [~Adium@222.65.231.123] has joined #lisp 20:27:04 lolsuper_ [~super_@pool-173-65-194-148.tampfl.fios.verizon.net] has joined #lisp 20:27:04 -!- lolsuper_ [~super_@pool-173-65-194-148.tampfl.fios.verizon.net] has quit [Changing host] 20:27:04 lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has joined #lisp 20:28:22 -!- lolsuper_ [~super_@unaffiliated/lolsuper-/x-9881387] has quit [Client Quit] 20:31:42 -!- gko [gko@220-135-201-90.HINET-IP.hinet.net] has quit [Remote host closed the connection] 20:32:48 -!- jewel [~jewel@196-209-248-92.dynamic.isadsl.co.za] has quit [Ping timeout: 248 seconds] 20:33:51 -!- s0ber [~s0ber@114-36-234-198.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 20:35:13 -!- lars_t_h [~lars_t_h@2.129.215.69] has quit [Quit: Leaving] 20:35:40 s0ber [~s0ber@114-36-235-251.dynamic.hinet.net] has joined #lisp 20:38:08 -!- ThePawnBreak [~quassel@94.177.108.25] has quit [Ping timeout: 248 seconds] 20:40:50 pitlimit [~pitlimit@dyn-160-39-55-94.dyn.columbia.edu] has joined #lisp 20:40:50 -!- pitlimit [~pitlimit@dyn-160-39-55-94.dyn.columbia.edu] has quit [Changing host] 20:40:50 pitlimit [~pitlimit@unaffiliated/pitlimit] has joined #lisp 20:46:00 oudeis [~oudeis@92.40.253.207.threembb.co.uk] has joined #lisp 20:46:21 does anyone know why editing a file in clim-listener in sbcl does open the file for editing in climacs but not in cmucl ? 20:46:57 -!- nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has quit [Ping timeout: 244 seconds] 20:47:18 -!- oudeis [~oudeis@92.40.253.207.threembb.co.uk] has quit [Client Quit] 20:48:44 -!- angavrilov [~angavrilo@217.71.227.181] has quit [Ping timeout: 252 seconds] 20:50:44 -!- hakzsam [~hakzsam@aqu33-5-82-245-96-206.fbx.proxad.net] has quit [Remote host closed the connection] 20:50:45 pferor [~user@unaffiliated/pferor] has joined #lisp 20:53:05 askatasuna [~askatasun@190.190.39.231] has joined #lisp 20:58:50 -!- waltwhite [~waltwhite@113-9-190-109.dsl.ovh.fr] has left #lisp 20:59:22 -!- askatasuna [~askatasun@190.190.39.231] has quit [Quit: WeeChat 0.3.6] 20:59:35 syddraf [~syddraf@129.59.115.2] has joined #lisp 20:59:50 Does anyone know of a lisp obfuscator? 21:00:01 It's too easy to obfuscate lisp. 21:00:18 It's true. 21:00:23 It's already obfuscated. =P 21:00:46 You shouldn't require any assistance then. 21:02:48 Guthur [~user@host86-135-204-43.range86-135.btcentralplus.com] has joined #lisp 21:03:05 zennit [4e91481e@gateway/web/freenode/ip.78.145.72.30] has joined #lisp 21:03:30 -!- Karl_H [~Karl_H@p5DE92CB9.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 21:03:42 -!- chp [~user@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU] has quit [Remote host closed the connection] 21:04:35 -!- gniourf_gniourf is now known as Gymnopediste 21:09:34 dabl [~db@unaffiliated/dabl] has joined #lisp 21:10:03 herdrick [~herdrick@c-69-181-208-149.hsd1.ca.comcast.net] has joined #lisp 21:10:18 -!- ASau [~user@89-178-114-2.broadband.corbina.ru] has quit [Remote host closed the connection] 21:10:47 ASau [~user@95-25-186-18.broadband.corbina.ru] has joined #lisp 21:11:13 me345 [~me345@adsl-75-15-183-164.dsl.bkfd14.sbcglobal.net] has joined #lisp 21:14:45 -!- pitlimit [~pitlimit@unaffiliated/pitlimit] has quit [Ping timeout: 244 seconds] 21:21:29 -!- sacho [~sacho@92-247-208-87.spectrumnet.bg] has quit [Ping timeout: 255 seconds] 21:24:19 syddraf: just use any executable obfuscator, then weep when you find out it broke something? 21:25:21 -!- _nix00 [~Adium@222.65.231.123] has quit [Quit: Leaving.] 21:26:24 Fair point, p_l. 21:29:28 Kryztof [~user@81.174.155.115] has joined #lisp 21:29:38 syddraf: also, why do you want to use an obfuscator? 21:30:37 p_l: Mostly curious as to what obfuscated lisp code would look like. 21:34:16 syddraf: macroexpand everything 21:34:38 -!- herdrick [~herdrick@c-69-181-208-149.hsd1.ca.comcast.net] has quit [Quit: herdrick] 21:35:00 sacho [~sacho@87-126-39-203.btc-net.bg] has joined #lisp 21:35:21 C-c M-m in slime 21:35:43 syddraf: well, depends on what you're actually obfuscating 21:35:58 you can make a new dialect on top of CL, for example 21:36:22 alas, it's not rare to have dumpable but unreadable objects after macroexpanding everything 21:37:24 GrayMagiker [~steve@c-174-56-88-247.hsd1.nm.comcast.net] has joined #lisp 21:37:54 *akovalenko* frequently wishes SBCL had no unreadable stuff after expanding SB-ALIEN things 21:38:29 pitlimit [~pitlimit@dyn-160-39-55-94.dyn.columbia.edu] has joined #lisp 21:38:29 -!- pitlimit [~pitlimit@dyn-160-39-55-94.dyn.columbia.edu] has quit [Changing host] 21:38:29 pitlimit [~pitlimit@unaffiliated/pitlimit] has joined #lisp 21:38:51 oudeis [~oudeis@cpc2-sgyl14-0-0-cust230.sgyl.cable.virginmedia.com] has joined #lisp 21:39:53 -!- pnathan [~Adium@98.145.116.190] has quit [Quit: Leaving.] 21:45:29 daschel [~berner@p4FF8B790.dip.t-dialin.net] has joined #lisp 21:53:10 -!- Jeanne-Kamikaze [~Jeanne-Ka@242.Red-88-24-175.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 21:54:51 sepok [~user@d83-183-51-82.cust.tele2.se] has joined #lisp 21:56:20 nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has joined #lisp 21:56:21 Jeanne-Kamikaze [~Jeanne-Ka@242.Red-88-24-175.staticIP.rima-tde.net] has joined #lisp 21:57:34 mindCrime [~chatzilla@24.106.207.82] has joined #lisp 21:57:43 oudeis_ [~oudeis@92.40.253.207.threembb.co.uk] has joined #lisp 21:59:32 -!- oudeis [~oudeis@cpc2-sgyl14-0-0-cust230.sgyl.cable.virginmedia.com] has quit [Ping timeout: 244 seconds] 22:04:10 pnathan [~Adium@64.126.142.148] has joined #lisp 22:04:25 nikodemus: re slime-devel question: if you disable and reenable font-lock-mode in slime REPL buffer when you already have non-nil local font-lock[-syntactic]-keywords, you'll probably see it fontified/propertized (with some unfortunate side effects that I won't explain 'cause you'll see them immediately) 22:04:49 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [] 22:05:13 -!- syddraf [~syddraf@129.59.115.2] has quit [Quit: Leaving] 22:06:44 nikodemus: font-lock & slime-repl interaction is a big can of worms. I have some ideas about it, and some pieces of code as well (the code is not ready for public consumption yet, but at least I'm likely to know the answer why is not working in that area now). 22:07:41 -!- osa1 [~sinan@141.196.122.32] has quit [Remote host closed the connection] 22:07:56 ..some important things to inspect: parse-sexp-lookup-properties, after-change-functions, font-lock-support-mode 22:08:26 *Xach* sticks with November slime for now 22:08:39 herdrick [~herdrick@c-69-181-208-149.hsd1.ca.comcast.net] has joined #lisp 22:12:42 Vicfred [~Vicfred@189.143.87.123] has joined #lisp 22:13:50 -!- dabl [~db@unaffiliated/dabl] has quit [Quit: leaving] 22:16:50 -!- entrix_ [~entrix@93-80-246-108.broadband.corbina.ru] has quit [Remote host closed the connection] 22:17:21 -!- cyrillos [~cyrill@188.134.33.194] has quit [Ping timeout: 258 seconds] 22:20:13 -!- Gymnopediste [~Gniourf@2a01:e35:2433:3b90:222:41ff:fe23:8d8e] has quit [Ping timeout: 240 seconds] 22:21:23 Gymnopediste [~Gniourf@2a01:e35:2433:3b90:222:41ff:fe23:8d8e] has joined #lisp 22:21:47 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 22:23:25 ikki [~ikki@189.247.132.143] has joined #lisp 22:24:16 -!- akovalenko [~akovalenk@95.73.50.180] has quit [Ping timeout: 248 seconds] 22:25:28 -!- howeyc [~howeyc@2607:f2f8:a958::2] has quit [Quit: leaving] 22:26:05 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [Ping timeout: 252 seconds] 22:26:13 stassats [~stassats@wikipedia/stassats] has joined #lisp 22:26:38 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 22:27:44 howeyc [~howeyc@2607:f2f8:a958::2] has joined #lisp 22:29:49 -!- Whitesquall [~notwhites@212.106.51.222] has quit [Read error: Connection reset by peer] 22:29:49 -!- oudeis_ [~oudeis@92.40.253.207.threembb.co.uk] has quit [Read error: Connection reset by peer] 22:30:07 Whitesquall [~notwhites@212.106.51.222] has joined #lisp 22:30:31 -!- daschel [~berner@p4FF8B790.dip.t-dialin.net] has quit [Quit: Leaving] 22:31:02 MrBusiness [~MrBusines@75-163-225-197.clsp.qwest.net] has joined #lisp 22:31:06 oudeis_ [~oudeis@cpc2-sgyl14-0-0-cust230.sgyl.cable.virginmedia.com] has joined #lisp 22:36:25 -!- killerboy [~mateusz@users69.kollegienet.dk] has quit [Quit: leaving] 22:37:45 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [Read error: Operation timed out] 22:39:30 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #lisp 22:40:16 -!- samebchase [~samuel@76.73.121.203] has quit [Ping timeout: 248 seconds] 22:40:21 -!- kidfoo [~neena@unaffiliated/neenaoffline] has quit [Ping timeout: 258 seconds] 22:41:46 samebchase [~samuel@76.73.121.203] has joined #lisp 22:42:02 kidfoo [~neena@76.73.121.203] has joined #lisp 22:51:31 Beetny [~Beetny@ppp118-208-7-99.lns20.bne1.internode.on.net] has joined #lisp 22:51:59 -!- nikodemus [~nikodemus@178-55-191-18.bb.dnainternet.fi] has quit [Quit: This computer has gone to sleep] 22:52:44 -!- dto [~dto@pool-96-252-62-35.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 22:54:36 oudeis [~oudeis@cpc2-sgyl14-0-0-cust230.sgyl.cable.virginmedia.com] has joined #lisp 22:55:13 akovalenko [~akovalenk@95.73.52.192] has joined #lisp 22:56:27 -!- oudeis_ [~oudeis@cpc2-sgyl14-0-0-cust230.sgyl.cable.virginmedia.com] has quit [Ping timeout: 258 seconds] 23:04:42 -!- oudeis [~oudeis@cpc2-sgyl14-0-0-cust230.sgyl.cable.virginmedia.com] has quit [Quit: This computer has gone to sleep] 23:05:21 -!- Kron_ [~Kron@129-97-120-22.uwaterloo.ca] has quit [Quit: Kron awayyy!] 23:05:25 -!- Gymnopediste [~Gniourf@2a01:e35:2433:3b90:222:41ff:fe23:8d8e] has quit [Ping timeout: 240 seconds] 23:07:47 Gymnopediste [~Gniourf@2a01:e35:2433:3b90:222:41ff:fe23:8d8e] has joined #lisp 23:10:19 -!- Gymnopediste [~Gniourf@2a01:e35:2433:3b90:222:41ff:fe23:8d8e] has quit [Max SendQ exceeded] 23:11:03 Gymnopediste [~Gniourf@2a01:e35:2433:3b90:222:41ff:fe23:8d8e] has joined #lisp 23:16:51 am0c [~am0c@222.235.56.158] has joined #lisp 23:19:41 jackson- [~redmundia@mail.madito.es] has joined #lisp 23:19:49 -!- jimmy1980 [~jimmy@112.224.3.44] has quit [Ping timeout: 240 seconds] 23:20:02 askatasuna [~askatasun@190.190.39.231] has joined #lisp 23:20:42 hello. I have a lisp program running outside of slime, and I was thrown to debugger. is it possible to connect to it with slime and debug it and fix the problem in there, without restarting the program? 23:22:12 jackson-: one option is to start a swank server in the external lisp and connect to it. i'm not sure if you can do that once you're already in the debugger to latch on 23:23:27 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 23:23:51 I see, so I should have started swank server first 23:24:31 well, loading and starting swank can work (if you're not within some dangerous lock, like a compilation world lock). But you have to trigger another serious condition to get into SLDB, 23:25:01 is that a common practice? to always run swank server for long-running lisp process so that you can connect to it if you want to modify the code 23:25:25 I live in emacs w/ slime/swank online 23:25:30 jackson-: i do it for servers that i expect to modify, yes. 23:25:39 IDK if other people do it. 23:25:48 jimmy1980 [~jimmy@112.224.2.121] has joined #lisp 23:26:23 jackson-: when possible, I prefer to have some way to load and start swank if necessary (like a newly defined command for stumpwm, a service control code for win32 service...) 23:26:37 i just run programs in screen so that i connect to it and do something 23:26:58 Xach: so why did the Loopless guy ask you to pull it? 23:27:01 For truly long-running services, swank running within them may become obsolete before you want to connect :) 23:27:02 If you can say. 23:27:42 just making programs without bugs helps 23:28:39 -!- pnathan [~Adium@64.126.142.148] has quit [Quit: Leaving.] 23:29:12 gigamonkey: https://github.com/Hexstream/loopless/issues/2#issuecomment-2983697 23:29:21 -!- jackson- [~redmundia@mail.madito.es] has quit [Quit: Chateando desde http://webchat.redmundial.org (EOF)] 23:30:03 jackson- [~redmundia@mail.madito.es] has joined #lisp 23:30:09 brace yourselves for loopless 2.0 23:30:29 -!- deepfire [~deepfire@80.92.100.69] has quit [Ping timeout: 245 seconds] 23:30:30 stassats: heh. 23:30:58 pferor` [~user@122.Red-2-137-179.dynamicIP.rima-tde.net] has joined #lisp 23:31:09 oudeis [~oudeis@94.197.127.153.threembb.co.uk] has joined #lisp 23:32:32 -!- pferor [~user@unaffiliated/pferor] has quit [Ping timeout: 248 seconds] 23:41:30 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #lisp 23:45:53 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Quit: mrSpec] 23:46:54 I do the following: (list (append (list (intern "#"))(list (list (car s))) (caddr s))) .... why does the last element get separated by the first with a . ? 23:47:28 -!- pferor` [~user@122.Red-2-137-179.dynamicIP.rima-tde.net] has quit [Ping timeout: 248 seconds] 23:47:33 How can I do that op without having the . inserted? 23:47:49 pitlimit: . is part of the syntax for printing a cons that does not have a list as its cdr. 23:47:57 pitlimit: it is syntax, not content 23:48:05 Can I get rid of it 23:48:14 (caddr s) ==> (list (caddr s)) 23:48:18 pitlimit: one option is to not create a cons that has a non-list as its cdr. 23:48:24 *gigamonkey* suspects that that (intern "#") is unlikely to end up being fruitful. 23:48:27 but understanding what's going on is even better 23:48:45 pitlimit: what are you actually trying to do? 23:48:51 Lisp sure uses a lot of parentheses :) 23:48:59 deep, throbbing lols 23:49:05 lol 23:49:18 help me is this hell 23:49:19 :) 23:49:35 pitlimit: What are you actually trying to do? 23:49:36 for parens, the help is in the form of editor, and practice 23:50:11 That workred akovalenko thanks 23:50:36 understanding what's going on almost always works. 23:50:39 thanks Xach figured it out with akovalenko 's help 23:50:42 yes that's next :) 23:51:34 pitlimit what kind of forms are you trying to generate? 23:51:57 looks like that could be far more readable with ` and , 23:52:44 hm 23:56:17 -!- oudeis [~oudeis@94.197.127.153.threembb.co.uk] has quit [Quit: This computer has gone to sleep] 23:56:24 if I got it right this would do: 23:56:33 `((,(intern "#") ,(first s) ,(third s)))) 23:57:06 or if you need a list at the end 23:57:09 `((,(intern "#") ,(first s) (,(third s))))) 23:57:20 oudeis [~oudeis@94.197.127.153.threembb.co.uk] has joined #lisp 23:57:20 Hm 23:57:22 let me see that :) 23:57:34 Kron_ [~Kron@69.166.20.102] has joined #lisp 23:57:36 :) 23:57:48 that is much more readable certainly :) 23:58:53 (intern "#") is not an exact equivalent to '|#|, but if you don't see any difference, the latter may be closer to what you want. 23:59:03 -!- Pomo [~Pomo@192.188.108.71] has quit [Quit: Leaving] 23:59:08 I just want it to be a symbol akovalenko 23:59:29 `((|#| ,(first s) ...) ;; <== something like that 23:59:40 why do you need | |? 23:59:51 I don't 23:59:55 # is a non-terminating macro character 23:59:57 I just want # to be a symbol, not a string