freenode/#lisp - IRC Chatlog
Search
5:24:14
jmercouris
the only thing I am worried about is that the diff will show changes when I type in M-q to limit the width of the paragraphs showing false changes
6:14:15
mfiano
beach: I recall you once had a great argument against using the :TYPE slot option for DEFCLASS slots. I can't seem to find that in my logs. Care to repeat your view on that matter?
6:16:05
beach
mfiano: I think it was just the ordinary argument against manifest typing, i.e., that it forces the programmer to provide information early in the life of some software, and this information is often incorrect later on, so it creates a lot of maintenance later on.
6:17:00
mfiano
That is fair. I think that much more applies to documentation, though. I have seen docstrings that don't agree with the following code much more often.
6:18:51
beach
And comments too, where the programmer thinks that more comments always provide more information. But then they have to be kept in sync with the code.
6:21:39
mfiano
I agree a little too much on the matter, that it sometimes hurts me. Until my software is release-ready, which is takes a long time if ever, I don't provide documentation anymore. I do however maintain offline Orgmode outlines for larger projects to help me organize my thoughts and prepare for the future when I will write real documentation -- and by real, I mean offline documentation with examples, diagrams,
6:29:15
beach
Does the word "boclus" suggest any associations (positive or negative)? I am thinking of using it as a name for a library.
6:33:41
rme
"bolus" is the name for the wad of chewed food that goes down the esophagus after swallowing. that's what I originally read, fwiw.
10:24:54
hajovonta
it turns out that my automation framework written in CL is so useful that I have to deploy it to other colleagues
10:26:10
mfiano
Be prepared. Perfect software with no bugs suddenly becomes fragile and time consuming to maintain once you incf its users :)
10:26:16
phoe
though judging by the fact that you've already written a useful thing, it's more #lisp than #clnoobs
10:45:46
hajovonta
the setup of the test is usually the same every time, and I quickly got tired of repeating the same task
10:47:47
hajovonta
at the heart of the thing is a basic CLI wrapper for SBCL which I put on github, https://github.com/hajovonta/cl-expect
11:17:16
hajovonta
as for usefulness, I already started using it as soon as it became usable - first half of the last year
11:19:18
hajovonta
and it just feels good that I don't have to be in the office to do work because I have a loyal servant :)
11:40:47
hajovonta
how can I declare a function definition ignorable? I have some created with flet, that I don't use in a particular macroexpansion, and SBCL style-warns about deleting unused functions
15:28:11
mitc0185
I am starting a side project using GNU Common Lisp -- part of the fun is using something that's a bit dated. Any words of caution before I go too far down this road? Should I use a different distribution?
15:31:12
pjb
then you may use sbcl or ecl (or clisp or abcl etc) depending on the deployment platform.
15:31:17
mitc0185
I'm actually on OpenBSD, and part of the reason I found GCL first was my inferior pkg_info skills
15:32:09
tazjin
I've been trying (and failing) to use ironclad to verify RSA signatures generated using the openssl command line utility, does anyone have experience with that?
15:32:47
beach
mitc0185: It is probably best to install SBCL directly from SourceForge, if that is what you decide to do.
15:33:14
pjb
mitc0185: you may have more luck with sbcl, indeed: http://www.sbcl.org/platform-table.html
15:33:21
beach
mitc0185: Then, it is recommended that you use Quicklisp to install the rest, including SLIME.
15:34:30
Shinmera
mitc0185: If you have access to a Windows, Mac, or Linux system, the easiest way would be to use http://portacle.github.io
15:35:03
jdz
tazjin: My (successful) experience with ironclad has been decrypting DSA-encrypted content.
15:35:07
Shinmera
Could also try to compile a portacle distribution on your own, but I can't say I have high hopes of that working.
15:36:22
tazjin
@jdz unfortunately DSA doesn't help me much, the end-goal is verifying a JWT RS256 (RSA + SHA256) signature. Fukamachi's jose library implements code (using ironclad) that looks like it should do the right thing, but it doesn't seem to work
15:36:56
tazjin
and I can't get any kind of RSA-verification (or message decryption!) to work with ironclad, unless the encryption/signing was also performed using ironclad (in which case it doesn't verify/decrypt in other tools)
15:43:58
tazjin
Shinmera: no salting, so I'm currently investigating padding as jdz mentioned, but I'm not sure if the padding is relevant for signing?
15:44:29
tazjin
at least the ironclad API doesn't explicitly expose padding parameters for signing functions, but there are some OAEP functions that could be called manually, I'll try that
15:45:07
jdz
tazjin: Just in case, my code is here: https://gist.github.com/jdz/fcc8c33904001468d6ce8c23e90cfb76
16:13:17
tazjin
presumably the ironclad on quicklisp is froydnj's, and not the sharplisper's version
16:14:39
shrdlu68
Ironclad's RSA is fine, it just doesn't do the encryption-block formatting in PKCS#1, which other tools may do.
16:18:14
tazjin
shrdlu68: ah, your rsassa-pkcs1.5-verify looks like exactly the thing I need, thanks again
16:36:31
Xach
Shinmera: my build host was off the network last night, and there were a number of interesting failures due to the network being down...that one surprised me a little
16:37:02
Shinmera
I could expand it into the file directly but that would mean having to update the file whenever the docs change, and having a gigantic index file.
16:37:38
Shinmera
If it's a big deal I guess I can try to figure out a way around it being needed during build?
16:42:30
Colleen
Extending harmony's segments https://shirakumo.github.io/harmony#extending_harmony's_segments
17:09:11
tazjin
shrdlu68: your code actually works for my use-case! Considering your license, I suppose you're fine with me selectively copying some of it into an open-source project with proper attribution?
17:10:42
shrdlu68
tazjin: I am! I wrote that code a while back, and I believe you're the first to find it useful.
17:11:11
mfiano
If I'm using the raw bindings %gl package, how should I pass in an argument that shouls be NULL as far as C is concerned? Do I have to make a null pointer with cffi or can I give it a 0 or something instead?