freenode/#clim - IRC Chatlog
Search
5:23:01
jackdaniel
this one is nice: "Compatibility means deliberately repeating other people's mistakes." -- David J. Wheeler
5:24:30
jackdaniel
I have a code name for the next release (which I hope to make after rewriting to x render) -- "Dziady"
5:25:35
jackdaniel
it is Slavic pagan tradition (sometimes translated as Forefather's Eve) - something like haloween
6:43:33
loke
jackdaniel & beach: I have now two separate, but equivalent, ways to implement fetching data from the clipboard. I'd like to hear an opinion as to which one to prefer:
6:43:53
loke
1) The fetch-from-clipboard function accepts a callback function that will be called when the data is ready
6:44:19
loke
2) some time after fetch-from-clipboard is called, an event is sent that contains the content
6:46:42
jackdaniel
because if it is not McCLIM's event/command thread you'll get races if you work on sheets
6:47:36
loke
jackdaniel: from the "main" thread. McCLIM isn't really thread-safe, so it's not really valid to call most functions from other threads.
6:48:45
loke
The event version also has one particular “benefit” (I put it in quotes because I don't know if it really is a benefit):
6:49:12
loke
If the remote never replies, the event will never be sent. That is a simpler mental model than a closure that is never invoked.