freenode/#lisp - IRC Chatlog
Search
23:58:10
asarch
Currently, I am using "COMMON LISP: A Gentle Introduction to Symbolic Computation" from David S. Touretzky to learn Lisp
3:53:03
Fare
or did you then have an asdf more recent than those earlier versions of uiop, say asdf 3.2.1?
3:56:28
Zhivago
You could have an account which ran the interpreter as its shell. This would allow access via telnet or ssp. It would be simple, but perhaps unwise.
3:57:28
turkja
or maybe play with things like socat? but i don't know how well these things work readline etc.
3:58:20
beach
vutral: Why does it have to be an interpreter. Are you particularly attached to bad performance? Also, insisting that it is an interpreter will limit the number of Common Lisp implementations available to you.
4:00:54
vutral
i guess i should write some kind of tcp server in lisp which evaluates input and returns the result
4:02:45
Fare
vutral: you can make SLIME servers available on a port available through ssh redirection
4:03:28
Fare
I knew someone who did that in a distributed system --- plenty of slaves listening to orders via SWANK
4:05:12
jmercouris
Anything connected to the internet is inherently exposing all of its resources, but I agree, take precautions
4:23:09
nixfreak
Hello I am looking for away to create "hot folders" like a workflow, where I can drop files in a folder and it goes through a workflow
4:41:16
beach
nixfreak: If you are going to make something like that compatible with the underlying operating system, i.e., use OS directories for the folders and OS files for the files, then I suspect you won't get much help from Common Lisp compared to other languages.
4:42:25
loke
nixfreak: There are libraries that hook into the file notification infrastructure of your operating system
4:43:05
loke
Since this meahcnism is different in all different operating systems, I don't knwo which one is the best one.
4:54:12
turkja
hey still about SLIME... i wonder if there are good libraries for python or other language to connect to slime server?
4:56:00
turkja
well i don't know about SLIME protocol, maybe it's simple enough to connect with raw tcp and start throwing expressions?
5:02:13
Zhivago
Having unrestricted communication is probably not a good idea for purposes of security.
5:03:18
Zhivago
They also require the caller to be able to print things as expected for that lisp implementation.
5:03:41
turkja
i don't know, i didn't see what exactly vutral is trying to do... but to his initial question, i think "socat" can do the job in a dirty way
5:07:39
Fare
oh, I misread Xach's blog as meaning there was brokenness and e.g. an infinite loop. But reproducing the bug, I see that's it's the known behavior of asdf < 3.3.0 and has nothing to do with uiop.
5:16:21
mfiano
Hello all. I found a nasty bug in the fast-io library. I wrote a little test case to reproduce it, but I'm having a hard time figuring out why it occurs.
5:18:17
mfiano
This is supposed to behave similarly to cl:read-sequence, except when I read a single byte from a stream, it reports that it read the entire stream's contents. this does not occur when reading from a vector. https://github.com/rpav/fast-io/blob/master/src/io.lisp#L142-L163
5:25:31
Zhivago
But there's no documentation, so it's not clear what it ought to be doing in the first place.
5:26:08
mfiano
indeed. there lies my problem. sad part is this is being used by quite a few projects so i'm surprised it hasn't been detected
5:29:17
mfiano
I'm using a third party library that uses fast-io, and it doesn't depend on a C library
5:30:50
mfiano
Also the author moved away from lisp, so I'd have to become familiar enough with it to fork and maintain it
5:41:07
mfiano
I maintain enough libraries, and if I were to maintain this, I'd rewrite it from scratch. The code is a bit...obtuse
5:52:31
beach
thebardian: Are you just planning to learn Common Lisp for kicks, or do you have any particular projects in mind?
6:11:49
Fare
mfiano: this is how maintainers are made: someone who cares enough to complain about some software... https://fare.livejournal.com/149264.html
8:25:27
scymtym
Fare: re UIOP 3.3.0 problem: would upgrading SBCL's bundled ASDF (and UIOP) to 3.3.0 also cause this problem?
11:02:34
Xach
scymtym: I think the problem occurs for current sbcl and new uiop. the explanation on asdf-devel does not match my experience, though.
11:05:43
Xach
(the explanation is that this happens because there is no uiop.asd, but there is, and that it has happened since 3.2.0, but i don't see that behavior in 3.2.1 when i test)
11:39:54
scymtym
Xach: thank you. so upgrading would likely not only not cause the problem but instead prevent it in some instances (for SBCL users) since the combination of old ASDF and new UIOP would become impossible?