2015-01-17T00:00:19Z Beetny joined #lisp 2015-01-17T00:00:39Z vaporatorius quit (Remote host closed the connection) 2015-01-17T00:03:38Z pacon quit (Read error: Connection reset by peer) 2015-01-17T00:04:17Z playnu_com_ar_ joined #lisp 2015-01-17T00:05:50Z playnu_com_ar_: How can from a string generate a symbol in a macro 2015-01-17T00:06:24Z Shinmera: clhs find-symbol 2015-01-17T00:06:25Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_find_s.htm 2015-01-17T00:06:26Z Shinmera: clhs intern 2015-01-17T00:06:26Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_intern.htm 2015-01-17T00:07:40Z playnu_com_ar_: thanks! 2015-01-17T00:07:44Z playnu_com_ar_: exactly what i wanted 2015-01-17T00:07:54Z playnu_com_ar_ quit (Remote host closed the connection) 2015-01-17T00:09:45Z ehu quit (Ping timeout: 265 seconds) 2015-01-17T00:10:34Z rpg quit (Quit: rpg) 2015-01-17T00:12:44Z Bicyclidine quit (Ping timeout: 244 seconds) 2015-01-17T00:12:48Z hardenedapple quit (Quit: WeeChat 1.1) 2015-01-17T00:21:50Z slyrus quit (Ping timeout: 265 seconds) 2015-01-17T00:23:42Z stepnem quit (Ping timeout: 276 seconds) 2015-01-17T00:27:36Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-01-17T00:30:14Z BitPuffin quit (Ping timeout: 245 seconds) 2015-01-17T00:30:47Z xyh joined #lisp 2015-01-17T00:31:34Z xyh: how to get the sub 2 dimension array from a 3 dimension array ?? 2015-01-17T00:33:10Z doomlord_ joined #lisp 2015-01-17T00:33:37Z Xach: make-symbol is also handy. 2015-01-17T00:34:13Z Xach: hmm 2015-01-17T00:34:22Z Xach: i shoulda used copy-symbol when i used make-symbol most recently 2015-01-17T00:39:25Z enitiz quit (Ping timeout: 264 seconds) 2015-01-17T00:40:41Z pacon joined #lisp 2015-01-17T00:51:41Z jasom: Xach: why did you need the properties preserved? 2015-01-17T00:54:45Z doomlord_ quit (Read error: Connection reset by peer) 2015-01-17T00:55:54Z boogie quit (Remote host closed the connection) 2015-01-17T00:56:42Z pacon quit (Read error: Connection reset by peer) 2015-01-17T01:04:00Z Jirachier quit (Ping timeout: 276 seconds) 2015-01-17T01:04:18Z Jirachier joined #lisp 2015-01-17T01:05:39Z stardiviner quit (Quit: my website: https://stardiviner.github.io/) 2015-01-17T01:05:58Z manuel__ quit (Quit: manuel__) 2015-01-17T01:07:33Z isoraqathedh_l joined #lisp 2015-01-17T01:08:02Z isoraqathedh quit (Disconnected by services) 2015-01-17T01:08:05Z isoraqathedh_l is now known as isoraqathedh 2015-01-17T01:10:39Z kons quit (Ping timeout: 245 seconds) 2015-01-17T01:12:24Z CrazyM4n quit (Remote host closed the connection) 2015-01-17T01:14:49Z isoraqathedh_l joined #lisp 2015-01-17T01:15:15Z defaultxr joined #lisp 2015-01-17T01:16:33Z genii quit (Remote host closed the connection) 2015-01-17T01:18:18Z isoraqathedh quit (Ping timeout: 245 seconds) 2015-01-17T01:18:22Z karswell quit (Read error: Connection reset by peer) 2015-01-17T01:18:22Z attila_lendvai quit (Quit: Leaving.) 2015-01-17T01:18:45Z doomlord_ joined #lisp 2015-01-17T01:19:13Z karswell joined #lisp 2015-01-17T01:22:20Z RenRenJuan quit (Quit: Hibernate, etc.) 2015-01-17T01:22:47Z Vutral quit (Ping timeout: 245 seconds) 2015-01-17T01:36:50Z Vutral joined #lisp 2015-01-17T01:37:31Z Vutral quit (Changing host) 2015-01-17T01:37:32Z Vutral joined #lisp 2015-01-17T01:41:27Z quazimodo quit (Ping timeout: 264 seconds) 2015-01-17T01:44:25Z AntiSpamMeta quit (Read error: Connection reset by peer) 2015-01-17T01:44:49Z AntiSpamMeta joined #lisp 2015-01-17T01:46:34Z hoosieree joined #lisp 2015-01-17T01:48:28Z Vutral quit (Excess Flood) 2015-01-17T01:51:08Z enitiz joined #lisp 2015-01-17T01:54:45Z Fare quit (Quit: Leaving) 2015-01-17T01:56:41Z isoraqathedh joined #lisp 2015-01-17T01:59:22Z dkcl quit (Remote host closed the connection) 2015-01-17T01:59:52Z isoraqathedh_l quit (Ping timeout: 240 seconds) 2015-01-17T02:00:37Z admg quit (Quit: Laptop gone to sleep...) 2015-01-17T02:02:45Z hoosieree quit (Ping timeout: 272 seconds) 2015-01-17T02:04:52Z xyh: is there a way to set value of a array without using SETF ?? 2015-01-17T02:05:05Z hoosieree joined #lisp 2015-01-17T02:05:22Z Bike: fill or something. why? 2015-01-17T02:07:57Z xyh: FILL's arg must be a sequence. 2015-01-17T02:08:10Z Bike: what's wrong with setf, exactly? 2015-01-17T02:09:50Z Quadrescence: (map-into a (constantly CUSTOMIZABLE-VALUE) a) 2015-01-17T02:10:38Z xyh: Bike: for I only want to use macro when one of the arguments should not be evaled. 2015-01-17T02:11:03Z Bike: (setf (aref arr x) y) <-- the aref is not evaled 2015-01-17T02:11:29Z xyh: arr x y are all evaled 2015-01-17T02:11:46Z Bike: So? 2015-01-17T02:11:55Z Bike: The actual argument to setf isn't. 2015-01-17T02:12:01Z isoraqathedh_l joined #lisp 2015-01-17T02:12:03Z Quadrescence: xyh, show the before and after of what you want 2015-01-17T02:14:40Z cmack quit (Ping timeout: 244 seconds) 2015-01-17T02:15:17Z isoraqathedh quit (Ping timeout: 245 seconds) 2015-01-17T02:19:26Z nyef joined #lisp 2015-01-17T02:21:49Z nyef: Good evening, all. 2015-01-17T02:27:28Z xyh: Quadrescence: I am renaming common-lisp's functions to make them more regular 2015-01-17T02:27:29Z xyh: (more regular in my view) 2015-01-17T02:27:30Z zRecursive joined #lisp 2015-01-17T02:27:46Z Quadrescence: i see 2015-01-17T02:30:42Z joneshf-laptop joined #lisp 2015-01-17T02:32:23Z Xach: jasom: i did not. it's just terse. 2015-01-17T02:33:13Z Vutral joined #lisp 2015-01-17T02:36:36Z isoraqathedh joined #lisp 2015-01-17T02:40:27Z urandom__ quit (Quit: Konversation terminated!) 2015-01-17T02:40:51Z isoraqathedh_l quit (Ping timeout: 276 seconds) 2015-01-17T02:43:44Z eazar001 quit (Remote host closed the connection) 2015-01-17T02:45:10Z eazar001 joined #lisp 2015-01-17T02:55:59Z innertracks quit (Quit: innertracks) 2015-01-17T02:56:47Z MrWoohoo quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-01-17T02:59:01Z nowhere_man joined #lisp 2015-01-17T03:08:35Z nowhere_man quit (Ping timeout: 265 seconds) 2015-01-17T03:11:10Z theseb joined #lisp 2015-01-17T03:11:14Z kapil__ joined #lisp 2015-01-17T03:18:19Z xyh quit (Remote host closed the connection) 2015-01-17T03:29:36Z isoraqathedh_l joined #lisp 2015-01-17T03:33:10Z stardiviner joined #lisp 2015-01-17T03:33:18Z isoraqathedh quit (Ping timeout: 245 seconds) 2015-01-17T03:35:00Z keen__________35 joined #lisp 2015-01-17T03:36:07Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-01-17T03:37:28Z keen__________34 quit (Ping timeout: 245 seconds) 2015-01-17T03:41:27Z hoosieree quit (Ping timeout: 264 seconds) 2015-01-17T03:48:07Z isoraqathedh joined #lisp 2015-01-17T03:48:08Z bgs100 joined #lisp 2015-01-17T03:49:56Z manuel__ joined #lisp 2015-01-17T03:52:21Z isoraqathedh_l quit (Ping timeout: 276 seconds) 2015-01-17T04:00:44Z psy_ quit (Quit: Leaving) 2015-01-17T04:02:25Z isoraqathedh_l joined #lisp 2015-01-17T04:06:03Z psy_ joined #lisp 2015-01-17T04:06:35Z isoraqathedh quit (Ping timeout: 265 seconds) 2015-01-17T04:08:10Z hoosieree joined #lisp 2015-01-17T04:09:00Z nyef quit (Quit: G'night all) 2015-01-17T04:09:15Z Mon_Ouie quit (Ping timeout: 276 seconds) 2015-01-17T04:09:26Z beach joined #lisp 2015-01-17T04:09:34Z beach: Good morning everyone! 2015-01-17T04:10:17Z scymtym_ quit (Ping timeout: 245 seconds) 2015-01-17T04:11:10Z drmeister: Hello beach 2015-01-17T04:12:11Z innertracks joined #lisp 2015-01-17T04:13:30Z beach: drmeister: How is Clasp going? 2015-01-17T04:14:32Z zRecursive quit (Remote host closed the connection) 2015-01-17T04:15:15Z araujo quit (Ping timeout: 256 seconds) 2015-01-17T04:15:23Z drmeister: Well, I got quicklisp and slime working. Stassats installed it and got slime working but pointed out that on linux clasp is spending about 80% of its time in exception handling. I figured it was my GO special operators that were causing the problem so I figured out how to identify and convert local GO's (within a function) to simple jumps. 2015-01-17T04:15:43Z drmeister: I'm just compiling the new code on Linux to see if it improves performance on Linux. 2015-01-17T04:16:25Z beach: That would be great if you could get a significant improvement by such a small change. 2015-01-17T04:16:37Z drmeister: I've also been fixing bugs and improving stability because I have a few more users now. 2015-01-17T04:17:28Z drmeister: Yeah. Linux is at least 4 times slower than OS X - my guess is that it's exception handling that is causing the problem. Testing now. 2015-01-17T04:17:53Z beach: Why were you using exceptions for local GOs? 2015-01-17T04:17:59Z drmeister: Cleavir is still my main goal - but there have been lots of distractions. 2015-01-17T04:18:12Z beach: No problem for me. 2015-01-17T04:18:59Z drmeister: Well I needed exceptions for non-local GOs to work in a C++ compatible way and profiling on OS X didn't indicate that it was a big problem. So I didn't worry about it. 2015-01-17T04:19:17Z beach: I see. 2015-01-17T04:19:37Z quazimodo joined #lisp 2015-01-17T04:20:04Z ruste quit (Quit: Leaving) 2015-01-17T04:21:19Z Denommus joined #lisp 2015-01-17T04:21:29Z flash- quit (Ping timeout: 245 seconds) 2015-01-17T04:22:27Z zacharias_ joined #lisp 2015-01-17T04:25:33Z drmeister: On OS X profiling shows that the 4.3% of the time is being spent in _dynamic_cast. That's the biggest single user of time - then there is a loooong tail. There is nothing really I can point to and say - that's the bottleneck. 2015-01-17T04:25:37Z zacharias quit (Ping timeout: 264 seconds) 2015-01-17T04:26:16Z beach: Not a great situation if you need to improve the performance. 2015-01-17T04:32:35Z Denommus quit (Read error: Connection reset by peer) 2015-01-17T04:33:07Z Denommus joined #lisp 2015-01-17T04:34:11Z moei quit (Read error: Connection reset by peer) 2015-01-17T04:34:46Z moei joined #lisp 2015-01-17T04:35:40Z beach: drmeister: I am giving HIR a good spin. It seems to have compiled the methods of ENSURE-GENERIC-FUNCTION-USING-CLASS without a problem. 2015-01-17T04:36:39Z beach: drmeister: The other day when I compiled the expansion of the SICL LOOP macro, I found a bug where it could not handle a PROGN without arguments, but that's all I have found for more than a week. 2015-01-17T04:37:25Z elimik31 joined #lisp 2015-01-17T04:37:49Z vdamewood joined #lisp 2015-01-17T04:38:23Z hoosieree quit (Ping timeout: 240 seconds) 2015-01-17T04:38:32Z jasom: drmeister: I'm surprised linux is so much slower due to exception handling; isn't it built with the same version of clang either way? Or is exception handling tied to the c++ standard library? 2015-01-17T04:38:45Z Denommus quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-17T04:40:16Z nicdev`` is now known as nicdev 2015-01-17T04:43:41Z jlongster quit (Ping timeout: 252 seconds) 2015-01-17T04:50:33Z nikki93 joined #lisp 2015-01-17T04:50:59Z nikki93 quit (Remote host closed the connection) 2015-01-17T04:53:01Z Ethan- joined #lisp 2015-01-17T04:56:43Z isoraqathedh joined #lisp 2015-01-17T04:58:29Z drmeister: The code that handles exception handling is different on Linux and OS X. There is a known problem with exception handling on Linux. 2015-01-17T05:00:16Z isoraqathedh_l quit (Ping timeout: 255 seconds) 2015-01-17T05:00:47Z drmeister: beach: Excellent news on LOOP. Would it be stand alone enough to run in Clasp? 2015-01-17T05:01:11Z edgar-rft joined #lisp 2015-01-17T05:01:24Z beach: drmeister: Yes, I consider it finished, because it passes all the tests. Better error reporting would be nice, though. 2015-01-17T05:02:32Z beach: drmeister: What implementation of LOOP does Clasp use? 2015-01-17T05:03:13Z drmeister: It's got a copyright from MIT 2015-01-17T05:03:30Z beach: OK. Same as SBCL probably then. 2015-01-17T05:03:34Z drmeister: jasom: I can't find the GCC issue on the exception handling bug at the moment. 2015-01-17T05:03:35Z moei quit (Read error: Connection reset by peer) 2015-01-17T05:03:41Z drmeister: for linux 2015-01-17T05:04:09Z moei joined #lisp 2015-01-17T05:05:43Z Petit_Dejeuner quit (Read error: Connection reset by peer) 2015-01-17T05:06:25Z stardiviner quit (Quit: Weird in coding now, or make love, only two things push me away from IRC.) 2015-01-17T05:06:36Z isoraqathedh_l joined #lisp 2015-01-17T05:06:44Z stardiviner joined #lisp 2015-01-17T05:07:07Z yaewa joined #lisp 2015-01-17T05:07:50Z stardiviner quit (Client Quit) 2015-01-17T05:08:24Z drmeister: Well, that's nice. Not great - but nice. 2015-01-17T05:08:37Z moei quit (Ping timeout: 245 seconds) 2015-01-17T05:08:45Z drmeister: Now on linux exception handling is only taking 40% of the time rather than 80-90% of the time. 2015-01-17T05:09:02Z drmeister: It's peppier now as well. 2015-01-17T05:09:19Z beach: What is using exception handling now? 2015-01-17T05:09:36Z jasom: drmeister: I thought clasp was built with clang, not gcc? 2015-01-17T05:09:48Z drmeister: GO to tags in different functions. RETURN-FROM, THROW 2015-01-17T05:09:55Z yaewa quit (Read error: Connection reset by peer) 2015-01-17T05:10:03Z drmeister: jasom: It still uses the GCC libraries. 2015-01-17T05:10:04Z beach: drmeister: There aren't very many of those. 2015-01-17T05:10:08Z isoraqathedh quit (Ping timeout: 246 seconds) 2015-01-17T05:10:11Z jasom: ah, so it is a stdlib issue 2015-01-17T05:10:23Z drmeister: It's Unwind_Find_FDE in libgcc_s.so 2015-01-17T05:10:29Z moei joined #lisp 2015-01-17T05:11:14Z jasom: there are so many tradeoffs in implementing C++ exceptions 2015-01-17T05:11:29Z beach: drmeister: It doesn't look right that there would be so many non-local GOs RETURN-FROMs and THROWs that it would take up 40% of the time. 2015-01-17T05:11:50Z jasom: a lot of times real-world code is faster if you optimize for smaller code versus faster exceptions, since you always pay for larger code, but only pay for slow exceptions if you take an exception 2015-01-17T05:12:35Z drmeister: beach: There is a known bug in Unwind_Find_FDE - I also expected a bigger payoff - I will have to investigate further. I'm kind of stuck using C++ exceptions for non-local exits. 2015-01-17T05:12:55Z moei quit (Read error: Connection reset by peer) 2015-01-17T05:13:04Z drmeister: jasom: I'd like to talk with you more about that. 2015-01-17T05:13:16Z drmeister: I need to get to bed. I've been up too late too many nights. 2015-01-17T05:13:18Z beach: drmeister: Sure, I am just saying that there shouldn't be very many of those. 2015-01-17T05:13:28Z moei joined #lisp 2015-01-17T05:13:44Z drmeister: I agree. I'm just looking at the profiling - I don't know where that 40% of time is going. 2015-01-17T05:13:57Z stardiviner joined #lisp 2015-01-17T05:13:57Z drmeister: https://www.irccloud.com/pastebin/KreRiLgC 2015-01-17T05:14:00Z jasom: if every return and return-from generates an exception, that could be it 2015-01-17T05:14:23Z drmeister: That's compiling the Clasp common lisp code. 2015-01-17T05:14:32Z beach: Most of them are local though. 2015-01-17T05:14:54Z elimik31 quit (Ping timeout: 276 seconds) 2015-01-17T05:15:15Z drmeister: I don't optimize local RETURN-FROM yet. I'll do that next. Now that I see a boost from optimizing local GO I am emboldened. 2015-01-17T05:15:55Z drmeister: I better get to bed. Goodnight folks 2015-01-17T05:16:02Z beach: 'night drmeister. 2015-01-17T05:16:35Z drmeister: jasom: I just found the bug report for the bug that I think I'm stressing. 2015-01-17T05:16:36Z Petit_Dejeuner joined #lisp 2015-01-17T05:16:36Z drmeister: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56460 2015-01-17T05:18:09Z stardiviner quit (Client Quit) 2015-01-17T05:20:05Z stardiviner joined #lisp 2015-01-17T05:20:06Z pacon joined #lisp 2015-01-17T05:20:50Z jlongster joined #lisp 2015-01-17T05:21:35Z kapil__ quit (Quit: Connection closed for inactivity) 2015-01-17T05:24:18Z nell quit (Quit: WeeChat 1.2-dev) 2015-01-17T05:24:21Z vlnx quit (Remote host closed the connection) 2015-01-17T05:24:52Z jlongster quit (Ping timeout: 240 seconds) 2015-01-17T05:25:51Z ndrei joined #lisp 2015-01-17T05:27:45Z jgrant: Does SBCL have some circular dependency thing, or something? 2015-01-17T05:29:35Z |3b|: sbcl needs a CL compiler to compile, if that's what you mean (sbcl is the most tested option for that, though they try to keep it working on others) 2015-01-17T05:29:51Z Petit_Dejeuner quit (Ping timeout: 272 seconds) 2015-01-17T05:31:03Z gabriel_laddel joined #lisp 2015-01-17T05:31:59Z echo-area joined #lisp 2015-01-17T05:32:36Z vlnx joined #lisp 2015-01-17T05:34:18Z bgs100 quit (Quit: bgs100) 2015-01-17T05:35:24Z gabriel_laddel quit (Remote host closed the connection) 2015-01-17T05:38:29Z jgrant is trying to figure out what would be the easiest decently tested CL implementation to package for Guix would be. Namely, to run Stumpwm. 2015-01-17T05:38:40Z jgrant: This seems like Clisp might be a better way to go. 2015-01-17T05:39:03Z |3b|: clisp or ecl just need a C compiler as far as i know, not sure how either does with stumpwm 2015-01-17T05:39:16Z Bike: there's a #stumpwm. i think clisp but not ecl can run stump. 2015-01-17T05:39:22Z stardiviner quit (Quit: Weird in coding now, or make love, only two things push me away from IRC.) 2015-01-17T05:39:57Z jgrant: Bike: I know historically Clisp has been used with Stumpwm, haven't ever tried it though. 2015-01-17T05:40:34Z Bike: don't know why a package system couldn't handle sbcl, presumably it has gcc in it 2015-01-17T05:41:03Z Bike: the package system does, i mean 2015-01-17T05:41:35Z jgrant: Bike: I'm sure Guix can, it's just having to package another CL implementation to get to SBCL ... for the short term, I don't care enough. 2015-01-17T05:42:00Z jgrant: Yeah, the only CL implementation Guix currently has is "gcl". 2015-01-17T05:42:18Z stardiviner joined #lisp 2015-01-17T05:42:21Z Bike: no, i mean, presumably gcc depends on itself for build and nobody cares 2015-01-17T05:42:30Z jgrant: Bike: Ah. 2015-01-17T05:43:21Z jgrant: I don't "care" per say about it either way for SBCL, sans it being more work ultimately for me that I don't think it's probably worth to bugger with SBCL over Clisp. 2015-01-17T05:44:07Z qiemem quit (Quit: Connection closed for inactivity) 2015-01-17T05:44:45Z jgrant: Yeah, the only depend it looks like is ffcall for Clisp. 2015-01-17T05:44:59Z Bike: sounds right. 2015-01-17T05:45:26Z jgrant: Well, I meant that I need to package. 2015-01-17T05:45:44Z jgrant: It also has libsigsegv and readline, but Guix has both of them already. 2015-01-17T05:46:05Z pranavrc joined #lisp 2015-01-17T05:46:05Z pranavrc quit (Changing host) 2015-01-17T05:46:05Z pranavrc joined #lisp 2015-01-17T05:48:57Z enitiz quit (Ping timeout: 252 seconds) 2015-01-17T06:01:04Z jbkcc joined #lisp 2015-01-17T06:08:12Z capcar quit (Ping timeout: 276 seconds) 2015-01-17T06:08:29Z innertracks quit (Quit: innertracks) 2015-01-17T06:15:06Z doomlord_ quit (Read error: Connection reset by peer) 2015-01-17T06:19:40Z jasom: jgrant: there are sbcl binaries you can use to bootstrap an sbcl build anyway 2015-01-17T06:20:28Z jgrant: jasom: I mean, yeah, I suppose. I guess it's mostly irrelevant assuming I get Clisp packaged... which makes sense, since it's a GNU project and so is Guix. 2015-01-17T06:20:31Z jgrant: :^P 2015-01-17T06:20:40Z akkad: which PG books are to be avoided for new CL devs/ 2015-01-17T06:20:43Z jgrant is currently working on libffcall nowanways. 2015-01-17T06:20:51Z jgrant: now anyways* 2015-01-17T06:20:54Z jasom: jgrant: does guix build from source? 2015-01-17T06:21:07Z jasom: b/c you could also just ship a stumpwm binary 2015-01-17T06:21:09Z jgrant: jasom: You can specify, by default it does though yeah. 2015-01-17T06:21:09Z mearnsh quit (Ping timeout: 272 seconds) 2015-01-17T06:21:56Z jgrant: I'm probably going to have a stumpwm-base, stumpwm-contrib, and just stumpwm. "Stumpwm" would just act as a metapackage for both of these. 2015-01-17T06:22:35Z jgrant: jasom: There's some system implemented in Guix, that you can build from Nix ... haven't played with it yet, but still not worth it in the long run. 2015-01-17T06:22:48Z moei quit (Read error: Connection reset by peer) 2015-01-17T06:23:00Z mearnsh joined #lisp 2015-01-17T06:23:18Z moei joined #lisp 2015-01-17T06:27:03Z manuel__ quit (Ping timeout: 264 seconds) 2015-01-17T06:29:13Z manuel__ joined #lisp 2015-01-17T06:30:16Z theseb quit (Ping timeout: 255 seconds) 2015-01-17T06:32:35Z manuel___ joined #lisp 2015-01-17T06:34:00Z manuel__ quit (Ping timeout: 265 seconds) 2015-01-17T06:35:04Z Jirachier quit (Ping timeout: 244 seconds) 2015-01-17T06:35:47Z Jirachier joined #lisp 2015-01-17T06:36:57Z pranavrc quit (Remote host closed the connection) 2015-01-17T06:37:08Z pranavrc joined #lisp 2015-01-17T06:37:08Z pranavrc quit (Changing host) 2015-01-17T06:37:08Z pranavrc joined #lisp 2015-01-17T06:40:28Z jbkcc quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-17T06:43:52Z nikki93 joined #lisp 2015-01-17T06:44:29Z nikki93 quit (Remote host closed the connection) 2015-01-17T06:47:39Z zRecursive joined #lisp 2015-01-17T06:50:38Z Karl_Dscc joined #lisp 2015-01-17T06:58:52Z ggole joined #lisp 2015-01-17T07:01:07Z pacon quit (Read error: Connection reset by peer) 2015-01-17T07:06:41Z eatyourguitar joined #lisp 2015-01-17T07:08:19Z kapil__ joined #lisp 2015-01-17T07:08:56Z manuel___ quit (Quit: manuel___) 2015-01-17T07:23:57Z vaporatorius joined #lisp 2015-01-17T07:30:11Z quazimodo quit (Remote host closed the connection) 2015-01-17T07:30:15Z zadock joined #lisp 2015-01-17T07:31:26Z zRecursive quit (Remote host closed the connection) 2015-01-17T07:32:24Z gingerale joined #lisp 2015-01-17T07:36:29Z munksgaard joined #lisp 2015-01-17T07:36:52Z Digerati2 joined #lisp 2015-01-17T07:37:06Z Digerati2 left #lisp 2015-01-17T07:38:48Z flip214: doing (asdf:operate 'asdf:load-op #P"....") seems to crash SBCL ... no REPL answer, only "INFO: Control stack guard page unprotected" 2015-01-17T07:43:00Z quazimodo joined #lisp 2015-01-17T07:44:14Z eatyourguitar quit (Quit: Leaving) 2015-01-17T07:54:22Z beach: It probably shouldn't crash, but I don't think passing a pathname to ASDF:OPERATE is a possibility. 2015-01-17T08:02:32Z zolk3ri joined #lisp 2015-01-17T08:04:42Z Karl_Dscc quit (Remote host closed the connection) 2015-01-17T08:07:35Z |3b|: looks like an asdf bug, (asdf:find-component nil x) where X is something it doesn't understand (like a path or number) returns X, which it interprets as having found a valid component and continues trying to load, which just goes back to same method since it doesn't have a more specific method for that type 2015-01-17T08:07:46Z zolk3ri left #lisp 2015-01-17T08:08:50Z oleo is now known as Guest17441 2015-01-17T08:09:11Z |3b| gets an error from sbcl in terminal though 2015-01-17T08:10:34Z oleo__ joined #lisp 2015-01-17T08:11:15Z ecraven: |3b|: I get the same error, but on trying to abort, I get what flip214 said 2015-01-17T08:11:33Z Guest17441 quit (Ping timeout: 256 seconds) 2015-01-17T08:12:10Z |3b|: so 2 problems, asdf gets confused, and sbcl sometimes doesn't handle stack overflow as well as one might hope 2015-01-17T08:12:23Z |3b| wonders if the asdf problem is that someone didn't think about NIL being a symbol 2015-01-17T08:12:43Z |3b|: no, i guess it checks it 2015-01-17T08:12:46Z gingerale: Hmm.. Is there a library for poking the bios for things like CPU temperature? Can't find anything on CLiki 2015-01-17T08:12:57Z |3b| isn't sure what it is trying to do 2015-01-17T08:13:17Z |3b|: gingerale: probably better to go through OS, in which case it is hopefully just a file read or FFI call 2015-01-17T08:13:32Z gingerale: Yeah, probably. Just wondering. 2015-01-17T08:13:38Z |3b|: haven't heard of any library for either method though 2015-01-17T08:14:02Z ecraven: gingerale: is there a bios call for temperature? I'd guess that's more of an acpi thing (on linux at least) 2015-01-17T08:14:05Z b3taf1sh joined #lisp 2015-01-17T08:14:07Z b3taf1sh quit (Client Quit) 2015-01-17T08:14:43Z jgrant: So, now that I took a step away ... yeah, bootstrapping from a binary of SBCL might be easier than fudging with Clisp. 2015-01-17T08:14:45Z gingerale: Well the way I understand is that BIOS provides the information to the OS through which you usually get the information. 2015-01-17T08:15:25Z ecraven: gingerale: I don't think that is true any longer. it used to be this way years ago, but now I think everything is handled directly by the OS (under 64 bit at least) 2015-01-17T08:15:37Z ecraven: but I might be totally wrong about this :) 2015-01-17T08:15:43Z gingerale: Ahhh, okay 2015-01-17T08:16:00Z |3b| 's understanding is that os (or user space programs) just look for ramdom known devices on various busses to figure out temperatures :/ 2015-01-17T08:16:17Z |3b|: nothing as nice as a well defined bios call 2015-01-17T08:16:38Z ecraven: gingerale: http://wiki.osdev.org/ACPI 2015-01-17T08:17:19Z Zhivago: bios calls are nice? 2015-01-17T08:17:44Z |3b|: "as nice as", so relative not absolute 2015-01-17T08:18:49Z gingerale: Could be worthwhile making something someday for checking core temperatures and load and other information. I'll add that to my ever growing backlog of things. 2015-01-17T08:19:04Z Zhivago: I think I'd want a device abstraction over those. :) 2015-01-17T08:19:12Z theos quit (Disconnected by services) 2015-01-17T08:19:20Z |3b| would probably bind lm-sensors 2015-01-17T08:19:41Z theos joined #lisp 2015-01-17T08:19:42Z zadock quit (Quit: Leaving) 2015-01-17T08:20:13Z |3b|: for linux at least, not sure if there is something comparable for windows (osx might actually have an API for it, no idea) 2015-01-17T08:20:48Z jlongster joined #lisp 2015-01-17T08:21:19Z flash- joined #lisp 2015-01-17T08:22:27Z ehu joined #lisp 2015-01-17T08:25:31Z munksgaard quit (Ping timeout: 252 seconds) 2015-01-17T08:26:00Z jlongster quit (Ping timeout: 276 seconds) 2015-01-17T08:28:22Z dfox quit (Ping timeout: 240 seconds) 2015-01-17T08:32:36Z gravicappa joined #lisp 2015-01-17T08:41:41Z dfox joined #lisp 2015-01-17T08:43:01Z zacharias_ quit (Ping timeout: 255 seconds) 2015-01-17T08:43:16Z arenz joined #lisp 2015-01-17T08:43:23Z vinleod joined #lisp 2015-01-17T08:43:28Z arnaudga joined #lisp 2015-01-17T08:44:37Z mishoo joined #lisp 2015-01-17T08:45:25Z Shinmera joined #lisp 2015-01-17T08:45:39Z vdamewood quit (Ping timeout: 264 seconds) 2015-01-17T08:46:38Z vinleod is now known as vdamewood 2015-01-17T08:49:34Z Shinmera: Good morning, #lisp 2015-01-17T08:49:59Z ecraven: morning :) 2015-01-17T08:51:20Z stardiviner quit (Ping timeout: 246 seconds) 2015-01-17T08:51:45Z rtra quit (Ping timeout: 265 seconds) 2015-01-17T08:53:18Z arnaudga quit (Ping timeout: 276 seconds) 2015-01-17T08:56:41Z isoraqathedh joined #lisp 2015-01-17T08:56:50Z rtra joined #lisp 2015-01-17T08:59:09Z Karl_Dscc joined #lisp 2015-01-17T09:01:04Z isoraqathedh_l_ joined #lisp 2015-01-17T09:01:06Z isoraqathedh_l quit (Ping timeout: 276 seconds) 2015-01-17T09:04:49Z isoraqathedh quit (Ping timeout: 256 seconds) 2015-01-17T09:05:45Z stardiviner joined #lisp 2015-01-17T09:08:02Z nowhere_man joined #lisp 2015-01-17T09:09:53Z beach: Hello Shinmera. 2015-01-17T09:13:52Z jbkcc joined #lisp 2015-01-17T09:17:41Z zadock joined #lisp 2015-01-17T09:19:53Z Mon_Ouie joined #lisp 2015-01-17T09:19:53Z Mon_Ouie quit (Changing host) 2015-01-17T09:19:53Z Mon_Ouie joined #lisp 2015-01-17T09:20:48Z jlongster joined #lisp 2015-01-17T09:22:46Z arnaudga joined #lisp 2015-01-17T09:23:28Z MrWoohoo joined #lisp 2015-01-17T09:25:15Z jlongster quit (Ping timeout: 264 seconds) 2015-01-17T09:27:42Z scymtym_ joined #lisp 2015-01-17T09:31:53Z axion quit (Ping timeout: 252 seconds) 2015-01-17T09:36:51Z arnaudga quit (Ping timeout: 276 seconds) 2015-01-17T09:39:09Z beach: What condition is most appropriate to signal when the arguments to a function do not correspond to the lambda list of that function? 2015-01-17T09:40:17Z Shinmera: There's a few different ways in which the lambda-lists can not match up, so I'd have different sub-conditions for each. 2015-01-17T09:40:37Z gingerale quit (Ping timeout: 255 seconds) 2015-01-17T09:41:20Z beach: Yes, I agree. I just wanted to know whether there is a Common Lisp standard condition (other than ERROR) that could be the root class of those. 2015-01-17T09:42:51Z beach: I am guessing ERROR is it. I just want to be sure. 2015-01-17T09:42:58Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-01-17T09:43:42Z pacon joined #lisp 2015-01-17T09:43:52Z Shinmera: For invalid number of arguments SBCL signals SIMPLE-PROGRAM-ERROR, a combination of SIMPLE-CONDITION and PROGRAM-ERROR. 2015-01-17T09:44:11Z beach: Yeah, I noticed. PROGRAM-ERROR is wrong though. 2015-01-17T09:44:33Z beach: It has to do with program SYNTAX. Not with runtime errors. 2015-01-17T09:44:45Z pjb: beach: you may consult http://www.lispworks.com/documentation/HyperSpec/Body/03_ea.htm in general, it's a PROGRAM-ERROR that is specified. 2015-01-17T09:45:03Z pjb: Of course, you can use a subclass of program-error. 2015-01-17T09:45:04Z Shinmera: Ah, well, there you go. 2015-01-17T09:45:41Z beach: Hmm. That contradicts the page on PROGRAM-ERROR. But yeah, OK. Thanks pjb. 2015-01-17T09:45:59Z pjb: Yes :-) 2015-01-17T09:46:13Z pjb: notice that there are case where the compiler can detect and signal those errors. 2015-01-17T09:46:19Z beach: Sure. 2015-01-17T09:46:25Z pjb: See http://www.lispworks.com/documentation/HyperSpec/Body/03_eaaa.htm 2015-01-17T09:46:35Z beach: I guess the page on PROGRAM-ERROR should be clarified in Common Lisp version 2. 2015-01-17T09:46:47Z pjb: Notably: function calls that may be inlined, can be checked at compilation time. 2015-01-17T09:47:31Z beach: Yeah, and also the ones in the same compilation unit, in an implementation that chooses to do so. 2015-01-17T09:47:43Z pjb: Compiling: (with-compilation-unit (defun f (x) x) (f 2 2)) -> program-error because f can be inlined and therefore the compiler can generate the error and consider it a syntax error. 2015-01-17T09:47:52Z stardiviner quit (Ping timeout: 240 seconds) 2015-01-17T09:48:02Z beach: Indeed. 2015-01-17T09:48:28Z novemberist quit (Remote host closed the connection) 2015-01-17T09:49:01Z pjb: It could be a nice feature to issue notes about functions that are inlinable (theorically and practically) when compiling a unit. 2015-01-17T09:49:49Z beach: Sure, why not. It will take me another few months before I'll work on that aspect of SICL, though. 2015-01-17T09:50:39Z nowhere_man quit (Ping timeout: 245 seconds) 2015-01-17T09:50:43Z beach: Another nice feature would be no muffle all those notes and compilation messages. 2015-01-17T09:50:51Z pjb: Of course :-) 2015-01-17T09:50:57Z beach: Warnings often drown in the noise. 2015-01-17T09:51:26Z pjb: compile-file could take additionnal key arguments to activate those features. 2015-01-17T09:52:06Z zacharias joined #lisp 2015-01-17T09:52:55Z beach: That doesn't seem to be allowed, though. It would have to be special variables then. 2015-01-17T09:53:51Z beach: I guess one could provide an implementation-specific COMPILE-FILE variant. 2015-01-17T09:54:25Z pjb: sicl-toolbox:compile-and-comment-file :-) 2015-01-17T09:54:36Z beach: Yes. :) 2015-01-17T09:55:02Z jtza8 joined #lisp 2015-01-17T09:55:14Z beach: I still remember the first time I used SBCL, though. Having become used to Unix tools for some time before that, I was shocked by the verbosity of the compiler. 2015-01-17T09:56:13Z beach: To me, such verbosity is justified only when there are no better tools available to determine the reason for compilation errors. 2015-01-17T09:56:31Z beach: But it seems to me that such tools are now available. 2015-01-17T09:59:06Z axion joined #lisp 2015-01-17T10:00:47Z beach: Since we are on this subject, it would be nice if trace outputs were presentations in SLIME. 2015-01-17T10:01:00Z kcj quit (Read error: Connection reset by peer) 2015-01-17T10:01:19Z beach: Now, the text is just sitting there with something like #, and it can't be inspected. 2015-01-17T10:01:41Z quazimodo quit (Ping timeout: 246 seconds) 2015-01-17T10:01:47Z stardiviner joined #lisp 2015-01-17T10:04:10Z Davidbrcz joined #lisp 2015-01-17T10:10:28Z defaultxr quit (Quit: gnight) 2015-01-17T10:13:39Z guicho joined #lisp 2015-01-17T10:15:04Z `micro_ is now known as micro 2015-01-17T10:15:26Z Oberon4278 joined #lisp 2015-01-17T10:18:47Z jbkcc quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-17T10:21:41Z antonv joined #lisp 2015-01-17T10:21:48Z stepnem joined #lisp 2015-01-17T10:22:11Z zadock quit (Quit: Leaving) 2015-01-17T10:28:23Z ehu_ joined #lisp 2015-01-17T10:30:52Z ehu quit (Ping timeout: 240 seconds) 2015-01-17T10:30:53Z DeadTrickster quit (Read error: Connection reset by peer) 2015-01-17T10:31:11Z jtza8 quit (Ping timeout: 244 seconds) 2015-01-17T10:31:16Z zadock joined #lisp 2015-01-17T10:34:25Z zadock quit (Remote host closed the connection) 2015-01-17T10:38:12Z zadock joined #lisp 2015-01-17T10:43:52Z loke_ quit (Remote host closed the connection) 2015-01-17T10:53:28Z pranavrc quit 2015-01-17T10:53:57Z urandom__ joined #lisp 2015-01-17T10:55:29Z arenz quit (Ping timeout: 252 seconds) 2015-01-17T10:57:05Z novemberist joined #lisp 2015-01-17T10:59:41Z novemberist: hello. how can i non-destructively put an element of a list to the beginning of a list? 2015-01-17T10:59:52Z novemberist: the same list that is 2015-01-17T11:00:39Z beach: novemberist: (cons element list) 2015-01-17T11:00:46Z beach: clhs cons 2015-01-17T11:00:46Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/a_cons.htm 2015-01-17T11:02:37Z ggole: novemberist: do you want to remove it from the rest of the list (eg, move it to the front)? 2015-01-17T11:03:36Z novemberist: i want to be able to e.g. turn '(a b c) into '(b a c) 2015-01-17T11:03:54Z beach: novemberist: How do you identify what element you want to move? 2015-01-17T11:04:04Z ggole: (cons elt (remove elt seq :count 1)), maybe 2015-01-17T11:04:05Z beach: By position? by identity? 2015-01-17T11:04:26Z novemberist: identity 2015-01-17T11:04:38Z beach: What if there are several elements with that identity? 2015-01-17T11:05:12Z novemberist: that's what i was going to think about later 2015-01-17T11:05:28Z novemberist: for my simple example, let's assume that won't ever be the case 2015-01-17T11:05:29Z beach: novemberist: What ggole said, then. 2015-01-17T11:05:48Z beach: ... and you don't need the :COUNT 1 then. 2015-01-17T11:05:55Z novemberist: thanks 2015-01-17T11:07:42Z beach: Anytime. 2015-01-17T11:08:26Z ggole: The :count 1 might do a bit of beneficial short-circuiting 2015-01-17T11:08:34Z beach: Right. 2015-01-17T11:08:47Z beach: novemberist: Are your lists going to have many elements? 2015-01-17T11:08:54Z isoraqathedh joined #lisp 2015-01-17T11:09:12Z novemberist: well, actually it would be more usefull is there was a way to remove an element from a list, only where it first appears. would that be possible? e.g. (remove-first '3 '(3 3 3)) would become (3 3) ... 2015-01-17T11:09:14Z salv02 joined #lisp 2015-01-17T11:09:35Z beach: That's what the :count 1 is about. 2015-01-17T11:10:27Z novemberist: okay, than i would actually only need the remove bit without consing anything 2015-01-17T11:10:30Z novemberist: thank you 2015-01-17T11:13:03Z isoraqathedh_l_ quit (Ping timeout: 276 seconds) 2015-01-17T11:13:59Z admg joined #lisp 2015-01-17T11:18:01Z pocket joined #lisp 2015-01-17T11:23:03Z hardenedapple joined #lisp 2015-01-17T11:24:26Z ehu_ quit (Ping timeout: 264 seconds) 2015-01-17T11:24:49Z mishoo quit (Ping timeout: 245 seconds) 2015-01-17T11:27:26Z Davidbrcz quit (Ping timeout: 264 seconds) 2015-01-17T11:28:34Z pocket quit (Remote host closed the connection) 2015-01-17T11:33:38Z arnaudga joined #lisp 2015-01-17T11:36:23Z yenda quit (Ping timeout: 240 seconds) 2015-01-17T11:36:31Z novemberist: i can't seem to wrap my head around what i'm trying to achieve :( 2015-01-17T11:38:14Z Shinmera: Usually not a good sign. 2015-01-17T11:39:43Z Longlius quit (Ping timeout: 272 seconds) 2015-01-17T11:41:09Z copycat joined #lisp 2015-01-17T11:41:15Z novemberist: true, but it's good practice i hope 2015-01-17T11:41:45Z Ven joined #lisp 2015-01-17T11:42:22Z Ragnaroek quit (Ping timeout: 265 seconds) 2015-01-17T11:42:37Z Ragnaroek joined #lisp 2015-01-17T11:43:23Z Ven quit (Client Quit) 2015-01-17T11:43:54Z novemberist: as a first step, i want to calculate the results of all possible operations that can be performed given 3 numbers (die rolls) and the 4 operators + - / * 2015-01-17T11:44:20Z keen__________35 quit (Read error: Connection reset by peer) 2015-01-17T11:44:20Z novemberist: i could write every function seperately, but that would be tedious 2015-01-17T11:45:05Z jtza8 joined #lisp 2015-01-17T11:45:06Z novemberist: but i can't think of a good pattern to abstract this 2015-01-17T11:45:10Z Shinmera: I can see an easy way to do that, but I don't know if I should tell you or let you figure it out on your own. 2015-01-17T11:45:36Z novemberist: just tell me. it's killing me ;) 2015-01-17T11:46:02Z Shinmera: Well, first I'd need to know whether you mean 1+2+3 and 1*2*3 or also things like 1+2*3 2015-01-17T11:46:16Z novemberist: every combination that is possible 2015-01-17T11:46:24Z Shinmera: Ok 2015-01-17T11:46:37Z |3b|: or (+ 1 (/ (- (* 2 3)))) 2015-01-17T11:46:38Z keen__________35 joined #lisp 2015-01-17T11:47:37Z |3b|: or (- (- (- (- (- ...))))) if repetition of operators is allowed :p 2015-01-17T11:47:51Z Oberon4278 quit 2015-01-17T11:48:51Z |3b|: though i guess if you only care about results, most of those are redundant 2015-01-17T11:49:10Z Ragnaroek_ joined #lisp 2015-01-17T11:49:30Z novemberist: only two operations per combination 2015-01-17T11:49:37Z Ragnaroek quit (Ping timeout: 265 seconds) 2015-01-17T11:49:47Z Ragnaroek_ is now known as Ragnaroek 2015-01-17T11:49:57Z |3b|: how about (+) and (*)? (0 and 1 respectively) 2015-01-17T11:51:56Z Shinmera: novemberist: here's a primitive recursive version. http://plaster.tymoon.eu/view/8J# 2015-01-17T11:52:10Z Shinmera: This preserves the order of the numbers 2015-01-17T11:52:20Z Shinmera: now you might also want to have every possible order of the numbers 2015-01-17T11:52:45Z Shinmera: Which would make it quite silly. 2015-01-17T11:52:52Z pgomes joined #lisp 2015-01-17T11:53:06Z elimik31 joined #lisp 2015-01-17T11:53:23Z echo-area quit (Remote host closed the connection) 2015-01-17T11:53:41Z ggole: This doesn't generate both 1 - 2 and 2 - 1, right? 2015-01-17T11:53:48Z Shinmera: That's what I just said 2015-01-17T11:53:50Z novemberist: there is this game where you throw 3 dices and have to use the 3 results to get to 15 using the 4 basic mathematical operations (if 15 is not possible, the highest possible number below 15)... every number can only be used once. i want to basically get an overview over all possible combinations for every 3 numbers i provide... 2015-01-17T11:54:15Z ggole: Well, there's probably no point in generating both versions of the commutative operators. 2015-01-17T11:54:38Z pjb: novemberist: if you want to study your problem more deeply, you could have a look at TAOCP, the chapters concerning tree enumerations. (Volume 4 Fascicule 4). 2015-01-17T11:56:38Z novemberist: thanks for the help, i will try to grasp Shinmera's function first 2015-01-17T11:58:45Z novemberist: for sure it does exactly what i was looking for :) 2015-01-17T11:59:00Z Shinmera: It doesn't do all combinations according to the rules of your game though 2015-01-17T11:59:44Z |3b| would just enumerate all possible combinations rather than worrying about a specific combination of numbers 2015-01-17T12:00:15Z pjb: novemberist: are you seeking a textual combination, or a sexp (tree) one? 2015-01-17T12:00:20Z pocket joined #lisp 2015-01-17T12:00:34Z pjb: Ie. do you want thigns like 1+2*3 or (* (+ 1 2) 3) ? 2015-01-17T12:01:57Z novemberist: eventually, i only want to display the best possible combinations, so i'd have to evaluate them 2015-01-17T12:02:25Z pjb: novemberist: I haven't seen any specification. 2015-01-17T12:03:12Z pjb: (+ (*)(*)(*)(*)(*)(*)(*)(*)(*)(*)(*)(*)(*)(*)(*)) --> 15 2015-01-17T12:03:22Z novemberist: that's the part i wanted do try on my own ;) 2015-01-17T12:03:24Z booly-yam_ joined #lisp 2015-01-17T12:03:47Z booly-yam quit (Ping timeout: 272 seconds) 2015-01-17T12:03:58Z pocket quit (Remote host closed the connection) 2015-01-17T12:04:56Z manuel__ joined #lisp 2015-01-17T12:05:08Z |3b|: looks like 1448 combinations of #s and operators that result in an integer, 948 between 0 and 15 2015-01-17T12:05:57Z |3b|: (counting permutations of triples of numbers) 2015-01-17T12:06:41Z DrCode quit (Ping timeout: 250 seconds) 2015-01-17T12:07:40Z novemberist: oh, there are division by zero cases in there 2015-01-17T12:07:51Z |3b|: yeah 2015-01-17T12:08:14Z novemberist: got to filter those out first 2015-01-17T12:08:25Z |3b|: or just ignore-errors and filter after :p 2015-01-17T12:08:41Z novemberist: ;) 2015-01-17T12:08:46Z ggole: A rough stab at one approach https://gist.github.com/f8b194b969f26798f327 2015-01-17T12:09:03Z ggole: Hard coding the arity is pretty ugly though 2015-01-17T12:09:04Z |3b| supposes you want ratios too though, 1454 of those between 0 and 15 2015-01-17T12:09:24Z ggole: (And binary operators only, integers only.) 2015-01-17T12:10:21Z novemberist: yes, integers only is what i want 2015-01-17T12:13:10Z novemberist: ggole: i'm going to study your solution, thank you :) 2015-01-17T12:13:40Z jcfrank7 joined #lisp 2015-01-17T12:14:06Z Shinmera: I wrote a general enumerator macro at some point, but I forget where and why. 2015-01-17T12:16:28Z novemberist: would be nice if (counting-evaluating-to 15 5 5 5) treated 5 5 5 as one possible combination and not 3...but that's probably too much for now 2015-01-17T12:16:53Z novemberist: (+ 5 5 5) i meant 2015-01-17T12:16:54Z jtza8 quit (Ping timeout: 245 seconds) 2015-01-17T12:17:05Z Ragnaroek quit (Ping timeout: 272 seconds) 2015-01-17T12:18:25Z ggole: novemberist: you could add some logic for that (as an exercise). 2015-01-17T12:18:25Z isoraqathedh_l joined #lisp 2015-01-17T12:19:14Z novemberist: ggole: good idea 2015-01-17T12:19:20Z jcfrank7 left #lisp 2015-01-17T12:20:48Z jcfrank7 joined #lisp 2015-01-17T12:21:26Z stardiviner quit (Ping timeout: 264 seconds) 2015-01-17T12:22:22Z isoraqathedh quit (Ping timeout: 245 seconds) 2015-01-17T12:22:45Z jcfrank7 left #lisp 2015-01-17T12:22:55Z DrCode joined #lisp 2015-01-17T12:25:15Z Ragnaroek joined #lisp 2015-01-17T12:27:47Z pacon quit (Read error: Connection reset by peer) 2015-01-17T12:29:29Z |3b|: if i'm calculating right, 5,6,6 is only combination where best move isn't integral (/ 6 (/ 5 6))=7.2 2015-01-17T12:30:05Z oleo__ is now known as oleo 2015-01-17T12:30:32Z ikki joined #lisp 2015-01-17T12:31:10Z oleo quit (Quit: Verlassend) 2015-01-17T12:31:18Z pacon joined #lisp 2015-01-17T12:31:27Z |3b|: (or a few other ways of calculating same value) 2015-01-17T12:31:40Z Ragnaroek quit (Ping timeout: 265 seconds) 2015-01-17T12:32:05Z oleo joined #lisp 2015-01-17T12:32:15Z novemberist: i don't think non-integers would be legal in the game though ;) 2015-01-17T12:32:59Z ggole: You'd have to be using quite interesting dice at the very least. 2015-01-17T12:33:26Z |3b|: well, still 7, which is only best move for 2 combinations, so doesn't matter too often 2015-01-17T12:33:28Z novemberist: i think the real game is actually played with 6 dices 2015-01-17T12:33:47Z novemberist: but for the sake of simplicity i wanted to stick to 3 2015-01-17T12:34:18Z |3b|: hmm, nested loops would get a bit messy for 6 :p 2015-01-17T12:36:02Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-17T12:37:59Z Beetny quit (Ping timeout: 272 seconds) 2015-01-17T12:41:36Z Ragnaroek_ joined #lisp 2015-01-17T12:44:18Z yenda joined #lisp 2015-01-17T12:44:43Z |3b|: yeah, looks like 6 would take a bit of thought to do in a reasonable time 2015-01-17T12:45:39Z |3b|: what is target value for 6 dice? 2015-01-17T12:45:49Z novemberist: also 15 2015-01-17T12:46:25Z novemberist: but i'm not going to touch this anytime soon ;) 2015-01-17T12:46:35Z Ragnaroek_ is now known as Ragnaroek 2015-01-17T12:46:53Z |3b|: well, my stupid code can do 5 dice in 7 sec or so, so 6 shouldn't be too bad 2015-01-17T12:47:13Z |3b| gets 13 out of 252 combinations that can't sum to 15 2015-01-17T12:47:20Z |3b|: (of 5 dice) 2015-01-17T12:47:48Z |3b|: and assuming dice with numbers from 1-6 inclusive 2015-01-17T12:48:32Z novemberist: yeah, 6 dice obviously make the game much more interesting and usefull 2015-01-17T12:49:03Z |3b|: dunno, 6 dice might just reduce the number of combinations that can't sum to 15 2015-01-17T12:49:24Z Karl_Dscc quit (Remote host closed the connection) 2015-01-17T12:49:29Z |3b|: so 'more interesting' if you have to think about it, but less if you have a table of answers 2015-01-17T12:50:34Z novemberist: the table of answers is not supposed to be a cheat sheet ;) it was just some random problem i thought i might try to solve 2015-01-17T12:51:51Z isoraqathedh joined #lisp 2015-01-17T12:53:38Z novemberist: maybe i can make a game out of it, but it's probably hard to make an AI that doesn't cheat 2015-01-17T12:54:21Z DrCode quit (Ping timeout: 250 seconds) 2015-01-17T12:55:00Z antonv quit (Remote host closed the connection) 2015-01-17T12:55:59Z dfox quit (Ping timeout: 246 seconds) 2015-01-17T12:56:21Z isoraqathedh_l quit (Ping timeout: 272 seconds) 2015-01-17T12:56:21Z chu quit (Ping timeout: 272 seconds) 2015-01-17T12:56:40Z |3b| supposes memoizing the leaves instead of whole trees isn't very productive :p 2015-01-17T13:00:09Z Jesin quit (Quit: Leaving) 2015-01-17T13:01:35Z chu joined #lisp 2015-01-17T13:01:36Z Zhivago: There is generally no need for cheating. Just have it advance the least expensive plan. 2015-01-17T13:02:10Z |3b|: looks like only 5 combinations of 6 dice that don't have a 15 possible (dumb version finished before i could write a better one :p ) 2015-01-17T13:03:01Z |3b|: 4,4,4,4,4,4 2,2,2,2,2,2 1,1,1,1,2,2 1,1,1,1,1,2 1,1,1,1,1,1 2015-01-17T13:03:34Z Jirachier quit (Ping timeout: 245 seconds) 2015-01-17T13:03:43Z novemberist: i know this has maybe been asked a million times before, but why is there so little actual software written in common lisp? lispers in general seem so competent. i wonder why no larger public project has ever emerged from this community... 2015-01-17T13:04:12Z Jirachier joined #lisp 2015-01-17T13:04:35Z stardiviner joined #lisp 2015-01-17T13:04:50Z stardiviner quit (Changing host) 2015-01-17T13:04:50Z stardiviner joined #lisp 2015-01-17T13:06:20Z beach: Because the community is small, probably. 2015-01-17T13:08:04Z zadock quit (Quit: Leaving) 2015-01-17T13:09:42Z admg quit (Quit: Bye) 2015-01-17T13:10:40Z keen__________36 joined #lisp 2015-01-17T13:11:05Z attila_lendvai joined #lisp 2015-01-17T13:11:05Z attila_lendvai quit (Changing host) 2015-01-17T13:11:05Z attila_lendvai joined #lisp 2015-01-17T13:11:53Z keen__________35 quit (Ping timeout: 256 seconds) 2015-01-17T13:14:10Z beach: novemberist: There is no reason to believe that just because the members of a community are competent, there ought to be a "larger public project" emerging from that community. 2015-01-17T13:15:12Z dfox joined #lisp 2015-01-17T13:15:30Z dim: I think the lisp curse paper is to be cited here, with huge frighting quotes because you need not believe everything in it 2015-01-17T13:15:32Z |3b| wonders if the relative amount of software per competent developer is quantified enough to even ask the question in the first place 2015-01-17T13:15:40Z yaewa joined #lisp 2015-01-17T13:15:42Z dim: http://www.winestockwebdesign.com/Essays/Lisp_Curse.html 2015-01-17T13:17:11Z |3b|: seems to be lots of "actual software" from what i've seen... multiple windowing systems, multiple editors, compilers, web servers & frameworks, a 3d modelling program, multiple? music typesetting programs, airplane design, etc 2015-01-17T13:17:27Z moei quit (Ping timeout: 264 seconds) 2015-01-17T13:17:50Z |3b|: might not be much 'free' software, and some of it might not be used much anymore 2015-01-17T13:18:34Z novemberist: at least in my linux distro's repos i can't really seem to find a lot of stuff written in cl, apart from libraries 2015-01-17T13:19:07Z nyef joined #lisp 2015-01-17T13:19:08Z Davidbrcz joined #lisp 2015-01-17T13:19:26Z nyef: G'morning all. 2015-01-17T13:19:31Z beach: Hello nyef. 2015-01-17T13:20:02Z DrCode joined #lisp 2015-01-17T13:20:41Z |3b|: novemberist: well, at least some parts of the "cl community" don't care about things getting into distros, and distros probably don't care about looking for CL things, so that probably biases that measure a bit 2015-01-17T13:21:47Z Ragnaroek quit (Read error: No route to host) 2015-01-17T13:21:58Z beach: nyef: What are you working on these days? 2015-01-17T13:22:00Z novemberist: no offence. it's just kinda hard for a beginner to get a feeling for if it's worth to learn a certain language if there's not really a lot to look at 2015-01-17T13:22:37Z beach: novemberist: That particular part you don't have to worry about. There is more to look at than you will ever need. Much of it high quality on top of that. 2015-01-17T13:22:57Z beach: novemberist: Now, if you want to show off with your pals, you might choose something that is more "cool". 2015-01-17T13:23:18Z novemberist: beach: no, that's not the point 2015-01-17T13:23:37Z nyef: beach: Paid work, mostly, but I just (over the past couple of days) started getting back to trying to get a Linux kernel running on my SGI. I'm also hoping to have enough spare time this weekend to do some planning on NQ-CLIM so that I can pick that up again. 2015-01-17T13:23:54Z novemberist: besides, i think common lisp seems pretty cool from what i can tell 2015-01-17T13:23:59Z beach: nyef: Great! 2015-01-17T13:24:20Z beach: novemberist: It is a great programming language, definitely. 2015-01-17T13:25:21Z quazimodo joined #lisp 2015-01-17T13:26:13Z Shinmera: novemberist: Cl people tend to not put things into distro package distribution systems because it's fragmented, annoying, and not that well suited towards CL in particular 2015-01-17T13:26:34Z Shinmera: novemberist: The generally accepted way of distributing open source CL software is via Quicklisp 2015-01-17T13:27:15Z lifenoodles quit (Ping timeout: 265 seconds) 2015-01-17T13:28:09Z novemberist: as a basically non-programmer the syntax really appeals to me. feels very "natural" to express my ideas ... i just hope i've not just stepped onto a sinking ship ;) 2015-01-17T13:28:36Z Shinmera: Lisp has existed for many decades, if it is sinking (which I don't see) then it's so slow you probably won't notice. 2015-01-17T13:28:39Z beach: novemberist: Learning Lisp will never be a waste of time. 2015-01-17T13:28:52Z novemberist: Shinmera: but that's not how you would ship your software to someone who doesn't program in common lisp ? 2015-01-17T13:29:20Z Shinmera: novemberist: If you mean end-user distribution, usually you'll dump a binary. 2015-01-17T13:29:37Z beach: novemberist: Why should we care about people who don't program in Common Lisp? 2015-01-17T13:30:45Z novemberist: well if every programmer had that mindset, we wouldn't have any software that non-programmers can use at all... 2015-01-17T13:31:26Z beach: novemberist: There are enough programmers in other languages with that mindset. 2015-01-17T13:31:42Z manuel__ quit (Quit: manuel__) 2015-01-17T13:32:01Z Shinmera: If you want to make an application for end-users, you write your thing in CL and dumb a binary, then ship that binary. Done. 2015-01-17T13:32:05Z Shinmera: *dump 2015-01-17T13:32:12Z Shinmera: Freudian slip, probably. 2015-01-17T13:32:24Z beach: Heh, probably, yes. 2015-01-17T13:32:37Z Shinmera: Getting things into distribution's package managers is orthogonal to CL development. 2015-01-17T13:32:38Z novemberist: not a nice thing to say, though ;) 2015-01-17T13:33:00Z drmeister: Shinmera: Hello - I sped up clasp on linux maybe 2x 2015-01-17T13:33:11Z Shinmera: drmeister: That is very good news, are the changes in yet? 2015-01-17T13:33:22Z Shinmera: drmeister: I started a build earlier this morning. 2015-01-17T13:33:42Z Shinmera: novemberist: IIRC dim has his pgloader in debian f.e. 2015-01-17T13:33:57Z drmeister: Not yet. I was building on linux overnight to test it. 2015-01-17T13:34:02Z Shinmera: Alright. 2015-01-17T13:34:10Z drmeister: Everything worked fine, integrating into the preview branch now 2015-01-17T13:35:29Z drmeister: Ok, it's pushed to preview 2015-01-17T13:37:45Z kons joined #lisp 2015-01-17T13:37:48Z novemberist: Shinmera: i don't have a problem with little or no packages in the distro's repos per se ... i was just wondering, because i have a feeling that cl and its many free implementations fit quite well into the whole gnu/linux and foss ecosystem. 2015-01-17T13:38:04Z Shinmera: novemberist: I'd disagree 2015-01-17T13:38:34Z Shinmera: novemberist: Mostly because CL is (almost) an implementation of a lisp machine, so you basically drag along your own ecosystem, rather than using whatever the OS provides. 2015-01-17T13:38:50Z Shinmera: *Mostly because your CL implementation 2015-01-17T13:39:55Z Karl_Dscc joined #lisp 2015-01-17T13:40:13Z Davidbrcz quit (Ping timeout: 256 seconds) 2015-01-17T13:40:26Z novemberist: don't know what to think of this escapism really ;) 2015-01-17T13:40:49Z novemberist: but i will get familiar with the cl ecosystem, i guess 2015-01-17T13:42:49Z tajjada quit (Quit: leaving) 2015-01-17T13:43:07Z eudoxia joined #lisp 2015-01-17T13:43:33Z beach: novemberist: One thing might change what Shinmera says. If a good free Common Lisp implementation can be distributed as a large shared library and smaller executables, then it might be possible to sneak into the package manager infrastructure. 2015-01-17T13:44:15Z cyphase joined #lisp 2015-01-17T13:44:40Z beach: novemberist: Right now, there is no such implementation available. This is not a problem for Lispers at the moment, because we think of Lisp as an environment apart from the OS. 2015-01-17T13:46:13Z Shinmera: And man am I glad I can have that luxury. 2015-01-17T13:46:46Z novemberist: but you don't merely exist in the repl. you still need your emacs running on top your actual os and not in some sort of lisp os 2015-01-17T13:47:03Z beach: novemberist: So? 2015-01-17T13:47:13Z Shinmera: Yes and your OS runs on hardware. Doesn't mean you have to write machine code. 2015-01-17T13:47:19Z beach: novemberist: That doesn't mean it currently fits into the package manager infrastructure. 2015-01-17T13:47:53Z nyef: Do you get your node.js packages as part of the package manager infrastructure, or do you use NPM? 2015-01-17T13:47:55Z |3b|: package manager infrastructure works better for things for lots of users though 2015-01-17T13:48:21Z |3b|: otherwise it ends up just freezing a particular set of bugs for N months/years, without adding any stability 2015-01-17T13:49:09Z |3b|: or if not lots of users, lots of developers, so there are enough to backport fixes to each particular frozen version among the various distros 2015-01-17T13:49:10Z BitPuffin joined #lisp 2015-01-17T13:50:07Z novemberist: i'm just saying, you can't just disregard the outside world completely. there are probably lots of non lispers out there who would like to use software written in cl if it were good 2015-01-17T13:50:25Z novemberist: give and take, so to speak 2015-01-17T13:50:47Z Shinmera: And we're saying it's not a main concern, and if you do want to you can always see about getting your whatever into distributions. 2015-01-17T13:51:10Z Shinmera: For developers themselves, Quicklisp is a much better system than OS package managers 2015-01-17T13:52:49Z novemberist: i'm not judging. just trying to understand the mindset and the roots of the lisp community, because it seems quite different from other programming communities. 2015-01-17T13:52:50Z Posterdati quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) 2015-01-17T13:53:15Z novemberist: Shinmera: i do like quicklisp, never said anything against it 2015-01-17T13:53:50Z Shinmera: novemberist: I wasn't thinking you did. I'm merely saying that your concern is something reserved for few of the things CL people like to do, so there's little point in worrying about it except for when it comes to it. 2015-01-17T13:53:51Z H4ns: we like to believe that when unix is finally dead, we're still using commmon lisp :) 2015-01-17T13:54:08Z H4ns: 2038 is not that far away, mind you 2015-01-17T13:54:27Z beach: What will happen then? A Y2K-style bug? 2015-01-17T13:54:34Z Shinmera: Unix time integer overflow 2015-01-17T13:54:37Z H4ns: time_t will overflow 2015-01-17T13:54:42Z beach: Nice! :) 2015-01-17T13:54:51Z H4ns: yeah. that will be celebration time 2015-01-17T13:55:14Z novemberist: have there actually been recent attempts to create something like a "Lisp OS"? 2015-01-17T13:55:22Z H4ns: in hindsight, one must be thankful that they've time-bombed unix when they've created it back in the day. 2015-01-17T13:55:43Z nyef: novemberist: Define "recent". 2015-01-17T13:55:59Z nyef: Also, "something like". 2015-01-17T13:56:05Z novemberist: post 80ies 2015-01-17T13:56:17Z nyef: Post 80s? Yes, several. 2015-01-17T13:56:26Z Posterdati joined #lisp 2015-01-17T13:56:29Z Shinmera: One of which you can even get to run, using a VM! 2015-01-17T13:56:32Z Shinmera: (wowsies!) 2015-01-17T13:56:32Z nyef: Movitz, for example. 2015-01-17T13:56:40Z novemberist: an os based on lisp that runs on x86 hardware 2015-01-17T13:57:10Z nyef: AIUI, it's also one of beach's long-term goals. 2015-01-17T13:57:21Z eudoxia: i got Movitz to compile and run, didn't do anything with it 2015-01-17T13:57:44Z Shinmera: I forget, does Open Genera run on x86? 2015-01-17T13:57:51Z nyef: No, it requires x86-64. 2015-01-17T13:58:01Z booly-yam_ quit (Ping timeout: 255 seconds) 2015-01-17T13:59:29Z novemberist: well, it's safe to assume if there was a satisfactory solution, you guys would be running it already by now. 2015-01-17T13:59:54Z novemberist: so i guess the answer is somewhat "no" 2015-01-17T14:00:10Z Shinmera: That is faulty reasoning 2015-01-17T14:00:37Z H4ns: if lisp is so great, why is not everybody using it?!?! 2015-01-17T14:02:16Z novemberist: totally different question. because not everybody know it and because people have already adopted another language that they prefer...but since you seem to be striving after an all-lisp system , i don't see why you wouldn't use it. if there was one... 2015-01-17T14:02:59Z isoraqathedh_l joined #lisp 2015-01-17T14:03:38Z H4ns: novemberist: you've been expressing your doubts a lot now. maybe enough for you to decide that lisp is not for you and chose something more to your liking? your "questions" are becoming an annoyance. you need to accept that people have different needs and desires. deal with it. 2015-01-17T14:04:21Z nyef: novemberist: Imagine that there WERE an all-lisp system... But that it was black-and-white, and didn't have WiFi, a web browser, a music player, the ability to read PDF documents or anything produced by whatever they're calling "star office" these days. Would YOU use it? 2015-01-17T14:04:54Z nyef: Or it didn't even have graphics-mode drivers, it was stuck in 80x25 text mode. 2015-01-17T14:05:00Z booly-yam_ joined #lisp 2015-01-17T14:05:06Z Shinmera: The problem is people need many things, and even if one system excels very much in one area, you'd probably settle for a system that kind of just works for everything else too. 2015-01-17T14:05:48Z booly-yam_ quit (Remote host closed the connection) 2015-01-17T14:07:01Z isoraqathedh quit (Ping timeout: 255 seconds) 2015-01-17T14:07:04Z novemberist: H4ns: That's faulty reasoning now. Assuming that lisp is not for me because i am curious about certain things. I didn't ask you anything specifically, so feel free to ignore me 2015-01-17T14:07:36Z nyef: That's not faulty reasoning, that's probabilistic reasoning. 2015-01-17T14:08:55Z novemberist: still not a fair assumption to make 2015-01-17T14:09:55Z beach: novemberist: Here is some reading for you that might shed some light on your questions: http://metamodular.com/Essays/wrong.html 2015-01-17T14:09:57Z novemberist: considering it was the first thing he actually said to me, he got annoyed pretty quickly 2015-01-17T14:10:06Z Shinmera: The "lisp popularity" thing is a very tired and much too often repeated topic. 2015-01-17T14:10:21Z Zhivago: Well, you do seem to be having a lot of trouble with it. 2015-01-17T14:10:43Z lifenoodles joined #lisp 2015-01-17T14:11:13Z beach: novemberist: What Shinmera said. We know these discussions by heart, and we know the outcome. You just happened to be the one that brought it up this time. 2015-01-17T14:13:03Z beach: nyef: Did you see that SICL LOOP now passes all the ANSI tests (excepts the one that are in violation of the standard)? 2015-01-17T14:13:21Z nyef: beach: I probably didn't. Congratulations. 2015-01-17T14:13:27Z beach: Thanks. 2015-01-17T14:13:50Z Shinmera is worried about all the times he wrote (loop while foo for bla ..) breaking 2015-01-17T14:14:06Z beach: I need to work on error detection and reporting, but right now I am eager to use it in my "ParaSICL" environment (the one that uses the extrinsic HIR compiler). 2015-01-17T14:15:54Z beach: Shinmera: Hmm, yes, not so good. 2015-01-17T14:16:12Z novemberist: beach: well, but it's not a bad thing to reflect on some things every once in a while, is it? and if it's just to be even more convinced afterwards. you said yourself, this community is very small. so can it not bear some questions from a newbie every once in a while. i don't see hundreds of people streaming into the channel asking stupid questions about lisp. i didn't want to know whether lisp is better than language X, i was just 2015-01-17T14:16:12Z novemberist: trying to convere a little more casually with the community i am seeking to become a part of. 2015-01-17T14:16:23Z Shinmera: beach: It's so sad because that's such a useful construct to have 2015-01-17T14:17:05Z Shinmera: novemberist: You underestimate how often and how old and boring this line of questioning is 2015-01-17T14:17:07Z |3b|: novemberist: stay for a year or 2 and you will :/ 2015-01-17T14:17:14Z pjb: novemberist: most linux distributions are also binary distributions, where you have to take very special steps to get the sources of the software. Also, there's a single C ABI, which allows C libraries to be distributed in binary form whatever compiler they're compiled with, and use with any other C compiler (mostly). But this is not the case of Lisp, therefore lisp libraries have to be distributed in source form. 2015-01-17T14:17:18Z Shinmera: novemberist: There's been decades of this same thing and it never ends, and is always the same. 2015-01-17T14:17:39Z arnaudga quit (Ping timeout: 276 seconds) 2015-01-17T14:17:47Z pjb: novemberist: otherwise, there are lisp applications distributed in binary form, and not distributed at all. 2015-01-17T14:18:07Z beach: novemberist: Perhaps, but I think we have had our dose for this time. 2015-01-17T14:18:22Z novemberist: beach: i agree 2015-01-17T14:18:29Z pjb: novemberist: you may browse http://cliki.net/ and of course, quicklisp to get a feel of the range of what's available. 2015-01-17T14:19:18Z isoraqathedh joined #lisp 2015-01-17T14:19:28Z badkins joined #lisp 2015-01-17T14:19:29Z novemberist: i should get to learning/programming instead of philosophizing, i guess :) 2015-01-17T14:19:32Z nell joined #lisp 2015-01-17T14:19:42Z pjb: novemberist: You may use (com.informatimago.tools.quicklisp:quick-install-all) to install all the systems provided by quicklisp. 2015-01-17T14:19:58Z Shinmera: Over a thousand of them! 2015-01-17T14:20:06Z ggole: C ABIs used to work that way, but there's a lot more breakage these days 2015-01-17T14:20:07Z novemberist: pjb: already done that, i'm a quicklisp user and familiar with cliki 2015-01-17T14:20:36Z pjb: novemberist: so you have already read the documentation and tried out the thousand libraries you got with quicklisp? 2015-01-17T14:20:40Z jlongster joined #lisp 2015-01-17T14:20:50Z pjb: novemberist: what are you waiting to write a few apps using them? 2015-01-17T14:22:00Z novemberist: pjb: of course not, i was just saying i know about the existence of quicklisp and cliki already. and that's a godd question...i shall start right now 2015-01-17T14:22:22Z isoraqathedh_l quit (Ping timeout: 240 seconds) 2015-01-17T14:22:23Z pjb: ok. So you still have a lot of work before you. 2015-01-17T14:23:14Z novemberist: so do all of us in one way ore another, i guess 2015-01-17T14:23:22Z pjb: Yes :-) 2015-01-17T14:23:47Z LiamH joined #lisp 2015-01-17T14:24:29Z pjb: beach: libecl.so is already a good free CL implementation distributed as a large shared library and smaller executables. 2015-01-17T14:25:13Z jlongster quit (Ping timeout: 252 seconds) 2015-01-17T14:25:21Z manuel__ joined #lisp 2015-01-17T14:25:42Z novemberist: anyways, thanks for all the help and remarks to all of you. and sorry for getting on your nerves. i shall return when i have something to show for. 2015-01-17T14:26:01Z pjb: novemberist: do you think that "there are probably lots of non lispers out there who would like to use 2015-01-17T14:26:01Z pjb: software written in cl if it were good" is true? 2015-01-17T14:27:35Z novemberist: well, the average user doesn't care what language a program is written in, so if it's a usefull program...why not? 2015-01-17T14:27:49Z pjb: So you say you think it's true 2015-01-17T14:27:51Z pjb: novemberist: Are there lots of non lispers out there who use software written in cl? 2015-01-17T14:29:53Z novemberist: i think it's true. and no, i guess there aren't...for the reasons we've been talking about for the past hours. the average user doesn't start a repl and install software with quicklisp. if there were binary packages or some other way of distribution...i don't see why they wouldn't use it. 2015-01-17T14:30:53Z novemberist: again, not saying that this is something that should be targeted. just answering the question from my pov. 2015-01-17T14:31:17Z pjb: Then you think that software written in CL is probably not good. A⇒B ∧ ¬B ⊢ ¬A 2015-01-17T14:32:11Z novemberist: no, i didn't ... i gave one specific and unambiguous reason. 2015-01-17T14:32:32Z Xach: novemberist: there is a strong contingent of "if common lisp doesn't already do it well, it must be a dumb thing to want" sometimes. it can be profitably ignored. 2015-01-17T14:33:32Z pjb: novemberist: sociology studies can hardly be performed on irc. If you're really insterested in the mindset and the roots of the lisp community, you should set up a proper study with the right methodology. 2015-01-17T14:34:01Z Zhivago: Lure them to a conference. 2015-01-17T14:35:50Z pacon quit (Read error: Connection reset by peer) 2015-01-17T14:36:16Z novemberist: just for the record: it's not me who's keeping this discussion alive. 2015-01-17T14:37:20Z pjb: novemberist: I'm saying, you may want to revise some conceptions, and it may be useful or at least interesting, to perform some real but serious sociological study, rather than mere defamatory blog posts. 2015-01-17T14:39:23Z pjb: novemberist: perhaps a more interesting question would be why there's no talk of writing a PHP OS, or a Python OS. 2015-01-17T14:39:40Z novemberist: i don' t want to study anything of the like, just get a feel for it. i want to learn to program in common lisp and eventually write programs. 2015-01-17T14:40:00Z Xach: novemberist: dim has done a pretty amazing thing with pgloader 2015-01-17T14:40:20Z Xach: I would listen to whatever he says about the challenges he's faced 2015-01-17T14:40:35Z Adlai quit (Remote host closed the connection) 2015-01-17T14:40:35Z novemberist: yeah, now you take everything i wrote about an hour ago out of context to go over it again? 2015-01-17T14:41:04Z Adlai joined #lisp 2015-01-17T14:41:06Z Xach just arrived, missed the hour ago 2015-01-17T14:41:32Z pjb: beach: ParaSICL is a very good name for it, I think. :-) 2015-01-17T14:41:33Z novemberist: Xach: not you, i meant pjb 2015-01-17T14:41:40Z Ragnaroek joined #lisp 2015-01-17T14:42:08Z pjb: Yes, I read irc by batches. 2015-01-17T14:42:14Z Xach: oh, pjb writes mostly nonsense and can be ignored. 2015-01-17T14:42:33Z Xach: any useful things that sneak in are usually phrased better by others. 2015-01-17T14:42:59Z novemberist: pjb: I already gave up on the discussion, so no use in dragging this on. 2015-01-17T14:43:06Z pjb: I'm done. 2015-01-17T14:43:10Z novemberist: good 2015-01-17T14:43:29Z pjb: Notice that you may have more meta discussions in #lispcafe. 2015-01-17T14:43:57Z novemberist: pjb: that's not what i desire, but thanks for the info 2015-01-17T14:45:32Z MoALTz quit (Quit: Leaving) 2015-01-17T14:48:32Z wasamasa: novemberist: perhaps ##lisp then 2015-01-17T14:49:10Z novemberist: wasamasa: i'm fine, thank you 2015-01-17T14:50:03Z ssake joined #lisp 2015-01-17T14:50:08Z Ragnaroek_ joined #lisp 2015-01-17T14:50:21Z pjb: novemberist: well, it's all described in http://cliki.net/IRC 2015-01-17T14:50:52Z Ragnaroek quit (Ping timeout: 265 seconds) 2015-01-17T14:51:07Z Ragnaroek_ is now known as Ragnaroek 2015-01-17T14:53:00Z novemberist: good , but i didn't ask for any advice about irc channels, did i? i've learned my lesson from that uncomfortable off-topic discussion earlier... 2015-01-17T14:53:24Z pjb: Ok. Next question? 2015-01-17T14:53:44Z nyef: pjb: Next question? How about "weren't you done?" 2015-01-17T14:53:46Z elimik31 quit (Quit: WeeChat 1.1) 2015-01-17T14:54:10Z Oberon4278 joined #lisp 2015-01-17T14:54:15Z ikki quit (Ping timeout: 265 seconds) 2015-01-17T14:55:14Z pjb: nyef: yes. Next question? 2015-01-17T14:55:21Z Zhivago: Bring in the decemberist. 2015-01-17T14:57:13Z hiroakip joined #lisp 2015-01-17T14:59:55Z Oberon4278: I was going to say something about the band but then I saw your name and thought maybe you were going for the original use of the word. 2015-01-17T15:00:35Z capcar joined #lisp 2015-01-17T15:00:38Z novemberist: there is indeed a connection to the band ;) 2015-01-17T15:01:12Z novemberist: is there an original use of the word novemberist? 2015-01-17T15:01:41Z nyef: Someone who really, really likes the ninth month? 2015-01-17T15:02:59Z novemberist: ninth? is this some sort of programmer's joke? ;) 2015-01-17T15:03:10Z nyef: More a linguists joke. 2015-01-17T15:03:24Z nyef: Novem, from the latin for nine. 2015-01-17T15:03:54Z novemberist: oh, i thought because you start counting from 0 in programming languages 2015-01-17T15:03:55Z nyef: Works for every month after the one named for a roman emperor. 2015-01-17T15:04:21Z novemberist: i happen to like november, though. very much so 2015-01-17T15:04:52Z novemberist: and i used to like the decemberists 2015-01-17T15:05:03Z novemberist: so it made sense at the time ;) 2015-01-17T15:05:38Z ebrasca joined #lisp 2015-01-17T15:06:16Z francogrex joined #lisp 2015-01-17T15:06:48Z francogrex: would you use sdl or ltk for games developement? 2015-01-17T15:08:07Z novemberist: isn't ltk more of a gui toolkit? 2015-01-17T15:09:05Z francogrex: it is, but for simple games as well 2015-01-17T15:09:39Z ebrasca: I like sdl 2015-01-17T15:09:46Z arnaudga joined #lisp 2015-01-17T15:10:06Z wasamasa: francogrex: use sdl with something like cairo for the drawing bits 2015-01-17T15:11:31Z francogrex: I had used sdl, I recently was exploring ltk, see if one has some advantages over the other... it seems that ltk has a wider repertoire... 2015-01-17T15:11:42Z loke_ joined #lisp 2015-01-17T15:12:06Z nyef: OpenGL for the graphics? 2015-01-17T15:12:07Z ebrasca: francogrex: Chat it in #lispgames 2015-01-17T15:12:19Z wasamasa: nyef: sdl can use gl as backend :P 2015-01-17T15:12:29Z francogrex: referring to lispbuilder-sdl 2015-01-17T15:12:42Z francogrex: #lispgames 2015-01-17T15:12:55Z nyef: wasamasa: So? 2015-01-17T15:13:07Z wasamasa: nyef: less effort 2015-01-17T15:13:13Z nyef: If you say so. 2015-01-17T15:13:34Z wasamasa: well, you may of course disagree upon the complexity of opengl being tucked away by going that route 2015-01-17T15:16:24Z Longlius joined #lisp 2015-01-17T15:17:57Z gingerale joined #lisp 2015-01-17T15:18:21Z jcfrank7 joined #lisp 2015-01-17T15:21:48Z Ethan- quit (Ping timeout: 265 seconds) 2015-01-17T15:22:25Z Karl_Dscc quit (Remote host closed the connection) 2015-01-17T15:26:27Z hiroakip quit (Ping timeout: 272 seconds) 2015-01-17T15:27:04Z francogrex: xsbcl 2015-01-17T15:29:03Z Jirachier quit (Ping timeout: 265 seconds) 2015-01-17T15:29:42Z Jirachier joined #lisp 2015-01-17T15:33:12Z dkcl joined #lisp 2015-01-17T15:33:33Z attila_lendvai quit (Ping timeout: 256 seconds) 2015-01-17T15:34:39Z slyrus joined #lisp 2015-01-17T15:36:16Z angavrilov joined #lisp 2015-01-17T15:36:55Z jcfrank7 left #lisp 2015-01-17T15:38:58Z hiroakip joined #lisp 2015-01-17T15:40:11Z francogrex: how would you use (conditional) formatting to print this: (format t "~{~r ~}" (list 1 "two" 3 4 "five")) as one two three four five ? 2015-01-17T15:41:35Z kapil__ quit (Quit: Connection closed for inactivity) 2015-01-17T15:41:41Z booly-yam-6520 joined #lisp 2015-01-17T15:42:03Z nyef: ... I wouldn't. 2015-01-17T15:42:28Z francogrex: because not possible? 2015-01-17T15:43:04Z nyef: Because even if possible, tricky. 2015-01-17T15:43:19Z nyef: Step one, simplify the problem. 2015-01-17T15:43:21Z booly-yam-4405 joined #lisp 2015-01-17T15:43:27Z Zhivago: And, regardless, silly. 2015-01-17T15:43:58Z nyef: Not necessarily SILLY, I can imagine it being close to an actual problem that I might encounter on the job. 2015-01-17T15:44:56Z devll joined #lisp 2015-01-17T15:45:20Z nyef: But at that point, screw trying to do it purely with FORMAT, pre-process the list, use W-O-T-S, anything to simplify the problem. 2015-01-17T15:45:38Z booly-yam-9422 joined #lisp 2015-01-17T15:46:09Z francogrex: ok 2015-01-17T15:47:07Z francogrex: the aim is a psychological test, to see if one is able to detect a number written as for example 3 compared to three embedded in a list of other random words 2015-01-17T15:47:40Z francogrex: I will show a sample 2015-01-17T15:47:59Z pjb: (format t "~{~/fmt-english-or-aesthetic/ ~}" '(1 "two")) 2015-01-17T15:48:11Z novemberist quit (Ping timeout: 246 seconds) 2015-01-17T15:49:42Z booly-yam-9422 quit (Remote host closed the connection) 2015-01-17T15:49:43Z booly-yam-4405 quit (Remote host closed the connection) 2015-01-17T15:49:43Z booly-yam-6520 quit (Remote host closed the connection) 2015-01-17T15:50:15Z attila_lendvai joined #lisp 2015-01-17T15:50:15Z attila_lendvai quit (Changing host) 2015-01-17T15:50:15Z attila_lendvai joined #lisp 2015-01-17T15:50:39Z francogrex: hold your laughter: http://paste.lisp.org/display/145264 2015-01-17T15:51:56Z francogrex: i could convert the numbers before format 2015-01-17T15:51:58Z pjb: alternatively: (let ((nums '(1 "two"))) (format t "~:{~:[~A~;~R~] ~}" (mapcar (lambda (x) (list (numberp x) x)) nums))) 2015-01-17T15:52:32Z francogrex: pjb: yes 2015-01-17T15:52:50Z booly-yam-4115 joined #lisp 2015-01-17T15:52:55Z pjb: But since it conses, you may prefer a lot ~/fmt-english-or-aesthetic/. 2015-01-17T15:53:13Z pjb: Since we can see a pattern here, you may even write a mini DSL to define such fmt- functions easily. 2015-01-17T15:53:21Z Zhivago: That shuffle function is impressively inefficient looking. 2015-01-17T15:54:30Z arnaudga quit (Ping timeout: 276 seconds) 2015-01-17T15:54:58Z francogrex: Zhivago: not only the shuffle function (which I copied) but the others I have written myself i am sure are not top notch either 2015-01-17T15:57:02Z Adlai quit (Quit: WeeChat 1.0.1) 2015-01-17T15:59:33Z AndroUser joined #lisp 2015-01-17T15:59:51Z nnmap joined #lisp 2015-01-17T16:01:26Z nnmap: trying to understand "error" function: file:///home/vic/books/Docs/HyperSpec/Body/09_aba.htm - what is 'default-type'? 2015-01-17T16:02:04Z nnmap: oops! http://www.lispworks.com/documentation/HyperSpec/Body/09_aba.htm 2015-01-17T16:02:23Z enitiz joined #lisp 2015-01-17T16:02:27Z nyef: clhs error 2015-01-17T16:02:27Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/a_error.htm 2015-01-17T16:02:47Z nyef: nnmap: Have a look at http://www.lispworks.com/documentation/HyperSpec/Body/f_error.htm 2015-01-17T16:03:01Z nyef: Right at the top, under "Arguments and Values". 2015-01-17T16:03:41Z boogie joined #lisp 2015-01-17T16:04:23Z nnmap: there is also cerror... basically, i don't understand how this works: (cerror "Return sqrt(~D) instead." "Tried to take sqrt(-~D)." n) 2015-01-17T16:04:59Z nnmap: what kind of condition cerror and error create when called with strings and how to use these conditions? 2015-01-17T16:05:26Z boogie quit (Remote host closed the connection) 2015-01-17T16:05:50Z nnmap: (since "cerror effectively invokes error on the condition named by datum") 2015-01-17T16:05:53Z boogie joined #lisp 2015-01-17T16:05:58Z pjb: nnmap: the same condition: SIMPLE-ERROR 2015-01-17T16:06:20Z nyef: Have a look at, say, WARN. 2015-01-17T16:06:25Z nyef: (I think it was WARN, at least.) 2015-01-17T16:06:33Z pjb: nnmap: the difference is that CERROR wraps the calls to SIGNAL in a RESTART-CASE for a CONTINUE restart. 2015-01-17T16:08:34Z nnmap: mmm... let's try it this way: (make-condition defaulted-type :format-control datum :format-arguments arguments) - is there a description of what :format-control and :format-arguments do? and where? 2015-01-17T16:08:54Z pjb: clhs simple-error 2015-01-17T16:08:54Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/e_smp_er.htm 2015-01-17T16:09:57Z nnmap: and then what happens with format-control? 2015-01-17T16:10:07Z nnmap: is it for debugger? 2015-01-17T16:10:36Z nnmap: mkay i guess it's not really important. maybe i'll figure it out later. 2015-01-17T16:10:45Z pjb: those arguments are used to initialize the condition. The condition is indeed passed to invoke-debugger if it is not handled. 2015-01-17T16:11:06Z loke_ quit (Ping timeout: 265 seconds) 2015-01-17T16:11:22Z pjb: The debugger will probably use (princ condition *debugger-io*) or (format *debugger-io* "~A" condition) to inform the user about the condition. 2015-01-17T16:11:34Z ehu joined #lisp 2015-01-17T16:11:57Z xyh joined #lisp 2015-01-17T16:12:24Z pjb: So it's actually the condition report method that use those arguments to format the condition. Each condition defines slots with accessors that can be used by the handlers to access those data and decide more finely how to proceeded. 2015-01-17T16:12:41Z pjb: clhs define-condition 2015-01-17T16:12:41Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_defi_5.htm 2015-01-17T16:13:34Z ndrei quit (Ping timeout: 245 seconds) 2015-01-17T16:13:55Z slyrus quit (Ping timeout: 255 seconds) 2015-01-17T16:14:58Z nnmap quit (Ping timeout: 246 seconds) 2015-01-17T16:20:49Z novemberist joined #lisp 2015-01-17T16:21:09Z hiyosi joined #lisp 2015-01-17T16:21:30Z novemberist quit (Remote host closed the connection) 2015-01-17T16:24:06Z loke_ joined #lisp 2015-01-17T16:27:14Z boogie quit (Remote host closed the connection) 2015-01-17T16:32:10Z isoraqathedh_l joined #lisp 2015-01-17T16:33:30Z isoraqathedh_l_ joined #lisp 2015-01-17T16:35:58Z isoraqathedh quit (Ping timeout: 255 seconds) 2015-01-17T16:36:48Z gabriel_laddel joined #lisp 2015-01-17T16:36:54Z isoraqathedh_l quit (Ping timeout: 245 seconds) 2015-01-17T16:38:42Z gabriel_laddel: is anyone aware of implementations of `print-object' for ASDF defsystem forms, packages and the like? 2015-01-17T16:39:25Z gabriel_laddel: specifically, I'd like to print a package in the readable (defpackage ...) format. 2015-01-17T16:39:26Z Xach: gabriel_laddel: you mean, given a system or package object, a function that prints out a defsystem or defpackage form? 2015-01-17T16:39:33Z gabriel_laddel: Xach: that is correct 2015-01-17T16:39:48Z Xach: that would be cool. i don't know of something like that. i've thought about the defpackage side a little bit but have not made code to do it. 2015-01-17T16:40:49Z gabriel_laddel: kk. I'm sort of amazed I've not been able to find anything actually. I want to have M-x update-package-exports (finds all external symbols in the current env and updates your package form) etc. 2015-01-17T16:41:00Z guicho quit (Remote host closed the connection) 2015-01-17T16:41:51Z Xach: not everything worth making has been made, yet 2015-01-17T16:42:04Z Xach: gabriel_laddel: there's a slime key combo to export the symbol at point, updating the defpackage form. 2015-01-17T16:42:31Z loke_ quit (Ping timeout: 265 seconds) 2015-01-17T16:42:37Z gabriel_laddel: Xach: O! Thanks, I'll definitely be making use of that. 2015-01-17T16:43:25Z pjb: In general, it is not always possible to write out a defpackage form corresponding to packages (notably when you've played with import/export at run-time and made circular dependencies. 2015-01-17T16:43:36Z pjb: But you could detect that, or ignore it. 2015-01-17T16:45:17Z ndrei joined #lisp 2015-01-17T16:45:29Z Karl_Dscc joined #lisp 2015-01-17T16:46:19Z Jirachier quit (Ping timeout: 255 seconds) 2015-01-17T16:47:09Z Jirachier joined #lisp 2015-01-17T16:47:18Z jlongster joined #lisp 2015-01-17T16:48:19Z isoraqathedh joined #lisp 2015-01-17T16:49:00Z froggey quit (Remote host closed the connection) 2015-01-17T16:49:35Z froggey joined #lisp 2015-01-17T16:49:49Z froggey quit (Changing host) 2015-01-17T16:49:49Z froggey joined #lisp 2015-01-17T16:51:29Z isoraqathedh_l_ quit (Ping timeout: 245 seconds) 2015-01-17T16:51:46Z gluegadget quit (Ping timeout: 244 seconds) 2015-01-17T16:51:51Z gz quit (Ping timeout: 188 seconds) 2015-01-17T16:51:57Z endou______ quit (Ping timeout: 272 seconds) 2015-01-17T16:52:15Z splittist_ quit (Ping timeout: 252 seconds) 2015-01-17T16:52:31Z victor_lowther quit (Ping timeout: 245 seconds) 2015-01-17T16:52:37Z gz quit (Ping timeout: 252 seconds) 2015-01-17T16:53:00Z NhanH quit (Ping timeout: 276 seconds) 2015-01-17T16:55:34Z loke_ joined #lisp 2015-01-17T16:56:47Z Karl_Dscc quit (Remote host closed the connection) 2015-01-17T16:58:01Z copycat quit (Ping timeout: 246 seconds) 2015-01-17T16:59:52Z ebrasca quit (Quit: ebrasca) 2015-01-17T17:05:32Z hardenedapple quit (Ping timeout: 246 seconds) 2015-01-17T17:08:23Z booly-yam-4115 quit (Ping timeout: 240 seconds) 2015-01-17T17:13:45Z francogrex quit (Read error: Connection reset by peer) 2015-01-17T17:14:43Z pjb: gabriel_laddel: http://paste.lisp.org/display/145265 2015-01-17T17:15:34Z pjb: There's a default: when you use a package that exports symbols from used package, it will return a defpackage form with a :import-from the original package instead of just the :used package. This could be corrected. 2015-01-17T17:20:02Z pjb: gabriel_laddel: http://paste.lisp.org/display/145265#1 2015-01-17T17:20:59Z hardenedapple joined #lisp 2015-01-17T17:23:35Z shka joined #lisp 2015-01-17T17:28:00Z pjb: gabriel_laddel: with an option for different symbol and package formats: http://paste.lisp.org/display/145265#2 2015-01-17T17:28:16Z MoALTz joined #lisp 2015-01-17T17:28:22Z NhanH joined #lisp 2015-01-17T17:29:10Z zacharias quit (Ping timeout: 244 seconds) 2015-01-17T17:31:44Z victor_lowther joined #lisp 2015-01-17T17:31:59Z jlongster quit (Ping timeout: 256 seconds) 2015-01-17T17:32:09Z sharkz__ quit (Quit: Connection closed for inactivity) 2015-01-17T17:32:15Z splittist_ joined #lisp 2015-01-17T17:35:19Z innertracks joined #lisp 2015-01-17T17:36:37Z Vutral quit (Ping timeout: 252 seconds) 2015-01-17T17:38:02Z endou______ joined #lisp 2015-01-17T17:38:14Z isoraqathedh_l joined #lisp 2015-01-17T17:40:52Z Vutral joined #lisp 2015-01-17T17:40:56Z theseb joined #lisp 2015-01-17T17:42:26Z isoraqathedh quit (Ping timeout: 264 seconds) 2015-01-17T17:44:01Z gluegadget joined #lisp 2015-01-17T17:45:35Z xyh quit (Remote host closed the connection) 2015-01-17T17:49:50Z gz joined #lisp 2015-01-17T17:50:09Z scymtym quit (Remote host closed the connection) 2015-01-17T17:51:14Z ehu_ joined #lisp 2015-01-17T17:52:08Z gabriel_laddel: pjb: Wow thanks! 2015-01-17T17:52:52Z ehu_: hi 2015-01-17T17:52:56Z ehu quit (Ping timeout: 244 seconds) 2015-01-17T17:58:31Z AndroUser quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) 2015-01-17T18:00:54Z ehu_ is now known as ehu 2015-01-17T18:04:27Z nell quit (Quit: WeeChat 1.2-dev) 2015-01-17T18:05:39Z Ragnaroek quit (Ping timeout: 265 seconds) 2015-01-17T18:08:03Z urandom__ quit (Quit: Konversation terminated!) 2015-01-17T18:12:13Z hardenedapple quit (Quit: WeeChat 1.1) 2015-01-17T18:13:59Z ndrei quit (Ping timeout: 245 seconds) 2015-01-17T18:16:47Z xyh joined #lisp 2015-01-17T18:16:54Z xyh: tail call to a multiple-value-function, preserving its multiple-value ? 2015-01-17T18:16:54Z xyh: making the calling function a multiple-value-function too ? 2015-01-17T18:17:25Z beach: xyh: Is there a question in there somewhere? 2015-01-17T18:17:56Z xyh: no 2015-01-17T18:18:06Z xyh: it will be cool if it is 2015-01-17T18:18:18Z arnaudga joined #lisp 2015-01-17T18:18:38Z ggole: A tail call "preserves" multiple values, yes 2015-01-17T18:18:52Z ggole: Usually you would just say "returns" 2015-01-17T18:19:17Z beach: Oh, now I get it. 2015-01-17T18:22:43Z Posterdati: hi 2015-01-17T18:22:56Z beach: Hello Posterdati. 2015-01-17T18:23:26Z Posterdati: is the latest quicklisp-slime-helper broken? 2015-01-17T18:24:36Z Posterdati: I installed 2.12 and it is not working on emacs 23 2015-01-17T18:28:48Z beach left #lisp 2015-01-17T18:28:56Z eudoxia quit (Quit: Leaving) 2015-01-17T18:31:09Z isoraqathedh joined #lisp 2015-01-17T18:34:47Z isoraqathedh_l quit (Ping timeout: 246 seconds) 2015-01-17T18:40:49Z mhd_ joined #lisp 2015-01-17T18:42:19Z Xach: Posterdati: How so? 2015-01-17T18:42:43Z Xach doesn't have emacs 23 to test 2015-01-17T18:42:50Z Xach: i take that back, i do! 2015-01-17T18:42:52Z Xach tries it 2015-01-17T18:43:17Z Xach: Posterdati: works ok for me. what symptoms do you see? 2015-01-17T18:43:45Z PuercoPop: Oi, there is no api to get the names of the named registers of a regexp in cl-ppcre right? I I want them I'll have to extract them from the result of parse-string 2015-01-17T18:45:17Z prxq joined #lisp 2015-01-17T18:45:58Z mhd_ quit (Quit: Textual IRC Client: www.textualapp.com) 2015-01-17T18:48:04Z Petit_Dejeuner joined #lisp 2015-01-17T18:48:46Z arpunk joined #lisp 2015-01-17T18:49:27Z ndrei joined #lisp 2015-01-17T18:50:00Z arnaudga quit (Ping timeout: 276 seconds) 2015-01-17T18:51:27Z booly-yam-9490 joined #lisp 2015-01-17T18:51:50Z Bike: seens si, 2015-01-17T18:51:52Z Bike: so. 2015-01-17T18:52:09Z Bike: create-scanner has a second value that returns the register names, i guess. 2015-01-17T18:53:20Z Posterdati: Xach: I have two wheezy with same emacs 23, one is fine 2015-01-17T18:53:56Z Posterdati: Xach: the orther complains about slime-timer-call(slime-attempt-connection # nil 8) 2015-01-17T18:54:43Z Patzy quit (Ping timeout: 256 seconds) 2015-01-17T18:55:04Z Karl_Dscc joined #lisp 2015-01-17T18:55:21Z Patzy joined #lisp 2015-01-17T18:56:35Z Posterdati: Xach: leaving me in the inferior-lisp mode 2015-01-17T19:00:50Z pjb: Posterdati: any error in the *inferior-lisp* buffer? 2015-01-17T19:00:59Z Bike: oh, i got that before. had to upgrade emacs and kill all the elc. 2015-01-17T19:01:34Z Posterdati: STYLE-WARNING: redefining EMACS-INSPECT (#) in DEFMETHOD 2015-01-17T19:01:34Z Posterdati: ;; Swank started at port: 49875. 2015-01-17T19:02:08Z Posterdati: pjb: I'm compiling emacs 24 too 2015-01-17T19:02:45Z Posterdati: but another emacs 23 is working with the same slime-2.12 installed 2015-01-17T19:02:49Z pjb: ok, so there's no error in the CL process (swank), only in emacs slime code. 2015-01-17T19:03:01Z Posterdati: seems so 2015-01-17T19:03:05Z pjb: Perhaps as Bike says, you have stale .elc? 2015-01-17T19:03:15Z Posterdati: maybe 2015-01-17T19:03:45Z Posterdati: because I recompiled all contrib directory under slime-2.12 2015-01-17T19:04:11Z Jesin joined #lisp 2015-01-17T19:04:44Z defaultxr joined #lisp 2015-01-17T19:05:32Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-17T19:05:43Z Posterdati: I killed all *.elc under contrib and it works, but I've got 2015-01-17T19:05:54Z Posterdati: cl-labels error 2015-01-17T19:06:03Z Posterdati: because contrib dir is not compiled 2015-01-17T19:10:08Z Posterdati: solved 2015-01-17T19:10:40Z Posterdati: I added to .emacs 2015-01-17T19:11:11Z Posterdati: (add-to-list 'load-path "~/quicklisp/dists/quicklisp/software/slime-2.12") 2015-01-17T19:11:11Z Posterdati: (byte-recompile-directory (expand-file-name "~/quicklisp/dists/quicklisp/software/slime-2.12/contrib") 0) 2015-01-17T19:11:25Z Posterdati: and killed all .elc under contrib 2015-01-17T19:11:58Z Posterdati: thanks people 2015-01-17T19:13:34Z isoraqathedh_l joined #lisp 2015-01-17T19:16:38Z zacharias joined #lisp 2015-01-17T19:17:37Z isoraqathedh quit (Ping timeout: 272 seconds) 2015-01-17T19:18:30Z jangle joined #lisp 2015-01-17T19:19:10Z jangle: anyone here use windows and have gotten any of the gnuplot libraries to work? 2015-01-17T19:24:47Z xyh: how can I define a macro to get :: 2015-01-17T19:24:47Z xyh: (save-array :value value :array array :index-list '(0 0 0)) 2015-01-17T19:24:47Z xyh: ==> 2015-01-17T19:24:47Z xyh: (setf (aref array 0 0 0) value) 2015-01-17T19:25:10Z Bike: sounds more like a function. 2015-01-17T19:25:44Z Bike: (defun save-array (&key value array index-list) (setf (apply #'aref array index-list) value)) 2015-01-17T19:25:52Z Bike: pointlessly verbose, though 2015-01-17T19:26:54Z xyh: SETF can be used with APPLY !!! 2015-01-17T19:26:57Z xyh: cool 2015-01-17T19:26:59Z xyh: thx 2015-01-17T19:27:06Z nyef: Yes, that's a specific license. 2015-01-17T19:27:16Z Bike: only sometimes 2015-01-17T19:27:22Z Bike: clhs 5.1.2.5 2015-01-17T19:27:22Z specbot: APPLY Forms as Places: http://www.lispworks.com/reference/HyperSpec/Body/05_abe.htm 2015-01-17T19:27:43Z nyef: Yeah, that's what I was just trying to look up. 2015-01-17T19:27:52Z pjb: xyh: as long as there's a function named (setf something). But this is not always the case. 2015-01-17T19:27:56Z nyef: It's specifically licensed for AREF, BIT, and SBIT. 2015-01-17T19:28:08Z pjb: xyh: any setf from the standard can be implemented without a setf function. 2015-01-17T19:28:13Z nyef: Otherwise, there must be a SETF function. 2015-01-17T19:28:21Z pjb: xyh: any setf from defstruct can be implemented without a setf function. 2015-01-17T19:32:58Z nyef: And just wait until you get to the mind-bendyness which is SETF* in CLIM. 2015-01-17T19:33:09Z pjb: What did they do there? 2015-01-17T19:33:22Z nyef: Generic functions for multi-value SETF. 2015-01-17T19:33:54Z boogie joined #lisp 2015-01-17T19:33:54Z nyef: AFAICT, it's only ever used with a single parameter, so the leading parameters must all be values. 2015-01-17T19:33:55Z russmatney joined #lisp 2015-01-17T19:34:23Z snits joined #lisp 2015-01-17T19:34:23Z snits quit (Client Quit) 2015-01-17T19:34:34Z Kanae joined #lisp 2015-01-17T19:34:46Z snits joined #lisp 2015-01-17T19:35:38Z snits quit (Client Quit) 2015-01-17T19:35:55Z snits joined #lisp 2015-01-17T19:36:30Z Bike: like, (setf (something ...) (values ...))? 2015-01-17T19:36:40Z nyef: Yes. 2015-01-17T19:36:40Z snits quit (Client Quit) 2015-01-17T19:37:06Z nyef: Where SOMETHING is a generic function rather than a VALUES form or a use of DEFINE-SETF-EXPANDER or whatever it's called. 2015-01-17T19:37:12Z boogie quit (Client Quit) 2015-01-17T19:37:13Z Bike: gosh. 2015-01-17T19:37:50Z nyef: http://bauhh.dyndns.org:8000/clim-spec/2-7.html#_26 2015-01-17T19:37:52Z snits joined #lisp 2015-01-17T19:38:07Z nyef: And http://bauhh.dyndns.org:8000/clim-spec/B-4.html#_1903 2015-01-17T19:38:17Z manuel__ quit (Quit: manuel__) 2015-01-17T19:38:17Z Bike: i think you could do that with define-setf-expander, but it'd be complicated (unlike setf*, i'm sure) 2015-01-17T19:38:51Z Bike: oh, you have defgeneric* anyway. 2015-01-17T19:39:00Z nyef: I implemented SETF* in terms of DEFINE-SETF-EXPANDER anyway. 2015-01-17T19:39:21Z nyef: But it's a bit rough. I think that more MOPpery is called for, eventually. 2015-01-17T19:39:26Z Bike: right, i was reading setf* as its own macro. 2015-01-17T19:40:25Z normanrichards joined #lisp 2015-01-17T19:40:42Z nyef: Digging into that a while back led me to cleaning up some CLtL1isms in SBCL. 2015-01-17T19:43:27Z Karl_Dscc quit (Remote host closed the connection) 2015-01-17T19:50:25Z bytecurry joined #lisp 2015-01-17T19:50:36Z Ragnaroek joined #lisp 2015-01-17T19:50:37Z dpathakj joined #lisp 2015-01-17T19:52:02Z dpathakj left #lisp 2015-01-17T19:52:59Z nell joined #lisp 2015-01-17T19:55:09Z bytecurry quit (Quit: Konversation terminated!) 2015-01-17T19:55:29Z Patzy quit (Remote host closed the connection) 2015-01-17T19:55:38Z Patzy joined #lisp 2015-01-17T19:56:03Z bytecurry joined #lisp 2015-01-17T20:00:59Z bytecurry: What is the best i18n/l10n library for common lisp? The Cliki recommend libraries recommends cl-l10n, but it looks like there have been major changes since the last time the documentation was updated, making the documentation almost useless. 2015-01-17T20:01:18Z pjb: bytecurry: be happy: it's maintained! 2015-01-17T20:01:33Z nyef: (The library, not the documentation, that is.) 2015-01-17T20:01:51Z bytecurry: How can I learn how to use it? 2015-01-17T20:01:59Z pjb: Reading the sources? 2015-01-17T20:02:18Z nyef: Finding something that uses it and reading THOSE sources? 2015-01-17T20:02:20Z pjb: Updating the documentation? 2015-01-17T20:05:23Z isoraqathedh joined #lisp 2015-01-17T20:09:16Z isoraqathedh_l quit (Ping timeout: 255 seconds) 2015-01-17T20:09:40Z urandom__ joined #lisp 2015-01-17T20:10:23Z ikki joined #lisp 2015-01-17T20:17:17Z xyh: I am writing a vm (of an unknown language) in common-lisp, 2015-01-17T20:17:18Z xyh: is there a way to load a image file to a byte-buffer ?? 2015-01-17T20:18:13Z arnaudga joined #lisp 2015-01-17T20:18:14Z isoraqathedh_l joined #lisp 2015-01-17T20:18:56Z legrandin joined #lisp 2015-01-17T20:19:15Z Bike: :element-type '(unsigned-byte 8) on the open call, read-sequence 2015-01-17T20:19:16Z legrandin: hey guys im trying out scheme, how do i get an interpreter on OSX? 2015-01-17T20:19:22Z Bike: try #scheme 2015-01-17T20:19:47Z legrandin left #lisp 2015-01-17T20:19:57Z legrandin joined #lisp 2015-01-17T20:21:22Z bytecurry: xyh: alexandria has a read-file-into-byte-vector if you want to read the entire image into memory at once 2015-01-17T20:21:54Z shka: xyh: read-sequence 2015-01-17T20:21:54Z isoraqathedh quit (Ping timeout: 245 seconds) 2015-01-17T20:22:04Z shka: Bike: damn! 2015-01-17T20:22:09Z shka: good evening lispers 2015-01-17T20:25:33Z arnaudga quit (Ping timeout: 276 seconds) 2015-01-17T20:26:16Z pjb: xyh: (com.informatimago.common-lisp.cesarum.file:binary-file-contents "file") 2015-01-17T20:30:48Z sword quit (Ping timeout: 245 seconds) 2015-01-17T20:30:51Z isoraqathedh joined #lisp 2015-01-17T20:31:52Z oleo quit (Ping timeout: 240 seconds) 2015-01-17T20:35:01Z isoraqathedh_l quit (Ping timeout: 256 seconds) 2015-01-17T20:35:54Z oleo joined #lisp 2015-01-17T20:39:30Z jumblerg joined #lisp 2015-01-17T20:42:38Z windy_ joined #lisp 2015-01-17T20:43:28Z windy_: trying to get mcclim and xming on windows setup. I've installed xming and I'm trying to get the clim demos loaded, but I have a feeling that I have to configure clx to look for xming somehow? does anyone know hwo to do this? i'm having a hard time finding examples for windows 2015-01-17T20:44:08Z sword joined #lisp 2015-01-17T20:44:21Z pjb: the default should work. It's the DISPLAY :0.0 2015-01-17T20:44:24Z Shinmera- joined #lisp 2015-01-17T20:44:56Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-01-17T20:45:10Z Shinmera- is now known as Shinmera 2015-01-17T20:46:04Z badkins: legrandin: http://racket-lang.org/ 2015-01-17T20:46:08Z windy_: pjb: how do I specify this to clx? or 2015-01-17T20:47:36Z windy_: when I run demodemo, I get http://paste.lisp.org/display/145266 2015-01-17T20:47:59Z pjb: (xlib:open-display "localhost" :display 0) 2015-01-17T20:48:07Z pjb: or perhaps: (xlib:open-display "" :display 0) 2015-01-17T20:48:27Z pjb: No, it shouldn't be empty here. 2015-01-17T20:48:59Z windy_: Connection failure to X0.0 server localhost display 0: 2015-01-17T20:49:04Z windy_: with localhost specified 2015-01-17T20:49:31Z pjb: So you may need to configure xming to listen to TCP ports for display :0. 2015-01-17T20:49:40Z windy_: hmm 2015-01-17T20:49:45Z windy_: ok i'll look into that 2015-01-17T20:50:00Z pjb: In the current security touchy environment, they tend to release X servers with disabled listening… 2015-01-17T20:51:14Z russmatney quit (Remote host closed the connection) 2015-01-17T20:53:22Z ikki quit (Ping timeout: 255 seconds) 2015-01-17T20:54:14Z ikki joined #lisp 2015-01-17T20:54:19Z windy_: netstat an shows a listenting socket at 127.0.0.1 6000.... 2015-01-17T20:54:21Z windy_: tcp 2015-01-17T20:54:32Z pjb: That's good. 2015-01-17T20:54:32Z nyef: That's a good start. 2015-01-17T20:54:45Z pjb: Then (xlib:open-display "localhost" :display 0) should work. 2015-01-17T20:55:12Z windy_: i continue to get the aforementioned error, no reason is provided 2015-01-17T20:55:15Z pjb: Unless xming implements the newest latest X11 protocol, where some incompatibility has been put in. 2015-01-17T20:55:23Z windy_: hmm.... 2015-01-17T20:55:42Z windy_: i am running 6.9.0.31, let me see, maybe that is too new 2015-01-17T20:55:50Z pjb: Perhaps try with an older version. 2015-01-17T20:57:12Z nyef: ... they broke the protocol?!? 2015-01-17T20:57:32Z pjb: nyef: at least, clx doesn't work with the latest Xorg servers. 2015-01-17T20:58:05Z nyef: ... Lovely. 2015-01-17T20:58:26Z pjb: A problem for genera too. 2015-01-17T20:58:35Z pjb: Connection failure to X11.0 server localhost display 0: No protocol specified [Condition of type xlib:connection-failure] 2015-01-17T20:58:35Z pjb: 2015-01-17T20:58:42Z windy_: for the record, I'm on windows 7 64 bit, running ccl64bit, running clim from quicklisp 2015-01-17T20:59:39Z pjb: on X.Org X Server 1.12.4 2015-01-17T20:59:44Z ggole quit 2015-01-17T20:59:49Z windy_: hmm... well i'm running the public domain release of xming, with is the oldest one they immediately advertised, which seemed to have been released quite some time ago 2015-01-17T21:00:20Z pjb: That should be good then. Anyways, you don't get the no protocol specified error, so it should be something else. 2015-01-17T21:00:48Z arnaudga joined #lisp 2015-01-17T21:02:44Z windy_: it all of a sudden works now 2015-01-17T21:02:49Z windy_: well the xlib connect call 2015-01-17T21:03:52Z windy_: worked once 2015-01-17T21:04:26Z windy_: huh..... 2015-01-17T21:05:07Z Beetny joined #lisp 2015-01-17T21:05:27Z nikki93 joined #lisp 2015-01-17T21:07:24Z windy_: ok, so it seems that sometimes the xlib:open-display call succeeds. but clim-demo::demodemo still throws up the paste.lisp.org backtrace 2015-01-17T21:08:42Z isoraqathedh_l joined #lisp 2015-01-17T21:09:50Z impulse quit (Ping timeout: 246 seconds) 2015-01-17T21:11:26Z Ragnaroek_ joined #lisp 2015-01-17T21:12:13Z Ragnaroek quit (Ping timeout: 265 seconds) 2015-01-17T21:12:21Z Ragnaroek_ is now known as Ragnaroek 2015-01-17T21:12:26Z isoraqathedh quit (Ping timeout: 264 seconds) 2015-01-17T21:17:03Z Patzy quit (Ping timeout: 265 seconds) 2015-01-17T21:17:21Z Patzy joined #lisp 2015-01-17T21:18:13Z legrandin quit (Quit: Page closed) 2015-01-17T21:21:17Z isoraqathedh joined #lisp 2015-01-17T21:22:38Z sword quit (Ping timeout: 264 seconds) 2015-01-17T21:24:15Z windy_: thanks all. still not working, but looks like I'll just stop trying to target windows for now 2015-01-17T21:24:26Z flash- quit (Ping timeout: 264 seconds) 2015-01-17T21:25:11Z windy_ quit (Quit: Page closed) 2015-01-17T21:25:36Z Ragnaroek_ joined #lisp 2015-01-17T21:26:00Z isoraqathedh_l quit (Ping timeout: 276 seconds) 2015-01-17T21:26:11Z Ragnaroek quit (Ping timeout: 272 seconds) 2015-01-17T21:26:36Z Ragnaroek_ is now known as Ragnaroek 2015-01-17T21:27:18Z Kanae quit (Read error: Connection reset by peer) 2015-01-17T21:27:19Z angavrilov quit (Remote host closed the connection) 2015-01-17T21:27:31Z agumonkey_ quit (Quit: ZNC - http://znc.in) 2015-01-17T21:28:43Z agumonkey joined #lisp 2015-01-17T21:29:37Z shka quit (Remote host closed the connection) 2015-01-17T21:31:38Z cyphase quit (Ping timeout: 264 seconds) 2015-01-17T21:33:45Z eudoxia joined #lisp 2015-01-17T21:35:48Z jangle quit (Quit: Page closed) 2015-01-17T21:36:21Z gravicappa quit (Remote host closed the connection) 2015-01-17T21:37:10Z jbkcc joined #lisp 2015-01-17T21:42:40Z Ragnaroek quit (Ping timeout: 265 seconds) 2015-01-17T21:47:48Z xyh quit (Remote host closed the connection) 2015-01-17T21:51:46Z hiyosi joined #lisp 2015-01-17T21:54:27Z prxq quit (Read error: Connection reset by peer) 2015-01-17T21:56:35Z jlongster joined #lisp 2015-01-17T22:01:20Z dpathakj joined #lisp 2015-01-17T22:02:13Z russmatney joined #lisp 2015-01-17T22:06:51Z russmatney quit (Ping timeout: 252 seconds) 2015-01-17T22:09:22Z eudoxia quit (Ping timeout: 240 seconds) 2015-01-17T22:10:48Z jlongster quit (Ping timeout: 245 seconds) 2015-01-17T22:14:52Z zacharias quit (Ping timeout: 240 seconds) 2015-01-17T22:15:17Z zacharias joined #lisp 2015-01-17T22:19:16Z hoosieree joined #lisp 2015-01-17T22:32:50Z hoosieree quit (Ping timeout: 264 seconds) 2015-01-17T22:33:46Z jlongster joined #lisp 2015-01-17T22:33:57Z slacko6172 joined #lisp 2015-01-17T22:37:39Z pgomes quit (Ping timeout: 252 seconds) 2015-01-17T22:38:03Z pgomes joined #lisp 2015-01-17T22:38:56Z nikki93 quit (Remote host closed the connection) 2015-01-17T22:39:13Z bytecurry quit (Ping timeout: 265 seconds) 2015-01-17T22:48:15Z cyphase joined #lisp 2015-01-17T22:48:34Z cyphase is now known as Guest10939 2015-01-17T22:49:08Z jlongster quit (Ping timeout: 245 seconds) 2015-01-17T22:49:35Z nikki93 joined #lisp 2015-01-17T22:50:25Z theseb quit (Quit: Leaving) 2015-01-17T23:01:58Z abbe: hi 2015-01-17T23:05:08Z normanrichards quit 2015-01-17T23:08:54Z drichards joined #lisp 2015-01-17T23:15:51Z ehu quit (Ping timeout: 244 seconds) 2015-01-17T23:18:37Z Longlius quit (Remote host closed the connection) 2015-01-17T23:22:44Z Patzy quit (Ping timeout: 245 seconds) 2015-01-17T23:23:32Z Patzy joined #lisp 2015-01-17T23:24:14Z jbkcc quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-01-17T23:24:27Z babypie quit (Ping timeout: 256 seconds) 2015-01-17T23:28:00Z pgomes quit (Quit: Leaving) 2015-01-17T23:28:06Z isoraqathedh_l joined #lisp 2015-01-17T23:30:20Z abbe: I need to convert a vector of numbers to vector of unsigned bytes, wondering if doing like this is fine: (coerce #(3 3 3) '(vector (unsigned-byte 8)) ) 2015-01-17T23:31:38Z isoraqathedh quit (Ping timeout: 245 seconds) 2015-01-17T23:31:57Z DrCode quit (Remote host closed the connection) 2015-01-17T23:32:03Z nyef: abbe: You mean you have a (vector t) that you want to coerce to a particular representation? 2015-01-17T23:32:32Z isoraqathedh_l is now known as isoraqathedh 2015-01-17T23:33:21Z abbe: I'm using ironclad library to generate digests, and it expector of vector of bytes, so since before this I never explicitly types in such detail like mentioned above, so I'm just curious, if it's a good practise, or I'm missing something. 2015-01-17T23:33:34Z abbe: s/expector or/expecting a/ 2015-01-17T23:33:42Z abbe: *specified 2015-01-17T23:34:14Z abbe: do I make sense ? 2015-01-17T23:34:26Z nyef: Yeah, that makes a certain amount of sense. 2015-01-17T23:35:01Z nyef: The coerce looks fine, but I haven't actually tried it, and I'm currently C-focused. 2015-01-17T23:35:26Z abbe: C-focused? 2015-01-17T23:35:36Z abbe: thanks for confirming 2015-01-17T23:35:50Z nyef: I'm waist-deep in the Linux kernel, and sinking. 2015-01-17T23:36:13Z abbe: oh! quicksand 2015-01-17T23:36:28Z nyef: Yeah... quicksand! That's it. 2015-01-17T23:40:54Z isoraqathedh_l joined #lisp 2015-01-17T23:41:08Z isoraqathedh quit (Disconnected by services) 2015-01-17T23:41:12Z isoraqathedh_l is now known as isoraqathedh 2015-01-17T23:48:44Z russmatney joined #lisp 2015-01-17T23:50:41Z slacko6172 quit (Remote host closed the connection) 2015-01-17T23:50:50Z gingerale quit (Ping timeout: 264 seconds) 2015-01-17T23:51:49Z DrCode joined #lisp 2015-01-17T23:52:23Z LiamH quit (Quit: Leaving.) 2015-01-17T23:53:24Z kcj joined #lisp 2015-01-17T23:53:45Z isoraqathedh_l joined #lisp 2015-01-17T23:54:50Z isoraqathedh quit (Disconnected by services) 2015-01-17T23:54:55Z isoraqathedh_l is now known as isoraqathedh