freenode/#lisp - IRC Chatlog
Search
18:37:05
marcoxa
@Xach I just tried loading the .asd file with asdf:load-asd. No luck. Call me obnoxious but I am chaclking this up to a problem with ASDF.
18:39:01
marcoxa
@Cthulhux Thanks for the hint. I just downloaded it from MELPA; I will give it a spin...
18:57:07
Xach
marcoxa: (asdf:map-systems 'asdf:clear-system) (asdf:load-asd "/path/to/bordeaux-threads.asd") (asdf:system-source-file "bordeaux-threads")
18:58:39
marcoxa
I am starting a fresh image. Note that I di do a quickload of BT in the past, so I have it in the QL installation. Stay tuned.
19:04:18
marcoxa
The second form looked into the quicklisp folders and loaded the system from there.
19:13:23
marcoxa
Ok. I figured out. The transcript is there. I am ready to chalk it up to an ASDF problem.
19:29:45
marcoxa
I believe the problem is the shenanigans that ASDF does, as it does not seem to change if I just CL:LOAD. Basically, it seems that it finds the system form and then it forgets that it found it there.
19:39:41
didi
Can I loop a list of lisps using a single LOOP --e.g. (loop for x in list for y in x do ...)-- or do I need two LOOPs --e.g. (loop for x in list do (loop for y in x do ...))?
20:24:43
marcoxa
@_death Probably asdf:load-asd is doing something funky, but then again I do not think that's the problem. I tried in fresh LW instance changing the ASDF:LOAD-ASD with CL:LOAD in the sequence of operations. Same result. The only difference appears to be *when* the FIND-SYSTEM takes place. But the result is always wrong. I'd wager the problem is in FIND-SYSTEM.
20:25:47
Xach
Does anyone happen to remember chapter and verse of where the ";;;;" ";;;" ";;" ";" comment convention is described? Is it in the CLHS? Or only CLtL2? Or somewhere else?
20:33:00
_death
marcoxa: I'd just (push #p"/path/to/bordeaux-threads/" asdf:*central-registry*) and quickload, if it's temporary
20:35:32
_death
marcoxa: well, actually I'd not do that.. I'd use the git repo of bordeaux-threads without quicklisp dist versions.. and switch branches
20:53:18
marcoxa
@_death that's what I did. I ql:uninstall BT and then loaded the plain .asd from my non-ql version. In any case, this is a problem with FIND-SYSTEM and the time it looks for systems. I may be old and quaint, but myself and madhu fixed a very similar problem with mk:defsystem a long time a go.
21:14:47
jasom
didi: Just anticipating a question, if you need to collect into a single list while looping over such a thing you want (loop for x in list nconc (loop for y in x collect ...)))
21:17:08
jasom
marcoxa: I think if you have a system in your search path and manually load a different one, it will still go for the system in your search path.
21:21:15
jasom
and as _death says, the simplest way to preempt the default search behavior is to add paths to asdf:*central-registry*
22:42:42
XenthysAq
D4yis5hJF5xGzhtxsmfSa6H6c1oNRQrvxbcoKvKZ2Cm2EeCLta8IbserUt8D7lPR74g5tQ8uT3sQw8vwBQHGxzSvGET1VwoKcsH2mKVJvbbUk2G2wXduUCql
22:46:18
manish
gFtnR4hHjfBpYxDcq5GMVaq3nsdaupo1vdrxoZXcgfmr8DAFiwIrkuFRvs9vM3uzuBOc7vZwZvCT0xjdyMVOvnW6jk4mGM5Wff9pT58eXthiiH5CStWcI2GB
22:46:25
manish
e3iSIVifBCJZY6tolz3loRPe2RB1I85Twtdl4NhD618nlCUzDDeRYQC8ieVx68RrMUvcBAXLGuHGeHmzrFT9KbrmcHXuLTfrRYlfGIZ7WEbDeW6j87FgmPj1
22:46:29
manish
hU4OdFANEZhUK2nlXn8I9lnfWXxtiFiudeNW1IUFPbHxuQMQYWDf1YAqa3FV6UT06dB7gbCgqHSaZKcHM7AW8n8vEBDK5Qjif9N4XWyATqogK0RbkL5DtpJ0
23:16:13
aeth
The internet is probably like 99.999% spam. That you can mostly avoid spam is a miracle, but sometimes spam slips through the cracks of a system.
23:18:25
z3t0
This is probably a very basic question... How do I copy file1.txt to file2.txt in commonlisp? I have been using uiop:copy-file but that fails because the target file doesnt exist. I thought about reading the file then writing it as strings but then I also have non string files
23:22:22
z3t0
ah it worked! I was missing a "/" in the target path and didnt realise it was writing the file, just in the upper folder
2:12:45
Josh_2
I lead you all on, sorry, I am stuck but I'm totally burned out so I think Im going to go to sleep instead