freenode/#lisp - IRC Chatlog
Search
16:27:55
Josh_2
When I load my package with ql:quickload I get a file-error saying that it can't find my packages files in #P"/tmp/src/.." why is asdf looking in tmp and not the folder where the system is defined?
16:53:50
Josh_2
(ql:register-local-projects) is how I get quicklisp to search for new asd files right?
17:00:45
Josh_2
quicklisp is not finding my new system, I have added a symbolic link to my local-projects, my system name shares the same name as the .asd files but when I register-local-projects It's not found
17:03:17
jackdaniel
ql's register-local-projects indeed looks only in quicklisp's local projects directory
17:06:29
jackdaniel
Josh_2: is your asd file directly in the linked directory? also what implementation do you use?
17:07:13
jackdaniel
also it is not clear whether symbolic links will get followed, this is undefined behavior territory common-lisp wise
17:07:50
jackdaniel
I'll tell you even more: if you register local projects with sbcl and start ccl anew then you will probably be able to load your system
17:08:53
Josh_2
That's a bit of a pita just to register a project, I think I'll just do my work in ~/quicklisp/local-projects/ instead
17:10:17
_death
Josh_2: that's what I do.. I also have another local-projects directory for third-party systems..
17:11:00
Josh_2
on my main machine I just have a symbolic link to my ~/documents/ and quicklisp finds all my asd files ¯\_(ツ)_/¯
19:06:30
Josh_2
I need to specify the location of my .so file and I want to make it relative to my system instead of specifying an exact path
19:33:12
mister_m
I am trying ot use uiop:split-string to split a couple lines I am reading from a file by newline to create a list I can process. I am invoking (uiop:split-string lines :separator '(#\Newline)), but i get a single element list with the same string as the lines value I am passing to split-string. Am I missing something here? Does #\Newline not mean what I think it does?
19:38:28
mister_m
that's clever I'll remember that - looks like there is indeed a #\Newline in there
19:41:42
mister_m
_death: well, technically I am using a regex to extract a block of a file and working with those lines directly
20:07:39
Josh_2
can an integer be coerced into an array of It's bits? I want to access each bit in an integer individually
20:19:04
jcowan
I need help translating a non-CL LOOP construct into idiomatic CL LOOP. Of course I could use lower-level code instead, but I think it would be better to use LOOP here. Anybody feel like looking at this?
20:25:09
lukego
Hey is it possible to do SBCL20 as a "one dayer"? Like, arrive early morning, leave late night, do some meaningful talking with people in between? If so which date would work?
22:12:35
anlsh
Can anyone help me debug geiser-mode a bit :| None of my evaluation/send to repl functions seem to work
22:15:09
anlsh
Yup, so after running geiser-set-scheme I can run geiser-mode-switch-to-repl from the buffer and one will pop up
22:15:43
jackdaniel
anlsh: this channel is dedicated to common lisp (please see topic) so no many people will be able to help you here
22:17:21
LdBeth
anlsh: geiser has weird setting that requires your file extension matches the scheme implementation you use
22:23:49
anlsh
Hmm well I'm using chicken scheme and my source file is a .scm, which seems to be in line with the variable's value
22:25:50
LdBeth
anlsh: yes that’s why they’s a time problem because mit guile gambit also uses that extension, so please refer to 4.1 of geiser user manual
22:29:22
jackdaniel
LdBeth: while anlsh is excused as a newcomer for not knowing the channel topic you are not, please stick to it
22:34:21
anlsh
LdBeth: Drop me a heads-up in here if/once you send your first pm, I'm running erc right now and don't think it's functioning entirely correctly
23:41:06
jcowan
the loop syntax is LOOP WITH var = value AND var = value etc. (assignments not bindings) FOR (headvar . tailvar) IN list DO expr)
23:43:20
easye
lukego: sbcl20 is certainly doable for whatever time you have available. We start on Sunday night.
23:57:33
jcowan
the code is very interesting, but there was an explicit warning "adapt the loop to your Lisp: Maclisp, Interlisp, etc."
23:58:06
jcowan
I mean what the code does is interesting: a two-page Prolog interpreter using downward success continuations (recursions) instead of the usual upward failure (streams)
0:00:36
no-defun-allowed
(And I recall in a SICP video, Sussman stated he thought implementing logic programming with streams was simpler than with continuations.)
0:02:01
no-defun-allowed
Josh_2: Anything that's a specifier for a name (which I must check the correct term for), i.e. any string or symbol.
0:10:40
jcowan
But on the good side, the Nilsson article is there at https://github.com/rm-hull/ambages/blob/master/doc/twspi.pdf
0:11:19
jcowan
on the bad side, there are typos in the code; it obviously was retyped by someone who couldn't count parens
0:16:32
easye
ACTION is kinda reminded about the similarity to the shape of "correct" sexpr to that of a pattern in Go that will "live".
0:16:35
Josh_2
I defined a package, exported some symbols and then used that package in another but I have to refer to the functions within that package with a double colon.. <package>::<function> I was hoping the symbols would simply be imported and I could refer to them simply as (<function>) what have I oofed?
0:35:45
pjb
LdBeth: once I found a bug for a single wrong pixel on the screen (true stories, it was in 1986, the screens had only (* 512 348) #| --> 178176 |# pixels! ;-)).
0:37:30
jcowan
LdBeth: I messed with this program a few decades ago and a friend and I carefully counted the parens and figured out which ones to insert/delete. Unfortunately I lost the hard copy on which I did that.
0:38:11
jcowan
Lispers *with emacs* are magical beings etc. etc. Lispers without emacs, like me, have to recite "end of this, end of that" as we go. Not too hard really
0:40:07
LdBeth
jcowan: yeah that’s what I thought, figuring out parentheses printed on paper is not easy to me
0:42:19
Josh_2
clothespin: I am in the second package in the repl and I have to refer to my previous packages functions with <package>::<func> even though I have them in the :export clause of (defpackage )
0:43:52
clothespin
some lisps get buggy when redefining packages, try (symbol-package 'my-symbol) for debugging
0:49:47
clothespin
if you intern the symbol in the second package before putting it in your :use it could act like that
0:52:43
pjb
clothespin: you may want to use (com.informatimago.tools.symbols:check-duplicate-symbols)
0:54:46
clothespin
i usually restart sbcl as well but for the record i rarely had to do that with allegeocl