💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2019-09-30.txt captured on 2021-12-17 at 13:26:06.

View Raw

More Information

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

2019-09-30T02:34:49 #kisslinux <Crestwave> There's a bug with OI in neofetch. `pkg list` never gets executed because it has packages from `pkginfo` and `/var/db/pkg/*`, which resolves to nothing, resulting in one "package". What is `/var/db/pkg/*` for?
2019-09-30T04:47:54 #kisslinux <Crestwave> Solaris' sh has some weird behavior. The following:
2019-09-30T04:47:57 #kisslinux <Crestwave> for i in 1 2; do
2019-09-30T04:47:59 #kisslinux <Crestwave>     printf '%sn' "${a+b}"
2019-09-30T04:48:01 #kisslinux <Crestwave>     printf '%sn' "${a=c}"
2019-09-30T04:48:03 #kisslinux <Crestwave> done
2019-09-30T04:48:24 #kisslinux <Crestwave> prints:
2019-09-30T04:48:26 #kisslinux <Crestwave> c
2019-09-30T04:48:28 #kisslinux <Crestwave> c
2019-09-30T04:48:56 #kisslinux <Crestwave> *


ncnncn'
2019-09-30T04:49:23 #kisslinux <Crestwave> Seems that it evaluates "${a+b}" only at the start of the loop or something
2019-09-30T04:49:41 #kisslinux <Crestwave> Manually running it twice works, as does using "${a:+b}"
2019-09-30T05:10:10 #kisslinux <Crestwave> ^[[%sC with a negative number doesn't work in the OpenIndiana VT and the whole thing ends up printed one line too high due to something else
2019-09-30T05:11:54 #kisslinux <Crestwave> Also, `whoami` isn't POSIX. Is there any reason you're using it over `id -un`?
2019-09-30T06:26:25 #kisslinux <dylanaraps> sudoer: You can package it yourself pretty easily.
2019-09-30T06:33:09 #kisslinux <dylanaraps> Crestwave: I left some comments on the PR.
2019-09-30T06:34:29 #kisslinux <dylanaraps> > Your comment in /r/linux is inappropriate for the subreddit and has been removed.
2019-09-30T06:34:32 #kisslinux <dylanaraps> Jesus christ
2019-09-30T06:34:58 #kisslinux <dylanaraps> I replied with "Nice :)" to someone who said they were enjoying KISS on /r/linux.
2019-09-30T06:35:14 #kisslinux <dylanaraps> >
2019-09-30T06:35:17 #kisslinux <dylanaraps>     Meme posts are not allowed in r/linux. Feel free to post over at /r/linuxmemes instead
2019-09-30T06:35:19 #kisslinux <dylanaraps> ??!?!?
2019-09-30T06:36:49 #kisslinux <Crestwave> It's in response to the Nice meme in response to 69
2019-09-30T06:37:03 #kisslinux <Crestwave> The autoremoval is quite stupid
2019-09-30T07:01:15 #kisslinux <Crestwave> I wonder if I should just get the whole first line from `/etc/release` for $distro. It seems that Solaris (or at least Solaris 10) has more info than 3 fields
2019-09-30T07:02:14 #kisslinux <Crestwave> https://serverfault.com/questions/524883/what-part-of-solaris-version-string-ids-the-update
2019-09-30T07:08:42 #kisslinux <Crestwave> dylanaraps: Just saw your call for Solaris testers. `prtconf -b` doesn't print anything in my VM
2019-09-30T07:15:41 #kisslinux <dylanaraps> Crestwave: 'IFS='(' read -r distro _'
2019-09-30T07:15:46 #kisslinux <dylanaraps> That works for distro.
2019-09-30T07:16:01 #kisslinux <dylanaraps> Prints: OpenIndiana Hipster 2019.04
2019-09-30T07:16:09 #kisslinux <dylanaraps> (With white-space which will be stripped)
2019-09-30T07:23:06 #kisslinux <dylanaraps> Does 'kstat' has a flag to only print values?
2019-09-30T07:31:35 #kisslinux <unternet> dylanaraps: your weechat picture makes me want to switch from irssi or theme it. grrr.
2019-09-30T07:35:52 #kisslinux <dylanaraps> lol
2019-09-30T07:36:02 #kisslinux <dylanaraps> I don't like irssi as it requires glib.
2019-09-30T07:36:23 #kisslinux <dylanaraps> Even weechat is kinda bloated (though I disable everything).
2019-09-30T07:36:41 #kisslinux <Crestwave> dylanaraps: I'm busy right now; I uploaded the man page to https://github.com/Crestwave/snippets/blob/master/openindiana/kstat.1m so you can look through it.
2019-09-30T07:39:36 #kisslinux <dylanaraps> Thanks
2019-09-30T07:39:40 #kisslinux <dylanaraps> Yeah, there's no option.
2019-09-30T07:40:26 #kisslinux <dylanaraps> One optimization is to run 'kstat' once in 'get_os' and populate all needed variables.
2019-09-30T07:56:45 #kisslinux <Crestwave> dylanaraps: done
2019-09-30T07:58:12 #kisslinux <dylanaraps> See my comment
2019-09-30T07:59:20 #kisslinux <dylanaraps> Though I'm leaning towards leaving it as it was as the same optimization can't be done for other OS.
2019-09-30T08:11:43 #kisslinux <Crestwave> Done. I can revert it if you want
2019-09-30T08:12:49 #kisslinux <dylanaraps> Yeah, I think it's better to do it in each function (as before).
2019-09-30T08:12:58 #kisslinux <dylanaraps> Sorry!
2019-09-30T08:14:36 #kisslinux <Crestwave> It's fine; reverted
2019-09-30T08:15:31 #kisslinux <Crestwave> By the way, I think with the new parsing of `/etc/release`, the architecture might be said both there and in host in true Solaris? Not a big deal, though
2019-09-30T09:17:51 #kisslinux <dylanaraps> Crestwave: my only issue with /etc/release is that the format isn't fixed.
2019-09-30T09:18:02 #kisslinux <dylanaraps> Is there no other way to get this information?
2019-09-30T09:26:11 #kisslinux <dylanaraps> > Oracle Solaris 11.1 SPARC
2019-09-30T09:26:20 #kisslinux <dylanaraps> This is the output on Oracle Solaris 11
2019-09-30T09:26:53 #kisslinux <dylanaraps> It *should* be fine.
2019-09-30T09:29:15 #kisslinux <dylanaraps> pfetch is in FreeBSD now!: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240873
2019-09-30T10:04:05 #kisslinux <Crestwave> What do you mean by fine? That it's not a big deal?
2019-09-30T10:15:04 #kisslinux <dylanaraps> Yeah
2019-09-30T11:42:08 #kisslinux <konimex> dylanaraps: looks like another wayland vs xorg argument is on the way
2019-09-30T11:44:36 #kisslinux <konimex> drew devault, probably the creator of wlroots(?)
2019-09-30T11:46:51 #kisslinux <dylanaraps> ?
2019-09-30T11:47:56 #kisslinux <dylanaraps> Oh, on GitHub huh.
2019-09-30T11:51:50 #kisslinux <konimex> aye
2019-09-30T12:28:07 #kisslinux <dylanaraps> man oh man
2019-09-30T12:31:43 #kisslinux <konimex> anything new?
2019-09-30T12:33:45 #kisslinux <dylanaraps> I replied to both issues and locked them.
2019-09-30T12:36:04 #kisslinux <dylanaraps> The design goals for KISS are stated clearly on the website and a user can very easily package Wayland/wlroots/sway if they desire it.
2019-09-30T12:40:31 #kisslinux <dylanaraps> brb
2019-09-30T12:41:18 #kisslinux <wildefyr> yes, someone could very easily package them in a simple way and provide them for consideration to the official repo
2019-09-30T12:41:22 #kisslinux <wildefyr> very petty
2019-09-30T12:45:36 #kisslinux <konimex> wildefyr: or even better: provide an alternative "core" packages, like the kiss-systemd repo
2019-09-30T12:47:04 #kisslinux <wildefyr> yes that's another good option
2019-09-30T12:49:59 #kisslinux <dylanaraps> All it'd need to be is a user repository providing wayland, wlroots, sway and other related "wayland-only" packages. Any missing dependencies can be added to the official repositories (pcre for example) though majority of the dependencies are already packaged.
2019-09-30T12:50:49 #kisslinux <wildefyr> yes, I also find his perspective very warped.
2019-09-30T12:50:58 #kisslinux <dylanaraps> I would see a third-party wayland repository maintained by Drew as a positive.
2019-09-30T12:51:14 #kisslinux <wildefyr> wayland is /vastly/ more complex to program for beginnners
2019-09-30T12:51:41 #kisslinux <dylanaraps> Well, there's also the fact that we'd still need to ship Xorg anyway.
2019-09-30T12:51:55 #kisslinux <wildefyr> whereas x11 is mature and has xcb that is simple to get started with
2019-09-30T12:52:05 #kisslinux <dylanaraps> I agree.
2019-09-30T12:52:08 #kisslinux <wildefyr> yep, there's no getting away from xwayland
2019-09-30T12:52:19 #kisslinux <dylanaraps> Sorry to pause here, I need to go buy groceries.
2019-09-30T12:52:24 #kisslinux <dylanaraps> I'll be back in 20-30 mins.
2019-09-30T12:52:24 #kisslinux <wildefyr> nom
2019-09-30T13:12:46 #kisslinux <dylanaraps> back
2019-09-30T13:13:04 #kisslinux <dylanaraps> And I forgot salt/pepper
2019-09-30T13:14:40 #kisslinux <unternet> that's terrible
2019-09-30T13:14:52 #kisslinux <wildefyr> it would be very cool to get kiss to load up on arm though dylanaraps
2019-09-30T13:15:12 #kisslinux <wildefyr> that new pinebook pro looks like my next machine to replace the aging c720
2019-09-30T13:16:43 #kisslinux <dylanaraps> You can fork it (and that's not to say I won't help at all).
2019-09-30T13:17:01 #kisslinux <wildefyr> yes I'm waiting on some reviews for it before I grab it
2019-09-30T13:17:31 #kisslinux <dylanaraps> I created KISS because I wanted something simpler for my only piece of hardware (x86_64 laptop).
2019-09-30T13:18:08 #kisslinux <dylanaraps> The other goal was to keep it maintainable by solely myself (a single person).
2019-09-30T13:19:49 #kisslinux <dylanaraps> If your ideals, needs etc align with mine, great! If they don't, I'm happy to assist with a fork (new arch) or additional repository (different software choices).
2019-09-30T13:20:10 #kisslinux <dylanaraps> (by additional repository, I mean a third-party one)
2019-09-30T13:21:13 #kisslinux <wildefyr> agreed
2019-09-30T13:21:47 #kisslinux <unternet> i guess raspberrypi would be a complicated target?
2019-09-30T13:22:33 #kisslinux <dylanaraps> It depends, thankfully other distributions have Pi support so needed patches, compiler flags etc are documented.
2019-09-30T13:23:04 #kisslinux <dylanaraps> There may be some uncharted territory but it shouldn't be anything unfixable.
2019-09-30T13:23:58 #kisslinux <wildefyr> sorry for my confusion here, but is kiss a source distro?
2019-09-30T13:24:03 #kisslinux <dylanaraps> Yes
2019-09-30T13:24:22 #kisslinux <wildefyr> yes I thought so, just not explicity mentioned on the homepage
2019-09-30T13:24:33 #kisslinux <dylanaraps> The package manager still creates .tar.gz binaries and if -march=native was _not_ used you can transfer them across installations.
2019-09-30T13:25:13 #kisslinux <wildefyr> in theory arm support could simply be baked in to the packager along as there was an arm image
2019-09-30T13:25:24 #kisslinux <wildefyr> as long*
2019-09-30T13:25:34 #kisslinux <wildefyr> so not too much work at all
2019-09-30T13:25:50 #kisslinux <wildefyr> beyond my skills at the moment though
2019-09-30T13:26:37 #kisslinux <dylanaraps> I don't want to overcomplicate the build scripts themselves either. ie, checking architecture in the builds, having architecture dependent dependencies, having architecture dependent patches etc.
2019-09-30T13:26:58 #kisslinux <dylanaraps> (checking architecture is related to arch specific compiler flags, etc)
2019-09-30T13:27:23 #kisslinux <wildefyr> yes, it would really mean copying all build scripts and modifying them for arm
2019-09-30T13:27:32 #kisslinux <wildefyr> then hosting in separate repo
2019-09-30T13:27:44 #kisslinux <dylanaraps> Yes
2019-09-30T13:28:46 #kisslinux <dylanaraps> There are only 150 packages in the main repositories so it's not bad.
2019-09-30T13:29:17 #kisslinux <dylanaraps> A simpler solution is an ARM repository which sits _before_ the official ones in `KISS_PATH`. The ARM repository can then provide _only_ the packages which need ARM changes.
2019-09-30T13:29:46 #kisslinux <wildefyr> yes that would save work
2019-09-30T13:30:08 #kisslinux <wildefyr> only change the file for arm images
2019-09-30T13:30:50 #kisslinux <dylanaraps> Yeah
2019-09-30T13:39:33 #kisslinux <dylanaraps> Added the from source information to the website.
2019-09-30T13:39:38 #kisslinux <dylanaraps> Thanks for letting me know.
2019-09-30T13:52:43 #kisslinux <wildefyr> ++
2019-09-30T15:01:32 #kisslinux <dylanaraps> Released a new version of the package manager (output is really nice now) and a new version of the kiss-chroot tarball (used for installation).
2019-09-30T15:27:22 #kisslinux <dylanaraps> o/
2019-09-30T15:27:24 #kisslinux <dylanaraps> Welcome
2019-09-30T16:55:22 #kisslinux <xenone> I'm curious, what kind of hardware are people running KISS on?
2019-09-30T16:55:44 #kisslinux <xenone> Currently (attempting) to run on a thinkpad t450s
2019-09-30T16:58:23 #kisslinux <dylanaraps> I'm running it on a Lenovo Yoga 900
2019-09-30T17:01:08 #kisslinux <xenone> Do you use the touch screen at all?
2019-09-30T17:02:24 #kisslinux <dylanaraps> I don't but it does work.
2019-09-30T17:02:53 #kisslinux <dylanaraps> libinput treat it as an input device, no different from my trackpad or keyboard.
2019-09-30T17:02:57 #kisslinux <dylanaraps> treats*
2019-09-30T17:08:19 #kisslinux <xenone> Oh cool! One of the issues I was having was trying to get synaptics drivers to play nicely
2019-09-30T17:08:42 #kisslinux <xenone> Is it better to just not install them and let libinput do the heavy lifting?
2019-09-30T17:10:36 #kisslinux <dylanaraps> Yup
2019-09-30T17:10:49 #kisslinux <dylanaraps> libinput is the only maintained xorg input driver now.
2019-09-30T17:11:07 #kisslinux <dylanaraps> I don't know about the niche input drivers but evdev, synaptics, etc are all unmaintained now.
2019-09-30T17:11:29 #kisslinux <dylanaraps> The developer of the xorg input drivers is also the libinput developer who works at redhat.
2019-09-30T17:11:37 #kisslinux <dylanaraps> So it's a planned obsolesence sadly.
2019-09-30T17:11:55 #kisslinux <xenone> aw man I had no idea
2019-09-30T17:11:57 #kisslinux <xenone> thank you
2019-09-30T17:11:57 #kisslinux <dylanaraps> libinput requires udev so KISS must include both...
2019-09-30T17:12:12 #kisslinux <dylanaraps> Else I'd be happy with evdev/synaptics and no udev.
2019-09-30T18:07:33 #kisslinux <E5ten> I find my experience with libinput on trackpads always sucks and I end up switching to synaptics pretty quickly
2019-09-30T18:22:21 #kisslinux <dylanaraps> That's an option if you'd like to go that route.
2019-09-30T18:54:39 #kisslinux <dylanaraps> Crestwave: I created a Solaris ascii and merged your PR. Would love to see a screenshot.
2019-09-30T21:32:01 #kisslinux <wildefyr> what are the views of pipewire here?
2019-09-30T21:34:14 #kisslinux <dylanaraps> I see no reason to use anything other than alsa.
2019-09-30T21:34:26 #kisslinux <wildefyr> is sndio packaged?
2019-09-30T21:34:33 #kisslinux <dylanaraps> No
2019-09-30T21:34:43 #kisslinux <wildefyr> thanks
2019-09-30T21:34:53 #kisslinux <dylanaraps> Core repositories are intentionally small.
2019-09-30T21:35:28 #kisslinux <wildefyr> yes, people have their own user repos then?
2019-09-30T21:35:42 #kisslinux <dylanaraps> User hosted repositories will eventually scratch every itch.
2019-09-30T21:35:44 #kisslinux <dylanaraps> Yeah
2019-09-30T21:35:57 #kisslinux <wildefyr> okay that's on the roadmap, great
2019-09-30T21:36:04 #kisslinux <dylanaraps> No roadmap.
2019-09-30T21:36:07 #kisslinux <dylanaraps> That's up to users.
2019-09-30T21:36:16 #kisslinux <dylanaraps> The feature has worked from day 1.
2019-09-30T21:36:17 #kisslinux <wildefyr> well /the future/
2019-09-30T21:36:31 #kisslinux <dylanaraps> Repositories work like '$PATH'.
2019-09-30T21:36:40 #kisslinux <wildefyr> brill
2019-09-30T21:36:47 #kisslinux <dylanaraps> '$KISS_PATH' is how they're configured.
2019-09-30T21:37:05 #kisslinux <dylanaraps> also see: https://github.com/fanboimsft/kissD
2019-09-30T21:37:22 #kisslinux <wildefyr> thanks
2019-09-30T21:37:41 #kisslinux <wildefyr> very interested in giving kiss a go when i have the chance
2019-09-30T21:37:46 #kisslinux <dylanaraps> A KISS repository providing systemd, glibc, pulseaudio, dbus etc though it's more of a full fork than a user repository.
2019-09-30T21:37:59 #kisslinux <wildefyr> yes, unfortunately
2019-09-30T21:38:02 #kisslinux <wildefyr> the size of them
2019-09-30T21:38:14 #kisslinux <dylanaraps> That's not a KISS issue though, it's just how he decided to do it.
2019-09-30T21:38:32 #kisslinux <dylanaraps> https://github.com/sindresorhus/is-wsl/blob/master/index.js
2019-09-30T21:38:39 #kisslinux <dylanaraps> Used by 2.6M packages.
2019-09-30T21:38:42 #kisslinux <dylanaraps> Jesus
2019-09-30T21:39:04 #kisslinux <wildefyr> horrendous
2019-09-30T21:48:27 #kisslinux <KayW> hey hey all
2019-09-30T21:54:57 #kisslinux <dylanaraps> Hello