💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-04-16.txt captured on 2024-05-26 at 16:25:47.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

2020-04-16T02:02:33 #kisslinux <merakor> dylan05: https://github.com/cemkeylan/yaic check it out if you would want to get rid of bash and try ii
2020-04-16T02:19:02 #kisslinux <E5ten> merakor: for the shellcheck disable=2064, instead of doing that, maybe you could set a variable to stty -g right before the trap, and then use that variable single quoted in the trap so it expands when the trap runs and makes shellcheck happy without disabling the warning?
2020-04-16T02:22:21 #kisslinux <E5ten> also for the 2 disable=2015, maybe instead of <command> && <command2> ||: you could do ! <command> || <command2> to avoid an issue with errexit and also avoid having to disable the warning?
2020-04-16T02:36:14 #kisslinux <Crestwave> Kinda hacky, though
2020-04-16T02:37:10 #kisslinux <Crestwave> I'm honestly confused why an IRC client is using errexit, which is inherently hacky, though
2020-04-16T02:37:56 #kisslinux <Crestwave> *li clientl, apprently
2020-04-16T03:38:06 #kisslinux <dilyn> e5ten: figured out why that clang flag error pops up when building broadcom-wl: it's because I built the kernel with clang
2020-04-16T03:38:17 #kisslinux <dilyn> what an easily solved mystery
2020-04-16T03:47:54 #kisslinux <E5ten> Ohhhh it uses the same CFLAGS as it did for the kernel, makes sense
2020-04-16T04:21:30 #kisslinux <dilyn> yeah
2020-04-16T04:21:34 #kisslinux <dilyn> i just don't know why it forces gcc
2020-04-16T04:22:00 #kisslinux <dilyn> it's probably buried somewhere in here but it's not in the main Makefile
2020-04-16T04:22:33 #kisslinux <dilyn> nevermind it accepts declaring CC now
2020-04-16T04:22:34 #kisslinux <dilyn> strange
2020-04-16T05:25:46 #kisslinux <dylan02> ax: You need to figure out what the expected provider of the libraries is. Is it util-linux or e2fsprogs? If it were me, I'd simply make btrfs-progs depend on util-linux.
2020-04-16T05:31:03 #kisslinux <illiliti> https://github.com/landley/toybox/pull/182 that's ridiculous
2020-04-16T05:34:01 #kisslinux <dylan02> That's probably the one thing I don't like about toybox
2020-04-16T05:41:10 #kisslinux <dilyn> that's a seemingly absurd choice
2020-04-16T05:51:50 #kisslinux <E5ten> (you know maybe it'd be helpful if he knew that people felt that the only thing they disliked about toybox was the build scripts needing bash maybe express that)
2020-04-16T06:01:59 #kisslinux <dylan02> I'll leave a comment soon-ish
2020-04-16T06:06:44 #kisslinux <illiliti> me too. btw i wanted to fix and write tests for this issue https://github.com/landley/toybox/issues/174, but when i noticed that test scripts full of bashisms, i immediately forgot this idea XD
2020-04-16T06:17:15 #kisslinux <abi`> hi, for those too lazy to setup kiss, i was bored and created a kiss vagrant box for vagrant/libvirt, at: https://app.vagrantup.com/abi/boxes/kiss/
2020-04-16T06:17:58 #kisslinux <dylan02> Neat
2020-04-16T06:29:16 #kisslinux <Crestwave> "I'm doing bash intentionally, and writing a bash replacement shell." | Is he seriously trying to reimplement Bash or is he talking about some subset of minor Bashisms?
2020-04-16T06:29:49 #kisslinux <dylan02> I believe it's all of bash(?)
2020-04-16T06:30:12 #kisslinux <Crestwave> O.o Is he aware how big of a task that is?
2020-04-16T06:30:47 #kisslinux <dylan02> https://github.com/landley/toybox/blob/master/toys/pending/sh.c
2020-04-16T06:31:15 #kisslinux <Crestwave> Like OSH *just* became able to run Neofetch (I submitted a PR, btw)
2020-04-16T06:32:06 #kisslinux <konimex> even then, it doesn't make sense if they want bash specifically since *BSDs doesn't ship bash by default (unless Toybox is Linux-only)
2020-04-16T06:32:09 #kisslinux <dylan02> Yeah, I saw it when I woke up this morning
2020-04-16T06:32:55 #kisslinux <Crestwave> Wasn't sure if you did because notifications seem to be broken for me for some reason. Not sure if I did something wrong
2020-04-16T06:37:28 #kisslinux <Crestwave> Nvm it apparently started going into my spam folder the past couple of weeks
2020-04-16T06:37:47 #kisslinux <dylan02> Crestwave: I left some comments.
2020-04-16T07:05:21 #kisslinux <dylan02> Crestwave: Merged, thanks.
2020-04-16T07:05:32 #kisslinux <dylan02> I'll be back on a little later (garden time)
2020-04-16T07:11:44 #kisslinux <Crestwave> Great, thanks. I think you might prefer the last comment I made, though
2020-04-16T07:52:39 #kisslinux <TwistedFate> GOOOOOOD MORNIIIIIIIING!
2020-04-16T07:52:48 #kisslinux <TwistedFate> how's everyone doing?
2020-04-16T08:18:24 #kisslinux <merakor> E5ten: we want the trap to expand before so that we restore the proper values. If we expand it when we receive a signal it will be useless because it will output the current value. That trap is to restore the previous value.
2020-04-16T10:20:33 #kisslinux <jedavies> Anyone had an issue building libva-utils after the libdrm update?   libtool:   error: cannot find the library '/usr/lib/libdrm.la' or unhandled argument '/usr/lib/libdrm.la'
2020-04-16T12:23:12 #kisslinux <lieu> dylanaraps: `-> libressl Checksum mismatch`
2020-04-16T12:45:55 #kisslinux <dylan02> lieu: Fixed.
2020-04-16T12:46:07 #kisslinux <dylan02> jedavies: I can't seem to reproduce at all. Builds fine here.
2020-04-16T12:46:39 #kisslinux <dylan02> Crestwave: I'm not too bothered by it as-is. I've been meaning to clean up neofetch from top to bottom anyway.
2020-04-16T12:47:59 #kisslinux <dylan02> https://github.com/oddlama/autokernel
2020-04-16T12:48:09 #kisslinux <dylan02> > Autokernel is primarily a kernel configuration management tool. Its main purpose is to generate a kernel .config file from a more formal description of your configuration. To help you writing the configuration, it comes with some helpful features:
2020-04-16T12:48:14 #kisslinux <dylan02> > Detect kernel options for your system (based on information from /sys)
2020-04-16T12:48:22 #kisslinux <dylan02> Sounds neat
2020-04-16T12:49:22 #kisslinux <dylan02> Time to test it
2020-04-16T12:51:54 #kisslinux <dylan02> >  * ERROR: Missing program 'findmnt'. Please ensure that it is installed.
2020-04-16T12:51:56 #kisslinux <dylan02> lol
2020-04-16T12:54:16 #kisslinux <dylan02> > FileNotFoundError: [Errno 2] No such file or directory: '/proc/modules'
2020-04-16T12:54:17 #kisslinux <dylan02> lol
2020-04-16T12:54:29 #kisslinux <dylan02> OK. Forget about this.
2020-04-16T13:10:31 #kisslinux <kiedtl> dylan02: looking at that sed command that you used to minify your HTML, what's the difference between s///g and s|||g ?
2020-04-16T13:10:32 #kisslinux <dilyn> Lol
2020-04-16T13:10:51 #kisslinux <dilyn> There are some requirements he just doesn't specify and that seems a little lazy
2020-04-16T13:10:57 #kisslinux <dilyn> Also it doesn't work xD
2020-04-16T13:28:22 #kisslinux <Crestwave> kiedtl: Nothing, really. s|||g is usually used when there are slashes in the substitution so you don't have to escape them
2020-04-16T13:29:52 #kisslinux <Crestwave> Also, note that the delimiter can actually be anything. Another common one is s,,,g
2020-04-16T13:31:47 #kisslinux <Crestwave> I took a look at the script and it seems that it even uses a tab as a delimiter in one command. O.o
2020-04-16T13:50:37 #kisslinux <fehawen> I need to compress a gazillion png images for a client's e-commerce website. Refuse to use an online image compression tool, bloody awful time consumption. Is imagemagick any good at compression, or any other suggestions for a good cli tool?
2020-04-16T13:50:55 #kisslinux <fehawen> Sorry, quite off-topic for the channel, but you're all too helpful.
2020-04-16T14:10:25 #kisslinux <kiedtl> fehawen: lossless compression?
2020-04-16T14:11:51 #kisslinux <kiedtl> fehawen: pngquant is good for lossy compression
2020-04-16T14:12:11 #kisslinux <kiedtl> and there's pngcrush too, which I believe is lossless (but I'm not quite sure.)
2020-04-16T14:24:52 #kisslinux <konimex> optipng?
2020-04-16T14:27:33 #kisslinux <onodera> fehawen: optipng
2020-04-16T14:35:30 #kisslinux * E5ten sent a long message:  < https://matrix.org/_matrix/media/r0/download/matrix.org/VigGpIhrviKjtRtQAXLAeZks >
2020-04-16T14:35:49 #kisslinux <E5ten> So shelkcheck is happy but you're still using the value from when the trap is created
2020-04-16T14:36:00 #kisslinux <E5ten> shellcheck*
2020-04-16T14:38:02 #kisslinux <tankf33der> o/
2020-04-16T14:38:20 #kisslinux <onodera> dylan02: why is harfbuzz and freetype one package?
2020-04-16T15:08:30 #kisslinux <tankf33der> i will install kiss asap and check if picolisp and monocypher compiles.
2020-04-16T15:08:55 #kisslinux <onodera> tankf33der: you can try to port them in the chroot as well
2020-04-16T15:09:01 #kisslinux <onodera> that's what I did for my important packages
2020-04-16T15:09:31 #kisslinux <tankf33der> onodera: where to read how to do it?
2020-04-16T15:10:53 #kisslinux <konimex> port, so, like porting it to other architectures (e.g. ARM)?
2020-04-16T15:12:19 #kisslinux <tankf33der> konimex: no, like setup kiss chroot in centos and compile something :)
2020-04-16T15:12:56 #kisslinux <konimex> ah, so just normal packaging
2020-04-16T15:19:17 #kisslinux <merakor> E5ten: Yeah, you're right, thanks.
2020-04-16T15:22:07 #kisslinux <onodera>  tankf33der: the install guide
2020-04-16T15:22:28 #kisslinux <tankf33der> onodera: reading
2020-04-16T15:24:11 #kisslinux <onodera> how I did it was set up the chroot as described there
2020-04-16T15:24:22 #kisslinux <onodera> then just install and compile my whole system
2020-04-16T15:24:38 #kisslinux <onodera> copied over configuration and things, ported some essential packages
2020-04-16T15:25:00 #kisslinux <onodera> after I booten into a libe usb and copied over the chroot to my partitions using rsync
2020-04-16T15:25:06 #kisslinux <merakor> Is there an ANSI escape for saving the previous colour?
2020-04-16T15:25:24 #kisslinux <merakor> Like how [s saves cursosr position
2020-04-16T15:25:38 #kisslinux <merakor> s/cursosr/cursor/
2020-04-16T16:08:33 #kisslinux <lieu> dylan02: https://github.com/kisslinux/kiss/blob/master/kiss#L439
2020-04-16T16:10:47 #kisslinux <lieu> Fortunately, `busybox diff` supports `-U`.
2020-04-16T16:24:55 #kisslinux <lieu> dylan02: Maybe fix the libdir? -> http://termbin.com/kuj6
2020-04-16T16:49:16 #kisslinux <eudaldgr> i'm trying to run a `build` package who "call" a ncurses, but then the cursor don't respond
2020-04-16T16:50:29 #kisslinux <eudaldgr> the arrows i mean
2020-04-16T16:50:37 #kisslinux <eudaldgr> not the cursor
2020-04-16T16:50:58 #kisslinux <eudaldgr> is there a way to run a interactive build package with kiss?
2020-04-16T16:58:56 #kisslinux <dilyn> has anybody seen this warning in their dmesg? very few things on the internet about it, all seem related to macbooks tho. system spends half a second spitting this out
2020-04-16T16:59:21 #kisslinux <dilyn> 'Unable to EVIOCGABS device "/dev/input/event13" '
2020-04-16T16:59:33 #kisslinux <dilyn> nothing seems broken, that device is my keyboard/trackpad
2020-04-16T17:11:00 #kisslinux <merakor> Can someone mention my name? I am trying something with yaic.
2020-04-16T17:11:51 #kisslinux <dilyn> merakor: mention
2020-04-16T17:12:10 #kisslinux <merakor> Thanks!
2020-04-16T17:16:44 #kisslinux <onodera> Whatt's the correct way to `install` a directory with contents to a location?
2020-04-16T17:16:51 #kisslinux <onodera> like which flags
2020-04-16T17:17:17 #kisslinux <merakor> install -D -t /path/to/install dir/*
2020-04-16T17:17:38 #kisslinux <merakor> This will install the contents of a file to the target
2020-04-16T17:17:53 #kisslinux <merakor> s/file/directory/
2020-04-16T17:18:12 #kisslinux <onodera> a directory is a file too i think ;)
2020-04-16T17:18:13 #kisslinux <onodera> thanks
2020-04-16T18:09:35 #kisslinux <ominous_anonymou> what is a use case for install?  what kind of application/fileset are you installing... just like shared libraries or something?
2020-04-16T18:10:46 #kisslinux <onodera> ominous_anonymou: I got it, just creating a custom dotfile install script
2020-04-16T18:11:44 #kisslinux <ominous_anonymou> so is it just like an easier way to do a bunch of copies/moves/permissions?
2020-04-16T18:12:48 #kisslinux <dilyn> it makes directories, sets permissions, all readily handily
2020-04-16T18:13:12 #kisslinux <dilyn> etc etc
2020-04-16T18:19:39 #kisslinux <ominous_anonymou> man, i feel like the more i learn the more i realize i don't know XD
2020-04-16T18:19:42 #kisslinux <ominous_anonymou> thanks!
2020-04-16T19:51:14 #kisslinux <MueVoid> Hello everyone! Does anyone know any good KISS video calling open source applications?
2020-04-16T19:58:50 #kisslinux <onodera> MueVoid: I just some browser app
2020-04-16T19:59:04 #kisslinux <onodera> google hangouts or something like that
2020-04-16T20:01:42 #kisslinux <MueVoid> I would do that but two problems first of all I dont have a google account. Plus my browser doesnt support webrtc
2020-04-16T20:50:54 #kisslinux <ominous_anonymou> https://github.com/mofarrell/p2pvc @MueVoid
2020-04-16T22:15:05 #kisslinux <muevoid> Hello everybody! How would I go about changing the mozconfig in firefox? Do I use kiss-fork if so how do I use that? Any help is appreciated
2020-04-16T22:35:24 #kisslinux <dilyn> `kiss-fork firefox` will copy the Firefox directory from the next KISS_PATH to pwd. In it you'll find files/mozconfig
2020-04-16T22:35:46 #kisslinux <dilyn> After you edit it, run kiss c firefox to update the checksums
2020-04-16T22:36:45 #kisslinux <dilyn> If you only want to maintain your changed files instead of completely forking the whole thing, you can use `kiss-link $foo` to symlink $foo to where it is in KISS_PATH
2020-04-16T22:37:18 #kisslinux <muevoid> should I run kiss-fork firefox as root or as user?
2020-04-16T22:40:36 #kisslinux <muevoid> So if im correct for example. I could do kiss-fork firefox in a folder called forks go into files/mozconfig cd back into forks/firefox then run kiss c firefox?
2020-04-16T22:41:26 #kisslinux <dilyn> Run it as the user who has write permissions for the directory you're in
2020-04-16T22:41:32 #kisslinux <dilyn> Yes
2020-04-16T22:41:44 #kisslinux <dilyn> kiss c would also work (now)
2020-04-16T22:42:14 #kisslinux <muevoid> How would I go about building the fork?
2020-04-16T22:42:14 #kisslinux <dilyn> And you might want to prepend that directory to your KISS_PATH so kiss finds your fork first
2020-04-16T22:42:22 #kisslinux <dilyn> Just kiss b
2020-04-16T22:42:31 #kisslinux <muevoid> ah
2020-04-16T22:42:35 #kisslinux <muevoid> Alright thank you so much!
2020-04-16T22:43:03 #kisslinux <dilyn> Ofc
2020-04-16T22:43:27 #kisslinux <muevoid> Sinec I see you around a lot what do you think about rust?
2020-04-16T22:43:36 #kisslinux <muevoid> Since*
2020-04-16T22:47:22 #kisslinux <dilyn> I am not a programmer :X I've read a few things about it and I like the ideas and motivation, I'm not sure we need Yet Another Programming Language
2020-04-16T22:47:41 #kisslinux <dilyn> That being said, im currently packaging uutils, core-utils written in rust
2020-04-16T22:48:45 #kisslinux <protonesso> update-alternatives?
2020-04-16T22:48:57 #kisslinux <muevoid> Ah fair enough. Just was wondering cause it seems like a lot of the KISS community doesnt like rust which I dont understand cause imo it is more minimal then C or C++ you cna get similar sized binaries and compile times with some tweaks while having it be memory safe. And yes I agree there are too many programming languages lol however I would say rust is one that deserves to exist imo.
2020-04-16T22:50:10 #kisslinux <protonesso> Don't want to make war between languages, but size of rust compiler and gcc (with c and c++) is the same
2020-04-16T22:50:15 #kisslinux <muevoid> The main thing I dont like about rust isnt actually a problem with rust itself but with cargo. Which is some packages even if you have the source code require internet to be built however there are work arounds.
2020-04-16T22:50:28 #kisslinux <protonesso> But unlike gcc rust provides only rust
2020-04-16T22:50:51 #kisslinux <protonesso> Also rust has buggy support for musl like crt-statix
2020-04-16T22:50:54 #kisslinux <muevoid> While yes but arent I correct in saying gcc shouldnt be used to compile c++ code or am I wrong?
2020-04-16T22:51:11 #kisslinux <muevoid> Isnt g++ used for c++
2020-04-16T22:51:23 #kisslinux <protonesso> it's part of gcc
2020-04-16T22:51:35 #kisslinux <muevoid> Ah I didnt know that i'm stupid lol
2020-04-16T22:51:53 #kisslinux <protonesso> You can compile your c++ code with gcc and it automatically switches on g++
2020-04-16T22:51:59 #kisslinux <muevoid> Ah gotcha
2020-04-16T22:52:09 #kisslinux <protonesso> Tried it year ago
2020-04-16T22:52:26 #kisslinux <muevoid> Part of me wants to get away from rust completely however I dont know any open source browsers that work on musl with webrtc other then firefox
2020-04-16T22:53:45 #kisslinux <protonesso> I thought webrtc disabled on kiss
2020-04-16T22:53:59 #kisslinux <muevoid> You can enable it in mozconfig if you compile from source
2020-04-16T22:54:10 #kisslinux <protonesso> Ik
2020-04-16T22:54:35 #kisslinux <muevoid> Yeah I would use something else but I use jitsi to call my gf we are in a long distance relationship
2020-04-16T22:54:46 #kisslinux <muevoid> I dont know any desktop applications that are open source that dont use electron
2020-04-16T22:55:07 #kisslinux <protonesso> jitsi is a service or app?
2020-04-16T22:55:16 #kisslinux <muevoid> Its a service
2020-04-16T22:55:25 #kisslinux <muevoid> I think they have a desktop application as well
2020-04-16T22:55:33 #kisslinux <muevoid> But it was quite buggy when I tried it on gentoo a while back
2020-04-16T22:56:52 #kisslinux <protonesso> https://download.jitsi.org/jitsi/src/
2020-04-16T22:58:05 #kisslinux <muevoid> Hmmm im checking it out right now
2020-04-16T23:06:03 #kisslinux <muevoid> It seems promising however I have no clue how to go about compiling it lol
2020-04-16T23:43:25 #kisslinux <muevoid> Does anyone here use ungoogled-chromium?
2020-04-16T23:48:48 #kisslinux <konimex> muevoid: I don't think anyone here managed to compile chromium
2020-04-16T23:50:22 #kisslinux <dilyn> Can someone send me busybox's manifest?