2021-07-23.log

khmI set overcommit to 2 and just don't run swap00:10
khmbut with the standby situation on reform it's probably worth getting suspend-to-disk working, which will require swap of course00:10
mntmnyes, but you can use a swap file here, does not require a partition. except if LUKS is part of the play... but then, you have an unencrypted memory dump on your disk. (is there a solution for that?)00:11
khmyes, linux supports encrypted swap, with or without luks, but it prevents suspend-to-disk.00:12
khmsorry, with or without lvm.00:13
mntmnhmm.00:13
mntmnin any case it would be nice to have.00:13
khmif you're careful with your initrd it is possible to suspend to an encrypted swap, but you have to have it decrypted early00:13
khmI've done it with a busybox initrd but apparently systemd can be made to work with it too00:14
- V (QUIT: Remote host closed the connection) (~v@anomalous.eu)00:20
+ V (~v@anomalous.eu)00:21
mntmnkhm: makes sense. so far there is no initrd in use at all (at least on my default reform system), rather i use the sd card as a init fs00:24
mntmnhaha one could suspend to a file on the sd card and carry that around and boot it on another reform theoretically00:25
mntmn(iff suspend-to-disk worked)00:25
ephaseSo, first try booting my Reform with Luks + LVM.. I cross my fingers00:27
mntmn:O00:27
ephaseArf, not working ...00:29
- mjw (QUIT: Read error: Connection reset by peer) (~mark@herd.wildebeest.org)00:34
mntmnephase: :S00:36
+ mjw (~mark@herd.wildebeest.org)00:38
- mjw (QUIT: Quit: Leaving) (~mark@herd.wildebeest.org)01:45
- ephase (QUIT: Quit: WeeChat 3.2) (~ephase@2a01:e0a:168:1211:9778:932a:cbd4:8ded)01:55
- Asmadeus (QUIT: Remote host closed the connection) (~asmadeus@240b:13:8c80:d300:e:98c:8000:d300)03:56
+ Asmadeus (~asmadeus@240b:13:8c80:d300:e:98c:8000:d300)05:52
- wiedi_ (QUIT: Ping timeout: 240 seconds) (~wiedi@2a01:138:a015:15:f4a1:10ed:36c9:fce)07:02
- artfwo (QUIT: Ping timeout: 252 seconds) (~artfwo@2a02:8109:8500:26d0:65a:f2d3:415c:afef)07:03
+ artfwo (~artfwo@2a02:8109:8500:26d0:17e:2d57:d543:594)07:15
+ wiedi (~wiedi@2a01:138:a015:15:51e:4447:e93a:5abc)07:40
- artfwo (QUIT: Ping timeout: 255 seconds) (~artfwo@2a02:8109:8500:26d0:17e:2d57:d543:594)08:09
+ artfwo (~artfwo@2a02:8109:8500:26d0:acdd:423d:3d89:ae90)08:27
- artfwo (QUIT: Ping timeout: 268 seconds) (~artfwo@2a02:8109:8500:26d0:acdd:423d:3d89:ae90)09:10
epilysmntmn, I may have asked this in the past, but how easy would it be to retrofit the reform mobo in a thinkpad? By basically copying the geometry of the existing mobo in order to have similar thermal performance + reach the external ports in the case11:31
mntmnepilys: you can probably answer this better than myself. is there enough space for the components? i don't have a thinkpad11:31
epilysmntmn, assuming there is11:32
mntmnepilys: ok so then it depends on your kicad skills :)11:33
epilysso it's doable. I think this opens so many possibilities :D11:33
mntmnepilys: sure11:33
mntmnepilys: i have a sketch for a very smol version of the motherboard11:33
mntmnto prototype the pocket reform11:34
mntmni should actually get that done11:34
epilyswill you manufacture that one or just distribute the design?11:34
epilysbtw, many people don't know this, but you can find schematics for laptops online11:36
epilyshttps://elektrotanya.com/lenovo_thinkpad_t420s_wistron_shinai-3_swg_rev_sb_sch.pdf/download.html11:36
epilysused this to replace a blown SMD fuse I could not see with a naked eye on my old thinkpad11:37
mntmnyeah we will manufacture it11:43
mntmnthe pocket version, that is11:43
+ rasmus (~rasmus@c83-253-223-217.bredband.tele2.se)12:07
- rasmus (PART: Disconnected: closed) (~rasmus@c83-253-223-217.bredband.tele2.se)12:21
+ rasmus (~rasmus@c83-253-223-217.bredband.tele2.se)12:27
+ mjw (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)12:29
- rasmus (PART: Disconnected: closed) (~rasmus@c83-253-223-217.bredband.tele2.se)12:42
+ andreas-e (~Andreas@2001:861:3108:f570:825e:13d9:ab92:bae)16:40
- mjw (QUIT: Ping timeout: 250 seconds) (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)18:49
+ technomancy (~user@170.ip-158-69-211.net)19:07
- andreas-e (QUIT: Quit: Leaving) (~Andreas@2001:861:3108:f570:825e:13d9:ab92:bae)19:11
+ mjw (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)19:13
mntmndouble feature at input magazine:20:25
mntmnhttps://www.inputmag.com/reviews/mnt-reform-review-your-diy-laptop-fantasy-is-here-at-last20:25
mntmnand: https://www.inputmag.com/tech/mnt-reform-review-building-my-own-laptop-keyboard-battery-trackball-specs20:25
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)20:35
sbpwhat's the split ortholinear keyboard in here? https://imgix.bustle.com/uploads/image/2021/7/22/6233e4a6-e99e-47c8-8a5d-a9494486678a-img_1462.JPG20:51
sbpI feel like I recognise it and yet... I don't20:51
mntmnforgot the name! this was at FOSDEM20:52
mntmnthe creator(s) of the thing came with it and we tried it out20:52
mntmni think it was completely 3d printedf20:52
sknebeldactyl-manuform?20:55
sbpsknebel: looks like it, thanks!20:59
mntmnyes, that's the one20:59
sknebelfor once people making listicles were useful :D21:02
sbphave read both features now. pretty good21:03
mntmnyeah. honest criticism but also romance21:03
sbpI like the photo of the team! I'd say it was a cracking band if I didn't know to the contrary21:04
sbpbut sad that the doggo went uncredited21:04
- dodo (QUIT: Quit: dodo) (~dodo@user/dodo)21:27
mntmnhaha true21:28
mntmntina the dog21:28
+ dodo (~dodo@user/dodo)21:29
qbit"dope Lego set" 21:35
qbitexcellent21:35
mntmnhaha21:38
+ artfwo (~artfwo@2a02:8109:8500:26d0:6cad:cbad:6741:ff20)22:07
technomancyhas anyone tried desoldering the reform kb and swapping in choc whites? kinda tempted to do this since I bought a bunch of extras22:19
technomancyI guess it's probably using lead-free solder which would make desoldering more difficult than the desolder jobs I've done in the past22:20
swiveli'd be inclined to ask mntmn if it's possible to get just the kbd circuit board, esp. if you're local-ish22:22
technomancylong-term I want to design a replacement PCB22:23
mntmntechnomancy: yes, leaded solder is illegal (at least here)22:23
technomancyso this would just be to hold me over until then22:23
technomancyhaha, of course. a machine from a more civilized realm.22:24
mntmntechnomancy: the question is could you assemble all the other smd parts22:24
mntmntechnomancy: if you had a blank pcb lets say22:24
mntmnwe could of course make a run of pcbs with the smd parts installed by pcbway but without switches22:25
technomancyyeah my original plan to build a replacement PCB didn't factor in the whole thing where it's not just a keyboard it's also an interface to the ... what's it called again; system controller or whatever?22:26
mntmntechnomancy: yeah but that's just a serial port (UART)22:26
mntmntechnomancy: any mcu can do that22:26
technomancysure; it's not just a 1:1 port of my existing design to a new physical shape though is what I meant22:27
swivelseems like a good idea to offer the populated sans keyswitches pcb, if it's not expensive22:27
technomancyI mean it needs to talk to the system controller but also be able to run the oled22:27
mntmnswivel: yeah, need to look into it22:27
mntmntechnomancy: true, the oled is I2C. so two more pins22:28
technomancyalso my current design uses a dev board instead of putting the MCU directly on the PCB because it's designed to be soldered by anyone with a middle-school skill level, haha22:28
technomancys/dev board/daughterboard/22:29
technomancyanyway I still want to do it; it's just going to be more than like ... a single-weekend hack22:32
technomancyI haven't touched kicad since 201422:32
mntmngotcha :)22:52
technomancyplus last time I used kicad it didn't support rotating components the way I needed to for the column-staggered arrangement so I had to write a lisp program that did a bunch of trig and wrote out a .kicad_pcb file but anyway... it'll be fun22:53
technomancyI need to work on my reading comprehension because I was idling in #reform for like a month and didn't notice that the topic mentioned this channel instead22:54
technomancyanother random question: exwm (my favorite WM) works on my reform, but I can't run loved2 (SDL program) in it. I would consider switching to sway but I don't know any way to get exwm's killer feature: converting key combos before sending them to the client; for instance, I can hold down ctrl-p in firefox and it will scroll up instead of opening seventeen print dialogs.22:55
technomancyhas anyone found a way to do this with sway? I'm only finding docs for remapping single key events, not combos.22:56
technomancy(firefox wrecked its ability to do this using an extension when they switched to using the incredibly weak-sauce chrome extension system)22:57
mntmninteresting23:01
mntmnif you want ctrl-p to always scroll up, this could be done in the keyboard firmware23:01
technomancyI've thought about that =)23:01
technomancythere's also https://github.com/kmonad/kmonad which might do the trick23:02
mntmntechnomancy: what's loved2, do you have a link?23:03
technomancybut they do that thing where they say "linux" and they mean "x86_64 linux" so I can't use their prebuilt downloads and I don't want to install gigabytes of haskell toolchain for this one small thing23:03
technomancymntmn: it's a game dev framework; https://love2d.org23:03
mntmnah LÖVE23:03
technomancyI use it with Fennel for most of my games23:04
mntmntechnomancy: why does it not work in exwm?23:04
mntmnwait, exwm is the emacs window manager?23:04
technomancyit's unclear; basically I launch and it says the connection to the server was killed23:04
technomancyyeah, emacs window manager23:04
technomancyit's extremely ... lunatic fringe type stuff.23:05
mntmncan't you patch exwm to modify the keystroke for you?23:05
mntmnas the wm it should be able to do that maybe?23:05
technomancyit's not super surprising to me that exwm doesn't work seamlessly because it's just so bananas and out there at its very core; the idea of writing a WM in elisp23:05
technomancyoh, no maybe I explained it confusingly =)23:05
technomancyin exwm, the keystroke modification stuff works great but love2d doesn't work23:05
technomancyin sway I can have love2d but not the keystroke modification stuff23:05
mntmntechnomancy: and also you could try running Xephyr (nested X11) in exwm and run a different wm in there23:06
mntmn:D23:06
technomancyohhh nesting, hm. that could definitely work.23:06
technomancyI'll give it a shot; thanks!23:06
mntmnsure!23:06
mntmnfor example, i often use rooted Xwayland (similar to Xephyr) to use openbox on top of sway23:07
technomancyso like exwm could wrap the X clients where I wanted the special keystroke behavior but other programs like LÖVE could run directly without it23:07
mntmnfor some weird programs that won't behave otherwise23:07
mntmnfor example java software23:07
technomancycool, cool23:07
mntmnlike visicut23:07
technomancydo you have an example handy?23:07
mntmnor Xilinx Vivado23:07
mntmni have a script called xwrap23:07
mntmnnaja Xephyr uses the same commandline like Xorg or Xwayland23:08
mntmnlike: Xephyr -retro :123:08
mntmnthis will pop up a new xserver :1 in a window23:08
mntmnand to redirect stuff there you just change the DISPLAY env variable before launching it23:08
mntmntechnomancy: with Xephyr -screen 1280x720 etc you can set the window size23:09
mntmn(man Xephyr)23:09
+ ndufresne2 (~ndufresne@halloumi.collabora.co.uk)23:16
- qbit (QUIT: Ping timeout: 252 seconds) (~qbit@foof.suah.dev)23:17
- ndufresne (QUIT: Ping timeout: 252 seconds) (~ndufresne@halloumi.collabora.co.uk)23:17
* ndufresne2 -> ndufresne23:17
+ qbit (~qbit@foof.suah.dev)23:18

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