💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-12-15.txt captured on 2021-12-17 at 13:26:06.
-=-=-=-=-=-=-
2020-12-15T01:32:22 #kisslinux <midfavila> Anyone have luck setting up libvirt on KISS yet? 2020-12-15T04:20:04 #kisslinux <testuser[m]> test 2020-12-15T04:21:06 #kisslinux <dilyn> o/ 2020-12-15T05:29:52 #kisslinux <dilyn> the firefox bugzilla is full of crackpots and jokers 2020-12-15T05:30:17 #kisslinux <dilyn> "EGL is projected to be on-par with GLX and so we should ship it by default soon" -8 years ago 2020-12-15T05:30:28 #kisslinux <dilyn> Perhaps it is just unfettered optimism and not gross incompetence 2020-12-15T10:30:43 #kisslinux <konimex> anyone here with php installed on their kiss system? 2020-12-15T12:33:29 #kisslinux <mcpcpc[m]> still no word from dylan? I am finally starting to worry... I hope all is well. 2020-12-15T12:47:24 #kisslinux <midfavila> Hmm... yeah, you're right, it has been a while 2020-12-15T12:49:03 #kisslinux <midfavila> The last commit on his account was in November, too, it looks like 2020-12-15T12:49:08 #kisslinux <midfavila> Hopefully he didn't get sick or anything 2020-12-15T12:51:33 #kisslinux <midfavila> then again he's probably just taking a break or whatever... I imagine maintaining any distro would be hard work 2020-12-15T12:54:21 #kisslinux <mcpcpc[m]> true. totally understandable. but still, it would be good if he “checked in” once in a while. lol. especially in these crazy times. 2020-12-15T12:55:01 #kisslinux <midfavila> Yeah. 2020-12-15T13:05:35 #kisslinux <aarng> Dylan was in the process of moving to a new house/appartment, wasn't he? 2020-12-15T13:06:15 #kisslinux <midfavila> Not sure. Would explain it though 2020-12-15T13:06:36 #kisslinux <aarng> yeh, no point in speculating but I'm sure he is ok physically 2020-12-15T13:07:46 #kisslinux <soliwilos> It's been a while since the move was brought up. 2020-12-15T13:08:41 #kisslinux <soliwilos> I had thought he was on here after he had moved, but maybe I'm wrong. 2020-12-15T13:12:45 #kisslinux <dilyn> I thought so as well 2020-12-15T13:12:56 #kisslinux <dilyn> he had a small gap prior to this that iirc he was moving during 2020-12-15T14:28:25 #kisslinux <testuser[m]> Hello 2020-12-15T14:37:42 #kisslinux <testuser[m]> Has anyone tried building ff 84? 2020-12-15T14:49:36 #kisslinux <nerditup> I'm trying to think of the most KISS way to grab a substring of a string using regex and assign it to a variable (very basic stuff!). Anybody have any thoughts on this? awk vs. sed vs. grep, etc. 2020-12-15T14:49:54 #kisslinux <nerditup> this would be in a POSIX shell script 2020-12-15T14:57:48 #kisslinux <dilyn> I feel like this would be in the Sh Bible 2020-12-15T15:04:45 #kisslinux <nerditup> I took a look, and didn't see anything related to regex 2020-12-15T15:11:51 #kisslinux <nerditup> there should be an opinionated way somewhere :D 2020-12-15T15:14:08 #kisslinux <ominous_anonymou> awk isn't too bad 2020-12-15T15:15:52 #kisslinux <nerditup> it does support extended regex by default... 2020-12-15T15:16:44 #kisslinux <nerditup> trying to think of the best tool for the job, grabbing a substring - thinking through the intentions of each tool 2020-12-15T15:16:52 #kisslinux <nerditup> maybe I have too much time on my hands lol 2020-12-15T15:17:41 #kisslinux <dilyn> I feel like awk is only more useful when you're fiddling with groups of data, no? should grep not suffice in the 'simpler' case? 2020-12-15T15:17:58 #kisslinux <dilyn> that's a very unopionated (and uninformed) opinion 2020-12-15T15:18:30 #kisslinux <ominous_anonymou> it should, i can't speak to whether one is more performant than the other... i just know how to do it in awk lol 2020-12-15T15:19:47 #kisslinux <micr0> i use awk almost exclusively for '{print $1}' since its column logic is sweet 2020-12-15T15:23:07 #kisslinux <dilyn> somebody carefully and painstakingly rewrote the GL backend implmenetation code for firefox seven years ago and the only reponse to the bug report was 'why would you do this work' 'is this worth doing' 'why did you do this when we could talk about how to proceed' 2020-12-15T15:23:11 #kisslinux <dilyn> and then nobody said anything :v 2020-12-15T15:23:39 #kisslinux <dilyn> i'm one hunk error away from just curl'ing my webpages s2g 2020-12-15T15:23:48 #kisslinux <nerditup> I've heard horror stories about the mozilla devs 2020-12-15T15:24:04 #kisslinux <ominous_anonymou> the more i read firefox bug reports the more i hate the people working on it. the alsa ones are *always* a shit-show of "fuck you guys for wanting to keep alsa support, shut up and let use force-feed you pulseaudio" 2020-12-15T15:24:42 #kisslinux <dilyn> bring back firefox 6 2020-12-15T15:24:59 #kisslinux <dilyn> ctrl+z ctrl+z ctrl+z 2020-12-15T15:27:46 #kisslinux <nerditup> I wonder how unrealistic it _really_ is to develop a new browser 2020-12-15T15:28:08 #kisslinux <micr0> kiss size pulseaudio => 4MB total. that is a lot less bad than i imagined 2020-12-15T15:29:13 #kisslinux <nerditup> kiss browser written against the 1 million RFCs? lol 2020-12-15T15:29:27 #kisslinux <ominous_anonymou> https://drewdevault.com/2020/03/18/Reckless-limitless-scope.html 2020-12-15T15:29:43 #kisslinux <ominous_anonymou> "I conclude that it is impossible to build a new web browser. The complexity of the web is obscene. The creation of a new web browser would be comparable in effort to the Apollo program or the Manhattan project." lmao 2020-12-15T15:31:27 #kisslinux <nerditup> yeah... he's quite dramatic sometimes haha 2020-12-15T15:31:48 #kisslinux <nerditup> Drew's solution is to use gemini 2020-12-15T15:34:06 #kisslinux <testuser[m]> Tried updating the no-gtk2 patch for firefox 84 today 2020-12-15T15:35:04 #kisslinux <testuser[m]> Runs fine but there's this weird error(?) when quitting, in the terminal output and i have no idea where i fucked up lol 2020-12-15T15:35:08 #kisslinux <dilyn> alegedly the gtk+2 dep has been dropped in 85 2020-12-15T15:35:26 #kisslinux <testuser[m]> :o 2020-12-15T15:35:32 #kisslinux <testuser[m]> nice 2020-12-15T15:36:19 #kisslinux <dilyn> yaaaah 2020-12-15T15:36:40 #kisslinux <dilyn> considering it's only around for flash and it's been EOL'd they've been hustling on the bug report for the last half a year lmao 2020-12-15T15:36:46 #kisslinux <midfavila> gemini is based 2020-12-15T15:38:41 #kisslinux <midfavila> i'd like to get to a point where I don't need to use a browser at all 2020-12-15T15:40:13 #kisslinux <ominous_anonymou> as in what we call an internet browser today? 2020-12-15T15:40:19 #kisslinux <midfavila> Yeah. 2020-12-15T15:40:45 #kisslinux <midfavila> Right now I use Pale Meme because it at least obeys theming, but all I use it for is to use ebay and... I dunno. Read the occasional blog post 2020-12-15T15:40:57 #kisslinux <midfavila> Oh, and Invidious. 2020-12-15T15:43:20 #kisslinux <ominous_anonymou> does ebay have a terminal reader? 2020-12-15T15:44:01 #kisslinux <midfavila> I doubt it, but I've also never actually looked... 2020-12-15T15:44:03 #kisslinux <ominous_anonymou> well TUI I guess 2020-12-15T15:44:33 #kisslinux <midfavila> Yeah, doesn't look like it 2020-12-15T15:44:49 #kisslinux <midfavila> Rip. 2020-12-15T15:45:35 #kisslinux <ominous_anonymou> looks like they expose an API 2020-12-15T15:46:08 #kisslinux <midfavila> Hmm... maybe I'll try writing a client for my CS final. 2020-12-15T15:46:29 #kisslinux <ominous_anonymou> https://developer.ebay.com/docs woof that's a lot 2020-12-15T15:47:01 #kisslinux <midfavila> O-kay... maybe not 2020-12-15T15:47:04 #kisslinux <midfavila> Wew. 2020-12-15T15:48:17 #kisslinux <ominous_anonymou> https://developer.ebay.com/products/commerce 2020-12-15T15:49:06 #kisslinux <ominous_anonymou> https://developer.ebay.com/api-docs/buy/browse/overview.html 2020-12-15T15:49:21 #kisslinux <ominous_anonymou> might be able to do a subset, like "window shopping" lol 2020-12-15T15:49:38 #kisslinux <midfavila> Well, that'd get into graphical programming and stuff, but yeah. 2020-12-15T15:49:51 #kisslinux <midfavila> Maybe I'll just stick with a MUD or Gemini client for my final 2020-12-15T15:59:23 #kisslinux <acheam> A Gemini client would be fun 2020-12-15T16:00:33 #kisslinux <midfavila> I figure it'd be nice to work on, since it's a relatively simple protocol, but I'd also have the ability to work on UI a little bit and stuffs. 2020-12-15T16:08:42 #kisslinux <soliwilos> Did the removal of required X deps make it into firefox 84? 2020-12-15T16:09:24 #kisslinux <nerditup> midfavila: what would you use as the GUI library? 2020-12-15T16:09:50 #kisslinux <midfavila> I mean, since it would probably just be for personal use... I dunno. GTK2 is what I normally use on my system 2020-12-15T16:09:54 #kisslinux <midfavila> Maybe tinker with Xaw a little bit. 2020-12-15T16:10:17 #kisslinux <midfavila> I'm not really a fan of the more modern GTK revisions or Qt. 2020-12-15T16:14:12 #kisslinux <nerditup> dilyn: :fire: :D 2020-12-15T16:14:24 #kisslinux <dilyn> qt 4 days 2020-12-15T16:14:42 #kisslinux <midfavila> I find Qt difficult to theme. 2020-12-15T16:14:53 #kisslinux <midfavila> That and the license situation seems... weird, to say the least 2020-12-15T16:15:32 #kisslinux <aarng> nerditup, are you sure you need regex for the substring extraction? 2020-12-15T16:15:51 #kisslinux <aarng> normally you can get quite far with paraemter expansion alone 2020-12-15T16:15:59 #kisslinux <aarng> parameter* 2020-12-15T16:17:02 #kisslinux <dilyn> there are too many ways to theme qt 2020-12-15T16:17:11 #kisslinux <dilyn> oomox, kvantum, directly with qtdiag... 2020-12-15T16:18:08 #kisslinux <midfavila> I guess I'll give it a shot on my spare machine 2020-12-15T16:18:16 #kisslinux <nerditup> aarng: that's a good point - this specific use case is grabbing the PARTUUID from blkid output, but I guess I was more curious in general what the go to KISS way is to grab a substring 2020-12-15T16:18:46 #kisslinux <nerditup> awk seems to be popular, and I like that option 2020-12-15T16:24:04 #kisslinux <aarng> nerditup: blkid | while read -r line; do case $line in /dev/sdb1:*) id=${line#*UUID="}; id=${id%%"*}; printf '%sn' "$id" ;; esac; done 2020-12-15T16:25:02 #kisslinux <nerditup> amazing 2020-12-15T16:25:51 #kisslinux <nerditup> wow, thanks 2020-12-15T16:26:00 #kisslinux <aarng> np 2020-12-15T16:26:19 #kisslinux <aarng> AWK is amazing but often overkill when you can use sed/grep 2020-12-15T16:29:06 #kisslinux <testuser[m]> The updated no-gtk2 firefox patch if anyone is interested: http://ix.io/2Ibb (has a mysterious error when quitting) 2020-12-15T18:12:24 #kisslinux <midfavila> Yeah, screw messing with Qt5, geesh... what a pain to set up 2020-12-15T18:19:25 #kisslinux <dilyn> welcome to my hell, hope you enjoyed your stay 2020-12-15T18:19:41 #kisslinux <midfavila> gonna stick with comfy xaw and gtk2 2020-12-15T20:08:48 #kisslinux <Rio6> is there a reason why kiss doesn't cache git source? 2020-12-15T20:51:15 #kisslinux <claudia02> Rio6 when the source is set to git, kiss will pull latest master. You can alternatively specify a commit which will be cached then. 2020-12-15T20:54:51 #kisslinux <Rio6> yes I know, but if I want to rebuild it, kiss re-clones the repository instead of keeping the old one 2020-12-15T20:58:21 #kisslinux <dilyn> wonder what would happen if you specified KISS_DEBUG and KISS_PID 2020-12-15T21:03:03 #kisslinux <Rio6> heh it just works 2020-12-15T21:03:05 #kisslinux <Rio6> :P 2020-12-15T21:03:14 #kisslinux <Rio6> is it hacky tho? 2020-12-15T21:04:07 #kisslinux <dilyn> I don't think it's technically hacky, just a workaround to kiss not keeping git sources 2020-12-15T21:04:28 #kisslinux <dilyn> you could always probably just modify the cleanup step or the source fetching step to accomplish a similar thing 2020-12-15T22:04:08 #kisslinux <micr0> Rio6 also most git hosting services allow you to download a snapshot of the tree as a tarball or zip if you want to pin to a particular version, which will also cache & checksum, and reduce download size 2020-12-15T22:17:54 #kisslinux <Rio6> that's another option too. I'm thinking making kiss so it actually does git fetch and checkout in the cached git repo when updating 2020-12-15T22:19:21 #kisslinux <Rio6> btw, what is this "for pkg do" syntax I see everywhere in kiss code 2020-12-15T22:24:10 #kisslinux <nerditup> Rio6: what do you mean? 2020-12-15T22:25:16 #kisslinux <dilyn> the comments preceeding the loops explain the loops 2020-12-15T22:26:54 #kisslinux <Rio6> I'm just curious about the syntax, because I only know "for stuff in morestuff do" syntax, not "for stuff do" syntax 2020-12-15T22:29:25 #kisslinux <dilyn> oic 2020-12-15T22:30:24 #kisslinux <mcf> Rio6: reading the shell spec will answer those questions: "Omitting `in word...` shall be equivalent to `in "$@"`" 2020-12-15T22:30:38 #kisslinux <mcf> (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04_03) 2020-12-15T22:31:12 #kisslinux <Rio6> ah ok, thanks 2020-12-15T22:36:32 #kisslinux <nerditup> https://www.mozilla.org/en-US/firefox/84.0/releasenotes/ 2020-12-15T22:36:35 #kisslinux <nerditup> > Firefox now uses more modern techniques for allocating shared memory on Linux, improving performance and increasing compatibility with Docker. 2020-12-15T22:36:45 #kisslinux <nerditup> but it doesn't describe what these techniques are... 2020-12-15T22:38:36 #kisslinux <dilyn> why would they ever tell us what they're doing 2020-12-15T22:39:07 #kisslinux <dilyn> I wouldn't be surprised if somebody noticed some bogus code that stops freeing ram and filed a bug report six years ago and they finally accepted the patch... 2020-12-15T22:39:49 #kisslinux <nerditup> Hahaha that sounds about right 2020-12-15T23:25:15 #kisslinux <habacuc> ·kisslinux 2020-12-15T23:25:21 #kisslinux <habacuc> hi 2020-12-15T23:31:01 #kisslinux <Rio6> just realized how op the statically linked busybox is 2020-12-15T23:31:12 #kisslinux <Rio6> I can literally run kiss r musl and still have a workable chroot 2020-12-15T23:31:35 #kisslinux <dilyn> the benefits of static in general 2020-12-15T23:35:18 #kisslinux <claudia02> Does somebody have a shell function handy which displays the PWD and command in the window title of the terminal? Should work with busybox sh. 2020-12-15T23:48:49 #kisslinux <nerditup> https://bugzilla.mozilla.org/show_bug.cgi?id=1440203 2020-12-15T23:54:16 #kisslinux <aarng> claudia02: fairly sure you can't display the current command with ash 2020-12-15T23:54:29 #kisslinux <aarng> for window title you just need `[033]0;TITLEa]` in your prompt 2020-12-15T23:55:18 #kisslinux <aarng> you can use the backslash escapes for hostname (h), PWD (w) etc. 2020-12-15T23:56:12 #kisslinux <dilyn> nerditup: ah. I see they've decided to take advantage of the cutting-edge features of *checks notes* linux 3.17