💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-12-11.txt captured on 2024-05-12 at 16:06:59.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-12-11T02:24:15 #kisslinux <Rio6> I'm getting "'u_int' does not name a type" when building gcin... Anyone know what defines that? I'm guessing some gtk or qt header 2020-12-11T02:27:25 #kisslinux <Rio6> ok, apparently it's sys/types.h. Why does the source not have it then >:( 2020-12-11T03:12:00 #kisslinux <nerditup> aarng: oh right, the underscores are arbitrary 2020-12-11T03:12:17 #kisslinux <nerditup> Otherwise it's just business as usual for the read command 2020-12-11T03:12:28 #kisslinux <nerditup> Wow, been a long day 2020-12-11T07:31:57 #kisslinux <midfavila> Hey, question for you guys... 2020-12-11T07:32:09 #kisslinux <midfavila> is anyone having trouble building webkit2gtk? 2020-12-11T07:32:49 #kisslinux <midfavila> My build keeps failing with the error "open CFI at the end of file; missing .cfi_endproc directive" 2020-12-11T07:33:09 #kisslinux <midfavila> fwiw I'm using sbase and ubase 2020-12-11T07:37:53 #kisslinux <midfavila> nasm 2020-12-11T07:37:59 #kisslinux <midfavila> Fuck- 2020-12-11T09:08:22 #kisslinux <midfavila> Oh, wait... never mind. I was running into OOMs. 2020-12-11T09:08:25 #kisslinux <midfavila> My bad everyone. 2020-12-11T11:54:46 #kisslinux <claudia02> hola 2020-12-11T11:55:30 #kisslinux <claudia02> Does sb have a recommendation for a "reader view" application for command line browsers? 2020-12-11T11:56:05 #kisslinux <claudia02> I have found '' 2020-12-11T11:56:43 #kisslinux <claudia02> I have found 'readble' which is a nodejs application, which works quite good, but I would like to avoid the nodejs dep. 2020-12-11T11:58:43 #kisslinux <soliwilos> claudia02: I have never tried it, but there's "browsh" if you have firefox, which it depends on as far as I know. 2020-12-11T11:58:55 #kisslinux <midfavila> yeah, browsh depends on firefox 2020-12-11T11:59:11 #kisslinux <midfavila> it just uses FF to render stuff and then it does some black magic to convert the output to ascii 2020-12-11T11:59:53 #kisslinux <midfavila> I think it also depends on the headless implementation of X and some other stuff... it was a mess when I tried it 2020-12-11T12:07:07 #kisslinux <soliwilos> Seems like there's another firefox dependent reader, but written in C https://github.com/eafer/rdrview 2020-12-11T12:11:02 #kisslinux <soliwilos> Actually, maybe it doesn't depend on firefox. 2020-12-11T12:12:45 #kisslinux <soliwilos> "The code is closely adapted from the Firefox version and the output is expected to be mostly equivalent." 2020-12-11T12:14:23 #kisslinux <soliwilos> "dependencies: libxml2, libseccomp and libcurl" 2020-12-11T12:16:04 #kisslinux <soliwilos> Though a text-based browser is used with it as well, so maybe it's what you were looking for claudia02? 2020-12-11T12:49:49 #kisslinux <claudia02> soliwilos: I have now tried 'rdrview'. Thats the kind I am looking for. Altough I have to disable the sandbox feature to get it working. 2020-12-11T12:51:02 #kisslinux <soliwilos> Nice. :) 2020-12-11T12:52:09 #kisslinux <soliwilos> I might give it a try too eventually. 2020-12-11T12:53:49 #kisslinux <claudia02> I am setting up a sfeed_curses environment with news and fun and though it would be nice to read stuff easily in the cli. 2020-12-11T12:57:41 #kisslinux <claudia02> My build for libseccomp is just: 'configure --prefix/usr make install'. Unlike the arch pkgbuild I have not done the python stuff. Maybe thats the issue with the sandboxing. 2020-12-11T14:11:36 #kisslinux <ominous_anonymou> i'm having an issue with alsa all of a sudden 2020-12-11T14:12:25 #kisslinux <ominous_anonymou> an 'alsactl nrestore' gives: alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 2020-12-11T14:13:02 #kisslinux <ominous_anonymou> was also complaining about /usr/share/alsa/ucm2/ucm.conf missing, although that didn't seem to be the actual problem 2020-12-11T14:21:54 #kisslinux <ominous_anonymou> rebooting the vm multiple times caused it to start working... great. 2020-12-11T14:23:51 #kisslinux <ominous_anonymou> except now the output is stuttering and not smooth 2020-12-11T14:24:29 #kisslinux <ominous_anonymou> i wonder if this could be why https://git.alsa-project.org/?p=alsa-utils.git;a=commitdiff;h=c1b92db5ef01311e5fc983f3134caa00826d0c2d;hp=986a1bd3d2eebd41a2925969826fca870b2cd330 2020-12-11T14:27:13 #kisslinux <ominous_anonymou> never mind that can't be it, release is 1.2.4 https://git.alsa-project.org/?p=alsa-utils.git;a=log;h=refs/tags/v1.2.4 2020-12-11T14:45:40 #kisslinux <ominous_anonymou> reverting to 1.2.3 seems to help if anyone else is getting similar issues 2020-12-11T15:12:40 #kisslinux <onodera> im working on something very big, porting rocm opencl runtime to kiss 2020-12-11T15:13:00 #kisslinux <onodera> no musl distro has it yet, and only arch and gentoo have build files 2020-12-11T15:13:29 #kisslinux <onodera> with this it is possible to have gpu acceleration in blender using only open source programs 2020-12-11T16:28:57 #kisslinux <micr0> aarng whats weird is I tried printing `$_` and it didnt show anything 2020-12-11T16:29:24 #kisslinux <micr0> though I thought $_ is reserved for 'args from the last successful command' so maybe read actually drops stuff labelled as _ or not 2020-12-11T16:31:36 #kisslinux <aarng> I think $_ is only special in interactive shells 2020-12-11T16:31:50 #kisslinux <aarng> did u test in an actual script? 2020-12-11T16:35:00 #kisslinux <micr0> not in a script, just at the commandline 2020-12-11T16:37:39 #kisslinux <micr0> echo one two three four | while read -r _ hey _; do printf "hey is %sn_ is %sn" "$hey" "$_"; done 2020-12-11T16:37:57 #kisslinux <micr0> so in bash and zsh I get '_ is _' which is strange 2020-12-11T16:38:35 #kisslinux <micr0> i would expect it to be '_ is three four' or maybe even '_ is one' 2020-12-11T16:39:09 #kisslinux <micr0> in ash '_ is three four' 2020-12-11T16:39:58 #kisslinux <micr0> ash, mksh, and osh all do '_ is three four' 2020-12-11T16:40:03 #kisslinux <micr0> bash and zsh do '_ is _' 2020-12-11T16:45:39 #kisslinux <aarng> try bash/zsh non-interactively and it's probably the same as the other shells 2020-12-11T16:46:16 #kisslinux <micr0> i tried them non-interactively and its not hte same 2020-12-11T16:47:35 #kisslinux <aarng> can confirm 2020-12-11T16:48:13 #kisslinux <micr0> I made a function that runs stuff in different shells and prints the results 2020-12-11T16:48:14 #kisslinux <micr0> shells() { for shell in ash mksh osh bash zsh; do echo "# $shell"; $shell $1; done } 2020-12-11T16:50:48 #kisslinux <aarng> "_ is _" is not strange 2020-12-11T16:51:16 #kisslinux <aarng> by the time you printf "$_", the last command was `read -r _ hey _` 2020-12-11T16:51:21 #kisslinux <micr0> yeah, that makes sense 2020-12-11T16:51:25 #kisslinux <aarng> so the last argument is _ 2020-12-11T16:51:27 #kisslinux <micr0> I guess its just weird that its a special case 2020-12-11T16:51:41 #kisslinux <micr0> well, useful, not weird 2020-12-11T16:51:50 #kisslinux <aarng> yeah, now I wonder if bash behaves differently in posix mode 2020-12-11T16:52:03 #kisslinux <aarng> (in scripts) 2020-12-11T16:52:21 #kisslinux <micr0> aarng bash --posix testing.sh shows no change 2020-12-11T16:52:30 #kisslinux <micr0> so maybe its *not* a posix thing 2020-12-11T16:52:44 #kisslinux <aarng> probably not, yup 2020-12-11T19:27:41 #kisslinux <nerditup> micr0: I've really got you thinking :) 2020-12-11T19:56:52 #kisslinux <micr0> nerditup happens when the coffee is peaking and I am procrastinating at work xD 2020-12-11T19:57:22 #kisslinux <nerditup> I hear that 2020-12-11T19:57:45 #kisslinux <micr0> you are a student right? I think there are a few in here 2020-12-11T19:59:44 #kisslinux <E5ten> I'm pretty sure the contents of $_ are undefined in POSIX 2020-12-11T20:23:00 #kisslinux <nerditup> I'm no longer a student, no. I work full time 2020-12-11T22:08:51 #kisslinux <nerditup> hmm, I got an invalid mode on `chmod -222 filename` with a new kiss install 2020-12-11T22:09:25 #kisslinux <nerditup> `chmod -222` will remove write permissions so `chmod 555` is equivalent? 2020-12-11T22:09:38 #kisslinux <nerditup> curious why I can't specify the permissions to remove though 2020-12-11T22:11:14 #kisslinux <E5ten> POSIX says that only non-negative octals work, otherwise you gotta do the letter stuff 2020-12-11T22:11:49 #kisslinux <E5ten> and chmod 555 is only equivalent if all the permissions before were either 5 or 7 2020-12-11T22:12:59 #kisslinux <E5ten> you can do chmod -- -w filename though 2020-12-11T22:13:00 #kisslinux <mcf> chmod a-w? 2020-12-11T22:14:12 #kisslinux <nerditup> ah yeah, just seeing this now E5ten - https://pubs.opengroup.org/onlinepubs/9699919799/utilities/chmod.html#tag_20_17 2020-12-11T22:15:15 #kisslinux <nerditup> `chmod -- -w` is what I need! thanks 2020-12-11T22:16:48 #kisslinux <E5ten> I think mcf is write that a-w is better 2020-12-11T22:18:13 #kisslinux <E5ten> -w on its own apparently is affected by umask 2020-12-11T22:24:09 #kisslinux <nerditup> I see that here: https://www.gnu.org/software/coreutils/manual/html_node/chmod-invocation.html#chmod-invocation - now I'm trying to understand the difference 2020-12-11T22:24:21 #kisslinux <nerditup> > Typically, though, ‘chmod a-w file’ is preferable.