2014-10-31T00:00:29Z zRecursive joined #lisp 2014-10-31T00:00:49Z vaporatorius quit (Remote host closed the connection) 2014-10-31T00:01:06Z codeburg joined #lisp 2014-10-31T00:01:19Z MouldyOldBones joined #lisp 2014-10-31T00:02:20Z dagnachew joined #lisp 2014-10-31T00:02:51Z svetlyak40wt joined #lisp 2014-10-31T00:03:22Z dagnachew quit (Client Quit) 2014-10-31T00:05:45Z nand1 quit (Remote host closed the connection) 2014-10-31T00:06:19Z Ryan_Burnside: Resources in general usually have a 'with' macro that wraps around them. 2014-10-31T00:06:46Z billstclair joined #lisp 2014-10-31T00:06:46Z billstclair quit (Changing host) 2014-10-31T00:06:46Z billstclair joined #lisp 2014-10-31T00:06:49Z cracauer: Is there an IRC channel for SLIME? 2014-10-31T00:06:58Z stassats: cracauer: it's #lisp 2014-10-31T00:07:25Z svetlyak40wt quit (Ping timeout: 264 seconds) 2014-10-31T00:07:37Z cracauer: I have a SLIME setup that uses the repl package. Can I downgrade the running thing to use interaction with the inferior-lisp buffer instead? 2014-10-31T00:08:21Z stassats: why would you want to? 2014-10-31T00:08:39Z cracauer: I need to see things printed to stderr from C code inline with what the Lisp was saying 2014-10-31T00:09:05Z stassats: you can, but i don't condone violations of the geneva conventions, so, i won't help you 2014-10-31T00:09:45Z stassats: well, you don't need to downgrade, now do you? how about just running code from the inferior-lisp buffer 2014-10-31T00:09:51Z yuikov joined #lisp 2014-10-31T00:10:05Z cracauer: The way I run slime the inferior-lisp buffer doesn't have working input. 2014-10-31T00:10:17Z cracauer: It's probably from (setf swank:*communication-style* :fd-handler) 2014-10-31T00:10:24Z stassats: no, it's output redirection 2014-10-31T00:10:35Z cracauer: (setf swank:*use-dedicated-output-stream* t) 2014-10-31T00:10:36Z cracauer: (setf swank:*globally-redirect-io* t) 2014-10-31T00:10:50Z Bicyclidine joined #lisp 2014-10-31T00:11:03Z stassats: the amount of time you spent asking this and figuring it out is more than just running from the terminal 2014-10-31T00:11:25Z cracauer: well there's always shell-mode but I was hoping for better. 2014-10-31T00:11:51Z stassats: disable redirection and restart? 2014-10-31T00:12:09Z wws-ubuntu_ quit (Quit: Leaving) 2014-10-31T00:12:27Z stassats: just change the value of *standard-output*? 2014-10-31T00:16:22Z cracauer: hmmm, that is working-ish 2014-10-31T00:17:49Z cracauer: I guess I don't remember why I had to put those originally. Thanks! 2014-10-31T00:18:42Z cracauer: the only ugly thing is that compilation warnings still go to the repl buffer 2014-10-31T00:19:34Z cy joined #lisp 2014-10-31T00:21:17Z proq quit (Ping timeout: 260 seconds) 2014-10-31T00:22:20Z miql quit (Ping timeout: 256 seconds) 2014-10-31T00:24:52Z resttime: how's this for SBCL now? http://paste.lisp.org/display/144229 2014-10-31T00:25:09Z stassats: can you annotate the pastes instead next time? 2014-10-31T00:25:32Z resttime: alright got it 2014-10-31T00:25:43Z stassats: why is with-output-to-string (s) not in process-stream-to-output? 2014-10-31T00:25:44Z LiamH joined #lisp 2014-10-31T00:26:27Z stassats: and how is it that sb-ext:process-exit-code is before sb-ext:process-wait ? 2014-10-31T00:27:29Z resttime: k 2014-10-31T00:29:47Z dagnachew joined #lisp 2014-10-31T00:34:26Z resttime: now? http://paste.lisp.org/display/144229#1 2014-10-31T00:34:48Z __prefect joined #lisp 2014-10-31T00:35:25Z innertracks joined #lisp 2014-10-31T00:37:02Z stassats: that looks nice now 2014-10-31T00:37:12Z stassats: except for the LOOP indentation 2014-10-31T00:37:17Z innertracks quit (Client Quit) 2014-10-31T00:37:18Z nha_ quit (Ping timeout: 244 seconds) 2014-10-31T00:38:51Z linux_dream joined #lisp 2014-10-31T00:43:55Z urandom__ quit (Quit: Konversation terminated!) 2014-10-31T00:44:27Z miql joined #lisp 2014-10-31T00:45:48Z jusss joined #lisp 2014-10-31T00:46:00Z malice quit (Ping timeout: 250 seconds) 2014-10-31T00:46:21Z defaultxr joined #lisp 2014-10-31T00:49:16Z miql quit (Ping timeout: 260 seconds) 2014-10-31T00:49:59Z Longlius joined #lisp 2014-10-31T00:53:13Z MrWoohoo quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-10-31T00:55:04Z resttime: phew time for a commit and pull request: http://paste.lisp.org/display/144229#2 2014-10-31T00:55:25Z slyrus__ quit (Ping timeout: 264 seconds) 2014-10-31T00:56:03Z resttime: that got really elegant 2014-10-31T00:56:15Z resttime: my initial code sucked so much lol 2014-10-31T00:57:56Z stassats: resttime: http://paste.lisp.org/display/144229#3 2014-10-31T00:58:03Z stassats: and you can use with-open-stream as well 2014-10-31T00:59:55Z stassats: resttime: and cmu and scl are the same 2014-10-31T01:00:11Z resttime: whoops lol 2014-10-31T01:00:59Z linux_dream: hey guys which IDE would you suggest to a newbie in lisp and programming in general? I have geany, gedit, etc. 2014-10-31T01:01:13Z linux_dream: but I cannot make some code work with the terminal 2014-10-31T01:01:20Z nyef: linux_dream: emacs. 2014-10-31T01:01:45Z linux_dream: thank you.. emacs alone? 2014-10-31T01:01:49Z stassats: there's only one ide, like it or not 2014-10-31T01:01:56Z linux_dream: emacs? 2014-10-31T01:02:13Z nyef: Some people would recommend using slime with emacs if you're going to be doing lisp stuff, but emacs alone is sufficient. 2014-10-31T01:02:27Z BitPuffin: linux_dream: well emacs is easily the king of lisp 2014-10-31T01:02:36Z stassats: emacs is necessary, but not sufficient 2014-10-31T01:02:36Z linux_dream: ok thanks guys I'm getting it 2014-10-31T01:02:44Z linux_dream: not sufficient? 2014-10-31T01:02:46Z BitPuffin: lol 2014-10-31T01:03:08Z nyef: If emacs isn't sufficient, slime is overkill. 2014-10-31T01:03:12Z BitPuffin: it's built for lisp in lisp :P, that's why it's got commands such as mark-defun 2014-10-31T01:03:28Z BitPuffin: slime is great 2014-10-31T01:03:28Z nyef: Just beware of kill-sexp-backwards. (-: 2014-10-31T01:03:49Z linux_dream: well I'm getting emacs right now. hope it's enough 2014-10-31T01:04:01Z BitPuffin: though every time I say slime and swank to any of my friends they laugh :/ 2014-10-31T01:04:40Z BitPuffin: linux_dream: it's enough, don't worry 2014-10-31T01:04:49Z linux_dream: ok thanks 2014-10-31T01:04:57Z stassats: i wouldn't be using CL if it were not for slime 2014-10-31T01:04:59Z BitPuffin: prepare to be scared of some of the keybindings though 2014-10-31T01:05:03Z BitPuffin: keep in mind that it started in like 2014-10-31T01:05:06Z BitPuffin: the 70s? 2014-10-31T01:05:11Z BitPuffin: think it was mid 70s 2014-10-31T01:05:11Z linux_dream: when I save a file in which I entered lisp commands, I save it as .lisp? or just .txt 2014-10-31T01:05:13Z BitPuffin: so 2014-10-31T01:05:19Z BitPuffin: to save you do ctrl+x ctrl+s 2014-10-31T01:05:23Z BitPuffin: instead of just ctrl+s 2014-10-31T01:05:28Z linux_dream: ok 2014-10-31T01:05:31Z BitPuffin: you can use cua-mode to get more typical stuff 2014-10-31T01:05:34Z BitPuffin: but I advice you not to 2014-10-31T01:05:43Z __prefect quit (Ping timeout: 244 seconds) 2014-10-31T01:05:45Z rme left #lisp 2014-10-31T01:05:46Z nyef: Mmm. If you're a real emacs newbie, start with the tutorial. 2014-10-31T01:05:50Z BitPuffin: since emacs has so extremely many commands it actually has to build some sequences 2014-10-31T01:05:53Z BitPuffin: yeah 2014-10-31T01:05:58Z Petit_Dejeuner: " there's only one ide, like it or not" LispWorks is only $1000, right? 2014-10-31T01:05:59Z BitPuffin: do ctrl+h t when you start it 2014-10-31T01:06:22Z stassats: Petit_Dejeuner: except that it sucks 2014-10-31T01:06:23Z BitPuffin: isn't it free for personal use Petit_Dejeuner? 2014-10-31T01:06:34Z Petit_Dejeuner: I have no idea. I just remember it costing a lot. 2014-10-31T01:06:35Z linux_dream: ok I'm in the tuto 2014-10-31T01:06:51Z Petit_Dejeuner: stassats, What is it like anyway? Just VS/Eclipse but lisp? 2014-10-31T01:07:05Z linux_dream: do you guys have experience with Maxima software? 2014-10-31T01:07:53Z BitPuffin: to be fair I think emacs+slime beats pretty much what all IDEs have to offer 2014-10-31T01:08:08Z auvi joined #lisp 2014-10-31T01:08:25Z Niac joined #lisp 2014-10-31T01:08:33Z resttime: this has to be the absolute limit of elegance http://paste.lisp.org/display/144229#4 2014-10-31T01:08:37Z resttime: reachable 2014-10-31T01:09:34Z stassats: except for the botched indentation 2014-10-31T01:09:38Z jkaye joined #lisp 2014-10-31T01:09:52Z zRecursive: linux_dream: learning & using Maxima now ... 2014-10-31T01:10:11Z linux_dream: nice zRecursive 2014-10-31T01:10:25Z resttime: uhh, there 2014-10-31T01:10:30Z linux_dream: this is what attracted me to lisp 2014-10-31T01:10:32Z stassats: and with-open-stream should go over with-output-to-string, and you can keep the process-stream variable name 2014-10-31T01:10:45Z zRecursive: linux_dream: it is better to join maxima mailing list 2014-10-31T01:10:52Z linux_dream: I already did 2014-10-31T01:11:00Z linux_dream: but I want to understand the code 2014-10-31T01:11:10Z linux_dream: my dream is to implement a new function in Maxima 2014-10-31T01:11:19Z linux_dream: the polylogarithm one 2014-10-31T01:11:34Z stassats: and i would name PROCESS-STREAM-TO-OUTPUT PROCESS-OUTPUT 2014-10-31T01:11:39Z miql joined #lisp 2014-10-31T01:11:44Z linux_dream: so I've checked out how the erf function was implemented.. and it's 250 lines long 2014-10-31T01:12:11Z zRecursive: have you understood it now ? 2014-10-31T01:12:20Z linux_dream: no haha I just started lisp 2014-10-31T01:12:29Z linux_dream: without programming background 2014-10-31T01:12:42Z stassats: maxima developers don't know lisp either, so you'll be in a good company 2014-10-31T01:12:54Z linux_dream: lol... 2014-10-31T01:13:43Z zRecursive: In fact, i like CL primarily for Maxima :) 2014-10-31T01:14:02Z jkaye quit (Ping timeout: 258 seconds) 2014-10-31T01:14:16Z linux_dream: I guess Maxima can be ultra powerful once you know lisp 2014-10-31T01:14:41Z stassats: maxima isn't really related to CL, except that it's written in it 2014-10-31T01:14:50Z stassats: it uses a different language 2014-10-31T01:15:10Z linux_dream: I see 2014-10-31T01:16:26Z Bicyclidine: well, you can use CL from maxima, but the problem is there's a 40% chance the CL will be GCL 2014-10-31T01:16:31Z resttime: maximum elegance^2 http://paste.lisp.org/display/144229#6 2014-10-31T01:16:34Z miql quit (Ping timeout: 244 seconds) 2014-10-31T01:16:51Z svetlyak40wt joined #lisp 2014-10-31T01:17:03Z stassats: resttime: you know what i will say 2014-10-31T01:17:15Z ack006: Bicyclidine: unless you build maxima yourself :-) 2014-10-31T01:17:17Z resttime: w-wwhat 2014-10-31T01:17:24Z stassats: resttime: INDENTATION 2014-10-31T01:17:31Z stassats: http://paste.lisp.org/display/144229#3 2014-10-31T01:18:29Z ack006: Bicyclidine: maxima builds with SBCL just fine (tested version 1.2.5) 2014-10-31T01:18:40Z resttime: should i always do that with loop? 2014-10-31T01:18:45Z linux_dream: I built it with clisp I believe 2014-10-31T01:18:46Z baetheus quit 2014-10-31T01:18:49Z resttime: emacs auto indents it to how ihave it 2014-10-31T01:19:02Z stassats: fix up your auto indentation then 2014-10-31T01:19:23Z stassats: that's why i have, some prefer DO to be offset as well, but this is what you should be doing at the least 2014-10-31T01:20:05Z gedanken joined #lisp 2014-10-31T01:21:14Z chu joined #lisp 2014-10-31T01:21:47Z ack006: weird thing is that running `run_testsuite();` twice in a row in maxima causes the second run to produce failures. 2014-10-31T01:21:49Z svetlyak40wt quit (Ping timeout: 272 seconds) 2014-10-31T01:22:04Z resttime: alright, now with these 6 extra whitespaces the code has reached the state of nirvana 2014-10-31T01:22:49Z stassats: and you should keep the distance between function at one line, not two 2014-10-31T01:22:59Z stassats: (between sbcl and ccl) 2014-10-31T01:23:12Z Petit_Dejeuner: " alright, now with these 6 extra whitespaces the code has reached the state of nirvana" If you used tabs instead of spaces your code would look better but use less characters. 2014-10-31T01:23:18Z stassats: you thought it's going to end? hah! 2014-10-31T01:23:32Z stassats: Petit_Dejeuner: worst advice ever 2014-10-31T01:23:43Z Petit_Dejeuner: stassats, I assumed he was joking too. 2014-10-31T01:24:24Z resttime: haha not so fast, i already anticipated that distance and accounted for it 2014-10-31T01:24:27Z resttime: http://paste.lisp.org/display/144229#7 2014-10-31T01:25:07Z stassats: TO in process-to-output doesn't sound nice 2014-10-31T01:25:08Z auvi quit (Quit: Page closed) 2014-10-31T01:25:19Z ack006 meditates on nirvana and the empty list... 2014-10-31T01:27:09Z resttime: uhhh, output-from-process? 2014-10-31T01:27:22Z stassats: just process-output? 2014-10-31T01:27:32Z stassats: and does ccl:process-wait really work like that? 2014-10-31T01:27:53Z resttime: http://ccl.clozure.com/ccl-documentation.html#f_process-wait 2014-10-31T01:28:06Z stassats: => no 2014-10-31T01:30:38Z MrWoohoo joined #lisp 2014-10-31T01:32:29Z stassats: reaching EOF may seem to achieve the same thing, but there still may be a race 2014-10-31T01:32:45Z stassats: and i don't think ccl has problem with redirection on windows, so you can use the old way 2014-10-31T01:33:54Z gedanken quit (Quit: gedanken) 2014-10-31T01:35:50Z Xach joined #lisp 2014-10-31T01:38:48Z miql joined #lisp 2014-10-31T01:38:49Z resttime: i think i'll keep the new way for unity http://paste.lisp.org/display/144229#8 2014-10-31T01:39:05Z resttime: this HAS to be it 2014-10-31T01:39:16Z stassats: what on earth is (ccl:process-wait "nirvana" process)? 2014-10-31T01:40:06Z resttime: the wholine 2014-10-31T01:41:53Z resttime: actually wait you're right it's completley off 2014-10-31T01:43:31Z Xach: hmm. did duplicate macro definitions recently get upgraded from a style-warning to a full warning in sbcl 1.2.5? 2014-10-31T01:43:57Z stassats: they did change 2014-10-31T01:44:08Z miql quit (Ping timeout: 256 seconds) 2014-10-31T01:44:31Z Xach: ok. that breaks CLX (and everything that depends on CLX) 2014-10-31T01:44:37Z Xach: shame on me for not testing more :( 2014-10-31T01:45:22Z stassats: but it's a style-warning 2014-10-31T01:46:06Z stassats: advertised as a style-warning 2014-10-31T01:46:22Z stassats: and it is, CCL gives a full warning 2014-10-31T01:46:55Z Xach: I don't understand. Did duplicate macro definitions in a single file change recently? If so, did it change to a full warning in 1.2.5? 2014-10-31T01:46:59Z DrCode quit (Ping timeout: 246 seconds) 2014-10-31T01:47:12Z stassats: it never was a warning, not it is a style warning 2014-10-31T01:47:59Z Xach: My mistake, sorry about that. 2014-10-31T01:48:11Z Xach: clx does fail to build for me. I can't figure out why from the log. 2014-10-31T01:48:13Z Xach looks harder 2014-10-31T01:48:21Z innertracks joined #lisp 2014-10-31T01:49:31Z ack006: Xach: CLX built fine from quicklisp with SBCL 1.2.5 last time I tried 2014-10-31T01:49:32Z DrCode joined #lisp 2014-10-31T01:50:23Z Xach: same here. but something is going wrong. 2014-10-31T01:50:30Z Xach: i mean, last time before this most recent time. 2014-10-31T01:52:43Z linux_dream quit (Quit: Leaving) 2014-10-31T01:54:06Z Xach: It says there's a UIOP/LISP-BUILD:COMPILE-FILE-ERROR but I don't see any WARNING: or ERROR: output. 2014-10-31T01:54:20Z Xach: It fails on dependent.lisp 2014-10-31T01:54:37Z stassats: paste? 2014-10-31T01:55:01Z stassats: stop the press, i get it now too 2014-10-31T01:55:25Z ack006: distro? 2014-10-31T01:55:33Z Xach: http://report.quicklisp.org/clx/2014-10-30/failtail.txt 2014-10-31T01:56:11Z innertracks quit (Quit: innertracks) 2014-10-31T01:56:17Z resttime: please tell me its done already http://paste.lisp.org/display/144229#9 D: 2014-10-31T01:56:47Z stassats: resttime: ok, does it work? 2014-10-31T01:57:08Z MrWoohoo quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-10-31T01:57:24Z resttime: loads fine from SBCL 2014-10-31T01:57:57Z resttime: deleted cache before testing etc. 2014-10-31T01:58:10Z stassats: and ccl? and cmucl? 2014-10-31T01:58:12Z Xach: stassats: press stopped 2014-10-31T01:59:11Z resttime: ccl it's the exact same code theoretically 2014-10-31T01:59:27Z stassats: "theoretically" 2014-10-31T02:00:21Z yuikov quit (Remote host closed the connection) 2014-10-31T02:00:57Z yuikov joined #lisp 2014-10-31T02:01:25Z Xach: stassats: is there something i can do to help with clx and sbcl? 2014-10-31T02:01:36Z stassats: see clx.asd 2014-10-31T02:01:51Z stassats: line 146 2014-10-31T02:02:31Z Xach: boo 2014-10-31T02:02:40Z Xach: ok 2014-10-31T02:02:51Z stassats: hell, do i hate the way asdf signals compile errors 2014-10-31T02:03:31Z stassats: it doesn't even signal, it just completely bonkers, so much time spent looking for the "WARNING:" in the output 2014-10-31T02:03:42Z Xach: I will commit a fix to clx tomorrow 2014-10-31T02:04:27Z stassats: and like, when there's something broken, you don't know which file it is right away, and have to fish it out of the backtrace and try to C-x C-f it, argh, hate hate 2014-10-31T02:04:39Z stassats: ok, i'm calmed down a bit 2014-10-31T02:05:59Z miql joined #lisp 2014-10-31T02:06:20Z stassats: and the way without-interrupts is implemented for sbcl escapes me 2014-10-31T02:06:46Z Xach: I was just going to add more to the #-(or ...) (progn ...) one 2014-10-31T02:06:55Z stassats: right 2014-10-31T02:06:57Z Xach: so it is not read 2014-10-31T02:08:30Z stassats: so, is it just for threads running CLX to stop executing code at the same time? why other implementation have real without-interrupts? 2014-10-31T02:08:43Z stassats: can it dead lock? 2014-10-31T02:10:23Z yuikov quit (Remote host closed the connection) 2014-10-31T02:10:25Z stassats: if it still has things #+explorer t, who cares 2014-10-31T02:10:30Z Xach: yeah 2014-10-31T02:10:42Z miql quit (Ping timeout: 245 seconds) 2014-10-31T02:10:49Z Xach: when genera comes back, asdf and clx will be ready 2014-10-31T02:11:00Z ack006 :-) 2014-10-31T02:11:53Z yuikov joined #lisp 2014-10-31T02:13:04Z LiamH quit (Quit: Leaving.) 2014-10-31T02:13:31Z yuikov quit (Remote host closed the connection) 2014-10-31T02:13:58Z stassats: and then there is without-aborts 2014-10-31T02:15:17Z nyef: ... Also known as "choose life"? 2014-10-31T02:16:15Z nyef: (Or, alternately, "if NASA was a startup"?) 2014-10-31T02:16:27Z resttime: CCL is now a.o.k, turns out all the #'let from the original was some magic with processes 2014-10-31T02:16:38Z resttime: to ensure things finish 2014-10-31T02:16:39Z stassats: like, multiply genus? as in, genera? 2014-10-31T02:17:02Z stassats: (some poor pun on without-aborts existing because of genera) 2014-10-31T02:17:29Z stassats: ok, i'm too scared by clx code, time to close it quickly 2014-10-31T02:17:43Z gendl: Hi, is there a uiop operator which gives the fasl extension ? 2014-10-31T02:17:57Z stassats: clhs c-f-p 2014-10-31T02:17:58Z specbot: Matches: compile-file-pathname, compiled-function-p. 2014-10-31T02:18:06Z stassats: clhs compile-file-pathname 2014-10-31T02:18:06Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_cmp__1.htm 2014-10-31T02:18:25Z ack006: stassats: do you use slime? maybe you can try the slime-asdf contrib (haven't tried it myself, maybe it has better debugger support) 2014-10-31T02:18:43Z stassats: i wrote parts of slime-asdf, so, not really 2014-10-31T02:18:55Z jusss: how to expand code like c by macro ? 2014-10-31T02:18:57Z ack006: stassats: 8-) 2014-10-31T02:19:20Z jusss: how to solve special character like ) and ; 2014-10-31T02:19:24Z svetlyak40wt joined #lisp 2014-10-31T02:19:50Z gendl: stassats: thanks. 2014-10-31T02:20:07Z jusss: write others language code by macro is possible ? 2014-10-31T02:20:52Z stassats: reader macros, yes 2014-10-31T02:22:20Z DrCode quit (Ping timeout: 246 seconds) 2014-10-31T02:22:38Z jusss: stassats: it can solve the special charactrer like ) or ; ? 2014-10-31T02:22:50Z stassats: there's nothing special about those 2014-10-31T02:23:06Z stassats: in fact, they are reader macros themselves 2014-10-31T02:24:02Z svetlyak40wt quit (Ping timeout: 244 seconds) 2014-10-31T02:25:55Z nyef quit (Quit: G'night all) 2014-10-31T02:33:10Z miql joined #lisp 2014-10-31T02:34:47Z stassats quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-10-31T02:38:27Z miql quit (Ping timeout: 272 seconds) 2014-10-31T02:41:49Z Bicyclidine quit (Ping timeout: 258 seconds) 2014-10-31T02:49:16Z resttime: if anyone could test if they can load "cffi-libffi" on https://github.com/resttime/cffi using cmucl 2014-10-31T02:49:45Z resttime: please do, I don't think I'm able to right now 2014-10-31T02:53:58Z theos joined #lisp 2014-10-31T03:00:23Z miql joined #lisp 2014-10-31T03:03:28Z srimalj joined #lisp 2014-10-31T03:05:43Z miql quit (Ping timeout: 265 seconds) 2014-10-31T03:06:34Z huza joined #lisp 2014-10-31T03:06:58Z allen joined #lisp 2014-10-31T03:07:05Z allen: what do you advise to one who is addicted to lisp? 2014-10-31T03:07:34Z allen: addicted to dissasembling, reassembling, composing functions, passing them here and there, interactively, and at times at runtime? 2014-10-31T03:10:17Z jkaye joined #lisp 2014-10-31T03:12:17Z zRecursive: better than playing Games :) 2014-10-31T03:14:22Z jkaye quit (Ping timeout: 240 seconds) 2014-10-31T03:21:38Z zRecursive quit (Remote host closed the connection) 2014-10-31T03:22:16Z zRecursive joined #lisp 2014-10-31T03:25:25Z araujo quit (Quit: Leaving) 2014-10-31T03:27:32Z miql joined #lisp 2014-10-31T03:28:02Z ack006: sadly stassats left, here's a message for him: 2014-10-31T03:28:51Z bgs100 joined #lisp 2014-10-31T03:29:40Z bgs100 quit (Client Quit) 2014-10-31T03:31:40Z ack006: stassats: you can debug asdf builds by doing (clx as an example): (let ((*break-on-signals* 'error)) (asdf:load-system 'clx :force t)) 2014-10-31T03:32:03Z ack006: stassats: that will break to the debugger on error 2014-10-31T03:32:14Z ack006: stassats: hth 2014-10-31T03:32:27Z miql quit (Ping timeout: 244 seconds) 2014-10-31T03:32:36Z huza quit (Quit: WeeChat 0.3.8) 2014-10-31T03:36:53Z haz__ quit (Ping timeout: 244 seconds) 2014-10-31T03:36:57Z Rptx quit (Remote host closed the connection) 2014-10-31T03:43:09Z pyon quit (Ping timeout: 245 seconds) 2014-10-31T03:44:29Z Karl_Dscc joined #lisp 2014-10-31T03:47:17Z TDog joined #lisp 2014-10-31T03:47:21Z sheilong quit (Quit: Konversation terminated!) 2014-10-31T03:49:17Z leo2007 quit (Remote host closed the connection) 2014-10-31T03:54:43Z miql joined #lisp 2014-10-31T04:00:13Z miql quit (Ping timeout: 264 seconds) 2014-10-31T04:04:05Z dagnachew quit (Remote host closed the connection) 2014-10-31T04:06:29Z Niac quit (Ping timeout: 272 seconds) 2014-10-31T04:06:46Z Niac joined #lisp 2014-10-31T04:07:22Z BlueRavenGT quit (Ping timeout: 240 seconds) 2014-10-31T04:07:34Z pyon joined #lisp 2014-10-31T04:08:41Z cy quit (Read error: Connection reset by peer) 2014-10-31T04:09:51Z cy joined #lisp 2014-10-31T04:11:08Z haz_ joined #lisp 2014-10-31T04:11:17Z jusss quit (Ping timeout: 264 seconds) 2014-10-31T04:18:44Z Niac quit (Ping timeout: 244 seconds) 2014-10-31T04:19:00Z Niac joined #lisp 2014-10-31T04:20:10Z Karl_Dscc quit (Remote host closed the connection) 2014-10-31T04:20:54Z svetlyak40wt joined #lisp 2014-10-31T04:21:27Z ack006: Xach: to help your friend with clx, clean cache, then do: (let ((*break-on-signals* 'error)) (ql:quickload "clx")) 2014-10-31T04:21:53Z miql joined #lisp 2014-10-31T04:21:54Z ack006: Xach: better than my previous example, clx fails to build the second time (forced) for some reason. 2014-10-31T04:22:49Z ack006: Xach: cmucl doesn't like clx either 2014-10-31T04:24:01Z ack006 quit (Quit: zZzZzZz) 2014-10-31T04:25:53Z adlai quit (Ping timeout: 246 seconds) 2014-10-31T04:26:04Z svetlyak40wt quit (Ping timeout: 255 seconds) 2014-10-31T04:26:35Z McMAGIC--Copy quit (Ping timeout: 246 seconds) 2014-10-31T04:26:51Z miql quit (Ping timeout: 258 seconds) 2014-10-31T04:27:03Z beach joined #lisp 2014-10-31T04:27:10Z beach: Good morning everyone! 2014-10-31T04:31:33Z Nizumzen joined #lisp 2014-10-31T04:38:33Z McMAGIC--Copy joined #lisp 2014-10-31T04:39:12Z adlai joined #lisp 2014-10-31T04:41:09Z allen quit (Remote host closed the connection) 2014-10-31T04:41:16Z harish_ joined #lisp 2014-10-31T04:42:02Z ndrei joined #lisp 2014-10-31T04:47:44Z pillton: Good morning beach. 2014-10-31T04:48:10Z thepreacher joined #lisp 2014-10-31T04:49:08Z miql joined #lisp 2014-10-31T04:49:17Z cy quit (Read error: Connection reset by peer) 2014-10-31T04:51:06Z thepreacher quit (Client Quit) 2014-10-31T04:54:19Z miql quit (Ping timeout: 256 seconds) 2014-10-31T04:55:02Z resttime: darn i think cffi-libffi broke :/ 2014-10-31T04:55:20Z resttime: can't seem to pass structure by value 2014-10-31T04:55:37Z resttime: though I can recieve them, i can't seem to successfully give them to a function 2014-10-31T04:55:38Z yati_ joined #lisp 2014-10-31T04:57:29Z beach: resttime: Remind me what you are using FFI for. 2014-10-31T04:58:32Z resttime: right now its this http://alleg.sourceforge.net/a5docs/5.0.10/graphics.html#al_clear_to_color 2014-10-31T05:00:22Z yati_ quit (Client Quit) 2014-10-31T05:02:04Z beach: Thanks. 2014-10-31T05:02:34Z resttime: like the function is just empty in a way 2014-10-31T05:02:44Z resttime: the cffi translated ones 2014-10-31T05:03:02Z resttime: when I try to #'defcfun 2014-10-31T05:03:09Z resttime: it says the parameters remain unused 2014-10-31T05:03:18Z resttime: for some odd reason 2014-10-31T05:03:34Z resttime: I remember it used to work at least one year ago 2014-10-31T05:05:59Z jasom: resttime: can you paste your defcfun definition to paste.lisp.org? 2014-10-31T05:08:34Z jusss joined #lisp 2014-10-31T05:08:52Z resttime: http://paste.lisp.org/display/144231' 2014-10-31T05:08:55Z resttime: http://paste.lisp.org/display/144231 2014-10-31T05:09:52Z resttime: http://paste.lisp.org/display/144231#1 forgot structure type definition 2014-10-31T05:11:11Z jkaye joined #lisp 2014-10-31T05:11:29Z jasom: do you have cffi-libffi loaded? 2014-10-31T05:12:28Z jewel quit (Ping timeout: 256 seconds) 2014-10-31T05:13:09Z jasom: "If a foreign structure is to be passed or returned by value (that is, the type is of the form (:struct ...)), then the cffi-libffi system must be loaded, which in turn depends on libffi, including the header files." 2014-10-31T05:14:11Z resttime: yup it's in my cl-liballegro dependencies 2014-10-31T05:14:22Z resttime: quickloaded it though just to be sure 2014-10-31T05:14:28Z resttime: http://paste.lisp.org/display/144231#2 2014-10-31T05:14:41Z resttime: heres what I get every time I try to reload that file 2014-10-31T05:14:48Z resttime: err definition 2014-10-31T05:15:14Z resttime: returning by value works good 2014-10-31T05:15:26Z resttime: passing to a parameter seems to be the problem 2014-10-31T05:15:58Z MrWoohoo joined #lisp 2014-10-31T05:16:05Z jkaye quit (Ping timeout: 264 seconds) 2014-10-31T05:16:17Z miql joined #lisp 2014-10-31T05:17:25Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-10-31T05:17:46Z resttime: and similar errors happen with every #'defcfun giving it a structure parameter 2014-10-31T05:18:13Z resttime: it doesn't use the variables created are unused 2014-10-31T05:18:27Z resttime: tested on CCL and SBCL with similar problems 2014-10-31T05:18:31Z resttime: *same 2014-10-31T05:18:43Z jusss quit (Ping timeout: 255 seconds) 2014-10-31T05:19:17Z Ryan_Burnside quit (Quit: Leaving) 2014-10-31T05:19:52Z ThePhoeron quit (Ping timeout: 250 seconds) 2014-10-31T05:21:49Z miql quit (Ping timeout: 264 seconds) 2014-10-31T05:22:15Z resttime: the bindings in question: https://github.com/resttime/cl-liballegro 2014-10-31T05:22:34Z ThePhoeron joined #lisp 2014-10-31T05:24:03Z l3thal quit (Ping timeout: 244 seconds) 2014-10-31T05:24:04Z ofosos joined #lisp 2014-10-31T05:26:01Z CrazyEddy quit (Ping timeout: 260 seconds) 2014-10-31T05:27:39Z l3thal joined #lisp 2014-10-31T05:33:55Z svetlyak40wt joined #lisp 2014-10-31T05:34:02Z harish_ quit (Ping timeout: 245 seconds) 2014-10-31T05:36:36Z tesuji joined #lisp 2014-10-31T05:37:25Z phao quit (Ping timeout: 264 seconds) 2014-10-31T05:41:06Z kakaouette joined #lisp 2014-10-31T05:42:38Z kakaouette: woaa!! free bitcoins here to http://cryptosrevolution.wix.com/beta 2014-10-31T05:43:26Z resttime: i was correct 2014-10-31T05:43:35Z miql joined #lisp 2014-10-31T05:43:56Z resttime: i took CFFI from around 1 year ago 2014-10-31T05:44:02Z kushal joined #lisp 2014-10-31T05:44:04Z kushal quit (Changing host) 2014-10-31T05:44:04Z kushal joined #lisp 2014-10-31T05:44:23Z resttime: this older version of CFFI works perfectly 2014-10-31T05:44:57Z resttime: time for some investigation *sigh* 2014-10-31T05:47:32Z svetlyak40wt quit (Remote host closed the connection) 2014-10-31T05:48:12Z miql quit (Ping timeout: 245 seconds) 2014-10-31T05:52:29Z resttime: this commit is the problem: https://github.com/cffi/cffi/commit/867033672b587d7768736dd322017664088952cc 2014-10-31T05:52:35Z kakaouette left #lisp 2014-10-31T05:53:01Z gingerale quit (Ping timeout: 264 seconds) 2014-10-31T05:53:29Z BitPuffin quit (Ping timeout: 258 seconds) 2014-10-31T05:56:29Z svetlyak40wt joined #lisp 2014-10-31T05:56:39Z svetlyak40wt quit (Remote host closed the connection) 2014-10-31T05:59:50Z jusss joined #lisp 2014-10-31T06:01:28Z jewel joined #lisp 2014-10-31T06:07:41Z oleo__ quit (Quit: Verlassend) 2014-10-31T06:07:56Z Nizumzen quit (Ping timeout: 265 seconds) 2014-10-31T06:10:39Z miql joined #lisp 2014-10-31T06:15:22Z miql quit (Ping timeout: 240 seconds) 2014-10-31T06:22:18Z Nizumzen joined #lisp 2014-10-31T06:24:44Z EvW joined #lisp 2014-10-31T06:26:49Z defaultxr quit (Quit: gnight) 2014-10-31T06:27:42Z pt1 joined #lisp 2014-10-31T06:28:01Z beach: resttime: Are you using Allegro for something, or are you just creating bindings for it? 2014-10-31T06:28:20Z resttime: right now i'm creating bindings 2014-10-31T06:28:26Z resttime: i want them to work VERY well 2014-10-31T06:28:38Z beach: Sure. 2014-10-31T06:29:24Z resttime: yup confirmed that it's that specific commit that broke it 2014-10-31T06:29:39Z resttime: just copied the older functions.lisp to the latest git version 2014-10-31T06:29:43Z resttime: and it works again 2014-10-31T06:30:40Z haz_ quit (Ping timeout: 258 seconds) 2014-10-31T06:31:28Z resttime: issue https://github.com/cffi/cffi/issues/47 2014-10-31T06:31:52Z resttime: and if anyone a CFFI maintater, my pull request https://github.com/cffi/cffi/pull/46 2014-10-31T06:32:11Z heurist joined #lisp 2014-10-31T06:32:29Z resttime: though I didn't test the pull stuff with cmu or scl 2014-10-31T06:34:03Z dion joined #lisp 2014-10-31T06:34:19Z heurist` quit (Ping timeout: 244 seconds) 2014-10-31T06:34:22Z resttime: i wonder if i should keep investigating or call it quits and use the older functions.lisp file 2014-10-31T06:37:09Z cpc26 joined #lisp 2014-10-31T06:37:49Z miql joined #lisp 2014-10-31T06:38:14Z cpc26_ quit (Ping timeout: 244 seconds) 2014-10-31T06:39:06Z beach: If you find a maintainer, it might be easier for that person to investigate. Just my 0.02€ worth of course. 2014-10-31T06:39:25Z resttime: i don't know of any lol 2014-10-31T06:40:19Z dion is now known as dion_ 2014-10-31T06:41:48Z beach: Time to get to work. 2014-10-31T06:41:58Z beach left #lisp 2014-10-31T06:42:15Z loz joined #lisp 2014-10-31T06:42:52Z yuikov joined #lisp 2014-10-31T06:42:53Z miql quit (Ping timeout: 244 seconds) 2014-10-31T06:45:10Z yuikov quit (Read error: Connection reset by peer) 2014-10-31T06:53:05Z kcj joined #lisp 2014-10-31T06:53:24Z loz quit (Quit: Leaving.) 2014-10-31T06:56:08Z mrSpec joined #lisp 2014-10-31T06:57:14Z DrCode joined #lisp 2014-10-31T06:57:15Z svetlyak40wt joined #lisp 2014-10-31T06:58:54Z Nizumzen quit (Ping timeout: 244 seconds) 2014-10-31T06:59:45Z H4ns: does cl have a way to search for a certain file in multiple locations? 2014-10-31T07:01:01Z yuikov joined #lisp 2014-10-31T07:01:49Z svetlyak40wt quit (Ping timeout: 256 seconds) 2014-10-31T07:02:07Z yuikov quit (Read error: Connection reset by peer) 2014-10-31T07:03:06Z yuikov joined #lisp 2014-10-31T07:03:31Z yuikov quit (Read error: Connection reset by peer) 2014-10-31T07:05:01Z miql joined #lisp 2014-10-31T07:06:04Z pjb: H4ns: yes, DIRECTORY 2014-10-31T07:06:30Z pjb: (directory "/*/*/df") --> (#P"/gentoo/bin/df" #P"/ubuntu/bin/df") 2014-10-31T07:06:46Z pjb: You can also use ** for different levels. 2014-10-31T07:07:26Z pjb: if you want something like PATH, you will have to do it yourself (some implementation have something like that for LOAD etc. cf. eg. clisp). 2014-10-31T07:07:33Z pjb: or cmucl. 2014-10-31T07:07:47Z pjb: But this is specific to those operators and implementations. 2014-10-31T07:08:01Z H4ns: pjb: thanks. i was looking for something that allows me to specify the order in which the locations are searched, like in PATH. i'll roll my own. 2014-10-31T07:09:52Z miql quit (Ping timeout: 245 seconds) 2014-10-31T07:10:44Z yuikov joined #lisp 2014-10-31T07:10:58Z yuikov quit (Remote host closed the connection) 2014-10-31T07:11:32Z zRecursive quit (Remote host closed the connection) 2014-10-31T07:17:43Z srimalj left #lisp 2014-10-31T07:18:49Z mishoo joined #lisp 2014-10-31T07:19:16Z robot-beethoven joined #lisp 2014-10-31T07:20:17Z _5kg quit (Ping timeout: 245 seconds) 2014-10-31T07:24:21Z Beetny joined #lisp 2014-10-31T07:24:23Z prxq joined #lisp 2014-10-31T07:24:25Z yuikov joined #lisp 2014-10-31T07:25:04Z yuikov quit (Read error: Connection reset by peer) 2014-10-31T07:26:48Z EvW quit (Ping timeout: 244 seconds) 2014-10-31T07:28:25Z MoALTz quit (Ping timeout: 264 seconds) 2014-10-31T07:28:36Z pjb: H4ns: perhaps you can use something inside ASDF? 2014-10-31T07:32:12Z miql joined #lisp 2014-10-31T07:32:18Z mvilleneuve joined #lisp 2014-10-31T07:32:47Z H4ns: my needs are simple, i just wanted to avoid replicating something that would already been solved by using a proper logical pathname setup 2014-10-31T07:33:52Z H4ns: i kind of miss vms's logical names - there, you could just define a logical name with search list and then open files using that logical name as prefix. and that'd work anywhere in the system. 2014-10-31T07:33:56Z H4ns: *sigh* 2014-10-31T07:37:23Z miql quit (Ping timeout: 255 seconds) 2014-10-31T07:39:31Z svetlyak40wt joined #lisp 2014-10-31T07:42:17Z pyon quit (Quit: stupid emacs) 2014-10-31T07:42:55Z pyon joined #lisp 2014-10-31T07:43:10Z yuikov joined #lisp 2014-10-31T07:44:22Z kanru quit (Ping timeout: 244 seconds) 2014-10-31T07:44:53Z tesuji quit (Ping timeout: 256 seconds) 2014-10-31T07:45:48Z pjb: (find-if (function probe-file) *directories* :key (lambda (dir) (merge-pathnames file dir))) is not that hard to write either. 2014-10-31T07:46:22Z pjb: (and unless you use it a lot, you could even hardly justify the functional abstraction). 2014-10-31T07:46:40Z _5kg joined #lisp 2014-10-31T07:46:57Z H4ns: right. but i'll have to either put complete pathnames into *directories* or use two variables, one with the base pathname and one with the subdirectories to search. 2014-10-31T07:47:38Z pjb: (find-if (function probe-file) *rel-directories* :key (lambda (reldir) (merge-pathnames file (merge-pathname reldir base)))) 2014-10-31T07:47:43Z pjb: *base* 2014-10-31T07:48:20Z H4ns: no really? 2014-10-31T07:48:25Z pjb: slyrus: r 2014-10-31T07:48:27Z pjb: oops 2014-10-31T07:48:52Z pjb: yes: (merge-pathnames "hello/world/" "/tmp/") --> #P"/tmp/hello/world/" 2014-10-31T07:51:46Z eazar001 quit (Remote host closed the connection) 2014-10-31T07:52:59Z eazar001 joined #lisp 2014-10-31T07:53:01Z resttime: YYYYYYYYEEEEEEEEEEAAAAAAAAAAAAAAAAAAAAAAAAAA 2014-10-31T07:53:09Z resttime: my bindings work on 64bit platforms 2014-10-31T07:53:20Z resttime: ccl x64 and sbcl x64 tested 2014-10-31T07:53:39Z jtza8 joined #lisp 2014-10-31T07:53:40Z resttime: need to super turbo charge the lisp interface 2014-10-31T07:53:55Z resttime: then these are some extremely mature bindings 2014-10-31T07:54:13Z ofosos quit (Ping timeout: 264 seconds) 2014-10-31T07:56:03Z H4ns: "extremely mature", like in "has been in production use for longer than my own lifetime"? 2014-10-31T07:57:01Z resttime: maybe a slight exaggeration on my part :D 2014-10-31T07:59:27Z miql joined #lisp 2014-10-31T07:59:27Z Oberon4278 quit (Ping timeout: 245 seconds) 2014-10-31T07:59:48Z yuikov quit 2014-10-31T08:01:35Z stepnem joined #lisp 2014-10-31T08:04:22Z miql quit (Ping timeout: 240 seconds) 2014-10-31T08:11:56Z svetlyak40wt quit (Remote host closed the connection) 2014-10-31T08:12:32Z svetlyak40wt joined #lisp 2014-10-31T08:16:15Z arenz joined #lisp 2014-10-31T08:17:04Z leo2007 joined #lisp 2014-10-31T08:17:17Z svetlyak40wt quit (Ping timeout: 272 seconds) 2014-10-31T08:23:53Z slyrus quit (Ping timeout: 264 seconds) 2014-10-31T08:24:22Z joneshf quit (Ping timeout: 244 seconds) 2014-10-31T08:26:38Z miql joined #lisp 2014-10-31T08:31:00Z jtza8 quit (Ping timeout: 265 seconds) 2014-10-31T08:31:23Z miql quit (Ping timeout: 244 seconds) 2014-10-31T08:33:51Z psy_ quit (Remote host closed the connection) 2014-10-31T08:35:47Z joneshf joined #lisp 2014-10-31T08:38:39Z slyrus joined #lisp 2014-10-31T08:44:50Z __prefect joined #lisp 2014-10-31T08:45:11Z svetlyak40wt joined #lisp 2014-10-31T08:45:24Z ehu joined #lisp 2014-10-31T08:46:16Z gravicappa joined #lisp 2014-10-31T08:46:49Z pavelpenev quit (Remote host closed the connection) 2014-10-31T08:46:50Z svetlyak40wt quit (Remote host closed the connection) 2014-10-31T08:47:24Z svetlyak40wt joined #lisp 2014-10-31T08:51:44Z svetlyak40wt quit (Ping timeout: 258 seconds) 2014-10-31T08:53:52Z miql joined #lisp 2014-10-31T08:56:40Z alpha-: does the loop macro have some sort of facility to "just return this one value"?i.e. now I have (let ((result 1)) (loop do (mutate-result ...) until (...)) result) 2014-10-31T08:56:50Z alpha-: is there a way to get rid of let in there ? 2014-10-31T08:58:15Z H4ns: finally (loop with result = 1 .. finally (return result)) maybe? 2014-10-31T08:59:06Z miql quit (Ping timeout: 265 seconds) 2014-10-31T09:00:44Z alpha-: maybe! 2014-10-31T09:00:53Z alpha-: I'll give it a try, thanks H4ns 2014-10-31T09:02:45Z xificurC joined #lisp 2014-10-31T09:10:51Z drdanmaku quit (Quit: Connection closed for inactivity) 2014-10-31T09:11:01Z Jesin quit (Read error: Connection reset by peer) 2014-10-31T09:16:52Z przl joined #lisp 2014-10-31T09:17:22Z corni joined #lisp 2014-10-31T09:17:22Z corni quit (Changing host) 2014-10-31T09:17:22Z corni joined #lisp 2014-10-31T09:19:43Z Grue`: alpha-: LETs around loop are generally replaced with "with", but in your case you can also write (loop for result = initial-value then (next-value result) until ... finally (return result)) 2014-10-31T09:20:56Z miql joined #lisp 2014-10-31T09:21:56Z schaueho joined #lisp 2014-10-31T09:24:56Z heurist quit (Ping timeout: 255 seconds) 2014-10-31T09:25:51Z miql quit (Ping timeout: 258 seconds) 2014-10-31T09:26:06Z cy joined #lisp 2014-10-31T09:30:38Z rjmacready_ joined #lisp 2014-10-31T09:30:39Z ovenpasta joined #lisp 2014-10-31T09:30:41Z rjmacready_: join #lispgames 2014-10-31T09:30:52Z clapautius left #lisp 2014-10-31T09:30:52Z rjmacready_: (upsi) 2014-10-31T09:31:36Z Niac quit (Remote host closed the connection) 2014-10-31T09:35:27Z harish_ joined #lisp 2014-10-31T09:35:39Z ehu quit (Ping timeout: 245 seconds) 2014-10-31T09:36:38Z nug700 quit (Read error: Connection reset by peer) 2014-10-31T09:37:08Z dion_ is now known as dion 2014-10-31T09:38:51Z zickzackv joined #lisp 2014-10-31T09:41:50Z __prefect quit (Ping timeout: 256 seconds) 2014-10-31T09:43:42Z zxq9 joined #lisp 2014-10-31T09:47:16Z jtza8 joined #lisp 2014-10-31T09:47:37Z LoicLisp joined #lisp 2014-10-31T09:48:07Z miql joined #lisp 2014-10-31T09:49:41Z corni quit (Ping timeout: 260 seconds) 2014-10-31T09:50:54Z kanru joined #lisp 2014-10-31T09:52:00Z zickzackv quit (Ping timeout: 250 seconds) 2014-10-31T09:53:13Z miql quit (Ping timeout: 255 seconds) 2014-10-31T09:55:47Z dion left #lisp 2014-10-31T09:56:09Z harish_ quit (Quit: Leaving) 2014-10-31T09:56:32Z harish_ joined #lisp 2014-10-31T10:01:26Z redeemed joined #lisp 2014-10-31T10:01:39Z haz_ joined #lisp 2014-10-31T10:03:13Z harish_ quit (Quit: Leaving) 2014-10-31T10:03:30Z harish_ joined #lisp 2014-10-31T10:03:46Z harish_ quit (Read error: Connection reset by peer) 2014-10-31T10:04:17Z harish_ joined #lisp 2014-10-31T10:11:48Z cy quit (Quit: :q!) 2014-10-31T10:15:20Z miql joined #lisp 2014-10-31T10:16:07Z jusss quit (Ping timeout: 245 seconds) 2014-10-31T10:20:35Z svetlyak40wt joined #lisp 2014-10-31T10:20:37Z miql quit (Ping timeout: 264 seconds) 2014-10-31T10:24:14Z jtza8 quit (Ping timeout: 264 seconds) 2014-10-31T10:24:41Z przl quit (Ping timeout: 260 seconds) 2014-10-31T10:25:38Z EvW joined #lisp 2014-10-31T10:28:09Z nihilatus joined #lisp 2014-10-31T10:31:02Z kcj quit (Remote host closed the connection) 2014-10-31T10:38:09Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-10-31T10:38:21Z angavrilov joined #lisp 2014-10-31T10:42:12Z ggole joined #lisp 2014-10-31T10:42:30Z miql joined #lisp 2014-10-31T10:47:48Z malice joined #lisp 2014-10-31T10:47:51Z miql quit (Ping timeout: 265 seconds) 2014-10-31T10:49:33Z ovenpasta quit (Ping timeout: 244 seconds) 2014-10-31T10:51:01Z przl joined #lisp 2014-10-31T10:55:39Z przl quit (Ping timeout: 245 seconds) 2014-10-31T10:56:04Z schaueho quit (Ping timeout: 245 seconds) 2014-10-31T11:04:24Z nostoi joined #lisp 2014-10-31T11:09:44Z miql joined #lisp 2014-10-31T11:12:57Z pyon quit (Quit: And the battle will rage until only the Raichu prevail!) 2014-10-31T11:14:11Z xificurC_ joined #lisp 2014-10-31T11:14:46Z miql quit (Ping timeout: 250 seconds) 2014-10-31T11:19:26Z xificurC_ quit (Ping timeout: 264 seconds) 2014-10-31T11:24:57Z przl joined #lisp 2014-10-31T11:27:14Z LoicLisp quit (Ping timeout: 264 seconds) 2014-10-31T11:32:02Z svetlyak40wt quit (Remote host closed the connection) 2014-10-31T11:32:28Z svetlyak40wt joined #lisp 2014-10-31T11:33:15Z arenz quit (Ping timeout: 256 seconds) 2014-10-31T11:33:57Z svetlyak_ joined #lisp 2014-10-31T11:33:57Z svetlyak_ is now known as svetlyak40wt_ 2014-10-31T11:33:58Z svetlyak40wt quit (Read error: Connection reset by peer) 2014-10-31T11:33:59Z xificurC quit (Quit: WeeChat 1.0) 2014-10-31T11:36:54Z miql joined #lisp 2014-10-31T11:40:42Z przl quit (Ping timeout: 245 seconds) 2014-10-31T11:42:14Z miql quit (Ping timeout: 264 seconds) 2014-10-31T11:43:37Z hardenedapple joined #lisp 2014-10-31T11:46:30Z ehu joined #lisp 2014-10-31T11:46:57Z stardiviner joined #lisp 2014-10-31T11:48:23Z tesuji joined #lisp 2014-10-31T11:50:40Z mishoo quit (Ping timeout: 255 seconds) 2014-10-31T11:50:58Z ovenpasta joined #lisp 2014-10-31T11:57:52Z prxq quit (Remote host closed the connection) 2014-10-31T12:01:28Z ndrei quit (Ping timeout: 255 seconds) 2014-10-31T12:04:04Z miql joined #lisp 2014-10-31T12:04:09Z mrSpec is now known as partyks 2014-10-31T12:04:14Z partyks is now known as mrSpec 2014-10-31T12:06:58Z przl joined #lisp 2014-10-31T12:09:14Z miql quit (Ping timeout: 264 seconds) 2014-10-31T12:09:38Z sheilong joined #lisp 2014-10-31T12:11:49Z przl quit (Ping timeout: 255 seconds) 2014-10-31T12:15:32Z LoicLisp joined #lisp 2014-10-31T12:16:18Z przl joined #lisp 2014-10-31T12:18:02Z yeticry quit (Ping timeout: 250 seconds) 2014-10-31T12:18:09Z nostoi quit (Quit: Verlassend) 2014-10-31T12:19:47Z thawes joined #lisp 2014-10-31T12:20:10Z yeticry joined #lisp 2014-10-31T12:20:52Z przl quit (Ping timeout: 240 seconds) 2014-10-31T12:26:27Z Beetny quit (Ping timeout: 265 seconds) 2014-10-31T12:26:39Z eudoxia joined #lisp 2014-10-31T12:27:24Z attila_lendvai quit (Quit: Leaving.) 2014-10-31T12:28:54Z Amaan joined #lisp 2014-10-31T12:31:15Z miql joined #lisp 2014-10-31T12:31:59Z nihilatus quit (Quit: Connection closed for inactivity) 2014-10-31T12:32:00Z xificurC_ joined #lisp 2014-10-31T12:36:11Z miql quit (Ping timeout: 255 seconds) 2014-10-31T12:38:42Z pyon joined #lisp 2014-10-31T12:41:26Z kirin` quit (Ping timeout: 250 seconds) 2014-10-31T12:41:50Z sword``` quit (Remote host closed the connection) 2014-10-31T12:45:20Z kirin` joined #lisp 2014-10-31T12:45:34Z madmalik joined #lisp 2014-10-31T12:46:02Z malice quit (Remote host closed the connection) 2014-10-31T12:50:08Z przl joined #lisp 2014-10-31T12:51:20Z svetlyak40wt_ quit (Remote host closed the connection) 2014-10-31T12:51:47Z svetlyak40wt joined #lisp 2014-10-31T12:56:21Z svetlyak40wt quit (Ping timeout: 265 seconds) 2014-10-31T12:58:25Z miql joined #lisp 2014-10-31T13:00:03Z gravicappa quit (Remote host closed the connection) 2014-10-31T13:02:32Z protist joined #lisp 2014-10-31T13:03:11Z ehu quit (Ping timeout: 265 seconds) 2014-10-31T13:03:22Z miql quit (Ping timeout: 244 seconds) 2014-10-31T13:04:36Z urandom__ joined #lisp 2014-10-31T13:05:52Z jkaye joined #lisp 2014-10-31T13:06:09Z jkaye quit (Read error: Connection reset by peer) 2014-10-31T13:06:34Z jkaye joined #lisp 2014-10-31T13:06:50Z wooden quit (Ping timeout: 264 seconds) 2014-10-31T13:07:28Z fortitude joined #lisp 2014-10-31T13:08:19Z psy_ joined #lisp 2014-10-31T13:15:24Z prxq joined #lisp 2014-10-31T13:18:21Z jusss joined #lisp 2014-10-31T13:21:47Z oleo joined #lisp 2014-10-31T13:22:22Z wooden joined #lisp 2014-10-31T13:22:22Z eudoxia_ joined #lisp 2014-10-31T13:22:22Z wooden quit (Changing host) 2014-10-31T13:22:22Z wooden joined #lisp 2014-10-31T13:24:07Z frkout joined #lisp 2014-10-31T13:24:13Z jkaye quit 2014-10-31T13:24:49Z frkout_ joined #lisp 2014-10-31T13:25:35Z c4h joined #lisp 2014-10-31T13:25:38Z miql joined #lisp 2014-10-31T13:25:42Z eudoxia quit (Ping timeout: 245 seconds) 2014-10-31T13:27:41Z Longlius quit (Remote host closed the connection) 2014-10-31T13:28:41Z frkout quit (Ping timeout: 244 seconds) 2014-10-31T13:29:03Z Karl_Dscc joined #lisp 2014-10-31T13:29:13Z svetlyak40wt joined #lisp 2014-10-31T13:29:48Z eudoxia_ quit (Quit: Lost terminal) 2014-10-31T13:30:53Z miql quit (Ping timeout: 260 seconds) 2014-10-31T13:32:12Z heurist joined #lisp 2014-10-31T13:33:42Z svetlyak40wt quit (Remote host closed the connection) 2014-10-31T13:34:10Z przl quit (Ping timeout: 255 seconds) 2014-10-31T13:34:44Z kushal quit (Ping timeout: 256 seconds) 2014-10-31T13:34:56Z zeitue quit (Remote host closed the connection) 2014-10-31T13:35:08Z przl joined #lisp 2014-10-31T13:36:55Z schoppenhauer quit (Quit: Adé) 2014-10-31T13:37:07Z Hache_ joined #lisp 2014-10-31T13:38:53Z joneshf-laptop joined #lisp 2014-10-31T13:39:33Z octophore joined #lisp 2014-10-31T13:45:30Z vaporatorius joined #lisp 2014-10-31T13:45:43Z thawes quit (Ping timeout: 265 seconds) 2014-10-31T13:46:11Z schoppenhauer joined #lisp 2014-10-31T13:46:16Z thawes joined #lisp 2014-10-31T13:49:30Z Nizumzen joined #lisp 2014-10-31T13:49:47Z kushal joined #lisp 2014-10-31T13:51:15Z chu joined #lisp 2014-10-31T13:52:50Z ndrei joined #lisp 2014-10-31T13:52:50Z miql joined #lisp 2014-10-31T13:54:09Z CrazyEddy joined #lisp 2014-10-31T13:57:03Z pt1 quit (Remote host closed the connection) 2014-10-31T13:58:05Z miql quit (Ping timeout: 264 seconds) 2014-10-31T13:59:18Z przl quit (Ping timeout: 272 seconds) 2014-10-31T13:59:38Z Shinmera joined #lisp 2014-10-31T14:01:19Z frkout_ quit (Read error: Connection reset by peer) 2014-10-31T14:07:30Z ggherdov_ quit (Changing host) 2014-10-31T14:07:30Z ggherdov_ joined #lisp 2014-10-31T14:07:30Z ggherdov_ quit (Changing host) 2014-10-31T14:07:30Z ggherdov_ joined #lisp 2014-10-31T14:07:41Z ggherdov_ is now known as ggherdov 2014-10-31T14:07:50Z przl joined #lisp 2014-10-31T14:08:04Z ndrei quit (Quit: Lost terminal) 2014-10-31T14:08:05Z munksgaard joined #lisp 2014-10-31T14:11:14Z kanru` joined #lisp 2014-10-31T14:17:26Z jusss quit (Ping timeout: 255 seconds) 2014-10-31T14:20:00Z miql joined #lisp 2014-10-31T14:20:07Z jusss joined #lisp 2014-10-31T14:21:43Z octophore: what's the channel for Lisp game development? 2014-10-31T14:22:03Z hitecnologys: octophore: #lispgames 2014-10-31T14:22:12Z octophore: Thank you. 2014-10-31T14:24:52Z miql quit (Ping timeout: 245 seconds) 2014-10-31T14:27:47Z thawes quit (Ping timeout: 255 seconds) 2014-10-31T14:28:34Z drdanmaku joined #lisp 2014-10-31T14:28:41Z stardiviner quit (Ping timeout: 255 seconds) 2014-10-31T14:32:52Z samebchase quit (Ping timeout: 272 seconds) 2014-10-31T14:33:14Z kyl quit (Ping timeout: 264 seconds) 2014-10-31T14:37:21Z mishoo joined #lisp 2014-10-31T14:38:59Z samebchase joined #lisp 2014-10-31T14:39:29Z thawes joined #lisp 2014-10-31T14:43:58Z samebchase quit (Remote host closed the connection) 2014-10-31T14:44:54Z samebchase joined #lisp 2014-10-31T14:45:16Z BitPuffin joined #lisp 2014-10-31T14:46:53Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-10-31T14:47:13Z miql joined #lisp 2014-10-31T14:49:19Z samebchase quit (Ping timeout: 256 seconds) 2014-10-31T14:50:45Z pt1 joined #lisp 2014-10-31T14:50:51Z samebchase joined #lisp 2014-10-31T14:51:07Z jaminja quit (Ping timeout: 255 seconds) 2014-10-31T14:51:20Z pt1 quit (Remote host closed the connection) 2014-10-31T14:52:22Z miql quit (Ping timeout: 256 seconds) 2014-10-31T14:52:33Z c4h quit (Quit: quit) 2014-10-31T14:53:08Z Amaan quit (Quit: Connection closed for inactivity) 2014-10-31T14:53:21Z innertracks joined #lisp 2014-10-31T14:54:52Z marchdown joined #lisp 2014-10-31T14:55:09Z pt1 joined #lisp 2014-10-31T14:55:31Z madmalik quit (Quit: Connection closed for inactivity) 2014-10-31T14:55:55Z pt1 quit (Remote host closed the connection) 2014-10-31T14:56:04Z Mandus: 2014-10-31T14:56:11Z jusss: read-macro, how to handle character ( 2014-10-31T14:56:17Z jusss: and ) 2014-10-31T14:56:24Z jusss: ; ' " 2014-10-31T14:57:48Z jusss: make lisp to expand like printf("hello world??/n"); ,how to write ? 2014-10-31T14:59:35Z Xach: jusss: you can try (get-macro-character #\() and M-. on what it returns. 2014-10-31T15:00:00Z Xach: The implementation you see that way will probably not be particularly didactic, but you can be confident it works. 2014-10-31T15:00:12Z innertracks quit (Quit: innertracks) 2014-10-31T15:02:37Z kyl joined #lisp 2014-10-31T15:02:38Z Ethan- quit (Ping timeout: 264 seconds) 2014-10-31T15:03:10Z pjb: jusss: lisp is essentially Polish notation. Operators are written as the first element of lists. For reader macros, it's the first character that determines the reader macro executed. 2014-10-31T15:03:25Z pjb: jusss: therefore if you want to read printf("hello world??/n"); you must put a reader macro on #\p. 2014-10-31T15:04:11Z innertracks joined #lisp 2014-10-31T15:04:18Z pjb: Since it will soon feel silly to do so (you'll soon have to put a reader macro on all the characters, which with unicode makes a lot of reader macros), you'd be well advised to choose another character to introduced your syntax. 2014-10-31T15:04:40Z pjb: For example, { would feel natural: {printf("hello world??/n");} ; <-- to make it nice, balance it. 2014-10-31T15:05:02Z jussss joined #lisp 2014-10-31T15:05:21Z Nizumzen quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2014-10-31T15:05:26Z Xach: Someone has recently made such a thing 2014-10-31T15:05:44Z Xach: https://github.com/y2q-actionman/with-c-syntax 2014-10-31T15:05:55Z jusss quit (Remote host closed the connection) 2014-10-31T15:07:20Z araujo joined #lisp 2014-10-31T15:08:42Z kanru` quit (Remote host closed the connection) 2014-10-31T15:09:09Z kyl quit (Ping timeout: 256 seconds) 2014-10-31T15:10:02Z CrazyWoods joined #lisp 2014-10-31T15:10:17Z Petit_Dejeuner: Huh, the testing framework I made while reading PCL would be more helpful than lisp-unit is right now. 2014-10-31T15:11:48Z Xach: that is why there are so many 2014-10-31T15:11:51Z prxq: Petit_Dejeuner: why is that? 2014-10-31T15:11:54Z jussss: chicken turn scheme to c , use read macro ? 2014-10-31T15:12:29Z Xach: jussss: no. 2014-10-31T15:13:52Z Petit_Dejeuner: prxq, When a test fails, it tells me which one failed. 2014-10-31T15:14:04Z marchdown quit (Quit: marchdown) 2014-10-31T15:14:11Z prxq: Petit_Dejeuner: that looks like a true killer feature 2014-10-31T15:14:15Z vaporatorius quit (Quit: Leaving) 2014-10-31T15:14:22Z miql joined #lisp 2014-10-31T15:14:33Z marchdown joined #lisp 2014-10-31T15:15:29Z ehu joined #lisp 2014-10-31T15:15:43Z dlowe: jussss: if you want to talk about other lisps, the place to do that is in ##lisp or in the specific language channel 2014-10-31T15:16:07Z wilfredh joined #lisp 2014-10-31T15:16:26Z frkout joined #lisp 2014-10-31T15:19:17Z miql quit (Ping timeout: 258 seconds) 2014-10-31T15:19:49Z nydel quit (Remote host closed the connection) 2014-10-31T15:21:36Z mncoder joined #lisp 2014-10-31T15:21:54Z ndrei joined #lisp 2014-10-31T15:21:54Z kyl joined #lisp 2014-10-31T15:26:57Z innertracks quit (Quit: innertracks) 2014-10-31T15:27:35Z jussss quit (Quit: Bye) 2014-10-31T15:30:21Z effy quit (Ping timeout: 260 seconds) 2014-10-31T15:33:15Z effy joined #lisp 2014-10-31T15:36:35Z ivan4th joined #lisp 2014-10-31T15:37:42Z thawes quit (Ping timeout: 256 seconds) 2014-10-31T15:38:09Z Ryan_Burnside joined #lisp 2014-10-31T15:41:34Z miql joined #lisp 2014-10-31T15:46:38Z miql quit (Ping timeout: 244 seconds) 2014-10-31T15:50:51Z CrazyWoods: Are there someone here using DrRacket? 2014-10-31T15:51:57Z nalkri: You probably want #scheme 2014-10-31T15:52:09Z nalkri: This channel is Common Lisp :) 2014-10-31T15:52:21Z CrazyWoods: nalkri: ok 2014-10-31T15:57:13Z Petit_Dejeuner: CrazyWoods, #racket would probably be the best to ask 2014-10-31T15:57:32Z gingerale joined #lisp 2014-10-31T15:58:26Z CrazyWoods: Petit_Dejeuner: still looking for cross-platform gui solution :( 2014-10-31T15:58:44Z Petit_Dejeuner: CrazyWoods, Racket's GUI library should work fine. 2014-10-31T15:58:57Z Petit_Dejeuner: DrRacket's broken? 2014-10-31T15:59:51Z ndrei quit (Ping timeout: 244 seconds) 2014-10-31T15:59:53Z CrazyWoods: Petit_Dejeuner: DrRacket are scheme base not common lisp 2014-10-31T16:00:18Z Petit_Dejeuner: CrazyWoods, But I thought you wanted DrRacket help? 2014-10-31T16:01:06Z CrazyWoods: Petit_Dejeuner: no real, i am just looking for cross-platform gui solution, language & gui-toolkit 2014-10-31T16:01:17Z Xach: CrazyWoods: what program will you write? 2014-10-31T16:01:36Z ndrei joined #lisp 2014-10-31T16:03:01Z wasamasa: CrazyWoods: web uis are cross-platform 2014-10-31T16:03:12Z wasamasa: CrazyWoods: and can be done using any language 2014-10-31T16:03:27Z CrazyWoods: Xach: a Component Base & Data Driven game engine, and i want to build a gui for manipulate the data 2014-10-31T16:05:30Z k-stz joined #lisp 2014-10-31T16:08:07Z Pullphinger joined #lisp 2014-10-31T16:08:08Z Pullphinger quit (Max SendQ exceeded) 2014-10-31T16:08:39Z Pullphinger joined #lisp 2014-10-31T16:08:46Z miql joined #lisp 2014-10-31T16:10:11Z frkout quit (Remote host closed the connection) 2014-10-31T16:10:39Z redeemed quit (Quit: q#) 2014-10-31T16:11:02Z thawes joined #lisp 2014-10-31T16:11:04Z jackdaniel quit (Ping timeout: 245 seconds) 2014-10-31T16:13:02Z seguzo joined #lisp 2014-10-31T16:13:32Z miql quit (Ping timeout: 255 seconds) 2014-10-31T16:14:29Z frkout joined #lisp 2014-10-31T16:14:35Z przl_ joined #lisp 2014-10-31T16:14:40Z rjmacready_ quit (Quit: Page closed) 2014-10-31T16:14:57Z frkout_ joined #lisp 2014-10-31T16:17:25Z przl quit (Ping timeout: 244 seconds) 2014-10-31T16:18:53Z frkout quit (Ping timeout: 240 seconds) 2014-10-31T16:18:53Z ivan4th quit (Ping timeout: 240 seconds) 2014-10-31T16:19:06Z seguzo quit (Quit: Bye) 2014-10-31T16:19:33Z frkout_ quit (Read error: Connection reset by peer) 2014-10-31T16:20:02Z xificurC_ quit (Quit: WeeChat 1.0) 2014-10-31T16:26:18Z zickzackv joined #lisp 2014-10-31T16:27:11Z phao joined #lisp 2014-10-31T16:29:15Z lavokad joined #lisp 2014-10-31T16:30:24Z przl_ quit (Ping timeout: 256 seconds) 2014-10-31T16:32:28Z ndrei quit (Ping timeout: 256 seconds) 2014-10-31T16:33:17Z codeburg quit (Remote host closed the connection) 2014-10-31T16:33:17Z adlai quit (Remote host closed the connection) 2014-10-31T16:33:43Z codeburg joined #lisp 2014-10-31T16:34:13Z adlai joined #lisp 2014-10-31T16:35:57Z miql joined #lisp 2014-10-31T16:36:21Z JuanitoJons joined #lisp 2014-10-31T16:38:06Z oleo__ joined #lisp 2014-10-31T16:38:06Z oleo is now known as Guest4082 2014-10-31T16:38:22Z Guest4082 quit (Quit: Verlassend) 2014-10-31T16:38:36Z oleo__ quit (Read error: Connection reset by peer) 2014-10-31T16:39:50Z McMAGIC--Copy quit (Ping timeout: 246 seconds) 2014-10-31T16:41:10Z miql quit (Ping timeout: 256 seconds) 2014-10-31T16:42:59Z McMAGIC--Copy joined #lisp 2014-10-31T16:46:34Z arenz joined #lisp 2014-10-31T16:49:00Z EvW quit (Quit: EvW) 2014-10-31T16:49:28Z psy_ quit (Ping timeout: 256 seconds) 2014-10-31T16:50:10Z ltbarcly joined #lisp 2014-10-31T16:52:27Z oleo__ joined #lisp 2014-10-31T16:52:58Z oleo__ is now known as oleo 2014-10-31T16:53:02Z jackdaniel joined #lisp 2014-10-31T16:54:15Z pt1 joined #lisp 2014-10-31T16:56:12Z attila_lendvai joined #lisp 2014-10-31T16:58:06Z mncoder quit (Quit: mncoder) 2014-10-31T16:58:13Z mvilleneuve quit (Quit: This computer has gone to sleep) 2014-10-31T16:58:56Z mvilleneuve joined #lisp 2014-10-31T17:00:28Z mvilleneuve quit (Client Quit) 2014-10-31T17:01:09Z psy_ joined #lisp 2014-10-31T17:02:17Z arenz quit (Ping timeout: 264 seconds) 2014-10-31T17:03:09Z miql joined #lisp 2014-10-31T17:03:39Z devon joined #lisp 2014-10-31T17:04:49Z theotherstupidgu joined #lisp 2014-10-31T17:05:57Z attila_lendvai quit (Quit: Leaving.) 2014-10-31T17:06:40Z psy_ quit (Ping timeout: 256 seconds) 2014-10-31T17:08:14Z miql quit (Ping timeout: 265 seconds) 2014-10-31T17:09:59Z lavokad` joined #lisp 2014-10-31T17:11:10Z wheelsucker joined #lisp 2014-10-31T17:11:22Z lavokad quit (Ping timeout: 240 seconds) 2014-10-31T17:11:56Z devon: Anyone know how to portably get a stream from a file-descriptor? 2014-10-31T17:12:15Z H4ns: devon: you don't. file descriptors are not portable in the first place. 2014-10-31T17:12:28Z McMAGIC--Copy quit (Remote host closed the connection) 2014-10-31T17:12:44Z McMAGIC--Copy joined #lisp 2014-10-31T17:14:01Z hardenedapple quit (Quit: WeeChat 1.0.1) 2014-10-31T17:15:01Z beach joined #lisp 2014-10-31T17:15:08Z beach: Good evening everyone! 2014-10-31T17:17:03Z kushal quit (Quit: Leaving) 2014-10-31T17:17:53Z Ryan_Burnside: Hello beach. 2014-10-31T17:18:22Z Ryan_Burnside: Is there an elegant way to prefix a string with x many space characters using the FORMAT directive? 2014-10-31T17:18:30Z Ryan_Burnside: Maybe I'm not seeing it in the docs... 2014-10-31T17:19:17Z Nizumzen joined #lisp 2014-10-31T17:21:13Z araujo quit (Ping timeout: 265 seconds) 2014-10-31T17:23:31Z mhd_ joined #lisp 2014-10-31T17:24:41Z madmalik joined #lisp 2014-10-31T17:25:24Z Grue`: (format nil "~va~a" 20 "" "test") prints 20 spaces before "test" 2014-10-31T17:25:41Z Karl_Dscc quit (Remote host closed the connection) 2014-10-31T17:25:56Z jewel quit (Ping timeout: 256 seconds) 2014-10-31T17:26:14Z pt1 quit (Remote host closed the connection) 2014-10-31T17:26:37Z pjb: (format nil "~24<~A~>" "test") too. 2014-10-31T17:28:08Z Grue`: right, I didn't even try the pretty printing stuff because it always seemed too arcane to me, but this seems more elegant 2014-10-31T17:28:39Z Ryan_Burnside: I'm doing some stuff where I'm pretty printing and the number of indents is not constant. Thanks guys. 2014-10-31T17:28:43Z Ryan_Burnside: :) 2014-10-31T17:28:54Z pjb: Well, it's not the same semantics. Perhaps Ryan_Burnside wants: (format nil "~20<~>~A" "test") 2014-10-31T17:29:18Z beach: Grue`: Did you see my remark the other day about SYMBOL-PLIST and SYMBOL-FUNCTION? 2014-10-31T17:29:30Z Grue`: beach: yeah 2014-10-31T17:29:33Z beach: OK. 2014-10-31T17:29:36Z beach: Just checking. 2014-10-31T17:30:17Z lavokad` quit (Ping timeout: 245 seconds) 2014-10-31T17:30:18Z miql joined #lisp 2014-10-31T17:30:41Z Ryan_Burnside: I like FORMAT. It is very powerful, somewhat out of place but nice to use. 2014-10-31T17:31:33Z MoALTz joined #lisp 2014-10-31T17:31:55Z Ryan_Burnside: Grue`, looks like your version is exactly what I needed. 2014-10-31T17:33:01Z MoALTz quit (Remote host closed the connection) 2014-10-31T17:33:01Z pjb: Ryan_Burnside: the advantage of ~<~> is that it doesn't require an additionnal parameter. It may lead to more efficient code (or not). 2014-10-31T17:33:30Z wizzo quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2014-10-31T17:34:32Z mncoder joined #lisp 2014-10-31T17:35:16Z Ryan_Burnside: pjb, I actually have the number of prefixes set to a variable. It exists outside my print function. So it cannot be known beforehand. 2014-10-31T17:35:22Z miql quit (Ping timeout: 258 seconds) 2014-10-31T17:35:44Z Ryan_Burnside: I'm indenting XML body lines. 2014-10-31T17:35:47Z Grue`: Ryan_Burnside: just replace numeric argument by "v" 2014-10-31T17:36:19Z Ryan_Burnside: AH I see what you're getting at. 2014-10-31T17:37:44Z Ryan_Burnside: ok works, thanks guys 2014-10-31T17:38:10Z EvW joined #lisp 2014-10-31T17:40:05Z xrash joined #lisp 2014-10-31T17:45:32Z ivan4th joined #lisp 2014-10-31T17:49:20Z hugod quit (Remote host closed the connection) 2014-10-31T17:50:01Z hugod joined #lisp 2014-10-31T17:51:17Z xyjprc joined #lisp 2014-10-31T17:53:10Z baetheus joined #lisp 2014-10-31T17:53:10Z innertracks joined #lisp 2014-10-31T17:53:48Z hugod quit (Remote host closed the connection) 2014-10-31T17:54:32Z hugod joined #lisp 2014-10-31T17:54:41Z hugod quit (Remote host closed the connection) 2014-10-31T17:54:54Z proq joined #lisp 2014-10-31T17:56:49Z Denommus left #lisp 2014-10-31T17:57:31Z miql joined #lisp 2014-10-31T17:57:36Z beach left #lisp 2014-10-31T17:58:02Z hugod joined #lisp 2014-10-31T17:58:49Z jkaye joined #lisp 2014-10-31T17:59:31Z ofosos joined #lisp 2014-10-31T17:59:40Z baetheus quit 2014-10-31T18:02:22Z miql quit (Ping timeout: 255 seconds) 2014-10-31T18:03:36Z psy_ joined #lisp 2014-10-31T18:05:33Z HOS_nerv joined #lisp 2014-10-31T18:07:41Z MoALTz joined #lisp 2014-10-31T18:08:10Z jjkola joined #lisp 2014-10-31T18:08:53Z __prefect joined #lisp 2014-10-31T18:09:55Z Hache_ quit (Remote host closed the connection) 2014-10-31T18:12:09Z Bicyclidine joined #lisp 2014-10-31T18:14:08Z marchdown quit (Quit: marchdown) 2014-10-31T18:14:20Z mncoder: CrazyWoods: Have you looked at something like SDL? https://github.com/lispgames/cl-sdl2 2014-10-31T18:17:41Z mhd_ quit (Quit: Textual IRC Client: www.textualapp.com) 2014-10-31T18:23:18Z paddymahoney joined #lisp 2014-10-31T18:23:23Z paddymahoney quit (Max SendQ exceeded) 2014-10-31T18:24:08Z altamic joined #lisp 2014-10-31T18:24:42Z miql joined #lisp 2014-10-31T18:24:49Z paddymahoney joined #lisp 2014-10-31T18:28:14Z devon: Let me re-phrase that, is there a portable way to create a sub process and communicate with it in full-duplex? 2014-10-31T18:29:23Z dlowe: Without a library? No. 2014-10-31T18:29:41Z miql quit (Ping timeout: 244 seconds) 2014-10-31T18:30:14Z dlowe: There are some portability wrappers, I think trivial-shell is one. 2014-10-31T18:31:15Z Grue`: uiop probably has something 2014-10-31T18:33:34Z sauerkrause: I use trivial-shell 2014-10-31T18:34:10Z sauerkrause: works pretty well. you can use a stream for stdin and take a stream for stdout and stderr 2014-10-31T18:35:14Z edgar-rft quit (Quit: connection finished because no effect found) 2014-10-31T18:36:10Z sauerkrause: I used it when I was too lazy to implement an irc bot command in CL and I already had a command line tool to do what I needed. 2014-10-31T18:37:03Z Grue`: "Personal opinion: trivial-shell had its time, but uiop:run-program and its front-end inferior-shell are more portable, more robust, more featureful, more widely used, and uiop:run-program is already part of your implementation-provided asdf 3. Use uiop and/or inferior-shell instead. — Fare Rideau" 2014-10-31T18:39:13Z jtza8 joined #lisp 2014-10-31T18:39:38Z Petit_Dejeuner: Or just CL21 ;) 2014-10-31T18:41:17Z ltbarcly quit (Ping timeout: 264 seconds) 2014-10-31T18:43:24Z devon: UIOP/RUN-PROGRAM:RUN-PROGRAM docs seem to say it can input or output but not both at once. 2014-10-31T18:44:24Z pjb: devon: you cannot do that without threads. 2014-10-31T18:44:37Z devon: Yeah, I intend to use threads. 2014-10-31T18:44:48Z ltbarcly joined #lisp 2014-10-31T18:45:17Z pjb: libraries must provide the lcm of all implementations. Some implementations have (or can have) no threads. 2014-10-31T18:49:15Z devon: So for some intersection of bordeaux-threads and uiop ... maybe. 2014-10-31T18:49:29Z protist quit (Quit: Konversation terminated!) 2014-10-31T18:51:20Z pjb: Have a look at the source of uiop:run-program. 2014-10-31T18:51:54Z miql joined #lisp 2014-10-31T18:51:58Z pjb: Portability libraries are all nice, but it would be better if people wrote CDRs and had vendors implement them (common APIs) directly. 2014-10-31T18:52:14Z jewel joined #lisp 2014-10-31T18:52:45Z Grue`: i was so mad the other day when i discovered bordeaux-threads:with-lock-held doesn't have wait-p parameter, even though acquire-lock does 2014-10-31T18:53:12Z Nizumzen quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2014-10-31T18:55:23Z baetheus joined #lisp 2014-10-31T18:56:51Z Panicky joined #lisp 2014-10-31T18:57:14Z miql quit (Ping timeout: 264 seconds) 2014-10-31T18:58:09Z altamic quit (Quit: altamic) 2014-10-31T18:59:38Z ltbarcly quit (Ping timeout: 264 seconds) 2014-10-31T19:02:23Z loz joined #lisp 2014-10-31T19:03:00Z ltbarcly joined #lisp 2014-10-31T19:04:30Z zickzackv quit (Ping timeout: 250 seconds) 2014-10-31T19:06:18Z zickzackv joined #lisp 2014-10-31T19:07:16Z mguzmann quit (Quit: WeeChat 0.4.2) 2014-10-31T19:08:08Z ovenpasta quit (Ping timeout: 258 seconds) 2014-10-31T19:08:16Z spatials joined #lisp 2014-10-31T19:08:35Z zickzackv_ joined #lisp 2014-10-31T19:09:49Z jtza8 quit (Ping timeout: 245 seconds) 2014-10-31T19:10:34Z zickzackv quit (Ping timeout: 250 seconds) 2014-10-31T19:10:34Z zickzackv_ is now known as zickzackv 2014-10-31T19:10:35Z hardenedapple joined #lisp 2014-10-31T19:11:02Z tesuji quit (Ping timeout: 264 seconds) 2014-10-31T19:11:37Z Jesin joined #lisp 2014-10-31T19:13:25Z madmalik quit (Ping timeout: 272 seconds) 2014-10-31T19:13:26Z faheem_ quit (Ping timeout: 272 seconds) 2014-10-31T19:13:26Z Neet quit (Ping timeout: 272 seconds) 2014-10-31T19:13:46Z madmalik joined #lisp 2014-10-31T19:15:15Z faheem_ joined #lisp 2014-10-31T19:15:19Z Neet joined #lisp 2014-10-31T19:16:34Z Bicyclidine quit (Ping timeout: 258 seconds) 2014-10-31T19:18:07Z cmack joined #lisp 2014-10-31T19:19:04Z miql joined #lisp 2014-10-31T19:19:14Z zickzackv quit (Ping timeout: 250 seconds) 2014-10-31T19:20:09Z ggole quit 2014-10-31T19:24:29Z miql quit (Ping timeout: 264 seconds) 2014-10-31T19:24:39Z araujo joined #lisp 2014-10-31T19:30:37Z jasom: devon: note that on unix systems full-duplex over pipes is deadlock prone 2014-10-31T19:31:19Z jasom: devon: it's generally considered better form to socketpair and then fork/exec. I don't know of any libraries that do that for you, but it should be fairly easy to do. 2014-10-31T19:31:22Z pjb: Yes, that's the reason why you need different threads to write and to read, so they can lock independently. 2014-10-31T19:31:52Z rszeno joined #lisp 2014-10-31T19:32:28Z Bicyclidine joined #lisp 2014-10-31T19:32:55Z Petit_Dejeuner: Weird. When I try to use my macro it complains that I'm using a function with that name and not enough arguments. Recompiling the macro doesn't do anything. 2014-10-31T19:33:26Z jasom: Petit_Dejeuner: macroexpand is your friend 2014-10-31T19:34:26Z pjb: The macro must be defined before it's used. 2014-10-31T19:34:42Z cy joined #lisp 2014-10-31T19:40:49Z tokenrov1 is now known as tokenrove 2014-10-31T19:40:51Z CrazyWoods: mncoder: cl-sdl2 are special for game, isn't it? 2014-10-31T19:41:35Z Petit_Dejeuner: Thanks. macroexpand helped 2014-10-31T19:41:53Z BitPuffin quit (Ping timeout: 264 seconds) 2014-10-31T19:44:11Z CrazyWoods: pjb: are you there? 2014-10-31T19:45:26Z pjb: I am. 2014-10-31T19:46:15Z miql joined #lisp 2014-10-31T19:46:48Z CrazyWoods: pjb: what's your mainly language? 2014-10-31T19:46:59Z pjb: Common Lisp. 2014-10-31T19:47:14Z nhanH joined #lisp 2014-10-31T19:49:01Z innertracks quit (Ping timeout: 255 seconds) 2014-10-31T19:49:30Z CrazyWoods: pjb: for what? 2014-10-31T19:49:54Z CrazyWoods: pjb: web server app or desktop gui? 2014-10-31T19:50:26Z Beetny joined #lisp 2014-10-31T19:50:49Z rszeno quit (Quit: Leaving.) 2014-10-31T19:51:32Z miql quit (Ping timeout: 265 seconds) 2014-10-31T19:53:44Z octophore quit (Quit: Bye) 2014-10-31T19:54:36Z igor joined #lisp 2014-10-31T19:55:34Z pjb: For everything. 2014-10-31T19:55:45Z araujo quit (Quit: Leaving) 2014-10-31T19:55:47Z pjb: I'm doing more desktop gui than web servers. 2014-10-31T19:56:09Z CrazyWoods: pjb: thank which gui toolkit do you use? 2014-10-31T19:56:48Z pjb: I'm porting the MCL GUI toolkit from MCL/MacOS to ccl/MacOSX (and in the future, to any CL implementation/clx). 2014-10-31T19:57:51Z CrazyWoods: pjb: which one do you suggest for cross-platform use? 2014-10-31T19:57:53Z jkaye quit (Remote host closed the connection) 2014-10-31T19:58:13Z pjb: Depends on the platform, and the kind of application. 2014-10-31T19:58:23Z pjb: Try: To get help choosing a CL implementation, connect to telnet://voyager.informatimago.com:8101 ; have a look at http://www.cliki.net/Common%20Lisp%20implementation 2014-10-31T20:00:15Z CrazyWoods: pjb: CL implementation would be clear, but i not sure about the gui toolkit 2014-10-31T20:01:00Z fortitude: CrazyWoods: I haven't used it much myself, but I've heard some people around here say good things about commonqt (bindings for QT, which is cross-platform) 2014-10-31T20:01:31Z pjb: My favorite GUI toolkit would be GNUstep, so that could be what I'd use. 2014-10-31T20:02:05Z jasom: CrazyWoods: I use ltk 2014-10-31T20:02:32Z CrazyWoods: fortitude: that should learn about c++ 2014-10-31T20:02:38Z dlowe: I use ltk, too. The level of crazy in Qt bothers me. 2014-10-31T20:02:44Z CrazyWoods: jasom: for complex gui application? 2014-10-31T20:03:01Z jasom: CrazyWoods: define "complex" 2014-10-31T20:03:31Z jasom: CrazyWoods: the one place it's not good is if you need a lot of throughput between the gui and your application logic (e.g. if you want to do lisp powered animations) 2014-10-31T20:04:24Z ack006 joined #lisp 2014-10-31T20:05:21Z CrazyWoods: it seems ltk are common use 2014-10-31T20:05:24Z jkaye joined #lisp 2014-10-31T20:05:37Z marchdown joined #lisp 2014-10-31T20:06:46Z marchdown quit (Client Quit) 2014-10-31T20:07:10Z tokenrove: CrazyWoods: i used SDL and OpenGL for a fairly complex cross-platform GUI, but more in the style of an application like Blender. i wouldn't want to take that approach for something that's more about forms and menus. 2014-10-31T20:07:27Z CrazyWoods: pjb: GNUStep are objective-c library, isn't it? 2014-10-31T20:07:32Z pjb: CrazyWoods: the point is that the question of cross platform GUI is not related to Common Lisp. 2014-10-31T20:07:38Z pjb: Yes, GNUstep = OpenStep = Cocoa 2014-10-31T20:07:51Z pjb: CrazyWoods: what cross platform GUI would you use? 2014-10-31T20:08:34Z CrazyWoods: pjb: i have used gtk & qt for python 2014-10-31T20:08:37Z ack006: finally got cmucl packaging for arch linux sorted out 2014-10-31T20:08:55Z ack006: it appears that there are very very few, if any, distros out there that get it *right* 2014-10-31T20:08:57Z pjb: CrazyWoods: there are bindings to gtk and qt for Common Lisp. 2014-10-31T20:09:55Z CrazyWoods: tokenrove: just using SDL and OpenGL, how about the menu checkbox widget? 2014-10-31T20:10:31Z ack006: most forget to a) install sources or provide a source package, b) properly configure search-list in site-init.lisp 2014-10-31T20:10:53Z tokenrove: CrazyWoods: "the menu checkbox widget"? there were menus, etc, but all the widget drawing was implemented from scratch, in the "immediate mode GUI" style. 2014-10-31T20:11:50Z jewel quit (Ping timeout: 265 seconds) 2014-10-31T20:13:25Z miql joined #lisp 2014-10-31T20:13:51Z CrazyWoods: tokenrove: that would be a lot of work to do 2014-10-31T20:15:11Z vaporatorius joined #lisp 2014-10-31T20:15:33Z tokenrove: CrazyWoods: that depends on the nature of your interface. that's what i said in the first place. 2014-10-31T20:16:41Z CrazyWoods: tokenrove: can you show me your project? 2014-10-31T20:17:11Z innertracks joined #lisp 2014-10-31T20:17:17Z innertracks quit (Client Quit) 2014-10-31T20:18:16Z tokenrove: CrazyWoods: nope, sorry. there's a chance some of that stuff will be open sourced in the future. 2014-10-31T20:18:24Z miql quit (Ping timeout: 244 seconds) 2014-10-31T20:18:45Z CrazyWoods: tokenrove: ok :) 2014-10-31T20:22:50Z EvW quit (Ping timeout: 244 seconds) 2014-10-31T20:24:34Z przl joined #lisp 2014-10-31T20:25:09Z bgs100 joined #lisp 2014-10-31T20:33:37Z Pullphinger quit 2014-10-31T20:36:39Z ovenpasta joined #lisp 2014-10-31T20:37:15Z sunwukong joined #lisp 2014-10-31T20:40:20Z sunwukong quit (Client Quit) 2014-10-31T20:40:38Z miql joined #lisp 2014-10-31T20:45:50Z miql quit (Ping timeout: 264 seconds) 2014-10-31T20:50:38Z sheilong quit (Quit: Konversation terminated!) 2014-10-31T20:52:46Z eli joined #lisp 2014-10-31T20:53:44Z EvW joined #lisp 2014-10-31T20:54:32Z karswell joined #lisp 2014-10-31T20:55:23Z selat joined #lisp 2014-10-31T20:58:58Z mindCrime_ joined #lisp 2014-10-31T20:59:35Z mindCrime quit (Read error: Connection reset by peer) 2014-10-31T21:00:10Z thawes quit (Remote host closed the connection) 2014-10-31T21:00:43Z hitecnologys quit (Ping timeout: 265 seconds) 2014-10-31T21:01:15Z theotherstupidgu quit (Quit: leaving) 2014-10-31T21:01:26Z hitecnologys joined #lisp 2014-10-31T21:04:26Z Bicyclidine quit (Ping timeout: 264 seconds) 2014-10-31T21:05:38Z MoALTz quit (Quit: Leaving) 2014-10-31T21:07:47Z miql joined #lisp 2014-10-31T21:11:17Z gingerale quit (Ping timeout: 265 seconds) 2014-10-31T21:12:17Z xrash quit (Remote host closed the connection) 2014-10-31T21:12:47Z miql quit (Ping timeout: 255 seconds) 2014-10-31T21:15:08Z ltbarcly quit (Quit: Computer has gone to sleep.) 2014-10-31T21:18:08Z wheelsucker quit (Quit: Client Quit) 2014-10-31T21:20:41Z ulgen joined #lisp 2014-10-31T21:25:39Z ulgen left #lisp 2014-10-31T21:29:13Z Bicyclidine joined #lisp 2014-10-31T21:29:36Z ndrei joined #lisp 2014-10-31T21:31:40Z Denommus joined #lisp 2014-10-31T21:31:57Z CrazyWoods quit (Quit: leaving) 2014-10-31T21:31:57Z Denommus: I just updated the stable cl-launch on AUR, since it was orphan 2014-10-31T21:31:58Z Denommus: 4.1 2014-10-31T21:33:16Z specbot quit (Remote host closed the connection) 2014-10-31T21:33:16Z minion quit (Remote host closed the connection) 2014-10-31T21:33:18Z easye quit (Read error: Connection reset by peer) 2014-10-31T21:34:58Z miql joined #lisp 2014-10-31T21:35:41Z paddymahoney quit (Ping timeout: 244 seconds) 2014-10-31T21:38:34Z przl quit (Quit: leaving) 2014-10-31T21:39:47Z miql quit (Ping timeout: 255 seconds) 2014-10-31T21:41:16Z Nizumzen joined #lisp 2014-10-31T21:41:29Z francogrex joined #lisp 2014-10-31T21:43:48Z devon: Do you get this error (ql:quickload "sclf") ... Error: There is no package named "CLOS" . 2014-10-31T21:47:01Z Jesin quit (Quit: Leaving) 2014-10-31T21:47:21Z ltbarcly joined #lisp 2014-10-31T21:47:53Z spatials quit (Ping timeout: 255 seconds) 2014-10-31T21:49:42Z specbot joined #lisp 2014-10-31T21:49:42Z minion joined #lisp 2014-10-31T21:50:43Z francogrex quit (Ping timeout: 246 seconds) 2014-10-31T21:52:08Z jasom: no, but I do get an error when it tries to redefine +whitespace+ 2014-10-31T21:52:42Z jasom: someone naughty used defconstant on a list 2014-10-31T21:55:32Z ofosos quit (Ping timeout: 255 seconds) 2014-10-31T22:02:16Z miql joined #lisp 2014-10-31T22:03:47Z hardenedapple quit (Quit: WeeChat 1.0.1) 2014-10-31T22:04:28Z ndrei quit (Ping timeout: 255 seconds) 2014-10-31T22:04:32Z ovenpasta quit (Ping timeout: 256 seconds) 2014-10-31T22:05:29Z Bicyclidine quit (Ping timeout: 265 seconds) 2014-10-31T22:06:57Z miql quit (Ping timeout: 245 seconds) 2014-10-31T22:06:57Z Bicyclidine joined #lisp 2014-10-31T22:08:16Z xenophon` joined #lisp 2014-10-31T22:08:18Z Sgeo quit (Read error: Connection reset by peer) 2014-10-31T22:08:22Z mishoo quit (Ping timeout: 240 seconds) 2014-10-31T22:08:33Z jkaye_ joined #lisp 2014-10-31T22:09:35Z selat quit (Quit: Lost terminal) 2014-10-31T22:09:41Z Sgeo joined #lisp 2014-10-31T22:10:00Z jkaye quit (Ping timeout: 244 seconds) 2014-10-31T22:10:13Z xenophon quit (Ping timeout: 258 seconds) 2014-10-31T22:10:41Z ehu quit (Ping timeout: 264 seconds) 2014-10-31T22:11:44Z Xach: i should probably either drop those or request patches 2014-10-31T22:11:49Z ChanServ has set mode +o Xach 2014-10-31T22:11:52Z igor [~xach@pdpc/supporter/professional/xach] has been kicked from #lisp by Xach (spam) 2014-10-31T22:11:52Z igor joined #lisp 2014-10-31T22:15:17Z jkaye joined #lisp 2014-10-31T22:16:49Z jkaye_ quit (Ping timeout: 260 seconds) 2014-10-31T22:23:13Z minion quit (Ping timeout: 244 seconds) 2014-10-31T22:24:04Z specbot quit (Ping timeout: 272 seconds) 2014-10-31T22:25:45Z LoicLisp quit (Remote host closed the connection) 2014-10-31T22:26:53Z jkaye quit (Remote host closed the connection) 2014-10-31T22:28:41Z ack006 quit (Remote host closed the connection) 2014-10-31T22:29:04Z minion joined #lisp 2014-10-31T22:29:04Z specbot joined #lisp 2014-10-31T22:29:20Z miql joined #lisp 2014-10-31T22:34:04Z miql quit (Ping timeout: 244 seconds) 2014-10-31T22:34:47Z mhd_ joined #lisp 2014-10-31T22:39:05Z __prefect quit (Ping timeout: 256 seconds) 2014-10-31T22:40:14Z Bicyclidine quit (Ping timeout: 256 seconds) 2014-10-31T22:42:02Z Xach: dang it. 2014-10-31T22:42:08Z Bicyclidine joined #lisp 2014-10-31T22:42:18Z Xach has set mode -bbbb *!*@90.174.5.120 *!*fua@185.3.135.* *!~zxeuNHJgh@189.72.179.* *!*@123.208.71.143 2014-10-31T22:42:24Z Xach has set mode +b *!*igor@90.174.0.* 2014-10-31T22:42:28Z igor [~xach@pdpc/supporter/professional/xach] has been kicked from #lisp by Xach (spam) 2014-10-31T22:42:30Z Xach has set mode -o Xach 2014-10-31T22:42:57Z munksgaard quit (Ping timeout: 260 seconds) 2014-10-31T22:44:38Z dagnachew joined #lisp 2014-10-31T22:47:03Z bb010g quit (Quit: Connection closed for inactivity) 2014-10-31T22:47:14Z matko quit (Remote host closed the connection) 2014-10-31T22:49:55Z kcj joined #lisp 2014-10-31T22:50:14Z cpt_othello joined #lisp 2014-10-31T22:51:23Z cpt_othello: anyone mind working with me through an algorithm to remove the first character atom from a list? e.g ((a b) c d) -> ((b) c d)? 2014-10-31T22:52:06Z Grue`: great, I somehow managed to delete all untracked files from my git directory 2014-10-31T22:53:07Z prxq: cpt_othello: atom or character? 2014-10-31T22:53:09Z angavrilov quit (Remote host closed the connection) 2014-10-31T22:53:10Z ltbarcly quit (Quit: Computer has gone to sleep.) 2014-10-31T22:53:58Z cpt_othello: prxq, I want to say atom but didn't want to confuse it with a nested list being what would show up if i did something like (car L) 2014-10-31T22:55:52Z cpt_othello: The hw is restricting to solely using recursion isntead of looping. I can't even seem to think of a decent base case to end the recursion. 2014-10-31T22:56:32Z miql joined #lisp 2014-10-31T22:57:05Z cpt_othello: say I had the list ((a b) c d). I want a function that would output ((b) c d). As of now the only way i can think of gives me (c d) since I've starting the new list with (car(cdr L)) 2014-10-31T22:58:13Z Bicyclidine: (cons (rest (first list)) (rest list)) 2014-10-31T22:58:39Z Bicyclidine: or are you trying to do it with arbitrarily nested lists 2014-10-31T22:58:43Z Bicyclidine: homework problems are so bizarre 2014-10-31T22:58:53Z cpt_othello: arbitrarily nested lists 2014-10-31T22:59:00Z cpt_othello: I wish i could do just that :( 2014-10-31T22:59:47Z Bicyclidine: then you should have a function that checks the type of the first element of the list, and calls itself recursive if it is a list 2014-10-31T22:59:50Z Bicyclidine: recursively 2014-10-31T23:00:04Z cpt_othello: also restricted to only using: defun, cond, cons, car, cdr, null, eq, listp, atom, symbolp, +, -, 2014-10-31T23:00:05Z cpt_othello: <, and > and the logic operators. plus whatever helper functions I might think up 2014-10-31T23:00:35Z cpt_othello: oh, damn 2014-10-31T23:00:49Z cpt_othello: maybe hold on 2014-10-31T23:01:04Z Grue`: it's a trivial problem, 2 cases first element atom -> return cdr, first element list -> return (cons (your-function (first list)) (cdr list)) 2014-10-31T23:01:29Z miql quit (Ping timeout: 265 seconds) 2014-10-31T23:01:31Z pjb: cpt_othello: you have enough operators to rewrite Common Lisp. So the solution is: 1- implement a complete Common Lisp. 2- write the solution to your problem in Common Lisp. 2014-10-31T23:02:28Z cpt_othello: pjb, so just copy over all headers and use my own names for them. got it 2014-10-31T23:03:12Z nisstyre is now known as nisscream 2014-10-31T23:04:28Z prxq: cpt_othello: you could just try thinking, you know? 2014-10-31T23:04:29Z slyrus quit (Remote host closed the connection) 2014-10-31T23:04:43Z cpt_othello: proq, 2hard4me 2014-10-31T23:04:50Z Bicyclidine quit (Ping timeout: 255 seconds) 2014-10-31T23:06:01Z cpt_othello: had this thing since monday, only got 4/8 to work as intended >_> 2014-10-31T23:06:14Z pjb: cpt_othello: first ((a b) c d) -> ((b) c d) is not an example of removing the first atom of a list. 2014-10-31T23:06:22Z pjb: the first atom of ((a b) c d) is c, not a. 2014-10-31T23:06:49Z cpt_othello: Define the function 'rest-list' that takes a list L and returns a list that removes the first 2014-10-31T23:06:49Z cpt_othello: atom. Examples: 2014-10-31T23:06:51Z pjb: a is the left-most atom of the cons tree ((a b) c d) (considering car to be left and cdr right). 2014-10-31T23:06:56Z Grue`: what were the other problems, add 2 and 2? 2014-10-31T23:07:22Z cpt_othello: Grue, not quite. one involved solving the theory of relativity with respect to apples and oranges 2014-10-31T23:07:31Z prxq: cpt_othello: sit down in a quiet room and try to figure it out. It really is very simple. 2014-10-31T23:07:36Z pjb: cpt_othello: so you have to decide which you want to implement, correct the specifications, and write the solution. 2014-10-31T23:08:11Z Shinmera quit (Quit: しつれいしなければならないんです。) 2014-10-31T23:08:28Z prxq quit (Remote host closed the connection) 2014-10-31T23:08:43Z mrSpec quit (Remote host closed the connection) 2014-10-31T23:10:14Z EvW quit (Ping timeout: 244 seconds) 2014-10-31T23:10:57Z svetlyak40wt joined #lisp 2014-10-31T23:11:45Z Grue`: great, now sbcl is crashing for no reason. strange things are happening today 2014-10-31T23:13:02Z robot-beethoven joined #lisp 2014-10-31T23:13:26Z proq quit (Ping timeout: 264 seconds) 2014-10-31T23:15:11Z ltbarcly joined #lisp 2014-10-31T23:18:11Z baetheus quit 2014-10-31T23:19:09Z ack006 joined #lisp 2014-10-31T23:22:09Z ack006 quit (Remote host closed the connection) 2014-10-31T23:23:44Z miql joined #lisp 2014-10-31T23:24:41Z Ethan- joined #lisp 2014-10-31T23:25:44Z mikaelj quit (Ping timeout: 258 seconds) 2014-10-31T23:27:09Z Grue`: ok, managed to reproduce it (jsown:to-json* '(:obj ("type" . :test))) causes stack overflow, which crashes SBCL on Windows 2014-10-31T23:27:14Z Grue`: not my fault this time! 2014-10-31T23:28:33Z henesy joined #lisp 2014-10-31T23:28:40Z miql quit (Ping timeout: 260 seconds) 2014-10-31T23:29:29Z Bicyclidine joined #lisp 2014-10-31T23:30:15Z Jesin joined #lisp 2014-10-31T23:30:37Z k-stz quit (Remote host closed the connection) 2014-10-31T23:30:51Z wizzo joined #lisp 2014-10-31T23:36:29Z ivan4th quit (Ping timeout: 264 seconds) 2014-10-31T23:36:47Z wbooze joined #lisp 2014-10-31T23:37:27Z cpt_othello: is there a way to get a function to not return anything? 2014-10-31T23:37:49Z pjb: yes. 2014-10-31T23:38:09Z pjb: But it's not in your list. 2014-10-31T23:38:31Z fortitude quit (Quit: leaving) 2014-10-31T23:39:02Z cpt_othello: got it. is there a way to a cond evaluate as true but not return anything? 2014-10-31T23:39:17Z pjb: (values) return nothing. 2014-10-31T23:40:20Z numberten joined #lisp 2014-10-31T23:41:30Z attila_lendvai joined #lisp 2014-10-31T23:41:40Z numberten left #lisp 2014-10-31T23:43:19Z oleo is now known as Guest59845 2014-10-31T23:44:57Z Grue`: damn, apparently at (safety 0) (first :keyword) isn't even an error 2014-10-31T23:44:58Z oleo__ joined #lisp 2014-10-31T23:45:04Z wbooze quit (Ping timeout: 244 seconds) 2014-10-31T23:45:15Z pjb: Grue`: depends on the implementation. In clisp it is. 2014-10-31T23:45:37Z oleo__ is now known as oleo 2014-10-31T23:45:44Z pjb: clisp is the best implementation! 2014-10-31T23:46:19Z Jesin quit (Quit: Leaving) 2014-10-31T23:46:40Z Ryan_Burnside: Plus you get a fancy ascii art picture when it starts up. 2014-10-31T23:46:45Z wbooze joined #lisp 2014-10-31T23:46:46Z Ryan_Burnside: That has to give it cool points. 2014-10-31T23:47:02Z Guest59845 quit (Ping timeout: 264 seconds) 2014-10-31T23:47:03Z Grue`: I wonder if there's a way to override libraries' safety proclamations 2014-10-31T23:47:23Z pjb: Depends on the library. I did that for cl-ppcre. 2014-10-31T23:47:29Z Grue`: because this thing is a walking death trap 2014-10-31T23:48:09Z stepnem quit (Ping timeout: 245 seconds) 2014-10-31T23:48:35Z Jesin joined #lisp 2014-10-31T23:48:58Z pjb: Here is what I did: http://paste.lisp.org/+33AQ 2014-10-31T23:49:07Z loz quit (Ping timeout: 258 seconds) 2014-10-31T23:49:34Z Bicyclidine quit (Ping timeout: 272 seconds) 2014-10-31T23:49:59Z pjb: This works because the library get its optimize levels from a defvar variable. So you can pre-define it (notice that it only works on implementations that sane behavior for defpackage redefinitions. 2014-10-31T23:50:10Z mikaelj joined #lisp 2014-10-31T23:50:29Z pjb: Grue`: the fact is that it's a bitch, optimize should be forbidden from libraries. Just patch them! 2014-10-31T23:50:55Z miql joined #lisp 2014-10-31T23:51:07Z Ryan_Burnside: Perhaps there is a way to programmatically test all the links in cliki and mark the dead ones? There is a HUGE amount of decay stuck in there. 2014-10-31T23:51:45Z pjb: There is. 2014-10-31T23:52:20Z pjb: Also, this is a wiki: update the links! 2014-10-31T23:52:56Z ltbarcly quit (Quit: Computer has gone to sleep.) 2014-10-31T23:53:01Z LiamH joined #lisp 2014-10-31T23:53:45Z Panicky quit (Ping timeout: 265 seconds) 2014-10-31T23:55:30Z madmalik quit (Quit: Connection closed for inactivity) 2014-10-31T23:55:52Z miql quit (Ping timeout: 240 seconds) 2014-10-31T23:55:53Z ahungry quit (Ping timeout: 272 seconds) 2014-10-31T23:56:47Z urandom__ quit (Quit: Konversation terminated!) 2014-10-31T23:57:34Z jkaye joined #lisp