2024-04-21.log

digitalrayneinteresting, do you have librsvg josch?00:00
digitalraynemight be that it needs to be added as a dependency 00:00
joschinteresting... i thought rust programs are statically compiled and include all the libraries they need00:04
digitalrayneyou can do that, but the gdk pixbuf loader stuff is more of a gtk/gdk thing rather than a rust thing00:06
digitalrayneiirc there's some specific limitations around the gtk crate00:07
digitalraynethis is a good overview: https://doc.rust-lang.org/reference/linkage.html - i suspect because the svg support is normally dynamically loaded, it might be missing a compatible lib at either build or runtime00:09
- erle (QUIT: Quit: Democracy must always be better armed than tyranny.) (~erle@user/erle)00:09
- mjw (QUIT: Ping timeout: 260 seconds) (~mjw@gnu.wildebeest.org)00:26
+ jacobk (~quassel@47-186-70-49.dlls.tx.frontiernet.net)00:31
- jacobk (QUIT: Ping timeout: 245 seconds) (~quassel@47-186-70-49.dlls.tx.frontiernet.net)01:11
joschminute: i can now run the reform-setup-wizard in headless sway https://mister-muffin.de/p/AYrS.png but automating interaction with this seems to be problematic because of wayland. According to https://gitlab.com/dogtail/dogtail/-/issues/3 it is a security feature of wayland that other apps cannot get to the widget coordinates where a click should happen.01:47
joschminute: could you enable the mnt.re CI for my fork at https://source.mnt.re/josch/mnt-reform-setup-wizard/ so that i can experiment with automated testing of the setup-wizard?01:49
- cobra (QUIT: Ping timeout: 255 seconds) (~cobra@user/Cobra)02:06
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)02:50
+ cobra (~cobra@user/Cobra)03:56
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)05:08
+ cobra (~cobra@user/Cobra)05:13
- q66 (PART: WeeChat 4.0.2) (~q66@q66.moe)05:17
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)06:08
+ cobra (~cobra@user/Cobra)06:13
+ cow321_ (~deflated8@user/meow/deflated8837)06:28
- cow321 (QUIT: Ping timeout: 240 seconds) (~deflated8@user/meow/deflated8837)06:28
* cow321_ -> cow32106:29
+ gustav28 (~gustav@c-5a37524e.019-141-67626730.bbcust.telenor.se)10:02
+ f_ (~AUGESOUND@fases/developer/funderscore)10:56
joschdigitalrayne: your analysis was spot-on. The reform-setup-wizard cannot work without the package librsvg2-common and it does not (yet) declare a dependency on it. I have to fix that.11:57
joschThe package description for librsvg2-common indeed says "This package includes the gdk-pixbuf loader allowing to load SVG images transparently inside GTK+ applications." and without it, the list returned by python3 -c 'import gi.repository.GdkPixbuf as pixbuf; print(list(f.get_name() for f in pixbuf.Pixbuf.get_formats()))' does not include svg11:57
+ mjw (~mjw@gnu.wildebeest.org)11:58
- S0rin (QUIT: Ping timeout: 272 seconds) (~S0rin@user/s0rin)12:36
rahhow does one determine which version of the Reform 2 keyboard one has?12:37
+ S0rin (~S0rin@user/s0rin)12:40
joschrah: does this overview help? https://source.mnt.re/reform/reform-handbook/-/issues/412:47
rahjosch: no12:48
rahthe "badge" is covered by an M.2 card12:49
rahwait, that's the badge on the motherboard12:50
rahdude12:50
rahI don't understand why you're giving people a table mapping "badge"s to information, without telling people how to view the badge in the first place12:51
rahthat table is useless without knowing how to view the "badge"12:51
rahhow does one determine which version of the Reform 2 keyboard one has?12:52
rahrah@lotus:~/proj/machines/acanthus/reform/reform2-lpc-fw$ make12:53
rahCOMPILING board_reform2.o12:53
rahsrc/boards/reform2/board_reform2.c:47:4: error: #error You must have REFORM_MOTHERBOARD_REV set to the firmware you intend to build 47 | #  error You must have REFORM_MOTHERBOARD_REV set to the firmware you intend to build12:53
rah*facepalm*12:53
rahjosch: where's the mapping from badges to REFORM_MOTHERBOARD_REV values?12:59
chthe comments in board_reform2.c line 40ff seem relevant13:06
rah40ff?13:08
rahif only that file name and line number was documented somewhere13:08
rahalas13:08
chit was one grep away13:09
rahif only that file name and line number was documented somewhere13:09
rahalas13:09
rahone wouldn't have to grep anything13:09
chcare to submit updates to the docs?13:10
rahno13:10
chthen i fear you're stuck with grep13:10
rahI'm not stuck with it, I've already built and flashed the firmware13:11
rahit's everyone who follows who's stuck with grep13:11
rahjust like everyone who follows is stuck not knowing how to determine which version of the keyboard they have13:13
- dustfinger (QUIT: Quit: back soon...) (~user@d75-159-229-146.abhsia.telus.net)13:14
+ RDLDR (~RDLDR@81.221.160.38)13:14
- RDLDR (QUIT: Quit: Client closed) (~RDLDR@81.221.160.38)13:30
rahoh ffs13:35
rahI just put my keyboard bezel back on, having read in the handbook that one can flash the firmware without disassembling the laptop, only to find that the flash.sh tells me I have to flip a DIP switch, meaning I'm going to have to.. disassemble the laptop13:36
rahagain13:36
rah"You can update the firmware of the keyboard on MNT Reform itself, but make sure to read this section in full to avoid ending up in a situation where you have to disassemble the laptop."13:48
rahnot necessarily true13:48
rahwasted my time13:48
joschrah: i've written the content behind the link i sent you in my free time. If you don't like it, that's fine, but getting dissed like you did is not nice.14:44
rahlife's hard, eh?14:50
rahhttps://www.youtube.com/watch?v=sn3Doun6UlM15:01
sevanrah: it's a one time thing. Don't be harsh. Before you would have to disassemble things every time you wanted to update.15:19
rahyes officer15:45
+ jacobk (~quassel@47-186-70-49.dlls.tx.frontiernet.net)18:10
- f_ (QUIT: Quit: To contact me, send a memo using MemoServ, PM f_[xmpp], or send an email. See https://vitali64.duckdns.org/.) (~AUGESOUND@fases/developer/funderscore)21:05
swivelrah: if you'd like to sell your reform and happen to be in the US, msg me21:46
minuteugh what's going on here21:56
vkoskivBad vibes.21:57
minuterah: i already warned you once about this kind of tone21:58
* ChanServ changed mode (+o, minute)21:59
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)21:59
- minute was kicked by rah (rah)22:02
+ RDLDR (~RDLDR@81.221.160.38)22:05
* ChanServ changed mode (+o, josch)22:10
* ChanServ changed mode (+o, vkoskiv)22:10
- gustav28 (QUIT: Quit: Quit) (~gustav@c-5a37524e.019-141-67626730.bbcust.telenor.se)22:15
- RDLDR (QUIT: Quit: Client closed) (~RDLDR@81.221.160.38)22:29
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-70-49.dlls.tx.frontiernet.net)23:31
joschI uploaded "autotiling" from https://github.com/nwg-piotr/autotiling to Debian and it miraculously got accepted within a day -- so now you can try out sway automatically switching between horizontal and vertical split by adding this to your ~/.config/sway/config:23:33
joschexec_always autotiling23:34
joschi've now been using this for over a year successfully and am not looking back :)23:34

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!