freenode/#lisp - IRC Chatlog
Search
14:06:19
harovali
beach: sure, I'd like to use the best option in the context I am. But I ran (inspect ...) because it was a step in this clim tutorial https://kantz.com/clim-primer/application-frames.htm
14:09:27
beach
What I usually do when I write a CLIM application, I include a command that starts Clouseau on the frame or on a pane.
14:14:08
p_l
Odin-: there's a significant benefit if one wants to implement GC themselves in that multivalue is getting actually implemented
14:43:55
pjb
minion: memo for emaczen: lisp itself is just an assembler. Just avoid the most sophisticated macros (or consider lisp as a macro assembler and use them!). See for example: https://groups.google.com/forum/#!msg/comp.lang.lisp/T3UZwLoN0lw/4r9q_8cwKoQJ THIS IS YOUR STABLE ASSEMBLER!
16:33:26
pnp
is there any way to interrupt a running process in the slime-repl? I have that process that is not terminating and i would like to kill it (stop the running operation) it from Emacs...
17:55:13
pfdietz
It works well enough. If I really need to interrupt it I go to the Ubuntu window and kill -SIGSEGV its pid.
18:48:39
sjl
TIL that while (round) is required to round half to even, format's ~,VF directive is allowed to use half-to-whatever-it-wants.
19:03:40
galdor
"When rounding up and rounding down would produce printed values equidistant from the scaled value of arg, then the implementation is free to use either one."
21:48:27
pjb
sjl: https://termbin.com/z3fb some use banker's rounding, some don't. See which one you want to avoid rounding hacking…
22:28:54
jackdaniel
is there a good reason /not/ to use stream-file-position from gray streams for gray streams which are not files?
22:29:13
jackdaniel
unfortunately there is no stream-position in gray protocol afaik (however clisp defines it in gray package)
22:31:58
no-defun-allowed
The first thing that comes into mind is a stream that puts out random values.
22:34:14
no-defun-allowed
It's silly, but one could implement a stream where stream-read-byte returns (random 256), and a position might not be meaningful there; but you could just count the bytes read and use that as a "position"
22:35:22
jackdaniel
my use is a little more specific. in clim there are standard-extended-input-stream's -- stream-read-gesture moves the position forward, so a next character from the input buffer will be read
22:36:30
jackdaniel
I can create my own function, that is not a problem, I was just wondering if using stream-file-position has some hidden gotchas I'm not aware of
22:42:15
Shinmera
jackdaniel: I suppose the expectation might be there that you can change the position to seek, too
22:46:03
jackdaniel
no-defun-allowed: Shinmera: thank you for your remarks, both points are interesting.