freenode/lisp - IRC Chatlog
Search
5:06:49
fiddlerwoaroof
holycow: Welcome to #Debian. This is a discussion channel; if you have a question about Debian GNU/Linux, ask and we will try our best to answer it. Newcomers should read the channel's guidelines by typing "/msg dpkg guidelines". Please do not paste in the channel; use #flood instead. Thank you.
5:16:21
madrik
To keep it somewhat on topic, Debian is a good system if you want to use Common Lisp.
5:16:52
madrik
There are a number of implementations available as packages; both SLIME and the HyperSpec are also packaged.
5:18:06
holycow
the author moved on but he did some really cool art with common lisp: https://inconvergent.net/2017/snek-is-not-an-acronym/
5:21:37
madrik
On amd64, I know that we can get SBCL, GCL, and ECL; by adding support for 32-bit libraries, we also can get CMUCL
5:34:10
diip
madrik: how do I use the hyperspec though? Does the implementation know to look for it on the PC?
5:42:21
fiddlerwoaroof
you can also set browse-url-function to 'eww-browse-url to open the file inside emacs
5:42:27
fiddlerwoaroof
Something like: https://fwoar.co/pastebin/3558c043eecc1d17354416d093c45aaa815b39d2.nil.html
7:32:37
verisimilitude
Common Lisp features many advanced (uncommon) mathematical facilities in the standard language.
7:33:01
no-defun-allowed
There's some BLAS FFI things, some native libraries for matrices which might be a tad slower, and some other stuff in there.
8:11:34
aeth
most optimized (as in, knows the implementation details) mathematics for CL is graphics/game/real-time-physics math afaik.
8:12:19
no-defun-allowed
https://gist.github.com/nodefunallowed/95b95469449124570f36bb05192b7ef8 is an example of a petalisp program
8:13:24
no-defun-allowed
also i suggest you get a greek input method so you can write α and β, since a and b don't look as nice
8:21:07
beach
We think this paper http://metamodular.com/make-method-lambda.pdf is pretty much ready to go. If anyone here would like to appear in the "Acknowledgments" section, this is your opportunity to proofread the paper and suggest improvements. Make sure you tell us how you would like to be referred to.
8:21:09
beach
There is no rush. There is another week until the deadline, and it is likely that there will be a deadline extension.
14:32:03
heisig
Sounds like just a few lines of code. Build an EQUAL hash table of forms, walk all files, populate the table and count their appearance.
14:35:19
heisig
It would reliably detect all duplicate code. Or do you mean similar code? Detecting that would be much harder.
14:37:13
heisig
Then you would need a code walker (e.g., agnostic-lizard) and a metric for similarity.
14:41:52
heisig
Maybe you could use a generic plagiarism checker. It might not be tailored towards CL, but could work reasonably well.
14:48:30
shka_
then go, calculate hashes of direct children operands, multiply with hash of the parent and also put it into filter
14:49:22
shka_
this way you would end up with fixed size data structure that would hold estimate of the whole structure
14:51:53
shka_
base case when you only considering two pieces of code while checking for duplication