00:02:55 Mon_Ouie [~Mon_Ouie@subtle/user/MonOuie] has joined #lisp 00:07:55 cscorp [~csorp@c-98-230-174-67.hsd1.ga.comcast.net] has joined #lisp 00:08:16 -!- travisr [~travisrod@17.115.46.218] has quit [Ping timeout: 246 seconds] 00:08:20 -!- ltbarcly [~textual@216.113.168.141] has quit [Ping timeout: 245 seconds] 00:11:33 -!- ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has quit [Ping timeout: 264 seconds] 00:14:08 travisr [~travisrod@17.115.46.218] has joined #lisp 00:15:03 ubikation [~quassel@c-67-168-252-238.hsd1.or.comcast.net] has joined #lisp 00:22:43 What would it take to get emacs-slime to work with a new Common Lisp implementation that is very similar to ECL (but single-threaded). I have Gray streams in place - do I need to get sockets working? 00:22:56 -!- drmeiste_ is now known as drmeister_ 00:23:10 Yes, sockets. 00:23:24 Anything else? 00:24:09 You would duplicate swank-ecl and configure it as old clisp since you're single threaded. 00:24:36 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 00:24:45 where did clisp come from? 00:24:51 swank-ecl is a CL program that runs in ECL - correct? 00:24:52 single-threaded. 00:24:55 -!- Shinmera [~linus@xdsl-188-155-176-171.adslplus.ch] has quit [Quit: ZzZ] 00:25:00 drmeister_: yes. 00:25:07 swank is the CL part of slime/swank. 00:25:15 slime can run without threads on anything 00:25:20 (ql:quickload :swank) 00:26:15 drmeister_: swank-ecl is a compatibility layer for the rest of swank to access implementation-dependent functionality 00:26:29 Basically: (setf swank:*use-dedicated-output-stream* nil) for single-thread. 00:26:45 Speaking of ECL, anyone know of an example (blog post or such) of someone using ECL to add a REPL to a large C program? Was thinking of trying to plug into the NuSMV model-checker.... 00:26:45 pjb: eh? 00:26:55 *use-dedicated-output-stream* has nothing to do with threads 00:27:11 It was needed on clisp until it had multiple threads. 00:27:23 *use-dedicated-output-stream* is even nil by default 00:27:50 to run without threads you just don't need to advertise that it can run with threads, simple as that 00:28:00 rpg: for a C problem, there shouldn't be any problem (use cffi on the C program to hook it into ecl). For a C++ program with templates, it's more difficult. 00:28:49 drmeister_: you would also need an interface into the debugger 00:29:02 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 00:29:05 I'm getting summoned to dinner - I'll be back in a few minutes to follow up. 00:29:15 ECL has a lousy debugger 00:29:20 rpg: now you probably don't want to access any random internal C function anyway. Just process with cffi and export to lisp the meaningful internal APIs. 00:29:23 stassats: I really want to talk about that - I've put a lot of work into the debugger. 00:29:32 pjb: It sounded that way, I just have never tried, so I was wondering if someone had written an account of doing the process. Also, the ECL web page didn't talk so much about embedding a REPL, rather telling me how to throw strings at ECL and have it interpret htem. 00:29:37 s/htem/them/ 00:30:07 -!- travisr [~travisrod@17.115.46.218] has quit [Ping timeout: 256 seconds] 00:30:18 pjb: Quite right. I am wondering whether to turn a single piece of the program into a library or take the whole thing (it has a rudimentary shell).... 00:30:26 I don't use ECL's debugger. 00:30:30 brb 00:30:43 rpg: well the question is where you get the data for the REPL from: stdin, sockets, something else? And of course you have to decide what's the main function, ecl toplevel REPL, or the C program main() function? 00:31:21 I was thinking of trying to replace the C program's main function (which is already a shell interpreter) with ECL REPL.... 00:31:21 That said, good night! 00:33:06 travisr [~travisrod@17.115.46.218] has joined #lisp 00:33:37 -!- normanrichards [~normanric@70.114.215.220] has quit [Quit: normanrichards] 00:40:37 -!- boogie [~boogie@wsip-98-172-168-236.sd.sd.cox.net] has quit [Remote host closed the connection] 00:42:53 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 00:44:47 gr4nf [~gr4nf@190.86.177.25] has joined #lisp 00:46:41 Which Common Lisp has the best debugger? 00:46:57 in slime? sbcl 00:48:47 -!- gr4nf [~gr4nf@190.86.177.25] has left #lisp 00:48:56 I've used that - I've found it difficult to identify where in the source errors are. 00:49:26 pressing "v" isn't that difficult 00:49:57 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 264 seconds] 00:51:44 It doesn't seem to work most of the time - do you set up any special declaim/proclaim statements to configure sbcl so that its more debuggable? 00:51:49 Does that make sense? 00:51:57 debug 2 00:52:22 Oddity [~Oddity@unaffiliated/oddity] has joined #lisp 00:52:25 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 00:52:56 Do you do that on a function-by-function basis or system-wide with proclaim/declaim? 00:53:15 system-wide with restrict-compiler-policy 00:55:24 What does sbcl do with-respect-to macros? Do you only see the expanded code? 00:55:29 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 00:55:34 drmeister_: If you have the money, Allegro has hands down the best debugger, IMO. 00:56:24 (sadly, you lose access to a lot of its power, if you use SLIME instead of Allegro's own environment) 00:57:21 rpg: Not a lot - and I like to avoid commercial code - I need to run tens of thousands of instances. 00:57:21 whitedawg [~whitedawg@122.179.53.119] has joined #lisp 00:57:50 chaotic_good [~g@cpe-98-154-163-40.socal.res.rr.com] has joined #lisp 00:57:51 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 276 seconds] 00:58:04 Actually, for delivery I have developed and debugged on ACL and then delivered in SBCL. 00:58:07 -!- ejohnson [~Thunderbi@c-67-181-201-173.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 00:58:21 But ACL *is* expensive. 00:58:52 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 00:58:53 I do have Allegro CL Free Express Edition - I'll fire it up and play with it. With my last year of experience I should get a lot out of it - thanks for the suggestion. 00:59:09 -!- ubikation [~quassel@c-67-168-252-238.hsd1.or.comcast.net] has quit [Ping timeout: 276 seconds] 00:59:18 rpg is a franz shill! 01:00:02 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 01:00:35 I like the folks at Franz - they helped me out a lot last year. 01:01:15 they are franz shills too! 01:04:11 -!- whitedawg [~whitedawg@122.179.53.119] has quit [Quit: Leaving.] 01:05:19 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Quit: Computer has gone to sleep.] 01:05:25 So how does slime hook into the debugger? 01:05:40 -!- tigranes [~tigranes@static-50-53-74-0.bvtn.or.frontiernet.net] has quit [Quit: leaving] 01:05:47 through the debugger API 01:05:52 naturally 01:06:36 The Allegro debugger is much more natural to use through a textual interface, so it is a poor fit for SLIME. Also, it has a much richer set of restarts, which I have never figured out how to get access to through SLDB. 01:07:58 also, with SLIME you can't get at their commands, which are entered as keywords. Maybe they could be redone as SLIME REPL commands, I dunno. 01:08:20 -!- harish [~harish@175.156.118.29] has quit [Ping timeout: 245 seconds] 01:08:37 Unfortunately for the ACL user, SLIME's facilities for editing CL source are wildly better than what is available through the ACL emacs lisp interface.... 01:08:45 lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has joined #lisp 01:10:03 rpg: When you say "The Allegro debugger is much more natural to use through a textual interface" do you mean Allegro's graphical user interface? 01:10:25 No, I mean typing commands at the REPL (in debugger mode). 01:10:45 -!- edgar-rft [~GOD@HSI-KBW-46-223-73-219.hsi.kabel-badenwuerttemberg.de] has quit [Quit: lifeform experiment stopped because of unknown subject] 01:11:10 It's very easy to root around in the stack that way, and easy to invoke functions on local variables' values, etc. 01:11:26 What I really like about slime is the feeling of being inside of a source file where I can evaluate s-exps within the source file and add code to the source file organically. 01:11:52 I like SLDB, but it's frustrating to me that my evaluations of functions are crippled by happening in the minibuffer. 01:12:06 drmeister_: that stuff you can do in *any* lisp-mode. 01:12:45 agam [agam@nat/google/x-sknukvmxrnvjjwqe] has joined #lisp 01:12:56 ELI can do the evaluation within the source code, etc. Where SLIME excels is that it talks more "broadly" with the lisp image so, e.g. it is very smart about packages, etc. That stuff is super-slick. 01:12:57 rpg: Could you explain? Do you mean every lisp environment has that? 01:13:34 Any emacs + lisp environment will let you incrementally define functions in a file, compile them, etc., find source code definitions, etc. 01:14:19 but SLIME does the really tricky stuff like keep track of the current package in a multi-package source file, etc. 01:14:20 I've written a new Common Lisp environment but I haven't used it within emacs the way I described. 01:15:13 I wasn't aware that SLIME did that. Do you mean that if my cursor is below (in-package :XXX) that SLIME will know that I'm in package :XXX? 01:15:48 ya 01:15:50 Yes. Other lisp environments I've used have just found the first IN-PACKAGE (or used the mode-line), so can get confused in files with code in multiple packages. 01:15:50 drmeister_: YEap. 01:16:06 *Love* that about slime. 01:16:30 This means that SLIME can do indentation and code layout more accurately, too. 01:16:53 Gotta dash to dinner, I'm afraid. Maybe back later... good night! 01:17:06 How does that change the way you interact with the lisp environment? 01:17:12 Ok - thanks for the info! 01:17:44 drmeister_: proper user-defined macro form indentation 01:17:56 when it works 01:18:49 i am still annoyed by third party packages macros wrecking havoc with indentation 01:18:51 -!- nilly [~nil@c-71-231-216-136.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 01:19:05 stassats: I'm reading the swank-ecl.lisp source file - is swank-ecl.lisp loaded by some other source-file. What files get loaded by the lisp-environment? 01:19:09 -!- zacts [~zacts@unaffiliated/zacts] has quit [Quit: leaving] 01:19:20 swank-loader.lisp 01:20:08 So it's swank-loader.lisp which loads swank-ecl.lisp which REQUIREs a couple of files - is that all I have to get running? 01:20:30 Or does swank-loader.lisp load other files - I'll check. 01:24:36 -!- ccccc [~cedric@modemcable169.181-161-184.mc.videotron.ca] has quit [Quit: Leaving] 01:25:25 -!- agam [agam@nat/google/x-sknukvmxrnvjjwqe] has quit [Ping timeout: 245 seconds] 01:25:35 -!- joast [~rick@cpe-24-160-56-92.socal.res.rr.com] has quit [Remote host closed the connection] 01:25:57 What is DEFIMPLEMENTATION? 01:26:18 you can press M-. and find out 01:26:28 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 01:26:34 joast [~rick@cpe-24-160-56-92.socal.res.rr.com] has joined #lisp 01:28:27 Cool - I've just been using emacs for a year now (after 20 years vi/vim) - how does emacs do that? 01:28:45 M-. is part of slime, nt emacs... 01:29:10 well, this M-., not etags. 01:29:58 ubikation [~quassel@ip-64-134-132-143.public.wayport.net] has joined #lisp 01:30:06 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:31:01 drmeister_: many implementations keep a database of where functions, variables, classes, etc, were defined. 01:31:02 Tags - right - I couldn't get them to work properly with my C++ source a year ago and never looked back. So it works better with Common Lisp code and SLIME - more reason to get SLIME working. 01:31:16 M-. usually queries the implementation's database somehow 01:31:20 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 01:31:55 drmeister_: i mean, M-. in slime doesn't use tags at all, it does its own thing 01:32:47 well... to be completely honest, M-. uses tags for C functions of ECL 01:33:20 nice 01:33:31 tags is another form of database. 01:33:56 Bike: It was so fast though - is it just because the emacs/swank directory has few source files? Or is there a prebuilt tags file? 01:34:09 kcj [~casey@unaffiliated/kcj] has joined #lisp 01:34:15 ECL implements a lot of things in C, so plain M-. is often useless 01:34:15 -!- seangrove [~user@208.80.69.42] has quit [Ping timeout: 276 seconds] 01:34:20 http://angularjs.org/ lisp do anything like this? 01:34:24 drmeister_: it doesn't use tags or search, definition information is stored with stuff 01:34:26 drmeister_: there's no files 01:34:44 "stuff": a technical term 01:34:48 harish [~harish@119.234.148.191] has joined #lisp 01:35:02 What is this "stuff" you speak of? 01:35:15 chaotic_good: you can make a buzzword-filled page with lisp too 01:35:20 lol 01:35:24 Does it parse the lisp source files every time I hit M-.? 01:35:28 no 01:35:50 the dream being sold invloves async gui in js in broswer 01:35:53 you can M-. on M-. 01:35:53 m0ar bett3r 01:35:54 drmeister_: no, i mean there's (implementation:definition-source #'my-cool-function) 01:37:56 sellout- [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #lisp 01:38:55 ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has joined #lisp 01:39:04 Sorry - I'm a bit slow. I just loaded emacs, loaded up swank-ecl.lisp, started slime and it M-. and it jumped to (defmacro defimplementation ...) in swank-backend.lisp. I'm very impressed by how fast it did it. How did M-. work? Skyhooks? 01:39:33 "and hit M-. and it jumped..." 01:40:01 -!- ubikation [~quassel@ip-64-134-132-143.public.wayport.net] has quit [Remote host closed the connection] 01:40:31 How do I "M-. on M-.". 01:40:45 it asked ecl to do it 01:40:57 C-h k M-. tells you it's slime-edit-definition in slime.el 01:41:22 that is elisp, not CL, of course, you'll have to go a bit deeper 01:42:15 you can go directly to swank:find-definitions-for-emacs 01:42:40 -!- travisr [~travisrod@17.115.46.218] has quit [Ping timeout: 256 seconds] 01:42:51 cheater 01:46:18 I see the defslimefun find-definitions-for-emacs - When I M-. find-definitions it jumps to (definterface find-definitions (name) "docstring") - probably not the right place. 01:46:24 This is pretty cool though. 01:46:27 Very fluid. 01:46:59 definterface goes with defimplementation, see 01:47:14 If there are multiple places where something is defined is there a way to cycle through definitions? 01:47:25 yes 01:47:47 I see that I can return with M-, what is the key to skip to the next potential definition? 01:48:02 drmeister_: try M-. on + or something 01:48:17 Bike: not on ecl, though 01:48:33 My slime runs SBCL. 01:48:42 on something that isn't ecl. a nice implementation, like corman 01:48:45 M-. on DOCUMENTATION would do a better job 01:49:34 Ah, I see, a *slime-xref* frame opens up with many definitions 01:51:17 just use vi 01:52:00 I see - since I'm in slime it is asking SBCL where the source for these definitions are. SBCL is the database. 01:52:27 -!- harish [~harish@119.234.148.191] has quit [Ping timeout: 276 seconds] 01:53:09 or witchcraft - I could go either way at this point. 01:54:10 Plexis [~ShElLiNTh@c-75-64-159-85.hsd1.tn.comcast.net] has joined #lisp 01:54:34 echo-area [~user@182.92.247.2] has joined #lisp 01:55:18 (adf:load-system :popo) 01:55:26 oops. 01:57:22 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 01:58:57 -!- shellH [~ShElLiNTh@c-75-64-159-85.hsd1.tn.comcast.net] has quit [Ping timeout: 276 seconds] 02:02:01 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 246 seconds] 02:02:04 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 260 seconds] 02:05:37 -!- drmeister [~drmeister@farnsworth.chem.temple.edu] has quit [Ping timeout: 268 seconds] 02:08:55 coreytrevor [~ma@95.211.169.45] has joined #lisp 02:09:01 -!- lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has quit [Quit: lyanchih] 02:16:06 -!- cscorp [~csorp@c-98-230-174-67.hsd1.ga.comcast.net] has quit [Quit: cscorp] 02:16:48 lyanchih [~lyanchih@202.39.219.19] has joined #lisp 02:17:53 nilly [~nil@c-71-231-216-136.hsd1.wa.comcast.net] has joined #lisp 02:26:04 -!- JuanDaugherty [~Ren@cpe-76-180-168-166.buffalo.res.rr.com] has quit [Remote host closed the connection] 02:27:44 harish [harish@nat/redhat/x-rjolalxgrtyrycpf] has joined #lisp 02:28:16 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 02:33:22 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 268 seconds] 02:34:39 -!- foreignFunction [~niksaak@ip-4761.sunline.net.ua] has quit [Quit: Leaving.] 02:34:48 sykopomp` [~sykopomp@unaffiliated/sykopomp] has joined #lisp 02:37:30 -!- sykopomp [~sykopomp@unaffiliated/sykopomp] has quit [Ping timeout: 245 seconds] 02:40:03 pranavrc [~pranavrc@122.164.132.228] has joined #lisp 02:40:03 -!- pranavrc [~pranavrc@122.164.132.228] has quit [Changing host] 02:40:03 pranavrc [~pranavrc@unaffiliated/pranavrc] has joined #lisp 02:42:43 walter|r [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 02:44:21 -!- kcj [~casey@unaffiliated/kcj] has quit [Ping timeout: 248 seconds] 02:49:06 kushal [kdas@fedora/kushal] has joined #lisp 02:49:59 -!- gravicappa [~gravicapp@ppp91-77-169-140.pppoe.mtu-net.ru] has quit [Ping timeout: 246 seconds] 02:54:59 -!- PuercoPop [PuercoPop@2600:3c01::f03c:91ff:feae:c11b] has left #lisp 02:55:07 PuercoPop [PuercoPop@2600:3c01::f03c:91ff:feae:c11b] has joined #lisp 02:59:07 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 03:01:29 -!- paddymahoney [~patrick@24-246-29-188.cable.teksavvy.com] has quit [Read error: Connection reset by peer] 03:01:48 Nisstyre [~yours@oftn/member/Nisstyre] has joined #lisp 03:02:31 paddymahoney [~patrick@24-246-29-188.cable.teksavvy.com] has joined #lisp 03:03:05 ampersand27017 [~ampersand@76.91.115.14] has joined #lisp 03:03:26 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 03:03:37 youlysses [~user@24-217-211-79.dhcp.stls.mo.charter.com] has joined #lisp 03:05:22 kcj [~casey@unaffiliated/kcj] has joined #lisp 03:05:33 -!- klltkr [~klltkr@unaffiliated/klltkr] has quit [Ping timeout: 264 seconds] 03:06:31 -!- maxter [~maxter@gaffeless.chaperon.volia.net] has quit [Ping timeout: 264 seconds] 03:07:35 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 03:12:21 -!- Oddity [~Oddity@unaffiliated/oddity] has quit [] 03:13:06 -!- tali713 [~tali713@2001:0:53aa:64c:1411:7c9b:b3ee:137e] has quit [Ping timeout: 264 seconds] 03:17:46 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 268 seconds] 03:18:07 tali713 [~tali713@2001:0:53aa:64c:1430:67b3:b3ee:137e] has joined #lisp 03:18:58 Pritchard [443a3a7f@gateway/web/freenode/ip.68.58.58.127] has joined #lisp 03:19:06 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 03:20:36 DataLinkDroid [~DataLinkD@1.129.44.157] has joined #lisp 03:21:53 -!- kanru [~kanru@118-163-10-190.HINET-IP.hinet.net] has quit [Remote host closed the connection] 03:23:58 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 256 seconds] 03:24:38 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 03:27:57 -!- ampersand27017 [~ampersand@76.91.115.14] has quit [Quit: ampersand27017] 03:28:03 -!- lduros [~user@fsf/member/lduros] has quit [Read error: Connection reset by peer] 03:29:29 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 268 seconds] 03:30:00 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 03:30:38 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 03:34:29 -!- tolk [~user@host179.190-137-171.telecom.net.ar] has quit [Ping timeout: 248 seconds] 03:34:44 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 03:35:01 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 248 seconds] 03:36:39 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 03:37:23 agam [~agam@c-76-102-52-33.hsd1.ca.comcast.net] has joined #lisp 03:37:49 sabra [~sabra@67.174.222.215] has joined #lisp 03:38:07 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Quit: rpg] 03:42:51 agam_ [~agam@216.239.45.130] has joined #lisp 03:43:04 Gooder [~user@218.69.12.194] has joined #lisp 03:43:14 -!- agam [~agam@c-76-102-52-33.hsd1.ca.comcast.net] has quit [Ping timeout: 256 seconds] 03:43:48 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 256 seconds] 03:45:30 BlankVerse [~pankajm@202.3.77.238] has joined #lisp 03:45:40 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 03:46:25 -!- BlankVerse [~pankajm@202.3.77.238] has quit [Client Quit] 03:46:39 BlankVerse [~pankajm@202.3.77.238] has joined #lisp 03:47:21 nug700 [~nug700@174-26-143-176.phnx.qwest.net] has joined #lisp 03:50:27 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 268 seconds] 03:51:12 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 03:51:51 -!- DataLinkDroid [~DataLinkD@1.129.44.157] has quit [Read error: Connection reset by peer] 03:52:09 DataLinkDroid [~DataLinkD@1.129.44.157] has joined #lisp 03:52:29 protist [~protist@8.224.69.111.dynamic.snap.net.nz] has joined #lisp 03:55:49 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 248 seconds] 03:58:15 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 04:01:05 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 04:02:58 -!- lyanchih [~lyanchih@202.39.219.19] has quit [Quit: lyanchih] 04:04:00 nilsi [~nilsi@112.65.211.116] has joined #lisp 04:05:20 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 256 seconds] 04:05:22 -!- nilsi [~nilsi@112.65.211.116] has quit [Remote host closed the connection] 04:05:25 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 245 seconds] 04:05:50 nilsi [~nilsi@5.254.135.198] has joined #lisp 04:06:13 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 04:06:24 ampersand27017 [~ampersand@76.91.115.14] has joined #lisp 04:07:44 -!- paddymahoney [~patrick@24-246-29-188.cable.teksavvy.com] has quit [Ping timeout: 256 seconds] 04:08:03 jlongster [~user@pool-72-84-229-181.rcmdva.fios.verizon.net] has joined #lisp 04:08:37 -!- kliph [~user@unaffiliated/kliph] has quit [Ping timeout: 248 seconds] 04:09:58 Is there a way to access/set a slot with class allocation before creating an instance of that class? I'm trying (slot-value (find-class 'song) 'base-path) to no avail 04:11:25 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 268 seconds] 04:12:13 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 04:13:30 -!- ampersand27017 [~ampersand@76.91.115.14] has quit [Quit: ampersand27017] 04:13:37 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Client Quit] 04:18:54 -!- PuercoPop [PuercoPop@2600:3c01::f03c:91ff:feae:c11b] has quit [Quit: ZNC - http://znc.in] 04:19:30 -!- ISF__ [~ivan@201.82.138.219] has quit [Ping timeout: 256 seconds] 04:22:46 PuercoPop [PuercoPop@2600:3c01::f03c:91ff:feae:c11b] has joined #lisp 04:23:03 ampersand27017 [~ampersand@76.91.115.14] has joined #lisp 04:23:28 -!- dmiles_afk [~dmiles@c-98-246-180-47.hsd1.or.comcast.net] has quit [Read error: Connection reset by peer] 04:24:03 dmiles_afk [~dmiles@c-98-246-180-47.hsd1.or.comcast.net] has joined #lisp 04:27:25 why are you doing that, out of curiosity 04:27:37 alezost [~user@128-70-198-98.broadband.corbina.ru] has joined #lisp 04:29:02 chu [~user@unaffiliated/chu] has joined #lisp 04:31:58 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 04:32:47 PuercoPop_ [~PuercoBot@50.12.126.251] has joined #lisp 04:33:43 I have a class song that should keep track of the 04:33:43 relative-pathname and I store the "Library 04:33:44 pathname" in a class allocated slot (akin to a 04:33:44 *default-pathname-defaults*) 04:33:56 Sorry about the multiline bad paste. 04:36:30 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 04:36:33 well, i don't think there's a standard way, but i've never really used class slots 04:36:37 -!- PuercoPop_ [~PuercoBot@50.12.126.251] has quit [Read error: Connection reset by peer] 04:36:41 usually i'd just use a dynamic variable or something? 04:37:18 PuercoPop_ [~PuercoBot@50.12.126.251] has joined #lisp 04:39:34 -!- PuercoPop_ [~PuercoBot@50.12.126.251] has quit [Read error: Connection reset by peer] 04:40:08 -!- agam_ [~agam@216.239.45.130] has quit [Quit: Konversation terminated!] 04:40:15 PuercoPop_ [~PuercoBot@50.12.126.251] has joined #lisp 04:41:03 maxter [~maxter@gaffeless.chaperon.volia.net] has joined #lisp 04:42:20 -!- PuercoPop_ [~PuercoBot@50.12.126.251] has quit [Read error: Connection reset by peer] 04:42:41 -!- walter|r [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 04:43:41 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 04:45:51 -!- scoofy [~scoofy@catv-89-135-71-167.catv.broadband.hu] has quit [Ping timeout: 260 seconds] 04:48:02 kotharia [~kotharia@123-3-231-34.static.dsl.dodo.com.au] has joined #lisp 04:50:05 Oddity [~Oddity@154.20.70.67] has joined #lisp 04:50:07 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 04:51:06 -!- Oddity [~Oddity@154.20.70.67] has quit [Client Quit] 04:53:00 Oddity [~Oddity@unaffiliated/oddity] has joined #lisp 04:54:07 -!- PuercoPop [PuercoPop@2600:3c01::f03c:91ff:feae:c11b] has quit [Quit: ZNC - http://znc.in] 04:55:07 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 264 seconds] 04:56:26 -!- kcj [~casey@unaffiliated/kcj] has quit [Ping timeout: 268 seconds] 04:57:05 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 04:58:02 -!- persizzl [~twosizes@gateway/tor-sasl/persizzl] has quit [Quit: persizzl] 05:00:30 nilsi_ [~nilsi@218.11.176.46] has joined #lisp 05:01:40 -!- bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has quit [Ping timeout: 245 seconds] 05:02:08 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 256 seconds] 05:02:52 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 05:03:19 -!- resttime [~rest@adsl-99-135-190-144.dsl.chcgil.sbcglobal.net] has quit [Quit: resttime] 05:03:35 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 05:03:55 -!- ianmcorvidae [~ianmcorvi@musicbrainz/user/ianmcorvidae] has quit [Remote host closed the connection] 05:04:10 PuercoPop [PuercoPop@2600:3c01::f03c:91ff:feae:c11b] has joined #lisp 05:04:12 ianmcorvidae [~ianmcorvi@musicbrainz/user/ianmcorvidae] has joined #lisp 05:04:16 -!- nilsi [~nilsi@5.254.135.198] has quit [Ping timeout: 256 seconds] 05:06:34 -!- syrinx [~quassel@unaffiliated/syrinx-/x-4255893] has quit [Read error: Connection reset by peer] 05:06:51 -!- Longlius [~Longlius@68.170.238.146] has quit [Remote host closed the connection] 05:08:06 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 276 seconds] 05:08:10 lyanchih [~lyanchih@202.39.219.19] has joined #lisp 05:08:46 -!- ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has left #lisp 05:09:13 -!- sykopomp` is now known as sykopomp 05:10:51 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 05:11:22 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 05:12:18 -!- Bike [~Glossina@wl-nat100.it.wsu.edu] has quit [Read error: Connection reset by peer] 05:12:19 -!- arubin [~arubin@99-114-192-172.lightspeed.cicril.sbcglobal.net] has quit [Quit: Computer has gone to sleep.] 05:12:36 Bike [~Glossina@wl-nat100.it.wsu.edu] has joined #lisp 05:13:07 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 264 seconds] 05:13:24 -!- Nisstyre [~yours@oftn/member/Nisstyre] has quit [Quit: Leaving] 05:14:33 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 05:19:14 sdemarre [~serge@251.169-64-87.adsl-dyn.isp.belgacom.be] has joined #lisp 05:19:42 -!- CrazyEddy [~wenneberg@wrongplanet/CrazyEddy] has quit [Ping timeout: 256 seconds] 05:21:24 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 256 seconds] 05:23:53 -!- coreytrevor [~ma@95.211.169.45] has quit [Quit: leaving] 05:24:34 kanru [~kanru@118-163-10-190.HINET-IP.hinet.net] has joined #lisp 05:24:57 -!- BlankVerse [~pankajm@202.3.77.238] has quit [Quit: leaving] 05:28:03 -!- Pritchard [443a3a7f@gateway/web/freenode/ip.68.58.58.127] has quit [Ping timeout: 250 seconds] 05:29:39 -!- oleo [~oleo@xdsl-78-35-132-200.netcologne.de] has quit [Quit: Verlassend] 05:29:59 pnpuff [~l@unaffiliated/pnpuff] has joined #lisp 05:30:13 -!- nilsi_ [~nilsi@218.11.176.46] has quit [Remote host closed the connection] 05:30:32 -!- pnpuff [~l@unaffiliated/pnpuff] has left #lisp 05:30:35 nipra [~nipra@61.12.27.114] has joined #lisp 05:30:50 nilsi [~nilsi@5.254.135.7] has joined #lisp 05:30:50 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 05:32:04 kcj [~casey@unaffiliated/kcj] has joined #lisp 05:32:35 angavrilov [~angavrilo@217.71.227.190] has joined #lisp 05:32:42 CrazyEddy [~falsetto@wrongplanet/CrazyEddy] has joined #lisp 05:33:09 zRecursive [~czsq888@171.214.175.136] has joined #lisp 05:33:24 clmsy [~clmsy@212.57.9.204] has joined #lisp 05:33:30 -!- cdidd [~cdidd@95-26-36-114.broadband.corbina.ru] has quit [Remote host closed the connection] 05:33:48 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 05:35:10 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 246 seconds] 05:35:21 persizzl [~twosizes@gateway/tor-sasl/persizzl] has joined #lisp 05:36:02 -!- easye [~user@213.33.70.157] has quit [Read error: No route to host] 05:36:49 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 05:37:25 -!- clmsy [~clmsy@212.57.9.204] has quit [Remote host closed the connection] 05:38:01 gravicappa [~gravicapp@ppp91-77-163-106.pppoe.mtu-net.ru] has joined #lisp 05:38:24 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 05:38:58 -!- lyanchih [~lyanchih@202.39.219.19] has quit [Quit: lyanchih] 05:41:06 -!- CrazyEddy [~falsetto@wrongplanet/CrazyEddy] has quit [Quit: .] 05:41:46 -!- spacefrogg^ is now known as spacefrogg 05:42:53 CrazyEddy [~coalify@wrongplanet/CrazyEddy] has joined #lisp 05:43:00 cdidd [~cdidd@128-68-6-63.broadband.corbina.ru] has joined #lisp 05:43:38 -!- ampersand27017 [~ampersand@76.91.115.14] has quit [Quit: ampersand27017] 05:44:18 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 264 seconds] 05:45:09 -!- nialo [~nialo@ool-44c53f01.dyn.optonline.net] has quit [Ping timeout: 264 seconds] 05:45:48 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 05:46:25 lyanchih [~lyanchih@202.39.219.19] has joined #lisp 05:50:13 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 246 seconds] 05:51:47 cdan [~cdan@mail.savatech.ro] has joined #lisp 05:51:51 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 05:54:44 fsvehla [~fsvehla@h081217181184.dyn.cm.kabsi.at] has joined #lisp 05:54:58 ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has joined #lisp 05:55:50 -!- sdemarre [~serge@251.169-64-87.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 240 seconds] 05:56:19 mishoo [~mishoo@93.113.190.121] has joined #lisp 05:57:27 -!- motionman [~motionman@unaffiliated/motionman] has quit [Read error: Connection timed out] 05:57:45 -!- fridim__ [~fridim@bas2-montreal07-2925317871.dsl.bell.ca] has quit [Ping timeout: 264 seconds] 05:58:10 -!- freik is now known as freiksenet 05:58:21 mpstyler [5e64ed81@gateway/web/freenode/ip.94.100.237.129] has joined #lisp 05:59:23 -!- hiroakip [~hiroaki@77-20-192-229-dynip.superkabel.de] has quit [Quit: Ex-Chat] 06:01:18 nilsi_ [~nilsi@218.11.176.46] has joined #lisp 06:02:19 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 264 seconds] 06:02:37 clmsy [~clmsy@212.57.9.204] has joined #lisp 06:03:49 ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 06:04:19 -!- DataLinkDroid [~DataLinkD@1.129.44.157] has quit [Ping timeout: 256 seconds] 06:04:39 -!- nilsi [~nilsi@5.254.135.7] has quit [Ping timeout: 276 seconds] 06:04:40 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 06:06:23 -!- ragnul [~rjain@66-234-32-156.nyc.cable.nyct.net] has quit [Ping timeout: 240 seconds] 06:06:56 newbie question: if I have (defvar *board-size* 21) why does (make-array '(*board-size* *board-size*)) fails with message "The value *BOARD-SIZE* is not of type NUMBER" 06:07:46 mpstyler: you're quoting, so make-array receives the list with symbols. you want (list *board-size* *board-size*) so it's the values of the symbols. 06:09:10 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 245 seconds] 06:09:28 stupid me, thanks 06:09:34 agam_ [~agam@c-76-102-52-33.hsd1.ca.comcast.net] has joined #lisp 06:10:38 You could also have written `(,*board-size* ,*board-size*) 06:10:55 -!- ltbarcly [~textual@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Quit: Computer has gone to sleep.] 06:11:48 Zhivago, I see. 06:11:52 -!- weie [~eie@softbank221078042071.bbtec.net] has quit [Quit: Leaving...] 06:12:26 but now it says that *board-size* is undefinde, does not matter if I load it with the file or type defvar in repl 06:13:56 <|3b|> possibly you have 2 symbols named *board-size* in different packages? 06:14:06 agam__ [~agam@216.239.45.130] has joined #lisp 06:14:10 -!- agam_ [~agam@c-76-102-52-33.hsd1.ca.comcast.net] has quit [Ping timeout: 245 seconds] 06:14:26 its odd, since I can 1d array, 2d array fails with msg *board-size* is undefinde 06:14:42 *i can make 1d array 06:14:43 <|3b|> hard to say without seeing actual code 06:14:50 Try doing it at a repl. 06:15:06 <|3b|> actually, did you do (*board-size* *board-size*) instead of what Bike suggested? 06:15:18 <|3b|> (or what Zhivago suggested) 06:16:18 thank you all, issue solved 06:16:21 -!- ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 264 seconds] 06:16:28 <|3b|> seeing actual error messages helps too, rather than trying to summarize them 06:17:38 ndrei [~avo@85-171-204-225.rev.numericable.fr] has joined #lisp 06:18:07 ltbarcly__ [~jvanwink@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has joined #lisp 06:18:16 i understand, thanks again 06:20:01 [ui] [~wp@99.130.104.157] has joined #lisp 06:21:32 Harag [~Thunderbi@ti-227-55-119.telkomadsl.co.za] has joined #lisp 06:22:00 -!- ndrei [~avo@85-171-204-225.rev.numericable.fr] has quit [Client Quit] 06:22:18 ndrei [~avo@85-171-204-225.rev.numericable.fr] has joined #lisp 06:22:28 -!- Mon_Ouie [~Mon_Ouie@subtle/user/MonOuie] has quit [Ping timeout: 256 seconds] 06:23:00 DataLinkDroid [~DataLinkD@1.130.117.134] has joined #lisp 06:27:55 -!- jlongster [~user@pool-72-84-229-181.rcmdva.fios.verizon.net] has quit [Ping timeout: 245 seconds] 06:30:20 -!- cdan [~cdan@mail.savatech.ro] has quit [Quit: cdan] 06:33:41 cdan [~cdan@mail.savatech.ro] has joined #lisp 06:35:34 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 06:40:24 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 276 seconds] 06:44:34 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 06:46:50 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 06:47:55 -!- BeLucid [~belucid@cpe-066-057-034-009.nc.res.rr.com] has quit [Ping timeout: 245 seconds] 06:48:45 mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has joined #lisp 06:48:51 -!- drmeister_ [~drmeister@pool-71-185-168-200.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 06:49:30 motionman [~motionman@unaffiliated/motionman] has joined #lisp 06:52:50 -!- zRecursive [~czsq888@171.214.175.136] has left #lisp 06:52:54 Mon_Ouie [~Mon_Ouie@subtle/user/MonOuie] has joined #lisp 06:53:15 hkBst [~marijn@gentoo/developer/hkbst] has joined #lisp 06:53:57 jlongster [~user@pool-72-84-229-181.rcmdva.fios.verizon.net] has joined #lisp 06:55:40 -!- gravicappa [~gravicapp@ppp91-77-163-106.pppoe.mtu-net.ru] has quit [Ping timeout: 246 seconds] 06:56:50 varjagg [~eugene@122.62-97-226.bkkb.no] has joined #lisp 06:58:30 easye [~user@213.33.70.157] has joined #lisp 06:59:38 -!- DataLinkDroid [~DataLinkD@1.130.117.134] has quit [Quit: Bye] 07:00:49 -!- maxter [~maxter@gaffeless.chaperon.volia.net] has quit [Quit: Konversation terminated!] 07:02:29 -!- jlongster [~user@pool-72-84-229-181.rcmdva.fios.verizon.net] has quit [Ping timeout: 248 seconds] 07:03:09 jtza8 [~jtza8@105-236-121-156.access.mtnbusiness.co.za] has joined #lisp 07:03:35 kedorlaomer [~adleralq@lankwitz.informatik.hu-berlin.de] has joined #lisp 07:03:41 BeLucid [~belucid@cpe-066-057-034-009.nc.res.rr.com] has joined #lisp 07:03:53 -!- kedorlaomer [~adleralq@lankwitz.informatik.hu-berlin.de] has quit [Client Quit] 07:06:26 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 07:06:51 kedorlaomer [~adleralq@lankwitz.informatik.hu-berlin.de] has joined #lisp 07:09:09 oleo [~oleo@xdsl-87-79-193-83.netcologne.de] has joined #lisp 07:09:10 tobel [~user@pD9FAC834.dip0.t-ipconnect.de] has joined #lisp 07:11:36 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 276 seconds] 07:11:47 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 07:11:54 -!- aw|incendiary is now known as zacharias 07:14:52 agam [~agam@216.239.45.130] has joined #lisp 07:16:58 prxq [~mommer@mnhm-590c3ca8.pool.mediaWays.net] has joined #lisp 07:17:35 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 07:19:08 -!- agam__ [~agam@216.239.45.130] has quit [Ping timeout: 256 seconds] 07:19:31 Beetny [~Beetny@ppp118-208-47-73.lns20.bne1.internode.on.net] has joined #lisp 07:19:45 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 07:20:50 -!- ltbarcly__ [~jvanwink@pool-71-116-73-196.snfcca.dsl-w.verizon.net] has quit [Ping timeout: 245 seconds] 07:22:21 -!- McMAGIC--Copy [~McMAGIC--@gateway/tor-sasl/mcmagic--copy] has quit [Remote host closed the connection] 07:23:08 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 07:23:35 -!- protist [~protist@8.224.69.111.dynamic.snap.net.nz] has quit [Ping timeout: 260 seconds] 07:25:44 McMAGIC--Copy [~McMAGIC--@gateway/tor-sasl/mcmagic--copy] has joined #lisp 07:29:11 -!- nilsi_ [~nilsi@218.11.176.46] has quit [Remote host closed the connection] 07:34:26 s0ber [~s0ber@36-229-167-140.dynamic-ip.hinet.net] has joined #lisp 07:36:02 -!- lyanchih [~lyanchih@202.39.219.19] has quit [Quit: lyanchih] 07:36:03 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Read error: Operation timed out] 07:37:15 lyanchih [~lyanchih@202.39.219.19] has joined #lisp 07:37:57 -!- lyanchih [~lyanchih@202.39.219.19] has quit [Client Quit] 07:40:51 ck`` [~ck@dslb-094-219-235-135.pools.arcor-ip.net] has joined #lisp 07:44:10 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 07:45:13 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 07:45:27 protist [~protist@40.224.69.111.dynamic.snap.net.nz] has joined #lisp 07:46:20 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 07:47:02 -!- joast [~rick@cpe-24-160-56-92.socal.res.rr.com] has quit [Ping timeout: 240 seconds] 07:47:04 optikalmouse [~omouse@69-165-245-60.cable.teksavvy.com] has joined #lisp 07:48:06 lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has joined #lisp 07:48:15 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 07:48:31 One question, read-line doesn't take an argument so I can define the end-of-line and just takes the new-line as the line terminator but read appears ignore cr and linefeed. Is there another read function I am missing? 07:49:20 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 07:49:28 <|3b|> READ ignores most types of whitespace, and doesn't care about line endings in general 07:50:26 -!- Harag [~Thunderbi@ti-227-55-119.telkomadsl.co.za] has quit [Ping timeout: 256 seconds] 07:50:43 read-char is what I was looking for (I think) 07:51:35 -!- tobel [~user@pD9FAC834.dip0.t-ipconnect.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 07:52:22 Harag [~Thunderbi@ti-228-30-250.telkomadsl.co.za] has joined #lisp 07:52:37 <|3b|> which character(s) denote end of line would probably be part of the external-format specified when the file was opened, but the spec doesn't say how specifically, so you would need to check implementation docs for that, or use flexi-streams if the implementation doesn't support it 07:53:06 <|3b|> or if you want something to handle it portably without checking docs for a bunch of implementations 07:53:07 -!- mpstyler [5e64ed81@gateway/web/freenode/ip.94.100.237.129] has quit [Quit: Page closed] 08:00:10 add^_ [~user@m176-70-198-98.cust.tele2.se] has joined #lisp 08:00:38 tcr1 [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 08:00:48 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 08:04:38 foreignFunction [~niksaak@ip-4761.sunline.net.ua] has joined #lisp 08:09:09 -!- GuilOooo [~GuilOooo@178.20.70.196] has quit [Ping timeout: 264 seconds] 08:09:31 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Ping timeout: 264 seconds] 08:09:31 -!- ndrei [~avo@85-171-204-225.rev.numericable.fr] has quit [Ping timeout: 264 seconds] 08:09:52 ogamita [~t@AMontsouris-651-1-54-119.w90-24.abo.wanadoo.fr] has joined #lisp 08:10:13 -!- harish [harish@nat/redhat/x-rjolalxgrtyrycpf] has quit [Ping timeout: 248 seconds] 08:10:50 peterhil [~peterhil@158.127.31.162] has joined #lisp 08:10:51 -!- clmsy [~clmsy@212.57.9.204] has quit [Remote host closed the connection] 08:13:42 -!- prxq [~mommer@mnhm-590c3ca8.pool.mediaWays.net] has quit [Remote host closed the connection] 08:15:50 prxq [~mommer@mnhm-590c3ca8.pool.mediaWays.net] has joined #lisp 08:18:10 przl [~przlrkt@62.217.45.197] has joined #lisp 08:18:11 Shinmera [~linus@xdsl-188-155-176-171.adslplus.ch] has joined #lisp 08:18:14 -!- Gooder [~user@218.69.12.194] has quit [Read error: Connection reset by peer] 08:22:50 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 08:26:27 -!- kanru [~kanru@118-163-10-190.HINET-IP.hinet.net] has quit [Remote host closed the connection] 08:27:30 kanru [~kanru@118-163-10-190.HINET-IP.hinet.net] has joined #lisp 08:29:11 shridhar [Shridhar@nat/redhat/x-qxrogmvidwrgdqdi] has joined #lisp 08:32:35 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Read error: Operation timed out] 08:33:07 -!- chr``` [~user@148.122.202.244] has quit [Read error: Connection reset by peer] 08:33:11 snowylike [~sn@91-67-170-78-dynip.superkabel.de] has joined #lisp 08:34:19 chr``` [~user@148.122.202.244] has joined #lisp 08:38:28 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Ping timeout: 256 seconds] 08:38:43 -!- chr``` [~user@148.122.202.244] has quit [Ping timeout: 260 seconds] 08:39:05 maxter [~maxter@gaffeless.chaperon.volia.net] has joined #lisp 08:39:40 weie [~eie@softbank221078042071.bbtec.net] has joined #lisp 08:41:36 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 08:41:44 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 08:44:28 -!- ogamita [~t@AMontsouris-651-1-54-119.w90-24.abo.wanadoo.fr] has quit [Remote host closed the connection] 08:44:44 ogamita [~t@AMontsouris-651-1-54-119.w90-24.abo.wanadoo.fr] has joined #lisp 08:45:18 clmsy [~clmsy@212.57.9.204] has joined #lisp 08:45:51 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 08:46:16 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Ping timeout: 246 seconds] 08:46:25 AeroNotix [~aero@nat/hp/x-swkpblmoysmjtwkv] has joined #lisp 08:46:44 is this channel logged? 08:47:03 chr``` [~user@148.122.202.244] has joined #lisp 08:47:57 -!- lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has quit [Quit: lyanchih] 08:50:22 Yes. http://cliki.net/IRC 08:50:46 Shinmera: thanks:) 08:52:38 -!- przl [~przlrkt@62.217.45.197] has quit [Ping timeout: 256 seconds] 08:56:04 -!- clmsy [~clmsy@212.57.9.204] has quit [Remote host closed the connection] 08:58:33 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 08:59:58 ndrei [~avo@83.142.149.227] has joined #lisp 09:00:31 -!- pranavrc [~pranavrc@unaffiliated/pranavrc] has quit [Quit: Ping timeout: ] 09:01:56 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 09:02:52 davazp [~user@92.251.217.50.threembb.ie] has joined #lisp 09:02:57 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 09:03:31 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Ping timeout: 264 seconds] 09:04:33 mrSpec [~Spec@LVelizy-156-46-58-26.w80-11.abo.wanadoo.fr] has joined #lisp 09:04:42 -!- mrSpec [~Spec@LVelizy-156-46-58-26.w80-11.abo.wanadoo.fr] has quit [Changing host] 09:04:42 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 09:05:05 when using slime/quicklisp installed stuff, what should I set my asdf:*central-repository* to contain? 09:05:12 I had this working last night -_- 09:05:15 on a different machine 09:05:47 Just put your own projects into the local-projects folder of quicklisp. 09:05:51 or symlink to them in there. 09:06:47 but when I install 3rd party code, how do I get it to be found? 09:07:05 Install it through QL or ..? 09:07:14 I installed it through QL 09:07:25 QL should manage ASDF by itself 09:07:27 hmm, ok 09:07:30 then it doesn't 09:07:37 wait, I have an idea 09:07:49 your projects that need this third-party code need to be seen by QL as well for it to work 09:08:05 hmm, ok 09:09:20 so I've symlinked my project into ~/.quicklisp/local-projects (I didn't have to do this on my other machine) 09:09:26 gah fuck it, I need a break 09:09:47 now you can load your project with (ql:quickload :my-project-asdf-name) 09:10:08 przl [~przlrkt@62.217.45.197] has joined #lisp 09:11:43 "system $SYSNAME not found" 09:12:25 -!- yacks [~py@103.6.158.105] has quit [Read error: Connection reset by peer] 09:13:02 is there a system-index.txt file in the local-projects folder? You might have to delete that first, it sometimes didn't update for me. 09:13:35 well, it's updated 09:13:44 it has the path to the .asd file for the system 09:13:50 Hm 09:14:10 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Ping timeout: 245 seconds] 09:14:25 wait, now it works. Must've shook out the gremlins 09:14:34 Ah, good. 09:15:16 this is all pretty complicated compared 09:15:32 lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has joined #lisp 09:15:39 Pretty straightforward in my book. Symlink the project, (ql:quickload it) 09:16:10 and then? 09:16:18 then you use it 09:23:22 (push *default-pathname-defaults* asdf:*central-registry*) 09:23:33 AeroNotix: if you put that in your .sbclrc 09:23:58 then you an asdf:load-system or ql:quickload from anywhere 09:24:02 -!- lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has quit [Quit: lyanchih] 09:24:02 -!- ndrei [~avo@83.142.149.227] has quit [Quit: leaving] 09:24:15 ndrei [~avo@83.142.149.227] has joined #lisp 09:24:27 of course, you'll have to be in that director, of course 09:24:50 directory* 09:24:53 -!- ogamita [~t@AMontsouris-651-1-54-119.w90-24.abo.wanadoo.fr] has quit [Read error: Operation timed out] 09:25:04 then it's just a matter of cd'ing to the directory 09:25:04 pavelpenev [~quassel@melontech.com] has joined #lisp 09:25:19 and then asdf:load-system or ql:quickload 09:27:55 -!- spion [~spion@unaffiliated/spion] has quit [Ping timeout: 246 seconds] 09:28:06 -!- przl [~przlrkt@62.217.45.197] has quit [Ping timeout: 276 seconds] 09:30:28 setmeaway [~setmeaway@119.201.52.138] has joined #lisp 09:30:39 harish [~harish@175.156.118.29] has joined #lisp 09:30:50 -!- ndrei [~avo@83.142.149.227] has quit [Quit: leaving] 09:35:40 lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has joined #lisp 09:35:57 yacks [~py@103.6.158.105] has joined #lisp 09:36:37 ogamita [~t@AMontsouris-651-1-54-119.w90-24.abo.wanadoo.fr] has joined #lisp 09:37:32 coreytrevor [~ma@95.211.138.27] has joined #lisp 09:41:54 przl [~przlrkt@62.217.45.197] has joined #lisp 09:44:44 walter|r [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 09:46:11 ndrei [~avo@83.142.149.227] has joined #lisp 09:47:10 -!- ndrei [~avo@83.142.149.227] has quit [Client Quit] 09:47:17 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Ping timeout: 248 seconds] 09:47:25 ndrei [~avo@83.142.149.227] has joined #lisp 09:49:03 -!- lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has quit [Quit: lyanchih] 09:49:39 -!- przl [~przlrkt@62.217.45.197] has quit [Ping timeout: 260 seconds] 09:50:04 -!- ndrei [~avo@83.142.149.227] has quit [Client Quit] 09:50:18 ndrei [~avo@83.142.149.227] has joined #lisp 09:50:42 przl [~przlrkt@62.217.45.197] has joined #lisp 09:51:02 GuilOooo [~GuilOooo@178.20.70.196] has joined #lisp 09:52:04 -!- ndrei [~avo@83.142.149.227] has quit [Client Quit] 09:52:14 agam_ [~agam@c-76-102-52-33.hsd1.ca.comcast.net] has joined #lisp 09:52:18 ndrei [~avo@83.142.149.227] has joined #lisp 09:52:28 -!- agam [~agam@216.239.45.130] has quit [Ping timeout: 260 seconds] 09:55:02 -!- kanru [~kanru@118-163-10-190.HINET-IP.hinet.net] has left #lisp 09:56:30 kanru [~kanru@118-163-10-190.HINET-IP.hinet.net] has joined #lisp 09:59:04 -!- yacks [~py@103.6.158.105] has quit [Ping timeout: 246 seconds] 10:00:15 -!- chaotic_good [~g@cpe-98-154-163-40.socal.res.rr.com] has quit [Read error: Connection reset by peer] 10:01:24 yacks [~py@103.6.158.105] has joined #lisp 10:02:01 -!- persizzl [~twosizes@gateway/tor-sasl/persizzl] has quit [Quit: persizzl] 10:02:04 lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has joined #lisp 10:03:18 -!- ndrei [~avo@83.142.149.227] has quit [Quit: leaving] 10:03:32 ndrei [~avo@83.142.149.227] has joined #lisp 10:05:18 -!- echo-area [~user@182.92.247.2] has quit [Remote host closed the connection] 10:05:35 mpstyer [5e64ed81@gateway/web/freenode/ip.94.100.237.129] has joined #lisp 10:07:01 edgar-rft [~GOD@HSI-KBW-46-223-73-219.hsi.kabel-badenwuerttemberg.de] has joined #lisp 10:08:13 clmsy [~clmsy@212.57.9.204] has joined #lisp 10:11:46 can a variable defined by defvar be passed to a function as an argument and there changed(initialized) by setf? 10:19:27 mpstyer: yes: https://gist.github.com/AeroNotix/6279750 10:19:55 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 10:20:37 -!- lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has quit [Quit: lyanchih] 10:20:48 -!- peterhil [~peterhil@158.127.31.162] has quit [Ping timeout: 268 seconds] 10:21:29 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 10:22:23 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 10:22:42 -!- walter|r [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Ping timeout: 276 seconds] 10:22:53 AeroNotix, thanks 10:23:54 mpstyer: no problem 10:24:10 -!- ogamita [~t@AMontsouris-651-1-54-119.w90-24.abo.wanadoo.fr] has quit [Ping timeout: 245 seconds] 10:24:53 -!- nug700 [~nug700@174-26-143-176.phnx.qwest.net] has quit [Quit: bye] 10:25:08 -!- ndrei [~avo@83.142.149.227] has quit [Quit: leaving] 10:25:22 ndrei [~avo@83.142.149.227] has joined #lisp 10:27:02 -!- yacks [~py@103.6.158.105] has quit [Ping timeout: 240 seconds] 10:28:01 yacks [~py@103.6.158.105] has joined #lisp 10:29:58 -!- mpstyer [5e64ed81@gateway/web/freenode/ip.94.100.237.129] has quit [Quit: Page closed] 10:31:06 spion [~spion@unaffiliated/spion] has joined #lisp 10:31:10 -!- cdidd [~cdidd@128-68-6-63.broadband.corbina.ru] has quit [Remote host closed the connection] 10:32:17 -!- agam_ [~agam@c-76-102-52-33.hsd1.ca.comcast.net] has quit [Quit: Konversation terminated!] 10:32:47 The variable ESRAP::*HEADS* is unbound. [Condition of type UNBOUND-VARIABLE] 10:33:07 mmm, I might have to recompile all the systems after a quicklisp update? 10:33:43 cdidd [~cdidd@128-68-26-100.broadband.corbina.ru] has joined #lisp 10:34:29 yeah, did it. 10:35:17 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 10:36:45 peterhil [~peterhil@158.127.31.162] has joined #lisp 10:39:05 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 10:39:51 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 10:40:06 -!- cdidd [~cdidd@128-68-26-100.broadband.corbina.ru] has quit [Remote host closed the connection] 10:41:55 -!- doomlord [~doomlod@host86-180-26-144.range86-180.btcentralplus.com] has quit [Ping timeout: 264 seconds] 10:42:08 -!- ndrei [~avo@83.142.149.227] has quit [Quit: leaving] 10:42:23 ndrei [~avo@83.142.149.227] has joined #lisp 10:42:35 cdidd [~cdidd@128-69-115-131.broadband.corbina.ru] has joined #lisp 10:45:24 -!- przl [~przlrkt@62.217.45.197] has quit [Ping timeout: 256 seconds] 10:45:36 BlankVerse [~pankajm@202.3.77.238] has joined #lisp 10:47:55 -!- p_l [~pl@tsugumi.brage.info] has quit [Ping timeout: 245 seconds] 10:48:31 -!- ndrei [~avo@83.142.149.227] has quit [Ping timeout: 264 seconds] 10:50:00 p_l [~pl@tsugumi.brage.info] has joined #lisp 10:53:03 lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has joined #lisp 10:56:38 przl [~przlrkt@62.217.45.197] has joined #lisp 10:57:46 -!- AeroNotix [~aero@nat/hp/x-swkpblmoysmjtwkv] has quit [Read error: Connection reset by peer] 10:58:13 -!- shridhar is now known as shridhar_afk 10:59:00 jlongster [~user@pool-72-84-229-181.rcmdva.fios.verizon.net] has joined #lisp 11:03:39 -!- jlongster [~user@pool-72-84-229-181.rcmdva.fios.verizon.net] has quit [Ping timeout: 276 seconds] 11:04:35 -!- optikalmouse [~omouse@69-165-245-60.cable.teksavvy.com] has quit [Ping timeout: 268 seconds] 11:09:58 persizzl [~twosizes@gateway/tor-sasl/persizzl] has joined #lisp 11:10:29 stassats [~stassats@wikipedia/stassats] has joined #lisp 11:18:19 nialo [~nialo@ool-44c53f01.dyn.optonline.net] has joined #lisp 11:20:10 -!- BlankVerse [~pankajm@202.3.77.238] has quit [Quit: leaving] 11:20:10 ndrei [~avo@83.142.149.227] has joined #lisp 11:21:35 -!- ndrei [~avo@83.142.149.227] has quit [Client Quit] 11:21:48 ndrei [~avo@83.142.149.227] has joined #lisp 11:22:14 -!- ndrei [~avo@83.142.149.227] has quit [Client Quit] 11:22:59 DalekBaldwin [~Adium@ip68-4-133-159.oc.oc.cox.net] has joined #lisp 11:24:27 ndrei [~avo@83.142.149.227] has joined #lisp 11:24:29 -!- spion [~spion@unaffiliated/spion] has quit [Ping timeout: 246 seconds] 11:32:46 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 11:32:53 -!- theos is now known as Guest24887 11:33:23 theos [~theos@unaffiliated/theos] has joined #lisp 11:35:15 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 11:35:16 -!- Guest24887 [~theos@unaffiliated/theos] has quit [Ping timeout: 256 seconds] 11:36:21 AeroNotix [~aero@nat/hp/x-agxdhpeqtoyzvigp] has joined #lisp 11:37:29 spion [~spion@unaffiliated/spion] has joined #lisp 11:41:55 -!- davazp [~user@92.251.217.50.threembb.ie] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:43:20 ASau` [~user@p4FF97457.dip0.t-ipconnect.de] has joined #lisp 11:44:28 -!- quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has quit [Read error: No route to host] 11:45:39 quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has joined #lisp 11:46:12 davazp [~user@92.251.217.50.threembb.ie] has joined #lisp 11:47:08 -!- ASau [~user@p4FF96920.dip0.t-ipconnect.de] has quit [Ping timeout: 268 seconds] 11:50:19 -!- quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 264 seconds] 11:50:23 klltkr [~klltkr@unaffiliated/klltkr] has joined #lisp 11:50:41 quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has joined #lisp 11:54:38 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Remote host closed the connection] 11:56:04 cscorp [~csorp@c-98-230-174-67.hsd1.ga.comcast.net] has joined #lisp 11:56:17 -!- AeroNotix [~aero@nat/hp/x-agxdhpeqtoyzvigp] has quit [Read error: Connection reset by peer] 11:57:53 -!- snowylike [~sn@91-67-170-78-dynip.superkabel.de] has quit [Quit: Nettalk6 - www.ntalk.de] 12:01:44 -!- yacks [~py@103.6.158.105] has quit [Ping timeout: 260 seconds] 12:02:43 kliph [~user@unaffiliated/kliph] has joined #lisp 12:04:35 -!- clmsy [~clmsy@212.57.9.204] has quit [Remote host closed the connection] 12:04:36 AeroNotix [~aero@nat/hp/x-zbbscybfkqaomwjn] has joined #lisp 12:07:53 ase_ [~ase@ip56583baa.direct-adsl.nl] has joined #lisp 12:09:17 -!- klltkr [~klltkr@unaffiliated/klltkr] has quit [Read error: Operation timed out] 12:10:08 -!- kotharia [~kotharia@123-3-231-34.static.dsl.dodo.com.au] has quit [Ping timeout: 260 seconds] 12:11:54 -!- przl [~przlrkt@62.217.45.197] has quit [Ping timeout: 276 seconds] 12:12:25 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 12:13:02 -!- Beetny [~Beetny@ppp118-208-47-73.lns20.bne1.internode.on.net] has quit [Ping timeout: 268 seconds] 12:13:09 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 12:19:33 przl [~przlrkt@62.217.45.197] has joined #lisp 12:20:08 hmm, I try to make a defconstant in SLIME and it borks at my saying I'm redifing stuff 12:20:11 redefining 12:20:43 AeroNotix: defconstant in sbcl is best used for objects that are EQL 12:20:50 stepnem [~stepnem@internet2.cznet.cz] has joined #lisp 12:21:41 ragnul [~rjain@66-234-32-156.nyc.cable.nyct.net] has joined #lisp 12:22:04 Xach: so defconstant isn't like "#define a 123" ? 12:22:57 -!- kushal [kdas@fedora/kushal] has quit [Quit: Leaving] 12:23:42 yacks [~py@103.6.158.105] has joined #lisp 12:23:47 gravicappa [~gravicapp@ppp91-77-163-106.pppoe.mtu-net.ru] has joined #lisp 12:27:40 clmsy [~clmsy@212.57.9.204] has joined #lisp 12:27:57 -!- lyanchih [~lyanchih@118-163-141-228.HINET-IP.hinet.net] has quit [Quit: lyanchih] 12:28:48 add^_` [~user@m176-70-201-126.cust.tele2.se] has joined #lisp 12:28:49 -!- add^_ [~user@m176-70-198-98.cust.tele2.se] has quit [Read error: Connection reset by peer] 12:29:22 fantasticsid [~user@216.240.135.196] has joined #lisp 12:29:30 ,df(+ 1 1) 12:29:34 ,(+ 1 1 ) 12:29:47 what's the bot repl syntax? 12:29:56 AeroNotix: there is no repl bot 12:30:07 H4ns: that would explain it! 12:30:48 pranavrc [~pranavrc@unaffiliated/pranavrc] has joined #lisp 12:31:28 #lisp is inhabited by highly intelligent people who can evaluate (+ 1 1) in their heads 12:31:50 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 12:31:54 hitecnologys [~hitecnolo@46.233.217.94] has joined #lisp 12:32:16 stassats: stop being an asshat and just give me the answer to (+ 1 1) 12:32:29 42 12:32:41 *snrk* 12:32:51 hitecnologys: finally, someone to help me 12:33:03 AeroNotix: np 12:34:56 There are different answers: it may be 42.00000001 or 41.99999999 on Intel processors. 12:37:36 hitecnologys: on my x83.5 I'm getting 43, bug in SBCL? 12:37:42 Yeah I'll file a bug 12:39:17 Looks like a bug, sure. 12:39:43 -!- DalekBaldwin [~Adium@ip68-4-133-159.oc.oc.cox.net] has quit [Quit: Leaving.] 12:40:00 -!- ndrei [~avo@83.142.149.227] has quit [Ping timeout: 256 seconds] 12:40:15 hitecnologys: thanks for help 12:41:02 -!- cscorp [~csorp@c-98-230-174-67.hsd1.ga.comcast.net] has quit [Quit: cscorp] 12:41:07 AeroNotix: defconstant is not like #define 12:41:29 cscorp [~csorp@c-98-230-174-67.hsd1.ga.comcast.net] has joined #lisp 12:41:33 define-symbol-macro is more like #define 12:41:42 stassats: aha, yes. I've seen this 12:41:58 so, guys, what do you use for json marshaling/unmarshaling? 12:42:31 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 12:42:36 st-json 12:43:02 cl-json 12:43:30 yason (just them listing all) 12:44:06 haha 12:44:12 walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has joined #lisp 12:44:15 now I am in no better position 12:44:25 Will go with yason 12:44:49 -!- pavelpenev [~quassel@melontech.com] has quit [Read error: Operation timed out] 12:45:11 What's the real difference between st-json, cl-json and yason? 12:46:28 sylecn [~user@113.106.251.82] has joined #lisp 12:48:13 A survey and summary would be most helpful, can you do it? 12:48:38 doomlord [~doomlod@host86-180-26-144.range86-180.btcentralplus.com] has joined #lisp 12:49:08 Hm, I assume I can. Comparison of these 3 libs, right? 12:49:27 haha - in Erlang a JSON library is like the "Hello world" library 12:49:32 everyone has one 12:49:46 I suppose in Lisp a JSON library would be very interesting to implement 12:50:02 I guess XML would actually be even more fun due to the similar syntax trees 12:50:08 but then again; XML. 12:50:12 JSON is popular, that's why everybody implements decoders/encoders 12:50:58 scoofy [~scoofy@catv-89-135-71-167.catv.broadband.hu] has joined #lisp 12:51:05 Also - Seibel has one. What about that? 12:51:43 yikes slime is like what ide's should be 12:52:31 not really, slime is not really that advanced 12:52:46 And this approach won't work with different languages. 12:53:28 It's quite hard to apply lispy things to C or Python. 12:53:30 ndrei [~avo@83.142.149.227] has joined #lisp 12:54:48 doomlord__ [~doomlod@host86-180-26-144.range86-180.btcentralplus.com] has joined #lisp 12:57:02 -!- kcj [~casey@unaffiliated/kcj] has quit [Ping timeout: 240 seconds] 12:59:09 regarding interactivity, this is the article that ultimately convinced me that I should start game programming with lisp: http://www.grimrock.net/2012/07/25/making-of-grimrock-rapid-programming/ it describes rapid development with C++/Lua combo. I had only worked a bit with C before so all that sounded unbelievable 13:00:08 lduros [~user@fsf/member/lduros] has joined #lisp 13:01:28 nilsi [~nilsi@218.11.176.38] has joined #lisp 13:06:13 -!- davazp [~user@92.251.217.50.threembb.ie] has quit [Ping timeout: 248 seconds] 13:06:30 Vutral [ss@mirbsd/special/Vutral] has joined #lisp 13:07:44 -!- Vutral [ss@mirbsd/special/Vutral] has quit [Excess Flood] 13:10:33 davazp [~user@92.251.217.50.threembb.ie] has joined #lisp 13:11:53 segv- [~mb@95-91-243-189-dynip.superkabel.de] has joined #lisp 13:12:23 -!- sylecn [~user@113.106.251.82] has quit [Quit: Oaki-doki] 13:13:37 -!- nilsi [~nilsi@218.11.176.38] has quit [Remote host closed the connection] 13:13:41 -!- fantasticsid [~user@216.240.135.196] has quit [Remote host closed the connection] 13:14:10 nilsi [~nilsi@5.254.135.230] has joined #lisp 13:16:01 -!- ndrei [~avo@83.142.149.227] has quit [Quit: leaving] 13:16:18 ndrei [~avo@83.142.149.227] has joined #lisp 13:17:53 -!- kliph [~user@unaffiliated/kliph] has quit [Remote host closed the connection] 13:18:03 -!- motionman [~motionman@unaffiliated/motionman] has quit [Quit: tschüß] 13:19:04 -!- loke_ [~elias@2001:470:36:b4a:d52b:4ec8:7cfd:58d0] has quit [Read error: Connection reset by peer] 13:19:13 -!- tcr1 [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 13:19:16 tcr [~tcr@95-90-245-81-dynip.superkabel.de] has joined #lisp 13:19:33 loke_ [~elias@2001:470:36:b4a:d52b:4ec8:7cfd:58d0] has joined #lisp 13:19:50 -!- Harag [~Thunderbi@ti-228-30-250.telkomadsl.co.za] has quit [Ping timeout: 240 seconds] 13:21:02 mgile [~mgile@74-92-220-177-Colorado.hfc.comcastbusiness.net] has joined #lisp 13:21:29 Harag [~Thunderbi@ti-229-190-88.telkomadsl.co.za] has joined #lisp 13:22:49 -!- ndrei [~avo@83.142.149.227] has quit [Quit: leaving] 13:23:05 ndrei [~avo@83.142.149.227] has joined #lisp 13:23:38 paddymahoney [~patrick@24.137.221.230] has joined #lisp 13:24:29 nilsi_ [~nilsi@5.254.131.59] has joined #lisp 13:25:03 -!- persizzl [~twosizes@gateway/tor-sasl/persizzl] has quit [Remote host closed the connection] 13:25:54 persizzl [~twosizes@gateway/tor-sasl/persizzl] has joined #lisp 13:26:56 Any code critique - this is crying out for refactoring but I'm not clear where to start: https://gist.github.com/AeroNotix/6281375 13:27:17 hash literals would be lovely 13:27:18 -!- nilsi [~nilsi@5.254.135.230] has quit [Ping timeout: 276 seconds] 13:27:36 not doing (gethash "auth" auth) three times would be lovely 13:27:51 AeroNotix: you shouldn't be using a hash where a structure will do 13:28:05 Isn't that what yason requires 13:28:07 ? 13:28:10 AeroNotix: oh, never mind. yason needs it. 13:28:13 *dlowe* sighs. 13:28:35 kcj [~casey@unaffiliated/kcj] has joined #lisp 13:29:01 can't it use alists or something? 13:29:36 or symbol-macrolet 13:29:46 was thinking a macroloet 13:29:48 macrolet 13:30:00 macrolet? what for? 13:30:24 For the gethash stuff? 13:30:32 or should I just let* store the subhash? 13:30:52 the latter 13:30:57 ok 13:31:02 Xach: if I found the time to do a summary and comparison of a group of libraries, what would be first on your wish list? 13:31:30 if yason won't handle a-lists, I recommend writing a small recursive alist to hash table conversion routine 13:31:31 AeroNotix: There's difference between macrolet and symbol-macrolet. 13:32:12 -!- ptshih [k3VB6u4d@gateway/shell/ircrelay.com/x-jgzccebfesfhcvve] has left #lisp 13:32:19 -!- tcr [~tcr@95-90-245-81-dynip.superkabel.de] has quit [Ping timeout: 264 seconds] 13:32:28 AeroNotix: https://gist.github.com/AeroNotix/6281375#comment-890467 13:33:23 stassats: oh cool, never seen that form of setf, is that reliably evaluated backwards? 13:33:29 except that gethash arguments should be in the right order 13:33:34 backwards? 13:33:34 ok 13:33:40 tcr [~tcr@95-90-240-240-dynip.superkabel.de] has joined #lisp 13:33:46 nevermind 13:34:23 clhs psetf 13:34:23 http://www.lispworks.com/reference/HyperSpec/Body/m_setf_.htm 13:34:31 Is that what you meant? 13:34:33 you don't need psetf here 13:34:42 lyanchih [~lyanchih@114-34-99-241.HINET-IP.hinet.net] has joined #lisp 13:34:48 sabra: hmmm, i'm not sure. json seems like a good one. i think someone did xml already but i don't know where it is. 13:34:53 or maybe it was test libraries. 13:35:11 stassats: I thought he asked if he can evaluate it backwards. 13:35:28 hitecnologys: no, I was just being dumb 13:35:34 Ah, damn, no need for psetf in that case too. 13:35:38 hitecnologys: i'm not sure what backwards means here, but psetf doesn't do that 13:35:48 -!- clmsy [~clmsy@212.57.9.204] has quit [Remote host closed the connection] 13:35:49 Whatever. 13:36:56 totally lost: https://gist.github.com/AeroNotix/6281526 13:37:58 "except that gethash arguments should be in the right order" 13:38:15 nilsi [~nilsi@101.95.4.234] has joined #lisp 13:38:25 Vutral [~ss@mirbsd/special/Vutral] has joined #lisp 13:38:29 benny [~user@maidenhead3.tunnelr.com] has joined #lisp 13:38:50 ah shit, weird message? 13:39:50 gr4nf [~gr4nf@190.86.177.25] has joined #lisp 13:40:46 tcr1 [~tcr@88-134-108-101-dynip.superkabel.de] has joined #lisp 13:41:12 -!- quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has quit [Ping timeout: 256 seconds] 13:41:21 teggi [~teggi@123.20.106.65] has joined #lisp 13:41:31 i would have thought that (yason:with-output-to-string* () (yason:with-object () (yason:encode-object-element "auth" (yason:with-object () (yason:encode-object-elements "login" "l"))))) works, but it doesn't 13:41:46 -!- nilsi_ [~nilsi@5.254.131.59] has quit [Ping timeout: 256 seconds] 13:42:31 -!- tcr [~tcr@95-90-240-240-dynip.superkabel.de] has quit [Ping timeout: 259 seconds] 13:42:44 arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has joined #lisp 13:42:57 stassats: hmm, that's interesting syntax 13:44:02 you can ask H4ns why that doesn't work 13:44:42 H4ns: Why doesn't that work? 13:45:10 probably it needs with-object-element 13:45:33 (yason:with-output-to-string* () (yason:with-object () (yason:with-object-element ("auth") (yason:with-object () (yason:encode-object-elements "login" "l"))))) this works 13:45:59 -!- sellout- [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has quit [Quit: Leaving.] 13:46:03 interesting 13:46:39 CrazyWoods [~nowolfer@27.154.10.164] has joined #lisp 13:50:00 mpstyler [5e64ed83@gateway/web/freenode/ip.94.100.237.131] has joined #lisp 13:51:08 How do I get time of execution of some form? I need to measure average speed of function. 13:51:32 hitecnologys: (time '(+ 1 1)) ? 13:52:19 First of all, (time (+ 1 1)). And it outputs lots of stuff I can't simply parse (not without regexps). I need just number. 13:52:36 jewel [~jewel@105-236-76-31.access.mtnbusiness.co.za] has joined #lisp 13:53:04 Evaluation of '(+ 1 1) took: 9396 CPU cycles. 0_o 13:53:37 hitecnologys: I just quoted to show what could be done, tbh. 13:54:04 AeroNotix: ah, ok. Anyway, this won't do what I need. 13:54:17 it'd be better as an alist, yeah 13:54:22 or whatever 13:54:28 hitecnologys: (with-output-to-string (*standard-output*) ...) 13:54:45 *trace-output*? 13:55:00 whatever stream gets it 13:55:22 -!- tcr1 [~tcr@88-134-108-101-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 13:55:26 dlowe: what do you mean by that? 13:55:34 tcr [~tcr@88-134-110-1-dynip.superkabel.de] has joined #lisp 13:55:54 hiyosi [~skip_it@247.94.30.125.dy.iij4u.or.jp] has joined #lisp 13:56:12 -!- add^_` [~user@m176-70-201-126.cust.tele2.se] has quit [Remote host closed the connection] 13:56:12 I need to run some benchmarks. How is w-o-t-s supposed to help me? 13:56:13 oh, you don't want to parse, I see 13:56:20 hitecnologys: there is no standard way to do what you want. you can look at the expansion/implementation of TIME, and see what the implementation does. 13:56:25 *dlowe* is having some reading comprehension issues today. 13:56:32 (time (+ 1 1)), at least on sbcl, is the same (time 2), i.e. it computes the result before running anything 13:56:39 add^_ [~user@m176-70-201-126.cust.tele2.se] has joined #lisp 13:57:15 (let ((start (local-time:now))) (do-thing) (local-time:timestamp- (local-time:now) start)) 13:57:28 clhs get-internal-real-time 13:57:29 http://www.lispworks.com/reference/HyperSpec/Body/f_get_in.htm 13:57:31 Ok, another question: are there any good benchmarking libraries for lisp? 13:57:33 faust45 [~faust45@77-239-188-71.static.vega-ua.net] has joined #lisp 13:57:51 -!- hiyosi [~skip_it@247.94.30.125.dy.iij4u.or.jp] has quit [Quit: WeeChat 0.4.1] 13:57:58 clhs i-t-u-p-s 13:57:59 internal-time-units-per-second: http://www.lispworks.com/reference/HyperSpec/Body/v_intern.htm 13:58:28 use those for timing 13:58:30 hiyosi [~skip_it@247.94.30.125.dy.iij4u.or.jp] has joined #lisp 13:58:31 hitecnologys: sb-sprof, sb-profile on sbcl. ccl works great with oprofile (setup is a pain though) 13:58:56 Ah, I forgot that I have sb-sprof. 13:59:02 that's profiling tools, not benchmarking libraries? 13:59:43 -!- przl [~przlrkt@62.217.45.197] has quit [Ping timeout: 268 seconds] 13:59:43 I don't really need pure benchmarking library, I just need to compare speed of 3 functions. 14:00:00 then sb-sprof isn't going to help 14:00:27 AFAIR it outputs time, doesn't it? 14:00:55 Ah, damn, got it. 14:00:59 it's a statistical profiling tool, it won't help you compare functions 14:01:01 hitecnologys: (dolist (func (list #'func1 ... #'funcn)) (time (funcall func1))) 14:01:21 that certainly wins the "simplicity" argument 14:01:58 you would usually need to run them several times 14:02:08 hitecnologys: sb-impl::call-with-timing seems useful for you. But it's internal to sbcl. 14:02:49 -!- lyanchih [~lyanchih@114-34-99-241.HINET-IP.hinet.net] has quit [Quit: lyanchih] 14:03:13 przl [~przlrkt@62.217.45.197] has joined #lisp 14:03:18 clmsy [~clmsy@212.57.9.204] has joined #lisp 14:03:31 naryl: it is exported from SB-EXT 14:03:40 > EXPERIMENTAL: Interface subject to change. 14:03:48 Oh, didn't notice. Thanks. 14:04:05 if all you need is timing, don't use call-with-timing 14:05:54 and if the granularity of the internal time units is good enough, just use those. 14:06:02 Anyway, I'm interested in how do people usually compare something. 14:06:11 any way to dump out what drakma sends on the wire? 14:06:45 AeroNotix: what do you mean by that? Return sent packages back? 14:06:51 lyanchih [~lyanchih@114-34-99-241.HINET-IP.hinet.net] has joined #lisp 14:07:07 hitecnologys: I mean - when I send a request I want to dump out the headers/body/etc what drakma is sending to the remote host 14:07:27 AeroNotix: ah, use sniffer. 14:07:30 hitecnologys: fwiw i usually use either cl:time, if it's just "how do these two 20 line functions compare", or sb-sprof and compare the output if it's "how does these two implementations of idea X compare" 14:07:33 sniffer, ok 14:08:16 hmm, sniffer doesn't seem to be on quicklisp - any other package names? 14:08:28 (i rarely get lucky enough that only the top-level total time tells me everything i need to know) 14:08:47 segv-: hey did you make that slime tutorial? 14:08:50 about 55 minutes long 14:09:06 yeah, that was me 14:09:12 segv-: it's good shit 14:09:14 thanks for doing that 14:09:15 thanks :) 14:09:19 AeroNotix: http://en.wikipedia.org/wiki/Packet_analyzer 14:09:22 my pleasure, it's pretty dated at this point 14:09:28 segv-: I still learned something :) 14:09:33 i think it was made in 2005 or something 14:09:38 hitecnologys: well, yeah, I would if it wasn't https traffic 14:09:49 http=> i'd go straight to wireshark 14:10:00 how to change the sbcl default prompt? 14:10:03 AeroNotix: you can't then. 14:10:14 AeroNotix: i think you can pass a broadcast-stream to drakma 14:10:28 aha, and this will intercept what it sends out as well? 14:10:28 CrazyWoods: run your own REPL 14:10:52 w37 [~user@31.221.13.71] has joined #lisp 14:10:55 AeroNotix: you can try tracing some drakma functions. 14:11:31 hm, no, that'll only get you the sent content 14:11:42 drats 14:11:42 stassats: ? 14:12:12 AeroNotix: it seems, but i haven't tested it myself, that you can pass the input/outpu stream to drakma 14:12:24 segv-: With :stream? 14:12:25 Karl_dscc [~localhost@ipdsw03.informatik.fh-schmalkalden.de] has joined #lisp 14:12:36 you'll have to connect to the remote end yourself, and it'll have to be a binary stream, but then you should (maybe) be able to broadcast all bytes in and out 14:12:38 AeroNotix: yeah 14:12:40 if so; that's for a previously opened socket connection returned by another drakma function 14:12:53 gah, what a pain in the arse 14:13:26 AeroNotix: well, drakma doesn't do anything special to create that stream, it's a usocket:socket-connect 14:13:49 segv-: there's a *header-stream* which you can change to something else to debug headers, wonder why not bodies/full requests. 14:14:01 When I want to know what drakma is sending, I use nc and listen on a port, and tweak the URL a bit to use that port. 14:14:26 Xach: good idea 14:14:38 optikalmouse [~omouse@69-165-245-60.cable.teksavvy.com] has joined #lisp 14:15:10 I am stuggling on a realy simple issue, googling did not help so far. http://paste.lisp.org/display/138539, when I try to (init-board) and (print-current-board) it says that *board* is unbound. 14:15:19 sellout- [~Adium@c-67-176-62-45.hsd1.co.comcast.net] has joined #lisp 14:15:38 why do you have a PROGN there? 14:15:57 and *board* is indeed unbound 14:16:03 and your understanding of special variables is broken 14:16:25 -!- coder` [~user@dslb-188-098-231-076.pools.arcor-ip.net] has quit [Remote host closed the connection] 14:17:00 isnt *board* passed to make-board's setf? 14:17:07 joast [~rick@cpe-24-160-56-92.socal.res.rr.com] has joined #lisp 14:17:20 i am guessing that my understanding is broken ( 14:17:29 nope 14:17:32 its value is 14:18:16 i see 14:18:17 mpstyler: and a side note, you can always allocate a flat array and use row-major ordering. http://en.wikipedia.org/wiki/Row-major_order 14:18:29 quazimodo [~quazimodo@c27-253-98-217.carlnfd2.nsw.optusnet.com.au] has joined #lisp 14:18:58 you can use row-major-aref with a two dimensional array too 14:19:25 j_king: thanks 14:19:28 which is a flat array anyway 14:20:06 so I should quote before passing the argument to make-array? 14:21:14 nope.. 14:24:48 so, when I add :additional-headers on the drakma request, it doesn't override but yet it adds the headers twice? 14:24:50 https://gist.github.com/AeroNotix/6282055 14:25:02 PEBKAC? 14:25:23 can show full code on request 14:25:58 there's a content-type option 14:26:06 Aha 14:26:28 stassats: still, shouldn't the headers override each other? 14:26:40 AFAIK - the http spec doens't allow duplicate header keys, right? 14:27:01 it's called _additional_ 14:27:07 not overrational 14:27:23 I get what you're saying but... you know what I am saying? 14:27:32 overrdingal 14:27:42 no, i don't 14:27:56 I'm saying that :content-type is just a special-case of :additional-headers 14:28:07 if you specify duplicate keys, it's your fault 14:28:11 indeed 14:28:14 -!- tcr [~tcr@88-134-110-1-dynip.superkabel.de] has quit [Quit: Leaving.] 14:28:26 However, pretty sure it's 'against spec' for that in HTTP? 14:28:38 content-type is always passed, it's not an additional header 14:28:38 and the library should catch it, no? Or at least override them 14:28:47 but it's a header, is what I am saying 14:28:58 whatever, no big deal 14:29:05 i don't see why it should 14:30:07 w00t, that was is 14:30:07 and it's allowed 14:30:10 it 14:30:15 stassats: it's allowed? Oh ok 14:30:36 if you have a link to the spec where it says that, would be interested 14:31:02 You can combine then into a comma separated list, but not multiple keys 14:31:16 Semantically multiple content-types wouldn't make any sense at all 14:31:26 and thus: multiple content-type header keys shouldn't be allowed. 14:31:36 I'm turbo bikeshedding here, but just thought it was an interesting point 14:31:39 (for me at least) 14:32:09 _d3f [~gnu@46.183.216.234] has joined #lisp 14:32:12 http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 14:32:45 drmeister [~drmeister@pool-71-185-168-200.phlapa.fios.verizon.net] has joined #lisp 14:33:00 I clearly understand that this is not idiomatic, but how should one pass a reference to a global variable to a function? 14:33:18 mpstyler: like any normal function call? 14:33:34 mpstyler: you can pass a symbol naming that variable 14:33:50 kliph [~user@unaffiliated/kliph] has joined #lisp 14:34:08 AeroNotix: thats what I am trying to do with no succcess :) 14:34:15 mpstyler: show code 14:34:43 http://paste.lisp.org/display/138539 14:35:29 and what's not working? 14:35:32 the *board* is unbound after (init-board) or (make-board *board*) are called 14:35:48 sohail [~sohail@108.161.116.248] has joined #lisp 14:35:48 -!- sohail [~sohail@108.161.116.248] has quit [Changing host] 14:35:48 sohail [~sohail@unaffiliated/sohail] has joined #lisp 14:35:57 because you're setf'ing a function local copy of board 14:35:59 are we going to do it all over again? 14:37:31 does the REPL in SLIME support command history? 14:37:43 -!- paddymahoney [~patrick@24.137.221.230] has quit [Ping timeout: 264 seconds] 14:38:01 of course 14:38:02 gr4nf: yeah 14:38:14 SLIME's a pretty cool guy 14:38:56 thanks all 14:39:18 AeroNotix: what's the command that would be the equivilant of up arrow in bash? 14:39:38 C-up-arrow 14:39:40 gr4nf: M-p 14:39:41 mpstyler: (defun f (var-name) (setf (symbol-value var-name) 'value)) (defvar *b*) (f '*b*) *b* --> value 14:40:02 M-p is not equivalent to the up array in bash 14:40:03 AeroNotix: thanks 14:40:07 mpstyler: but this is silly. It's much better to write: (defun f () 'value) (let ((b (f))) b) 14:40:10 stassats: I use it for that? 14:40:21 mpstyler: don't use global variables, use the functional style. 14:40:29 it's not equivalent 14:40:35 whatever you do 14:40:43 pjb: thank you 14:41:01 it matches the entered input with previous inputs 14:41:07 mpstyler: use global variables as much as you want 14:41:09 but use them correctly 14:41:20 stassats: oh so it's more like C-r up-arrow then 14:41:31 I can imagine how a could avoid using globar var for *board*, I plan to use it while building a game tree 14:41:47 -!- nipra [~nipra@61.12.27.114] has quit [Quit: Leaving.] 14:42:04 I mean I cant 14:42:06 (setf *board* (make-board)) 14:42:51 -!- yacks [~py@103.6.158.105] has quit [Quit: Leaving] 14:42:52 (defparameter *board* (make-board)) 14:43:09 stassats: thanks, again silly me, 14:43:24 mpstyler: you can avoid a global, if you pass it to the functions that need it: (defun main () (let ((board (make-board))) (loop (play board)))) 14:44:32 mpstyler: for example, if you build a game tree, using a global you prevent building it in parallel in different threads. 14:44:50 pjb i see, but from a noob point of view this might result in bigger (lines of code) functions, I would prefer to have more small functions 14:45:00 Instead: (let ((board (make-board))) (in-parallel (build-left-trees board) (build-right-trees board))) 14:45:06 no, using a locally bound special variable does not hinder multithreading in any way 14:45:26 mpstyler: nope. See above. Functional style functions are smaller. 14:45:36 You can often avoid the let: (defun main () (loop (play (make-board)))) 14:45:44 thus, no variable at all. 14:45:53 i see 14:46:04 Try both and see for yourself. 14:46:08 mpstyler: there's no preference for any style in CL 14:46:27 be it functional or dysfunctional 14:46:33 do whatever makes most sense for your problem 14:46:43 false dichtomy there eh? 14:47:42 anaumov_ [~an@bane.agnitas.de] has joined #lisp 14:47:53 thats a matter of taste i think, but from the other side people who come from imperative languages, like me, should prefer functional style 14:48:10 otherwise no reason to switch from language X 14:48:38 common lisp isn't heavily oriented for functional programming 14:48:44 There are more advantages to Lisp other than easy-access to functional styles 14:48:58 It depends. Procedures can be more compact, but at the cost of more expensive correctness analysis. 14:49:13 Procedures that implement functions often hit a sweet spot. 14:49:32 Although if the language can't express that, it doesn't scale up so well. 14:50:23 paddymahoney [~patrick@24.137.221.230] has joined #lisp 14:51:06 -!- anaumov [~an@opensuse/member/Alexander-Naumov] has quit [Ping timeout: 264 seconds] 14:51:46 bhyde_ [~bhyde@c-24-61-81-138.hsd1.ma.comcast.net] has joined #lisp 14:54:51 pjb, using symbol-value to setf a global var passed to a function worked (this is not idimatic and perheps even wrong) , thanks 14:59:50 -!- sellout- [~Adium@c-67-176-62-45.hsd1.co.comcast.net] has quit [Quit: Leaving.] 15:04:33 sellout- [~Adium@66.185.108.210] has joined #lisp 15:05:56 schoppenhauer [~quassel@unaffiliated/schoppenhauer] has joined #lisp 15:09:31 -!- nialo [~nialo@ool-44c53f01.dyn.optonline.net] has quit [Ping timeout: 264 seconds] 15:12:11 -!- drmeister [~drmeister@pool-71-185-168-200.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 15:12:15 -!- arenz [~arenz@HSI-KBW-109-193-252-079.hsi7.kabel-badenwuerttemberg.de] has quit [Read error: Operation timed out] 15:12:24 -!- AeroNotix [~aero@nat/hp/x-zbbscybfkqaomwjn] has quit [Read error: Connection reset by peer] 15:12:24 nowhere_man [~pierre@5070B859.static.ziggozakelijk.nl] has joined #lisp 15:13:28 -!- paddymahoney [~patrick@24.137.221.230] has quit [Remote host closed the connection] 15:14:18 -!- schoppenhauer [~quassel@unaffiliated/schoppenhauer] has quit [Remote host closed the connection] 15:15:04 schoppenhauer [~quassel@unaffiliated/schoppenhauer] has joined #lisp 15:16:48 -!- Harag [~Thunderbi@ti-229-190-88.telkomadsl.co.za] has quit [Quit: Harag] 15:17:29 Harag [~Thunderbi@ti-229-190-88.telkomadsl.co.za] has joined #lisp 15:18:09 pizzasauce [~user@unaffiliated/pizzasauce] has joined #lisp 15:18:28 ampersand27017 [~ampersand@h-69-3-174-99.lsan.ca.megapath.net] has joined #lisp 15:19:25 LiamH [~none@pdp8.nrl.navy.mil] has joined #lisp 15:22:30 -!- nilsi [~nilsi@101.95.4.234] has quit [Remote host closed the connection] 15:23:00 nilsi [~nilsi@5.254.135.47] has joined #lisp 15:23:27 -!- mpstyler [5e64ed83@gateway/web/freenode/ip.94.100.237.131] has quit [Ping timeout: 250 seconds] 15:23:30 -!- pizzasauce [~user@unaffiliated/pizzasauce] has left #lisp 15:23:45 -!- loke_ [~elias@2001:470:36:b4a:d52b:4ec8:7cfd:58d0] has quit [Ping timeout: 245 seconds] 15:24:26 segmond [c6fce60f@gateway/web/freenode/ip.198.252.230.15] has joined #lisp 15:25:24 -!- clmsy [~clmsy@212.57.9.204] has quit [Remote host closed the connection] 15:25:49 -!- ampersand27017 [~ampersand@h-69-3-174-99.lsan.ca.megapath.net] has quit [Quit: ampersand27017] 15:26:25 ampersand27017 [~ampersand@h-69-3-174-99.lsan.ca.megapath.net] has joined #lisp 15:30:36 -!- cdan [~cdan@mail.savatech.ro] has quit [Quit: cdan] 15:30:55 bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has joined #lisp 15:31:28 _veer [~veer@unaffiliated/lolsuper-/x-9881387] has joined #lisp 15:31:31 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Quit: Konversation terminated!] 15:33:08 -!- spacefrogg is now known as spacefrogg^ 15:33:31 -!- sohail [~sohail@unaffiliated/sohail] has quit [Quit: This computer has gone to sleep] 15:33:59 -!- bhyde_ [~bhyde@c-24-61-81-138.hsd1.ma.comcast.net] has quit [Quit: bhyde_] 15:34:24 sohail [~sohail@108.161.116.248] has joined #lisp 15:34:24 -!- sohail [~sohail@108.161.116.248] has quit [Changing host] 15:34:24 sohail [~sohail@unaffiliated/sohail] has joined #lisp 15:36:38 -!- setmeaway [~setmeaway@119.201.52.138] has quit [Ping timeout: 240 seconds] 15:37:03 loke_ [~elias@2001:470:36:b4a:11b6:6d91:ebb9:516b] has joined #lisp 15:37:31 -!- sohail [~sohail@unaffiliated/sohail] has quit [Client Quit] 15:38:58 bhyde_ [~bhyde@c-24-61-81-138.hsd1.ma.comcast.net] has joined #lisp 15:39:20 -!- walter [~walter@c-24-218-217-69.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 15:39:49 seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has joined #lisp 15:41:13 tiglog [~tiglog@123.116.79.167] has joined #lisp 15:42:00 -!- chu [~user@unaffiliated/chu] has quit [Ping timeout: 260 seconds] 15:43:06 -!- bhyde_ [~bhyde@c-24-61-81-138.hsd1.ma.comcast.net] has left #lisp 15:43:08 -!- ampersand27017 [~ampersand@h-69-3-174-99.lsan.ca.megapath.net] has quit [Quit: ampersand27017] 15:43:38 bhyde [~bhyde@198.199.88.224] has joined #lisp 15:44:08 drmeister [~drmeister@pool-71-185-168-200.phlapa.fios.verizon.net] has joined #lisp 15:46:32 yacks [~py@103.6.158.105] has joined #lisp 15:46:55 fortitude [~mts@rrcs-24-97-165-124.nys.biz.rr.com] has joined #lisp 15:47:00 -!- gr4nf [~gr4nf@190.86.177.25] has quit [Read error: Connection reset by peer] 15:47:38 -!- drmeister [~drmeister@pool-71-185-168-200.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 15:48:19 -!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 240 seconds] 15:49:11 paddymahoney [~patrick@24.137.221.230] has joined #lisp 15:51:05 REPLeffect [~REPLeffec@69.54.115.254] has joined #lisp 15:51:08 -!- bhyde [~bhyde@198.199.88.224] has left #lisp 15:53:33 fantazo [~fantazo@213.129.230.10] has joined #lisp 15:54:14 -!- tiglog [~tiglog@123.116.79.167] has quit [Quit: Leaving] 15:58:41 -!- runningsm [~runningsk@li77-167.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net] 15:59:34 smazga [~acrid@64.55.45.194] has joined #lisp 16:01:07 Vutral [~ss@mirbsd/special/Vutral] has joined #lisp 16:01:43 -!- smazga [~acrid@64.55.45.194] has quit [Read error: Connection reset by peer] 16:02:45 smazga [~acrid@64.55.45.194] has joined #lisp 16:03:26 -!- peterhil [~peterhil@158.127.31.162] has quit [Quit: Must not waste too much time here...] 16:03:31 ejohnson [~Thunderbi@c-67-181-201-173.hsd1.ca.comcast.net] has joined #lisp 16:03:36 francogrex [~user@109.128.103.15] has joined #lisp 16:03:46 <_schulte_> anyone know how to get CL to read from a temporary file handle, e.g., to work around http://sprunge.us/feNA 16:03:48 -!- wah_java- is now known as wahjava- 16:04:35 resttime [~rest@adsl-99-135-190-144.dsl.chcgil.sbcglobal.net] has joined #lisp 16:07:10 -!- anaumov_ is now known as anaumov 16:07:15 -!- anaumov [~an@bane.agnitas.de] has quit [Changing host] 16:07:15 anaumov [~an@opensuse/member/Alexander-Naumov] has joined #lisp 16:07:49 schulte, what common lisp implementation are you using? 16:08:53 slime on gentoo with error : ASDF 2 is not compatible with ASDF_BINARY_LOCATIONS, any idea? 16:09:28 it's not a slime error, an asdf one 16:09:32 don't use asdf-binary-locations with asdf-2 16:10:21 -!- weie [~eie@softbank221078042071.bbtec.net] has quit [Read error: Connection reset by peer] 16:10:59 weie [~eie@softbank221078042071.bbtec.net] has joined #lisp 16:11:06 crazywood, you might have to modify your /etc/sblcrc, checkout http://forums.gentoo.org/viewtopic-t-924586-start-0.html for hints 16:11:24 hi, is their an equivalent to sbcl's VOP in ccl (so that one can play around with assembly code) ? 16:11:31 there is 16:11:32 is there ? 16:11:34 motionman [~motionman@unaffiliated/motionman] has joined #lisp 16:11:39 but no an equivalent 16:11:49 yeah, it has some kind of lap 16:12:02 sbcl vops are more high-level 16:12:06 stassats: ok but something that allows using the asm 16:12:29 it does, just keep M-.-ing until you find it :P 16:12:32 yes 16:12:39 Phreak [~gnu@ip-static-94-242-252-66.as5577.net] has joined #lisp 16:12:53 -!- varjagg [~eugene@122.62-97-226.bkkb.no] has quit [Quit: Leaving] 16:12:56 -!- przl [~przlrkt@62.217.45.197] has quit [Ping timeout: 256 seconds] 16:13:03 <_schulte_> segmond: I get the same with sbcl and ccl 16:13:16 -!- _d3f [~gnu@46.183.216.234] has quit [Ping timeout: 255 seconds] 16:14:53 if the vops are high level, I wonder how the ccl "lap" will be...! I think it's not documented by do you have an example? 16:14:53 przl [~przlrkt@62.217.45.197] has joined #lisp 16:15:02 of usage 16:15:44 schulte, why not read *standard-input* ? 16:15:59 I am getting interested in ccl lately because I managed to build it on my android device 16:16:20 well more precisely on linux arm 16:16:22 do i have to find a lap definition for you 16:16:34 sbcl's vops are "high level" in that they can work with different registers and stuff, i believe 16:16:35 Bike: no, an example 16:17:08 sbcl vops also perform movs for you 16:17:28 moves 16:17:32 like automatic boxing of unsigneds, or double floats 16:17:40 and untagging of fixnums 16:17:43 <_schulte_> segmond: because I want to read from multiple streams, there are reasons shells support these sorts of pipes... 16:18:10 <_schulte_> it looks like clisp can handle these file handles http://sprunge.us/SfWC 16:18:21 <_schulte_> so maybe it is just the same implementation problem in CCL and in SBCL 16:18:50 <_schulte_> with common lisps notion of files, I'm never 100% sure what the "correct" behavior is 16:19:03 proc files are special 16:19:28 so what works for ordinary files may not work for the proc ones 16:20:23 <_schulte_> sorry, was missing the last line in my last paste, see http://sprunge.us/gihX 16:20:32 <_schulte_> so is there a way to read form proc files? 16:20:41 nilsi_ [~nilsi@58.23.89.132] has joined #lisp 16:20:45 <_schulte_> s/form/from/ 16:21:35 <_schulte_> with-open-file throws errors in SBCL and CCL, presumable because probe-file returns nil 16:22:21 -!- w37 [~user@31.221.13.71] has quit [Remote host closed the connection] 16:23:02 -!- nilsi [~nilsi@5.254.135.47] has quit [Ping timeout: 246 seconds] 16:23:32 francogrex: check level-0/X86/ 16:23:35 _schulte_: what do you want to do? 16:24:45 boogie [~boogie@wsip-98-172-168-236.sd.sd.cox.net] has joined #lisp 16:25:15 <_schulte_> stassats: I'm writing a cl command line utility, and I'd like it not to break when I use these sorts of <() shell constructs (which are *very* handy) 16:25:36 joe9 [~user@ip70-179-153-227.fv.ks.cox.net] has joined #lisp 16:25:51 -!- kliph [~user@unaffiliated/kliph] has quit [Ping timeout: 260 seconds] 16:26:16 segmond: follow the post report compile error http://dpaste.com/1350513/ 16:27:26 -!- jewel [~jewel@105-236-76-31.access.mtnbusiness.co.za] has quit [Ping timeout: 240 seconds] 16:27:28 -!- przl [~przlrkt@62.217.45.197] has quit [Ping timeout: 264 seconds] 16:27:38 <_schulte_> interesting ecl complains 'Filesystem error with pathname #P"pipe:/proc/".', is it possible the common lisp standard is not specific on how to handle pipes through file system handles? 16:27:44 -!- mvilleneuve [~mvilleneu@LLagny-156-36-4-214.w80-14.abo.wanadoo.fr] has quit [Quit: Leaving] 16:28:57 hitecnologys: Just stumbled upon. http://common-lisp.net/project/lift/documentation/lift-package/macro-measure--time.html 16:29:02 lift:measure-time 16:29:34 It writes body's execution time in var. 16:29:53 Well, macroexpansion is exactl what you would expect. :D 16:30:01 -!- add^_ [~user@m176-70-201-126.cust.tele2.se] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 16:30:53 -!- benny [~user@maidenhead3.tunnelr.com] has quit [Read error: Connection reset by peer] 16:31:13 wws-ubuntu [~wws@p-68-237-141-149.dsl1.rtr.chat.fpma.frpt.net] has joined #lisp 16:31:48 benny [~user@maidenhead3.tunnelr.com] has joined #lisp 16:33:55 -!- davazp [~user@92.251.217.50.threembb.ie] has quit [Remote host closed the connection] 16:35:36 *_schulte_* brought this question to the sbcl mailing list 16:36:27 -!- ndrei [~avo@83.142.149.227] has quit [Ping timeout: 276 seconds] 16:37:40 Bike: ok I will I hope it will not be very tough 16:38:05 ndrei [~avo@83.142.149.227] has joined #lisp 16:39:09 -!- Phreak [~gnu@ip-static-94-242-252-66.as5577.net] has quit [Disconnected by services] 16:39:21 -!- faust45 [~faust45@77-239-188-71.static.vega-ua.net] has quit [Quit: faust45] 16:39:49 d3f [~gnu@ip-static-94-242-252-66.as5577.net] has joined #lisp 16:41:10 -!- wws-ubuntu [wws@clozure-D8D53F0C.dsl1.rtr.chat.fpma.frpt.net] has quit [Ping timeout] 16:42:24 -!- wws-ubuntu [~wws@p-68-237-141-149.dsl1.rtr.chat.fpma.frpt.net] has quit [Ping timeout: 256 seconds] 16:42:53 from what i can tell (i haven't really looked at it) it's basically a sexpy assembler 16:42:57 Quadrescence [~quad@unaffiliated/quadrescence] has joined #lisp 16:43:08 why emacs startup report Don't know how compile nil? 16:43:36 and i don't know how to parse that question 16:44:06 -!- kcj [~casey@unaffiliated/kcj] has quit [Ping timeout: 256 seconds] 16:45:52 naryl: hm, looks interesting, thanks. But I've already implemented the same function. =P 16:46:03 you mean macro! 16:46:56 ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has joined #lisp 16:47:19 macro-function 16:47:21 something "cool" http://paste.lisp.org/display/138541 16:47:30 stassats: ah, yeah, sorry. 16:47:58 But it mostly works like a function. 16:48:02 francogrex: i'm not seeing it 16:48:25 mpstyler [5e64ed82@gateway/web/freenode/ip.94.100.237.130] has joined #lisp 16:48:29 AeroNotix [~xeno@abov73.neoplus.adsl.tpnet.pl] has joined #lisp 16:48:59 paste number: 138541 16:49:28 i'm not seeing anything cool there 16:49:45 Me neither. 16:49:57 ah you mean the coolness... just the difference in registries 16:50:02 and instructions 16:50:28 i don't get it 16:51:05 People usually call this thing optimization. 16:51:25 The same code compiles into different machine instructions. Nothing cool. 16:51:32 optimization? 16:52:26 -!- AeroNotix [~xeno@abov73.neoplus.adsl.tpnet.pl] has quit [Client Quit] 16:52:29 Why compiler would compile the same code into different instructions then? 16:52:57 an easy one would be using different registers so that code around doesn't have to do as many spills 16:52:58 no the registries the instructions! what's wrong with you people: isn't this cool: (stmdb (:! vsp) (arg_z arg_y)) ... 16:52:58 because it's two different cpus? 16:53:15 oh, or that. 16:53:31 francogrex: well, arm has different instructions, what's wrong with _you_? 16:53:33 Sure. 16:53:40 AeroNotix [~xeno@abov73.neoplus.adsl.tpnet.pl] has joined #lisp 16:53:51 And that of course. 16:54:00 it even has a different model, a load/store one 16:54:32 i don't see how can one get excited over that 16:54:50 ARM is completely different from x86. There's nothing interesting in that. 16:54:53 drmeister [~drmeister@farnsworth.chem.temple.edu] has joined #lisp 16:55:25 -!- matko [~matko@ip82-139-123-169.lijbrandt.net] has quit [Remote host closed the connection] 16:56:46 I am looking for a library for parallelization that would work on sbcl under windows. As you probably alredy know :) its for building a game tree. Will the lparallel be a good choice? 16:57:00 it will be 16:57:11 though sbcl won't be a good choice for using threads on windows 16:57:26 -!- nilsi_ [~nilsi@58.23.89.132] has quit [Remote host closed the connection] 16:57:31 kcj [~casey@unaffiliated/kcj] has joined #lisp 16:57:52 not stable yet? 16:58:26 Threading in sbcl works for windows? 16:58:30 indeed 16:58:35 -!- motionman [~motionman@unaffiliated/motionman] has quit [Quit: tschüß] 16:58:57 Oh crap, I always thought I doesn't. 16:59:45 Last time I tried it didn't work properly. 16:59:47 *francogrex* is going to #asm to find more enthusiasm 17:01:06 well I use the windows fork on SBCL and haven't encountered any thread related problems with it 17:01:36 Which version have you got? 17:01:41 I did get some problems when I tried the main fork 1.1.8 (x64 system by the way) 17:01:54 windos fork hasn't been updated since 1.1.4 17:01:59 main fork? 17:02:04 it's not fork then? 17:02:14 errr yeah ehehe 17:02:22 main branch 17:02:25 where do I put my (require)'s? 17:02:28 Last time I tried sbcl was 1.0.58. 17:02:37 i'm looking right now at hanging threading tests on windows 17:02:46 https://github.com/akovalenko/sbcl-win32-threads/wiki 17:02:50 at the moment I require drakma and I'm just putting (require 'drakma) at the top of the file which uses it, correct? 17:03:02 no 17:03:05 don't use require at all 17:03:07 Windows is weird. You never know how your program will behave if it runs on windows. 17:03:12 (ql:quickload "drakma") 17:03:13 tcr [~tcr@88-134-110-1-dynip.superkabel.de] has joined #lisp 17:03:21 AeroNotix: (asdf:load-system "drakma") 17:03:27 which one?! 17:03:28 <_schulte_> AeroNotix: http://www.gigamonkeys.com/book/programming-in-the-large-packages-and-symbols.html 17:03:29 haha 17:03:31 :) 17:03:35 hitecnologys: more like nobody is developing for windows 17:03:50 I'm developing in Windows <_< 17:04:05 developing sbcl, that is 17:04:11 _schulte_: got the book, taking a break to write 'real' code. Will go over that chapter again. Thanks 17:04:44 hitechnologys: well it's precisely why I'm working in windows 17:05:00 making sure I can find cross-platform errors 17:05:03 _schulte_: and how is this related to loading drakma? 17:05:06 since most of them will be in Windows 17:05:35 I actually have found a problem with CFFI too regarding libffi 17:05:36 resttime: I'm hiteCNologys 17:06:01 whoops, my brain slipped on that 17:06:04 I didn't know why my nick spelled so, btw. 17:06:13 cffi and sbcl and threading works very fine on my windows at least 17:06:18 pierre1 [~pierre1@179.218.154.208] has joined #lisp 17:06:28 francogrex: win7 sp1? 17:06:41 francogrex: the problem I encountered had to do with when I wanted to pass structures by value 17:07:03 resttime: share codes and I can try later 17:07:11 Damn, s/didn't/don't/ 17:07:18 hitecnologys: no windows xp 17:07:54 francogrex: ah, I tested on Windows 7. Maybe it works on XP. 17:07:58 matko [~matko@ip82-139-123-169.lijbrandt.net] has joined #lisp 17:08:07 windows xp is even less tested with SBCL 17:08:12 -!- teggi [~teggi@123.20.106.65] has quit [Remote host closed the connection] 17:09:26 nilsi [~nilsi@218.11.176.46] has joined #lisp 17:09:47 travisr [~travisrod@17.115.46.218] has joined #lisp 17:09:49 francogrex: https://github.com/cffi/cffi/blob/32170642e829a5d6baf6323d4ef2a3b2999f7353/grovel/invoke.lisp 17:09:54 agam_ [agam@nat/google/x-ctdwqwpfbvotfduh] has joined #lisp 17:10:06 " (write-line "note: SBCL on windows can't redirect output.") " 17:10:50 that was basically the thing, and I had to do some manual things to bypass this 17:11:13 followed this guys directions: https://groups.google.com/forum/#!msg/quicklisp/K_EXmJDXvGs/tC3dq_ZccBAJ 17:11:57 all this I felt was just a lot of work and would be better if I just wrote a wrapper library instead 17:12:19 both ways require gcc installed anyways 17:12:57 Wrapper lib to compile: https://github.com/resttime/cl-liballegro/tree/master/allegro-wrapper-lib 17:13:34 cory786 [~cory@PAT96.wifi.utoledo.edu] has joined #lisp 17:13:47 -!- ndrei [~avo@83.142.149.227] has quit [Ping timeout: 246 seconds] 17:14:22 resttime: for note I don't use the windows specific branch, I compiled my own. the version i have is 55 17:14:35 resttime: I will try now 17:14:41 does 55 even have threads? 17:14:50 apparently! 17:15:15 let me get out mt laptop wiat a few minutes 17:15:20 my 17:18:40 -!- spion [~spion@unaffiliated/spion] has quit [Ping timeout: 246 seconds] 17:19:43 -!- Mon_Ouie [~Mon_Ouie@subtle/user/MonOuie] has quit [Ping timeout: 246 seconds] 17:21:26 -!- nilsi [~nilsi@218.11.176.46] has quit [Remote host closed the connection] 17:24:33 resttime: please write a sample code so that i can test it 17:24:53 paste there: http://paste.lisp.org/ 17:25:05 gr4nf [~gr4nf@190.86.177.25] has joined #lisp 17:25:07 what is there to test? sb-ext:run-program doesn't have stream redirection on windows 17:25:28 no matter how you test it, it won't appear 17:25:59 what did he want to do 17:26:30 CFFI pass structures by value involves the grovel 17:26:38 grovel wants stream redirection 17:27:18 because the executable that is built finds some information that Lisp wants 17:27:52 ndrei [~avo@83.142.149.227] has joined #lisp 17:27:54 pipe 17:28:04 -!- cory786 [~cory@PAT96.wifi.utoledo.edu] has quit [Ping timeout: 264 seconds] 17:28:05 Houl [~Parmi@unaffiliated/houl] has joined #lisp 17:28:41 ed_g [~quassel@75-164-245-169.ptld.qwest.net] has joined #lisp 17:29:17 well I'll write some test code for you in a bit after I finish my breakfast 17:29:38 but as stassats says, i thought it'll work 17:30:49 oh, you'll also need libffi compiled on your system 17:30:54 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 17:31:02 -!- joneshf-laptop [~joneshf@086.112-30-64.ftth.swbr.surewest.net] has quit [Remote host closed the connection] 17:31:28 i'm not sure why francogrex needs to test your bug 17:31:36 c_c [~cc@d12016.upc-d.chello.nl] has joined #lisp 17:32:00 maybe he's planning on fixing serve-events on windows 17:32:25 I need to understand what he's doing 17:32:38 I am a "windows" guy 17:32:46 part-time at least 17:33:31 i'm just suggesting resttime not to waste his time writing test for you if you're not planning on fixing it 17:33:34 are you? 17:33:46 Mon_Ouie [~Mon_Ouie@subtle/user/MonOuie] has joined #lisp 17:34:02 and fixing serve-events on windows will be most welcome, of course 17:34:11 cory786 [~cory@PAT96.wifi.utoledo.edu] has joined #lisp 17:34:50 I have played around with piping on windows and it works fine, maybe an alternative: http://paste.lisp.org/display/138543 17:34:50 tolk [~user@host179.190-137-171.telecom.net.ar] has joined #lisp 17:35:11 -!- McMAGIC--Copy [~McMAGIC--@gateway/tor-sasl/mcmagic--copy] has quit [Remote host closed the connection] 17:36:31 McMAGIC--Copy [~McMAGIC--@gateway/tor-sasl/mcmagic--copy] has joined #lisp 17:36:52 Interesting, maybe it's just CFFI that isn't updated, well I'll start on a quick code exmpe now 17:37:29 resttime: no, the code that is in cffi still doesn't work on sbcl 17:37:35 kushal [~kdas@fedora/kushal] has joined #lisp 17:37:43 -!- travisr [~travisrod@17.115.46.218] has quit [Ping timeout: 264 seconds] 17:38:02 again, I'm just guessing that what you want/the issue is similar to what I have tested so an example is welcome 17:38:30 otherwise as stassats if it's totally unrelated, you would be wasting your time 17:38:42 tcr1 [~tcr@88-134-110-1-dynip.superkabel.de] has joined #lisp 17:39:09 here's an example: (with-output-to-string (s) (sb-ext:run-program "ls" () :search t :output s)), it doesn't work on windows, i can assure you 17:39:31 -!- ndrei [~avo@83.142.149.227] has quit [Ping timeout: 264 seconds] 17:40:26 -!- c_c [~cc@d12016.upc-d.chello.nl] has quit [Ping timeout: 264 seconds] 17:40:40 -!- tcr [~tcr@88-134-110-1-dynip.superkabel.de] has quit [Ping timeout: 264 seconds] 17:40:43 "ls" should be "dir" but yeah that doesn't work 17:42:07 c_c [~cc@62.140.137.92] has joined #lisp 17:42:38 but if you say that working with :output :stream works 17:42:56 then perhaps modification of CFFI to read from stream and the create a string will work 17:42:56 -!- shridhar_afk [Shridhar@nat/redhat/x-qxrogmvidwrgdqdi] has quit [Quit: shridhar_afk] 17:43:05 :output :stream should work 17:43:26 -!- agam_ [agam@nat/google/x-ctdwqwpfbvotfduh] has quit [Ping timeout: 264 seconds] 17:43:28 -!- c_c [~cc@62.140.137.92] has quit [Client Quit] 17:44:44 yes :stream works, s doesn't but fine here's a workaround 17:46:25 actually oddly enough i can't get your run-program to work either francogrex 17:46:31 (defparameter ls.... 17:46:39 "Couldn't fork child process" 17:46:57 are you using the windows fork? 17:47:00 actually wait i'm an idiot executable not same path 17:47:17 (with-output-to-string (s) (alexandria:copy-stream (sb-ext:process-output (sb-ext:run-program "ls" () :search t :output :stream :wait t)) s)) 17:47:20 as I said I compiled my own from src main fork not the windows 17:47:27 c_c [~cc@d12016.upc-d.chello.nl] has joined #lisp 17:47:29 works nicely on linux. 17:47:51 strg [~strg@a89-183-14-12.net-htp.de] has joined #lisp 17:49:28 interesting, I believe I should ditch the windows fork then and try compiling the main branch 17:49:41 ditching windows is always a good idea 17:49:47 paul0 [~paul0@187.112.78.69] has joined #lisp 17:49:48 however there really were threading problems in 1.1.8 17:50:17 pjb: and on windows too, but :wait should be nil not t 17:50:19 arubin [~arubin@99-114-192-172.lightspeed.cicril.sbcglobal.net] has joined #lisp 17:50:57 -!- ASau` is now known as ASau 17:51:28 :wait t hangs 17:51:50 the threading instability makes me feel iffy about using the main branch ofver the windows fork 17:52:06 ltbarcly [~textual@216.113.168.141] has joined #lisp 17:52:09 ah well, time to explore a bugged land 17:53:03 ndrei [~avo@83.142.149.227] has joined #lisp 17:53:37 resttime, give me something dumb just to test threading on my build, it's 1.0.55 and I think I have tested threading already but may be dreamed it 17:54:28 just ./run-tests.sh 17:54:47 Is this a problem with my browser that images on http://www.xach.com/lisp/vecto/ are not displayed correctly? 17:55:08 (sb-thread:make-thread (lambda () (print 'hi))) 17:55:28 hitecnologys: everything is correct here 17:55:29 hitecnologys: images look borked to me too 17:55:45 stassats: which browser do you use? 17:56:00 the best one 17:56:06 (loop repeat 5 do (sb-thread:make-thread (lambda () (print 'hi)))) 17:56:18 http://symbo1ics.com/blog/?p=2055 doesn't answer :-( 17:56:21 You mean Firefox? 17:56:27 if you do that in emacs, check *inferior-lisp* 17:56:30 hitecnologys: i won't tell 17:56:40 francogrex: right. 17:57:01 stassats: Ah, you use emacs! 17:57:03 I put T because with small output, the process exits, but that doesn't prevent reading the buffer. 17:57:20 -!- CrazyWoods [~nowolfer@27.154.10.164] has quit [Quit: leaving] 17:57:21 -!- c_c [~cc@d12016.upc-d.chello.nl] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 17:57:30 resttime: add a force-output or finish-output 17:58:14 -!- antgreen [~green@216.254.163.111] has quit [Ping timeout: 240 seconds] 17:58:32 hitecnologys: no, it just works everywhere 17:58:53 Yeah, I got it. Something is wrong with my Firefox. 18:02:45 resttime: yeah, sorry. I was indeed dreaming the threading! I switch between linux and windows all the time... but the :stream in run-program works fine 18:03:42 alright, I'm compiling sbcl 1.1.10 right now because :stream doesn't seem to work in the sbcl fork 18:05:35 -!- ck`` [~ck@dslb-094-219-235-135.pools.arcor-ip.net] has quit [Ping timeout: 246 seconds] 18:05:36 spion [~spion@unaffiliated/spion] has joined #lisp 18:06:09 <_schulte_> has anyone else noticed an infinte loop when trying to load cl-launch with quicklisp on clisp? 18:09:01 nipra [~nipra@122.177.204.146] has joined #lisp 18:10:08 <_schulte_> never mind, looks like the problem is that my clisp asdf version is too old for cl-launch 18:10:12 -!- lyanchih [~lyanchih@114-34-99-241.HINET-IP.hinet.net] has quit [Quit: lyanchih] 18:10:52 -!- fantazo [~fantazo@213.129.230.10] has quit [Ping timeout: 260 seconds] 18:11:20 "Couldn't fork child process: Interrupted function call" 18:11:33 (run-program "dir" ()) 18:11:38 :/ 18:11:43 -!- pranavrc [~pranavrc@unaffiliated/pranavrc] has quit [Quit: Ping timeout: ] 18:11:56 same in both windows fork and 1.1.10 18:11:59 -!- joneshf-work [~joneshf@mail.concordusapps.com] has quit [Remote host closed the connection] 18:12:02 knob [~knob@76.76.202.244] has joined #lisp 18:12:12 where's :search t? 18:12:55 lyanchih [~lyanchih@114-34-99-241.HINET-IP.hinet.net] has joined #lisp 18:12:56 slyrus [~chatzilla@107.200.11.156] has joined #lisp 18:12:58 lufu [~user@5.254.134.48] has joined #lisp 18:13:15 joneshf-work [~joneshf@mail.concordusapps.com] has joined #lisp 18:13:22 with it the windows fork same error 18:13:41 1.1.10 gives it #(sb-impl::process :exited 2) 18:14:02 can't reproduce 18:15:48 odd 18:16:15 maybe it's possible because I'm using windows fork x32 on Windows x64 18:16:29 ugh, time to try x64 windows fork 18:17:09 no, that's not it 18:20:12 -!- ndrei [~avo@83.142.149.227] has quit [Quit: leaving] 18:20:33 ndrei [~avo@83.142.149.227] has joined #lisp 18:21:36 tcr [~tcr@88-134-110-1-dynip.superkabel.de] has joined #lisp 18:21:37 -!- tcr1 [~tcr@88-134-110-1-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 18:25:16 -!- ndrei [~avo@83.142.149.227] has quit [Client Quit] 18:25:53 ndrei [~avo@83.142.149.227] has joined #lisp 18:26:08 -!- ndrei [~avo@83.142.149.227] has quit [Write error: Broken pipe] 18:26:18 ndrei [~avo@83.142.149.227] has joined #lisp 18:26:56 -!- tolk [~user@host179.190-137-171.telecom.net.ar] has quit [Quit: abducted by aliens] 18:28:57 -!- ndrei [~avo@83.142.149.227] has quit [Client Quit] 18:29:12 ndrei [~avo@83.142.149.227] has joined #lisp 18:29:52 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Ping timeout: 264 seconds] 18:30:17 what would you suggest to substitute sbcl on windows7 64bit? 18:31:18 ccl 18:32:02 well here's a weird error can't fork child process because "Result too large" 18:32:36 i'm going to give up on this sbcl thing for now... 18:33:41 can't even get run-program to work properly 18:33:43 travisr [~travisrod@17.115.46.218] has joined #lisp 18:34:29 drmeiste_ [~drmeister@farnsworth.chem.temple.edu] has joined #lisp 18:35:12 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 18:35:49 -!- protist [~protist@40.224.69.111.dynamic.snap.net.nz] has quit [Quit: Konversation terminated!] 18:36:07 pjb: thanks 18:36:23 "ls" and "dir" are not the same really. I have installed the msys/minGW on windows, provides ls, sh bash etc... 18:37:18 more odd stuff, I can run-program with ipconfig 18:37:32 I've got this huge gap of knowledge I can't explain 18:37:47 probablt because "dir" is the wrong program 18:39:05 oh god, "dir" isn't even an executable in the first place that's why 18:39:11 -!- strg [~strg@a89-183-14-12.net-htp.de] has quit [Quit: Linkinus - http://linkinus.com] 18:39:13 *resttime* slams head on desk repeatedly 18:39:38 "C:\\WINDOWS\\DIR.EXE" ? 18:40:05 nothing of that sort in Windows 7 18:40:13 -!- bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has quit [Quit: a] 18:40:27 only dir.exe I find is with MinGW, which of course isn't in my environment path 18:40:29 dir works for me on windows 7 18:41:05 bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has joined #lisp 18:41:11 -!- tcr [~tcr@88-134-110-1-dynip.superkabel.de] has quit [Quit: Leaving.] 18:41:17 -!- lufu [~user@5.254.134.48] has quit [Remote host closed the connection] 18:41:24 I pass this a hashtable which has embedded hashtables, and it "drills-down" to that level: https://gist.github.com/AeroNotix/6285464 18:41:39 question 1) Is this needed? Q2) Can I turn that into a macro? 18:41:46 which will nest the gethash calls? 18:41:50 (just for kicks) 18:42:28 you don't need a macro 18:42:31 Can't be a macro because the values of your hash table is not known at compilation time (no hash literal here). 18:42:32 I know that 18:42:36 what does this give you: (run-program "cmd" '("/C" "dir") :search t :wait nil :output t) ? 18:42:54 pjb: but couldn't I have it spit out the code to make the successive calls to gethash? 18:43:22 (gethash "k3" (gethash "k2" (gethash "k1" hash))) etc 18:43:26 not known 18:43:35 I couldn't figure out how to embed those calls in a macro 18:43:53 francogrex: it actually works 18:43:59 Who says it's "k2" ? 18:44:01 AeroNotix: if keys is known at compile-time, sure 18:44:05 We only see keys here. 18:44:24 the keys are known at compile time, yeah 18:44:49 see the problrm is not sbcl's interaction with windows only, but windows itself 18:45:04 you could also write a compiler macro. 18:45:05 they keep changing with no back compatibilities 18:45:24 what about my question 1? 18:45:59 only you can answer to that question. 18:46:05 How do I properly set background color in vecto? 18:46:13 I mean does something already exist for this? 18:46:23 We don't know the specifications of your program, neither the algorithms and data structures you chosed to use. 18:46:52 hitecnologys: If you want to fill the entire image with a single color, use clear-canvas. 18:47:00 -!- lyanchih [~lyanchih@114-34-99-241.HINET-IP.hinet.net] has quit [Quit: lyanchih] 18:47:14 Xach: ok, thanks. 18:47:28 Probably. But think about it: do you prefer to spend an hour googling to find a program containing a similar function, or do you prefer to write lisp code yourself? 18:48:01 lufu [~user@5.254.134.48] has joined #lisp 18:49:57 AeroNotix: I would be surprised that open-coding this instead of letting reduce do the job at run-time has an advantage that is worth writing the macro 18:50:23 nowhere_man: I was more interested in the learning excercise of writing a macro like that 18:51:17 Then what are you doing with irc? You prefer to type on irc rather than programming a macro? 18:51:18 Bike_ [~Glossina@wl-nat100.it.wsu.edu] has joined #lisp 18:51:30 Put on your resume: expert in talking on irc. 18:51:52 anaumov_ [~an@niobe.agnitas.de] has joined #lisp 18:52:05 -!- Bike [~Glossina@wl-nat100.it.wsu.edu] has quit [Quit: Reconnecting] 18:52:08 -!- Bike_ is now known as Bike 18:52:35 AeroNotix: haha, I was about to add that it's only interesting if you have not written many macros 18:52:55 then go ahead, it's totally unneeded but an interesting exercise 18:54:13 AeroNotix: http://paste.lisp.org/display/138544 Ain't hard. 18:54:34 Shinmera: it is when you're learning 18:54:48 Still not hard enough to ask, imo. 18:54:54 I did ask 18:55:00 because it was 18:55:03 but whatever 18:55:21 -!- anaumov [~an@opensuse/member/Alexander-Naumov] has quit [Ping timeout: 264 seconds] 18:57:26 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Read error: Operation timed out] 18:58:49 I think I might actually be able to make this work! 18:59:19 more testing seems to yield promising results for working with a stream 18:59:49 nug700 [~nug700@174-26-143-176.phnx.qwest.net] has joined #lisp 19:00:09 time to modify the CFFI source to try and get passing structures by value working 19:00:53 if I screw up the source I can always just delete the folder and quicklisp will get it again right? 19:01:49 resttime: QL has a mechanism for defining your own project folders that will override the downloaded ones. 19:02:03 So just copy it over, and mess with it. 19:02:11 oh okay, so I'll just copy it into local projects then, thanks 19:02:51 Also, you might want to just hand-generate what gets generated from libffi-win32.lisp. 19:03:48 resttime: if you get it working fine think of forking a git for it or sending a patch to the maintainers if they are still active 19:04:26 LiamH: checked out the file and I'm not sure what you mean by that 19:04:49 francogrex: definitely, if working, it'll be my first patch for an official lib :D 19:05:17 resttime: grovel takes libffi-win32.lisp and generates a real lisp file; if you look at the file you'll see it's not actually lisp. 19:05:54 I don't think a hand-generated file would be useful as a patch to CFFI, it's only a workaround for the grovel failure. 19:08:00 okay, it's still not too clear for me but I'll keep it in mind 19:09:36 This is an example of what gets expanded from libffi-unix.lisp: http://paste.lisp.org/+2YWI 19:09:55 That is real CL, as opposed to what's in the original file. 19:10:06 oh I remember now 19:10:43 a work previous work around involved compiling grovel.exe and copying the output to that file 19:11:01 So, if you took that file, went through the appropriate .h files for your platform and OS, and changed the values (if necessary), the result could be loaded as an ordinary lisp file instead of groveling libffi-win32. 19:11:07 all outside of sbcl because redirecting output wasn't supported 19:11:48 -!- cory786 [~cory@PAT96.wifi.utoledo.edu] has quit [Ping timeout: 276 seconds] 19:13:36 sdemarre [~serge@91.180.123.25] has joined #lisp 19:14:51 -!- mpstyler [5e64ed82@gateway/web/freenode/ip.94.100.237.130] has quit [Ping timeout: 250 seconds] 19:15:04 okay, first problem found is it can't find gcc in the proper place, just defaults to "c:/msys/1.0/bin/gcc.exe" 19:15:11 https://github.com/cffi/cffi/blob/9bb7038e77d8641718f6daf01251371dc2948854/grovel/grovel.lisp 19:15:24 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Ping timeout: 256 seconds] 19:16:44 mine defaults to "C:\MinGW\bin" however gcc seems to be in my path too 19:16:55 not cygwin 19:17:28 just add it to the PATH 19:18:22 it is strange that it searches in "c:/msys/1.0/bin 19:19:28 -!- easye [~user@213.33.70.157] has quit [Ping timeout: 260 seconds] 19:20:45 -!- Karl_dscc [~localhost@ipdsw03.informatik.fh-schmalkalden.de] has quit [Remote host closed the connection] 19:21:02 now onto the redirect output problem 19:21:28 hypothetical solution is to change output to a stream 19:21:37 read-lines from the stream into a string 19:21:41 and return the string 19:21:45 przl [~przlrkt@p5DCA3139.dip0.t-ipconnect.de] has joined #lisp 19:21:57 Files, the ultimate IPC. 19:22:42 easye [~user@213.33.70.157] has joined #lisp 19:23:45 resttime: yes, piping the best option 19:24:14 mind speed and expenses of I/O 19:24:20 -!- bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has quit [Ping timeout: 246 seconds] 19:24:50 -!- spion [~spion@unaffiliated/spion] has quit [Remote host closed the connection] 19:24:51 wws-ubuntu [~wws@p-68-237-141-149.dsl1.rtr.chat.fpma.frpt.net] has joined #lisp 19:27:46 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 19:28:09 -!- hitecnologys [~hitecnolo@46.233.217.94] has quit [Quit: hitecnologys] 19:28:19 eldariof [~CLD@pppoe-218-106-dyn-sr.volgaline.ru] has joined #lisp 19:28:21 -!- paddymahoney [~patrick@24.137.221.230] has quit [Ping timeout: 264 seconds] 19:28:56 -!- easye [~user@213.33.70.157] has quit [Read error: Connection reset by peer] 19:30:47 cory786 [~cory@PAT96.wifi.utoledo.edu] has joined #lisp 19:32:33 nialo- [~yaaic@66-87-116-200.pools.spcsdns.net] has joined #lisp 19:33:43 -!- francogrex [~user@109.128.103.15] has quit [Remote host closed the connection] 19:35:14 -!- nipra [~nipra@122.177.204.146] has quit [Quit: Leaving.] 19:35:33 -!- seangrove [~user@c-69-181-197-122.hsd1.ca.comcast.net] has quit [Ping timeout: 248 seconds] 19:37:30 brzpin [~b@pD9F93F26.dip0.t-ipconnect.de] has joined #lisp 19:37:48 JuanDaugherty [~Ren@cpe-76-180-168-166.buffalo.res.rr.com] has joined #lisp 19:42:09 paddymahoney [~patrick@24.137.221.230] has joined #lisp 19:44:33 -!- oleo [~oleo@xdsl-87-79-193-83.netcologne.de] has quit [Ping timeout: 264 seconds] 19:44:34 klltkr [~klltkr@unaffiliated/klltkr] has joined #lisp 19:45:04 oleo [~oleo@xdsl-78-35-152-206.netcologne.de] has joined #lisp 19:45:21 http://www.infoq.com/presentations/clojure-scheme that's cute 19:46:08 -!- Fullma [~fullma@ram94-2-82-66-69-246.fbx.proxad.net] has quit [Ping timeout: 256 seconds] 19:48:25 pizzasauce [~user@unaffiliated/pizzasauce] has joined #lisp 19:49:05 -!- ndrei [~avo@83.142.149.227] has quit [Read error: Operation timed out] 19:50:16 -!- pizzasauce [~user@unaffiliated/pizzasauce] has left #lisp 19:50:38 -!- travisr [~travisrod@17.115.46.218] has quit [Ping timeout: 264 seconds] 19:51:17 -!- mathrick_ is now known as mathrick 19:51:31 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 19:52:09 ndrei [~avo@83.142.149.227] has joined #lisp 19:52:50 -!- Plexis [~ShElLiNTh@c-75-64-159-85.hsd1.tn.comcast.net] has quit [] 19:54:29 Fullma [~fullma@ram94-2-82-66-69-246.fbx.proxad.net] has joined #lisp 19:54:48 shellH [~ShElLiNTh@c-75-64-159-85.hsd1.tn.comcast.net] has joined #lisp 19:55:57 -!- yacks [~py@103.6.158.105] has quit [Ping timeout: 264 seconds] 19:57:34 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Quit: bye] 19:59:33 -!- eldariof [~CLD@pppoe-218-106-dyn-sr.volgaline.ru] has quit [Ping timeout: 248 seconds] 20:00:18 -!- Fullma [~fullma@ram94-2-82-66-69-246.fbx.proxad.net] has quit [Ping timeout: 256 seconds] 20:02:29 Does anyone know what does (values) by itself do? I've seen it in some streaming code. From my understanding if you ask for more values and you return they are just nil. Why would someone return a stream of nils? 20:02:30 -!- cory786 [~cory@PAT96.wifi.utoledo.edu] has quit [Ping timeout: 276 seconds] 20:02:32 ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has joined #lisp 20:02:39 (which is clearly not what is happening) 20:02:44 pizzasauce [~user@unaffiliated/pizzasauce] has joined #lisp 20:02:57 Returns nothing 20:03:01 YES 20:03:05 I GOT SOMETHING WORKING 20:03:14 -!- Shinmera [~linus@xdsl-188-155-176-171.adslplus.ch] has quit [Quit: Brb] 20:04:10 -!- d3f [~gnu@ip-static-94-242-252-66.as5577.net] has quit [Quit: WeeChat 0.4.1] 20:04:26 kliph [~user@unaffiliated/kliph] has joined #lisp 20:04:39 Shinmera [~linus@xdsl-188-155-176-171.adslplus.ch] has joined #lisp 20:05:07 PuercoPop: it's not a stream of nils 20:05:28 -!- lufu [~user@5.254.134.48] has quit [Remote host closed the connection] 20:06:01 (multiple-value-list (values)) => NIL and (multiple-value-list nil) => (NIL) 20:07:30 I see. I mistakenly extrapolated from (multiple-value-bind (a b) (values) b) => NIL 20:07:36 normanrichards [~normanric@rrcs-108-178-120-144.sw.biz.rr.com] has joined #lisp 20:09:04 jewel [~jewel@105-236-76-31.access.mtnbusiness.co.za] has joined #lisp 20:09:51 -!- Natch [~Natch@c-cdcee155.25-4-64736c10.cust.bredbandsbolaget.se] has quit [Remote host closed the connection] 20:10:00 -!- gravicappa [~gravicapp@ppp91-77-163-106.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 20:10:34 Natch [~Natch@c-cdcee155.25-4-64736c10.cust.bredbandsbolaget.se] has joined #lisp 20:10:46 -!- alezost [~user@128-70-198-98.broadband.corbina.ru] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:11:10 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 20:11:41 -!- [SLB] [~slabua@unaffiliated/slabua] has quit [Read error: Operation timed out] 20:13:12 add^_ [~user@m176-70-201-126.cust.tele2.se] has joined #lisp 20:13:43 -!- EvW [~Thunderbi@a82-92-190-215.adsl.xs4all.nl] has quit [Ping timeout: 264 seconds] 20:14:22 It works! 20:14:24 EvW [~Thunderbi@a82-92-190-215.adsl.xs4all.nl] has joined #lisp 20:14:25 wow 20:14:39 just made some example code that returns a structure by value 20:14:46 WORKS! 20:14:56 yes yes yes! 20:15:35 requires a compiler with libffi installed 20:16:34 time to fork and patch 20:17:10 djangoj [~dan@host-92-25-36-45.as13285.net] has joined #lisp 20:18:37 http://paste.lisp.org/display/138548 it's a simple fix, but feels good 20:19:50 [SLB] [~slabua@unaffiliated/slabua] has joined #lisp 20:21:58 PYA asteroids clone, github.com/djangojames Was a two week train commute project to learn common lisp and emacs. 20:23:18 djanatyn: imho, you'd be better off ditching NIF and just swapping out your then and else forms 20:24:21 Can someone help test the fork? https://github.com/resttime/cffi 20:25:09 if you can load it on Windows sbcl, that's considered a success 20:26:20 completely works for me 20:26:22 djanatyn: it might be more readable to have (with-sine-and-cosine (theta angle) ...) 20:26:37 djangoj: it's way cool, btw 20:27:14 yeah nix wasn't that useful in the end. 20:27:14 -!- ed_g [~quassel@75-164-245-169.ptld.qwest.net] has quit [Ping timeout: 264 seconds] 20:27:17 *nif 20:27:50 djangoj: nicely readable too 20:29:05 I had to rush to finish it and in the end went over into monday's train journey too, so loads of stuff is missing. I was hoping to make it much more functional than it ended up 20:29:12 -!- sdemarre [~serge@91.180.123.25] has quit [Ping timeout: 256 seconds] 20:30:53 just added a screenshot 20:31:57 dlowe: thanks 20:32:29 macdice [~user@46-65-10-191.zone16.bethere.co.uk] has joined #lisp 20:36:34 resttime: it loads successfully for me, sbcl 1.1.8, windows 7 32-bit 20:36:34 -!- maxter [~maxter@gaffeless.chaperon.volia.net] has quit [Ping timeout: 256 seconds] 20:36:45 YES YES YES YES YES YES 20:37:01 wait (ql:quickload "cffi-libffi") right? 20:37:05 -!- slyrus [~chatzilla@107.200.11.156] has quit [Ping timeout: 245 seconds] 20:37:17 (ql:quickload :cffi) 20:37:22 can try the other if you like 20:37:29 maxter [~maxter@gaffeless.chaperon.volia.net] has joined #lisp 20:37:44 slyrus [~chatzilla@107.200.11.156] has joined #lisp 20:38:04 please do 20:40:56 Gentlemen, I give you yet another utility library: https://github.com/Wukix/wu-sugar 20:41:08 -!- Wukix` is now known as Wukix 20:41:49 faust45 [~faust45@92.49.217.67] has joined #lisp 20:41:56 -!- fsvehla [~fsvehla@h081217181184.dyn.cm.kabsi.at] has quit [Quit: fsvehla] 20:42:49 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:43:55 DalekBaldwin [~Adium@ip68-4-133-159.oc.oc.cox.net] has joined #lisp 20:46:40 -!- persizzl [~twosizes@gateway/tor-sasl/persizzl] has quit [Quit: persizzl] 20:47:11 -!- brzpin [~b@pD9F93F26.dip0.t-ipconnect.de] has quit [Quit: Leaving.] 20:47:51 djangoj: this is nice. 20:49:19 gr4nf: thanks- has anyone tried to run it? 20:49:22 where are the high scores from? 20:50:21 tcr [~tcr@88-134-110-1-dynip.superkabel.de] has joined #lisp 20:50:26 I just entered the scores of people who played it during development. 20:51:02 antgreen [~green@216.254.163.111] has joined #lisp 20:51:15 Hi-scores was the most annoying thing to add actually 20:53:08 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 20:55:18 djangoj: because of file i/o? 20:56:51 just because I wanted to keep it functional yet also meet my deadline. See line 612 20:56:55 -!- ltbarcly [~textual@216.113.168.141] has quit [Ping timeout: 264 seconds] 20:59:24 resttime: no go so far, but I had to do a lot of suspect dll-copying, which might have something to do with it 20:59:40 -!- kcj [~casey@unaffiliated/kcj] has quit [Ping timeout: 256 seconds] 21:00:22 foritude: I've got a DLL guide https://github.com/resttime/cl-liballegro 21:00:31 look for FAQ #2 21:01:30 alternatively, stuffing DLL in C:/Windows/SYSWOW64 works too i think 21:01:32 issue right now is some missing includes (probably just have PATH set up wrong 21:01:40 -!- kliph [~user@unaffiliated/kliph] has quit [Ping timeout: 260 seconds] 21:01:43 oh i see 21:02:16 If you have MinGW I put it here the libffi includes here -> "C:\MinGW\include" 21:02:46 ffi.h and ffitarget.h 21:02:49 does anyone of you have experience with some kind of ORM for Common Lisp? 21:02:51 the issue is getting the includes, since mingw is unwilling to actually build libffi right now 21:02:57 I've been told clsql has a few bugs 21:03:14 oh, okay okay 21:05:00 -!- mishoo [~mishoo@93.113.190.121] has quit [Ping timeout: 245 seconds] 21:05:50 -!- optikalmouse [~omouse@69-165-245-60.cable.teksavvy.com] has quit [Ping timeout: 245 seconds] 21:06:00 djangoj: just got it to work on sbcl 1.1.10 in arch 21:06:20 gr4nf: oh cool- any sound? 21:06:58 djangoj: at work right now... i'll see if an opportunity presents itself to check. ;) 21:08:39 Kruppe [~user@24-212-143-69.cable.teksavvy.com] has joined #lisp 21:09:34 -!- Houl [~Parmi@unaffiliated/houl] has quit [Quit: weil das Wetter so schön ist] 21:10:14 -!- zmyrgel [~zmyrgel@a91-153-150-75.elisa-laajakaista.fi] has quit [Ping timeout: 240 seconds] 21:10:39 Myk267 [~myk@unaffiliated/myk267] has joined #lisp 21:11:05 zmyrgel [~zmyrgel@a91-153-150-75.elisa-laajakaista.fi] has joined #lisp 21:13:47 Blkt: avoid ORMs at all cost, use PostgreSQL and postmodern and S-SQL 21:13:57 dim: why? 21:14:29 the answer is pretty long and involved, go read "ORM or the Vietnam of computer science", a 2006 article which is pretty informative 21:14:31 I'm asking because I'm trying to convince my manager and a few colleagues to use Common Lisp (they're Java developers) 21:14:45 and if they don't see ORM they say it's not worth the try 21:14:52 then read about S-SQL and consider that maybe the ability to easily generate SQL from a program is all you wanted 21:15:29 if they like an ORM, explain them that SQL is turing complete and that the ORM to be any good must be a "Sufficiently Smart Compiler" 21:16:06 and also tell them that they have a limited time on earth and should consider learning their procduct's SQL rather than an ORM 21:16:07 explaining that to my manager is like fighting against windmills 21:16:26 well, some other day, let me talk to him 21:16:30 where are you based? 21:16:34 Italy 21:17:01 I have a team over there and they can help you 21:17:17 which RDBMS are you currently using with Java? 21:17:17 have you ever used s-sql or something like it for a project (personal or professional)? 21:17:21 Oracle 21:17:36 we can help you switch to PostgreSQL first ;-) 21:18:07 I'd be glad to, but we're mainly working with clients' databases 21:18:09 Blkt: see tapoueh.org and github.com/dimitri and send me an email if you wish, we're off topic here and I need to go to sleep anyway 21:18:19 you're right 21:18:21 thanks anyway 21:18:30 cheers 21:18:44 :D 21:20:02 Denommus [~user@unaffiliated/denommus] has joined #lisp 21:20:08 hi 21:20:57 -!- kushal [~kdas@fedora/kushal] has quit [Quit: Leaving] 21:23:20 -!- faust45 [~faust45@92.49.217.67] has quit [Ping timeout: 245 seconds] 21:24:18 dim: oh, I didn't realize you're Dimitri Fontaine :) 21:25:26 -!- LiamH [~none@pdp8.nrl.navy.mil] has quit [Quit: Leaving.] 21:31:43 -!- slyrus [~chatzilla@107.200.11.156] has quit [Ping timeout: 264 seconds] 21:33:20 -!- przl [~przlrkt@p5DCA3139.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 21:35:43 faust45 [~faust45@92-49-192-116.dynamic.peoplenet.ua] has joined #lisp 21:36:06 kotharia [~kotharia@123-3-231-34.static.dsl.dodo.com.au] has joined #lisp 21:38:52 slyrus [~chatzilla@107.200.11.156] has joined #lisp 21:40:08 resttime: after many trials and tribulations, it works 21:41:54 :D 21:42:11 -!- jtza8 [~jtza8@105-236-121-156.access.mtnbusiness.co.za] has quit [Remote host closed the connection] 21:42:38 and I assume that the problem is just setting up a proper environment? 21:43:08 seems to be 21:43:08 which is always a windows problem usually 21:43:09 -!- faust45 [~faust45@92-49-192-116.dynamic.peoplenet.ua] has quit [Quit: faust45] 21:43:25 the ming32-libffi rpms from Redhat seem to have all the necessary dlls and headers 21:43:40 time for a merge request 21:44:44 bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has joined #lisp 21:45:14 https://github.com/cffi/cffi/pull/30 21:46:00 -!- bananagram [~bot@c-76-30-158-226.hsd1.tx.comcast.net] has quit [Client Quit] 21:47:48 -!- segmond is now known as seggy 21:48:14 setmeaway [~setmeaway@119.201.52.138] has joined #lisp 21:48:35 nialo [~nialo@ool-44c53f01.dyn.optonline.net] has joined #lisp 21:48:52 -!- wws-ubuntu [wws@clozure-D8D53F0C.dsl1.rtr.chat.fpma.frpt.net] has quit [Ping timeout] 21:48:56 -!- fortitude [~mts@rrcs-24-97-165-124.nys.biz.rr.com] has quit [Quit: leaving] 21:50:24 -!- wws-ubuntu [~wws@p-68-237-141-149.dsl1.rtr.chat.fpma.frpt.net] has quit [Ping timeout: 276 seconds] 21:51:48 -!- tcr [~tcr@88-134-110-1-dynip.superkabel.de] has quit [Quit: Leaving.] 21:52:21 travisr [~travisrod@17.115.46.4] has joined #lisp 21:53:37 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Connection reset by peer] 21:54:24 araujo [~araujo@gentoo/developer/araujo] has joined #lisp 21:54:58 cnl [~pony@95.106.94.217] has joined #lisp 21:55:47 -!- drmeiste_ [~drmeister@farnsworth.chem.temple.edu] has quit [Remote host closed the connection] 21:56:28 -!- gr4nf [~gr4nf@190.86.177.25] has quit [Remote host closed the connection] 21:56:53 -!- Kruppe [~user@24-212-143-69.cable.teksavvy.com] has quit [Ping timeout: 248 seconds] 22:00:48 -!- paddymahoney [~patrick@24.137.221.230] has quit [Ping timeout: 276 seconds] 22:02:20 -!- sellout- [~Adium@66.185.108.210] has quit [Quit: Leaving.] 22:02:48 -!- mgile [~mgile@74-92-220-177-Colorado.hfc.comcastbusiness.net] has quit [Quit: Parting is such sweet sorrow...] 22:02:56 Kruppe [~user@CPE602ad0938e9a-CM602ad0938e97.cpe.net.cable.rogers.com] has joined #lisp 22:03:49 -!- nowhere_man [~pierre@5070B859.static.ziggozakelijk.nl] has quit [Read error: Connection reset by peer] 22:04:12 ltbarcly [~textual@216.113.168.135] has joined #lisp 22:07:05 REPLeffect [~REPLeffec@69.54.115.254] has joined #lisp 22:08:24 -!- foom2 is now known as foom 22:08:57 -!- ltbarcly [~textual@216.113.168.135] has quit [Ping timeout: 256 seconds] 22:11:45 -!- Denommus [~user@unaffiliated/denommus] has quit [Quit: bye] 22:12:55 -!- slyrus [~chatzilla@107.200.11.156] has quit [Ping timeout: 245 seconds] 22:17:13 drmeiste_ [~drmeister@166.137.87.168] has joined #lisp 22:20:06 -!- jaimef [jaimef@dns.mauthesis.com] has quit [Excess Flood] 22:21:50 paddymahoney [~patrick@24-246-29-188.cable.teksavvy.com] has joined #lisp 22:21:50 -!- ndrei [~avo@83.142.149.227] has quit [Ping timeout: 264 seconds] 22:22:34 nowhere_man [~pierre@5070B859.static.ziggozakelijk.nl] has joined #lisp 22:23:31 jaimef [jaimef@dns.mauthesis.com] has joined #lisp 22:24:47 -!- drmeiste_ [~drmeister@166.137.87.168] has quit [Remote host closed the connection] 22:27:32 chu [~user@unaffiliated/chu] has joined #lisp 22:30:07 -!- Oddity [~Oddity@unaffiliated/oddity] has quit [] 22:30:52 -!- EvW [~Thunderbi@a82-92-190-215.adsl.xs4all.nl] has quit [Ping timeout: 246 seconds] 22:31:06 cory786 [~cory@2600:1009:b001:2e04:223:4dff:fe00:a13e] has joined #lisp 22:32:50 EvW [~Thunderbi@a82-92-190-215.adsl.xs4all.nl] has joined #lisp 22:33:25 -!- macdice [~user@46-65-10-191.zone16.bethere.co.uk] has quit [Quit: my ZX81 is out of RAM] 22:35:19 -!- pierre1 [~pierre1@179.218.154.208] has quit [Ping timeout: 264 seconds] 22:36:44 -!- prxq [~mommer@mnhm-590c3ca8.pool.mediaWays.net] has quit [Quit: Leaving] 22:36:58 -!- JPeterson [~JPeterson@s213-103-210-215.cust.tele2.se] has quit [Read error: Operation timed out] 22:37:12 -!- ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 276 seconds] 22:39:35 -!- AeroNotix [~xeno@abov73.neoplus.adsl.tpnet.pl] has quit [Ping timeout: 245 seconds] 22:41:53 persizzl [~twosizes@gateway/tor-sasl/persizzl] has joined #lisp 22:43:53 drmeiste_ [~drmeister@pool-71-185-168-200.phlapa.fios.verizon.net] has joined #lisp 22:45:00 Oddity [~Oddity@unaffiliated/oddity] has joined #lisp 22:49:16 seangrove [~user@75-101-100-6.dsl.static.sonic.net] has joined #lisp 22:50:35 -!- persizzl [~twosizes@gateway/tor-sasl/persizzl] has quit [Quit: persizzl] 22:50:59 sellout- [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #lisp 22:51:32 tcr [~tcr@88-134-110-1-dynip.superkabel.de] has joined #lisp 22:51:50 -!- travisr [~travisrod@17.115.46.4] has quit [Ping timeout: 264 seconds] 22:52:38 slyrus [~chatzilla@107.200.11.156] has joined #lisp 22:53:00 dim: https://www.google.com/search?client=ubuntu&channel=fs&q=%22ORM+or+the+Vietnam+of+computerscience%22 only gives the two citations in here. :-) (Soon the three I guess). 22:53:05 Do you have any URI? 22:53:19 ++ too 22:54:11 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Quit: Leaving] 22:56:19 -!- tcr [~tcr@88-134-110-1-dynip.superkabel.de] has quit [Ping timeout: 264 seconds] 22:56:36 ed_g [~quassel@75-164-245-169.ptld.qwest.net] has joined #lisp 22:59:49 cscorp_ [~csorp@c-98-230-174-67.hsd1.ga.comcast.net] has joined #lisp 23:00:21 -!- cscorp [~csorp@c-98-230-174-67.hsd1.ga.comcast.net] has quit [Ping timeout: 248 seconds] 23:00:21 -!- cscorp_ is now known as cscorp 23:01:19 jangle_ [~jimmy1984@c-98-233-111-131.hsd1.md.comcast.net] has joined #lisp 23:02:56 hiroaki [~hiroaki@77-20-192-229-dynip.superkabel.de] has joined #lisp 23:03:02 -!- hiroaki [~hiroaki@77-20-192-229-dynip.superkabel.de] has quit [Client Quit] 23:03:04 patojo [~boogie@wsip-98-172-168-236.sd.sd.cox.net] has joined #lisp 23:03:14 -!- boogie [~boogie@wsip-98-172-168-236.sd.sd.cox.net] has quit [Read error: Connection reset by peer] 23:03:30 hiroakip [~hiroaki@77-20-192-229-dynip.superkabel.de] has joined #lisp 23:04:15 -!- seangrove [~user@75-101-100-6.dsl.static.sonic.net] has quit [Remote host closed the connection] 23:04:30 seangrove [~user@75-101-100-6.dsl.static.sonic.net] has joined #lisp 23:09:09 -!- stepnem [~stepnem@internet2.cznet.cz] has quit [Ping timeout: 264 seconds] 23:11:02 -!- Mon_Ouie [~Mon_Ouie@subtle/user/MonOuie] has quit [Ping timeout: 264 seconds] 23:15:28 -!- ase_ [~ase@ip56583baa.direct-adsl.nl] has quit [Remote host closed the connection] 23:15:43 ehu [ehu@ip167-22-212-87.adsl2.static.versatel.nl] has joined #lisp 23:16:28 travisr [~travisrod@17.115.46.4] has joined #lisp 23:21:36 tcr [~tcr@88-134-110-1-dynip.superkabel.de] has joined #lisp 23:25:57 -!- maxter [~maxter@gaffeless.chaperon.volia.net] has quit [Ping timeout: 248 seconds] 23:26:26 -!- tcr [~tcr@88-134-110-1-dynip.superkabel.de] has quit [Ping timeout: 256 seconds] 23:27:50 JPeterson [~JPeterson@s213-103-210-215.cust.tele2.se] has joined #lisp 23:27:59 -!- seangrove [~user@75-101-100-6.dsl.static.sonic.net] has quit [Remote host closed the connection] 23:28:15 seangrove [~user@75-101-100-6.dsl.static.sonic.net] has joined #lisp 23:30:24 -!- cscorp [~csorp@c-98-230-174-67.hsd1.ga.comcast.net] has quit [Quit: cscorp] 23:32:07 -!- Tristam [~Tristam@bodhilinux/team/Tristam] has quit [Remote host closed the connection] 23:32:28 -!- Shinmera [~linus@xdsl-188-155-176-171.adslplus.ch] has quit [Quit: ZZZ] 23:33:44 -!- seangrove [~user@75-101-100-6.dsl.static.sonic.net] has quit [Remote host closed the connection] 23:33:57 seangrove [~user@75-101-100-6.dsl.static.sonic.net] has joined #lisp 23:34:35 -!- nialo- [~yaaic@66-87-116-200.pools.spcsdns.net] has quit [Ping timeout: 245 seconds] 23:35:17 Tristam [~Tristam@bodhilinux/team/Tristam] has joined #lisp 23:37:25 -!- seangrove [~user@75-101-100-6.dsl.static.sonic.net] has quit [Remote host closed the connection] 23:37:40 seangrove [~user@75-101-100-6.dsl.static.sonic.net] has joined #lisp 23:44:02 jleija [~jleija@50.15.142.21] has joined #lisp 23:45:38 -!- seangrove [~user@75-101-100-6.dsl.static.sonic.net] has quit [Remote host closed the connection] 23:45:52 seangrove [~user@75-101-100-6.dsl.static.sonic.net] has joined #lisp 23:46:01 -!- pizzasauce [~user@unaffiliated/pizzasauce] has left #lisp 23:49:32 -!- lduros [~user@fsf/member/lduros] has quit [Remote host closed the connection] 23:52:33 Kenjin [~kenjin@180.189.170.78] has joined #lisp 23:53:05 -!- Oddity [~Oddity@unaffiliated/oddity] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 23:53:14 Hello 23:54:27 kliph [~user@unaffiliated/kliph] has joined #lisp 23:57:17 Good night! 23:58:56 -!- smazga [~acrid@64.55.45.194] has quit [Quit: rcirc on GNU Emacs 24.3.4] 23:59:59 pjb: Morning in East Asia :P