Search
Monday, 17th of July 2017, 20:44:26 UTC
20:44:28
otwieracz
But the thread is still alive. :/
20:47:09
regl
and I am getting this error:
20:47:11
regl
Component :ACCLIMATION not found, required by #<SYSTEM "cleavir-code-utilities">
20:47:56
Bike
it's a separate repo, also on beach's github
20:48:41
regl
it's available trought quicklisp
20:50:55
Baggers
otwieracz: does bt:interrupt-thread work? also is it your thread and do you have an idea of why it might be blocking? Where a blocking call is needed it could be worth looking for a similar function with a timeout
21:07:36
regl
did anybody manage to compile SICL?
21:11:07
regl
hi how to redirect sbcl output when compiling to a file?
21:12:19
knusbaum
re-bind *standard-output* and/or *error-output*
21:15:22
Bike
regl: usually i work with subsystems... i think there are directions in the readme now, though
21:16:38
regl
yes I followed the directions
21:16:51
regl
but I got one failure in one of the files
21:17:23
regl
debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<THREAD "main thread" RUNNING {10031A63F3}>: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "cleavir-environment" "compile-time">
21:17:30
regl
this is anything but trivial
21:18:21
Bike
it's certainly not trivial
21:18:33
Bike
that one'os probably my fault. if you talk to me in like an hour i can help you out
21:18:55
regl
my fault that I took the latest repo
21:19:02
regl
in one hour I will go to sleep
21:35:13
phoe
How do I tell ASDF to re-register local projects?
21:35:21
phoe
(I keep forgetting this. I use Quicklisp too much.)
21:36:48
shka_
phoe: uhm, why not use quicklisp… again?
21:37:13
shka_
put stuff into local-project and call ql function
21:37:20
phoe
shka_: I want a pure-ASDF solution that does not depend on QL
21:37:26
phoe
and there is one, I just forgot it
21:37:48
shka_
i think that i did this onec
21:38:36
phoe
ACTION notes: ASDF puts people to sleep
21:45:38
pjb
It calls (ql:register-local-projects)
2:14:16
adulteratedjedi_
** NICK adulteratedjedi
2:14:31
LyndsySimon_
** NICK LyndsySimon
5:26:49
beach
Good morning everyone!
6:10:25
axion
Does anyone happen to use company-mode in common lisp code buffers? I am trying to switch from auto-complete, but it seems to only be working in the repl mode. I would be interested in checking out someone's emacs config if it's no trouble.
7:31:57
phoe
axion: it works for me, but I use spacemacs - it's bundled in.
8:08:01
anticrisis
** NICK anticrisis_
8:20:35
phoe
What is the Lisp idiomatic way of counting digits of an integer?
8:21:01
phoe
I'd use a truncated decimal logarithm for that.
8:21:16
beach
I suppose you don't count initial zeros?
8:21:37
phoe
I'd always have infinite digits if I counted them. :)
8:21:50
phoe
I want (digits 1234567890) ;=> 10 in this case.
8:22:22
phoe
Also (digits -12345) ;=> 5 and (digits 0) ;=> 1, but these are easy once I have the tool for positive integers.
8:22:30
beach
Yes, the logarithm base 10 will probably. You might run into problems with precision if the numbers are large.
8:23:00
phoe
Either this, or I print an integer to string and use LENGTH.
8:23:32
beach
Does it have to be fast?
8:24:00
phoe
But then, my numbers won't have more than 100 digits I think, soo.
8:24:18
beach
Sure, then the length of the printed representation is probably best.
8:24:28
phoe
loke: yes, that's what I was thinking.
8:24:38
phoe
beach: with so little digits, LOG won't lose precision either.
8:30:52
otwieracz
Is this possible to match UNIX thread PID with SBCL thread?
8:31:04
anticrisis_
** NICK anticrisis
8:43:52
loke
The native function create_thread returns the thread id, but that return value is thrown away.
Tuesday, 18th of July 2017, 8:44:26 UTC