freenode/#lisp - IRC Chatlog
Search
21:31:15
ebrasca
phoe: Do you know how to make ssl certificate for hunchentoot with letsencrypt? ( https://letsencrypt.org )
21:38:58
shrdlu68
In that case you need to shut hunchentoot down so that certbot can take the port, 80 or 443.
21:46:56
shrdlu68
They use some protocol that verified that you really own the domain name you're trying to make the certificate for, which is why certbot needs to either take up port 80 temporarily or give you some files to place in the webroot with any server.
22:08:14
jasom
can't you also give certbot a directory to put a file in, and have hunchentoot serve it up?
22:11:56
shrdlu68
As far as I know, there's only the option of certbot giving you files to place in the web root.
23:45:53
jasom
ebrasca, shrdlu68: and then setup hunchentoot to serve up files in /foo/bar/baz/.well-known/ as the path /.well-known/
0:11:21
iqubic
Like let's say I have a lambda that I want to execute. Why would I use funcall over apply, or vice versa?
0:13:04
iqubic
Why wouldn't you know the number of args? Can you use appy with a function that has an &ress parameter?
0:13:33
pjb
of course. Or you can write a macro that has to call a function, but it doesn't know the number of arguments.
0:15:18
pjb
That said, in both cases, you should check for call-arguments-limit, and use reduce in the later case (signal an error in the former).
0:15:57
iqubic
Can I use a case statement in a macro to have the expansion change based on the value of a variable?
0:16:54
Bike
macro functions are just functions. the only thing magical about them is when they run, which isn't very magical at all
0:17:44
pjb
The only difference is that macro function always take two arguments: the whole expression, and the environment.
0:18:24
Bike
Not directly. You can expand into something like (progn ...), which executes a number of forms in sequence.
0:19:05
aeth
Iirc, a top level progn is the exception to some of the top-level-only rules because that's the intended output for certain kinds of macros
0:19:20
pjb
defmacro wraps that with a destructuring-bind so that you don't have to do it yourself on the whole-sexp.
0:21:29
pjb
Clearly, your brains are not ON. Suck the "fucking" is designed so that you switch from OFF to ON.
0:22:22
aeth
It doesn't have to be designed that way. They could have supported values or something (similar to multiple return values in functions). They just don't. But progn works because the spec was designed for progn to work in that way.
4:12:59
shrdlu68
ACTION hasn't slept all night and has made the mistake of taking coffee in the morning.
4:40:06
jasom
my dad used to say that he didn't use coffee to stay awake for work because he'd have to rewrite all the code after he got some sleep
4:41:07
jasom
instead he added a line to his makefile that would echo a bunch of ^G characters to the terminal after it was done building and nap until the beeps woke him up