2016-08-07T00:00:05Z m00natic quit (Remote host closed the connection) 2016-08-07T00:01:04Z louve joined #lisp 2016-08-07T00:04:08Z pmc quit (Quit: Leaving) 2016-08-07T00:04:28Z louve: Hello, i am using common lisp and i am trying to understand the difference between these 2 lines: (defparameter *test* "test") and (defparameter *test* (read-from-string "test")) 2016-08-07T00:04:58Z oleo: in one case it will be a string assignment 2016-08-07T00:05:14Z louve: the first case is string assignement ? 2016-08-07T00:05:16Z oleo: in the other read-from-string will return 'test as a symbol i assume 2016-08-07T00:05:23Z oleo: yes the first is string 2016-08-07T00:05:55Z louve: humm so in the second case *test* contains a symbol ? 2016-08-07T00:06:19Z oleo: yes i'd say so 2016-08-07T00:07:42Z phoe: (read-from-string "test") will return a symbol TEST interned in the current package. 2016-08-07T00:07:58Z oleo: eheh 2016-08-07T00:08:37Z shikhin is now known as lolnickjoke 2016-08-07T00:08:40Z arbv quit (Ping timeout: 258 seconds) 2016-08-07T00:08:47Z lolnickjoke is now known as shikhin 2016-08-07T00:09:35Z louve: thx for the information, indeed i just notice that (read) return a symbol too in fact 2016-08-07T00:09:55Z louve: but (read-line) return a string 2016-08-07T00:12:26Z Bike: yes. you might want to check the function descriptions. 2016-08-07T00:12:29Z phoe: Ayup, (read-line) returns a string. 2016-08-07T00:12:32Z phoe: clhs read-line 2016-08-07T00:12:32Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_rd_lin.htm 2016-08-07T00:12:37Z phoe: clhs read 2016-08-07T00:12:37Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_rd_rd.htm 2016-08-07T00:13:51Z xrash quit (Ping timeout: 276 seconds) 2016-08-07T00:16:05Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-07T00:16:11Z xrash joined #lisp 2016-08-07T00:16:13Z xrash quit (Remote host closed the connection) 2016-08-07T00:22:05Z smokeink quit (Ping timeout: 244 seconds) 2016-08-07T00:24:10Z smithzv quit (Ping timeout: 252 seconds) 2016-08-07T00:25:58Z arescorpio joined #lisp 2016-08-07T00:38:52Z davsebamse quit (Ping timeout: 250 seconds) 2016-08-07T00:39:25Z smokeink joined #lisp 2016-08-07T00:48:07Z davsebamse joined #lisp 2016-08-07T00:48:20Z hel-io joined #lisp 2016-08-07T00:53:06Z hel-io quit (Ping timeout: 265 seconds) 2016-08-07T00:53:22Z oleo: i get an error http://paste.lisp.org/display/322405 2016-08-07T00:56:53Z phoe: oleo: that looks like a C/C++ error. 2016-08-07T00:57:24Z oleo: ya 2016-08-07T00:58:00Z oleo: my system has changed, before i got the gsll package over sbopkg now i'm got it from slackpkg..... 2016-08-07T00:58:03Z davsebamse quit (Ping timeout: 276 seconds) 2016-08-07T00:58:17Z oleo: i dist-upgraded all systems already 2016-08-07T00:58:23Z oleo: and even the client 2016-08-07T00:58:39Z oleo: seems the bug is legit 2016-08-07T01:01:00Z oleo: i didn't look into the sources yet 2016-08-07T01:06:50Z deank quit 2016-08-07T01:07:03Z davsebamse joined #lisp 2016-08-07T01:10:03Z oleo: hmm, seems like J is a matrix 2016-08-07T01:10:15Z oleo: as a matrix it would not be a simple pointer ? 2016-08-07T01:10:25Z eSVG joined #lisp 2016-08-07T01:11:17Z oleo: or the name to which it refers is mistyped 2016-08-07T01:11:32Z oleo: jac rather than J 2016-08-07T01:12:34Z smokeink quit (Ping timeout: 260 seconds) 2016-08-07T01:12:34Z aries_liuxueyang quit (Ping timeout: 260 seconds) 2016-08-07T01:14:30Z oleo: i'd rather say a name mismatch.... 2016-08-07T01:15:39Z aries_liuxueyang joined #lisp 2016-08-07T01:18:51Z seg quit (Ping timeout: 276 seconds) 2016-08-07T01:20:11Z seg joined #lisp 2016-08-07T01:22:44Z oleo: pheo: is a struct member a slot directly ? 2016-08-07T01:27:41Z oleo: nope, seems a real type mismatch rather.... 2016-08-07T01:29:46Z LiamH: What version of GSL are you using? 2016-08-07T01:30:04Z smithzv joined #lisp 2016-08-07T01:31:51Z sweater quit (Read error: Connection reset by peer) 2016-08-07T01:44:57Z oleo: gsl-2.1 2016-08-07T01:46:30Z LiamH: GSLL does not load for GSL 2.x. 2016-08-07T01:46:35Z unbalancedparen joined #lisp 2016-08-07T01:47:09Z oleo: oww man 2016-08-07T01:47:12Z oleo: now what ? 2016-08-07T01:47:17Z oleo: i can't use it ? 2016-08-07T01:47:30Z LiamH: Get an older version of GSL, 1.16 is the last 1.x version, and it loads. 2016-08-07T01:47:56Z oleo: when will 2.1 support be available ? 2016-08-07T01:48:18Z LiamH: No idea. 2016-08-07T01:48:38Z oleo: typedef struct gsl_multifit_function_fdf_struct gsl_multifit_function_fdf ; 2016-08-07T01:48:38Z oleo: typedef struct 2016-08-07T01:48:38Z oleo: { 2016-08-07T01:48:38Z oleo: const char *name; 2016-08-07T01:48:38Z oleo: size_t size; 2016-08-07T01:48:39Z oleo: int (*alloc) (void *state, size_t n, size_t p); 2016-08-07T01:48:41Z oleo: int (*set) (void *state, const gsl_vector * wts, 2016-08-07T01:48:43Z oleo: gsl_multifit_function_fdf * fdf, gsl_vector * x, 2016-08-07T01:48:47Z oleo: gsl_vector * f, gsl_vector * dx); 2016-08-07T01:48:49Z oleo: int (*iterate) (void *state, const gsl_vector * wts, 2016-08-07T01:48:51Z oleo: gsl_multifit_function_fdf * fdf, gsl_vector * x, 2016-08-07T01:48:53Z oleo: gsl_vector * f, gsl_vector * dx); 2016-08-07T01:48:54Z LiamH: Please don't flood 2016-08-07T01:48:55Z oleo: int (*gradient) (void *state, gsl_vector * g); 2016-08-07T01:48:57Z oleo: int (*jac) (void *state, gsl_matrix * J); 2016-08-07T01:48:59Z oleo: void (*free) (void *state); 2016-08-07T01:49:01Z oleo: } 2016-08-07T01:49:03Z oleo: gsl_multifit_fdfsolver_type; 2016-08-07T01:49:09Z oleo: i won't 2016-08-07T01:49:30Z oleo: do you see that int (*jac) (void *state, gsl_matrix * J); thing ? 2016-08-07T01:49:41Z oleo: in that struct 2016-08-07T01:49:49Z LiamH: There are many API changes in GSL, and it is not easy to find, let alone change them. 2016-08-07T01:50:18Z oleo: hmmm, ok 2016-08-07T01:50:24Z oleo: maybe i should just wait 2016-08-07T01:50:47Z LiamH: That is one option. The other, as I said, is to get an older version of GSL. 2016-08-07T01:54:24Z voidlily joined #lisp 2016-08-07T01:58:19Z oleo: do i have to remove the system one then ? 2016-08-07T01:58:25Z wtetzner joined #lisp 2016-08-07T01:58:30Z oleo: what if other stuff breaks 2016-08-07T01:59:24Z oleo: anyway, thank you for the info 2016-08-07T02:00:39Z zacts quit (Quit: WeeChat 1.4) 2016-08-07T02:02:49Z LiamH: Not sure, depends on OS and how library is installed. 2016-08-07T02:02:53Z LiamH: NP 2016-08-07T02:17:18Z Denommus joined #lisp 2016-08-07T02:26:09Z Quadrescence quit (Quit: Leaving) 2016-08-07T02:27:18Z LiamH quit (Quit: Leaving.) 2016-08-07T02:35:02Z Quadrescence joined #lisp 2016-08-07T02:37:47Z zeissoctopus joined #lisp 2016-08-07T02:40:35Z unbalancedparen quit (Quit: WeeChat 1.5) 2016-08-07T02:40:39Z tristam__ is now known as Tristam 2016-08-07T02:40:53Z Tristam quit (Changing host) 2016-08-07T02:40:53Z Tristam joined #lisp 2016-08-07T02:42:32Z harish_ quit (Ping timeout: 240 seconds) 2016-08-07T02:52:54Z pierpa joined #lisp 2016-08-07T02:56:04Z harish_ joined #lisp 2016-08-07T02:59:11Z wildlander quit (Quit: Saliendo) 2016-08-07T03:08:20Z defaultxr quit (Quit: gnight) 2016-08-07T03:13:15Z lemoinem quit (Ping timeout: 276 seconds) 2016-08-07T03:15:59Z DougNYC quit 2016-08-07T03:17:57Z peey joined #lisp 2016-08-07T03:18:48Z lemoinem joined #lisp 2016-08-07T03:24:33Z lol-icon quit (Quit: Fix life config.) 2016-08-07T03:26:46Z lol-icon joined #lisp 2016-08-07T03:27:30Z totimkopf: curly braces in a lisp channel :S 2016-08-07T03:32:02Z smithzv quit (Ping timeout: 250 seconds) 2016-08-07T03:34:13Z cromachina: { domain specific language } 2016-08-07T03:35:27Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-07T03:45:57Z edgar-rft is wearing his curly braces right now 2016-08-07T03:46:39Z oleo_ joined #lisp 2016-08-07T03:50:51Z oleo quit (Ping timeout: 264 seconds) 2016-08-07T03:52:28Z wtetzner quit (Remote host closed the connection) 2016-08-07T03:54:09Z Fare joined #lisp 2016-08-07T03:58:19Z sjl quit (Read error: Connection reset by peer) 2016-08-07T03:59:24Z Jesin quit (Ping timeout: 276 seconds) 2016-08-07T04:05:11Z tfm quit (Ping timeout: 258 seconds) 2016-08-07T04:05:26Z smokeink joined #lisp 2016-08-07T04:10:30Z Fare quit (Ping timeout: 258 seconds) 2016-08-07T04:11:38Z MrWoohoo joined #lisp 2016-08-07T04:13:04Z Jesin joined #lisp 2016-08-07T04:22:10Z BlueRavenGT quit (Ping timeout: 244 seconds) 2016-08-07T04:22:55Z akkad: 24 hours to load parse/insert 7 days of aws vpc flow data in lisp. guessing this can e optimized. 6.9 million rows. 2016-08-07T04:24:04Z pierpa: 80 rows/second 2016-08-07T04:25:58Z pierpa: looks like there's ample margin for improvement 2016-08-07T04:28:22Z akkad: 100% normalized 2016-08-07T04:31:35Z leupold joined #lisp 2016-08-07T04:33:02Z jleija joined #lisp 2016-08-07T04:33:02Z arescorpio quit (Quit: Leaving.) 2016-08-07T04:44:33Z zeissoctopus quit (Quit: Leaving) 2016-08-07T04:45:38Z Fare joined #lisp 2016-08-07T04:45:58Z SAL9000 quit (Quit: ZNC - http://znc.in) 2016-08-07T04:46:53Z beach joined #lisp 2016-08-07T04:47:20Z beach: Good morning everyone! 2016-08-07T04:47:26Z akkad: morning beach 2016-08-07T04:51:16Z Jesin quit (Ping timeout: 244 seconds) 2016-08-07T04:54:39Z SamSkulls quit (Ping timeout: 276 seconds) 2016-08-07T04:57:52Z Engen joined #lisp 2016-08-07T05:09:47Z SAL9000 joined #lisp 2016-08-07T05:12:16Z gravicappa joined #lisp 2016-08-07T05:13:57Z moei quit (Quit: Leaving...) 2016-08-07T05:16:03Z SAL9000 quit (Quit: ZNC - http://znc.in) 2016-08-07T05:17:29Z SAL9000 joined #lisp 2016-08-07T05:19:42Z keramida joined #lisp 2016-08-07T05:27:40Z jleija quit (Quit: leaving) 2016-08-07T05:45:51Z rumbler31 joined #lisp 2016-08-07T05:47:12Z peey quit (Ping timeout: 250 seconds) 2016-08-07T06:26:58Z eSVG quit (Ping timeout: 258 seconds) 2016-08-07T06:28:35Z Engen quit (Quit: Release the goats;) 2016-08-07T06:29:23Z eSVG joined #lisp 2016-08-07T06:30:19Z mastokley quit (Ping timeout: 250 seconds) 2016-08-07T06:30:34Z tmtwd joined #lisp 2016-08-07T06:30:49Z pierpa quit (Ping timeout: 244 seconds) 2016-08-07T06:42:28Z mathi_aihtam joined #lisp 2016-08-07T06:43:10Z wtetzner joined #lisp 2016-08-07T06:43:39Z Fare quit (Ping timeout: 264 seconds) 2016-08-07T06:44:56Z Fare joined #lisp 2016-08-07T06:47:15Z mathi_aihtam quit (Ping timeout: 264 seconds) 2016-08-07T06:49:03Z wtetzner quit (Ping timeout: 264 seconds) 2016-08-07T06:59:44Z krasnal joined #lisp 2016-08-07T07:02:08Z gingerale joined #lisp 2016-08-07T07:05:52Z angavrilov joined #lisp 2016-08-07T07:13:39Z Fare quit (Ping timeout: 250 seconds) 2016-08-07T07:14:24Z mishoo joined #lisp 2016-08-07T07:16:49Z eSVG quit (Quit: Leaving) 2016-08-07T07:20:16Z les joined #lisp 2016-08-07T07:29:37Z brfennpocock quit (Remote host closed the connection) 2016-08-07T07:29:52Z brfennpocock joined #lisp 2016-08-07T07:34:22Z eSVG joined #lisp 2016-08-07T07:37:29Z les quit (Quit: "") 2016-08-07T07:37:44Z les joined #lisp 2016-08-07T07:43:34Z eSVG quit (Quit: Leaving) 2016-08-07T07:44:01Z eSVG joined #lisp 2016-08-07T07:49:33Z brfennpocock quit (Read error: Connection reset by peer) 2016-08-07T07:49:45Z brfennpocock joined #lisp 2016-08-07T07:53:54Z stepnem joined #lisp 2016-08-07T07:58:38Z lol-icon quit (Remote host closed the connection) 2016-08-07T07:58:59Z rumbler31: I want to do fun stuff with signals. I have an idea and I don't know if I can "have my cake and eat it too" here or not 2016-08-07T08:02:07Z lol-icon joined #lisp 2016-08-07T08:02:35Z rumbler31: I have a file with recorded vehicle telemetry, and somewhere in the file is the date the data was recorded. I have code to get all the data I need from the file, but what I want to do is make a higher layer able to stop processing of a current file if the date (or really, any data I choose) does not match an input spec. I've been reading and rereading pcl's chapter on conditions. what I think i need is to throw a signal when I find the da 2016-08-07T08:02:35Z rumbler31: ta I am looking for, but also provide for a restart that says "continue reading". Higher level code would need to be able to unwind the stack upon processing the signal's data, or decide to invoke the restart. 2016-08-07T08:03:46Z rumbler31: the way I understand it, if I use handler-case, the stack will be rewound if the signal is fired. if I use handler-bind, how do I return control to the higher level when I decide I don't need this file? 2016-08-07T08:03:49Z rumbler31: or is this a bridge too far? 2016-08-07T08:10:32Z MoALTz joined #lisp 2016-08-07T08:13:00Z tmtwd quit (Ping timeout: 250 seconds) 2016-08-07T08:16:52Z Zhivago: Stack is not rewound when the signal is fired. 2016-08-07T08:17:37Z Zhivago: The signal may elect to perform a non-local transfer, which may involve the stack being unwound, i.e., in order to reach a restart. 2016-08-07T08:18:00Z Zhivago: handler-case sets up some of the boiler-plate for you. 2016-08-07T08:18:38Z test1600 joined #lisp 2016-08-07T08:23:13Z keramida quit (Ping timeout: 250 seconds) 2016-08-07T08:26:29Z NeverDie quit (Quit: http://radiux.io/) 2016-08-07T08:27:56Z eivarv joined #lisp 2016-08-07T08:32:14Z gargaml joined #lisp 2016-08-07T08:33:44Z jackdaniel: yes, handler-case is very handy 2016-08-07T08:34:20Z NeverDie joined #lisp 2016-08-07T08:38:03Z tigg joined #lisp 2016-08-07T08:38:51Z rumbler31: hmm ok 2016-08-07T08:39:04Z rumbler31: let me see if I can get a minimal working set 2016-08-07T08:41:57Z puchacz joined #lisp 2016-08-07T08:44:05Z Karl_Dscc joined #lisp 2016-08-07T08:48:28Z moei joined #lisp 2016-08-07T08:52:07Z eivarv quit (Quit: Sleep) 2016-08-07T09:01:45Z eivarv joined #lisp 2016-08-07T09:07:37Z pjb joined #lisp 2016-08-07T09:08:08Z ggole joined #lisp 2016-08-07T09:23:55Z shka_ joined #lisp 2016-08-07T09:24:28Z DeadTrickster joined #lisp 2016-08-07T09:25:57Z Bike quit (Read error: No route to host) 2016-08-07T09:26:43Z Bike joined #lisp 2016-08-07T09:28:28Z proudanselmo joined #lisp 2016-08-07T09:30:33Z Anselmo quit (Ping timeout: 240 seconds) 2016-08-07T09:32:38Z Yuuhi joined #lisp 2016-08-07T09:34:37Z NeverDie quit (Quit: http://radiux.io/) 2016-08-07T09:38:16Z lol-icon quit (Quit: Good night.) 2016-08-07T09:40:22Z godaccess joined #lisp 2016-08-07T09:40:26Z mathi_aihtam joined #lisp 2016-08-07T09:42:11Z wtetzner joined #lisp 2016-08-07T09:46:01Z rumbler3_ joined #lisp 2016-08-07T09:46:11Z rumbler3_: as I read the spec, using handler-case in the high level function to process the signal seems to suggest that I will not be able to decide to continue executing the low level function if I decide that's what I want to do, is this accurate? 2016-08-07T09:47:09Z wtetzner quit (Ping timeout: 276 seconds) 2016-08-07T09:48:21Z Bike: Yes. Use handler-bind if you want to restart. 2016-08-07T09:49:22Z rumbler31 quit (Ping timeout: 244 seconds) 2016-08-07T10:00:57Z eivarv quit (Quit: Sleep) 2016-08-07T10:02:25Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-07T10:02:48Z brfennpocock quit (Ping timeout: 244 seconds) 2016-08-07T10:06:25Z mathi_aihtam joined #lisp 2016-08-07T10:06:26Z Bike quit (Quit: negative interdict) 2016-08-07T10:10:02Z smokeink quit (Ping timeout: 244 seconds) 2016-08-07T10:10:18Z smokeink joined #lisp 2016-08-07T10:11:45Z pierpa joined #lisp 2016-08-07T10:12:55Z eivarv joined #lisp 2016-08-07T10:15:16Z rumbler3_: http://paste.lisp.org/display/322431 2016-08-07T10:15:33Z test1600 quit (Ping timeout: 240 seconds) 2016-08-07T10:15:34Z d4ryus quit (Ping timeout: 244 seconds) 2016-08-07T10:15:41Z varjag joined #lisp 2016-08-07T10:16:39Z rumbler3_: ok so basically this is a skeleton of what i have so far, I realize I forgot to place the restart in the low level, and in the match-or-keep-going condition handler, I don't know what I would put there in order to "continue" the loop with the next item in the source list 2016-08-07T10:18:31Z d4ryus joined #lisp 2016-08-07T10:20:49Z Josh2 joined #lisp 2016-08-07T10:22:32Z rumbler3_: although with the restart-case... I wonder how I'm going to add this to my real low level. i'll be part way through reading a stream, once i've read enough data in order to instantiate the signal, this restart-case form seems to suggest that i'd have to put the rest of my code after that point inside the case. is inside the case a place where it would be safe to .. make a tagbody around the remainder of the function and then invoke go? 2016-08-07T10:24:19Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-07T10:37:51Z scymtym: rumbler3_: you don't need a restart for continuing. when LOW-LEVEL signals and HIGH-LEVEL does not handle the signaled condition by doing a non-local transfer of control (RETURN, GO, etc.), the SIGNAL call just returns and the low-level continues. see http://paste.lisp.org/display/322431#1 2016-08-07T10:38:03Z sid_cypher joined #lisp 2016-08-07T10:38:54Z rumbler3_: oh.. thats even more convenient 2016-08-07T10:39:04Z scymtym: well, that doesn't demonstrate it properly 2016-08-07T10:39:28Z rumbler3_: what do you mean 2016-08-07T10:39:30Z scymtym: since the only time the condition is signaled, it does /not/ continue. but you get the idea 2016-08-07T10:39:45Z rumbler3_: oh, yes 2016-08-07T10:40:18Z test1600 joined #lisp 2016-08-07T10:42:21Z rumbler3_: i haven't used blocks or tagbody forms much, I want to end up skipping items in the loop. but maybe it would be easier to do something different. 2016-08-07T10:42:24Z DeadTrickster quit (Ping timeout: 276 seconds) 2016-08-07T10:43:01Z scymtym: as written in the comment, you can use (return-from high-level) and omit the BLOCK if you like that better 2016-08-07T10:43:31Z rumbler3_: the use case right now is I have way too many files. and I want to begin building reports from them from certain date ranges, so my high level function could just accept a (directory "*.log") call without the user having to actually manipulate the filesystem, the inner loop would be a dolist 2016-08-07T10:43:43Z rumbler3_: I appreciate the example though 2016-08-07T10:44:44Z rumbler3_: but I think this gets me most of the way there, as long as I can wrap the handler-bind inside a tagbody and the handler jump to somewhere inside the tagbody 2016-08-07T10:45:00Z rumbler3_: it might look hairy, but if that is allowed, then I think I can do what I need 2016-08-07T10:45:40Z scymtym: you could do the control transfer with TAGBODY/GO instead of BLOCK/RETURN-FROM, yes 2016-08-07T10:48:17Z rumbler3_: if I define a function object for use with the handler-case, is it legal to have a (go call in it, with the assumption that I would only use it inside a tagbody form with the appropriate label? or would I have to create one in place with lambda? 2016-08-07T10:48:45Z rumbler3_: ah, the compiler complains. I guess that makes sense 2016-08-07T10:50:33Z neso_ joined #lisp 2016-08-07T10:51:01Z rumbler3_: oh, complains with the lambda as well 2016-08-07T10:53:22Z scymtym: if i understand what you describe correctly, that is possible, but HANDLER-CASE does not accept function objects. did you mean HANDLER-BIND? 2016-08-07T10:53:37Z rumbler3_: http://paste.lisp.org/+6WSF/2 2016-08-07T10:53:49Z rumbler3_: yes i meant handler bind 2016-08-07T10:55:33Z neso_ quit (Quit: Colloquy for iPhone - http://colloquy.mobi) 2016-08-07T10:55:37Z harish_ quit (Remote host closed the connection) 2016-08-07T10:56:42Z zacharias joined #lisp 2016-08-07T10:56:49Z brfennpocock joined #lisp 2016-08-07T10:57:06Z scymtym: note the other changes i made in annotation #1. the DEFINE-CONDITION form was slightly off. also, tags in a TAGBODY must appear "directly" in the body of the TAGBODY, not within some other forms 2016-08-07T10:58:07Z scymtym: you have to move the TAGBODY and HANDLER-BIND into the body of the DOLIST to make that idea work 2016-08-07T10:58:49Z test1600 quit (Quit: Leaving) 2016-08-07T10:59:39Z scymtym: like http://paste.lisp.org/display/322431#3 2016-08-07T11:03:12Z brfennpocock quit (Ping timeout: 276 seconds) 2016-08-07T11:04:04Z rumbler3_: ignore the bad define-condition form I have it fixed now 2016-08-07T11:04:40Z rumbler3_: ahh looks like I understood what you meant 2016-08-07T11:07:49Z rumbler3_: well, it doesn't like my signal form, complaining about invalid initargs 2016-08-07T11:08:06Z godaccess quit (Quit: Lost terminal) 2016-08-07T11:08:17Z rumbler3_: I changed my define-condition form to be like yours but I guess if I messed up to begin with, can conditions be redefined? 2016-08-07T11:08:36Z rumbler3_: nevermind i'm dumb 2016-08-07T11:09:24Z rumbler3_: although low-level when called by itself is returning nil and not the argument 2016-08-07T11:11:33Z scymtym: (low-level THING) returns THING here, irregardless of whether (eql THING 2) or not, as expected 2016-08-07T11:12:13Z eSVG quit (Ping timeout: 258 seconds) 2016-08-07T11:12:59Z Josh2 quit (Remote host closed the connection) 2016-08-07T11:13:43Z Josh2 joined #lisp 2016-08-07T11:16:28Z asc232 joined #lisp 2016-08-07T11:17:02Z oleo_ quit (Quit: Leaving) 2016-08-07T11:17:58Z JuanDaugherty quit (Quit: Hibernate, reboot, exeunt, etc.) 2016-08-07T11:24:48Z ASau quit (Ping timeout: 244 seconds) 2016-08-07T11:26:14Z rumbler3_: yea thats what I want 2016-08-07T11:26:59Z rumbler3_: the low-level would be replaced with "when you read this field, signal" in this case I just want to be explicit. but all I want low level to do is return its argument 2016-08-07T11:28:03Z Josh3 joined #lisp 2016-08-07T11:28:16Z Josh2 quit (Read error: Connection reset by peer) 2016-08-07T11:28:17Z Josh3 is now known as Josh2 2016-08-07T11:34:30Z rumbler3_: needed to redefine my function. 2016-08-07T11:35:04Z rumbler3_: holy shit it works 2016-08-07T11:35:10Z rumbler3_: thats sick 2016-08-07T11:35:44Z rumbler3_: ty scymtym 2016-08-07T11:36:00Z tfm joined #lisp 2016-08-07T11:36:18Z oleo joined #lisp 2016-08-07T11:39:16Z harish_ joined #lisp 2016-08-07T11:42:15Z asc232 quit (Remote host closed the connection) 2016-08-07T11:44:09Z harish_ quit (Ping timeout: 276 seconds) 2016-08-07T11:48:49Z armin quit (Quit: relate to the matter as i drop the bomb) 2016-08-07T11:51:46Z strelox joined #lisp 2016-08-07T11:55:16Z vydd quit (Ping timeout: 265 seconds) 2016-08-07T11:56:03Z mif_ joined #lisp 2016-08-07T11:57:08Z mif_ quit (Client Quit) 2016-08-07T11:58:30Z rumbler3_ quit (Remote host closed the connection) 2016-08-07T11:58:44Z vydd joined #lisp 2016-08-07T12:04:28Z harish_ joined #lisp 2016-08-07T12:04:30Z sweater joined #lisp 2016-08-07T12:13:34Z cpape joined #lisp 2016-08-07T12:16:43Z Denommus` joined #lisp 2016-08-07T12:17:49Z Fare joined #lisp 2016-08-07T12:18:05Z Denommus quit (Ping timeout: 250 seconds) 2016-08-07T12:27:03Z stepnem quit (Ping timeout: 276 seconds) 2016-08-07T12:31:53Z stepnem joined #lisp 2016-08-07T12:36:06Z tfm is now known as installtfm 2016-08-07T12:36:15Z installtfm is now known as tfm 2016-08-07T12:40:19Z smokeink quit (Ping timeout: 260 seconds) 2016-08-07T12:40:41Z Karl_Dscc quit (Remote host closed the connection) 2016-08-07T12:42:01Z smokeink joined #lisp 2016-08-07T12:43:02Z armin joined #lisp 2016-08-07T12:49:03Z sjl joined #lisp 2016-08-07T12:50:27Z pavelpenev joined #lisp 2016-08-07T12:51:38Z araujo__ quit (Read error: Connection timed out) 2016-08-07T12:51:57Z test1600 joined #lisp 2016-08-07T13:00:45Z przl joined #lisp 2016-08-07T13:01:25Z araujo__ joined #lisp 2016-08-07T13:11:17Z Harag joined #lisp 2016-08-07T13:12:52Z Harag quit (Client Quit) 2016-08-07T13:15:31Z przl quit (Ping timeout: 244 seconds) 2016-08-07T13:16:42Z Karl_Dscc joined #lisp 2016-08-07T13:22:52Z przl joined #lisp 2016-08-07T13:26:33Z Alfr joined #lisp 2016-08-07T13:26:36Z Alfr left #lisp 2016-08-07T13:28:16Z trebor_home joined #lisp 2016-08-07T13:28:45Z eSVG joined #lisp 2016-08-07T13:34:46Z eSVG quit (Ping timeout: 258 seconds) 2016-08-07T13:35:57Z smokeink quit (Ping timeout: 276 seconds) 2016-08-07T13:37:28Z smokeink joined #lisp 2016-08-07T13:39:09Z Colleen quit (Quit: See you, space cowboy...) 2016-08-07T13:39:26Z Colleen joined #lisp 2016-08-07T13:40:31Z abbe quit (Ping timeout: 258 seconds) 2016-08-07T13:41:40Z cromachina quit (Read error: Connection reset by peer) 2016-08-07T13:42:19Z abbe joined #lisp 2016-08-07T13:43:58Z DeadTrickster joined #lisp 2016-08-07T13:44:39Z cromachina joined #lisp 2016-08-07T13:46:58Z sweater quit (Read error: Connection reset by peer) 2016-08-07T13:54:37Z test1600 quit (Quit: Leaving) 2016-08-07T13:56:56Z lol-icon joined #lisp 2016-08-07T13:57:51Z proudanselmo is now known as Anselmo 2016-08-07T14:00:20Z prole joined #lisp 2016-08-07T14:03:36Z DougNYC joined #lisp 2016-08-07T14:11:59Z attila_lendvai joined #lisp 2016-08-07T14:13:39Z przl quit (Ping timeout: 260 seconds) 2016-08-07T14:14:35Z ASau joined #lisp 2016-08-07T14:21:58Z araujo__ quit (Ping timeout: 258 seconds) 2016-08-07T14:22:48Z araujo__ joined #lisp 2016-08-07T14:28:29Z DougNYC quit 2016-08-07T14:33:54Z phoe quit (Ping timeout: 244 seconds) 2016-08-07T14:37:06Z harish_ quit (Quit: Leaving) 2016-08-07T14:37:24Z harish_ joined #lisp 2016-08-07T14:37:35Z unbalancedparen joined #lisp 2016-08-07T14:37:38Z cagmz joined #lisp 2016-08-07T14:42:56Z shymega quit (Quit: (let ((quit t)) (when quit (message "Leaving.")))) 2016-08-07T14:43:23Z shymega joined #lisp 2016-08-07T14:44:03Z happy-dude joined #lisp 2016-08-07T14:46:19Z przl joined #lisp 2016-08-07T14:49:27Z arnaudga joined #lisp 2016-08-07T14:52:07Z Josh2 quit (Remote host closed the connection) 2016-08-07T14:52:27Z Josh2 joined #lisp 2016-08-07T14:53:03Z wtetzner joined #lisp 2016-08-07T14:58:32Z smokeink quit (Ping timeout: 240 seconds) 2016-08-07T14:59:29Z trebor_home quit (Remote host closed the connection) 2016-08-07T15:09:12Z proudanselmo joined #lisp 2016-08-07T15:09:26Z Anselmo quit (Disconnected by services) 2016-08-07T15:09:32Z proudanselmo is now known as Anselmo 2016-08-07T15:09:52Z unbalancedparen quit (Read error: Connection reset by peer) 2016-08-07T15:21:02Z cluck joined #lisp 2016-08-07T15:24:23Z phoe joined #lisp 2016-08-07T15:26:39Z asc232 joined #lisp 2016-08-07T15:26:39Z jdtest quit (Read error: Connection reset by peer) 2016-08-07T15:26:55Z jdtest joined #lisp 2016-08-07T15:29:03Z jdtest quit (Read error: Connection reset by peer) 2016-08-07T15:29:31Z Lord_of_Life quit (Excess Flood) 2016-08-07T15:31:44Z kobain joined #lisp 2016-08-07T15:32:34Z jdtest joined #lisp 2016-08-07T15:33:08Z Lord_of_Life joined #lisp 2016-08-07T15:35:25Z jdtest2 joined #lisp 2016-08-07T15:37:07Z jdtest quit (Ping timeout: 265 seconds) 2016-08-07T15:39:05Z vydd quit (Remote host closed the connection) 2016-08-07T15:39:39Z vydd joined #lisp 2016-08-07T15:42:03Z eivarv quit (Quit: Sleep) 2016-08-07T15:43:51Z m00natic joined #lisp 2016-08-07T15:44:39Z vydd quit (Ping timeout: 276 seconds) 2016-08-07T15:47:14Z Karl_Dscc quit (Remote host closed the connection) 2016-08-07T15:47:17Z cromachina_ joined #lisp 2016-08-07T15:49:24Z cromachina quit (Disconnected by services) 2016-08-07T15:50:02Z cromachina_ is now known as cromachina 2016-08-07T15:55:32Z arnaudga quit (Ping timeout: 244 seconds) 2016-08-07T15:59:27Z lexicall joined #lisp 2016-08-07T16:01:44Z zacharias quit (Ping timeout: 244 seconds) 2016-08-07T16:02:52Z Khisanth quit (Ping timeout: 240 seconds) 2016-08-07T16:04:12Z hel-io joined #lisp 2016-08-07T16:07:03Z Denommus` is now known as Denommus 2016-08-07T16:12:50Z cagmz quit (Remote host closed the connection) 2016-08-07T16:16:04Z cagmz joined #lisp 2016-08-07T16:16:13Z arnaudga joined #lisp 2016-08-07T16:18:03Z arnaudga quit (Client Quit) 2016-08-07T16:20:33Z cagmz quit (Ping timeout: 240 seconds) 2016-08-07T16:21:22Z sjl quit (Ping timeout: 244 seconds) 2016-08-07T16:24:59Z lexicall quit (Quit: Ah, my macbook is gonna sleep!) 2016-08-07T16:25:04Z NeverDie joined #lisp 2016-08-07T16:28:14Z hel-io quit (Remote host closed the connection) 2016-08-07T16:35:40Z araujo_ joined #lisp 2016-08-07T16:37:18Z araujo_ quit (Max SendQ exceeded) 2016-08-07T16:37:21Z Khisanth joined #lisp 2016-08-07T16:38:10Z araujo_ joined #lisp 2016-08-07T16:38:46Z araujo__ quit (Ping timeout: 258 seconds) 2016-08-07T16:40:24Z eivarv joined #lisp 2016-08-07T16:41:49Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-07T16:42:02Z eivarv quit (Client Quit) 2016-08-07T16:43:16Z eivarv joined #lisp 2016-08-07T16:44:15Z vydd joined #lisp 2016-08-07T16:44:42Z mobius-eng joined #lisp 2016-08-07T16:44:57Z mobius_eng joined #lisp 2016-08-07T16:49:22Z eivarv quit (Quit: Sleep) 2016-08-07T16:50:44Z antonv joined #lisp 2016-08-07T16:53:36Z Petit_Dejeuner joined #lisp 2016-08-07T16:53:36Z ahungry joined #lisp 2016-08-07T16:54:32Z Anselmo quit (Quit: WeeChat 1.5) 2016-08-07T16:55:55Z Anselmo joined #lisp 2016-08-07T17:00:14Z mobius-eng: Hi all, has anyone worked with cl-cffi-gtk package? I'm trying to create a new signal with G-SIGNAL-NEWV, but so far rather unsuccessfully 2016-08-07T17:02:29Z tigg quit 2016-08-07T17:06:34Z tmtwd joined #lisp 2016-08-07T17:06:54Z Bike joined #lisp 2016-08-07T17:07:23Z vydd quit (Remote host closed the connection) 2016-08-07T17:07:58Z vydd joined #lisp 2016-08-07T17:08:30Z SamSkulls joined #lisp 2016-08-07T17:10:38Z cagmz joined #lisp 2016-08-07T17:12:03Z vydd quit (Ping timeout: 240 seconds) 2016-08-07T17:12:45Z wccoder joined #lisp 2016-08-07T17:17:46Z wtetzner quit (Remote host closed the connection) 2016-08-07T17:20:12Z ferada: mobius-eng: do you have an example of what fails? 2016-08-07T17:20:25Z pierpa quit (Ping timeout: 244 seconds) 2016-08-07T17:23:31Z ASau quit (Remote host closed the connection) 2016-08-07T17:23:54Z ASau joined #lisp 2016-08-07T17:23:56Z wccoder quit (Remote host closed the connection) 2016-08-07T17:25:24Z Fare quit (Ping timeout: 276 seconds) 2016-08-07T17:25:30Z przl quit (Ping timeout: 250 seconds) 2016-08-07T17:26:54Z wtetzner joined #lisp 2016-08-07T17:31:15Z DeadTrickster quit (Ping timeout: 276 seconds) 2016-08-07T17:33:12Z Karl_Dscc joined #lisp 2016-08-07T17:35:26Z zygentoma joined #lisp 2016-08-07T17:36:19Z eivarv joined #lisp 2016-08-07T17:37:26Z edgar-rft quit (Quit: edgar-rft) 2016-08-07T17:37:33Z DeadTrickster joined #lisp 2016-08-07T17:38:31Z vydd joined #lisp 2016-08-07T17:39:55Z sjl joined #lisp 2016-08-07T17:44:28Z Fare joined #lisp 2016-08-07T17:45:40Z wtetzner quit (Remote host closed the connection) 2016-08-07T17:47:26Z pmden joined #lisp 2016-08-07T17:48:31Z moore33 quit (Quit: Leaving) 2016-08-07T17:50:27Z strelox quit (Ping timeout: 258 seconds) 2016-08-07T17:53:19Z mobius-eng: ferada: I've just rebooted my laptop into Windows... but the error was that CLASS-CLOSURE argument was NIL and SB-INT:AREA-POINTER was expected 2016-08-07T17:53:50Z mobius-eng: According to Gtk docs, this argument can be NULL, in which case the default value is used 2016-08-07T17:54:09Z cromachina: try (nullptr) instead 2016-08-07T17:54:44Z mobius-eng: If there is any example of creating a new signal, I will really apreciate (unfortunately, none of demos in cl-cffi-gtk has it) 2016-08-07T17:55:04Z mobius-eng: cromachina: thanks, I will try it 2016-08-07T17:56:06Z cromachina: mobius-eng, sorry that was (null-pointer) 2016-08-07T17:56:10Z cromachina: https://common-lisp.net/project/cffi/manual/cffi-manual.html#null_002dpointer 2016-08-07T17:56:14Z cromachina: assuming CFFI 2016-08-07T17:56:35Z Fare quit (Quit: Leaving) 2016-08-07T17:58:45Z pmden quit (Read error: Connection reset by peer) 2016-08-07T17:58:53Z cagmz quit (Remote host closed the connection) 2016-08-07T17:59:52Z armin quit (Quit: relate to the matter as i drop the bomb) 2016-08-07T18:01:19Z armin joined #lisp 2016-08-07T18:04:09Z Karl_Dscc quit (Remote host closed the connection) 2016-08-07T18:04:28Z ferada: what cromachina said. if you need the closures you'll also have to read about defcallback probably. it's barely a wrapper around the c library, so best if you find an example using that and translate it one-to-one first 2016-08-07T18:04:43Z heddwch is now known as idtiot 2016-08-07T18:07:02Z idtiot is now known as heddwch 2016-08-07T18:07:21Z lol-icon quit (Ping timeout: 250 seconds) 2016-08-07T18:08:59Z eivarv quit (Quit: Sleep) 2016-08-07T18:11:47Z leupold quit (Ping timeout: 265 seconds) 2016-08-07T18:12:21Z tfm quit (Ping timeout: 258 seconds) 2016-08-07T18:13:31Z kobain quit (Read error: Connection reset by peer) 2016-08-07T18:15:12Z eSVG joined #lisp 2016-08-07T18:20:34Z kobain joined #lisp 2016-08-07T18:20:42Z lol-icon joined #lisp 2016-08-07T18:22:52Z vydd quit (Remote host closed the connection) 2016-08-07T18:36:36Z Karl_Dscc joined #lisp 2016-08-07T18:43:00Z vydd joined #lisp 2016-08-07T18:43:00Z vydd quit (Changing host) 2016-08-07T18:43:00Z vydd joined #lisp 2016-08-07T18:47:11Z leupold joined #lisp 2016-08-07T18:47:50Z leupold: How did you guys go about learning Lisp? I'm looking for a learning resource that has no assumed knowledge 2016-08-07T18:48:06Z leupold: We're talking maximum hand holding here 2016-08-07T18:48:16Z axion: leupold: Practical Common Lisp 2016-08-07T18:48:52Z leupold: axion: Thanks - and I can dive into that with no prior knowledge? 2016-08-07T18:49:00Z cromachina: and then you could follow that up with Let Over Lambda 2016-08-07T18:49:12Z axion: Correct, start from the beginning and be sure to do the excercises in order 2016-08-07T18:49:32Z phoe: leupold: do you know *any* programming? 2016-08-07T18:49:45Z wildlander joined #lisp 2016-08-07T18:49:47Z phoe: T => Practical Common Lisp, NIL => A Gentle Introduction To Symbolic Computation 2016-08-07T18:50:31Z leupold: phoe: I know a little linux, I got up to challenge 9 in Project Euler using Python, so I could probably program my way out of a paper bag 2016-08-07T18:50:45Z phoe: Practical Common Lisp it is then! 2016-08-07T18:50:56Z leupold: phoe: But I asked for no assumed knowledge because a lot of resources dive in way too fast! 2016-08-07T18:51:02Z leupold: phoe: Haha, okay, rgeat 2016-08-07T18:51:04Z phoe: Practical Common Lisp it is then!~ 2016-08-07T18:51:25Z phoe: You're diving right into Lisp in the second chapter but you're guided all along. 2016-08-07T18:51:29Z phoe: So you should be all right. 2016-08-07T18:51:38Z cromachina: dont forget to eventually learn C 2016-08-07T18:51:43Z mobius-eng: Land of Lisp? 2016-08-07T18:51:52Z leupold: cromachina: Why's that? 2016-08-07T18:52:27Z leupold: Also, for reference, don't do what I did and go to www.gigmonkeys.com to find the book - although it does seem to be a good website if you're looking for a gig 2016-08-07T18:52:42Z phoe: wlp 2016-08-07T18:52:43Z phoe: welp 2016-08-07T18:54:21Z vydd quit (Remote host closed the connection) 2016-08-07T18:55:40Z phoe: fsck, it turns out I did my design wrong for the fifth time 2016-08-07T18:55:47Z phoe: time for yet another refactor™ 2016-08-07T18:55:52Z Grue`: when I was learning Lisp, I had no Internet connection and I had to use some sort of Lisp introduction textfile that came bundled with CLISP 2016-08-07T18:56:03Z leupold: cromachina: I'm curious why it is you think I should eventually learn C? Sorry if it's a stupid question 2016-08-07T18:56:20Z cromachina: you'll eventually want to learn how the machine works under the surface, especially in regards to memory and talking to other libraries 2016-08-07T18:56:29Z phoe: it's good that I'm modularizing my code with each iteration so it's becoming easier to refactor over time. 2016-08-07T18:56:39Z leupold: cromachina: Ah, got it, makes sense 2016-08-07T18:56:47Z zacharias joined #lisp 2016-08-07T18:57:13Z cromachina: you're on your way to becoming a fine polyglot 2016-08-07T18:58:26Z phoe: {} 2016-08-07T19:01:15Z smithzv joined #lisp 2016-08-07T19:01:27Z eivarv joined #lisp 2016-08-07T19:01:41Z przl joined #lisp 2016-08-07T19:04:16Z gravicappa quit (Ping timeout: 244 seconds) 2016-08-07T19:16:43Z leupold: Can someone explain succintly what it means for code to be "portable"? 2016-08-07T19:18:25Z pjb: leupold: it means that you can compile and run it on some other machine. 2016-08-07T19:18:48Z pjb: leupold: how different the two machines are depends on the "portability" of the code. 2016-08-07T19:19:23Z leupold: pjb: As in, how differently the code runs on each machine? And is the main defining factor of portability the libraries a particular program uses? 2016-08-07T19:19:38Z cromachina: it can also mean portability across different lisp implementations 2016-08-07T19:19:50Z axion: In regard to CL, it usually means it will work across CL implementations 2016-08-07T19:20:19Z leupold: So whatever CL implementation you're using, so long as it's based on the CL standard, it'll run? 2016-08-07T19:20:30Z cromachina: yes 2016-08-07T19:20:37Z pjb: leupold: indeed, a factor in the portability of the code, is its modularity. When you have very modular code, which abstracts external dependencies in specific and independent modules, it can be more easily ported to a new machine, by just rewriting those interface modules. 2016-08-07T19:21:12Z pjb: axion: nope. In the context of CL, the property of being able to run across different CL implementations is the conformity of the code. 2016-08-07T19:21:43Z pjb: You can have portable code that is not conforming, and conforming code that is not portable. 2016-08-07T19:21:51Z zacharias quit (Ping timeout: 244 seconds) 2016-08-07T19:22:07Z cromachina: there are also libraries available that join non-standard, but typical features into a common interface 2016-08-07T19:22:18Z leupold: pjb Okay, I think that might be a little beyond my current understanding, but to confirm my loose understanding, a piece of code might have a block (modular block?) that connects external libraries to the code, and so if the code is ported to another machine, it's only that interface [module] that needs to be modified? 2016-08-07T19:22:20Z LiamH joined #lisp 2016-08-07T19:22:33Z pjb: leupold: yes. 2016-08-07T19:22:51Z leupold: pjb Thank you, I think I'm on the way to understanding 2016-08-07T19:23:13Z pjb: leupold: notably if the rest of the code is conforming, it'll run on all conforming implementations. So only the implementation or platform specific interface modules need to be "ported" to port the whole program. 2016-08-07T19:23:40Z pjb: leupold: you can also use "portability" libraries that provide interfaces to features that are specific to each platform. 2016-08-07T19:24:04Z leupold: pjb: So I can infer from what you've said that there are some libraries I might want to use that are only compatible with a Windows-based system? 2016-08-07T19:24:06Z pjb: leupold: so portability-libraries + conforming-code makes a good portable program :-) 2016-08-07T19:24:33Z leupold: pjb: What does conforming code mean? 2016-08-07T19:24:50Z pjb: Those portability libraries are usually structured in a modular fashion, with a common API and common feature module, and a set of implementation or platform specific modules. 2016-08-07T19:25:02Z pjb: conforming code is code that will produce the same results on all conforming implementations. 2016-08-07T19:25:18Z pjb: This is basically code that is written following the rules of the CL standard. 2016-08-07T19:25:22Z phoe: ^ 2016-08-07T19:26:15Z cromachina: a simple example of this in action: https://github.com/trivial-features/trivial-features/tree/master/src 2016-08-07T19:26:52Z leupold: pjb: Right, so there's a Common Lisp standard which sets out things like operators, how new functions are defined, etc. and so long as other people follow the conventions of the standard (i.e. conform to the standard) the code will generate the same results in different implementations? 2016-08-07T19:29:22Z cromachina: it's usually implementations of CL that conform to the standard. you will know when you are doing something non-standard when you start dipping into implementation specific packages 2016-08-07T19:29:42Z leupold: cromachina: Okay, that makes sense 2016-08-07T19:30:10Z eSVG quit (Ping timeout: 258 seconds) 2016-08-07T19:30:25Z attila_lendvai joined #lisp 2016-08-07T19:30:56Z eivarv quit (Quit: Sleep) 2016-08-07T19:31:05Z pjb: leupold: yes, basically. Notice however that some feature in the standard are marked "implementation dependant". So you have to use them with care to produce conforming code. 2016-08-07T19:32:23Z pjb: lisp-implementation-type will obviously produce different results on different implementations (it's its purpose). More problematic is that physical pathnames are implementation and platform dependant obviously. (Logical pathnames are not, but since you need eventually to translate logical pathnames to physical pathname, the difficulty remains, even if it can be modularized out). 2016-08-07T19:32:43Z pjb: cromachina: the CL standard is a 2-way contract! 2016-08-07T19:33:05Z pjb: conforming implementations will produce conforming results, only for conforming programs. 2016-08-07T19:37:54Z louve quit (Ping timeout: 250 seconds) 2016-08-07T19:38:57Z gingerale quit (Remote host closed the connection) 2016-08-07T19:40:06Z Denommus quit (Read error: Connection reset by peer) 2016-08-07T19:40:52Z przl quit (Quit: leaving) 2016-08-07T19:42:52Z leupold: pjb: Okay, I think I'm with you - whank you very much for the explanations :) 2016-08-07T19:44:08Z leupold: On a subject related to learning Lisp, does anybody know of a good Emacs command reference that I can print out and use for reference? 2016-08-07T19:44:36Z Bike: https://www.gnu.org/software/emacs/refcards/pdf/refcard.pdf 2016-08-07T19:47:00Z phoe: What would be the recommended way for making a stop-switch for threads? 2016-08-07T19:47:14Z scottj joined #lisp 2016-08-07T19:47:27Z phoe: Like, issuing a command that will stop all threads running my custom function until I issue another command to let them work again? 2016-08-07T19:48:34Z phoe: Should I just make a single BT lock that each thread has to acquire and then immediately release in order to make its next iteration? 2016-08-07T19:49:00Z phoe: So then I can acquire it in my C&C thread to halt all of them, and when I release it, everything starts again? 2016-08-07T19:49:36Z cromachina: why not just kill them if you no longer care about the result? 2016-08-07T19:49:59Z Bike: this sounds more like 'pause' than 'stop' 2016-08-07T19:50:15Z Bike: anyway, isn't that condition-wait or something 2016-08-07T19:51:31Z phoe: yes, pause 2016-08-07T19:52:08Z phoe: Oh right! Condition variables. 2016-08-07T19:52:28Z cromachina: sounds like you are working your way toward channels 2016-08-07T19:52:30Z cromachina: and then actors 2016-08-07T19:52:44Z phoe: cromachina: channels? 2016-08-07T19:53:20Z cromachina: a method of synchronization using message passing 2016-08-07T19:53:37Z wtetzner joined #lisp 2016-08-07T19:54:14Z cromachina: https://github.com/zkat/chanl 2016-08-07T19:55:04Z deank joined #lisp 2016-08-07T19:55:19Z tfm joined #lisp 2016-08-07T19:58:09Z mishoo quit (Ping timeout: 276 seconds) 2016-08-07T19:59:03Z mobius-eng: cromachina: CFFI:NULL-POINTER worked, thanks! 2016-08-07T19:59:15Z cromachina: np 2016-08-07T19:59:38Z mvilleneuve joined #lisp 2016-08-07T20:00:56Z eSVG joined #lisp 2016-08-07T20:04:15Z kobain quit (Remote host closed the connection) 2016-08-07T20:06:24Z mathi_aihtam joined #lisp 2016-08-07T20:11:58Z eivarv joined #lisp 2016-08-07T20:18:29Z Jesin joined #lisp 2016-08-07T20:19:44Z kobain joined #lisp 2016-08-07T20:20:01Z Jesin quit (Max SendQ exceeded) 2016-08-07T20:36:41Z angavrilov quit (Remote host closed the connection) 2016-08-07T20:38:12Z Jesin joined #lisp 2016-08-07T20:41:44Z Yuuhi quit (Remote host closed the connection) 2016-08-07T20:49:57Z Jesin quit (Quit: Leaving) 2016-08-07T20:50:09Z zygentoma quit (Ping timeout: 276 seconds) 2016-08-07T20:51:49Z eSVG quit (Ping timeout: 258 seconds) 2016-08-07T20:55:51Z zacharias joined #lisp 2016-08-07T20:59:42Z karswell quit (Remote host closed the connection) 2016-08-07T21:00:43Z karswell joined #lisp 2016-08-07T21:04:03Z jdtest joined #lisp 2016-08-07T21:04:03Z jdtest quit (Client Quit) 2016-08-07T21:04:13Z zygentoma joined #lisp 2016-08-07T21:04:42Z zygentoma|2 joined #lisp 2016-08-07T21:04:46Z Jesin joined #lisp 2016-08-07T21:06:56Z jdtest2 quit (Ping timeout: 250 seconds) 2016-08-07T21:08:33Z zygentoma quit (Ping timeout: 240 seconds) 2016-08-07T21:11:38Z Griff`Ron joined #lisp 2016-08-07T21:16:42Z Griff`Ron quit (Ping timeout: 250 seconds) 2016-08-07T21:19:24Z mathrick quit (Ping timeout: 276 seconds) 2016-08-07T21:25:20Z shka_ quit (Ping timeout: 244 seconds) 2016-08-07T21:26:40Z tfm quit (Ping timeout: 250 seconds) 2016-08-07T21:29:07Z eSVG joined #lisp 2016-08-07T21:32:05Z eivarv quit (Quit: Sleep) 2016-08-07T21:34:07Z phoe quit (Ping timeout: 252 seconds) 2016-08-07T21:34:35Z mathrick joined #lisp 2016-08-07T21:36:58Z gargaml quit (Quit: WeeChat 1.5) 2016-08-07T21:40:29Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-07T21:43:01Z MoALTz quit (Quit: Leaving) 2016-08-07T21:48:24Z mvilleneuve_ joined #lisp 2016-08-07T21:49:47Z vydd joined #lisp 2016-08-07T21:51:34Z mvilleneuve quit (Ping timeout: 250 seconds) 2016-08-07T21:54:09Z phoe joined #lisp 2016-08-07T21:59:45Z vydd quit (Remote host closed the connection) 2016-08-07T22:01:06Z vydd joined #lisp 2016-08-07T22:06:52Z zacharias quit (Ping timeout: 240 seconds) 2016-08-07T22:17:11Z eivarv joined #lisp 2016-08-07T22:18:45Z mvilleneuve_ quit (Quit: This computer has gone to sleep) 2016-08-07T22:21:47Z pjb quit (Remote host closed the connection) 2016-08-07T22:29:45Z stepnem quit (Ping timeout: 244 seconds) 2016-08-07T22:35:11Z sweater joined #lisp 2016-08-07T22:36:57Z ggole quit 2016-08-07T22:37:40Z Josh2 quit (Ping timeout: 244 seconds) 2016-08-07T22:37:53Z krasnal quit (Remote host closed the connection) 2016-08-07T22:38:01Z Josh2 joined #lisp 2016-08-07T22:38:01Z vlnx quit (Read error: Connection reset by peer) 2016-08-07T22:38:10Z wtetzner quit (Remote host closed the connection) 2016-08-07T22:38:21Z vlnx joined #lisp 2016-08-07T22:45:19Z cagmz joined #lisp 2016-08-07T22:49:03Z Jesin quit (Ping timeout: 264 seconds) 2016-08-07T22:58:09Z Jesin joined #lisp 2016-08-07T23:01:40Z karswell quit (Remote host closed the connection) 2016-08-07T23:02:12Z hel-io joined #lisp 2016-08-07T23:02:30Z karswell joined #lisp 2016-08-07T23:02:46Z vibs29 left #lisp 2016-08-07T23:02:50Z vibhu joined #lisp 2016-08-07T23:04:09Z vibhu left #lisp 2016-08-07T23:04:14Z vibs29 joined #lisp 2016-08-07T23:06:10Z jtmcf: win 11 2016-08-07T23:08:33Z DeadTrickster quit (Ping timeout: 240 seconds) 2016-08-07T23:12:17Z aeth quit (Ping timeout: 260 seconds) 2016-08-07T23:13:45Z aeth joined #lisp 2016-08-07T23:14:13Z Karl_Dscc quit (Remote host closed the connection) 2016-08-07T23:20:34Z Josh3 joined #lisp 2016-08-07T23:22:05Z Josh2 quit (Ping timeout: 258 seconds) 2016-08-07T23:22:05Z Josh3 is now known as Josh2 2016-08-07T23:24:54Z cagmz quit (Remote host closed the connection) 2016-08-07T23:28:54Z dim: phoe: do you know the lparallel library? 2016-08-07T23:30:02Z dim: it includes lparallel.queues that you can use e.g. to feed worker threads from a controller thread; I do that a lot in pgloader (and other places too) 2016-08-07T23:30:26Z cagmz joined #lisp 2016-08-07T23:30:27Z phoe: dim: oh! 2016-08-07T23:30:35Z phoe: I'll munch on it soon. 2016-08-07T23:30:36Z phoe: Thanks! 2016-08-07T23:30:56Z dim: one use case I have with it is to have a “monitoring” thread that maintains the logs file, workers send it messages to append to the log, that allows printing one full message at a time and avoids CCL errors when you try to share an open stream in between threads 2016-08-07T23:31:35Z dim: lmj shows up here sometimes, he's the author of lparallel 2016-08-07T23:32:00Z phoe: I'll check it out. Thanks! 2016-08-07T23:33:13Z dim: anyway, it's way past time for me to go sleep, I just got back on the computer to fix a bug-by-omission, fun story, concludes days of work in a line of code, without it the days before failed short to fix the initial bug ;-) 2016-08-07T23:33:51Z dim: https://github.com/dimitri/pgloader/commit/53924fab0173c51fa5b6ee1fdf94855190afceb0 for details (and laugh it that's your kind of humour) 2016-08-07T23:43:30Z johnchalekson joined #lisp 2016-08-07T23:43:31Z johnchalekson quit (Max SendQ exceeded) 2016-08-07T23:43:54Z deank quit (Quit: quit) 2016-08-07T23:44:42Z johnchalekson joined #lisp 2016-08-07T23:44:47Z karswell quit (Remote host closed the connection) 2016-08-07T23:45:44Z karswell joined #lisp 2016-08-07T23:48:48Z moei quit (Quit: Leaving...) 2016-08-07T23:51:09Z moei joined #lisp 2016-08-07T23:54:00Z lexicall joined #lisp 2016-08-07T23:55:43Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-07T23:59:11Z hel-io quit (Remote host closed the connection) 2016-08-07T23:59:33Z varjag quit (Ping timeout: 240 seconds) 2016-08-07T23:59:47Z hel-io joined #lisp