freenode/lisp - IRC Chatlog
Search
7:30:15
Shinmera
It is a bit funny to me that two reviewers note that the paper is too short, despite the fact that demo papers are supposed to be no more than two pages, which I've already exceeded.
7:49:35
Shinmera
Apparently there were 21 submissions and only 14 of them are getting accepted to make the conference less crowded.
7:53:40
Shinmera
If the amount of submissions keeps up it might start to make sense to extend the symposium by another day.
8:07:42
dim
it looks like a timeout, but I'm travelling on using not-that-reliable networks, so I don't think it's on the ELS website end
8:14:05
Shinmera
My opinion on web frameworks is that they shouldn't try to do too much and should give me full control over how things work. Weblocks stands in opposition to that.
8:17:09
samla
For sure, if I understand it correctly (automatically updating widgets in a tree through AJAX) then it might be a nice way of making something like a SPA+Ceramic desktop program
8:18:36
jackdaniel
not sure if it is the best approach for web stuff, but still a very nice thing to play with
8:19:12
samla
jackdaniel: is what I wrote above in parens about automatically updating widgets true or have I misunderstood everything :-)?
8:21:00
jackdaniel
for instance I've created a widget which changed application language. clicking it did update whole website to a localized version
8:21:56
jackdaniel
(keep in mind that it wasn't redirection to some other location, it worked like a toggle button)
8:23:06
jackdaniel
but: 1) above certain level of complexity it was hard for me to change it (lack of experience with weblocks?); 2) I've hit bugs quite frequently and project seemed to be abandoned
8:26:19
samla
Hehe :-) the server/client communication is through JavaScript magic (not websockets actually!)
9:04:35
schweers
is there a way to use slime on a remote host, so that disconnecting (or network failure) will not terminate the current execution?
9:04:51
schweers
I don’t mean to not terminate the lisp session, I know that there is :dont-close for that
9:05:25
schweers
but I have a long running command which I’d like to watch in slime, and I’d like to be able to do this even in the presence of network failures
9:10:31
smokeink
what could be tricky about having it in a separate thread? slime also works in a thread of its own (I am not saying there isn't anything tricky, just asking, cuz I also want to know)
9:12:38
jackdaniel
then when you get disconnected and when you connect again you get the same session
9:17:11
schweers
jackdaniel: should this also keep running if I issue `slime-disconnect' from emacs?
9:21:47
schweers
smokeink: I don’t see a way to attach a repl to a separate thread. Not sure how to properly phrase this.
9:22:12
schweers
I don’t get what is printed to standard-output, for instance, although that should be easy to fix
9:24:45
smokeink
in the worst case to get a repl after the debugger has popped out, you can evaluate (loop (print (eval (read)))) or something like that , in the frame
9:27:32
smokeink
"Print a message onto the top-level using a thread" https://z0ltan.wordpress.com/2016/09/02/basic-concurrency-and-parallelism-in-common-lisp-part-3-concurrency-using-bordeaux-and-sbcl-threads/
9:31:31
smokeink
you can also just run the plain simple repl over the ssh+screen/tmux session, without slime or emacs
9:34:27
schweers
I was thinking of this last option, but I don’t like it very much. I’ve become quite accustomed to having slime available. So I guess it will be running a local emacs instance
9:38:23
smokeink
another option: you can run a gui Emacs on the remote computer and do X forwarding through ssh so that the emacs window is rendered on your local desktop (not sure how it will behave when the connection gets interrupted)
9:41:38
smokeink
https://www.xpra.org/ "it allows you to run programs, usually on a remote host, direct their display to your local machine, and then to disconnect from these programs and reconnect from the same or another machine, without losing any state. "
9:46:45
schweers
I’m still waiting for the remote host to finish something else, then I’ll try one of these solutions. Thanks for the input!
9:47:34
smokeink
https://serverfault.com/questions/19634/how-to-reconnect-to-a-disconnected-ssh-session "I can't believe no one has mentioned MOSH;Mosh is a seperate protocol that can hook into the SSH login process, it keeps your session alive after days of disconnection, changing IP, high latency and so on."
9:57:11
schweers
I’m not entirely sure, but the FAQ has a section which suggests this, as the security of mosh is compared to ssh and ssl. It uses ssh in the beginning though.
9:58:29
loke
schweers: You'd assume the SSH connection is used to exchange the session keys, making the opportity to screw stuff up smaller.
9:58:53
loke
At least they don't have to deal with key exchange, diffie-hellman, assymetric keys etc.
10:08:02
TeMPOraL
a quick question - did anyone here had a problem with log4slime (log4cl), in which the menu worked, but REPL buffer didn't colorize/propertize log output?
10:18:12
TeMPOraL
ok, found it; prettify-symbols-mode breaks half of SLIME coloring, and it also breaks log4slime
12:32:18
flip214
does somebody know of a CL library that help with text analysis? ie. building word vectors in N dimensions etc.?
12:45:13
Lycurgus
that looks nice, would like to some more integrations though, e.g. wordnet, maybe that comes next or is in there but not upfront
12:50:08
ecraven
who is the artist that sings https://www.gnu.org/fun/jokes/eternal-flame.en.html in the ogg all the way down that page?
12:52:59
schweers
I first heard the song ages ago, long before I knew any lisp. the more I learnt, the more I understood what the song was about.
12:53:25
schweers
As far is I know, the original song was written and performed by her, as well as the performance of the parody done by her.
12:53:46
schweers
But as I’m not at all familiar with any of her work, besides this one, I don’t know for sure
13:18:31
dlowe
anyway, if we're going to talk about the lisp family instead of common lisp, let's bring it to ##lisp
14:09:42
smokeink
can (describe #'func) be made to return the lambda list of #'func instead of just printing it to the standard output? or is there any alternative function for doing that?
14:13:41
smokeink
I'm playing with a code that converts postfix math to lisp (prefix) math http://pastecode.ru/40a1c8b/
14:14:38
smokeink
it only works with operations that accept 2 params. (rpn 4 sqrt) fails for example
14:16:09
smokeink
I'm curious what ways are there to make it work with sqrt (only 1 param) and other functions that need more than 2 params
14:20:21
Bike
the lisp operators aren't so well behaved for this. for example, floor/ceiling take one OR two arguments.
14:24:27
smokeink
the ones that take &rest ... however many should only take two (this works fine for + * - / < > at least )
14:27:11
heisig
smokeink: I recently wrote some utilities to determine the lambda list and arity of arbitrary functions, maybe they are useful for you: https://github.com/marcoheisig/Petalisp/blob/master/utilities/function-lambda-lists.lisp
14:34:09
Colleen
About trivial-arguments https://shinmera.github.io/trivial-arguments#about_trivial-arguments
14:37:35
heisig
Shinmera: Oh, great! I should use that instead. However, it computes only the lambda list, not the arity.
14:41:46
heisig
Shinmera: Amazing! Next time I want to code something, I will just grep all your repositories first.