2016-06-08T00:02:03Z edgar-rft quit (Quit: edgar-rft) 2016-06-08T00:02:20Z rumbler31: I know this is true, but the debugger is complaining about failing to evaluate the load-op form in quicklisp/setup.lisp 2016-06-08T00:02:53Z rumbler31: i'm trying to figure out in the debugger where this value is being pulled but sbcl is new to me and i'm admittedly not great at this part 2016-06-08T00:03:51Z Bike: (asdf:oos 'asdf:load-op "quicklisp" :verbose nil), you mean? 2016-06-08T00:04:06Z rumbler31: yes 2016-06-08T00:06:13Z rumbler31: is it possible that some compilatoin operation was cached, and wherever the old value was captured it is now being reapplied? 2016-06-08T00:08:15Z Bike: it REQUIREs some contribs, but your new sbcl ought to know where its own contribs are. could you paste a more detailed error somewhere? 2016-06-08T00:09:57Z rumbler31: http://paste.lisp.org/display/317792 2016-06-08T00:10:23Z stassats: that's the wrong error 2016-06-08T00:11:07Z Bike: well, the actual error is farther down in the backtrace. and it does look like somehow failing to know where sb-posix is... 2016-06-08T00:14:16Z rumbler31: well the error would be that it can't find the truename of a pathname with a path I know to be wrong, so the error is that a bad value of this path is being picked up somewhere for use, if this is a symptom of a larger problem, like the system doesn't know where things really are, then 2016-06-08T00:15:16Z rumbler31: I would suspect that then sbcl doesn't know where it's being run from, and in hindisight, i imagine running from explorer might be using the sbcl_home defned at startup, not post installation 2016-06-08T00:16:27Z Bike: if you look through the sources you can see require calls module-provide-contrib calls sbcl-homedir-pathname calls (posix-getenv "SBCL_HOME") 2016-06-08T00:19:04Z stassats quit (Quit: ZNC 1.6.2+deb1 - http://znc.in) 2016-06-08T00:19:46Z rumbler31: nm, there is an old path in my path 2016-06-08T00:21:02Z rumbler31: er, there is an old path when i look at set in the command prompt, but not in the system menu 2016-06-08T00:22:40Z rumbler31: looks like the installer makes an edit to the environment variables that the system menu can see, but that isn't visible to the shell unless you use the system menu to modify the environment 2016-06-08T00:27:38Z rumbler31: with that in place things are working 2016-06-08T00:50:05Z scymtym quit (Ping timeout: 260 seconds) 2016-06-08T01:21:25Z adhoc joined #sbcl 2016-06-08T01:21:52Z adhoc left #sbcl 2016-06-08T01:23:16Z DeadTrickster_ quit (Ping timeout: 264 seconds) 2016-06-08T01:34:40Z Cooler_ quit (Ping timeout: 240 seconds) 2016-06-08T01:38:16Z stassats joined #sbcl 2016-06-08T01:42:20Z stassats quit (Ping timeout: 240 seconds) 2016-06-08T01:43:16Z stassats joined #sbcl 2016-06-08T01:47:36Z stassats quit (Ping timeout: 246 seconds) 2016-06-08T01:49:45Z stassats joined #sbcl 2016-06-08T01:53:57Z stassats quit (Ping timeout: 244 seconds) 2016-06-08T01:57:52Z Bike quit (Quit: leaving) 2016-06-08T01:58:02Z Bike joined #sbcl 2016-06-08T01:58:50Z stassats joined #sbcl 2016-06-08T02:02:22Z nzambe quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-06-08T02:03:05Z stassats quit (Ping timeout: 244 seconds) 2016-06-08T02:07:50Z stassats joined #sbcl 2016-06-08T02:12:03Z stassats quit (Ping timeout: 240 seconds) 2016-06-08T02:12:46Z stassats joined #sbcl 2016-06-08T02:17:00Z stassats quit (Ping timeout: 240 seconds) 2016-06-08T02:18:16Z stassats joined #sbcl 2016-06-08T02:22:50Z stassats quit (Ping timeout: 260 seconds) 2016-06-08T02:23:18Z stassats joined #sbcl 2016-06-08T02:27:56Z stassats quit (Ping timeout: 258 seconds) 2016-06-08T02:28:15Z stassats joined #sbcl 2016-06-08T02:32:41Z stassats quit (Ping timeout: 250 seconds) 2016-06-08T02:33:15Z stassats joined #sbcl 2016-06-08T02:56:16Z rumbler31 quit (Ping timeout: 264 seconds) 2016-06-08T02:59:52Z jsnell quit (Ping timeout: 264 seconds) 2016-06-08T03:16:30Z rumbler31 joined #sbcl 2016-06-08T03:55:06Z eschatologist joined #sbcl 2016-06-08T04:04:52Z jackdaniel quit (Quit: Lost terminal) 2016-06-08T04:05:33Z jackdaniel joined #sbcl 2016-06-08T04:51:20Z trinque quit (Read error: Connection reset by peer) 2016-06-08T04:52:10Z trinque joined #sbcl 2016-06-08T04:52:30Z rumbler31 quit (Quit: Going offline, see ya! (www.adiirc.com)) 2016-06-08T04:59:40Z shka joined #sbcl 2016-06-08T06:00:50Z gingerale joined #sbcl 2016-06-08T06:22:02Z gingerale quit (Remote host closed the connection) 2016-06-08T06:24:33Z shka quit (Ping timeout: 240 seconds) 2016-06-08T06:38:22Z DeadTrickster_ joined #sbcl 2016-06-08T07:22:06Z angavrilov joined #sbcl 2016-06-08T07:46:25Z Bike quit (Quit: asleep) 2016-06-08T07:49:41Z scymtym joined #sbcl 2016-06-08T09:32:03Z DeadTrickster_ quit (Ping timeout: 240 seconds) 2016-06-08T09:34:12Z edgar-rft joined #sbcl 2016-06-08T11:28:49Z dougk quit (Disconnected by services) 2016-06-08T11:29:07Z dougk_ joined #sbcl 2016-06-08T12:24:55Z White_Flame quit (Remote host closed the connection) 2016-06-08T12:27:08Z White_Flame joined #sbcl 2016-06-08T12:43:10Z DGASAU: Hit bug in SBCL 1.3.4. 2016-06-08T12:44:12Z DGASAU: I get values from (let ((a #2a(...))) (process a) (values a (aref a 0 0))) 2016-06-08T12:44:33Z DGASAU: the first value clearly indicates non-zero a_00, but the second one is zero. 2016-06-08T12:44:43Z DGASAU: CLISP returns correct values. 2016-06-08T12:45:03Z stassats: that's not how to report a bug 2016-06-08T12:45:33Z DGASAU: This is not formal report yet. :) 2016-06-08T12:45:53Z DGASAU: I'll try to extract smaller example. 2016-06-08T12:46:05Z jackdaniel: just a teaser? :-) 2016-06-08T12:46:21Z DGASAU: Sort of. ;) 2016-06-08T12:46:29Z flip214: only the trailer. right now there'll be ads coming in. 2016-06-08T12:47:03Z Xof: if you mutate a literal, you're on your own 2016-06-08T12:53:07Z DGASAU: I'd expect a warning then. 2016-06-08T12:53:32Z stassats: but how do you expect that to be achieved? 2016-06-08T12:54:11Z DGASAU: No idea currently. 2016-06-08T12:54:36Z DGASAU: Yet GCC manages to handle similar cases of "undefined behaviour." 2016-06-08T12:54:51Z stassats: use gcc then? 2016-06-08T13:00:10Z flip214: http://blog.regehr.org/archives/213 re "undefined behaviour" 2016-06-08T13:39:27Z DGASAU: Hm. 2016-06-08T13:39:42Z DGASAU: How do I copy an array then? 2016-06-08T13:39:46Z DGASAU: (Stupid question.) 2016-06-08T13:41:49Z flip214: COPY-SEQ ? 2016-06-08T13:41:58Z stassats: no 2016-06-08T13:42:02Z DGASAU: Is a matrix a sequence?? 2016-06-08T13:42:20Z flip214: A VECTOR is 2016-06-08T13:42:28Z flip214: how many dimensions does it have? 2016-06-08T13:42:32Z DGASAU: 2. 2016-06-08T13:42:42Z stassats: the question was about arrays, not vectors 2016-06-08T13:42:53Z DGASAU: A matrix with 3 dimensions is interesting matrix... 2016-06-08T13:43:17Z stassats: DGASAU: do you need to copy an array or just create a fresh one? 2016-06-08T13:44:44Z DGASAU: I'm trying to understand what you suggest to work with your understanding of "don't modify literals." 2016-06-08T13:45:06Z DGASAU: Primitive example is copying a matrix. 2016-06-08T13:45:21Z flip214: DGASAU: (make-array (array-dimensions ORIG) :initial-contents ORIG) or something like that 2016-06-08T13:45:41Z DGASAU: Yeah, but this looks clumsy to me. 2016-06-08T13:46:06Z stassats: and it doesn't work too 2016-06-08T13:46:07Z DGASAU: (Yes, I know that I can invent my own set of utility functions...) 2016-06-08T13:47:46Z scymtym: there is ALEXANDRIA:COPY-ARRAY 2016-06-08T13:48:31Z nzambe joined #sbcl 2016-06-08T13:48:44Z stassats: but you have a literal array, you don't need to copy it 2016-06-08T13:49:29Z DGASAU: ? 2016-06-08T13:53:17Z jackdaniel: DGASAU: if you use #A syntax, you're using literal, which is part of code not data 2016-06-08T13:53:26Z jackdaniel: you have to use (make-array …) function 2016-06-08T13:53:33Z jackdaniel: to create data 2016-06-08T13:56:52Z DGASAU: So, basically, I still need a wrapper around make-array that copies dimensions, element type and contents. 2016-06-08T13:57:03Z DGASAU: Otherwise it is going to be quite verbose. 2016-06-08T13:58:07Z stassats: make-array does not copy arrays 2016-06-08T13:58:12Z jackdaniel: why do you want to copy something? 2016-06-08T13:58:14Z stassats: flip214 misled you 2016-06-08T13:58:25Z jackdaniel: (make-array '(3 2)) is similar to #2A((0 0) (0 0) (0 0)) 2016-06-08T13:58:44Z jackdaniel: but the resulting array may be modified 2016-06-08T13:58:47Z jackdaniel: conformingly 2016-06-08T13:59:04Z DGASAU: stassats: what does :initial-contents do then? 2016-06-08T13:59:17Z stassats: clhs make-array 2016-06-08T13:59:17Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_mk_ar.htm 2016-06-08T13:59:35Z jackdaniel: (make-array '(3 2) :initial-contents '((1 2) (3 4) (5 6))) 2016-06-08T13:59:43Z jackdaniel: is the same as #2A((1 2) (3 4) (5 6)) 2016-06-08T13:59:51Z jackdaniel: except you may modify the array :) 2016-06-08T14:00:03Z DGASAU: I understand the latter. 2016-06-08T14:00:16Z flip214: stassats: why/how did I misled? 2016-06-08T14:00:21Z DGASAU: It is quite verbose. 2016-06-08T14:00:30Z stassats: flip214: your make-array thing does not work 2016-06-08T14:01:24Z DGASAU: Ah, it needs sequence... 2016-06-08T14:01:27Z flip214: if this is about the missing ":element-type", that's what I meant with "or something like that" 2016-06-08T14:01:29Z DGASAU sighs. 2016-06-08T14:01:33Z flip214: ah, okay. 2016-06-08T14:01:39Z flip214: yeah, multi-dimensional again... 2016-06-08T14:01:50Z stassats: well, "array" implies multi-dimensional 2016-06-08T14:02:07Z stassats: there's no array copying routine in CL 2016-06-08T14:02:18Z stassats: but this snippet doesn't call for copying anyhow 2016-06-08T14:02:20Z flip214: DGASAU: then feed :initial-contents (make-array (reduce #'* (array-dimensions orig)) :displaced-to orig) 2016-06-08T14:02:37Z flip214: or much simpler, use alexandria as that already provides one 2016-06-08T14:02:38Z stassats: that's not going to work either 2016-06-08T14:02:44Z jackdaniel: alexandria provides copy-array, I use that when I need it 2016-06-08T14:03:08Z jackdaniel: but I don't see the reason to copy it in a first place, but I probably don't understand something 2016-06-08T14:03:12Z jackdaniel: g2g, good luck! :) 2016-06-08T14:04:45Z stassats: you can move into #lisp 2016-06-08T14:04:52Z DGASAU: jackdaniel: stassats claims that "I'm doing it all wrong". I'm trying to understand what he suggests in his "don't modify literals" framework. 2016-06-08T14:04:53Z stassats: this is not about sbcl anymore 2016-06-08T14:06:43Z jackdaniel: DGASAU: I don't know if you do anything wrong, but if you modify array created with #a syntax, then it's non-conforming (because it's considered part of the code segment) – so it may or may not work. If you plan to change the array contents you should use make-array instead 2016-06-08T14:07:12Z jackdaniel: (let ((arr (make-array …))) (process arr) (values arr (aref …))) 2016-06-08T14:08:42Z eudoxia joined #sbcl 2016-06-08T14:25:29Z eudoxia quit (Quit: Leaving) 2016-06-08T14:59:06Z DeadTrickster_ joined #sbcl 2016-06-08T15:03:06Z whiteline quit (Ping timeout: 258 seconds) 2016-06-08T15:13:26Z whiteline joined #sbcl 2016-06-08T15:22:35Z guicho joined #sbcl 2016-06-08T15:30:21Z edgar-rft quit (Quit: edgar-rft) 2016-06-08T16:09:33Z DeadTrickster_ quit (Ping timeout: 244 seconds) 2016-06-08T16:46:02Z Bike joined #sbcl 2016-06-08T16:55:58Z shka joined #sbcl 2016-06-08T17:03:50Z gingerale joined #sbcl 2016-06-08T17:04:25Z scymtym_ joined #sbcl 2016-06-08T17:04:50Z scymtym quit (Ping timeout: 260 seconds) 2016-06-08T17:22:22Z guicho quit (Remote host closed the connection) 2016-06-08T17:26:39Z eschatol_ joined #sbcl 2016-06-08T17:27:08Z eschatologist quit (Ping timeout: 250 seconds) 2016-06-08T17:55:05Z eschatol_ quit (Read error: Connection reset by peer) 2016-06-08T17:58:10Z eschatologist joined #sbcl 2016-06-08T18:01:48Z logrus joined #sbcl 2016-06-08T18:15:41Z logrus quit (Quit: Leaving) 2016-06-08T18:18:28Z rszeno joined #sbcl 2016-06-08T18:18:55Z logrus joined #sbcl 2016-06-08T18:31:41Z rszeno quit (Quit: Leaving.) 2016-06-08T18:41:09Z eschatologist quit (Quit: Textual IRC Client: www.textualapp.com) 2016-06-08T19:13:25Z scymtym_ quit (Ping timeout: 258 seconds) 2016-06-08T19:17:07Z gingerale quit (Remote host closed the connection) 2016-06-08T19:24:18Z DeadTrickster_ joined #sbcl 2016-06-08T19:32:12Z eschatologist joined #sbcl 2016-06-08T19:32:49Z edgar-rft joined #sbcl 2016-06-08T20:02:11Z edgar-rft quit (Quit: edgar-rft) 2016-06-08T20:10:03Z shka quit (Ping timeout: 240 seconds) 2016-06-08T20:11:17Z rumbler31 joined #sbcl 2016-06-08T20:19:58Z shka joined #sbcl 2016-06-08T20:27:15Z scymtym joined #sbcl 2016-06-08T21:03:22Z eschatologist quit (Ping timeout: 250 seconds) 2016-06-08T21:22:12Z shka quit (Ping timeout: 260 seconds) 2016-06-08T21:42:40Z angavrilov quit (Remote host closed the connection) 2016-06-08T21:49:37Z DeadTrickster_ quit (Ping timeout: 260 seconds) 2016-06-08T22:36:53Z rumbler31 quit (Ping timeout: 244 seconds) 2016-06-08T22:39:01Z eschatologist joined #sbcl 2016-06-08T22:51:45Z stassats quit (Ping timeout: 276 seconds) 2016-06-08T22:55:51Z stassats joined #sbcl 2016-06-08T23:05:51Z eschatologist quit (Quit: Textual IRC Client: www.textualapp.com) 2016-06-08T23:21:28Z guicho joined #sbcl 2016-06-08T23:28:02Z guicho quit (Quit: さようなら) 2016-06-08T23:32:03Z scymtym quit (Ping timeout: 276 seconds) 2016-06-08T23:54:48Z stassats quit (Ping timeout: 276 seconds) 2016-06-08T23:56:25Z stassats joined #sbcl