freenode/#lisp - IRC Chatlog
Search
10:03:09
beach
I think that's true, yes. I fact, it used to be the case by default in some version of ASDF.
10:04:26
phoe
https://common-lisp.net/project/asdf/asdf/Error-handling.html#Compilation-error-and-warning-handling
13:06:31
random-nick
huh, I thought the hyperspec didn't list any documentation option, but I looked again and it
13:20:52
phoe
jackdaniel is such a mighty lisper that he retroactively edits the common lisp standard
13:31:42
flip214
phoe: I guess you might want to have been like him one day, retroactively speaking ;)
13:40:35
flip214
jdz: looking at your (?) rfc2388 library I notice that it looks for the TNBL package (file uploads); hunchentoot still has that as a nickname, but perhaps it should be changed nowadays?
13:41:26
flip214
and another question - how do you feel about supporting file-uploads but not storing the file but just piping buffers into some function (in my usecase to hash it)?
13:41:59
jdz
flip214: I was thinking about improving the library, but have not gotten around to do it...
13:42:49
flip214
jdz: btw: hunchentoot has a hook that should get called by rfc2388 after creating a file, but it seems it doesn't get called anywhere
13:45:41
flip214
alternatively, DRAKMA allows PATHNAMEs as parameter values, and then does an upload
15:11:40
Selwyn
i would like to configure SLIME so that M-. jumps to a source code file on a remote machine using plink/ssh, as opposed to searching for the source code on the local machine
15:15:14
jackdaniel
when you investigate how it is implemented you will notice, that that are easy to write elisp lambda which do the translation
15:15:40
jackdaniel
so you'll have to hack it to use your functions which perform translation with ssh:// path (this is not supported out of the box, but api is ready for that)
15:16:45
jackdaniel
so instead of (add-to-list 'slime-filename-translations (slime-create-filename-translator …)) you need to write your own selwym-create-filename-translator which initializes structure with your own translation functions
16:36:17
luis
phoe: hey, did you want to submit https://bugs.launchpad.net/cffi/+bug/1810785 to SBCL rather than CFFI?
18:12:23
atgreen
Does the quicklisp client provide a simple way to redirect to a mirror of the ql repos?
18:23:39
aeth
Usually things go the other way around and you embed an s-expression format of the desired language (which trivially maps to generated strings) in your Lisp/Scheme file rather than directly working in the syntax of the language with some embedded Lisp or mini-scripting-language or whatever
18:28:32
dlowe
aeth: yeah, it's essentially just a couple of reader macros plus some supporting functions.
18:30:15
dlowe
I've thought about making a more complete templating solution, which would track dynamic evaluation contexts that would basically be filters on the output of embedded code.
18:39:41
pjb
There's also a iolib.termios around. eg. http://git.informatimago.com/viewgit/?a=tree&p=public/iolib.termios&h=e7e44744c51c64bdfcb69e84a2c25649c7baf1a1&hb=aeb3c5634d15d6d35155a8ea7c07203b9219ca14
19:46:20
hjudt
(ql-dist:install-dist "https://dist.tymoon.eu/shirakumo.txt") dies because of unknown scheme. So
19:54:16
d4ryus
Hi, is this: https://pastebin.com/AxrMF3mV expected behaviour? (sbcl 1.4.13) If so, why? can anyone point me to some documentation explaining what iam missing?
19:57:23
Bike
That's because sbcl's LOOP just alters a single i over the course of the loop, rather than establishing a new binding each time.
19:57:53
Bike
If you replace the lambda with (let ((x i)) (lambda () (format t "~a~%" x))) you should see what you presumably expect.
20:04:27
minion
makomo, memo from jackdaniel: please leave me your email address on query, I want to contact you (and you seem to be disconnected)
20:07:38
anamorphic
Am I basically SOL if I'm Windows and want to use a library that does "grovelling"?
20:08:09
dlowe
anamorphic: grovelling just automates a tedious process. You could write your own ffi definitions.
20:08:46
relligions
if I were to write my own cryptocurrency will lisp sbcl be faster than optimized C ?
20:11:56
jackdaniel
of course highly optimized code may get even x1000 faster than the same code which is not optimized by the compiler, but wrong structure/algorithms give you systematic performance drop (i.e polynomial)
20:15:20
jackdaniel
if you pick good algorithm / data structure and implement it in python, you are good. also nobody forbids you to use python
20:15:47
jackdaniel
that said python is offtopical on this channel, so you'd need to look for other people to help you (guide, advise etc)
20:18:04
relligions
but if I use the best algorithm for both C and lisp how slow is lisp when compared, provided both are optimized.
20:23:21
relligions
https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/sbcl-gpp.html
20:23:30
jackdaniel
if you want "unscientific" comparison see https://analogreader.wordpress.com/2015/03/24/unscientific-and-unreliable-toy-benchmark-game-common-lisp-racket-python-c-and-fibonacci-numbers/
20:28:39
makomo
i wonder why this one uses EVAL explicitly https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fannkuchredux-sbcl-4.html
20:31:45
makomo
hm, i guess to achieve partial evaluation from the compiler or something, because N will be known at the time EVAL is called