freenode/#lisp - IRC Chatlog
Search
23:25:48
axion
In that case, it is no longer a structure-class type, and has all the properties of an array (or list) in addition to the struct accessors
23:26:59
Bike
defstruct with :type is just a way to define a bunch of accessor afunctions conveniently, and dthey're simple enough that they ought to be inlined
23:28:17
aeth
jasom: Does the work with multiple values? Because if it doesn't, that's one disadvantage.
23:29:04
jasom
e.g. lets say we can define a type (list foo) that is (cons foo (list foo)) (which you can't do now). We can eliminate that type and change all calls of (car X) to be (the foo (car X))
0:03:39
PuercoPop
jasom: I swapped [] with () a long time ago, so that won't do :'(. But it seems a sensible choice. I only used vim for ~2 years before switching to Emacs. Giving Evil a try because of lispy-mode
0:20:38
jasom
<< and >> adjust the parentheses to match the indentation, as does TAB/backtab at the start of the line in insert mode
0:34:41
PuercoPop
jasom: Thanks for the tips. I have M-x indent buffer which is kind of inefficient, so when possible I do C-M-a C-SPC <TAB>
0:59:23
Bike
i mean, so it will only fire if the value of *cqm-graphics-event* is the symbol *CQM-GRAPHICS-CREATE-WINDOW*.
2:50:51
fiddlerwoaroof
jasom: I've been using vim for a while now (10 years +/-) anyways, I recently switched to a custom emacs config based on evil-mode and it's surprisingly good
2:51:20
fiddlerwoaroof
Also, I've been playing around with using utilities to bind the shift keys to ( and )
2:51:58
fiddlerwoaroof
Basically, when you hit and release shift quickly without another key, it inserts a parenthesis but if the shift is part of a chord, no parenthesis is inserted
2:52:25
fiddlerwoaroof
The jury is still out on this setup, but it makes life a tiny bit easier... and it's more intuitive to use the left side of the keyboard for ( and the right side for )
4:45:31
axion
if ningle is too much, it is built on clack. if ningle is not enough, caveman2 is built on it (all by same author)
4:59:26
sukaeto
by default it pulls in a lot of dependencies, but they're all pretty useful (sxql, datafly, djula)
5:01:07
sukaeto
further ningle/caveman2/anything based on clack are pretty easy to manage in production
5:02:31
sukaeto
I use docker to spin up a bunch of fcgi workers and set up nginx to round robin to them
6:34:57
drmeister
Hey lispers - I set up a demo of Cando running in a jupyter notebook over the web.
6:35:15
drmeister
I wonder if a kind soul could connect into it with their browser and tell me if it works for them.
6:35:37
drmeister
It's a Common Lisp implementation with Chemistry code that builds molecules and displays them in your browser.
6:39:46
drmeister
It should open up a notebook and if you click an "In" box and then hit Shift-Enter - it will build some molecules and let you view them.
6:41:37
drmeister
I'm just looking for confirmation that it works from somewhere other than my laptop
6:45:33
drmeister
I don't want to leave this thing running - it's running in a Docker container on an AWS instance - but it can evaluate arbitrary code and it costs me a few pennies an hour to run the thing.