libera/#commonlisp - IRC Chatlog
Search
10:50:57
susam
Inspired by the rainbow-delimiters customization discussion yesterday and phoe's colour scheme for it, I managed to finally customize my rainbow-delimiters today: https://i.imgur.com/9aDbSkL.png . These are darker shades of the colours phoe shared yesterday. Now I have to wait and watch to see if I really like it or if I find the extra colours distracting.
10:51:57
phoe
my colors were used with a more grayish background from the zenburn theme; they're gonna look different on a black background
10:53:11
susam
Yes, that is what I realized. I have a darker background, so had to make the colours a bit darker to suit my contrast preference.
11:10:33
edgar-rft
susam: if you want a really beautiful emacs I recommend this -> https://www.emacswiki.org/emacs/PinkBliss :-)
11:13:02
susam
Eh! Too colorful! :) I use wombat + some customizations of mine. I like the muted colours of wombat.
14:07:18
Josh_2
Anyone here used the function bknr.datastore:snapshot? Mine keeps failing trying to rename the a file
14:15:49
pjb
phoe: standard-class is a meta-class. standard-object could be the superclass: (defclass foo () ()) (typep (make-instance 'foo) 'standard-object) #| --> t |#
14:16:28
phoe
pjb: yes, that is what was meant - a class object instantiated via DEFCLASS has a direct superclass that is, by default, STANDARD-CLASS
14:16:29
pjb
(c2mop:class-direct-superclasses (find-class 'foo)) #| --> (#<standard-class standard-object>) |#
14:17:27
pjb
(c2mop:class-direct-superclasses (class-of (find-class 'foo))) #| --> (#<standard-class ccl::std-class>) |#
15:27:14
_death
mcclim was useful in making debugging easy today https://adeht.org/dump/vid-2021-06-24T1821.mp4
15:29:17
jackdaniel
if you have problems with clipping-to-ellipse being very slow, fret not - it will be faster soon enough
15:30:28
_death
well, they're ok if you tweak some settings and the graph isn't too complex.. most serious was, I think, the incremental redisplay doesn't not working well if stuff is in formatting-x.. or I don't understand it well enough
15:31:31
jackdaniel
incremental redisplay needs some work (the same could be said about table formatting)
15:42:46
beach
_death: Nice! Yes, that's the strength of CLIM. Not much code is needed to get something useful.
15:51:43
Josh_2
Whats the method that I can specialize in order to do something when missing a specific method for specific args?
15:52:31
Colleen
Clhs: standard generic function no-applicable-method http://www.lispworks.com/documentation/HyperSpec/Body/f_no_app.htm
16:14:40
beach
Guest63: The terminology varies, but they certainly are if they are defined in a non-null environment.
16:15:01
tfb
Guest63: they're closures if they are define in a non-empty environment. Which they almost never are
16:15:07
Guest63
shka: thanks, yes that's what I thought. I guess they "predated" the idea of closures, but they basically are - since they have lexical scope on the bindings
16:16:01
jackdaniel
a pattern sometimes found in the wild: (flet ((some-local-utility (…) …)) (defun a () … (some-local-utility …)) (defun b () … (some-local-utility) …)))
16:16:19
tfb
Guest63: If you define a closure as a function which uses a free lexical binding, then no, but really the distinction is artificial
16:16:33
beach
Guest63: The terminology varies. You can say that it's a closure with an empty static environment. But more often you would then say that it's not a closure.
16:19:04
Guest63
shka: yep, agree. I was just writing some notes and wanted to put "recursion" under closures but it also applies to functions, that got me thinking
16:19:59
shka
i guess, this is this time when theoretical categorization has limited practical application
16:20:50
tfb
I think really that the whole 'closure' thing is a hangover from the days when you had to explicitly say 'I want to make a closure' rather than what you can do now which is just assume scope & extent work right
16:22:11
Guest63
beach: agreed, now that I think of it, they are related but don't really have anything to do with each other
16:22:49
Guest63
tfb: there is definitely a lot of terminology that is a hangover from older days, it does add a bit of complexity to learning the language
16:23:14
Guest63
but I guess once you do, you get better at computer science - since the terms are quite exact
16:26:34
iisi
ACTION defenestrates the word "orthogonal", for being used variously to mean: related, not related, intersecting, not intersecting, overlapping, not overlapping, intersecting at a 90 degree angle
16:26:42
shka
jackdaniel: when invoking recursive function, function lookup may be performed in the lexical environment, this allows for instance to write weird code like (defun ha ()) (flet ((ha () (ha))) (flet ((ha () (ha))) (ha))
16:28:16
shka
jackdaniel: i think that there is nothing to understand, i was trying to be contrarian when i really shouldn't be :P
17:50:21
shka
even if you don't end up defining your own, ability to select what should happen from the debugger is at times such a time saver!
19:49:28
Josh_2
being able to reconnect to a server without losing any state at the time of disconnection is epic
21:44:16
kevingal
Never mind, it's an extension to the slime package, so you just add (push 'slime-asdf slime-contribs) to your Emacs config.