Search
Friday, 8th of January 2021, 21:08:55 UTC
21:22:29
etimmons
Josh_2: Ugh. I've dealt with that error too many times before
21:22:40
etimmons
Clack lazy loads its backends
21:23:13
etimmons
Try quickloading :clack-handler-hunchentoot before the asdf:make
21:45:15
Josh_2
I am trying to connect my remote image using slynk, I keep getting the following error https://plaster.tymoon.eu/view/2230#2230 the file it is looking for does exist
21:45:43
phoe
Josh_2: does this file actually exist?
21:46:13
Xach
well, i'm thinking of adopting access into sharplispers temporarily
21:46:27
Xach
no word from AccelerationNet about it
21:47:20
phoe
Josh_2: weird. (probe-file #p"/home/josh/quicklisp/dists/quicklisp/software/sly-20201220-git/slynk/slynk-backend.lisp")? `ls -alh /home/josh/quicklisp/dists/quicklisp/software/sly-20201220-git/slynk/slynk-backend.lisp`?
21:49:05
Josh_2
phoe the former returned the pathname
21:51:22
Josh_2
https://plaster.tymoon.eu/view/2230#2230 includes backtrace now
21:51:47
stargazesparkle
Aww, ironclad doesn't support AES in GSM mode
21:52:04
phoe
hey wait, that's a different error
21:52:13
phoe
the first one was about a .lisp file and the second is about a .fasl file
21:52:29
phoe
anyway, what if you hit restart 0 or something?
21:53:20
Josh_2
if I hit 0 I get the error I mentioned
21:53:23
Josh_2
I will append that to the paste
21:53:41
Josh_2
https://plaster.tymoon.eu/view/2230#2230
21:55:18
phoe
weird; now it's complaining about completion, previously it was complaining about backend
21:55:37
phoe
do you have unix rights to access the file?
21:56:18
Josh_2
oh wait thats on the remote server
21:56:34
phoe
do you have the file on the same machine where you are executing the Lisp process?
21:57:18
Josh_2
#P"/home/manage/.cache/common-lisp/sbcl-2.0.11-linux-x64/home/josh/quicklisp/dists/quicklisp/software/sly-20201220-git/slynk/slynk-completion.fasl" that is a big invalid pathname
21:57:38
phoe
that's what CL caches look like
21:57:49
phoe
...oh, wait, did you copy FASLs from one machine from the other?
21:58:13
phoe
why did you get a josh pathname on a manage user then
21:58:52
Josh_2
manage is the user on the remote server
22:00:44
Josh_2
that fasl doesn't exist on the remote server anyway
22:01:00
Josh_2
slynk-backend-tmpA72A9OJZ.fasl slynk-completion-tmpD2D7RXIM.fasl slynk-source-path-parser-tmp47SOVWJ1.fasl slynk-tmp24BDVRKR.fasl those exist in the directory is it searching for
23:15:09
frodef
ACTION quite enjoys emacs keyboard macros.
3:00:41
johnjay
so from what i've read, scheme R7RS is split into a small and large language right
3:00:54
johnjay
how comparable to CL will the large one be?
3:03:51
waleee-cl
the only scheme with a object system is guile afaik, and that's an extension
3:24:53
stargazesparkle
I tried scheme but found Common Lisp to be a more... Complete? Language
3:25:06
stargazesparkle
A more useable one for sure
3:25:26
stargazesparkle
I tried racket and chicken scheme for reference
3:31:27
stargazesparkle
Good evening
3:45:51
contrapunctus
waleee-cl: CHICKEN has a bunch of object systems too, for sake of information.
3:46:54
waleee-cl
contrapunctus: ah, ok. I only skimmed their page
3:50:12
waleee-cl
contrapunctus: hm, but it's not listed as a feature
3:51:03
waleee-cl
ah, there it was: https://wiki.call-cc.org/records-and-oop
3:52:33
waleee-cl
hm, but it doesn't seem to be listed as a feature
3:52:56
waleee-cl
^ blame that on irccloud
3:55:18
contrapunctus
waleee-cl: they're extensions, as you say - http://eggs.call-cc.org/5/#oop
3:56:07
contrapunctus
Hm, there were more in v4 - http://eggs.call-cc.org/4/#oop
3:57:24
waleee-cl
unrelated; chicken has an awesome logo
4:10:39
beach
Good morning everyone!
6:05:36
fiddlerwoaroof
morning beach
7:44:48
solideogloria[m]
does anyone here use rainbow-delimeters ?
7:45:01
fiddlerwoaroof
And highlight-parentheses
7:45:32
oni-on-ion
dont have that, but they are highlighted matching (paredit, slime )
7:46:03
fiddlerwoaroof
highlight-parentheses gives a special face to the parens around the current form
7:46:27
fiddlerwoaroof
It's moderately useful when you have complicated code
7:47:08
fiddlerwoaroof
For a "two newlines" string literal, would people prefer #.(format nil "~%~%") or #.(coerce '(#1=#\newline #1#) 'string)?
7:47:25
fiddlerwoaroof
Or, am I missing an obvious (one-line) way to represent this?
7:47:37
oni-on-ion
https://postimg.cc/tsXGpNzp
7:47:46
aeth
format nil might be the way to go
7:47:58
aeth
but ~%~% is fairly unusual and ~2% is technically possible, too iirc
7:48:17
fiddlerwoaroof
I forgot that
7:48:23
aeth
right, because it's rare to do this
7:48:25
oni-on-ion
doesn't parser append/concat the newlines
7:48:44
aeth
personally, if I'm in a ~%~% situation I usually just TERPRI the second ~% instead, for clarity
7:49:01
aeth
but that won't really work here because you're doing FORMAT NIL
7:49:03
fiddlerwoaroof
O, I need a _string literal_
7:49:11
fiddlerwoaroof
So, there's a #.(...)
7:52:03
oni-on-ion
um then what are quotes even for ?
8:01:50
fiddlerwoaroof
The problem with quotes is that I need to use one line of vertical space per newline in the string
8:02:07
fiddlerwoaroof
I also, personally, find multiline double-quoted strings really ugly
8:03:28
fiddlerwoaroof
The nice thing about #. is that you can have the reader run arbitrary lisp and put arbitrary objects into the read value.
8:05:14
oni-on-ion
newline is new line...
8:05:41
oni-on-ion
sounds otherwise like you know what you are doing. how come asking ?
8:06:38
fiddlerwoaroof
I was wondering if I was missing an obvious way to do this, without adding extra line breaks to my code
8:06:50
fiddlerwoaroof
#.(format nil "~2%") reads the best to me
8:36:58
fiddlerwoaroof
A little thing I've been working on, to make data manipulation a bit more ergonomic in CL
8:37:00
fiddlerwoaroof
https://fwoar.co/pastebin/d1113039db07d1bca69336083872fc44efc179e3.nil.html
8:54:12
fiddlerwoaroof
Is there something weird about the bindings of variables in (LOOP FOR VAR IN ...)?
8:54:14
fiddlerwoaroof
https://plaster.tymoon.eu/view/2232#2232
8:54:23
fiddlerwoaroof
It looks like sbcl binds the variable with dynamic scope
8:55:07
phoe
forming closures over loop variables is a common headache in lisp programmers
8:55:13
phoe
heisig can attest to it
8:55:37
fiddlerwoaroof
So, I have to like (let ((tmp var)) (lambda () ...))?
8:56:31
fiddlerwoaroof
Hmm, I guess this makes sense
8:56:45
fiddlerwoaroof
The loop SETQ one binding, rather than shadowing on each iteration
8:56:54
fiddlerwoaroof
Mental model adjusted...
8:57:36
moon-child
if all you're doing is iterating over a single list, it might be easier to mapcar
8:57:38
fiddlerwoaroof
I'm a bit surprised it took me this long to discover this
8:57:50
fiddlerwoaroof
This is a simplified sample
Saturday, 9th of January 2021, 9:08:55 UTC