2014-11-13T00:01:13Z eazar001 joined #lisp 2014-11-13T00:01:24Z Bicyclidine quit (Ping timeout: 256 seconds) 2014-11-13T00:02:31Z eazar001 quit (Client Quit) 2014-11-13T00:03:13Z Bicyclidine joined #lisp 2014-11-13T00:03:43Z eazar001 joined #lisp 2014-11-13T00:04:59Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2014-11-13T00:05:14Z eazar001_ joined #lisp 2014-11-13T00:05:38Z bsima quit (Quit: Leaving.) 2014-11-13T00:05:39Z eazar001 quit (Read error: Connection reset by peer) 2014-11-13T00:05:46Z bsima` joined #lisp 2014-11-13T00:06:48Z bsima` is now known as bsima 2014-11-13T00:06:49Z P77CAAUFY joined #lisp 2014-11-13T00:07:41Z Bicyclidine quit (Ping timeout: 264 seconds) 2014-11-13T00:08:01Z corni quit (Ping timeout: 244 seconds) 2014-11-13T00:08:06Z eazar001_ quit (Client Quit) 2014-11-13T00:08:25Z eazar001 joined #lisp 2014-11-13T00:08:37Z mishoo_ quit (Ping timeout: 240 seconds) 2014-11-13T00:09:26Z zeitue joined #lisp 2014-11-13T00:09:27Z nha quit (Ping timeout: 245 seconds) 2014-11-13T00:10:05Z henesy quit (Ping timeout: 264 seconds) 2014-11-13T00:12:12Z pavelpenev quit (Remote host closed the connection) 2014-11-13T00:18:58Z Karl_Dscc quit (Remote host closed the connection) 2014-11-13T00:19:54Z Bicyclidine joined #lisp 2014-11-13T00:19:55Z lommm quit (Ping timeout: 250 seconds) 2014-11-13T00:20:12Z francogrex quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-13T00:21:48Z lavokad quit (Remote host closed the connection) 2014-11-13T00:22:05Z harish quit (Ping timeout: 264 seconds) 2014-11-13T00:24:02Z pyx joined #lisp 2014-11-13T00:24:12Z pyx quit (Client Quit) 2014-11-13T00:24:21Z Guest44582 joined #lisp 2014-11-13T00:25:05Z Ranis quit (Read error: Connection reset by peer) 2014-11-13T00:32:55Z slyrus_ joined #lisp 2014-11-13T00:34:16Z slyrus quit (Ping timeout: 256 seconds) 2014-11-13T00:34:36Z slyrus_ is now known as slyrus 2014-11-13T00:35:24Z lommm joined #lisp 2014-11-13T00:37:40Z tessier quit (Changing host) 2014-11-13T00:37:40Z tessier joined #lisp 2014-11-13T00:38:51Z Vutral joined #lisp 2014-11-13T00:39:56Z klltkr_ quit (Ping timeout: 250 seconds) 2014-11-13T00:40:26Z lommm quit (Remote host closed the connection) 2014-11-13T00:42:31Z Guest44582 quit (Quit: cyphase.com) 2014-11-13T00:43:03Z cyphase_ joined #lisp 2014-11-13T00:55:22Z scharan joined #lisp 2014-11-13T00:59:30Z kanru` joined #lisp 2014-11-13T01:04:54Z duggiefresh quit 2014-11-13T01:08:15Z slyrus quit (Ping timeout: 264 seconds) 2014-11-13T01:08:52Z Bicyclidine quit (Ping timeout: 240 seconds) 2014-11-13T01:10:20Z klltkr joined #lisp 2014-11-13T01:10:52Z Bicyclidine joined #lisp 2014-11-13T01:12:03Z freehck: people, I see a strange behaviour of loop 2014-11-13T01:12:36Z freehck: I have this (setf stop-flag t) and next operation is (loop unless stop-flag do ...) 2014-11-13T01:12:57Z nyef: Do you mean (loop until stop-flag do ...)? 2014-11-13T01:13:19Z freehck: hm... 2014-11-13T01:13:31Z freehck: i dont know the difference now 2014-11-13T01:13:35Z freehck: i'll read 2014-11-13T01:13:53Z nyef: Good idea. Once you've done that, the behavior should be less strange. (-: 2014-11-13T01:14:07Z pjb: unless is when not, until is while not. 2014-11-13T01:14:44Z freehck: oh... until is a termination test... 2014-11-13T01:14:45Z nyef: unless and when are conditionals on the following clause. until and while are conditionals on loop exit. 2014-11-13T01:14:53Z freehck: and unless is only a conditional one... ) 2014-11-13T01:15:08Z freehck: thank you! 2014-11-13T01:17:51Z klltkr quit (Ping timeout: 264 seconds) 2014-11-13T01:18:04Z kanru` quit (Ping timeout: 250 seconds) 2014-11-13T01:19:08Z t4nk374 joined #lisp 2014-11-13T01:19:31Z t4nk374 quit (Client Quit) 2014-11-13T01:20:35Z klltkr joined #lisp 2014-11-13T01:22:29Z Kanae joined #lisp 2014-11-13T01:22:44Z alexey joined #lisp 2014-11-13T01:23:42Z TDog quit (Ping timeout: 258 seconds) 2014-11-13T01:24:51Z wooden joined #lisp 2014-11-13T01:25:05Z wooden quit (Changing host) 2014-11-13T01:25:05Z wooden joined #lisp 2014-11-13T01:27:39Z alexey quit (Ping timeout: 265 seconds) 2014-11-13T01:27:44Z My_Hearing quit (Remote host closed the connection) 2014-11-13T01:28:40Z My_Hearing joined #lisp 2014-11-13T01:30:07Z kanru` joined #lisp 2014-11-13T01:34:49Z Bicyclidine quit (Ping timeout: 258 seconds) 2014-11-13T01:36:36Z miql quit (Ping timeout: 256 seconds) 2014-11-13T01:37:19Z BitPuffin quit (Ping timeout: 245 seconds) 2014-11-13T01:39:25Z kanru` quit (Ping timeout: 258 seconds) 2014-11-13T01:43:03Z girrig quit (Ping timeout: 265 seconds) 2014-11-13T01:43:09Z bool_ quit (Ping timeout: 245 seconds) 2014-11-13T01:43:12Z dagnachew joined #lisp 2014-11-13T01:47:55Z girrig joined #lisp 2014-11-13T01:48:05Z bool_ joined #lisp 2014-11-13T01:50:47Z ghard quit (Ping timeout: 265 seconds) 2014-11-13T01:51:16Z ghard joined #lisp 2014-11-13T01:53:26Z innertracks quit (Quit: innertracks) 2014-11-13T01:53:54Z julianb joined #lisp 2014-11-13T01:54:19Z yrk quit (Quit: ERC (IRC client for Emacs 25.0.50.1)) 2014-11-13T01:54:32Z harish joined #lisp 2014-11-13T01:55:01Z miql joined #lisp 2014-11-13T01:55:17Z leb joined #lisp 2014-11-13T01:57:19Z kanru` joined #lisp 2014-11-13T01:59:53Z miql quit (Ping timeout: 264 seconds) 2014-11-13T02:01:39Z MoALTz quit (Read error: Connection reset by peer) 2014-11-13T02:02:30Z MoALTz joined #lisp 2014-11-13T02:02:56Z Nilly joined #lisp 2014-11-13T02:03:09Z vinleod joined #lisp 2014-11-13T02:10:00Z drmeister: I found a problem with my implementation of SHADOWING-IMPORT. 2014-11-13T02:11:11Z yuikov quit (Remote host closed the connection) 2014-11-13T02:11:29Z TDog joined #lisp 2014-11-13T02:11:35Z julianb quit (Ping timeout: 255 seconds) 2014-11-13T02:12:00Z drmeister: Hang on - I'm going somewhere with this... 2014-11-13T02:16:02Z freehck: what parameter contains the name of current working directory? 2014-11-13T02:16:02Z nyef: clhs *d-p-d* 2014-11-13T02:16:02Z specbot: *default-pathname-defaults*: http://www.lispworks.com/reference/HyperSpec/Body/v_defaul.htm 2014-11-13T02:16:02Z nyef: freehck: That, in as much as CL has a concept of "current working directory". 2014-11-13T02:16:02Z drmeister: freehck: *default-pathname-defaults* -- but it's not quite the same as the current working directory. 2014-11-13T02:16:02Z drmeister: It's more like a bunch of default pathname components that get merged with pathnames that you use in CL before the physical pathname is resolved. That's my understanding. 2014-11-13T02:16:02Z freehck: I don't understand it. When I create a file, where should it be created? 2014-11-13T02:16:02Z freehck: I thought that in cwd, as usual 2014-11-13T02:16:06Z MoALTz_ joined #lisp 2014-11-13T02:16:11Z henesy joined #lisp 2014-11-13T02:16:12Z drmeister: Does this look like an appropriate implementation of SHADOWING-IMPORT? 2014-11-13T02:16:19Z drmeister: https://www.irccloud.com/pastebin/8ME7LW5d 2014-11-13T02:16:59Z oconnore quit (Ping timeout: 258 seconds) 2014-11-13T02:17:19Z nyef: freehck: *d-p-d* is usually initialized to point to the cwd, but CL doesn't really have the concept of a cwd. Most implementations will do the obvious thing until you want to change the cwd / rebind *d-p-d*. 2014-11-13T02:17:33Z oconnore joined #lisp 2014-11-13T02:17:48Z freehck: okay, I got. 2014-11-13T02:18:15Z drmeister: I ask because my previous implementation was broken and so I think I fixed it here. Then I do the usual 1) Read the CLHS 2) read my code 3) try and figure out if my code mimics the CLHS behavior 4) if not confident goto step 1 5) Ask on #lisp 2014-11-13T02:18:22Z freehck: so if I rebind *d-p-d*, the file will be created in the right place. 2014-11-13T02:19:17Z MoALTz quit (Ping timeout: 258 seconds) 2014-11-13T02:19:57Z hiyosi quit (Ping timeout: 240 seconds) 2014-11-13T02:21:13Z drmeister: A symbol is "present" in a package if it's :internal or :external to the package - correct? The CLHS glossary says "being accessible in that package directly, rather than being inherited from another package." Which I think means the symbol is :internal or :external in the package. 2014-11-13T02:21:54Z freehck: nyef, drmeister: btw, why there're 2 words "default" in the name of this variable? 2014-11-13T02:22:09Z miql joined #lisp 2014-11-13T02:22:18Z drmeister: My packages maintain three hash tables _ExternalSymbols, _InternalSymbols and _ShadowingSymbols. 2014-11-13T02:22:46Z nyef: freehck: The first one is because you can override the pathname defaults in a few places via an optional function parameter. The second is because it's a set of default values. 2014-11-13T02:23:38Z Amadiro quit (Excess Flood) 2014-11-13T02:23:45Z freehck: a set? but clhs says that it's not a list. 2014-11-13T02:23:55Z freehck: what is set? 2014-11-13T02:24:52Z Amadiro joined #lisp 2014-11-13T02:25:19Z nyef: Set in the sense of "grab bag", "pile", or "collection". Each part of the pathname which is stored in *d-p-d* is used as a default value for the unsupplied part of another pathname when it is used. 2014-11-13T02:25:23Z drmeister: I believe nyef means "set" in the general sense - it's a collection of default values, hostname, directory, filename, type 2014-11-13T02:26:37Z miql quit (Ping timeout: 240 seconds) 2014-11-13T02:26:39Z freehck: well, I think I got it. 2014-11-13T02:27:45Z hiroakip quit (Ping timeout: 272 seconds) 2014-11-13T02:34:14Z MoALTz_ quit (Ping timeout: 258 seconds) 2014-11-13T02:36:28Z Nilly quit (Ping timeout: 264 seconds) 2014-11-13T02:36:28Z xrash joined #lisp 2014-11-13T02:36:28Z Indecipherable joined #lisp 2014-11-13T02:36:29Z MoALTz__ joined #lisp 2014-11-13T02:36:29Z drmeister: Alrighty then - I successfully loaded the asdf system: (asdf:load-system :cleavir-generate-ast) 2014-11-13T02:36:29Z drmeister: beach: ping - when you wake up. 2014-11-13T02:38:16Z freehck: drmeister: is it night in you timezone too? ) 2014-11-13T02:38:29Z drmeister: Oh - and congratulations to your space agency for landing a robot on Comet 67P/Churyumov–Gerasimenko - very exciting. 2014-11-13T02:39:00Z nyef: ... As was the xkcd coverage of the event. 2014-11-13T02:42:39Z freehck: nyef: wow, such a long coverage! ) 2014-11-13T02:43:25Z nyef: Mmm. Something like 142 panels or so, AFAICT. 2014-11-13T02:43:51Z nyef: ( xkcd1446.org ) 2014-11-13T02:44:51Z zRecursive quit (Remote host closed the connection) 2014-11-13T02:45:17Z Indecipherable quit (Ping timeout: 240 seconds) 2014-11-13T02:45:18Z zRecursive joined #lisp 2014-11-13T02:45:28Z robot-beethoven joined #lisp 2014-11-13T02:49:20Z miql joined #lisp 2014-11-13T02:54:16Z miql quit (Ping timeout: 255 seconds) 2014-11-13T02:54:28Z Indecipherable joined #lisp 2014-11-13T02:58:06Z dagnachew quit (Quit: WeeChat 1.0.1) 2014-11-13T02:59:24Z jleija joined #lisp 2014-11-13T03:03:53Z tadni quit (Ping timeout: 240 seconds) 2014-11-13T03:09:10Z Indecipherable quit (Read error: Connection reset by peer) 2014-11-13T03:09:17Z MoALTz joined #lisp 2014-11-13T03:11:51Z MoALTz__ quit (Ping timeout: 264 seconds) 2014-11-13T03:13:27Z bb010g joined #lisp 2014-11-13T03:16:30Z miql joined #lisp 2014-11-13T03:17:11Z hiyosi joined #lisp 2014-11-13T03:17:43Z meiji11 joined #lisp 2014-11-13T03:17:57Z Nilly joined #lisp 2014-11-13T03:21:16Z miql quit (Ping timeout: 255 seconds) 2014-11-13T03:21:54Z hiyosi quit (Ping timeout: 245 seconds) 2014-11-13T03:23:50Z alexey joined #lisp 2014-11-13T03:25:39Z ggole joined #lisp 2014-11-13T03:27:52Z alexey quit (Ping timeout: 240 seconds) 2014-11-13T03:28:37Z yuikov joined #lisp 2014-11-13T03:29:17Z Nilly quit (Ping timeout: 250 seconds) 2014-11-13T03:31:43Z foom quit (Ping timeout: 272 seconds) 2014-11-13T03:32:16Z innertracks joined #lisp 2014-11-13T03:33:09Z drmeister: beach: I got something to run but it threw an error. 2014-11-13T03:33:25Z drmeister: https://www.irccloud.com/pastebin/K4H2GKZY 2014-11-13T03:34:43Z drmeister: I don't see any specializations of cleavir-environment::make-info on lexical-variable 2014-11-13T03:36:22Z drmeister: beach: I'll provide you with the script if you want it when you come online. It's just what I posted yesterday and I copied your hostile environment variable-info and function-info functions. 2014-11-13T03:37:52Z innertracks quit (Quit: innertracks) 2014-11-13T03:40:42Z innertracks joined #lisp 2014-11-13T03:41:05Z nand1 quit (Remote host closed the connection) 2014-11-13T03:41:08Z TDog quit (Ping timeout: 255 seconds) 2014-11-13T03:41:14Z nand1 joined #lisp 2014-11-13T03:43:13Z Nilly joined #lisp 2014-11-13T03:43:42Z miql joined #lisp 2014-11-13T03:43:51Z innertracks quit (Client Quit) 2014-11-13T03:44:08Z foom joined #lisp 2014-11-13T03:48:07Z miql quit (Ping timeout: 244 seconds) 2014-11-13T03:48:17Z beach joined #lisp 2014-11-13T03:48:25Z beach: Good morning everyone! 2014-11-13T03:49:49Z beach: drmeister: Looking into that error. 2014-11-13T03:49:52Z beach: Hold on... 2014-11-13T03:50:42Z nyef: Hello beach. 2014-11-13T03:50:52Z drmeister: Howdy 2014-11-13T03:51:13Z drmeister: beach: I haven't done anything with lexical environments at this stage. 2014-11-13T03:51:17Z xrash quit 2014-11-13T03:51:40Z xrash joined #lisp 2014-11-13T03:51:41Z drmeister: Here's the script I ran. 2014-11-13T03:52:11Z drmeister: https://www.irccloud.com/pastebin/otrKW8XV 2014-11-13T03:54:15Z yuikov quit (Remote host closed the connection) 2014-11-13T03:54:50Z yuikov joined #lisp 2014-11-13T03:58:42Z beach: OK, I don't see anything obvious. Let me run your example. 2014-11-13T03:59:35Z yuikov quit (Ping timeout: 272 seconds) 2014-11-13T04:02:02Z bsima quit (Remote host closed the connection) 2014-11-13T04:02:18Z bsima joined #lisp 2014-11-13T04:03:11Z beach: Well, your example works in the test environment here. 2014-11-13T04:03:30Z beach: I am trying to read your backtrace. 2014-11-13T04:05:05Z bsima quit (Client Quit) 2014-11-13T04:05:19Z drmeister quit (Read error: Connection reset by peer) 2014-11-13T04:05:37Z drmeister joined #lisp 2014-11-13T04:05:43Z easye` joined #lisp 2014-11-13T04:06:12Z leb quit (Quit: Computer has gone to sleep.) 2014-11-13T04:06:42Z lonjil joined #lisp 2014-11-13T04:07:07Z nhanH_ joined #lisp 2014-11-13T04:07:37Z MoALTz_ joined #lisp 2014-11-13T04:07:41Z beach: drmeister: I don't know whether this makes any sense to you, but let me say it anyway. MAKE-INFO seems to be called with an environment object rather than an INFO object. MAKE-INFO is called on the return value of DEFINING-VARIABLE-INFO, and I don't see how it could return something other than an INFO object. 2014-11-13T04:09:26Z rvirding__ joined #lisp 2014-11-13T04:09:30Z leb joined #lisp 2014-11-13T04:09:40Z p_l_ joined #lisp 2014-11-13T04:09:43Z faheem__ joined #lisp 2014-11-13T04:10:20Z gregburd_ joined #lisp 2014-11-13T04:10:34Z _zxq9_ joined #lisp 2014-11-13T04:10:44Z drmeister: The defining-info value is nil when it is passed to make-info. 2014-11-13T04:10:53Z miql joined #lisp 2014-11-13T04:11:02Z beach: Oh, hold on... 2014-11-13T04:11:22Z vsync_ joined #lisp 2014-11-13T04:11:28Z justinmcp_ joined #lisp 2014-11-13T04:11:41Z byte48_ joined #lisp 2014-11-13T04:11:43Z quazimod1 joined #lisp 2014-11-13T04:11:50Z shwouchk_ joined #lisp 2014-11-13T04:11:56Z drmeister: So in default-info-methods.lisp line 320: (let ((defining-info (defining-variable-info environment symbol))) (make-info environment defining-info) the value returned by defining-variable-info is nil. 2014-11-13T04:12:18Z teiresia1 joined #lisp 2014-11-13T04:12:23Z InvalidC1 joined #lisp 2014-11-13T04:12:25Z aerique_ joined #lisp 2014-11-13T04:12:25Z drdo quit (Ping timeout: 272 seconds) 2014-11-13T04:12:25Z nhanH quit (Ping timeout: 272 seconds) 2014-11-13T04:12:25Z benny quit (Ping timeout: 272 seconds) 2014-11-13T04:12:25Z Hydan quit (Ping timeout: 272 seconds) 2014-11-13T04:12:26Z madmalik quit (Ping timeout: 272 seconds) 2014-11-13T04:12:26Z easye quit (Ping timeout: 272 seconds) 2014-11-13T04:12:26Z birk quit (Ping timeout: 272 seconds) 2014-11-13T04:12:26Z rvirding_ quit (Ping timeout: 272 seconds) 2014-11-13T04:12:26Z eazar001 quit (Ping timeout: 272 seconds) 2014-11-13T04:12:26Z gregburd quit (Ping timeout: 272 seconds) 2014-11-13T04:12:26Z shwouchk quit (Ping timeout: 272 seconds) 2014-11-13T04:12:26Z vsync quit (Ping timeout: 272 seconds) 2014-11-13T04:12:26Z sbryant quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z p_l quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z joshe quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z Riviera quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z alexherbo2 quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z GGMethos quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z xrash quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z salv0 quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z gko quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z faheem_ quit (Ping timeout: 272 seconds) 2014-11-13T04:12:27Z TheMoonMaster quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z MoALTz quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z oleo__ quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z quazimodo quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z justinmcp quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z teiresias quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z ramus quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z zxq9 quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z gabot quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z TrafficMan quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z AeroNotix quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z byte48 quit (Ping timeout: 272 seconds) 2014-11-13T04:12:28Z InvalidCo quit (Ping timeout: 272 seconds) 2014-11-13T04:12:29Z tmh_ joined #lisp 2014-11-13T04:12:29Z kcj joined #lisp 2014-11-13T04:12:29Z aerique quit (Ping timeout: 272 seconds) 2014-11-13T04:12:29Z kcj quit (Changing host) 2014-11-13T04:12:29Z kcj joined #lisp 2014-11-13T04:12:30Z Hydan` joined #lisp 2014-11-13T04:12:33Z Nilly quit (Quit: Client Exiting) 2014-11-13T04:12:37Z nhanH_ is now known as nhanH 2014-11-13T04:12:37Z ramus joined #lisp 2014-11-13T04:12:37Z drdo` joined #lisp 2014-11-13T04:12:38Z salv0 joined #lisp 2014-11-13T04:12:41Z xrash joined #lisp 2014-11-13T04:12:41Z Hydan` is now known as Hydan 2014-11-13T04:12:53Z sav quit (Ping timeout: 272 seconds) 2014-11-13T04:12:54Z drdo` is now known as drdo 2014-11-13T04:13:02Z beach: drmeister: Yes, I see. 2014-11-13T04:13:14Z rvirding__ is now known as rvirding_ 2014-11-13T04:13:25Z AeroNotix joined #lisp 2014-11-13T04:13:26Z gabot joined #lisp 2014-11-13T04:14:04Z faheem__ is now known as faheem_ 2014-11-13T04:14:04Z Sgeo quit (Read error: Connection reset by peer) 2014-11-13T04:14:26Z sbryant joined #lisp 2014-11-13T04:14:31Z gregburd_ is now known as gregburd 2014-11-13T04:14:38Z oleo__ joined #lisp 2014-11-13T04:15:16Z drmeister: ENVIRONMENT is a cleavir-environment:lexical-variable with three slots ( INSTANCE... X INSTANCE...) 2014-11-13T04:15:25Z drmeister: The value of SYMBOL is Y 2014-11-13T04:15:47Z miql quit (Ping timeout: 265 seconds) 2014-11-13T04:15:47Z TheMoonMaster joined #lisp 2014-11-13T04:16:35Z gko joined #lisp 2014-11-13T04:18:13Z drmeister: I'm guessing in defining-variable-info the (name environment) --> X and symbol --> Y and so it's falling through to the else clause which recursively calls defining-variable-info which I guess is returning nil. 2014-11-13T04:18:53Z beach: Yeah. 2014-11-13T04:19:00Z beach: So there are two problems. 2014-11-13T04:19:28Z beach: 1. Cleavir should clearly signal an error rather than fail when defining-variable-info returns nil. 2014-11-13T04:19:44Z TrafficMan joined #lisp 2014-11-13T04:19:51Z beach: 2. It should not return NIL for this example. 2014-11-13T04:20:40Z beach: The only way defining-variable-info can return NIL (as far as I can see) is if the method on the global environment returns NIL. 2014-11-13T04:20:53Z drmeister: "No plan survives contact with the enemy" 2014-11-13T04:21:01Z beach: And in this case, the variable should have been found in the local environment. 2014-11-13T04:21:03Z nyef: "... so be the enemy"? 2014-11-13T04:21:18Z madmalik joined #lisp 2014-11-13T04:21:54Z Nilly joined #lisp 2014-11-13T04:23:11Z drmeister: Is it something to do with the variable-info method I copied from you? I didn't look at it too closely but it looked like it should work with Clasp. Or is it the lexical environments that I haven't dealt with at all yet? 2014-11-13T04:24:53Z beach: Do you mean the variable-info method on your global environment? 2014-11-13T04:25:01Z beach: No, that should not be the case. 2014-11-13T04:25:24Z alexherbo2 joined #lisp 2014-11-13T04:26:06Z beach: Perhaps you can tell me which method of defining-variable-info returns NIL here? 2014-11-13T04:27:15Z Sgeo joined #lisp 2014-11-13T04:27:27Z eazar001 joined #lisp 2014-11-13T04:27:30Z beach: If it is the one on your global environment, then this means that the method on the Cleavir lexical environments fails to find one of your local variables. 2014-11-13T04:29:30Z drmeister: What would (next environment) return? 2014-11-13T04:29:35Z drmeister: Hang on I'll trace it 2014-11-13T04:29:40Z beach: Yeah. 2014-11-13T04:29:47Z beach: Trace defining-variable-info. 2014-11-13T04:30:21Z beach: (NEXT ENVIRONMENT) is just the next environment in the chain of environments. 2014-11-13T04:30:36Z beach: It should end with the global environment. 2014-11-13T04:33:43Z drmeister: https://www.irccloud.com/pastebin/PV8G9wz8 2014-11-13T04:33:59Z drmeister: It goes past the global environment and ends with NIL 2014-11-13T04:34:12Z drmeister: No, sorry. 2014-11-13T04:34:21Z drmeister: It ends with the global environment but that returns NIL 2014-11-13T04:34:30Z beach: Sure. 2014-11-13T04:34:37Z beach: There is no Y in the global env. 2014-11-13T04:34:48Z beach: But why does it not find it in the local environment? 2014-11-13T04:34:57Z drmeister: Shouldn't it find Y in the lexical environment? 2014-11-13T04:35:00Z drmeister: Right 2014-11-13T04:35:03Z beach: Yes. 2014-11-13T04:35:53Z bgs100 quit (Quit: bgs100) 2014-11-13T04:35:57Z beach: Wait. I think I got it. 2014-11-13T04:36:00Z drmeister: It doesn't seem to search the lexical environment at all. 2014-11-13T04:36:14Z beach: Yes, it does. 2014-11-13T04:36:22Z beach: The first line of the backtrace. 2014-11-13T04:36:32Z beach: But I see the same problem here now. 2014-11-13T04:36:40Z beach: So now I can start figuring out the problem. 2014-11-13T04:37:37Z drmeister: defining-variable-info just tests (eq symbol (name environment)) How does the lexical-variable environment represent variables. 2014-11-13T04:38:05Z miql joined #lisp 2014-11-13T04:41:28Z drmeister: brb 2014-11-13T04:43:03Z miql quit (Ping timeout: 264 seconds) 2014-11-13T04:43:38Z xrash quit (Remote host closed the connection) 2014-11-13T04:44:35Z beach: A lexical variable is represented by an instance of LEXICAL-VARIABLE. 2014-11-13T04:45:19Z beach: The problem here is probably not in the environment code, but in the AST generation code. 2014-11-13T04:46:23Z chu joined #lisp 2014-11-13T04:46:33Z beach: It searches for X in an environment that contains only Y. 2014-11-13T04:46:37Z beach: This should not happen. 2014-11-13T04:48:15Z shortCircuit__ joined #lisp 2014-11-13T04:51:07Z _zxq9_ is now known as zxq9 2014-11-13T04:51:10Z zxq9 quit (Quit: Konversation terminated!) 2014-11-13T04:51:18Z zxq9 joined #lisp 2014-11-13T04:51:22Z Ryan_Burnside quit (Ping timeout: 244 seconds) 2014-11-13T04:53:04Z zacharia1 joined #lisp 2014-11-13T04:54:19Z ofosos joined #lisp 2014-11-13T04:55:52Z zacharias quit (Ping timeout: 240 seconds) 2014-11-13T04:56:28Z Ryan_Burnside joined #lisp 2014-11-13T04:59:37Z TDog joined #lisp 2014-11-13T05:01:54Z zxq9 quit (Quit: Konversation terminated!) 2014-11-13T05:05:17Z miql joined #lisp 2014-11-13T05:06:17Z hiyosi joined #lisp 2014-11-13T05:06:32Z Ethan- quit (Ping timeout: 245 seconds) 2014-11-13T05:09:49Z miql quit (Ping timeout: 250 seconds) 2014-11-13T05:09:54Z beach: drmeister: I need to wake up a bit more before I debug this problem, but I have a pretty good idea what it is. I'll have it done by the time you wake up in the morning. 2014-11-13T05:11:07Z hiyosi quit (Ping timeout: 245 seconds) 2014-11-13T05:19:20Z CrazyWoods joined #lisp 2014-11-13T05:24:34Z alexey joined #lisp 2014-11-13T05:28:33Z MrWoohoo quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-11-13T05:29:02Z alexey quit (Ping timeout: 245 seconds) 2014-11-13T05:29:32Z innertracks joined #lisp 2014-11-13T05:29:48Z Ryan_Burnside quit (Ping timeout: 258 seconds) 2014-11-13T05:30:38Z pranavrc joined #lisp 2014-11-13T05:31:47Z nand1` joined #lisp 2014-11-13T05:32:00Z bullone joined #lisp 2014-11-13T05:32:26Z miql joined #lisp 2014-11-13T05:34:34Z nand1 quit (Ping timeout: 265 seconds) 2014-11-13T05:37:10Z miql quit (Ping timeout: 255 seconds) 2014-11-13T05:37:41Z allen joined #lisp 2014-11-13T05:37:50Z allen: does anyone know where I can find this package? chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html 2014-11-13T05:38:14Z allen: I'm sorry: http://repository.upenn.edu/cis_reports/537/ 2014-11-13T05:40:12Z nyef quit (Quit: G'night all) 2014-11-13T05:43:05Z jlarocco quit (Quit: This computer has gone to sleep) 2014-11-13T05:43:18Z drmeister: Great! Thank you. 2014-11-13T05:44:14Z Ryan_Burnside joined #lisp 2014-11-13T05:48:35Z ndrei joined #lisp 2014-11-13T05:48:52Z innertracks quit (Quit: innertracks) 2014-11-13T05:49:11Z innertracks joined #lisp 2014-11-13T05:51:18Z TDog quit (Ping timeout: 244 seconds) 2014-11-13T05:51:53Z TDog joined #lisp 2014-11-13T05:57:20Z chu quit (Remote host closed the connection) 2014-11-13T05:57:34Z chu joined #lisp 2014-11-13T05:59:20Z innertracks quit (Quit: innertracks) 2014-11-13T05:59:38Z miql joined #lisp 2014-11-13T06:00:06Z allen quit (Quit: leaving) 2014-11-13T06:00:57Z yuikov joined #lisp 2014-11-13T06:01:37Z Petit_Dejeuner_ joined #lisp 2014-11-13T06:03:38Z Petit_Dejeuner quit (Ping timeout: 265 seconds) 2014-11-13T06:04:30Z miql quit (Ping timeout: 250 seconds) 2014-11-13T06:05:28Z t4nk763 quit (Ping timeout: 246 seconds) 2014-11-13T06:09:27Z girrig quit (Ping timeout: 245 seconds) 2014-11-13T06:10:12Z jumblerg joined #lisp 2014-11-13T06:10:51Z jleija quit (Quit: leaving) 2014-11-13T06:11:02Z girrig joined #lisp 2014-11-13T06:13:59Z beach` joined #lisp 2014-11-13T06:15:42Z beach quit (Ping timeout: 245 seconds) 2014-11-13T06:20:35Z beach` is now known as beach 2014-11-13T06:25:43Z bsima joined #lisp 2014-11-13T06:26:48Z miql joined #lisp 2014-11-13T06:27:31Z loz joined #lisp 2014-11-13T06:29:45Z oleo__ quit (Quit: Verlassend) 2014-11-13T06:30:41Z leb quit (Quit: Textual IRC Client: www.textualapp.com) 2014-11-13T06:31:29Z miql quit (Ping timeout: 245 seconds) 2014-11-13T06:32:37Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-13T06:35:38Z loz quit (Quit: Leaving.) 2014-11-13T06:38:52Z ofosos quit (Ping timeout: 264 seconds) 2014-11-13T06:42:06Z tesuji joined #lisp 2014-11-13T06:42:06Z Nilly quit (Read error: Connection reset by peer) 2014-11-13T06:42:18Z Ethan- joined #lisp 2014-11-13T06:43:48Z zeebrah joined #lisp 2014-11-13T06:51:53Z ggole: sympa.inria.fr redirects to https, but doesn't have a valid cert >_< 2014-11-13T06:52:28Z slyrus joined #lisp 2014-11-13T06:52:51Z ggole: (Wrong channel.) 2014-11-13T06:53:59Z miql joined #lisp 2014-11-13T06:53:59Z cy quit (Quit: :q!) 2014-11-13T06:55:06Z hiyosi joined #lisp 2014-11-13T06:58:35Z miql quit (Ping timeout: 250 seconds) 2014-11-13T07:00:24Z hiyosi quit (Ping timeout: 250 seconds) 2014-11-13T07:01:05Z InvalidC1 is now known as InvalidCo 2014-11-13T07:01:27Z alexey joined #lisp 2014-11-13T07:02:17Z wooden quit (Ping timeout: 255 seconds) 2014-11-13T07:04:20Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-11-13T07:04:45Z zRecursive quit (Remote host closed the connection) 2014-11-13T07:04:46Z keen___________1 quit (Read error: Connection reset by peer) 2014-11-13T07:07:19Z keen___________1 joined #lisp 2014-11-13T07:07:29Z Ryan_Burnside quit (Quit: Leaving) 2014-11-13T07:10:45Z hiroakip joined #lisp 2014-11-13T07:13:43Z yuikov quit (Remote host closed the connection) 2014-11-13T07:14:15Z yuikov joined #lisp 2014-11-13T07:14:49Z shortCircuit__ quit (Ping timeout: 245 seconds) 2014-11-13T07:15:29Z defaultxr quit (Ping timeout: 264 seconds) 2014-11-13T07:15:35Z hiroakip quit (Ping timeout: 265 seconds) 2014-11-13T07:17:01Z drmeister: beach: If you are still online - could you point me to your web page where you had code samples and HIR graphs? 2014-11-13T07:18:25Z yuikov_ joined #lisp 2014-11-13T07:19:25Z edgar-rft joined #lisp 2014-11-13T07:19:59Z drmeister: It's ok - I found it in my browser history. 2014-11-13T07:21:03Z drmeister: I finished editing a thesis and I thought I'd reward myself by doing a little coding. (I have a weird personal reward structure). 2014-11-13T07:21:11Z miql joined #lisp 2014-11-13T07:22:50Z yuikov quit (Ping timeout: 256 seconds) 2014-11-13T07:22:52Z drmeister: https://www.irccloud.com/pastebin/eULsiO2s 2014-11-13T07:23:09Z drmeister: I'll try that again: I tried this example: 2014-11-13T07:23:14Z drmeister: https://www.irccloud.com/pastebin/Zl72B5yB 2014-11-13T07:23:39Z drmeister: This time it worked until it was trying to generate the graph! 2014-11-13T07:24:05Z drmeister: https://www.irccloud.com/pastebin/XzfqgEc9 2014-11-13T07:24:10Z stepnem joined #lisp 2014-11-13T07:24:28Z fragamus quit (Ping timeout: 264 seconds) 2014-11-13T07:24:51Z drmeister: beach: Sorry, I'm breaking your code. :-( It's really cool though and I'm tremendously excited that these examples have gotten as far as they have. 2014-11-13T07:25:38Z pjb: drmeister: the presence of symbols in packages is a primitive notion. Have a look at Xach's package abstract implementation (or my implementation derived of it in https://gitorious.org/com-informatimago/com-informatimago/source/common-lisp/lisp-reader ). 2014-11-13T07:26:03Z miql quit (Ping timeout: 272 seconds) 2014-11-13T07:26:08Z pjb: drmeister: Xach's named zpack.lisp 2014-11-13T07:27:01Z Shinmera joined #lisp 2014-11-13T07:27:08Z pjb: drmeister: cf. clhs import 2014-11-13T07:28:38Z drmeister: pjb: Thank you - I'll have to look at it tomorrow. I need to drag my tired carcass to bed. It's been an exhausting couple of weeks. 2014-11-13T07:28:50Z meiji11 quit (Remote host closed the connection) 2014-11-13T07:30:15Z drmeister: But now I'm curious think about what you just said. Could you summarize what you do with symbols if you don't store them in packages? 2014-11-13T07:30:49Z pjb: Oh, they are stored in packages. 2014-11-13T07:31:53Z pjb: But a symbol can be accessible in a package thru the use-list, which is a list of packages of which we search the exported symbols, OR, it can be accessible in a package as an interned symbol, or an imported symbol (both are present symbols). 2014-11-13T07:32:44Z pjb: Notably, the exported symbols of used package can be shadowed, but there's no such notion for present symbols: they are either interned or imported, you can have different symbols with same names being both. 2014-11-13T07:33:16Z shortCircuit__ joined #lisp 2014-11-13T07:33:17Z fridim_ joined #lisp 2014-11-13T07:33:28Z drmeister: That's what I do: my packages are implemented in C++ and have these instance variables: 2014-11-13T07:33:33Z drmeister: https://www.irccloud.com/pastebin/wVWk5Fo8 2014-11-13T07:33:57Z pjb: You may compare with https://gitorious.org/com-informatimago/com-informatimago/source/1ee0848bf0ee59d55dac072600ca6404a5ef1090:common-lisp/lisp-reader/package-fun.lisp#L757 2014-11-13T07:34:58Z pjb: InternalSymbols = present-table. 2014-11-13T07:35:10Z pjb: In InternalSymbols you will have both interned and imported symbols. 2014-11-13T07:35:23Z pjb: Notice that means that a symbol can be in several InternalSymbols hashtables. 2014-11-13T07:35:51Z pjb: (symbol-package gives the home package of a symbol, if it has one). 2014-11-13T07:36:29Z drmeister: Ok, I see that. I'm afraid that I shouldn't have asked in the state I'm in - higher brain functions ... shutting down ... would very much like to continue the conversation but must sleep. 2014-11-13T07:36:40Z pjb: Good night! 2014-11-13T07:37:11Z Lowl3v3l joined #lisp 2014-11-13T07:38:13Z tesuji quit (Ping timeout: 255 seconds) 2014-11-13T07:39:02Z cmbntr_ quit (Ping timeout: 245 seconds) 2014-11-13T07:40:22Z beppu quit (Ping timeout: 240 seconds) 2014-11-13T07:40:57Z beach: drmeister: I'll look at your stuff later. Now I must go. 2014-11-13T07:41:01Z beach left #lisp 2014-11-13T07:41:45Z zacharia1 quit (Ping timeout: 265 seconds) 2014-11-13T07:45:02Z quazimod1 quit (Ping timeout: 255 seconds) 2014-11-13T07:46:04Z slyrus quit (Ping timeout: 256 seconds) 2014-11-13T07:47:20Z tadni joined #lisp 2014-11-13T07:48:20Z miql joined #lisp 2014-11-13T07:52:02Z Beetny joined #lisp 2014-11-13T07:52:29Z nha joined #lisp 2014-11-13T07:52:57Z miql quit (Ping timeout: 240 seconds) 2014-11-13T07:52:57Z quazimodo joined #lisp 2014-11-13T07:58:59Z bsima quit (Ping timeout: 255 seconds) 2014-11-13T07:59:01Z yuikov_ quit (Remote host closed the connection) 2014-11-13T07:59:36Z yuikov joined #lisp 2014-11-13T08:00:34Z alexey quit (Remote host closed the connection) 2014-11-13T08:02:17Z corni joined #lisp 2014-11-13T08:04:10Z yuikov quit (Remote host closed the connection) 2014-11-13T08:04:22Z yuikov joined #lisp 2014-11-13T08:06:45Z munksgaard joined #lisp 2014-11-13T08:11:47Z Beetny quit (Read error: Connection reset by peer) 2014-11-13T08:12:02Z axion: hi guys 2014-11-13T08:13:10Z axion: with a nested dolist loop, is it better to create a top-level let binding with all the vars you need and setf or similar within the loops, or use multiple let forms at each step, or something else? 2014-11-13T08:14:11Z mishoo_ joined #lisp 2014-11-13T08:14:46Z MoALTz__ joined #lisp 2014-11-13T08:14:51Z Grue`: it's better to just use LOOP 2014-11-13T08:15:06Z gravicappa joined #lisp 2014-11-13T08:15:18Z slyrus joined #lisp 2014-11-13T08:15:33Z miql joined #lisp 2014-11-13T08:15:44Z axion: Grue`: why is that? i'm actually rewriting a LOOP to be more concise 2014-11-13T08:16:45Z karswell quit (Read error: Connection reset by peer) 2014-11-13T08:16:59Z Grue`: I'm not sure how several lets and setfs are more concise than LOOP constructs 2014-11-13T08:17:20Z MoALTz__ quit (Read error: Connection reset by peer) 2014-11-13T08:17:53Z MoALTz_ quit (Ping timeout: 250 seconds) 2014-11-13T08:18:20Z clog quit (Ping timeout: 255 seconds) 2014-11-13T08:19:21Z mrSpec joined #lisp 2014-11-13T08:20:18Z axion: ok i'll take that into consideration, though i am not very happy with my loop construct. i'll experiment some more, though everytime i write a LOOP i think it's ugly and could be read more easily with lispy constructs 2014-11-13T08:20:33Z cmbntr joined #lisp 2014-11-13T08:20:52Z miql quit (Ping timeout: 264 seconds) 2014-11-13T08:20:55Z Grue`: well, it's a matter of preference. there's also ITERATE library which is a more lispy loop 2014-11-13T08:21:11Z axion: i've yet to try that. might be a good time. thanks 2014-11-13T08:21:25Z lavokad joined #lisp 2014-11-13T08:21:35Z yuikov quit (Remote host closed the connection) 2014-11-13T08:21:56Z karswell joined #lisp 2014-11-13T08:23:12Z Harag joined #lisp 2014-11-13T08:25:33Z madmalik quit (Quit: Connection closed for inactivity) 2014-11-13T08:28:34Z zacharias joined #lisp 2014-11-13T08:28:48Z loke: Grue`: I've always been confused by that... more "lispy"? Just because the clauses is surrounded by parns? 2014-11-13T08:29:31Z loke: If anything, LOOP completely embodies "lispiness". Implementing an ideal DSL within the foundations of the language itself. 2014-11-13T08:29:36Z corni quit (Ping timeout: 265 seconds) 2014-11-13T08:29:51Z beppu joined #lisp 2014-11-13T08:30:48Z Grue`: it's not lispy enough because it's impossible to define your own loop constructs 2014-11-13T08:31:08Z Shinmera: Not portably anyway. 2014-11-13T08:31:56Z pjb: axion: in general, if you can avoid setf it's better (more functional oriented). 2014-11-13T08:32:21Z Harag quit (Read error: Connection reset by peer) 2014-11-13T08:32:45Z loke: Grue`: OK, I can agree with that, which also assumed that NTH, +, COPY-SEQ and MAP are also not lispy? 2014-11-13T08:35:21Z Shinmera: In other lispy things, OpenGL but not using OpenGL http://plaster.tymoon.eu/view/7F 2014-11-13T08:36:37Z loke: WHat does #_ do? 2014-11-13T08:36:49Z Shinmera: Invoke Qt C++ methods 2014-11-13T08:36:58Z Shinmera: or rather it expands to an optimized form that does that 2014-11-13T08:37:06Z Shinmera: A part of CommonQt 2014-11-13T08:37:16Z loke: Shinmera: Aren't those just plain C++ classes? 2014-11-13T08:37:41Z Shinmera: loke: I'm not sure what you mean by that 2014-11-13T08:37:58Z loke: I mean that QT doesn't have "special" classes, like GTK has 2014-11-13T08:38:23Z Shinmera: I'm sorry, I still don't follow. 2014-11-13T08:38:27Z loke: I.e. the QT methods are just bog standard C++ methods like any other 2014-11-13T08:38:35Z Shinmera: Well yes. 2014-11-13T08:38:43Z henesy quit (Ping timeout: 265 seconds) 2014-11-13T08:38:55Z Harag joined #lisp 2014-11-13T08:39:07Z Shinmera: smokeqt generates C wrappers for the methods which CommonQt accesses. More or less anyway. 2014-11-13T08:39:36Z loke: So I'd assume that whatever smokeqt is, it should be able to do the same for any C++ classes? 2014-11-13T08:39:40Z loke: Not just the qt ones 2014-11-13T08:40:08Z Shinmera: I'm not sure. Smoke is the general program/library to generate wrappers, smokeqt is just an application of that for Qt. 2014-11-13T08:40:13Z Shinmera: Though stassats says smoke sucks 2014-11-13T08:40:15Z Shinmera: so 2014-11-13T08:40:30Z loke: Well, QT being built on C++ is a huge problem, not just for Lisp 2014-11-13T08:40:51Z Shinmera: He hopes to use Clasp to parse the Qt source and generate wrappers directly, if I understood correctly. 2014-11-13T08:41:23Z loke: ...which then can be used for other CL's? not just clasp? 2014-11-13T08:41:44Z Shinmera: I'd hope so. 2014-11-13T08:41:48Z loke: Interesting 2014-11-13T08:41:53Z Lowl3v3l quit (Read error: Connection reset by peer) 2014-11-13T08:42:05Z Shinmera: You'd better ask him once he's online, I'm only relaying what I remember. 2014-11-13T08:42:19Z loke: OK, I'll do that. If I remember myself. 2014-11-13T08:42:32Z loke: I'm only superficially interested in anything C++. 2014-11-13T08:42:35Z Shinmera: My 'job' currently is only writing tools to make working with Qt/CommonQt a bit easier and lispier. 2014-11-13T08:42:43Z miql joined #lisp 2014-11-13T08:43:15Z Shinmera: So I don't know much about how the actual implementation of CommonQt works exactly. 2014-11-13T08:44:02Z yuikov joined #lisp 2014-11-13T08:44:05Z loke: Shinmera: Job as in paid job? 2014-11-13T08:44:15Z Shinmera: No, hence the quotes. It's just what I set as my current task. 2014-11-13T08:44:37Z effy quit (Quit: No Ping reply in 180 seconds.) 2014-11-13T08:44:42Z hiyosi joined #lisp 2014-11-13T08:45:04Z effy joined #lisp 2014-11-13T08:45:08Z Shinmera: I wish I got paid for writing oepn source CL libraries, haha. 2014-11-13T08:45:10Z Shinmera: *open 2014-11-13T08:47:19Z Shinmera: (in case anyone's interested, the library I'm talking about is http://shinmera.github.io/qtools/ ) 2014-11-13T08:47:54Z miql quit (Ping timeout: 265 seconds) 2014-11-13T08:49:31Z hiyosi quit (Ping timeout: 258 seconds) 2014-11-13T08:52:09Z MoALTz joined #lisp 2014-11-13T08:58:03Z Harag quit (Ping timeout: 265 seconds) 2014-11-13T09:00:10Z alexey joined #lisp 2014-11-13T09:00:36Z madmalik joined #lisp 2014-11-13T09:01:59Z pegu quit (Ping timeout: 265 seconds) 2014-11-13T09:03:06Z redeemed joined #lisp 2014-11-13T09:04:05Z axion: another newbie question 2014-11-13T09:04:12Z axion: is there a function that will apply a list to a function as its arguments? 2014-11-13T09:04:50Z Shinmera: apply? 2014-11-13T09:04:57Z Beetny joined #lisp 2014-11-13T09:05:10Z Shinmera: clhs apply 2014-11-13T09:05:11Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_apply.htm 2014-11-13T09:05:17Z axion: thanks 2014-11-13T09:06:15Z resttime quit (Quit: resttime) 2014-11-13T09:06:50Z nand1` quit (Remote host closed the connection) 2014-11-13T09:07:46Z zxq9 joined #lisp 2014-11-13T09:08:41Z nand1 joined #lisp 2014-11-13T09:09:04Z lavokad quit (Ping timeout: 258 seconds) 2014-11-13T09:09:14Z leo2007 quit (Ping timeout: 265 seconds) 2014-11-13T09:09:23Z effy_ joined #lisp 2014-11-13T09:09:56Z miql joined #lisp 2014-11-13T09:10:41Z effy quit (Ping timeout: 265 seconds) 2014-11-13T09:10:53Z drdanmaku quit (Quit: Connection closed for inactivity) 2014-11-13T09:14:25Z Harag joined #lisp 2014-11-13T09:14:59Z miql quit (Ping timeout: 272 seconds) 2014-11-13T09:16:05Z leo2007 joined #lisp 2014-11-13T09:23:23Z MrWoohoo joined #lisp 2014-11-13T09:24:05Z Cymew joined #lisp 2014-11-13T09:28:04Z yuikov quit (Remote host closed the connection) 2014-11-13T09:29:12Z yuikov joined #lisp 2014-11-13T09:30:28Z mguzmann joined #lisp 2014-11-13T09:36:04Z nha quit (Ping timeout: 245 seconds) 2014-11-13T09:36:19Z bullone quit (Quit: Connection closed for inactivity) 2014-11-13T09:37:13Z miql joined #lisp 2014-11-13T09:38:23Z harish quit (Ping timeout: 240 seconds) 2014-11-13T09:39:04Z harish joined #lisp 2014-11-13T09:39:09Z pegu joined #lisp 2014-11-13T09:39:24Z harish quit (Read error: Connection reset by peer) 2014-11-13T09:42:02Z miql quit (Ping timeout: 265 seconds) 2014-11-13T09:42:38Z yuikov quit (Remote host closed the connection) 2014-11-13T09:43:00Z bsima joined #lisp 2014-11-13T09:43:44Z gravicappa quit (Remote host closed the connection) 2014-11-13T09:45:09Z Nilly joined #lisp 2014-11-13T09:47:35Z CrazyWoods quit (Ping timeout: 250 seconds) 2014-11-13T09:47:47Z bsima quit (Ping timeout: 258 seconds) 2014-11-13T09:49:16Z CrazyWoods joined #lisp 2014-11-13T09:49:35Z bullone joined #lisp 2014-11-13T09:50:51Z mvilleneuve joined #lisp 2014-11-13T09:54:31Z moore33 joined #lisp 2014-11-13T09:57:39Z BaconOverflow joined #lisp 2014-11-13T10:04:16Z miql joined #lisp 2014-11-13T10:04:55Z Adlai quit (Ping timeout: 250 seconds) 2014-11-13T10:05:18Z effy_ quit (Quit: No Ping reply in 180 seconds.) 2014-11-13T10:05:44Z effy joined #lisp 2014-11-13T10:08:37Z miql quit (Ping timeout: 240 seconds) 2014-11-13T10:09:56Z Vutral quit (Ping timeout: 244 seconds) 2014-11-13T10:10:00Z yuikov joined #lisp 2014-11-13T10:17:21Z Adlai joined #lisp 2014-11-13T10:17:51Z clog joined #lisp 2014-11-13T10:18:09Z DGASAU quit (Ping timeout: 245 seconds) 2014-11-13T10:19:32Z LoicLisp joined #lisp 2014-11-13T10:19:37Z Shinmera quit (Quit: しつれいしなければならないんです。) 2014-11-13T10:20:25Z teiresia1 quit (Changing host) 2014-11-13T10:20:25Z teiresia1 joined #lisp 2014-11-13T10:20:34Z teiresia1 is now known as teiresias 2014-11-13T10:21:06Z DGASAU joined #lisp 2014-11-13T10:21:23Z Vutral joined #lisp 2014-11-13T10:23:36Z hitecnologys quit (Ping timeout: 256 seconds) 2014-11-13T10:23:52Z kcj quit (Remote host closed the connection) 2014-11-13T10:24:00Z doh` joined #lisp 2014-11-13T10:24:26Z hitecnologys joined #lisp 2014-11-13T10:24:55Z jtza8 joined #lisp 2014-11-13T10:26:33Z doh`: how to use setter func? (setf abc::d) 2014-11-13T10:28:16Z H4ns: (setf (abc::d) 1) 2014-11-13T10:28:36Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-13T10:31:29Z miql joined #lisp 2014-11-13T10:33:13Z Poenikatu joined #lisp 2014-11-13T10:33:27Z hiyosi joined #lisp 2014-11-13T10:34:05Z stassats` joined #lisp 2014-11-13T10:36:04Z miql quit (Ping timeout: 245 seconds) 2014-11-13T10:38:12Z hiyosi quit (Ping timeout: 245 seconds) 2014-11-13T10:38:20Z denisrum joined #lisp 2014-11-13T10:40:10Z attila_lendvai joined #lisp 2014-11-13T10:40:10Z attila_lendvai quit (Changing host) 2014-11-13T10:40:10Z attila_lendvai joined #lisp 2014-11-13T10:45:09Z urandom__ joined #lisp 2014-11-13T10:45:19Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-13T10:45:57Z Harag quit (Ping timeout: 240 seconds) 2014-11-13T10:54:30Z Karl_Dscc joined #lisp 2014-11-13T10:55:59Z wchun joined #lisp 2014-11-13T10:56:48Z Shinmera joined #lisp 2014-11-13T10:57:36Z stepnem quit (Ping timeout: 256 seconds) 2014-11-13T10:58:39Z miql joined #lisp 2014-11-13T10:59:11Z jumblerg joined #lisp 2014-11-13T10:59:14Z stepnem joined #lisp 2014-11-13T10:59:32Z usrj joined #lisp 2014-11-13T11:00:38Z stassats` quit (Remote host closed the connection) 2014-11-13T11:01:14Z MoALTz_ joined #lisp 2014-11-13T11:01:49Z schjetne` joined #lisp 2014-11-13T11:02:38Z schjetne quit (Read error: Connection reset by peer) 2014-11-13T11:02:57Z miql quit (Ping timeout: 240 seconds) 2014-11-13T11:03:19Z schjetne` quit (Client Quit) 2014-11-13T11:04:07Z stassats joined #lisp 2014-11-13T11:04:32Z usrj quit (Remote host closed the connection) 2014-11-13T11:04:42Z MoALTz quit (Ping timeout: 244 seconds) 2014-11-13T11:04:49Z schjetne joined #lisp 2014-11-13T11:04:52Z jtza8 quit (Ping timeout: 245 seconds) 2014-11-13T11:05:25Z schjetne quit (Changing host) 2014-11-13T11:05:25Z schjetne joined #lisp 2014-11-13T11:13:34Z gensym quit (Ping timeout: 245 seconds) 2014-11-13T11:16:34Z Karl_Dscc quit (Remote host closed the connection) 2014-11-13T11:19:50Z DGASAU quit (Remote host closed the connection) 2014-11-13T11:20:52Z kanru` quit (Ping timeout: 264 seconds) 2014-11-13T11:20:59Z pavelpenev joined #lisp 2014-11-13T11:21:08Z jtza8 joined #lisp 2014-11-13T11:21:14Z DGASAU joined #lisp 2014-11-13T11:23:59Z theos quit (Disconnected by services) 2014-11-13T11:24:25Z theos joined #lisp 2014-11-13T11:25:52Z miql joined #lisp 2014-11-13T11:28:15Z Riviera joined #lisp 2014-11-13T11:28:15Z tesuji joined #lisp 2014-11-13T11:30:32Z miql quit (Ping timeout: 244 seconds) 2014-11-13T11:35:18Z p_l_ is now known as p_l 2014-11-13T11:43:31Z alexey quit (Remote host closed the connection) 2014-11-13T11:47:32Z doh` quit (Remote host closed the connection) 2014-11-13T11:49:21Z hiyosi joined #lisp 2014-11-13T11:53:02Z miql joined #lisp 2014-11-13T11:54:16Z hiyosi quit (Ping timeout: 256 seconds) 2014-11-13T11:57:44Z miql quit (Ping timeout: 245 seconds) 2014-11-13T12:03:02Z pt1 joined #lisp 2014-11-13T12:04:12Z jtza8 quit (Ping timeout: 265 seconds) 2014-11-13T12:06:57Z rick-monster: these alsa midi CFFI bindings are killing me. Haven't lost sleep like this since I was addicted to 'lemmings'... 2014-11-13T12:08:12Z rjmacready_ joined #lisp 2014-11-13T12:09:17Z ndrei quit (Ping timeout: 244 seconds) 2014-11-13T12:10:58Z Beetny quit (Ping timeout: 265 seconds) 2014-11-13T12:12:20Z rick-monster: thinking now I should give up and write some glue code in C based on simple types, instead of delving into this rats nest of structs/unions via CFFI... 2014-11-13T12:12:36Z usrj joined #lisp 2014-11-13T12:13:30Z hardenedapple joined #lisp 2014-11-13T12:16:36Z kanru` joined #lisp 2014-11-13T12:16:51Z pt1 quit (Remote host closed the connection) 2014-11-13T12:17:11Z yeticry quit (Ping timeout: 265 seconds) 2014-11-13T12:17:11Z denisrum quit (Read error: Connection reset by peer) 2014-11-13T12:17:47Z denisrum joined #lisp 2014-11-13T12:18:47Z moore33 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2014-11-13T12:19:05Z yeticry joined #lisp 2014-11-13T12:19:23Z mutley89 quit (Ping timeout: 240 seconds) 2014-11-13T12:20:12Z miql joined #lisp 2014-11-13T12:21:01Z rjmacready_ quit (Ping timeout: 246 seconds) 2014-11-13T12:24:25Z pt1 joined #lisp 2014-11-13T12:25:00Z miql quit (Ping timeout: 244 seconds) 2014-11-13T12:25:40Z pt1 quit (Remote host closed the connection) 2014-11-13T12:28:06Z gigetoo quit (Ping timeout: 244 seconds) 2014-11-13T12:29:51Z gigetoo joined #lisp 2014-11-13T12:31:51Z yuikov quit (Remote host closed the connection) 2014-11-13T12:32:23Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-13T12:32:51Z yuikov joined #lisp 2014-11-13T12:34:34Z ndrei joined #lisp 2014-11-13T12:35:07Z thawes quit (Remote host closed the connection) 2014-11-13T12:35:21Z Longlius quit (Remote host closed the connection) 2014-11-13T12:40:57Z eudoxia joined #lisp 2014-11-13T12:41:21Z Adlai quit (Ping timeout: 250 seconds) 2014-11-13T12:47:26Z miql joined #lisp 2014-11-13T12:50:17Z Kabaka quit (Ping timeout: 264 seconds) 2014-11-13T12:51:05Z Adlai joined #lisp 2014-11-13T12:51:53Z miql quit (Ping timeout: 240 seconds) 2014-11-13T12:52:12Z EvW joined #lisp 2014-11-13T12:53:12Z TDog quit (Ping timeout: 244 seconds) 2014-11-13T12:54:02Z yuikov quit (Remote host closed the connection) 2014-11-13T12:55:06Z benny joined #lisp 2014-11-13T12:55:24Z arenz joined #lisp 2014-11-13T12:57:49Z Karl_Dscc joined #lisp 2014-11-13T13:00:22Z Karl_Dscc quit (Remote host closed the connection) 2014-11-13T13:01:22Z zeitue quit (Read error: No route to host) 2014-11-13T13:03:59Z Hache_ joined #lisp 2014-11-13T13:05:06Z hiyosi joined #lisp 2014-11-13T13:07:44Z pavelpenev quit (Ping timeout: 256 seconds) 2014-11-13T13:09:56Z hiyosi quit (Ping timeout: 265 seconds) 2014-11-13T13:10:01Z jtza8 joined #lisp 2014-11-13T13:10:23Z pt1 joined #lisp 2014-11-13T13:10:28Z mishoo_ quit (Ping timeout: 250 seconds) 2014-11-13T13:14:34Z miql joined #lisp 2014-11-13T13:16:19Z resttime joined #lisp 2014-11-13T13:16:49Z mishoo joined #lisp 2014-11-13T13:17:04Z zeitue joined #lisp 2014-11-13T13:19:19Z miql quit (Ping timeout: 255 seconds) 2014-11-13T13:20:21Z Kabaka joined #lisp 2014-11-13T13:23:09Z usrj quit (Ping timeout: 245 seconds) 2014-11-13T13:25:13Z sauerkrause is now known as SAUERKRAUSE 2014-11-13T13:25:24Z psy_ joined #lisp 2014-11-13T13:25:34Z SAUERKRAUSE is now known as sauerkrause 2014-11-13T13:26:19Z bullone quit (Quit: Connection closed for inactivity) 2014-11-13T13:30:14Z jumblerg joined #lisp 2014-11-13T13:31:50Z yrk joined #lisp 2014-11-13T13:32:20Z yrk quit (Changing host) 2014-11-13T13:32:20Z yrk joined #lisp 2014-11-13T13:33:36Z nyef joined #lisp 2014-11-13T13:33:47Z nyef: G'morning all. 2014-11-13T13:33:55Z Shinmera: Good afternoon. 2014-11-13T13:37:10Z BSaboia joined #lisp 2014-11-13T13:38:27Z kanru` quit (Ping timeout: 272 seconds) 2014-11-13T13:38:28Z jpetrik joined #lisp 2014-11-13T13:40:45Z drmeister: beach: No problem - thank you. 2014-11-13T13:40:56Z drmeister: nyef: Good morning 2014-11-13T13:41:37Z Shinmera: Anything exciting going on in Lisp land? 2014-11-13T13:41:38Z pranavrc quit 2014-11-13T13:41:47Z miql joined #lisp 2014-11-13T13:42:34Z eudoxia: i should me studying for my midterms, so no 2014-11-13T13:42:59Z drmeister: Heck yeah - I'm starting to incorporate cleavir into clasp. 2014-11-13T13:43:06Z drmeister: And I should be preparing a midterm. 2014-11-13T13:43:26Z drmeister: :-/ 2014-11-13T13:43:35Z Shinmera: drmeister: I've been trying to follow that for a bit; it's very interesting but unfortunately I'm by far not knowledgeable enough to really know what's going on when you and beach talk about it. 2014-11-13T13:44:17Z alexey joined #lisp 2014-11-13T13:45:09Z mvilleneuve quit (Ping timeout: 265 seconds) 2014-11-13T13:46:12Z Harag joined #lisp 2014-11-13T13:46:21Z miql quit (Ping timeout: 250 seconds) 2014-11-13T13:49:13Z alexey quit (Ping timeout: 272 seconds) 2014-11-13T13:49:51Z drmeister: Shinmera: No problem, I feel the same way all the time. With time, as you work at it things, they become clearer. There's always more to learn. 2014-11-13T13:50:09Z GGMethos joined #lisp 2014-11-13T13:50:13Z Shinmera: Indeed. I'm more saying that I'm said I can't fully appreciate what you're doing! 2014-11-13T13:50:16Z Shinmera: *sad 2014-11-13T13:51:29Z DGASAU quit (Ping timeout: 245 seconds) 2014-11-13T13:53:12Z yrk quit (Remote host closed the connection) 2014-11-13T13:53:29Z thawes joined #lisp 2014-11-13T13:53:57Z drmeister: Understood. 2014-11-13T13:55:13Z BitPuffin joined #lisp 2014-11-13T13:55:45Z mingvs quit (Quit: leaving) 2014-11-13T13:56:15Z nmajo joined #lisp 2014-11-13T13:56:38Z nmajo is now known as mingvs 2014-11-13T13:57:43Z DGASAU joined #lisp 2014-11-13T13:57:44Z cbryan joined #lisp 2014-11-13T14:03:23Z thawes quit (Ping timeout: 240 seconds) 2014-11-13T14:05:45Z chu joined #lisp 2014-11-13T14:06:06Z thawes joined #lisp 2014-11-13T14:06:41Z drmeister: beach: The second problem with the nil hash-table looks like it's my code that is the problem - still tracking it down. 2014-11-13T14:07:39Z stassats: i hope you realize that beach is not here 2014-11-13T14:08:26Z drmeister: Yes, I do. He checks the backlogged comments when he gets back. I could use minion but - meh. 2014-11-13T14:08:52Z stassats: email? 2014-11-13T14:08:58Z miql joined #lisp 2014-11-13T14:09:08Z eudoxia: oh good heavens it's not like this is off topic 2014-11-13T14:09:19Z stassats: i'm good with it 2014-11-13T14:09:28Z stassats: but i would hate that kind of form of communication 2014-11-13T14:09:38Z drmeister: No, it's ok. stassats is correct. 2014-11-13T14:09:43Z fisxoj joined #lisp 2014-11-13T14:10:06Z stassats: no benefits of instant communication and now you have to grep logs for your name 2014-11-13T14:10:24Z drmeister: Some times I start typing without thinking. No problem. 2014-11-13T14:13:22Z atgreen quit (Ping timeout: 240 seconds) 2014-11-13T14:13:41Z miql quit (Ping timeout: 264 seconds) 2014-11-13T14:14:44Z thawes quit (Ping timeout: 255 seconds) 2014-11-13T14:14:57Z Karl_Dscc joined #lisp 2014-11-13T14:18:56Z alejandrozf joined #lisp 2014-11-13T14:19:35Z drmeister: This is for general consumption. The first time an S-expression has been converted into a Cleavir AST 2014-11-13T14:19:51Z thawes joined #lisp 2014-11-13T14:20:30Z drmeister: http://imgur.com/eimVghV 2014-11-13T14:21:04Z drmeister: That's for '(let ((x 10)) (if (> x 5) 1 2) 2014-11-13T14:21:08Z drmeister: Gotta run 2014-11-13T14:21:55Z eudoxia: neat 2014-11-13T14:23:19Z splittist: As an idle spectator I'm loving the beachmeister show. 2014-11-13T14:24:02Z oleo joined #lisp 2014-11-13T14:24:18Z CrazyWoods quit (Ping timeout: 265 seconds) 2014-11-13T14:24:32Z hiyosi joined #lisp 2014-11-13T14:24:57Z kanru` joined #lisp 2014-11-13T14:25:57Z CrazyWoods joined #lisp 2014-11-13T14:30:34Z fisxoj quit (Quit: fisxoj) 2014-11-13T14:30:46Z JuanDaugherty joined #lisp 2014-11-13T14:30:53Z jlarocco joined #lisp 2014-11-13T14:31:50Z jtza8 quit (Ping timeout: 255 seconds) 2014-11-13T14:32:35Z yrk joined #lisp 2014-11-13T14:33:05Z yrk quit (Changing host) 2014-11-13T14:33:05Z yrk joined #lisp 2014-11-13T14:35:30Z alexey joined #lisp 2014-11-13T14:36:00Z shortCircuit__ quit (Remote host closed the connection) 2014-11-13T14:36:09Z miql joined #lisp 2014-11-13T14:38:00Z CrazyWoods: how to organize a large lisp project? etc.. scratch of a project start point 2014-11-13T14:38:17Z mutley89 joined #lisp 2014-11-13T14:38:41Z munge quit (Read error: Connection reset by peer) 2014-11-13T14:39:14Z stassats: minion: xach-asdf? 2014-11-13T14:39:15Z minion: xach-asdf: Xach's article "Making a small Common Lisp project" can be found at http://xach.livejournal.com/130040.html 2014-11-13T14:39:56Z dim: CrazyWoods: have a look at some existing projects to get an idea, (ql:where-is-system :something) then open it 2014-11-13T14:40:04Z dim: open a few of them and you will have a clear idea what to do 2014-11-13T14:40:37Z miql quit (Ping timeout: 240 seconds) 2014-11-13T14:41:02Z CrazyWoods: dim: :) 2014-11-13T14:41:09Z munksgaard quit (Ping timeout: 272 seconds) 2014-11-13T14:41:18Z nyef: CrazyWoods: My main advice would be to have a src/ directory below your project directory to start with. Otherwise, as your project grows, you'll start losing track of which bits are the source to your project and which bits are more about the infrastructure. 2014-11-13T14:42:21Z Shinmera: I'd say that's mostly preference. Personally I find an extra src/ folder superfluous 2014-11-13T14:42:29Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-13T14:42:34Z stassats: i don't like src either 2014-11-13T14:42:40Z stassats: just one more level i have to go to find sources 2014-11-13T14:43:06Z stassats: unless you have a bazillion of them, but i'd split into separate projects then 2014-11-13T14:43:18Z nyef: ... like with SBCL? 2014-11-13T14:43:37Z ehu joined #lisp 2014-11-13T14:43:55Z alexey quit (Remote host closed the connection) 2014-11-13T14:44:38Z stassats: the only infrastructure i have is .asd 2014-11-13T14:44:39Z CrazyWoods: nyef: what shall i do if it's a mix programming project(Python & Java & Shell) 2014-11-13T14:44:45Z stassats: and README, at the most 2014-11-13T14:44:51Z stassats: SBCL is a special case 2014-11-13T14:46:35Z Harag quit (Ping timeout: 250 seconds) 2014-11-13T14:46:47Z Harag joined #lisp 2014-11-13T14:47:50Z jtza8 joined #lisp 2014-11-13T14:49:41Z mutley89 quit (Ping timeout: 264 seconds) 2014-11-13T14:49:58Z DGASAU quit (Remote host closed the connection) 2014-11-13T14:50:17Z octophore joined #lisp 2014-11-13T14:50:18Z octophore quit (Excess Flood) 2014-11-13T14:51:33Z psy_ quit (Remote host closed the connection) 2014-11-13T14:51:41Z DGASAU joined #lisp 2014-11-13T14:53:15Z gensym joined #lisp 2014-11-13T14:55:37Z psy_ joined #lisp 2014-11-13T14:56:04Z jpetrik quit (Ping timeout: 246 seconds) 2014-11-13T14:56:47Z Harag quit (Remote host closed the connection) 2014-11-13T14:56:58Z Harag joined #lisp 2014-11-13T14:57:32Z TDog joined #lisp 2014-11-13T14:58:03Z psy__ joined #lisp 2014-11-13T14:58:17Z psy__ quit (Read error: Connection reset by peer) 2014-11-13T14:58:53Z TDog_ joined #lisp 2014-11-13T14:59:53Z jtza8 quit (Ping timeout: 264 seconds) 2014-11-13T15:00:33Z Cymew: dim: Do like everyone else and make up your own way that is? 2014-11-13T15:02:17Z TDog quit (Ping timeout: 264 seconds) 2014-11-13T15:02:32Z TDog_ is now known as TDog 2014-11-13T15:03:19Z miql joined #lisp 2014-11-13T15:08:17Z miql quit (Ping timeout: 265 seconds) 2014-11-13T15:09:52Z jasom: is it possible to get git-filter-branch to also rewrite tags? 2014-11-13T15:10:03Z ahungry_ joined #lisp 2014-11-13T15:10:17Z H4ns: maybe that is a question more suitable for a git related channel? 2014-11-13T15:11:17Z CrazyWoods: i want to use lisp to write the server app while other client will call the app's api, what shall i do 2014-11-13T15:11:44Z thawes quit (Ping timeout: 265 seconds) 2014-11-13T15:12:06Z jasom: H4ns: sorry, wrong channel 2014-11-13T15:12:50Z H4ns: CrazyWoods: you should write the program to do it. 2014-11-13T15:13:07Z H4ns: CrazyWoods: if you want more specific answer, you'll have to ask more specific questions. 2014-11-13T15:13:54Z thawes joined #lisp 2014-11-13T15:14:39Z eudoxia: CrazyWoods: https://github.com/fukamachi/caveman 2014-11-13T15:14:43Z eudoxia: is a neat little web framework 2014-11-13T15:15:04Z sol__ quit (Disconnected by services) 2014-11-13T15:15:09Z Ethan- quit (Ping timeout: 258 seconds) 2014-11-13T15:16:01Z CrazyWoods: H4ns: use the lisp to implement the backend then export restful api for client to used, just use lisp to build the restful api front or have other language to do this job? 2014-11-13T15:16:35Z nyef: CrazyWoods: Client-server? Currently I have separate projects for the client and the server at work, but I'm looking at doing a small client/serverish thing (okay, it's an embedded device and a control program on my computer) that will probably be a single project. 2014-11-13T15:17:10Z eudoxia: CrazyWoods: for the client, you'll want to use Drakma, probably 2014-11-13T15:17:30Z pegu quit (Remote host closed the connection) 2014-11-13T15:17:31Z nyef: CrazyWoods: At work the server is Lisp, and one of several clients is Lisp, but the rest is Java, Javascript, Objective C, PHP, what have you. For my personal thing, the "server" would be in C and the client in Lisp. 2014-11-13T15:17:34Z sol__ joined #lisp 2014-11-13T15:18:42Z sol__: hey guys, how can i write a binary array to file? 2014-11-13T15:18:50Z stassats: clhs write-sequence 2014-11-13T15:18:50Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_wr_seq.htm 2014-11-13T15:19:50Z Lowl3v3l joined #lisp 2014-11-13T15:20:20Z H4ns: CrazyWoods: lisp works well for both client and server side restful apis 2014-11-13T15:20:56Z sol__: stassats, "The value 34 is not of the expected type CHARACTER." 2014-11-13T15:21:06Z H4ns: CrazyWoods: so if what you want is write lisp, then just go ahead and do it. i use hunchentoot, drakma and yason for that kind of stuff, but that is just my own preference. 2014-11-13T15:21:20Z sol__: (write-sequence binarr file-stream) 2014-11-13T15:21:29Z CrazyWoods: nyef: yes, it's a Client-Server. which protocol shall i use if more than one language are used for client server arch? 2014-11-13T15:21:53Z CrazyWoods: H4ns: ok 2014-11-13T15:22:20Z H4ns: CrazyWoods: restful json is popular 2014-11-13T15:22:33Z oGMo: sol__: you need to open the file with :element-type '(unsigned-byte 8) 2014-11-13T15:22:37Z nyef: Yeah, go with RESTful JSON. 2014-11-13T15:22:37Z splittist: CrazyWoods: you should take a leaf from the X windows book and use the universal language of lists and atoms (; 2014-11-13T15:23:31Z sol__: oGMo, thanks it worked 2014-11-13T15:24:07Z CrazyWoods: H4ns: So just write the program then export it as a restful api? 2014-11-13T15:24:18Z H4ns: CrazyWoods: yeah, why not? 2014-11-13T15:24:24Z H4ns: CrazyWoods: what makes you ask? 2014-11-13T15:24:42Z kushal joined #lisp 2014-11-13T15:25:54Z CrazyWoods: H4ns: i think they should call each other with socket of native interface if they are on the same machine 2014-11-13T15:26:20Z CrazyWoods: H4ns: that's why i ask 2014-11-13T15:26:30Z H4ns: CrazyWoods: why do you think so? 2014-11-13T15:26:58Z CrazyWoods: H4ns: performance 2014-11-13T15:27:01Z H4ns: CrazyWoods: are you interested in exporting an api for several clients, written in all kinds of languages? if so, use restful json. if not, then what are your requirements? 2014-11-13T15:27:11Z H4ns: CrazyWoods: how does performance matter? 2014-11-13T15:28:01Z CrazyWoods: H4ns: C & Lisp & Python & Golang, i use these language in my project, some are on server side while other are on client side 2014-11-13T15:28:10Z harish joined #lisp 2014-11-13T15:28:54Z H4ns: CrazyWoods: okay, and what about the performance thing, how does it matter? 2014-11-13T15:29:49Z CrazyWoods: H4ns: Python or Golang for hander the client request while lisp and C serve as the backend 2014-11-13T15:30:35Z miql joined #lisp 2014-11-13T15:31:34Z nha joined #lisp 2014-11-13T15:32:20Z EvW quit (Ping timeout: 244 seconds) 2014-11-13T15:32:20Z slyrus quit (Ping timeout: 244 seconds) 2014-11-13T15:35:07Z miql quit (Ping timeout: 250 seconds) 2014-11-13T15:36:00Z stassats: python and performance? 2014-11-13T15:36:18Z stassats: or are you just trying to cram different langauges together for no apparent reason? 2014-11-13T15:38:34Z DGASAU quit (Ping timeout: 245 seconds) 2014-11-13T15:38:56Z slyrus joined #lisp 2014-11-13T15:39:02Z drmeister: What I meant to say above is that that was the first time an sexp was converted into an ast _within clasp_. 2014-11-13T15:40:04Z Hache_ quit (Ping timeout: 258 seconds) 2014-11-13T15:43:39Z DGASAU joined #lisp 2014-11-13T15:45:50Z beach joined #lisp 2014-11-13T15:45:53Z ndrei quit (Ping timeout: 240 seconds) 2014-11-13T15:45:59Z beach: Good afternoon everyone! 2014-11-13T15:46:09Z splittist: Yo beach! 2014-11-13T15:46:19Z beach: drmeister: I believe I fixed the problem. 2014-11-13T15:47:02Z beach: You also need to look at the modifications of the "hostile" environment methods; I added an initarg that you should probably duplicate. 2014-11-13T15:47:09Z drmeister: Fantastic! I'll be in my lab in 15 min. 2014-11-13T15:47:41Z test1600 joined #lisp 2014-11-13T15:47:41Z drmeister: Did you see the ast I generated above? 2014-11-13T15:47:43Z beach: splittist: Glad you like the show :) 2014-11-13T15:47:47Z beach: Yes, I did. 2014-11-13T15:47:55Z nyef: Hello beach. 2014-11-13T15:47:56Z beach: I generated it myself too in order to check the drawing. 2014-11-13T15:48:23Z ehu quit (Read error: Connection reset by peer) 2014-11-13T15:48:39Z slyrus quit (Remote host closed the connection) 2014-11-13T15:48:40Z beach: Hey nyef. I added some more projects to the improved project page: http://metamodular.com/Common-Lisp/suggested-projects.html 2014-11-13T15:48:52Z ehu joined #lisp 2014-11-13T15:48:56Z beach: Accounting library and interactive accounting system. 2014-11-13T15:49:07Z drmeister: The second problem with the nil hash-table may be a problem in clasp. I inserted some print statements in your code and the problem went away. Must dig deeper. 2014-11-13T15:49:27Z beach: Yeah, I couldn't reproduce it here. 2014-11-13T15:50:28Z mvilleneuve joined #lisp 2014-11-13T15:50:57Z gravicappa joined #lisp 2014-11-13T15:51:39Z drmeister: You are clearly rewinding the special *table* but when it was accessed it was nil. How the heck can anything in clasp work if there are problems binding specials? Rhetorical question- must dig deeper. 2014-11-13T15:52:30Z ehu quit (Remote host closed the connection) 2014-11-13T15:52:44Z ehu joined #lisp 2014-11-13T15:53:04Z drmeister: I will try to run cleavir in SBCL and clasp to determine if problems are in clasp or cleavir. 2014-11-13T15:53:57Z drmeister: Rewinding -> rebinding 2014-11-13T15:57:43Z miql joined #lisp 2014-11-13T15:59:23Z drdanmaku joined #lisp 2014-11-13T16:00:10Z ehu quit (Remote host closed the connection) 2014-11-13T16:01:47Z ehu joined #lisp 2014-11-13T16:03:11Z codeburg quit (Remote host closed the connection) 2014-11-13T16:04:06Z codeburg joined #lisp 2014-11-13T16:05:41Z ehu quit (Read error: Connection reset by peer) 2014-11-13T16:06:56Z ehu joined #lisp 2014-11-13T16:07:53Z eudoxia quit (Quit: Lost terminal) 2014-11-13T16:09:21Z Shinmera quit (Quit: しつれいしなければならないんです。) 2014-11-13T16:10:03Z nyef: You know what's annoying? Microwave ovens and wireless internet using the same frequencies. 2014-11-13T16:10:15Z fortitude joined #lisp 2014-11-13T16:10:18Z zeebrah quit (Ping timeout: 250 seconds) 2014-11-13T16:10:40Z nyef: Practical upshot: Re-heating coffee can knock your computer offline. 2014-11-13T16:10:44Z stassats: can you microwave food with a wireless router? 2014-11-13T16:11:07Z _fre_nod_ir joined #lisp 2014-11-13T16:11:51Z nyef: Can you build a good, strong wireless repeater out of a microwave? 2014-11-13T16:12:20Z alpha-: jammer 2014-11-13T16:12:22Z alpha-: yeah 2014-11-13T16:12:27Z alpha-: repeater, probably not 2014-11-13T16:12:59Z sol__ quit (Ping timeout: 272 seconds) 2014-11-13T16:13:15Z sol__ joined #lisp 2014-11-13T16:14:47Z drmeister: You know what's really annoying? Office chairs that slowly, over the course of hours, lower your seat so that you feel like you are shrinking. 2014-11-13T16:15:02Z drmeister: I have far too many of those in my life. 2014-11-13T16:15:34Z stassats: are you sure you are not shrinking? 2014-11-13T16:15:36Z nyef: alpha-: My complaint is that the microwave oven already IS a jammer. 2014-11-13T16:15:53Z TDog quit (Ping timeout: 240 seconds) 2014-11-13T16:15:54Z drmeister: Pretty sure. 2014-11-13T16:16:12Z nyef: drmeister: The other annoying one is the office chair where the cylinder is broken such that it props the seat up as long as nobody sits in it, then immediately sinks as low as it can go whenever anyone does. 2014-11-13T16:17:11Z ehu_ joined #lisp 2014-11-13T16:17:36Z drmeister: nyef: Agreed 2014-11-13T16:18:05Z nyef: Or the one where there's a few screws missing, so the entire thing is wobbly... 2014-11-13T16:18:55Z ehu quit (Ping timeout: 265 seconds) 2014-11-13T16:19:16Z alejandrozf quit (Quit: Page closed) 2014-11-13T16:21:45Z kbtr quit (Ping timeout: 265 seconds) 2014-11-13T16:22:31Z kbtr joined #lisp 2014-11-13T16:24:13Z rick-monster: I'm somehow managing to wrap these CEPH rados bindings round trivial-gray-streams despite having not much of a clue what's going on. One thing that has me somewhat foxed is how to connect the 2nd argument to read-char (the one that specifies whether or not to throw an error on EOF) to my (defmethod stream-read-char 2014-11-13T16:24:40Z stassats: gray streams use :eof 2014-11-13T16:25:34Z stassats: as in, always 2014-11-13T16:26:50Z thawes quit (Ping timeout: 256 seconds) 2014-11-13T16:26:51Z nyef: rick-monster: First, http://www.nhplace.com/kent/CL/Issues/stream-definition-by-user.html may be helpful here. Second, anywhere that this document specifies that a function returns true or false (or returns a boolean), always use T or NIL otherwise SBCL might pitch a fit at some point down the line. 2014-11-13T16:27:02Z White_Flame quit (Read error: Connection reset by peer) 2014-11-13T16:28:15Z White_Flame joined #lisp 2014-11-13T16:30:37Z rick-monster: awesome! thanks chaps that works now... 2014-11-13T16:32:22Z ehu_ quit (Ping timeout: 255 seconds) 2014-11-13T16:32:31Z drmeister: beach: Did you push the new code to github? 2014-11-13T16:33:04Z drmeister: Time to figure out how to pull the changes into a fork of SICL 2014-11-13T16:33:06Z Poenikatu left #lisp 2014-11-13T16:33:16Z beach: drmeister: I did. 2014-11-13T16:33:25Z jamesf quit (Quit: leaving) 2014-11-13T16:33:27Z drmeister: Ok - I'm on it. 2014-11-13T16:37:55Z redeemed quit (Quit: q) 2014-11-13T16:39:33Z rszeno joined #lisp 2014-11-13T16:43:40Z Harag quit (Read error: Connection reset by peer) 2014-11-13T16:44:32Z eudoxia joined #lisp 2014-11-13T16:45:08Z thawes joined #lisp 2014-11-13T16:45:10Z Harag joined #lisp 2014-11-13T16:47:32Z EvW joined #lisp 2014-11-13T16:48:09Z alejandrozf joined #lisp 2014-11-13T16:49:09Z mutley89 joined #lisp 2014-11-13T16:51:55Z _fre_nod_ir quit (Quit: Ex-Chat) 2014-11-13T16:52:13Z joneshf-laptop joined #lisp 2014-11-13T16:56:37Z ddkd joined #lisp 2014-11-13T16:56:41Z sol__ quit (Disconnected by services) 2014-11-13T16:56:44Z ddkd is now known as sol__ 2014-11-13T16:58:28Z ndrei joined #lisp 2014-11-13T16:59:42Z kushal quit (Ping timeout: 256 seconds) 2014-11-13T17:00:57Z BaconOverflow quit (Quit: Connection closed for inactivity) 2014-11-13T17:01:09Z innertracks joined #lisp 2014-11-13T17:02:46Z hardenedapple quit (Quit: WeeChat 1.0.1) 2014-11-13T17:05:20Z freehck quit (Ping timeout: 250 seconds) 2014-11-13T17:05:34Z Shinmera joined #lisp 2014-11-13T17:08:09Z thawes quit (Ping timeout: 245 seconds) 2014-11-13T17:08:46Z mvilleneuve quit (Quit: This computer has gone to sleep) 2014-11-13T17:09:58Z thawes joined #lisp 2014-11-13T17:12:47Z test1600 quit (Ping timeout: 244 seconds) 2014-11-13T17:13:41Z alejandrozf quit (Quit: Page closed) 2014-11-13T17:14:16Z alexey joined #lisp 2014-11-13T17:16:51Z EvW quit (Ping timeout: 265 seconds) 2014-11-13T17:19:37Z fantazo quit (Ping timeout: 240 seconds) 2014-11-13T17:21:28Z Cymew quit (Ping timeout: 264 seconds) 2014-11-13T17:22:06Z beach: I replaced the "X11 server" project as suggested by stassats and replaced it by a "compositing display server" project. I also added several new projects. http://metamodular.com/Common-Lisp/suggested-projects.html 2014-11-13T17:22:27Z drmeister: beach: It is generating the AST now but I suspect I have a problem with the garbage collection. The special *table* is being bound to a hash-table but when it gets into stream-draw-ast *table* is nil - I haven't seen a problem like this in several months. I'm on it. 2014-11-13T17:22:44Z beach: OK. 2014-11-13T17:23:00Z beach: I have never seen anything like it here, so I suspect it must be Clasp specific. 2014-11-13T17:23:53Z Oddity quit (Ping timeout: 264 seconds) 2014-11-13T17:32:02Z pt1 quit (Remote host closed the connection) 2014-11-13T17:32:57Z eudoxia quit (Quit: Lost terminal) 2014-11-13T17:33:16Z fantazo joined #lisp 2014-11-13T17:35:19Z attila_lendvai quit (Quit: Leaving.) 2014-11-13T17:35:52Z attila_lendvai joined #lisp 2014-11-13T17:35:52Z attila_lendvai quit (Changing host) 2014-11-13T17:35:52Z attila_lendvai joined #lisp 2014-11-13T17:36:21Z attila_lendvai quit (Client Quit) 2014-11-13T17:38:11Z rszeno quit (Ping timeout: 265 seconds) 2014-11-13T17:42:25Z jtza8 joined #lisp 2014-11-13T17:42:48Z chu joined #lisp 2014-11-13T17:49:04Z gravicappa quit (Ping timeout: 264 seconds) 2014-11-13T17:54:58Z rszeno joined #lisp 2014-11-13T17:56:35Z gooly joined #lisp 2014-11-13T17:56:44Z gooly left #lisp 2014-11-13T17:57:57Z manfoo7 joined #lisp 2014-11-13T17:58:24Z Longlius joined #lisp 2014-11-13T17:58:26Z kushal joined #lisp 2014-11-13T17:58:39Z k-stz joined #lisp 2014-11-13T17:58:58Z ndrei quit (Ping timeout: 265 seconds) 2014-11-13T18:01:07Z kanru` quit (Ping timeout: 245 seconds) 2014-11-13T18:03:37Z Karl_Dscc quit (Remote host closed the connection) 2014-11-13T18:05:15Z TDog joined #lisp 2014-11-13T18:05:18Z gravicappa joined #lisp 2014-11-13T18:06:45Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-13T18:06:55Z wheelsucker joined #lisp 2014-11-13T18:07:08Z EvW joined #lisp 2014-11-13T18:14:02Z jtza8 quit (Ping timeout: 245 seconds) 2014-11-13T18:14:57Z ndrei joined #lisp 2014-11-13T18:17:32Z araujo quit (Read error: Connection reset by peer) 2014-11-13T18:17:48Z loz joined #lisp 2014-11-13T18:18:28Z araujo joined #lisp 2014-11-13T18:23:39Z luis: Darn, this WJ guy on c.l.l is very annoying. :( 2014-11-13T18:25:43Z sol__: what's c.l.l? 2014-11-13T18:26:53Z xristos: comp.lang.lisp 2014-11-13T18:27:06Z xristos: (usenet) 2014-11-13T18:31:34Z codeburg quit (Remote host closed the connection) 2014-11-13T18:32:04Z codeburg joined #lisp 2014-11-13T18:35:24Z luis: minion: c.l.l 2014-11-13T18:35:24Z minion: c.l.l: comp.lang.lisp is a Lisp-related Usenet group, available spam-free from individual.net, eternal-september.org, or a university or ISP near you 2014-11-13T18:35:51Z luis: I've found that spam-free doesn't mean WJ-free 2014-11-13T18:38:02Z jumblerg joined #lisp 2014-11-13T18:38:17Z Karl_Dscc joined #lisp 2014-11-13T18:38:53Z BitPuffin quit (Ping timeout: 255 seconds) 2014-11-13T18:39:04Z juiko joined #lisp 2014-11-13T18:40:17Z thawes quit (Ping timeout: 245 seconds) 2014-11-13T18:42:44Z beach left #lisp 2014-11-13T18:44:40Z denisrum quit (Ping timeout: 255 seconds) 2014-11-13T18:45:49Z thawes joined #lisp 2014-11-13T18:51:06Z hiyosi quit (Ping timeout: 265 seconds) 2014-11-13T18:54:29Z kushal quit (Ping timeout: 272 seconds) 2014-11-13T18:56:09Z Harag1 joined #lisp 2014-11-13T18:56:34Z Harag quit (Read error: Connection reset by peer) 2014-11-13T18:58:22Z les quit (Ping timeout: 240 seconds) 2014-11-13T18:58:46Z rtra quit (Remote host closed the connection) 2014-11-13T18:59:57Z cbryan quit (Quit: leaving) 2014-11-13T19:01:29Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-13T19:02:00Z _zxq9_ joined #lisp 2014-11-13T19:02:04Z jumblerg joined #lisp 2014-11-13T19:02:42Z zxq9 quit (Ping timeout: 265 seconds) 2014-11-13T19:05:01Z rustico joined #lisp 2014-11-13T19:05:57Z ferada: that's what killfiles are for 2014-11-13T19:06:59Z rszeno quit (Quit: Leaving.) 2014-11-13T19:08:31Z drmeister: Follow up on his posts with examples of how you would implement solutions in this: http://en.wikipedia.org/wiki/Brainfuck 2014-11-13T19:09:22Z cyphase_ quit (Ping timeout: 258 seconds) 2014-11-13T19:10:27Z pnpuff joined #lisp 2014-11-13T19:10:27Z pnpuff quit (Changing host) 2014-11-13T19:10:27Z pnpuff joined #lisp 2014-11-13T19:10:29Z drmeister: It will lower the signal-to-noise about as much as it will raise the amusement-to-noise ratio. 2014-11-13T19:10:42Z pnpuff: hi all 2014-11-13T19:11:11Z pnpuff: drmeister: how is going with the release of your compiler? 2014-11-13T19:11:40Z drmeister: That old thing? I'm on to my next compiler. 2014-11-13T19:12:16Z drmeister: pnpuff: I released clasp a couple of months ago. I'm currently incorporating beach's cleavir compiler front end to speed things up. 2014-11-13T19:12:29Z pnpuff: wow... I'm not informed about your new compiler 2014-11-13T19:13:06Z drmeister: Neither am I - yet. Here is the github repo for "clasp" https://github.com/drmeister/clasp 2014-11-13T19:13:26Z CrazyWoods quit (Ping timeout: 256 seconds) 2014-11-13T19:14:04Z vaporatorius joined #lisp 2014-11-13T19:14:11Z pnpuff: Yes, I see. Very good! 2014-11-13T19:14:28Z drmeister: I don't want to confuse you - "clasp" is the new Common Lisp implementation that interoperates with C++ and uses LLVM as the backend. I'm improving Clasp's compiler by incorporating a new compiler front end that beach developed. 2014-11-13T19:15:00Z CrazyWoods joined #lisp 2014-11-13T19:17:41Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-13T19:20:40Z CrazyWoods quit (Ping timeout: 255 seconds) 2014-11-13T19:20:46Z Beetny joined #lisp 2014-11-13T19:22:03Z Ven joined #lisp 2014-11-13T19:22:15Z CrazyWoods joined #lisp 2014-11-13T19:23:04Z fragamus joined #lisp 2014-11-13T19:26:29Z ofosos joined #lisp 2014-11-13T19:27:04Z sheilong joined #lisp 2014-11-13T19:27:21Z zacharias quit (Ping timeout: 265 seconds) 2014-11-13T19:28:37Z ndrei quit (Ping timeout: 240 seconds) 2014-11-13T19:30:47Z prxq joined #lisp 2014-11-13T19:30:58Z rtra joined #lisp 2014-11-13T19:31:57Z thawes quit (Ping timeout: 245 seconds) 2014-11-13T19:34:02Z resttime quit (Quit: resttime) 2014-11-13T19:35:23Z ack006 joined #lisp 2014-11-13T19:39:47Z les joined #lisp 2014-11-13T19:40:04Z les quit (Changing host) 2014-11-13T19:40:04Z les joined #lisp 2014-11-13T19:41:15Z pnpuff quit (Quit: quit) 2014-11-13T19:47:18Z hiyosi joined #lisp 2014-11-13T19:49:28Z LiamH joined #lisp 2014-11-13T19:50:49Z CrazyWoods quit (Quit: leaving) 2014-11-13T19:51:00Z henesy joined #lisp 2014-11-13T19:52:05Z henesy quit (Read error: Connection reset by peer) 2014-11-13T19:52:10Z hiyosi quit (Ping timeout: 255 seconds) 2014-11-13T19:58:20Z alexey quit (Remote host closed the connection) 2014-11-13T20:06:39Z srcerer quit (Quit: ChatZilla 0.9.91 [Firefox 33.0.2/20141027150301]) 2014-11-13T20:07:10Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-13T20:10:40Z loz quit (Ping timeout: 264 seconds) 2014-11-13T20:11:52Z antoszka quit (Read error: Connection reset by peer) 2014-11-13T20:12:04Z antoszka joined #lisp 2014-11-13T20:15:58Z loz joined #lisp 2014-11-13T20:16:57Z antoszka quit (Ping timeout: 245 seconds) 2014-11-13T20:17:01Z rtra quit (Ping timeout: 244 seconds) 2014-11-13T20:21:29Z yeticry quit (Ping timeout: 255 seconds) 2014-11-13T20:22:06Z ndrei joined #lisp 2014-11-13T20:22:32Z rtra joined #lisp 2014-11-13T20:22:33Z srcerer joined #lisp 2014-11-13T20:23:05Z EvW quit (Remote host closed the connection) 2014-11-13T20:23:15Z EvW joined #lisp 2014-11-13T20:23:24Z yeticry joined #lisp 2014-11-13T20:24:55Z antoszka joined #lisp 2014-11-13T20:25:04Z antoszka quit (Changing host) 2014-11-13T20:25:04Z antoszka joined #lisp 2014-11-13T20:31:23Z ggole quit 2014-11-13T20:37:01Z ofosos quit (Ping timeout: 265 seconds) 2014-11-13T20:42:49Z mguzmann quit (Ping timeout: 265 seconds) 2014-11-13T20:45:08Z rme joined #lisp 2014-11-13T20:50:52Z wooden joined #lisp 2014-11-13T20:51:14Z cpc26 quit (Remote host closed the connection) 2014-11-13T20:51:48Z cpc26 joined #lisp 2014-11-13T20:52:04Z eudoxia joined #lisp 2014-11-13T20:52:44Z Patzy quit (Ping timeout: 245 seconds) 2014-11-13T20:53:27Z Patzy joined #lisp 2014-11-13T20:56:12Z eudoxia quit (Client Quit) 2014-11-13T20:56:43Z cpc26 quit (Ping timeout: 272 seconds) 2014-11-13T20:58:32Z cy joined #lisp 2014-11-13T20:58:57Z fantazo quit (Ping timeout: 240 seconds) 2014-11-13T21:00:31Z JuanDaugherty quit (Remote host closed the connection) 2014-11-13T21:04:23Z tesuji quit (Ping timeout: 240 seconds) 2014-11-13T21:06:01Z Jesin quit (Quit: Leaving) 2014-11-13T21:07:32Z rustico quit (Quit: Leaving) 2014-11-13T21:08:12Z sol__ quit (Ping timeout: 245 seconds) 2014-11-13T21:08:24Z pt1 joined #lisp 2014-11-13T21:08:24Z sol__ joined #lisp 2014-11-13T21:09:21Z kuimacro joined #lisp 2014-11-13T21:11:42Z fantazo joined #lisp 2014-11-13T21:13:32Z munge joined #lisp 2014-11-13T21:15:09Z k-stz quit (Remote host closed the connection) 2014-11-13T21:16:52Z alexey joined #lisp 2014-11-13T21:19:17Z [[[derek]]] joined #lisp 2014-11-13T21:20:34Z [[[derek]]]: Hey folks, I'm new to lisp and trying to write a chess game. I want to define a lot of variables for each peice, eg *knight-black* etc. What is the easiest way to do this with using as little code as possible? 2014-11-13T21:22:55Z stassats: the easiest way is not to 2014-11-13T21:23:11Z cpc26 joined #lisp 2014-11-13T21:23:12Z Grue`: it's not difficult to write a macro that makes a bunch of defparameters, but the real problem is that what you want to do is a bad approach 2014-11-13T21:24:04Z [[[derek]]]: I'm using unicode as symbols for the chess peices so when I print out the board in console I can tell whats going on, I want a way to link those symbols into words so I don't need to keep copy and pasting the unicode 2014-11-13T21:24:10Z Grue`: if you were writing a Go game, would you create 19x19 variables? 2014-11-13T21:25:00Z Grue`: oh, then you need an alist or hashtable 2014-11-13T21:25:24Z stassats: i used :bp :wp etc 2014-11-13T21:25:49Z [[[derek]]]: hum 2014-11-13T21:25:54Z [[[derek]]]: that sounds like a good idea 2014-11-13T21:26:28Z Grue`: clhs pairlis 2014-11-13T21:26:28Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_pairli.htm 2014-11-13T21:26:41Z Grue`: or something 2014-11-13T21:29:02Z Bicyclidine joined #lisp 2014-11-13T21:29:16Z [[[derek]]]: cheers, I'll take a look 2014-11-13T21:29:33Z atgreen joined #lisp 2014-11-13T21:31:25Z cpc26 quit (Ping timeout: 244 seconds) 2014-11-13T21:32:28Z wasamasa is now known as {{{ 2014-11-13T21:32:31Z {{{ is now known as }}} 2014-11-13T21:32:54Z }}} is now known as wasamasa 2014-11-13T21:34:13Z platoscave joined #lisp 2014-11-13T21:34:33Z nyef: Grue`: For a Go game, I'd be using pairs of 19-element FIXNUM vectors, one to show where there are stones and the other to show their colors, as an initial representation. 2014-11-13T21:34:49Z DGASAU quit (Ping timeout: 245 seconds) 2014-11-13T21:36:12Z jasom: 2 19x19 bit vectors? 2014-11-13T21:36:18Z [[[derek]]]: I'm not very good at this language yet, but so far I'm really enjoying the experiance, it's a great language you guys have got here. 2014-11-13T21:36:36Z drewc: [[[derek]]]: That is a bad approach though... if you are using unicode in your lisp implementation, then there is the simple : (list (char-name #\U2654) (char-code #\U2654) (princ-to-string #\U2654)) =>("WHITE_CHESS_KING" 9812 "♔") 2014-11-13T21:37:28Z ndrei quit (Ping timeout: 250 seconds) 2014-11-13T21:38:34Z DGASAU joined #lisp 2014-11-13T21:39:23Z drewc: (cons (lisp-implementation-type) (lisp-implementation-version)) => ("SBCL" . "1.1.13") 2014-11-13T21:40:30Z drewc plays chess and has written a number of things involving it :) 2014-11-13T21:41:54Z LoicLisp quit (Remote host closed the connection) 2014-11-13T21:42:27Z [[[derek]]]: I probelly should do that 2014-11-13T21:43:36Z Patzy quit (Ping timeout: 256 seconds) 2014-11-13T21:44:20Z Patzy joined #lisp 2014-11-13T21:44:38Z nyef: jasom: I wouldn't use bit-vectors. I'm far, far too comfortable working with integers as bitfields. 2014-11-13T21:45:17Z platoscave quit (Ping timeout: 240 seconds) 2014-11-13T21:45:55Z drmeister: The compile-time semantics of DEFPARAMETER and DEFVAR is to declare the symbols as special in the compile-time environment. I thought that was done by defining these macros with something like `(progn (eval-when (:compile-toplevel :load-top-level :execute) (sys:*make-special ',var)) ...) For some reason the ECL code that I have doesn't do that. 2014-11-13T21:45:56Z jasom: nyef: I am to (I blame completely broke compiler implementations of C bitfields) 2014-11-13T21:46:13Z drmeister: *:load-toplevel 2014-11-13T21:46:24Z jasom: drmeister: you could just make them special-forms that directly modify the compilation environment 2014-11-13T21:46:44Z nyef: Nevermind broken compiler implementations, how about complete unportability of the resulting structures? 2014-11-13T21:47:14Z drmeister: jasom: I could, but that would be work. Can I do it with eval-when? 2014-11-13T21:48:57Z jasom: drmeister: I don't see why not 2014-11-13T21:49:08Z platoscave joined #lisp 2014-11-13T21:49:10Z platoscave quit (Max SendQ exceeded) 2014-11-13T21:49:29Z drmeister: Currently it's broken in Clasp, defparameter and defvar have no compile-time side effects. My compiler used to watch for those symbols in top level forms (so I guess they were sort of special forms) and do the compile-time side effects but I "fixed" it to not do that a while ago expecting the macros to pick up the slack. I just discovered that I was 2014-11-13T21:49:29Z drmeister: wrong about that. 2014-11-13T21:51:04Z gravicappa quit (Remote host closed the connection) 2014-11-13T21:52:13Z drmeister: Here is my current DEFVAR macro. 2014-11-13T21:52:18Z drmeister: https://www.irccloud.com/pastebin/gstGvq4p 2014-11-13T21:52:26Z rme left #lisp 2014-11-13T21:52:48Z drmeister: Here is what I think will give me the correct compile-time and load-time/execute semantics: 2014-11-13T21:52:52Z drmeister: https://www.irccloud.com/pastebin/PZ5jZ0Ba 2014-11-13T21:53:10Z drmeister: The first one is straight from the ECL source code (I believe). 2014-11-13T21:53:45Z drmeister: Could some kind soul who has a deep understanding of compile-time issues take a look at the second one and tell me if that will give me the correct behavior? 2014-11-13T21:53:53Z Harag1 quit (Ping timeout: 264 seconds) 2014-11-13T21:54:27Z Bicyclidine: won't that call *make-special twice at compile time? 2014-11-13T21:55:59Z [[[derek]]]: is there anyway to get multiple values from a list by using multiple keys? Like (getf *blagh* :key1 :key2 :key3) => (value1 value2 value3) 2014-11-13T21:56:13Z Nilly quit (Ping timeout: 265 seconds) 2014-11-13T21:57:29Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2014-11-13T21:57:31Z jasom: [[[derek]]]: for plists not anything built-in; you can probably do it yourself though. With alists you can use remove-if-not 2014-11-13T21:57:33Z drewc: (mapcar (lambda (key) (getf *blagh* keys)) (list :key1 :key2 :key3)) => (value1 value2 value3) 2014-11-13T21:57:47Z ahungry_ quit (Quit: leaving) 2014-11-13T21:57:52Z jasom: drewc: okay, but that walks the list multiple times 2014-11-13T21:58:00Z _zxq9_ is now known as zxq9 2014-11-13T21:58:00Z drewc: true 2014-11-13T21:58:03Z zxq9 quit (Quit: Konversation terminated!) 2014-11-13T21:58:07Z [[[derek]]]: thank you! 2014-11-13T21:58:11Z zxq9 joined #lisp 2014-11-13T21:58:12Z alexey quit (Remote host closed the connection) 2014-11-13T21:58:32Z drmeister: Bicyclidine: You are referring to the second *make-special call in the (if *bytecodes-compiler* if statement? 2014-11-13T21:58:37Z jasom: [[[derek]]]: in general, if you have a list of things, and you want to get a list of calling a function on things, you want mapcar 2014-11-13T21:58:52Z [[[derek]]]: yeah I was thinking that but I was not to sure how to implement it 2014-11-13T21:59:04Z drewc: (loop for item in *blagh* when (member item '(:key1 :key2 :key3) collect item) 2014-11-13T21:59:21Z jasom: [[[derek]]]: or even N-lists of things (mapcar #'+ '(1 2 3) '(4 5 6)) => (5 7 9) 2014-11-13T21:59:24Z Bicyclidine: drmeister: well, the existence of two calls, yeah. 2014-11-13T21:59:26Z nyef: [[[derek]]]: (destructuring-bind (&key key1 key2 key3 &allow-other-keys) *blagh* (list key1 key2 key3)) 2014-11-13T21:59:29Z jasom: drewc: not quote, you need on by cdr 2014-11-13T21:59:32Z Shinmera quit (Quit: しつれいしなければならないんです。) 2014-11-13T22:00:00Z drmeister: Bicyclidine: Hang on - I don't recall what I did to fake the byte code compiler. 2014-11-13T22:00:04Z jasom: (loop for (key . value) on *blagh by cdr when (member item '(:key1 :key2 :key3)) collect (Car value)) 2014-11-13T22:00:10Z drewc: jasom: yup, typed that here instead of the REPL :| 2014-11-13T22:00:17Z jasom: (loop for (key . value) on *blagh by cddr when (member item '(:key1 :key2 :key3)) collect (Car value)) 2014-11-13T22:00:22Z drmeister: Bicyclidine: Sorry, I should have read it more carefully and investigated that. Duh. 2014-11-13T22:00:32Z munksgaard joined #lisp 2014-11-13T22:04:04Z Longlius quit (Remote host closed the connection) 2014-11-13T22:06:16Z kuimacro quit (Ping timeout: 256 seconds) 2014-11-13T22:06:42Z innertracks quit (Quit: innertracks) 2014-11-13T22:07:02Z innertracks joined #lisp 2014-11-13T22:07:44Z drmeister: Bicyclidine: But hang on - in the original defvar the IF statement at the bottom won't be evaluated at compile-time so it can't be responsible for declaring the var as special in the compile-time environment. 2014-11-13T22:07:48Z drmeister: https://www.irccloud.com/pastebin/uu6HcFEt 2014-11-13T22:07:57Z drmeister: Do I read that correctly? 2014-11-13T22:08:24Z Bicyclidine: Uh, what/ 2014-11-13T22:08:27Z innertracks quit (Client Quit) 2014-11-13T22:08:36Z Bicyclidine: it has eval-when compile-toplevel, that's all i'm looking at. 2014-11-13T22:08:42Z Bicyclidine: well, and it's top level. 2014-11-13T22:08:45Z Grue`: clhs get_properties 2014-11-13T22:08:45Z specbot: Couldn't find anything for get_properties. 2014-11-13T22:08:48Z innertracks joined #lisp 2014-11-13T22:08:51Z Grue`: clhs get-properties 2014-11-13T22:08:51Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_get_pr.htm 2014-11-13T22:09:00Z Grue`: re: getting several values from plist 2014-11-13T22:10:18Z BSaboia quit (Ping timeout: 265 seconds) 2014-11-13T22:10:38Z drmeister: Bicyclidine: I'm looking at the original definition from ECL - I'm trying to understand what the EVAL-WHEN(s) in the ,(if *bytecodes-compiler* `(eval-when (:compile-toplevel) (sys:*make-special ',var)) `(eval-when (:compile-toplevel) (si::register-global ',var))) are doing 2014-11-13T22:10:40Z jasom: Grue`: you'd need to iteratively or recursively call that though; it only gets the first one 2014-11-13T22:11:05Z Bicyclidine: drmeister: they call sys:*make-special or si::register-global at compile time depending on whether *bytecodes-compiler* is true. 2014-11-13T22:11:19Z drmeister: Or its that the ,if(...) is evaluated at macro expansion time. 2014-11-13T22:11:43Z Bicyclidine: well, yes, that's what the , is for 2014-11-13T22:11:57Z drmeister: And that happens at compile time because the ,if(...) gets evaluated at macro-expansion time at compile-time. Ok - got it. 2014-11-13T22:12:20Z Bicyclidine: point is that yoru version will have (eval-when (:compile-toplevel) (sys:*make-special ',var)) twice. 2014-11-13T22:13:05Z jasom: also doesn't locally make things not top-level? 2014-11-13T22:13:49Z jasom: nope, I'm wrong 2014-11-13T22:15:11Z drmeister: Bicyclidine: Yes, I see that now. 2014-11-13T22:16:01Z drmeister: It begs the question though - why aren't these variables being declared special in the compile-time environment. 2014-11-13T22:16:22Z drmeister: They currently aren't in Clasp. Now I have *bytecodes-compiler* --> nil. 2014-11-13T22:17:01Z drmeister: So it should be calling si::register-global at compile time - so I better check and see if si::register-global declares variables as being special. 2014-11-13T22:17:09Z Bicyclidine: sounds like a plan 2014-11-13T22:17:21Z nyef: Also what sys:*make-special does. 2014-11-13T22:18:02Z mrSpec quit (Remote host closed the connection) 2014-11-13T22:18:12Z drmeister: Everything has been working until now because I load all of the Common Lisp source code before I compile file it. So all defparameter/defvar/defconstants are special in the runtime environment when I compile file the source files. 2014-11-13T22:19:38Z drmeister: But user code - like Cleavir is failing because defparameter doesn't have a compile-time side effect: (defparameter *table* nil) (defun a () (print *table*)) (defun b () (let ((*table* 10)) (a))) (b) fails 2014-11-13T22:23:31Z prxq quit (Remote host closed the connection) 2014-11-13T22:23:32Z drmeister: Argh - now I remember. I'm my own worst enemy sometimes. I "fixed" register-global at the same time so that it would augment a global compile-time environment rather than the runtime environment. I was stumbling towards something like beach's global environment objects. 2014-11-13T22:26:06Z pavelpenev joined #lisp 2014-11-13T22:27:44Z drmeister: The ECL versions of DEFVAR/DEFPARAMETER/DEFCONSTANT should have the appropriate compile-time behavior if I (defun register-global (var) (si:*make-special var)) 2014-11-13T22:28:36Z drmeister: I should talk to beach about this more - my way of dealing with environments is a bit sloppy. 2014-11-13T22:32:03Z kuimacro joined #lisp 2014-11-13T22:32:26Z arenz quit (Ping timeout: 255 seconds) 2014-11-13T22:34:27Z hiyosi joined #lisp 2014-11-13T22:34:41Z loz quit (Ping timeout: 264 seconds) 2014-11-13T22:38:05Z wheelsucker quit (Quit: Client Quit) 2014-11-13T22:38:06Z usrj joined #lisp 2014-11-13T22:39:07Z hiyosi quit (Ping timeout: 255 seconds) 2014-11-13T22:43:59Z jortanna joined #lisp 2014-11-13T22:47:09Z pt1 quit (Remote host closed the connection) 2014-11-13T22:51:11Z aretecode joined #lisp 2014-11-13T22:52:16Z Ethan- joined #lisp 2014-11-13T22:52:44Z [[[derek]]] quit (Ping timeout: 256 seconds) 2014-11-13T22:54:28Z fridim_ quit (Ping timeout: 264 seconds) 2014-11-13T22:54:38Z pecg joined #lisp 2014-11-13T22:54:52Z munksgaard quit (Ping timeout: 255 seconds) 2014-11-13T22:55:28Z resttime joined #lisp 2014-11-13T22:56:03Z edgar-rft quit (Quit: activity vanished by mental contermination) 2014-11-13T22:58:07Z munksgaard joined #lisp 2014-11-13T22:59:13Z Longlius joined #lisp 2014-11-13T23:00:17Z EvW quit (Ping timeout: 244 seconds) 2014-11-13T23:02:38Z cpc26 joined #lisp 2014-11-13T23:04:05Z munksgaard quit (Ping timeout: 264 seconds) 2014-11-13T23:05:41Z Kanae quit (Read error: Connection reset by peer) 2014-11-13T23:08:24Z defaultxr joined #lisp 2014-11-13T23:10:20Z pjb: - 2014-11-13T23:12:27Z BitPuffin joined #lisp 2014-11-13T23:13:34Z henesy joined #lisp 2014-11-13T23:13:40Z Karl_Dscc quit (Ping timeout: 264 seconds) 2014-11-13T23:16:39Z Lowl3v3l quit (Read error: Connection reset by peer) 2014-11-13T23:18:24Z Karl_Dscc joined #lisp 2014-11-13T23:21:01Z bgs100 joined #lisp 2014-11-13T23:23:25Z yrk quit (Quit: ERC (IRC client for Emacs 25.0.50.1)) 2014-11-13T23:23:46Z miql quit (Ping timeout: 265 seconds) 2014-11-13T23:24:55Z Karl_Dscc quit (Ping timeout: 272 seconds) 2014-11-13T23:25:10Z Jubb quit (Remote host closed the connection) 2014-11-13T23:25:42Z innertracks1 joined #lisp 2014-11-13T23:26:00Z Sgeo quit (Remote host closed the connection) 2014-11-13T23:26:23Z Sgeo joined #lisp 2014-11-13T23:27:29Z innertracks quit (Ping timeout: 264 seconds) 2014-11-13T23:28:25Z ivan4th quit (Remote host closed the connection) 2014-11-13T23:28:41Z ivan4th joined #lisp 2014-11-13T23:29:10Z Jubb joined #lisp 2014-11-13T23:29:16Z sheilong quit (Ping timeout: 250 seconds) 2014-11-13T23:30:35Z toors quit (Quit: Lost terminal) 2014-11-13T23:32:54Z Karl_Dscc joined #lisp 2014-11-13T23:32:55Z hiyosi joined #lisp 2014-11-13T23:33:06Z fragamus quit (Quit: My iMac has gone to sleep. ZZZzzz…) 2014-11-13T23:33:12Z ivan4th quit (Ping timeout: 245 seconds) 2014-11-13T23:35:29Z usrj quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) 2014-11-13T23:36:48Z fragamus joined #lisp 2014-11-13T23:43:07Z usrj joined #lisp 2014-11-13T23:43:45Z miql joined #lisp 2014-11-13T23:44:31Z fantazo quit (Quit: Verlassend) 2014-11-13T23:44:56Z akkad: . 2014-11-13T23:45:27Z akkad: someone bounce jortanna for spam 2014-11-13T23:47:56Z henesy quit (Ping timeout: 265 seconds) 2014-11-13T23:48:17Z miql quit (Ping timeout: 240 seconds) 2014-11-13T23:48:40Z usrj quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) 2014-11-13T23:48:54Z ehaliewicz joined #lisp 2014-11-13T23:53:22Z miql joined #lisp 2014-11-13T23:55:26Z usrj joined #lisp 2014-11-13T23:56:24Z usrj quit (Client Quit) 2014-11-13T23:57:15Z usrj joined #lisp