💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-01-10.txt captured on 2024-05-12 at 16:03:34.
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
[2022-01-10T00:56:28Z] <op_4> noocsharp: word on the street is that you use vis. I want to become a recent convert, let's not dwell on my past. I tried reading the man page, but its mostly a reference document. Anything you could point me to? [2022-01-10T01:23:13Z] <noocsharp> if you're familiar with (vi)m, the best way to learn it is probably to just mess around with it [2022-01-10T01:23:26Z] <noocsharp> i mean vi(m) [2022-01-10T01:25:11Z] <noocsharp> you'll pick up on the differences pretty quickly [2022-01-10T01:26:38Z] <noocsharp> i personally don't use it's more advanced features [2022-01-10T01:26:46Z] <noocsharp> its* [2022-01-10T01:36:50Z] <op_4> thanks, it's mostly the selection wrangling stuff that's a bit mysterious, but maybe it can be learnt by trying [2022-01-10T01:38:34Z] <phinxy> I'm trying out elvis, never heard of vis but it seems similar in that its trying to be less of a monolith of features than vim [2022-01-10T01:39:10Z] <phinxy> vis source = 7M, elvis source = 4M [2022-01-10T01:39:36Z] <phinxy> plus i dont see elvis using any external dependencies [2022-01-10T01:40:35Z] <acheam> it does have deps [2022-01-10T01:40:54Z] <acheam> libtermkey is the only needed one [2022-01-10T01:41:07Z] <acheam> but you'll also want curses, lua, and maybe LPeg [2022-01-10T01:41:28Z] <acheam> oh whoops misread elvis as vis [2022-01-10T01:41:30Z] <acheam> my bad [2022-01-10T01:41:42Z] <op_4> phinxy: the thing that interests me most about vis is "structural regular expressions" [2022-01-10T01:41:58Z] <op_4> iirc elvis is vi more or less? [2022-01-10T01:41:59Z] <phinxy> multiple curses sounds awesome [2022-01-10T01:42:01Z] <acheam> elvis isnt extensible though, right? That's what sets vis apart from other vi-clones to me [2022-01-10T01:42:03Z] <phinxy> cursors* [2022-01-10T01:42:15Z] <acheam> IMO multiple cursors is only needed because there isnt a visual mode [2022-01-10T01:42:37Z] <acheam> I've always found multiple cursors to be more finnicky than a visual/visual block/visual line mode [2022-01-10T01:45:24Z] <noocsharp> vis has visual mode [2022-01-10T01:45:34Z] <noocsharp> i don't even use multiple cursors [2022-01-10T01:46:24Z] <acheam> sorry, meant to say visual block mode [2022-01-10T01:47:24Z] <noocsharp> actually the one thing i use multiple cursors for is performing the same actions on a bunch of lines [2022-01-10T01:47:29Z] <noocsharp> which is extraordinarily useful [2022-01-10T01:47:56Z] <noocsharp> you could do the same things with commands, but the interactivity is nice [2022-01-10T02:00:04Z] <phinxy> op_4: Its pretty much vim. [2022-01-10T02:48:47Z] <dilyn> http://ix.io/3LJ7 "nil pointer dereference" uhoh [2022-01-10T03:10:40Z] <testuser[m]> Hi [2022-01-10T03:12:37Z] <testuser[m]> dilyn: rewrite it in c [2022-01-10T03:12:53Z] <dilyn> lol [2022-01-10T03:13:02Z] <phoebos> ^ [2022-01-10T03:13:03Z] <dilyn> the real key is to make sure you start your index at the right place [2022-01-10T03:13:11Z] <dilyn> 0 != 1 rip [2022-01-10T03:13:55Z] <dilyn> mfw it's marked as an 'easy' exercise and I absolutely thought it was an impossible task [2022-01-10T03:14:40Z] <dilyn> I finished writing everything and then was immediately met with unfathomable range when I discovered that the tests provided to me for this exercise assumed I would name the fields of my structs in a very bad way that I don't like (: [2022-01-10T03:15:09Z] <phoebos> oof [2022-01-10T03:15:24Z] <phoebos> i think i did that one a while ago when i tried exercism [2022-01-10T03:15:50Z] <phoebos> yeah, in april: https://tmp.bvnf.space/tree_building.go [2022-01-10T03:16:16Z] <phoebos> haha it doesn't work [2022-01-10T03:16:22Z] <dilyn> lol [2022-01-10T03:16:26Z] <phoebos> stack overflow [2022-01-10T03:16:59Z] <dilyn> watch your heaps [2022-01-10T03:18:44Z] <acheam> wow theres a lot of gophers in this channel [2022-01-10T03:19:27Z] <phoebos> i haven't really touched go since learning c [2022-01-10T03:19:27Z] <noocsharp> it has to be a pointer because a struct has to have a fixed size [2022-01-10T03:19:50Z] <phoebos> tbf the executable sizes of go always made me uncomfortable [2022-01-10T03:32:34Z] <dilyn> but doesn't it already have a fixed size noocsharp? [2022-01-10T03:34:45Z] <noocsharp> i think the array can be variable size [2022-01-10T03:34:51Z] <noocsharp> get rid of the pointer and see what happens [2022-01-10T03:36:47Z] <dilyn> we'd have to change the type of the return then yes? [2022-01-10T03:37:00Z] <dilyn> which means the tests will failXD the reason is unknowable! [2022-01-10T03:38:04Z] <noocsharp> bruh just play with it locally [2022-01-10T03:38:34Z] <dilyn> never [2022-01-10T03:38:57Z] <noocsharp> how do you expect to learn then [2022-01-10T03:39:07Z] <testuser[m]> Soon [2022-01-10T03:39:09Z] <dilyn> by asking instead of doing obvi [2022-01-10T03:42:01Z] <dilyn> perhaps it's just because manipulating a pointer is more efficient... [2022-01-10T03:42:39Z] <testuser[m]> Only copying is [2022-01-10T03:42:53Z] <noocsharp> only one way to find out [2022-01-10T04:04:50Z] <dilyn> looking at examples, some people are sorting the records list and then just appending nonroot records to the child list of the node's parent. cute. wish I'd thought of just presorting... [2022-01-10T04:04:55Z] <dilyn> feels like cheating XD [2022-01-10T05:22:23Z] <testuser[m]> Rich [2022-01-10T06:28:37Z] <noocsharp> at long last, my compiler uses an ir [2022-01-10T06:39:02Z] <testuser[m]> Rich [2022-01-10T12:49:02Z] <claudia02> Ahoi! I recently started to toy with KISS again. [2022-01-10T12:49:15Z] <testuser[m]> hi [2022-01-10T12:49:30Z] <claudia02> Tried to build webkit but it failed with "Scenegraphics.h" bla not found. Sb mentioned it some time before. [2022-01-10T12:49:39Z] <claudia02> https://forums.gentoo.org/viewtopic-p-8684582.html?sid=0f062ca2ef744252fbede9c37edabc77 [2022-01-10T12:50:10Z] <claudia02> The two patches from gentoo mentioning "opengl" fixed it for me. Wanted just throw it here so it is useful. [2022-01-10T12:50:58Z] <claudia02> https://github.com/dantrell/gentoo-overlay-dantrell-gnome/blob/7d47589bbb89e2043381f359018336f5ab7e490d/net-libs/webkit-gtk/files/webkit-gtk-2.34.1-opengl-without-X-fixes.patch [2022-01-10T12:51:04Z] <claudia02> https://git.yoctoproject.org/poky/plain/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-without-opengl-or-es.patch? [2022-01-10T18:57:32Z] <dilyn> fast headers v2 patchset was just launched; clang built kernels see 88% compile-time improvements [2022-01-10T18:57:39Z] <dilyn> how do you like me now, gcc plebians [2022-01-10T19:03:48Z] <soliwilos> Do they work with 5.15 kernels or only 5.16? [2022-01-10T19:12:40Z] <noocsharp> the v2 tree is based on v5.16-rc8 [2022-01-10T19:22:19Z] <dilyn> ^ [2022-01-10T19:29:33Z] <noocsharp> linux's git repository would be extremely painful to work with if you don't know how to use git [2022-01-10T19:29:49Z] <noocsharp> imagine if someone screwed up their repo and decided to delete it and reclone it [2022-01-10T19:37:32Z] <dilyn> shallow is the only way to go lmao [2022-01-10T20:21:35Z] <noocsharp> i have the whole thing [2022-01-10T20:21:40Z] <noocsharp> my .git is 3.1G [2022-01-10T20:24:09Z] <vulpine> sparse-checkot ftw! [2022-01-10T20:24:24Z] <vulpine> s/o/ou/ [2022-01-10T20:41:22Z] <noocsharp> huh, didn't know that was a thing [2022-01-10T20:59:09Z] <Guest20> Hi all [2022-01-10T20:59:19Z] <Guest20> Go or Rust for backend? [2022-01-10T20:59:42Z] <jslick> Does sparse checkout affect the size of .git though? [2022-01-10T21:13:30Z] <noocsharp> jslick: no, just time to checkout a tree probably [2022-01-10T22:55:58Z] <op_4> firefox takes oh, ~6hrs to compile on my machine :/ [2022-01-10T22:56:31Z] <op_4> unfortunately the current official repo doesn't build correctly, is there one that does so that i don't have to experiment too much with this build? [2022-01-10T22:56:52Z] * op_4 is aware of https://github.com/kisslinux/repo/issues/371 but unsure about the resolution, if any [2022-01-10T22:57:34Z] <op_4> perhaps -lwayland-client is enough in LDFLAGS?