freenode/lisp - IRC Chatlog
Search
3:03:47
minion
smokeink, memo from Shinmera: The QL problem you experienced has to do with :defsystem-depends-on a local-projects system. Either quickloading qtools manually first, or removing all my projects from your local-projects should fix that.
3:04:33
loke
There is both GTK and QT libraries for CL. I don't know which one is the most mature though.
3:05:55
smokeink
i've played with the QT ones . i wanted to try gtk as well but couldn't find any working one
3:06:40
loke
smokeink: I did a tiny amount of testing of the GTK interface, and it seemed functional for the basic stuff I did (which was limited to opening a window with a button in it, or something to that effect)
3:19:08
smokeink
regarding my above paste, i had to delete this folder /home/smokeink/quicklisp/local-projects/sbcl-win32-threads/
4:34:18
nyef
I was figuring to start with the basics. Split it into a two-phase system with an IR, do some physical environment analysis to get rid of the god-awful interpreter environment structures, and then see where to go from there.
4:35:03
nyef
Just getting proper physical environment analysis in there, even if it has to heap-allocate every single closure, should help.
4:44:32
PuercoPop
Is there a downside to using shadowing-import-from when a symbol is not being shadowed?
4:50:33
smokeink
does anyone else get utf8 c-string decoding error when evaluating (DIRECTORY #P"libsmokebase.so" :RESOLVE-SYMLINKS T) ?
6:04:30
smokeink
hmm not sure what was happening, that error is gone now after i ran (ql:register-local-projects)
8:43:02
pjb
minion: memo for warweasle: arnesi contains the required code (delimited continuations) for you to imlpement running function serialization/deserialization.
8:46:09
pjb
minion: memo for warweasle: if you want to save a closure, then you need to include in the closure the saving method. cf. make-load-form make-load-form-saving-slots
8:46:52
pjb
minion: memo for warweasle: if you want to save documents as code, see Patchwork or Gsharp for two different examples.
9:05:14
Cymew
pjb: But I found just running the tutorial a few times I was able to get going fairly quickly with the daily needs. Mastering emacs a while, yes.
9:31:46
smokeink
Xach: it's really strange that buildapp on linux doesn't seem to get along with qt, and on windows it works flawlessly
9:31:46
minion
smokeink, memo from Shinmera: Yeah, Qt can fail to load some images sometime. It should automatically ignore those errors though.
9:33:12
smokeink
shinmera's asdf technique works well on linux for qt apps that don't use other foreign libraries. to be tested on windows
9:34:28
pjb
PuercoPop: the definition of scheme (r5rs) is clearly batch oriented. There's very little support in the scheme standard for interactive use (image base development), contrarily to CL.
9:35:08
smokeink
Shinmera: awesome. i love how it collects all the required .so s in the output folder
9:40:16
Shinmera
smokeink: As you know from the fact that it doesn't deal well with other foreign libraries than the Qt ones there's currently very little point in trying to separate it.
9:41:13
Shinmera
Otherwise you can just use asdf:program-op instead of "qt-program-op" in your ASD if you just want to use ASDF to dump it.
10:09:50
jackdaniel
imagine (let ((x (lambda () foo))) (x)) ; does it call x as a variable or a function of name x ? if x were evaluated, then it would be a variable
10:13:17
jackdaniel
if the first element of the list would be evaluated like "everything" then if you put there a symbol it would evaluate to variable content denoted by this symbol
10:22:05
jackdaniel
http://stackoverflow.com/questions/3328512/why-multiple-namespaces , literature maybe
10:23:02
jackdaniel
it's clearly described in Lisp In Small Pieces but this book isn't available on the internet to read
10:24:45
zyg
Its me again. If you're mapping over a list and the mapping function needs access to next/prev, would you go for LOOP or DO (or something else)?
10:25:40
jackdaniel
most people will say LOOP, some will say DO, minority will advertise ITERATE and DO+
10:28:20
smokeink
again having that utf8 decode error .. can anyone reproduce it? (directory "/home/smokeink/")==>(#P"/home/smokeink/") , (directory "/home/smokeink/inexistentfile") ==> ; Evaluation aborted on #<SB-INT:C-STRING-DECODING-ERROR {1004FCDEB3}> , (directory "/home/smokeink/inexistentdir/") ==> NIL
10:36:14
loke
zyg: Or LOOP. Never dismiss LOOP. Everything is possible with LOOP. Your dreams are realised with LOOP. Only your imagination is the limit with LOOP. Welcome, to LOOP. The infinite is possible with LOOP. This is LOOP. Anything can be done with LOOP. Welcome to LOOP. The impossibility is made possible with LOOP.
10:36:56
smokeink
|3b|" hah, yes! some proggie has added to $PATH "no such file or directory" written in taiwaneze
10:53:19
pjb
Anything from (loop repeat 0) to (loop) thru (loop repeat 1 if (zerop (random 2)) then do (a) else do (b))
10:54:20
smokeink
|3b|: no, that was not it. i should have typed echo $PATH instead of just $PATH . no strange characters in the $PATH . Here is a backtrace http://pastecode.ru/cbedc/
10:55:52
smokeink
echo $PATH ==> /home/smokeink/.shelly/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
11:06:58
pjb
on posix systems, filenames don't have encoding. They are sequences of octets (excluding 0 and 47).
11:07:39
|3b|
right, which is why trying to convert them to lisp filenames tends to fail once you get beyond trivial cases :/
11:08:12
|3b|
since people store strings in them with encodings, then expect to be able to extract them as such
11:08:13
pjb
It is acceptable that an implementation is not able to access all the files of a system, given the restrictions on logical pathnames, and the possible implentation defined restrictions on physical pathnames.
11:09:12
pjb
|3b|: to return means something very specific. Signaling an error is not returning something.
11:11:12
|3b|
* wasn't confused by antagonistic or not, but whether it was intended to add something, or correct something
11:12:11
pjb
|3b|: you clearly have understanding problem and demonstrate inability to compute the difference between what I said and what you said and to find what I bring to the discussion.
11:12:16
|3b|
first you said "that's what i mean", implying you were being informal, which i'll accept... but then you said it means something specific other than what you said, implying you don't accept such informality
11:12:57
pjb
|3b|: Yes, I was informal. I informally said you were an idiot to think that signaling an error was a kind of returning something.
11:13:27
pjb
I'm a little fed up to have to expand 10 times what I'm saying. Try to get smarter and understand.
11:17:13
jeaye
Are there any typed environments for CL which offer features such as the appropriate equal predicate usage?
11:19:15
smokeink
i deleted some invalid symlinks and files with really strange filenames from my ~/ and now (directory "/home/smokeink/*") works as expected, it returns a list with pathnames
11:20:27
smokeink
and now (directory "/home/smokeink/inexistentfile") returns nil so problem seems pretty much solved
11:24:32
smokeink
so how should sbcl handle that case when there's an invalid symlink or a file with a strange name?