Show Idle (>14 d.) Chans


← 2023-05-10 | 2023-05-12 →
09:23 awt !!ticker btc usd
09:23 deedbot $27,357
~ 24 minutes ~
09:48 phf jonsykkel, just fyi, i'm getting a getdata for 0 from you
09:48 jonsykkel lol
09:55 jonsykkel inded
09:55 jonsykkel fixed, i belive
09:56 jonsykkel ty
09:56 phf ayo
~ 36 minutes ~
10:32 phf 􏿽Never before had Brother Francis actually seen a pilgrim with girded loins, but that this one was the bona fide article he was convinced as soon as he had recovered from the spine-chilling effect of the pilgrim’s advent on the far horizon, as a wiggling iota of black caught in a
10:32 phf 􏿽shimmering haze of heat. Legless, but wearing a tiny head, the iota materialized out of the mirror glaze on the broken roadway and seemed more to writhe than to walk into view, causing Brother Francis to clutch the crucifix of his rosary and mutter an Ave or two. The iota suggested
10:33 phf 􏿽 a tiny apparition spawned by the heat demons who tortured the land at high noon, when any creature capable of motion on the desert (except the buzzards and a few monastic hermits such as Francis) lay motionless in its burrow
10:33 phf appologies, porting pest between lisps again
10:36 phf 􏿽my conclusion about tk/ltk is that it's just too brittle and half baked to do live development with. you end up writing new tcl code, writing lisp code for product and while trying to improve corner case behavior of ltk itself. when things crash the whole system goes down, often to
10:36 phf 􏿽 kill -9 state. so i'm going to try and implement things in lispworks, and i guess make gui modular, so that eventually it can be ported out, once the general ideas and algorithms have been settled
~ 32 minutes ~
11:08 awt phf: I have lispworks and can test if you ever need it.
11:14 awt Would also be interested in what corner cases you ran into with tcl/tk, as I'm currently using tkinter.
11:16 * asciilifeform has an ancient lispworks sumwhere
11:17 * asciilifeform still, sloowly, plugging along with wx. where, hilariously, cppism per se, rather than the gui lib, turned out to be the chief torment
11:23 phf awt, well you're hacking from python, so you do lots of restarts. i'm running it in lisp, so it's a long running instance that i don't want to lock or crash, because it brings down the context
11:24 phf and the way ltk talks to tcl/tk is basically using a kind of swank, sending strings with commands around
11:26 phf 􏿽meanwhile i'm trying to use the text widget in a way where i can update and replace large chunks based the updates of the khan sorting order. so it's a lot of like "delete a region for hash X, insert a new region after hash Y". it works on tcl/tk side great, but the interop is less
11:26 phf 􏿽 than ideal, because the ops i'm trying to do are not built in, so i'm writing lots of tcl to do non-trivial things, etc.
11:28 phf and the only reason i was using tk is because i was thinking in terms of how it can run on other people's machines, but that requirement ended up adding friction to dev process, and then i remembered that it's a hobby hacking project.
11:30 asciilifeform in re: 'simplest that runs on just this-here box' -- iirc phf even had 1 on bolix ?
~ 8 hours 1 minutes ~
19:32 awt https://imgur.com/a/G1AeCll << Alas - I've just discovered that Tkinter does not support multiline rows.
19:33 awt You have to increase the row height and then add newlines to the text. Gross.
~ 25 minutes ~
19:59 phf awt, i gave up on the idea of list based log, which complicated things significantly. can you even do styling in rows?
20:02 phf you can't style rows, can't do inline images, can't do multiline. sometimes it's supported, but you need to do liek "feature matrix". multiline rows in qt, but no images. images in tk, but no multline.
20:02 asciilifeform fwiw asciilifeform found that in wx, similarly , gotta 'hand draw' the screen on scroll to get anyffin like the ui one would want (inline images, variable-height blocks of text)
20:03 asciilifeform extremely gnarly to implement.
20:03 * asciilifeform not yet, lol, implemented, merely 'found how' in theory
20:04 phf both tk and capi "solve" this by having a rich text editor, that supports all the things, but now you have to carefully track regions, etc.
20:05 * asciilifeform tried with wx's 'rich text editor' widget; flickering slugging hell on both x11 and crapple
20:05 asciilifeform similarly with its html view widget
20:06 asciilifeform the only thing that even theoretically threatens to work is to do it 'as if it were a port of quake', i.e. explicitly draw & double-buffer, and maintain map of regions for the mouse, etc
20:07 phf lol, good luck
20:08 phf i mean, if nothing else both tk and capi's rich editors work™. my test run was to load canticle for leibowitz, and then replace all the occurences of word "god" with a random picture from a folder. also random styling. scrolls fine,etc.
20:09 asciilifeform wx's text editor 'works', but with a '4k' lcd fulla reasonably small text, slow as all fuck when scrolling/updating
20:10 asciilifeform ( on 'm2' crapple not slow! but flickers abominably )
~ 26 minutes ~
20:36 awt Well that significantly pushes back my schedule.
20:44 phf awt, also keep in mind that because of the whole multi-part messages, you don't get one to one correspondence between hypothetical message index, and it's placement in list
~ 55 minutes ~
21:39 awt phf: yes. Been thinking I'll queue them up and insert as soon as the terminal message arrives.
21:41 awt Ah but you're right, it breaks the hash per line model.
21:42 awt Usually the UI is speced out first, then the requirements for the implementation stem from the design.
~ 33 minutes ~
22:15 awt Got text wrapping working but it's quite slow.
22:16 awt And rows all have to be the same height.
~ 40 minutes ~
22:56 asciilifeform http://logs.bitdash.io/pest/2023-05-11#1025987 << asciilifeform's pov re subj is that storing msgs 'as received' for purpose of getdata is sufficiently separate domain from 'db for display' that it oughta be handled 'a la nqb' i.e. 2 entirely separate db
22:56 bitbot Logged on 2023-05-11 20:44:24 phf[jonsykkel|deedbot|awt]: awt, also keep in mind that because of the whole multi-part messages, you don't get one to one correspondence between hypothetical message index, and it's placement in list
22:56 asciilifeform ... 1 of which is simple key-value store, while the other actually keeps the text in the order in which it is expected to appear on the screen
22:57 asciilifeform i.e. you dun want to be parsing black packets errytime the window repaints
22:57 asciilifeform (or the dbized logical expansion of black packets, e.g. individual chunks of multiparts)
22:59 asciilifeform http://logs.bitdash.io/pest/2023-05-11#1025992 << found this to be the case in wx's default 'list view' thing
22:59 bitbot Logged on 2023-05-11 22:16:10 awt: And rows all have to be the same height.
23:01 * asciilifeform after found this, set about baking 'hand-drawn' scroller thing where tried to calculate footprint of text in $string, utterly broke teeth after finding that wx's built-ins that are supposed to make this possible, quite unreliable
23:02 asciilifeform got it to work for fixed-width font tho (where, unsurprisingly, trivial)
23:05 asciilifeform ... to expand re the 'a la nqb' -- chain hashes oughta get looked at strictly when 1) performing getdata 2) when a msg is 1st received and parsed. at which time they oughta turn into straight numeric indices to db rows
23:05 asciilifeform 3) when transmitting, pull the requisite chain hash back outta db via the index.
23:11 asciilifeform may seem like gnarly premature optimization, but asciilifeform strongly suspects that you ~never~ want to be reassembling chunks of multiparters during gui scroll, no iron is fast enuff to make this pleasant (esp. after the db gets fat)
23:18 asciilifeform http://logs.bitdash.io/pest/2023-05-11#1025996 << err, red, lol
23:18 bitbot Logged on 2023-05-11 22:57:06 asciilifeform[6]: i.e. you dun want to be parsing black packets errytime the window repaints
← 2023-05-10 | 2023-05-12 →