💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-05-22.txt captured on 2024-06-16 at 13:35:57.

View Raw

More Information

⬅️ Previous capture (2022-06-04)

-=-=-=-=-=-=-

[2022-05-22T04:57:44Z] <testuser[m]> Hi
[2022-05-22T05:01:43Z] <noocsharp> hi
[2022-05-22T05:02:06Z] <ioraff> howdy
[2022-05-22T05:06:49Z] <noocsharp> ioraff: when using waypaste with firefox, does using `-t TEXT` also paste properly?
[2022-05-22T05:07:24Z] <noocsharp> i'd try it myself but i don't have firefox handy
[2022-05-22T05:10:09Z] <ioraff> it does not. to be clear, the issue was with waycopy, and then pasting into firefox with its own clipboard.
[2022-05-22T05:10:28Z] <ioraff> using 0.1
[2022-05-22T05:11:08Z] <noocsharp> oops, yeah that's what i meant
[2022-05-22T05:16:25Z] <noocsharp> i'm trying to figure out who's fault it is that paste doesn't work with text/plain
[2022-05-22T05:16:55Z] <noocsharp> the 3 possibilities are wlroots, gtk and firefox, and i think wlroots does the right thing
[2022-05-22T05:17:53Z] <ioraff> fwiw, wl-copy worked with the default mime type
[2022-05-22T05:18:39Z] <noocsharp> well wl-copy does text/plain, UTF8_STRING, STRING, and TEXT by default at the same time
[2022-05-22T05:19:42Z] <ioraff> ah
[2022-05-22T05:19:42Z] <noocsharp> even though the ones in all caps shouldn't be necessary if the client is actually compliant with wlr-data-control, which says that the type should be a mimetype
[2022-05-22T05:27:08Z] <testuser[m]> noocsharp: it's GTK
[2022-05-22T05:30:45Z] <noocsharp> is it like a widely known thing that gtk handles this wrong?
[2022-05-22T05:32:16Z] <noocsharp> ah wait, ioraff, try setting type to "text/plain;charset=utf-8"
[2022-05-22T05:33:27Z] <noocsharp> if it works, maybe i should make that the default in wayclip
[2022-05-22T05:34:33Z] <testuser[m]> noocsharp: i was just doing grep -r on firefox and gtk, firefox had nothing and the clipboard logic is inside gtk
[2022-05-22T05:35:19Z] <noocsharp> i think the relevant code is in gdk/x11/gdkselectionoutputstream-x11.c
[2022-05-22T05:35:34Z] <noocsharp> which i must have missed the last time i looked at this
[2022-05-22T05:36:18Z] <ioraff> yeah, that works. but it doesn't work with waypaste into foot. I believe the relevant code is in gtk/gtkclipboard.c
[2022-05-22T05:42:42Z] <ioraff> probably better to just patch gtk
[2022-05-22T05:45:31Z] <noocsharp> you mean copying from firefox and using waypaste doesn't work?
[2022-05-22T05:48:14Z] <ioraff> no, I meant copying into waycopy with the new mime, but disregard that, I messed something up
[2022-05-22T06:32:59Z] <noocsharp> ok, so i think the correct thing for wayclip to do is add charset=utf-8 because the rfc says just "text/plain" should be interpreted as ascii
[2022-05-22T06:41:02Z] <noocsharp> i cut a new release, we'll see if anyone complains
[2022-05-22T12:43:19Z] <testuser[m]> bruh all these months the only thing preventing nvidia drivers from flickering on gbm wlroots was the usage of GSP firmware NVreg_EnableGpuFirmware=1
[2022-05-22T12:43:24Z] <testuser[m]> i realised it when testing the open kernel module
[2022-05-22T13:21:59Z] <testuser[m]> https://github.com/kiss-community/community/issues/197#issuecomment-1133894771
[2022-05-22T14:13:15Z] <noocsharp> is that the only issue with wlroots and nvidia drivers?
[2022-05-22T14:17:31Z] <testuser[m]> noocsharp: ye everything else seems to work fine
[2022-05-22T14:18:00Z] <testuser[m]> Apart from a firefox bug but I'm pretty sure that's a general firefox on wayland thing
[2022-05-22T14:18:05Z] <testuser[m]> Chromium finally works fine too without flickering on hw accel
[2022-05-22T14:25:27Z] <testuser[m]> The firefox thing is sometimes it freezes completely on a wait4() syscall when extensions open/close, it's super random
[2022-05-22T14:25:56Z] <testuser[m]> Or maybe it isn't wait4, since there's tons of thread involved
[2022-05-22T16:08:55Z] <noocsharp> testuser[m]: https://github.com/kiss-community/bin/issues/2
[2022-05-22T16:28:09Z] <testuser[m]> Oh I'm not watching any repos so i missed it
[2022-05-22T16:28:45Z] <testuser[m]> ig the contributor could create a fork of the repo and upload releases there and make pr with link
[2022-05-22T16:59:44Z] <phoebos> or they could just send someone a tarball
[2022-05-22T17:00:53Z] <testuser[m]> Bruh
[2022-05-22T17:01:01Z] <testuser[m]> doesn't scale
[2022-05-22T17:13:13Z] <testuser[m]> Wayland (and its compositors) is nowhere near close to what Android, Windows, MacOS and iOS offer bug again, not Wayland's problems. Oh, wait, no screen tearing (or maybe not)! and it's secure (or maybe not)! And it certainly supports HDR! Oh, wait. A victory! Let's have this conversation again a decade later.
[2022-05-22T17:15:42Z] <tleydxdy[m]> I've grown more sympathetic to wayland stuff, but not wayland "advocates"
[2022-05-22T17:16:08Z] <tleydxdy[m]> it's simply not ready
[2022-05-22T17:18:19Z] <noocsharp> ready for whom?
[2022-05-22T17:18:54Z] <noocsharp> it's ready for people who only use terminals and web browsers
[2022-05-22T17:22:04Z] <tleydxdy[m]> well, I can't type my language under it
[2022-05-22T17:22:24Z] <tleydxdy[m]> everything is z
[2022-05-22T17:22:34Z] <tleydxdy[m]> so rug pull at any moment
[2022-05-22T17:24:13Z] <noocsharp> what language?
[2022-05-22T17:24:21Z] <tleydxdy[m]> chinese
[2022-05-22T17:24:30Z] <tleydxdy[m]> japanese
[2022-05-22T17:24:38Z] <tleydxdy[m]> doesn't really matter
[2022-05-22T17:26:58Z] <tleydxdy[m]> also since everything is experimental packaging/building using popular distros is a nightmare, not really the fault of anyone but that's the reality
[2022-05-22T17:35:42Z] <noocsharp> true, best to avoid advocating for wayland to people who can't build things from source
[2022-05-22T17:37:40Z] <noocsharp> or people who have better things to do with their time
[2022-05-22T18:10:08Z] <testuser[m]> Our startup (YC '22) is releasing a paid subscription app that allows you to view cryptocurrency prices in your menu bar (Mac OS only)
[2022-05-22T18:17:26Z] <testuser[m]> Rust Supply-Chain Attack Infects Cloud CI Pipelines with Go Malware