libera/#commonlisp - IRC Chatlog
Search
6:24:39
jcowan
Is it generally speaking better to create new restarts or to use the existing standard restarts?
9:37:43
Shinmera
I like using the standard ones for the most par, but they can be annoying if you have nesting that establishes multiple of the same
9:38:36
Shinmera
so if you want to ensure that a restart can be activated programmatically, you probably want a unique name
11:01:41
green_
It's trying to do some kind of pattern matching, expecting a closing ], but why would it bother doing that? I want a filename with a single [.
11:06:14
danza
not sure about the context, but looks like the string was longer as it "foo[.txt,.csv]" and it got truncated? Although that is not a correct regular expression as far as i know
11:15:02
green_
No it was really "foo[.txt", with one [. Where does it say that namestrings can have regular expressions?
11:19:18
mfiano
pathnames, in general, are very implementation flexible and painful to rely on without a portability library.
11:20:35
Colleen
green_: Function pathname-utils:parse-native-namestring https://shinmera.github.io/pathname-utils#FUNCTION%20PATHNAME-UTILS%3APARSE-NATIVE-NAMESTRING
11:25:28
green_
Thanks. I'll look at that. (uiop:pathname-directory-pathname "/tmp/foo[.txt") produces the same error, as it depends on sbcl underlying implementation.
13:11:44
doulos05
I'm really struggling to figure out transformations in cl-cairo2. I can't figure out how to scale just the image that I want to scale (not the whole drawing).