freenode/#lisp - IRC Chatlog
Search
3:00:19
beach
minion: memo for makomo: Yes, you are right, with SLIME-INDENTATION at least, the arguments of the first and third MAPCAR are indented differently.
3:17:20
pjb
beach: Hi! This article explains why being efficient is not rewarded: https://www.ribbonfarm.com/2009/10/07/the-gervais-principle-or-the-office-according-to-the-office/
8:27:01
nyingen_
I'm using a couchdb interface lib called clouchdb, which lets me define view functions using parenscript. These are compiled to javascript and sent to the couchdb server encoded in JSON
8:27:45
nyingen_
If I write for example "\s+" in a regex, parenscript escapes it to "\\s+", and then the JSON encoder escapes that to "\\\\s+"
8:28:14
nyingen_
I'm not sure what to do about it. Maybe hack the JSON encoder (which is internal to clouchdb) to add a flag turning off backslash escaping?
8:28:36
nyingen_
Using cl-interpol does not help because the problem is the extra escaping done by the JSON encoder
8:35:45
nyingen_
Parenscript seems to support injecting raw JS strings into its output, so that could possibly work
10:47:35
minion
heisig, memo from no-defun-allowed: I'm not sure if I'll be awake when you come online but happy third birthday to Petalisp!
10:52:46
shka_
heisig: yeah, it is great, i am glad that you showed it to me, just not what i need right now
10:53:00
jackdaniel
at least nothing ready to be commited, I have plenty of junk which hardly compiles itself
11:44:21
heisig
gjvc: Assuming you use ASDF and Quicklisp, you probably want to put your project in ~/quicklisp/local-projects .
11:47:21
gjvc
i am working on ~/work/GATE/genesis/src/lisp/gate/genesis/bootstrap/foo/bar.lisp and i have an sbcl wrapper in ~/work/GATE/genesis/bin/ which loads a userinit.lisp file containing quicklisp settings
11:48:24
gjvc
the only problem i've really got stumped on is when *load-truename* returns /tmp/something in slime and path merges then don't work
11:51:02
gjvc
also, i find I have to compile/evaluate the ql:quickload lines in my source before slime wil compile the whoel file
12:01:23
heisig
gjvc: I am not sure what you are up to. Usually, you just need a short .asd file in your project and then a single call to ql:quickload.
12:02:29
gjvc
ok, i have one of those. oh---wait you mean i write the .asd file and use ql:quickload to load the project via *that* ?
12:04:40
heisig
The easy way is to make symlinks from your project directories to ~/quicklisp/local-projects.
12:05:58
heisig
The other way would be to tweak some Quicklisp or ASDF variables, but I forgot which ones.
12:09:23
heisig
gjvc: Here is how the local-projects mechanism works: http://blog.quicklisp.org/2018/01/the-quicklisp-local-projects-mechanism.html
12:13:25
pjb
gjvc: (push #P"/path/to/your/sources/" #| <- mind the final / for your directory! |# asdf:*central-registry*) (ql:quikload :your-system)
12:15:07
gjvc
lrwxrwxrwx. 1 gjvc gjvc 49 May 20 13:14 genesis -> home/gjvc/work/GATE/genesis/src/lisp/gate/genesis