[00:11:48] * ColonelJ [ColonelJ!~ColonelJ@unaffiliated/colonelj] has quit (Quit: leaving). [01:11:15] * Sgeo_ [Sgeo_!~Sgeo@ool-18b982ad.dyn.optonline.net] has quit (Read error: Connection reset by peer). [01:35:13] * Sonderblade [Sonderblade!~helloman@94.191.137.151.mobile.tre.se] has joined the channel. [01:39:41] * Sgeo [Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net] has joined the channel. [03:36:11] * Sgeo_ [Sgeo_!~Sgeo@ool-18b982ad.dyn.optonline.net] has joined the channel. [03:39:34] * Sgeo [Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net] has quit (Ping timeout: 258 seconds). [04:27:43] * Sonderblade [Sonderblade!~helloman@94.191.137.151.mobile.tre.se] has quit (Quit: Konversation terminated!). [07:56:53] * Sgeo_ [Sgeo_!~Sgeo@ool-18b982ad.dyn.optonline.net] has quit (Read error: Connection reset by peer). [08:21:11] * ephe_meral1 [ephe_meral1!~amnesia@ip5f5bf7d1.dynamic.kabel-deutschland.de] has joined the channel. [08:27:28] * ephe_meral1 [ephe_meral1!~amnesia@ip5f5bf7d1.dynamic.kabel-deutschland.de] has quit (Ping timeout: 256 seconds). [08:28:50] * ephe_meral1 [ephe_meral1!~amnesia@ip5f5bf7d1.dynamic.kabel-deutschland.de] has joined the channel. [11:54:25] * ColonelJ [ColonelJ!~ColonelJ@unaffiliated/colonelj] has joined the channel. [14:30:51] * ephe_meral1 [ephe_meral1!~amnesia@ip5f5bf7d1.dynamic.kabel-deutschland.de] has quit (Ping timeout: 258 seconds). [15:01:16] * Sgeo [Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net] has joined the channel. [15:05:14] * ronie [ronie!ae728a95@CPE84948cbd3d13-CM84948cbd3d10.cpe.net.cable.rogers.com] has joined the channel. [15:44:00] * ephe_meral1 [ephe_meral1!~amnesia@ip5f5bf7d1.dynamic.kabel-deutschland.de] has joined the channel. [18:38:34] * itmuckel [itmuckel!~itmuckel@mue-88-130-56-044.dsl.tropolys.de] has joined the channel. [18:52:43] I just found out how to go up in history (C-p) in the listener. Are the shortcuts for the listener documented somewhere? [19:31:44] <^alex> on the UI Listener page, in the handbook, under UI Developer Tools [19:34:08] Ah perfect, thanks! I didn't click on "UI Developer Tools", because I thought it was meant for people developing UIs and not people using UIs to develop. :-D [20:16:10] * ephe_meral1 [ephe_meral1!~amnesia@ip5f5bf7d1.dynamic.kabel-deutschland.de] has quit (Ping timeout: 246 seconds). [20:41:42] Is it possible to get a stack element at a specific position? Like accessing an array? [20:45:02] Like there is dup for "accessing" the first element, over for accessing the second element and pick for accessing the third element, but is there a general word for this that takes a position I'd like to duplicate? [21:11:30] You can use :> to create a variable. The `locals` vocabulary has some nice features for avoid too much stack shuffling [21:12:17] Probably that's not what you had in mind, sorry. But maybe it could be used to solve the problem :) [21:18:04] Yes, thanks anyway. I'm already using locals, but I need to change "outer" locals inside of a "do until" loop. [21:19:03] So I have current-frequency (and also other variables) in the outside and need to set them from inside of a quotation. I think the quotation creates a new lexical scope and doesn't mutate outer locals. [21:19:46] I also cannot use a fold/reduce here, because I don't know in advance for how long I will loop. :-) [21:30:26] Aaaaaaaah! I got it! I thought to write to a mutable variable I had to use `:> value!` but it's simply `value!`. [21:37:42] '=D [21:48:55] <^alex> we tend not to use variables or direct stack picks or direct loops as a matter of personal taste [21:49:41] <^alex> but we're the kind of person who seems to think in stacks [21:51:53] <^alex> closest we've come is https://twitter.com/atax1a/status/1160733832716247041 [21:52:26] <^alex> (using factor to read Twitter export files) [21:53:04] <^alex> using `6 ndip` to nudge the year into the right spot for a timestamp constructor [21:55:44] Yeah, well, I need to slowly get accustomed to the language :-) [21:56:47] I need to go now, but I'll share the code I wrote tomorrow and maybe one of you can give me tips on how to write it more idiomatic [21:56:51] *ly [21:57:42] Good news is: My code works. It took forever to compute the answer to https://adventofcode.com/2018/day/1, but at least I have something I can refactor now. ;-) [21:57:45] Bye! [21:58:26] * itmuckel [itmuckel!~itmuckel@mue-88-130-56-044.dsl.tropolys.de] has left the channel. [22:32:52] * ronie [ronie!ae728a95@CPE84948cbd3d13-CM84948cbd3d10.cpe.net.cable.rogers.com] has quit (Quit: ronie). [22:36:03] * xelxebar [xelxebar!~xelxebar@gateway/tor-sasl/xelxebar] has quit (Ping timeout: 240 seconds). [22:38:02] * xelxebar [xelxebar!~xelxebar@gateway/tor-sasl/xelxebar] has joined the channel. [22:38:30] * Rakko [Rakko!~Rakko@071-082-226-018.res.spectrum.com] has joined the channel. [23:43:57] * Rakko [Rakko!~Rakko@071-082-226-018.res.spectrum.com] has quit (Quit: Leaving).