2016-07-31T00:00:31Z oleo quit (Read error: Connection reset by peer) 2016-07-31T00:00:46Z oleo joined #lisp 2016-07-31T00:06:54Z Karl_Dscc joined #lisp 2016-07-31T00:09:04Z Velveeta_Chef joined #lisp 2016-07-31T00:09:04Z Velveeta_Chef quit (Changing host) 2016-07-31T00:09:04Z Velveeta_Chef joined #lisp 2016-07-31T00:09:33Z sweater joined #lisp 2016-07-31T00:09:52Z quazimodo quit (Ping timeout: 244 seconds) 2016-07-31T00:10:04Z quazimod1 quit (Ping timeout: 258 seconds) 2016-07-31T00:14:02Z xrash quit (Ping timeout: 265 seconds) 2016-07-31T00:16:50Z xrash joined #lisp 2016-07-31T00:17:32Z grimsley quit (Quit: Leaving) 2016-07-31T00:22:23Z zacharias joined #lisp 2016-07-31T00:22:24Z Blukunfando quit (Ping timeout: 260 seconds) 2016-07-31T00:23:04Z xrash quit (Ping timeout: 250 seconds) 2016-07-31T00:23:34Z IPmonger joined #lisp 2016-07-31T00:24:04Z marsjaninzmarsa quit (Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in) 2016-07-31T00:24:23Z marsjaninzmarsa joined #lisp 2016-07-31T00:25:54Z xrash joined #lisp 2016-07-31T00:26:23Z pmc quit (Quit: Leaving) 2016-07-31T00:28:27Z IPmonger quit (Ping timeout: 260 seconds) 2016-07-31T00:32:10Z xrash quit (Ping timeout: 250 seconds) 2016-07-31T00:32:43Z tharugrim quit (Quit: WeeChat 1.5) 2016-07-31T00:34:55Z xrash joined #lisp 2016-07-31T00:48:47Z xrash quit (Ping timeout: 244 seconds) 2016-07-31T00:49:22Z DeadTrickster joined #lisp 2016-07-31T00:49:26Z DeadTrickster_ joined #lisp 2016-07-31T00:51:54Z xrash joined #lisp 2016-07-31T00:56:42Z xrash quit (Remote host closed the connection) 2016-07-31T00:57:40Z jleija joined #lisp 2016-07-31T01:00:21Z jleija quit (Client Quit) 2016-07-31T01:00:40Z jleija joined #lisp 2016-07-31T01:02:33Z DeadTrickster quit (Ping timeout: 240 seconds) 2016-07-31T01:03:03Z DeadTrickster_ quit (Ping timeout: 276 seconds) 2016-07-31T01:03:21Z stepnem quit (Ping timeout: 258 seconds) 2016-07-31T01:12:57Z wtetzner joined #lisp 2016-07-31T01:24:10Z smokeink joined #lisp 2016-07-31T01:24:29Z sweater quit (Read error: Connection reset by peer) 2016-07-31T01:25:35Z wtetzner quit (Remote host closed the connection) 2016-07-31T01:30:59Z varjag quit (Ping timeout: 244 seconds) 2016-07-31T01:31:15Z Blukunfando joined #lisp 2016-07-31T01:34:59Z antonv joined #lisp 2016-07-31T01:49:00Z arescorpio joined #lisp 2016-07-31T01:49:06Z ASau joined #lisp 2016-07-31T01:51:49Z IPmonger joined #lisp 2016-07-31T01:53:53Z zacharias quit (Ping timeout: 244 seconds) 2016-07-31T01:54:26Z shikhin is now known as zgrepi 2016-07-31T01:54:31Z `lain quit (Quit: bye.) 2016-07-31T01:55:11Z zgrepi is now known as shikhin 2016-07-31T01:56:40Z m0j0 joined #lisp 2016-07-31T02:06:17Z bounb quit (Ping timeout: 244 seconds) 2016-07-31T02:07:24Z bounb joined #lisp 2016-07-31T02:07:31Z bounb quit (Changing host) 2016-07-31T02:07:32Z bounb joined #lisp 2016-07-31T02:14:32Z IPmonger quit (Ping timeout: 240 seconds) 2016-07-31T02:18:38Z aries_liuxueyang: Hello 2016-07-31T02:19:08Z cromachina: salutations 2016-07-31T02:20:13Z aries_liuxueyang: in the function: (remove-if-not #'some-fun some-list), what if the SOME-FUN requires more than one arguments. 2016-07-31T02:20:44Z p_l quit (Ping timeout: 244 seconds) 2016-07-31T02:21:01Z cromachina: use a lambda to fill in the blanks 2016-07-31T02:21:01Z Bike: then it ain't gonna work 2016-07-31T02:21:23Z cromachina: (remove-if-not (lambda (thing) (some-fun thing other-argument)) some-list) 2016-07-31T02:22:00Z aries_liuxueyang: cromachina: oh, good idea. thank you so much. ;-) 2016-07-31T02:22:05Z cromachina: no problemo 2016-07-31T02:22:14Z bounb quit (Remote host closed the connection) 2016-07-31T02:22:38Z bounb joined #lisp 2016-07-31T02:22:40Z bounb quit (Changing host) 2016-07-31T02:22:40Z bounb joined #lisp 2016-07-31T02:23:52Z p_l joined #lisp 2016-07-31T02:29:09Z Polyphony: it might be an awful idea, but how could I go about writing a macro that expands to an "n" number of "(f (f (f ...)))" calls? I'm having trouble finding a recursive solution :/ 2016-07-31T02:30:27Z cromachina: dont make the macro recursive 2016-07-31T02:30:35Z cromachina: make a recursive helper function instead 2016-07-31T02:30:42Z cromachina: that emits the code for the macro 2016-07-31T02:30:57Z Bike: (defmacro deep (n op form) (if (zerop n) form `(,op (deep ,(1- n) ,op ,form)))), then (deep 5 1+ -5) 2016-07-31T02:31:05Z Bike: or a helper function, i mean, whatever floats ur boat. 2016-07-31T02:31:21Z cromachina: well you could do that ^ 2016-07-31T02:31:34Z cromachina: but weirdness in recursive macros can bite you in the rear 2016-07-31T02:33:37Z cromachina: alternatively you can use reduce, since that's what it looks like you are trying to make 2016-07-31T02:34:01Z cromachina: http://clhs.lisp.se/Body/f_reduce.htm 2016-07-31T02:34:02Z Polyphony: hmm... 2016-07-31T02:34:37Z payphone joined #lisp 2016-07-31T02:34:42Z IPmonger joined #lisp 2016-07-31T02:34:46Z Bike: fpower is only vaguely like reduce 2016-07-31T02:35:21Z cromachina: ah right, the other argument 2016-07-31T02:36:31Z Bike: i mean, it is like (reduce #'funcall (make-list n op) :initial-value form :from-end t). 2016-07-31T02:36:34Z Bike: but don't do that. 2016-07-31T02:39:59Z Polyphony: hehe I'm just messing with the mandlebrot set and I got stuck finding an elegant way to pass the output of "z^2 + c" into the args for the next call 2016-07-31T02:40:17Z Polyphony: I feel like there's an obvious recursive solution but it's escaping me 2016-07-31T02:42:34Z cromachina: the imperative solution says z = z^2 + c, until dist(z) > threshold or iterations > limit. 2016-07-31T02:42:51Z Bike: i'd just do something like (loop repeat max for i for z = whatever then (+ (* z z) c) while (< (abs z) threshold) finally (return i))? 2016-07-31T02:42:52Z cromachina: converting it to a recursive solution would have each argument be what you are updating 2016-07-31T02:43:20Z Bike: er, for z = c 2016-07-31T02:43:30Z Bike: i guess i starts at one then. whatever. 2016-07-31T02:44:12Z arescorpio quit (Quit: Leaving.) 2016-07-31T02:44:21Z rumbler3_ quit (Ping timeout: 265 seconds) 2016-07-31T02:44:27Z Bike: for i from 1. bam 2016-07-31T02:47:53Z rumbler31 joined #lisp 2016-07-31T02:48:42Z pillton: Any ideas on how to make asdf load a component if a slime contrib is loaded? 2016-07-31T02:50:34Z cromachina: assuming the system is in your asdf search path, (asdf:load-system :system-name) 2016-07-31T02:52:54Z gr8rgud joined #lisp 2016-07-31T02:53:12Z rumbler31 quit (Remote host closed the connection) 2016-07-31T02:53:40Z gr8rgud left #lisp 2016-07-31T03:00:16Z sondr3 quit (Ping timeout: 258 seconds) 2016-07-31T03:00:44Z atheris quit (Remote host closed the connection) 2016-07-31T03:06:27Z stardiviner joined #lisp 2016-07-31T03:07:46Z quasus quit (Ping timeout: 244 seconds) 2016-07-31T03:08:13Z didi: pillton: Component or system? If you mean system, type at the REPL , load-system RET system-name RET 2016-07-31T03:08:28Z Bike: i think pillton means a trigger 2016-07-31T03:08:42Z Bike: so that, when a slime contrib is loaded, something else is loaded as well 2016-07-31T03:08:49Z didi: oic 2016-07-31T03:08:49Z Bike: or maybe the other way, a conditional dependency 2016-07-31T03:10:27Z pillton: This is as close as I can get. http://paste.lisp.org/display/321746 2016-07-31T03:10:27Z unbalancedparen quit (Quit: WeeChat 1.5) 2016-07-31T03:11:10Z pillton: You can't use :depends-on ((:require :swank-indentation)) as the keyword gets converted to a string. 2016-07-31T03:13:24Z m0j0 quit (Quit: Textual IRC Client: www.textualapp.com) 2016-07-31T03:15:59Z IPmonger quit (Ping timeout: 250 seconds) 2016-07-31T03:17:20Z pillton: Oh, before I forget. ~/quicklisp/slime-helper.el calls slime-setup which can cause some trouble if you set slime-contribs in your .emacs. 2016-07-31T03:17:44Z pillton: Perhaps this should be mentioned somewhere. 2016-07-31T03:21:03Z IPmonger joined #lisp 2016-07-31T03:22:12Z gravicappa joined #lisp 2016-07-31T03:25:28Z pillton: Bike: Are you interested in adding enclose to introspect-environment? 2016-07-31T03:25:52Z Bike: i could, but honestly, i'm surprised to hear you actually used the thing 2016-07-31T03:28:26Z IPmonger quit (Ping timeout: 244 seconds) 2016-07-31T03:31:29Z pillton: I have a macro which dispatches according to its own namespace. You need ENCLOSE if you want to introduce a new binding with lexical scope into this namespace. e.g. With macrolet, you have to compile the macro function body before inserting it in to the lexical environment. 2016-07-31T03:32:16Z Bike: any chance i can see what that looks like? 2016-07-31T03:34:02Z pillton: Here is a snippet: http://paste.lisp.org/display/321749 2016-07-31T03:34:54Z KarlDscc joined #lisp 2016-07-31T03:35:39Z Bike: uh, wow. 2016-07-31T03:37:03Z pillton: I'm pretty sure enclose is really (coerce (macroexpand-all lambda-form env) 'function). 2016-07-31T03:37:10Z Bike: that reminds me, i was going to kill parse-compiler-macro since it's bullshit... 2016-07-31T03:37:37Z Bike: enclose also does declarations and stuff. 2016-07-31T03:38:15Z Karl_Dscc quit (Ping timeout: 244 seconds) 2016-07-31T03:38:28Z pillton: I'll have to re-read enclose. 2016-07-31T03:38:34Z pillton: Don't remove parse-compiler-macro. I use it. 2016-07-31T03:39:05Z pillton: https://github.com/markcox80/specialization-store/blob/master/src/common.lisp#L4 2016-07-31T03:39:19Z Bike: enclose is macro stuff only. so, same as what affects macrolet bodies and is in environment parameters. 2016-07-31T03:39:30Z quazimodo joined #lisp 2016-07-31T03:39:30Z quazimod1 joined #lisp 2016-07-31T03:39:34Z Bike: i'm glad you find it useful, but https://github.com/Bike/introspect-environment/blob/master/sbcl.lisp#L43 is seriously terrible. 2016-07-31T03:39:46Z Bike: i have a full on lambda list parser that could replace it, but that's another library 2016-07-31T03:40:20Z pillton: I remember you having trouble with SBCL. 2016-07-31T03:40:37Z pillton: I don't mind another library. 2016-07-31T03:40:42Z Bike: the function i'm using is, reasonably, internal 2016-07-31T03:42:09Z pillton: All these functions should be public in my opinion. 2016-07-31T03:43:09Z Bike: part of it is i'm not totally sure about parse-macro... like, why on earth does it take an environment? 2016-07-31T03:44:07Z pillton: I wondered that today actually. 2016-07-31T03:50:07Z pillton: Send an email to the pro list. 2016-07-31T03:50:35Z Bike: the what now 2016-07-31T03:51:33Z Bike: looks like the all-important http://trac.clozure.com/ccl/ticket/1253 hasn't been fixed, so i guess i don't feel so bad about reimplementing something the implementation already does 2016-07-31T03:54:00Z pierpa quit (Ping timeout: 276 seconds) 2016-07-31T03:56:56Z sondr3 joined #lisp 2016-07-31T04:00:14Z wooden_ quit (Ping timeout: 265 seconds) 2016-07-31T04:00:33Z oleo quit (Read error: Connection reset by peer) 2016-07-31T04:00:42Z oleo joined #lisp 2016-07-31T04:01:19Z pillton: Ah ok. Enclose has to handle type declarations on bindings introduced by symbol-macrolet. 2016-07-31T04:01:31Z pillton: Good catch. 2016-07-31T04:01:34Z sondr3 quit (Ping timeout: 252 seconds) 2016-07-31T04:02:20Z jack_rip_vim joined #lisp 2016-07-31T04:02:53Z pillton: I'm going to have a break. 2016-07-31T04:05:23Z quazimodo quit (Ping timeout: 258 seconds) 2016-07-31T04:05:46Z quazimod1 quit (Ping timeout: 258 seconds) 2016-07-31T04:07:20Z jack_rip_vim: does can control wifi? 2016-07-31T04:07:39Z jack_rip_vim: does lisp control wifi? 2016-07-31T04:08:14Z Polyphony quit (Quit: WeeChat 1.5) 2016-07-31T04:08:30Z Bike: do you mean... you want to control your computer's wi-fi connections from lisp? 2016-07-31T04:08:40Z |3b|: the CL standard doesn't mention wifi, but most lisp implementations can talk to C libraries or system APIs, so if any language can, lisp probably can as well 2016-07-31T04:08:54Z jack_rip_vim: yes 2016-07-31T04:09:00Z |3b|: you can also run arbitrary programs if you can control your wifi from comman line 2016-07-31T04:09:05Z |3b|: *command line 2016-07-31T04:09:10Z jack_rip_vim: ok 2016-07-31T04:09:33Z jack_rip_vim: i am thinking if lisp has that packages. 2016-07-31T04:10:37Z jack_rip_vim: guess none 2016-07-31T04:10:53Z wooden_ joined #lisp 2016-07-31T04:15:27Z krasnal quit (Ping timeout: 276 seconds) 2016-07-31T04:16:33Z didi quit (Quit: you can't /fire me, I /quit) 2016-07-31T04:17:21Z krasnal joined #lisp 2016-07-31T04:30:49Z Petit_Dejeuner: Does no one in here use the type system for safety? The second answer to this surprises me. http://stackoverflow.com/questions/28908249/difference-between-array-vector-types-in-common-lisp 2016-07-31T04:33:04Z Bike: that's kind of pessimistic, but they're not the only person to think that 2016-07-31T04:37:50Z cromachina: you can certainly add types to your functions to get asserts at compile time, if your compiler can infer the types of the arguments to your function.. 2016-07-31T04:38:27Z cromachina: it wont be hindley milner level, if that's what you are looking for... 2016-07-31T04:39:44Z Petit_Dejeuner: There's runtime checks too, isn't there? 2016-07-31T04:39:51Z cromachina: try this in sbcl, for example: (defun test () (+ "asdf")) 2016-07-31T04:40:00Z cromachina: there are 2016-07-31T04:42:28Z cromachina: they can be turned off if you set the safety low enough for your function 2016-07-31T04:44:46Z cibs quit (Ping timeout: 240 seconds) 2016-07-31T04:45:57Z defaultxr quit (Quit: gnight) 2016-07-31T04:46:56Z cibs joined #lisp 2016-07-31T05:03:06Z |3b|: Petit_Dejeuner: depends on whether you care about portability or not, since using type declarations for type safety isn't portable 2016-07-31T05:03:37Z Petit_Dejeuner: well that's just perfect 2016-07-31T05:03:50Z Petit_Dejeuner: oh well 2016-07-31T05:03:59Z |3b|: compilers might just assume your declarations are true even on high safety, and even worse, skip checks it would have made because you already told it what the type is 2016-07-31T05:04:08Z |3b|: use check-type if you want to check the type :p 2016-07-31T05:05:04Z |3b|: sbcl will still skip those if it knows at compile time (including if you told it with low safety), and it will get most of the performance benefit of a type declaration, since it knows if CHECK-TYPE returns, the value is of that type 2016-07-31T05:05:42Z stardiviner quit (Quit: Code, Sex, Just fucking world.) 2016-07-31T05:06:56Z Petit_Dejeuner: "check-type" okay, I can live with this 2016-07-31T05:06:58Z |3b|: storing any value of the wrong type in a variable with a declared type has undefined consequences 2016-07-31T05:07:25Z |3b|: some implementations define it to be an error under some conditions, but as far as i know, not all implementations do 2016-07-31T05:07:45Z |3b| mostly uses sbcl, so not sure which 2016-07-31T05:08:45Z Petit_Dejeuner: it's probably going to be a pain adding type-checks to slots 2016-07-31T05:08:48Z Petit_Dejeuner: :( 2016-07-31T05:09:20Z |3b|: (and in case what i said above about skipping check-type wasn't clear, it doesn't skip check-type in general at low safety, only if you already told it was that type with a declare) 2016-07-31T05:11:39Z IPmonger joined #lisp 2016-07-31T05:12:26Z imposter joined #lisp 2016-07-31T05:16:06Z cibs quit (Ping timeout: 240 seconds) 2016-07-31T05:16:33Z IPmonger quit (Ping timeout: 276 seconds) 2016-07-31T05:18:18Z cibs joined #lisp 2016-07-31T05:19:03Z beach: Good morning everyone! 2016-07-31T05:25:04Z Petit_Dejeuner: morning 2016-07-31T05:25:24Z Petit_Dejeuner: Does anyone know if this function already exists? Trying to coerce directly to a string doesn't work. 2016-07-31T05:25:36Z Bike: this function? 2016-07-31T05:26:02Z Petit_Dejeuner: http://pastie.org/private/crcuknt9jqdlwxh8bys0xw 2016-07-31T05:26:05Z Petit_Dejeuner: my mistake 2016-07-31T05:26:47Z Bike: no, i do not think that function exists. i would just do (map 'string #'code-char array) though. 2016-07-31T05:27:30Z Petit_Dejeuner: thanks, that helps 2016-07-31T05:27:50Z jack_rip_vim quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) 2016-07-31T05:41:36Z narendraj9 joined #lisp 2016-07-31T05:41:53Z tax joined #lisp 2016-07-31T05:42:04Z narendraj9 quit (Remote host closed the connection) 2016-07-31T05:45:54Z jleija quit (Quit: leaving) 2016-07-31T05:49:15Z gingerale joined #lisp 2016-07-31T06:03:30Z krasnal quit (Read error: Connection timed out) 2016-07-31T06:04:01Z krasnal joined #lisp 2016-07-31T06:09:12Z Petit_Dejeuner quit (Ping timeout: 276 seconds) 2016-07-31T06:11:24Z jsgrant joined #lisp 2016-07-31T06:11:43Z IPmonger joined #lisp 2016-07-31T06:12:21Z Petit_Dejeuner joined #lisp 2016-07-31T06:15:52Z IPmonger quit (Ping timeout: 240 seconds) 2016-07-31T06:16:46Z vlatkoB joined #lisp 2016-07-31T06:31:12Z imposter quit (Read error: Connection reset by peer) 2016-07-31T06:33:49Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-07-31T06:36:41Z smokeink quit (Ping timeout: 250 seconds) 2016-07-31T06:40:26Z cibs quit (Ping timeout: 240 seconds) 2016-07-31T06:40:58Z nostoi joined #lisp 2016-07-31T06:42:27Z cibs joined #lisp 2016-07-31T06:44:08Z _sjs quit (Ping timeout: 258 seconds) 2016-07-31T06:47:06Z cibs quit (Ping timeout: 240 seconds) 2016-07-31T06:48:47Z cibs joined #lisp 2016-07-31T06:49:58Z _sjs joined #lisp 2016-07-31T06:53:36Z adolf_stalin quit (Quit: Leaving...) 2016-07-31T06:55:50Z ggole joined #lisp 2016-07-31T07:00:41Z mr_yogurt: Are format control strings supposed to be write-only a la regexes or am I just doing it wrong? 2016-07-31T07:02:34Z beach: mr_yogurt: They are often write-only, yes. 2016-07-31T07:03:34Z mr_yogurt: I was afraid there might be a proper way to write them that I wasn't privy to. 2016-07-31T07:03:46Z beach: None that I am aware of. 2016-07-31T07:07:40Z joneshf-laptop quit (Quit: Leaving) 2016-07-31T07:16:40Z Petit_Dejeuner quit (Ping timeout: 258 seconds) 2016-07-31T07:26:22Z SamSkulls quit (Remote host closed the connection) 2016-07-31T07:28:01Z attila_lendvai joined #lisp 2016-07-31T07:32:34Z grouzen joined #lisp 2016-07-31T07:36:09Z angavrilov joined #lisp 2016-07-31T07:38:36Z mathrick joined #lisp 2016-07-31T07:40:49Z _sjs quit (Ping timeout: 250 seconds) 2016-07-31T07:43:41Z harish_ joined #lisp 2016-07-31T07:51:23Z despoil joined #lisp 2016-07-31T07:52:50Z nostoi quit (Quit: Verlassend) 2016-07-31T08:00:43Z quazimodo joined #lisp 2016-07-31T08:00:46Z quazimod1 joined #lisp 2016-07-31T08:08:05Z quazimodo quit (Ping timeout: 258 seconds) 2016-07-31T08:08:15Z quazimod1 quit (Ping timeout: 264 seconds) 2016-07-31T08:10:46Z cibs quit (Ping timeout: 240 seconds) 2016-07-31T08:12:55Z cibs joined #lisp 2016-07-31T08:13:54Z wooden_ quit (Read error: Connection reset by peer) 2016-07-31T08:19:10Z wooden_ joined #lisp 2016-07-31T08:19:51Z H4ns: it is a problem of all very succinct languages that they tend to fail expressing complex things well. 2016-07-31T08:23:35Z krasnal quit (Read error: Connection reset by peer) 2016-07-31T08:25:50Z beach: Interesting observation! Certainly, APL falls into that category. 2016-07-31T08:26:55Z Bike: pshaw, ↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ is perfectly complex 2016-07-31T08:27:38Z ecraven: Bike: after looking at apl for a few weeks recently, this isn't as cryptic as it used to be.. even if I have no idea what it does :) 2016-07-31T08:27:45Z ecraven: at least I kind of know how to parse it 2016-07-31T08:28:09Z H4ns: ecraven: that's the same with regular expressions and format strings. "fail" is very relative to the experience and skill of the reader. 2016-07-31T08:28:25Z H4ns: but then, that can be said about any language, not only the very succint ones. 2016-07-31T08:30:15Z Blukunfando quit (Ping timeout: 276 seconds) 2016-07-31T08:30:42Z anunnaki quit (Ping timeout: 258 seconds) 2016-07-31T08:32:47Z shka_ joined #lisp 2016-07-31T08:34:24Z anunnaki joined #lisp 2016-07-31T08:40:45Z pillton: Going back three hours or so. Just note that check-type has a store-value restart. The compiler has to accommodate the input from the store-value restart which can generate strange warnings when the speed optimization is enabled. 2016-07-31T08:42:00Z xantoz joined #lisp 2016-07-31T08:42:35Z creat quit (Ping timeout: 258 seconds) 2016-07-31T08:43:06Z cibs quit (Ping timeout: 240 seconds) 2016-07-31T08:45:18Z creat joined #lisp 2016-07-31T08:45:19Z cibs joined #lisp 2016-07-31T08:51:46Z cibs quit (Ping timeout: 240 seconds) 2016-07-31T08:53:07Z cibs joined #lisp 2016-07-31T08:55:30Z ggole quit 2016-07-31T08:56:23Z ggole joined #lisp 2016-07-31T08:57:30Z prole joined #lisp 2016-07-31T09:00:37Z prole quit (Remote host closed the connection) 2016-07-31T09:00:40Z eivarv joined #lisp 2016-07-31T09:06:05Z xaotuk joined #lisp 2016-07-31T09:07:59Z despoil quit (Quit: Textual IRC Client: www.textualapp.com) 2016-07-31T09:09:12Z m00natic joined #lisp 2016-07-31T09:15:39Z prole joined #lisp 2016-07-31T09:17:04Z pierpa joined #lisp 2016-07-31T09:18:52Z prole` joined #lisp 2016-07-31T09:20:07Z antonv quit (Ping timeout: 244 seconds) 2016-07-31T09:20:29Z prole quit (Ping timeout: 258 seconds) 2016-07-31T09:20:42Z sjl joined #lisp 2016-07-31T09:23:17Z sjl quit (Read error: Connection reset by peer) 2016-07-31T09:23:43Z DeadTrickster_ joined #lisp 2016-07-31T09:24:04Z DeadTrickster joined #lisp 2016-07-31T09:24:52Z puchacz joined #lisp 2016-07-31T09:26:08Z prole` quit (Remote host closed the connection) 2016-07-31T09:27:35Z Bike quit (Quit: hate) 2016-07-31T09:29:36Z grimsley joined #lisp 2016-07-31T09:33:04Z stepnem joined #lisp 2016-07-31T09:35:55Z smokeink joined #lisp 2016-07-31T09:37:35Z Davidbrcz joined #lisp 2016-07-31T09:37:55Z IPmonger joined #lisp 2016-07-31T09:42:20Z IPmonger quit (Ping timeout: 258 seconds) 2016-07-31T09:48:08Z _sjs joined #lisp 2016-07-31T09:52:32Z _sjs quit (Ping timeout: 250 seconds) 2016-07-31T09:56:32Z edgar-rft quit (Quit: edgar-rft) 2016-07-31T10:06:11Z varjag joined #lisp 2016-07-31T10:08:56Z eivarv quit (Quit: Sleep) 2016-07-31T10:14:35Z d4ryus quit (Ping timeout: 258 seconds) 2016-07-31T10:17:04Z eivarv joined #lisp 2016-07-31T10:17:18Z d4ryus joined #lisp 2016-07-31T10:21:25Z zacharias joined #lisp 2016-07-31T10:23:15Z mathrick quit (Ping timeout: 264 seconds) 2016-07-31T10:24:18Z Davidbrcz quit (Quit: Leaving) 2016-07-31T10:33:26Z elpatron joined #lisp 2016-07-31T10:40:13Z Davidbrcz joined #lisp 2016-07-31T10:45:12Z tristero quit (Quit: tristero) 2016-07-31T10:47:32Z IPmonger joined #lisp 2016-07-31T10:52:02Z IPmonger quit (Ping timeout: 260 seconds) 2016-07-31T10:52:46Z smokeink quit (Ping timeout: 244 seconds) 2016-07-31T11:04:52Z pierpa quit (Ping timeout: 240 seconds) 2016-07-31T11:10:49Z IPmonger joined #lisp 2016-07-31T11:14:58Z IPmonger quit (Ping timeout: 252 seconds) 2016-07-31T11:21:55Z quazimodo joined #lisp 2016-07-31T11:21:59Z quazimod1 joined #lisp 2016-07-31T11:26:20Z moredhel quit (Quit: byee) 2016-07-31T11:27:00Z moredhel joined #lisp 2016-07-31T11:30:59Z IPmonger joined #lisp 2016-07-31T11:32:21Z scymtym quit (Ping timeout: 258 seconds) 2016-07-31T11:35:29Z IPmonger quit (Ping timeout: 244 seconds) 2016-07-31T11:43:22Z jean377 quit (Ping timeout: 260 seconds) 2016-07-31T11:46:03Z harish_ quit (Ping timeout: 240 seconds) 2016-07-31T11:53:22Z eivarv quit (Quit: Sleep) 2016-07-31T11:55:52Z eivarv joined #lisp 2016-07-31T11:56:18Z IPmonger joined #lisp 2016-07-31T12:00:01Z _sjs joined #lisp 2016-07-31T12:00:36Z scymtym joined #lisp 2016-07-31T12:00:52Z IPmonger quit (Ping timeout: 260 seconds) 2016-07-31T12:01:01Z jean377 joined #lisp 2016-07-31T12:02:49Z harish_ joined #lisp 2016-07-31T12:03:22Z xaotuk quit (Ping timeout: 252 seconds) 2016-07-31T12:04:35Z _sjs quit (Ping timeout: 244 seconds) 2016-07-31T12:08:03Z jean377 quit (Ping timeout: 240 seconds) 2016-07-31T12:13:24Z EvW joined #lisp 2016-07-31T12:14:06Z jean377 joined #lisp 2016-07-31T12:17:02Z EvW1 joined #lisp 2016-07-31T12:17:24Z payphone quit (Read error: No route to host) 2016-07-31T12:17:38Z EvW quit (Ping timeout: 250 seconds) 2016-07-31T12:17:39Z EvW1 is now known as EvW 2016-07-31T12:47:18Z DeadTrickster_ quit (Ping timeout: 244 seconds) 2016-07-31T12:47:59Z DeadTrickster quit (Ping timeout: 244 seconds) 2016-07-31T12:51:17Z Davidbrcz quit (Quit: Leaving) 2016-07-31T12:53:30Z EvW quit (Ping timeout: 276 seconds) 2016-07-31T13:02:08Z ukari joined #lisp 2016-07-31T13:04:40Z Blukunfando joined #lisp 2016-07-31T13:05:31Z m00natic quit (Remote host closed the connection) 2016-07-31T13:05:45Z EvW joined #lisp 2016-07-31T13:20:30Z quazimod1 quit (Ping timeout: 258 seconds) 2016-07-31T13:20:32Z quazimodo quit (Ping timeout: 244 seconds) 2016-07-31T13:26:19Z dainis1 joined #lisp 2016-07-31T13:28:16Z EvW quit (Ping timeout: 250 seconds) 2016-07-31T13:28:41Z EvW joined #lisp 2016-07-31T13:30:31Z quasus joined #lisp 2016-07-31T13:31:04Z mishoo joined #lisp 2016-07-31T13:35:45Z ukari quit (Ping timeout: 276 seconds) 2016-07-31T13:42:26Z cpt_nemo joined #lisp 2016-07-31T13:49:54Z reepca quit (Ping timeout: 265 seconds) 2016-07-31T13:50:15Z grouzen quit (Ping timeout: 264 seconds) 2016-07-31T13:59:11Z xaotuk joined #lisp 2016-07-31T14:09:33Z hitecnologys quit (Ping timeout: 240 seconds) 2016-07-31T14:11:56Z _sjs joined #lisp 2016-07-31T14:16:28Z _sjs quit (Ping timeout: 252 seconds) 2016-07-31T14:17:01Z Jesin quit (Ping timeout: 252 seconds) 2016-07-31T14:25:28Z eivarv quit (Quit: Sleep) 2016-07-31T14:26:00Z eivarv joined #lisp 2016-07-31T14:28:57Z EvW quit (Ping timeout: 250 seconds) 2016-07-31T14:32:55Z elpatron quit (Remote host closed the connection) 2016-07-31T14:32:59Z Jesin joined #lisp 2016-07-31T14:33:45Z jean377 quit (Ping timeout: 250 seconds) 2016-07-31T14:34:59Z sweater joined #lisp 2016-07-31T14:38:33Z ukari joined #lisp 2016-07-31T14:41:56Z Vicfred joined #lisp 2016-07-31T14:43:07Z EvW joined #lisp 2016-07-31T14:45:23Z Th30n joined #lisp 2016-07-31T14:45:27Z dainis1 quit (Ping timeout: 264 seconds) 2016-07-31T14:46:15Z John[Lisbeth] quit (Remote host closed the connection) 2016-07-31T14:50:52Z Th30n: Anyone using 32bit CCL on 64bit Windows 7? I have a strange type check bug when settings some slots on a structure. For example, (defstruct a (val 0d0 :type double-float)) (make-a) (incf (a-val *) 2) does not work. 2016-07-31T14:51:10Z Th30n: s/settings/setting 2016-07-31T14:51:27Z Th30n: 64bit version works as expected 2016-07-31T14:55:01Z jack_rip_vim joined #lisp 2016-07-31T14:55:49Z EvW quit (Ping timeout: 250 seconds) 2016-07-31T14:57:33Z pjb joined #lisp 2016-07-31T15:01:07Z mishoo quit (Ping timeout: 260 seconds) 2016-07-31T15:06:36Z aries_liuxueyang: hello 2016-07-31T15:07:17Z beach: Hello aries_liuxueyang. 2016-07-31T15:07:48Z jack_rip_vim: hi beach 2016-07-31T15:07:50Z aries_liuxueyang: `(loop (print (eval (read))))` I evaluate this in slime in emacs, how to get out of the loop, any shortcut? 2016-07-31T15:08:26Z beach: C-c C-c usually works. 2016-07-31T15:08:37Z beach: jack_rip_vim: Hey. 2016-07-31T15:08:40Z aries_liuxueyang: I tried C-c C-b it can get out of it. but it shows an error: Interrupt from Emacs 2016-07-31T15:08:59Z beach: Then q 2016-07-31T15:09:05Z aries_liuxueyang: C-c C-c shows the same error. 2016-07-31T15:09:13Z aries_liuxueyang: Yeah, it can. 2016-07-31T15:09:31Z aries_liuxueyang: Any normal way to get out of the without error? 2016-07-31T15:09:40Z aries_liuxueyang: Or it's impossible? 2016-07-31T15:09:42Z beach: q 2016-07-31T15:10:18Z aries_liuxueyang: I know in the debug window press q to quit that. 2016-07-31T15:10:38Z aries_liuxueyang: I mean get out of the repl without error. 2016-07-31T15:10:48Z jack_rip_vim: (quit)? 2016-07-31T15:10:48Z beach: Oh. 2016-07-31T15:11:27Z aries_liuxueyang: jack_rip_vim: yeah... ;-) thanks. 2016-07-31T15:11:34Z cromachina: you could wrap the whole thing to catch the interrupt error and then just return normally 2016-07-31T15:11:38Z jack_rip_vim: hmm 2016-07-31T15:12:14Z aries_liuxueyang: cromachina: okay. 2016-07-31T15:12:49Z IPmonger joined #lisp 2016-07-31T15:14:32Z DeadTrickster_ joined #lisp 2016-07-31T15:14:38Z DeadTrickster joined #lisp 2016-07-31T15:17:02Z IPmonger quit (Ping timeout: 250 seconds) 2016-07-31T15:24:56Z prxq joined #lisp 2016-07-31T15:28:05Z paul0 joined #lisp 2016-07-31T15:29:24Z cagmz joined #lisp 2016-07-31T15:33:53Z Jesin quit (Quit: Leaving) 2016-07-31T15:35:26Z jean377 joined #lisp 2016-07-31T15:36:36Z Jesin joined #lisp 2016-07-31T15:39:30Z jack_rip_vim quit (Remote host closed the connection) 2016-07-31T15:53:31Z feriperrimerri joined #lisp 2016-07-31T15:53:32Z feriperrimerri quit (Changing host) 2016-07-31T15:53:32Z feriperrimerri joined #lisp 2016-07-31T15:53:42Z feriperrimerri is now known as deank 2016-07-31T15:58:03Z DeadTrickster quit (Ping timeout: 240 seconds) 2016-07-31T15:58:45Z DeadTrickster_ quit (Ping timeout: 276 seconds) 2016-07-31T16:00:01Z ovenpasta joined #lisp 2016-07-31T16:04:08Z araujo_ joined #lisp 2016-07-31T16:05:27Z jack_rip_vim joined #lisp 2016-07-31T16:06:29Z ovenpasta quit (Ping timeout: 258 seconds) 2016-07-31T16:06:44Z araujo quit (Ping timeout: 244 seconds) 2016-07-31T16:12:06Z tharugrim joined #lisp 2016-07-31T16:13:41Z troydm quit (Quit: What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset) 2016-07-31T16:14:17Z hhdave joined #lisp 2016-07-31T16:19:04Z sweater quit (Ping timeout: 260 seconds) 2016-07-31T16:23:44Z _sjs joined #lisp 2016-07-31T16:27:25Z wtetzner joined #lisp 2016-07-31T16:28:06Z _sjs quit (Ping timeout: 250 seconds) 2016-07-31T16:31:21Z therik joined #lisp 2016-07-31T16:34:31Z troydm joined #lisp 2016-07-31T16:36:53Z eivarv quit (Quit: Sleep) 2016-07-31T16:37:35Z jack_rip_vim quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) 2016-07-31T16:39:27Z tharugrim quit (Ping timeout: 244 seconds) 2016-07-31T16:46:35Z eivarv joined #lisp 2016-07-31T16:47:13Z zacharias quit (Ping timeout: 250 seconds) 2016-07-31T16:51:39Z cagmz quit (Remote host closed the connection) 2016-07-31T16:56:36Z holly2 quit (Ping timeout: 276 seconds) 2016-07-31T17:00:08Z holly2 joined #lisp 2016-07-31T17:01:00Z phoe: I have a question about special vars. 2016-07-31T17:01:15Z phoe: (let ((*x* 3)) (foo)) 2016-07-31T17:01:22Z dainis joined #lisp 2016-07-31T17:01:31Z phoe: Where (defun foo () *x*) (defvar *x* 5) 2016-07-31T17:02:28Z phoe: The specialness of a variable is dropped somewhere across my code. I just need to find out where and how. 2016-07-31T17:02:53Z varjag: it's dropped when you shadow it with let 2016-07-31T17:02:59Z ggole: The first *x* is a different (lexical) variable 2016-07-31T17:03:11Z phoe: Oh no, wait wait. 2016-07-31T17:03:13Z phoe: I know where I screw up. 2016-07-31T17:03:21Z phoe: And that's not special variables. 2016-07-31T17:03:22Z ggole: The defvar needs to come first, basically. 2016-07-31T17:03:40Z ggole: Then the two *x*s will refer to the same dynamically bound variable. 2016-07-31T17:03:41Z dim: beware of threads too 2016-07-31T17:05:18Z wildlander joined #lisp 2016-07-31T17:06:10Z prxq quit (Remote host closed the connection) 2016-07-31T17:08:09Z scymtym quit (Ping timeout: 258 seconds) 2016-07-31T17:09:31Z cagmz joined #lisp 2016-07-31T17:09:40Z _richardson_ joined #lisp 2016-07-31T17:12:19Z phoe: I actually admire Lisp 2016-07-31T17:12:24Z phoe: I think more than I code 2016-07-31T17:12:39Z phoe: where by coding I mean writing actual sexps 2016-07-31T17:17:57Z Bike joined #lisp 2016-07-31T17:19:36Z mishoo joined #lisp 2016-07-31T17:20:33Z phoe: and the fact I can actually work from both sides, as in, write my program and extend my language, and finally just make these two directions converge 2016-07-31T17:22:04Z holly2 quit (Ping timeout: 260 seconds) 2016-07-31T17:25:45Z holly2 joined #lisp 2016-07-31T17:27:47Z mathrick joined #lisp 2016-07-31T17:31:39Z holly2 quit (Ping timeout: 264 seconds) 2016-07-31T17:32:22Z ec\ quit (Quit: Lost terminal) 2016-07-31T17:37:49Z quasus quit (Ping timeout: 260 seconds) 2016-07-31T17:38:31Z scymtym joined #lisp 2016-07-31T17:42:26Z holly2 joined #lisp 2016-07-31T17:42:59Z Wojciech_K joined #lisp 2016-07-31T17:47:15Z phoe: This is the ugliest Lisp I've ever done 2016-07-31T17:47:16Z phoe: http://paste.lisp.org/display/321803 2016-07-31T17:47:18Z Th30n quit (Ping timeout: 276 seconds) 2016-07-31T17:47:43Z mathrick quit (Read error: Connection reset by peer) 2016-07-31T17:50:33Z PlasmaStar quit (Ping timeout: 276 seconds) 2016-07-31T17:51:02Z Urchin joined #lisp 2016-07-31T17:51:35Z ec\ joined #lisp 2016-07-31T17:55:58Z therik quit (Remote host closed the connection) 2016-07-31T17:57:00Z _leb joined #lisp 2016-07-31T17:58:11Z reepca joined #lisp 2016-07-31T17:58:23Z cromachina: are you trying to do variable amounts of dynamic binding? 2016-07-31T17:58:33Z cromachina: i wonder if this would help http://www.lispworks.com/documentation/lw70/CLHS/Body/s_progv.htm 2016-07-31T17:59:31Z PlasmaStar joined #lisp 2016-07-31T18:01:01Z PlasmaStar quit (Excess Flood) 2016-07-31T18:01:55Z gravicappa quit (Remote host closed the connection) 2016-07-31T18:02:41Z PlasmaStar joined #lisp 2016-07-31T18:04:08Z phoe: cromachina: PROGV. I haven't used it a single time. 2016-07-31T18:04:13Z phoe: Perhaps it's about time. 2016-07-31T18:04:55Z phoe: ...ooooh 2016-07-31T18:05:05Z phoe: this is going to simplify these macros so freaking much 2016-07-31T18:05:11Z Urchin quit (Changing host) 2016-07-31T18:05:12Z Urchin joined #lisp 2016-07-31T18:06:02Z ineiros quit (Ping timeout: 258 seconds) 2016-07-31T18:10:03Z Bike: why the eval when 2016-07-31T18:10:58Z ineiros joined #lisp 2016-07-31T18:11:39Z phoe: Bike: might go with symbol-value, correct 2016-07-31T18:12:31Z phoe: oh! 2016-07-31T18:12:39Z phoe: you didn't mean EVAL, you meant EVAL-WHEN 2016-07-31T18:13:16Z phoe: that's because later in the code I do http://paste.lisp.org/display/321803#1 2016-07-31T18:13:18Z Grue`: phoe: http://readevalprint.tumblr.com/post/145348323128/all-you-need-is-progv ;) 2016-07-31T18:13:24Z phoe: Grue`: :D 2016-07-31T18:13:40Z phoe: Bike: this ensures that inside (with-clean-config ...) there are two things 2016-07-31T18:13:58Z phoe: 1) all defconfig'd variables have newly initialized initial values 2016-07-31T18:14:20Z phoe: 2) you can call WITH-CLEAN-CONFIG inside WITH-CLEAN-CONFIG and get the same result every time 2016-07-31T18:15:15Z cagmz quit 2016-07-31T18:15:28Z Bike: #1 sounds like you want defparameter 2016-07-31T18:16:04Z Th30n joined #lisp 2016-07-31T18:16:51Z phoe: Bike: no 2016-07-31T18:16:54Z phoe: you don't want to lose the previous 2016-07-31T18:18:08Z phoe: this is essentially a jail for the defconfig'd dynamic variables 2016-07-31T18:18:18Z aphprentice joined #lisp 2016-07-31T18:18:39Z ineiros quit (Ping timeout: 250 seconds) 2016-07-31T18:18:41Z Bike: what does "newly initialized initial values" mean, then...? 2016-07-31T18:18:50Z tharugrim joined #lisp 2016-07-31T18:18:50Z phoe: (defconfig *x* (make-hash-table)) 2016-07-31T18:19:00Z phoe: you can put elements inside that hash-table 2016-07-31T18:19:09Z Bike: i mean, nothing in defconfig actually uses the value of any of the variables, you could have it outside the eval-when with no change 2016-07-31T18:19:19Z phoe: and then (with-clean-config ...) 2016-07-31T18:19:38Z phoe: everything inside the WITH-CLEAN-CONFIG that accesses *x* does not access the old hash-table 2016-07-31T18:19:45Z phoe: it accesses a new one 2016-07-31T18:20:06Z phoe: basically you (let ((*x* (make-hash-table))) ...) 2016-07-31T18:20:27Z phoe: except that you also can call WITH-CLEAN-CONFIG recursively, getting a "clean" environment each single time 2016-07-31T18:22:09Z edgar-rft joined #lisp 2016-07-31T18:24:23Z Grue`: it looks way more complicated than it should be 2016-07-31T18:24:30Z Bike: okay, but i wasn't asking what this does, i'm asking why it's in an eval when. 2016-07-31T18:24:58Z Bike: i don't think you ever need to put a defmacro at top level in an eval-when all like that. 2016-07-31T18:25:08Z Grue`: even without PROGV you just need to expand the macro to a LET that binds dynamic variables to their initial values 2016-07-31T18:25:36Z Grue`: yeah, eval-when seems useless too 2016-07-31T18:25:40Z ineiros joined #lisp 2016-07-31T18:26:13Z Bike: you want an eval when around the defvars if you want the values available at compile time, which you only need if you use with-clean-config later in the file. 2016-07-31T18:26:30Z phoe: Bike: I do, for 1AM testing. 2016-07-31T18:27:02Z Grue`: (the only advantage of PROGV is that you don't need to recompile existing instances of macro every time you add a new defconfig) 2016-07-31T18:27:28Z unrahul joined #lisp 2016-07-31T18:28:28Z Bike: ok, but you should still take out the defmacros, it's confusing. 2016-07-31T18:30:05Z Bike: and i know you were rewriting to use progv but with-clean-config is pretty weird. you don't need config-vars to be ignorable, either 2016-07-31T18:30:19Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-07-31T18:30:35Z phoe: Well. Hum. 2016-07-31T18:30:40Z phoe: I'll think on it more. 2016-07-31T18:31:31Z Grue`: it's best to not have mutable global vars in the first place... 2016-07-31T18:35:31Z _sjs joined #lisp 2016-07-31T18:35:41Z phoe: Grue`: which is why I want them special 2016-07-31T18:36:06Z phoe: my idea is, I go (with-clean-config (set-global-vars) ...) 2016-07-31T18:36:11Z krasnal joined #lisp 2016-07-31T18:38:21Z Bike: what is this "reconstruct config vars" thing? I thought config vars was a list of _unevaluated_ bindings 2016-07-31T18:39:19Z EvW joined #lisp 2016-07-31T18:39:41Z phoe: Bike: ... 2016-07-31T18:39:44Z phoe <- silly 2016-07-31T18:39:47Z phoe: you are right 2016-07-31T18:39:52Z _sjs quit (Ping timeout: 240 seconds) 2016-07-31T18:39:54Z phoe: there's no need to reconstruct it at all 2016-07-31T18:40:16Z phoe: welp 2016-07-31T18:40:25Z phoe: this macro needs much more love 2016-07-31T18:40:35Z Bike: actually, do you even want to rebind it 2016-07-31T18:41:24Z hhdave quit (Quit: hhdave) 2016-07-31T18:41:36Z phoe: ... 2016-07-31T18:41:38Z phoe: wait 2016-07-31T18:41:48Z phoe: I think I don't. 2016-07-31T18:42:16Z phoe: As long as I say that no DEFCONFIG can happen inside WITH-CLEAN-CONFIG. 2016-07-31T18:42:30Z Bike: defconfig seemed top level to me. 2016-07-31T18:42:34Z phoe: To me as well. 2016-07-31T18:42:59Z phoe: So that doesn't need to be rebound. 2016-07-31T18:45:08Z tharugrim quit (Ping timeout: 258 seconds) 2016-07-31T18:49:03Z krasnal quit (Ping timeout: 240 seconds) 2016-07-31T18:52:49Z Th30n quit (Quit: leaving) 2016-07-31T18:56:36Z KarlDscc quit (Remote host closed the connection) 2016-07-31T18:57:51Z Petit_Dejeuner joined #lisp 2016-07-31T18:58:56Z Petit_Dejeuner: How would I add type checking to slots in CLOS objects? 2016-07-31T18:59:18Z Petit_Dejeuner: I know there's a type parameter, but I'm not sure if that's portable/safe. 2016-07-31T18:59:28Z H4ns: if you want to enforce it, you'll need to use the mop and a custom metaclass 2016-07-31T19:01:21Z quasus joined #lisp 2016-07-31T19:01:21Z IPmonger joined #lisp 2016-07-31T19:02:05Z mvilleneuve joined #lisp 2016-07-31T19:03:03Z krasnal joined #lisp 2016-07-31T19:05:47Z tharugrim joined #lisp 2016-07-31T19:08:09Z krasnal quit (Read error: No route to host) 2016-07-31T19:08:12Z ukari quit (Ping timeout: 240 seconds) 2016-07-31T19:13:01Z attila_lendvai joined #lisp 2016-07-31T19:14:57Z Bike: where do you want type checks? i mean, you can define methods on the writers and such pretty easy 2016-07-31T19:19:54Z zygentoma joined #lisp 2016-07-31T19:20:24Z mishoo quit (Ping timeout: 258 seconds) 2016-07-31T19:29:04Z mathrick joined #lisp 2016-07-31T19:35:02Z xrash joined #lisp 2016-07-31T19:35:12Z mathrick quit (Ping timeout: 276 seconds) 2016-07-31T19:36:32Z pierpa joined #lisp 2016-07-31T19:37:10Z pjb: Having variables in the compilation environment often doesn't help much, because of the difficulty in having the values bound to those variables transfered to the run-time environment: essentially, you would need to recompute their value both in the compilation environment and in the run-time environment. (cf. the constraints on defconstant for example). 2016-07-31T19:39:00Z dfigrish joined #lisp 2016-07-31T19:39:03Z dfigrish: hi hi 2016-07-31T19:45:16Z xrash quit (Ping timeout: 250 seconds) 2016-07-31T19:46:40Z Josh2 joined #lisp 2016-07-31T19:48:03Z xrash joined #lisp 2016-07-31T19:48:54Z cagmz joined #lisp 2016-07-31T19:49:03Z vsync quit (Ping timeout: 244 seconds) 2016-07-31T19:50:47Z jcd0451 joined #lisp 2016-07-31T19:50:58Z ec\ quit (Quit: Lost terminal) 2016-07-31T19:53:14Z strykerkkd joined #lisp 2016-07-31T19:54:26Z vlatkoB quit (Remote host closed the connection) 2016-07-31T19:56:21Z ec\ joined #lisp 2016-07-31T19:56:39Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-07-31T19:58:01Z tharugrim quit (Ping timeout: 258 seconds) 2016-07-31T19:58:22Z IPmonger quit (Ping timeout: 244 seconds) 2016-07-31T20:05:03Z dainis quit (Ping timeout: 240 seconds) 2016-07-31T20:05:21Z Petit_Dejeuner: H4ns: Seems like overkill to me. I probably shouldn't do that much. 2016-07-31T20:05:53Z Petit_Dejeuner: Bike: when make-instance is called and when a slot is mutated 2016-07-31T20:06:07Z ukari joined #lisp 2016-07-31T20:06:09Z Bike: there's a lot of ways to mutate slots though 2016-07-31T20:06:32Z Petit_Dejeuner: Well, what I'm working with is read-only anyway. 2016-07-31T20:06:45Z Petit_Dejeuner: Just make-instance is probably enough. 2016-07-31T20:06:56Z Petit_Dejeuner: (read-only as in you can only change slots with something like with-slots) 2016-07-31T20:07:24Z Bike: i don't... see how that means read-only, but whatever 2016-07-31T20:08:09Z Bike: you can do something like define a couple :before methods that do the appropriate check-types 2016-07-31T20:08:13Z dainis joined #lisp 2016-07-31T20:08:36Z hhdave joined #lisp 2016-07-31T20:09:15Z Bike: mm, or maybe it would be :after so that the store-value works right. 2016-07-31T20:09:42Z Petit_Dejeuner: Bike: I think of slots as private variables in another language. Directly changing slots without an accessor is something I'd only expect methods to do. 2016-07-31T20:09:50Z honix joined #lisp 2016-07-31T20:10:01Z Petit_Dejeuner: I'll give it a try. 2016-07-31T20:13:03Z hhdave quit (Ping timeout: 264 seconds) 2016-07-31T20:14:19Z gingerale quit (Remote host closed the connection) 2016-07-31T20:15:23Z hhdave joined #lisp 2016-07-31T20:19:58Z hhdave quit (Ping timeout: 250 seconds) 2016-07-31T20:20:43Z ecraven: does slime support nested presentations? as in '(1 2 3) with the whole list as a presentation, but each number as a presentation as well 2016-07-31T20:23:18Z dainis quit (Ping timeout: 276 seconds) 2016-07-31T20:25:57Z IPmonger joined #lisp 2016-07-31T20:26:49Z xrash quit (Remote host closed the connection) 2016-07-31T20:27:04Z xrash joined #lisp 2016-07-31T20:30:03Z IPmonger quit (Ping timeout: 240 seconds) 2016-07-31T20:33:36Z DeadTrickster_ joined #lisp 2016-07-31T20:33:56Z DeadTrickster joined #lisp 2016-07-31T20:34:04Z IPmonger joined #lisp 2016-07-31T20:35:22Z xrash quit (Ping timeout: 260 seconds) 2016-07-31T20:35:34Z dainis joined #lisp 2016-07-31T20:37:40Z honix_ joined #lisp 2016-07-31T20:38:54Z IPmonger quit (Ping timeout: 276 seconds) 2016-07-31T20:39:37Z _sjs joined #lisp 2016-07-31T20:40:19Z xrash joined #lisp 2016-07-31T20:41:38Z honix quit (Ping timeout: 250 seconds) 2016-07-31T20:43:38Z IPmonger joined #lisp 2016-07-31T20:44:01Z vibs29 joined #lisp 2016-07-31T20:47:29Z cagmz quit (Remote host closed the connection) 2016-07-31T20:51:25Z _leb quit (Quit: Computer has gone to sleep.) 2016-07-31T20:52:28Z IPmonger quit (Ping timeout: 250 seconds) 2016-07-31T20:52:45Z Petit_Dejeuner: Bike: Does a lot of code just access slots directly? (I'm kind of hoping for an argument against always going through an accessor so I don't have to write accessors for every slot I want other code to reach.) 2016-07-31T20:54:31Z IPmonger joined #lisp 2016-07-31T20:58:17Z angavrilov quit (Ping timeout: 244 seconds) 2016-07-31T20:58:56Z IPmonger quit (Ping timeout: 250 seconds) 2016-07-31T20:59:12Z sjl joined #lisp 2016-07-31T20:59:56Z Bike: by directly, you mean slot-value? 2016-07-31T21:00:29Z JustinHitla joined #lisp 2016-07-31T21:00:42Z Petit_Dejeuner: Yes. 2016-07-31T21:00:45Z JustinHitla: what is newlisp ? http://www.newlisp.org 2016-07-31T21:01:03Z Petit_Dejeuner: Not Common Lisp. 2016-07-31T21:01:10Z IPmonger joined #lisp 2016-07-31T21:01:16Z Bike: it's reasonably common 2016-07-31T21:01:23Z Bike: i mean, you can still insert type checks on it 2016-07-31T21:02:08Z vibs29 left #lisp 2016-07-31T21:02:27Z Bike: it's not necessarily more direct than an accessor, too 2016-07-31T21:02:44Z Petit_Dejeuner: JustinHitla: The documentation covers it pretty well. The main difference is that variables are dynamic instead of static. 2016-07-31T21:02:58Z Petit_Dejeuner: Or at least the most noticeable differnece. 2016-07-31T21:03:47Z JustinHitla: so someonme forked lisp ? 2016-07-31T21:03:49Z Petit_Dejeuner: Bike: I was just worried about exposing implementation details. 2016-07-31T21:04:02Z Petit_Dejeuner: JustinHitla: There's a bajillion dialects of lisp. 2016-07-31T21:04:19Z Bike: what implementation details? 2016-07-31T21:04:20Z xrash quit (Ping timeout: 244 seconds) 2016-07-31T21:04:22Z Petit_Dejeuner: https://clojure.org/ http://shenlanguage.org/ 2016-07-31T21:04:36Z Bike: oh, you mean the slot names of your classes 2016-07-31T21:04:37Z Petit_Dejeuner: Bike: The order and name of the slots in my class. 2016-07-31T21:04:41Z Petit_Dejeuner: names* 2016-07-31T21:04:53Z Bike: order doesn't matter, but yeah, slot names is a bit weird 2016-07-31T21:05:06Z Petit_Dejeuner: JustinHitla: This channel is specifically for Common Lisp. 2016-07-31T21:05:14Z Bike: if you don't export those symbols then other people using slot-value is kind of break it you buy it territory 2016-07-31T21:05:30Z Bike: (same with accessors, of course) 2016-07-31T21:06:44Z leb joined #lisp 2016-07-31T21:07:25Z xrash joined #lisp 2016-07-31T21:07:45Z Petit_Dejeuner: What do you mean by export symbols? Does slot-values require a symbol in the same package as the class, like the class name in make-instance? 2016-07-31T21:08:22Z mullah_ joined #lisp 2016-07-31T21:08:41Z Bike: the name of a slot is a symbol, obviously 2016-07-31T21:08:48Z Bike: that symbol is probably in one of your packages 2016-07-31T21:09:16Z Bike: if you don't export it, the slot name, and thus accessing the slot through slot-value, is not an external interface you want people to use 2016-07-31T21:09:40Z Bike: i have no idea what you mean by that make-instance comparison 2016-07-31T21:09:47Z Bike: classes don't have packages 2016-07-31T21:10:31Z JustinHitla left #lisp 2016-07-31T21:12:39Z Petit_Dejeuner: Bike: sometimes I have to write (make-instance 'package:class ...) instead of (make-instance 'class ...) 2016-07-31T21:12:46Z Petit_Dejeuner: That's what I'm referring to. 2016-07-31T21:13:07Z Bike: that's because the class name, which is what you're passing to make-instance, is a symbol, and symbols have packages 2016-07-31T21:13:15Z mullah_ quit (Quit: Leaving) 2016-07-31T21:13:15Z Bike: so yes, it's like that with slot-value as well 2016-07-31T21:13:30Z Petit_Dejeuner: Thanks for explaining. 2016-07-31T21:14:34Z IPmonger quit (Ping timeout: 265 seconds) 2016-07-31T21:15:01Z IPmonger joined #lisp 2016-07-31T21:15:33Z sjl quit (Ping timeout: 240 seconds) 2016-07-31T21:17:57Z xrash quit (Ping timeout: 265 seconds) 2016-07-31T21:18:45Z mvilleneuve quit (Quit: This computer has gone to sleep) 2016-07-31T21:20:30Z xrash joined #lisp 2016-07-31T21:23:37Z grimsley quit (Quit: Leaving) 2016-07-31T21:23:40Z IPmonger quit (Ping timeout: 250 seconds) 2016-07-31T21:24:31Z puchacz quit (Quit: Konversation terminated!) 2016-07-31T21:27:40Z _sjs quit (Ping timeout: 252 seconds) 2016-07-31T21:29:39Z pjb: Petit_Dejeuner: classes are not in package. This is a meaningless notion (that of classes "being in" packages). 2016-07-31T21:29:49Z cagmz joined #lisp 2016-07-31T21:30:54Z xrash quit (Ping timeout: 276 seconds) 2016-07-31T21:30:55Z pjb: Bike: not all symbols have a home package. 2016-07-31T21:32:46Z Petit_Dejeuner: pjb: a symbol contains a package and a class can be accessed with a symbol? 2016-07-31T21:32:46Z attila_lendvai joined #lisp 2016-07-31T21:32:46Z attila_lendvai quit (Changing host) 2016-07-31T21:32:46Z attila_lendvai joined #lisp 2016-07-31T21:34:08Z pjb: Petit_Dejeuner: symbols don't contain package. Again, meaningless notions. What did you fill you brains with??? 2016-07-31T21:34:37Z ggole quit 2016-07-31T21:35:11Z Bike: symbols have a slot for a package. sometimes it's empty. classes usually have names, which are symbols. 2016-07-31T21:36:40Z xrash joined #lisp 2016-07-31T21:38:12Z honix_ quit (Quit: honix_) 2016-07-31T21:41:40Z leb quit (Quit: Computer has gone to sleep.) 2016-07-31T21:46:54Z dfigrish: good night 2016-07-31T21:46:57Z dfigrish quit (Quit: rcirc on GNU Emacs 25.1.50.1) 2016-07-31T21:47:29Z IPmonger joined #lisp 2016-07-31T21:49:57Z JuanDaugherty joined #lisp 2016-07-31T21:52:55Z cagmz_ joined #lisp 2016-07-31T21:55:03Z cagmz quit (Ping timeout: 240 seconds) 2016-07-31T21:57:42Z xrash quit (Ping timeout: 244 seconds) 2016-07-31T22:00:28Z xrash joined #lisp 2016-07-31T22:04:16Z sjl joined #lisp 2016-07-31T22:04:48Z EvW quit (Ping timeout: 250 seconds) 2016-07-31T22:04:55Z Eschatologist_ joined #lisp 2016-07-31T22:06:32Z xrash quit (Ping timeout: 250 seconds) 2016-07-31T22:06:35Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-07-31T22:07:57Z IPmonger quit (Ping timeout: 276 seconds) 2016-07-31T22:09:32Z xrash joined #lisp 2016-07-31T22:10:27Z Petit_Dejeuner: pjb: Do symbols not have a slot indicating the package they belong to? 2016-07-31T22:16:09Z dainis quit (Ping timeout: 244 seconds) 2016-07-31T22:16:45Z dainis joined #lisp 2016-07-31T22:20:19Z prxq joined #lisp 2016-07-31T22:22:43Z eivarv quit (Quit: Sleep) 2016-07-31T22:23:04Z DeadTrickster quit (Ping timeout: 260 seconds) 2016-07-31T22:23:33Z xrash quit (Ping timeout: 244 seconds) 2016-07-31T22:31:27Z jsgrant quit (Ping timeout: 260 seconds) 2016-07-31T22:35:17Z prxq quit (Remote host closed the connection) 2016-07-31T22:40:03Z Intensity quit (Ping timeout: 240 seconds) 2016-07-31T22:41:09Z akkad quit (Ping timeout: 260 seconds) 2016-07-31T22:41:26Z Intensity joined #lisp 2016-07-31T22:41:34Z cross quit (Ping timeout: 265 seconds) 2016-07-31T22:41:44Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-07-31T22:42:54Z paul0 quit (Ping timeout: 260 seconds) 2016-07-31T22:44:47Z Josh2 quit (Remote host closed the connection) 2016-07-31T22:45:53Z kaotikus quit (Remote host closed the connection) 2016-07-31T22:46:03Z Intensity quit (Ping timeout: 240 seconds) 2016-07-31T22:46:46Z Intensity joined #lisp 2016-07-31T22:48:03Z phoe: clhs symbo 2016-07-31T22:48:03Z specbot: Couldn't find anything for symbo. 2016-07-31T22:48:06Z phoe: clhs symbol 2016-07-31T22:48:06Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/t_symbol.htm 2016-07-31T22:48:17Z akkad joined #lisp 2016-07-31T22:48:54Z phoe: Petit_Dejeuner: they do: 2016-07-31T22:49:08Z phoe: "The object in this cell is called the home package of the symbol." 2016-07-31T22:49:53Z phoe: But again - "belong to" is ambiguous. 2016-07-31T22:53:51Z kobain joined #lisp 2016-07-31T22:55:07Z _richardson_ quit (Quit: Saindo) 2016-07-31T23:01:12Z quazimod1 joined #lisp 2016-07-31T23:01:13Z quazimodo joined #lisp 2016-07-31T23:03:17Z Yuuhi quit (Remote host closed the connection) 2016-07-31T23:07:48Z didi joined #lisp 2016-07-31T23:09:55Z axtract joined #lisp 2016-07-31T23:12:02Z cagmz_ quit 2016-07-31T23:13:11Z axtract: Hey guys, I'm working through Paul Graham's intro paper on Lisp and I've found an example that doesn't seem to be working right - would you mind taking a look? pastebin.com/Urj7rBav 2016-07-31T23:13:27Z Eschatologist_ quit (Quit: Eschatologist_) 2016-07-31T23:13:48Z leb joined #lisp 2016-07-31T23:15:18Z drdo: axtract: What did you expect to happen? 2016-07-31T23:17:23Z drdo: axtract: Notice that the argument to the outermost call isn't a function, since it's quoted 2016-07-31T23:18:12Z drdo: And in common lisp, there are separate namespaces for variables and functions, so the f in (f '(b c)) is not, in fact, refering to the parameter 2016-07-31T23:18:20Z Bike: expected (a b c), presumably 2016-07-31T23:18:53Z drdo: I suspect what you want to write is ((lambda (f) (funcall f '(b c))) (lambda (x) (cons 'a x))) 2016-07-31T23:21:12Z shka_ quit (Ping timeout: 265 seconds) 2016-07-31T23:25:03Z phoe quit (Ping timeout: 240 seconds) 2016-07-31T23:27:07Z quazimodo quit (Read error: Connection reset by peer) 2016-07-31T23:27:08Z quazimod1 quit (Read error: Connection reset by peer) 2016-07-31T23:39:19Z pjb: Petit_Dejeuner: symbol-package can be implemented otherwise that as a slot. It would be quite wasteful to implement it as a slot, given that it would mean a pointer to a package for each symbol. Since symbols that have a home package are already referenced by their home packages, we could just search the packages to find out the home package of a given symbol. 2016-07-31T23:40:02Z pjb: Petit_Dejeuner: there are also other ways, for example, symbols could be allocated/copied into a memory area specific to its home package, so determining the home package would just involve some bit manipulation on the symbol address. 2016-07-31T23:41:02Z drdo quit (Ping timeout: 250 seconds) 2016-07-31T23:41:45Z drdo joined #lisp 2016-07-31T23:45:54Z xaotuk quit (Ping timeout: 260 seconds) 2016-07-31T23:46:39Z didi` joined #lisp 2016-07-31T23:49:01Z strykerkkd quit (Remote host closed the connection) 2016-07-31T23:50:41Z didi quit (Ping timeout: 265 seconds) 2016-07-31T23:52:38Z IPmonger joined #lisp 2016-07-31T23:54:51Z ^5 is now known as Bitch 2016-07-31T23:58:57Z despoil joined #lisp 2016-07-31T23:59:48Z tmtwd joined #lisp