💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2019-11-11.txt captured on 2024-06-16 at 13:53:21.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2019-11-11T02:17:45 #kisslinux <claudia1> https://www.reddit.com/r/unixporn/comments/dujgm8/dwm_kiss_of_doom/ 2019-11-11T06:03:51 #kisslinux <dylanaraps> claudia1: Firefox issue is 100% related to privacy tweaks in our vendor.js 2019-11-11T06:04:31 #kisslinux <dylanaraps> Try setting 'network.http.referer.XOriginPolicy' to 0 2019-11-11T06:29:03 #kisslinux <thatpythonguy> i hate to be that guy, but... I mean, why KISS Linux? You explain the purpose of the distro but I don't see a proper justification, or comparison to why other similar distro's don't take the cake 2019-11-11T06:30:08 #kisslinux <dylanaraps> All shell code is written in a safe way (passes shellcheck). The same can't be said for any other distribution. 2019-11-11T06:30:41 #kisslinux <dylanaraps> The package format is not a shell script which gets eval'd by the package manager. 2019-11-11T06:31:30 #kisslinux <dylanaraps> Instead each package is a set of simple text files and a build script (Which is executed in its own shell ./script). 2019-11-11T06:32:23 #kisslinux <dylanaraps> KISS will give you a more minimal environment than anything else can provide (especially with Firefox/X). 2019-11-11T06:32:43 #kisslinux <dylanaraps> The package system allows the package manager to be only 500~ LOC. 2019-11-11T06:33:42 #kisslinux <dylanaraps> Packages are also all compiled from source and nothing in the official repositories needs an internet connection during build. Everything is signed, downloaded over https and has checksums which are verified. 2019-11-11T06:34:06 #kisslinux <thatpythonguy> I see. Why is it that other package managers aren't as simple by design? 2019-11-11T06:35:17 #kisslinux <thatpythonguy> What confuses me is, if it's such a great idea, wouldn't it already be implemented? I mean the bigger distros have hundreds or thousands of people contributing and helping to make design decisions. They chose to do it differently than you with those resources, so how can you justify it? 2019-11-11T06:36:08 #kisslinux <thatpythonguy> I don't mean to be harsh, I just want to understand. I think it's very respectable and difficult to pull off your own distro and package manager and definitely not something i could come close to doing. 2019-11-11T06:37:07 #kisslinux <dylanaraps> KISS isn't your typical distribution. The kernel is managed 100% by you. The repositories and base system are kept small so you as a user can extend them further to create your ideal system. KISS doesn't try to please everyone. 2019-11-11T06:37:39 #kisslinux <dylanaraps> KISS is the only distribution which allows you to run Firefox without dbus for example. 2019-11-11T06:38:43 #kisslinux <dylanaraps> KISS follows the philosophy that it's easier to add things to a system than to remove them. If you want dbus, just package it. Far simpler than trying to remove it and everything that decided to link to it. 2019-11-11T06:40:53 #kisslinux <thatpythonguy> Ah i see, so like if you want your system at point B, you're saying it makes more sense to start with bare-bones A and work your way there than to start with feature-filled Z and start removing stuff 2019-11-11T06:40:59 #kisslinux <dylanaraps> Yup 2019-11-11T06:41:26 #kisslinux <dylanaraps> Someone runs KISS with systemd, dbus, pulseaudio, pam, glibc etc. 2019-11-11T06:41:40 #kisslinux <dylanaraps> They just created their own repository and swapped to using what they wanted. 2019-11-11T06:42:31 #kisslinux <thatpythonguy> are there practical benefits? Most distros seem to be pretty resource-minimal by default 2019-11-11T06:43:54 #kisslinux <dylanaraps> Yes. You know exactly what each piece of software is doing. 2019-11-11T06:44:06 #kisslinux <dylanaraps> You can replace each piece too. 2019-11-11T06:44:15 #kisslinux <thatpythonguy> That's how i felt switching from windows to linux 2019-11-11T06:44:17 #kisslinux <thatpythonguy> it was a good feeling 2019-11-11T06:44:32 #kisslinux <dylanaraps> You're also running less software, which to me is always a plus. 2019-11-11T06:44:37 #kisslinux <thatpythonguy> it eventually led to the addictive rabbit-hole of ricing haha 2019-11-11T06:44:50 #kisslinux <thatpythonguy> agreed. 2019-11-11T06:45:11 #kisslinux <dylanaraps> My KISS system with IRC, terminals and Firefox open only contains 14 processes. 2019-11-11T06:45:25 #kisslinux <thatpythonguy> well... hot dang 2019-11-11T06:45:56 #kisslinux <dylanaraps> Basically, it enables you to run _only_ what you need. 2019-11-11T06:46:18 #kisslinux <thatpythonguy> i can definitely see that use case 2019-11-11T06:46:21 #kisslinux <dylanaraps> The only daemons I have (minus init and a single getty) are dhcpcd and wpa_supplicant. 2019-11-11T06:48:03 #kisslinux <thatpythonguy> the design system you're describing seems to be the philosophy of arch as well, which admittedly I have not used. As in, the substitution of pieces and minimalism. I'm assuming you would respond by saying it has too many default dependencies? 2019-11-11T06:48:38 #kisslinux <dylanaraps> Arch isn't minimal at all (nor is it about choice). 2019-11-11T06:48:51 #kisslinux <dylanaraps> They compile each package with everything enabled. 2019-11-11T06:50:31 #kisslinux <thatpythonguy> haha, watch out you're damaging their precious egos! 2019-11-11T06:50:37 #kisslinux <dylanaraps> The other upside that KISS has is that the distribution can be maintained by a single person. Were something to happen to me the user also has the means of maintaining updates themselves. 2019-11-11T06:50:59 #kisslinux <dylanaraps> There's no lock-in to the official repositories either. 2019-11-11T06:55:35 #kisslinux <dylanaraps> I have to go for the day. I'll be on later 2019-11-11T06:55:55 #kisslinux <dylanaraps> If you want to continue this chat I'll be back in 6~ hours. :) 2019-11-11T11:14:46 #kisslinux <claudia1> setting 'network.http.referer.XOriginPolicy' to 0 makes no difference 2019-11-11T11:41:17 #kisslinux <dylanaraps> claudia1: Will look into it. 2019-11-11T11:43:20 #kisslinux <claudia1> my firefox has ublock and noscript. deactivating both helps..sometimes^^ 2019-11-11T11:56:10 #kisslinux <dylanaraps> claudia1: network.http.referer.spoofSource to false 2019-11-11T11:56:12 #kisslinux <dylanaraps> :) 2019-11-11T11:56:21 #kisslinux <dylanaraps> Imgur works for me with this set. 2019-11-11T11:57:25 #kisslinux <dylanaraps> Will fix our vendor.js according to: https://github.com/pyllyukko/user.js/issues/94 2019-11-11T11:59:27 #kisslinux <dylanaraps> Pushed fixes. 2019-11-11T11:59:38 #kisslinux <dylanaraps> You can set it yourself until 71.0 is out. :) 2019-11-11T12:03:12 #kisslinux <claudia1> dylanaraps: y, network.http.referer.spoofSource to false doest the trick. gj 2019-11-11T12:04:07 #kisslinux <dylanaraps> claudia1: It works?? 2019-11-11T12:04:12 #kisslinux <claudia1> yes 2019-11-11T12:04:17 #kisslinux <dylanaraps> woo hoo 2019-11-11T12:06:29 #kisslinux <dylanaraps> woah, this was only 4 months ago (first VM install of KISS) https://i.redd.it/chtkzy55on631.jpg 2019-11-11T12:08:30 #kisslinux <claudia1> n1. well that escalated quickly :D 2019-11-11T12:28:05 #kisslinux <dylanaraps> Almost fully setup to start recording some videos. 2019-11-11T12:35:15 #kisslinux <Crestwave> By the way, apparently `su root -c 'cmd args'` is more portable 2019-11-11T12:36:32 #kisslinux <dylanaraps> Noted. 2019-11-11T12:36:41 #kisslinux <dylanaraps> so 'su' on its own won't always use 'root'? 2019-11-11T12:38:09 #kisslinux <dylanaraps> > https://www.unix.com/man-page/v7/1/su/ 2019-11-11T12:38:25 #kisslinux <dylanaraps> This is missing flags like '-c' but it does state that no user argument will use 'root'. 2019-11-11T12:49:02 #kisslinux <Crestwave> No, it will, but not when `-c` is used 2019-11-11T12:49:02 #kisslinux <Crestwave> https://mywiki.wooledge.org/BashPitfalls#su_-c_.27some_command.27 2019-11-11T12:50:10 #kisslinux <E5ten> I know it's not in kiss repos, but as Qt guy myself I figured I'd put this info out there for anyone who might be interested, I got rid of the perl makedep for Qt things (at least the ones I use), all those perl makedeps come from one perl script in qt5-base, findclasslist.pl, and can be removed by building qt5-base with the following modification, replacing the word perl in "mkspecs/features/qt_module.prf" with awk -f, and 2019-11-11T12:50:11 #kisslinux <E5ten> the .pl extension listed in that file with .awk, and then replacing mkspecs/features/data/unix/findclasslist.pl with that but with an awk extension, using this as the awk script http://ix.io/21sw sorry if this is useless to everyone but I hate perl makedeps and I figured being able to build more stuff with less could be useful 2019-11-11T12:50:19 #kisslinux <E5ten> * I know it's not in kiss repos, but as a Qt guy myself I figured I'd put this info out there for anyone who might be interested, I got rid of the perl makedep for Qt things (at least the ones I use), all those perl makedeps come from one perl script in qt5-base, findclasslist.pl, and can be removed by building qt5-base with the following modification, replacing the word perl in "mkspecs/features/qt_module.prf" with awk -f, 2019-11-11T12:50:20 #kisslinux <E5ten> and the .pl extension listed in that file with .awk, and then replacing mkspecs/features/data/unix/findclasslist.pl with that but with an awk extension, using this as the awk script http://ix.io/21sw sorry if this is useless to everyone but I hate perl makedeps and I figured being able to build more stuff with less could be useful 2019-11-11T12:50:56 #kisslinux <dylanaraps> Nice 2019-11-11T12:51:11 #kisslinux <dylanaraps> A better place for this info is an issue in the community repository. :) 2019-11-11T12:51:21 #kisslinux <dylanaraps> I don't want it to get lost in the logs here. 2019-11-11T12:51:43 #kisslinux <E5ten> but I'm such a lazy boy :( 2019-11-11T12:52:30 #kisslinux <E5ten> I'll do it 2019-11-11T12:52:54 #kisslinux <dylanaraps> That's the spirit 2019-11-11T12:56:27 #kisslinux <dylanaraps> brb 2019-11-11T12:57:41 #kisslinux <E5ten> I only started learning awk super recently and it's been such a godsend for removing perl makedeps, I'm kicking myself for not learning it way earlier and solely attempting to remove perl makedeps with bash or sh scripts 2019-11-11T13:52:19 #kisslinux <xmmmgjh> Hi! I just wanted to let you know that, while the name is funny enough in English, it gets even better in Swedish: "kiss" is a synonym for "piss", and even the website translates to goatpiss.org. Have a nice day! 2019-11-11T14:42:18 #kisslinux <konimex> dylan: at this point you may want to add the Swedish translation of getkiss in either Testimonials or FAQ 2019-11-11T14:42:31 #kisslinux <konimex> or even the frontpage 2019-11-11T16:01:54 #kisslinux <dylanaraps> konimex: I already have. 2019-11-11T16:02:12 #kisslinux <dylanaraps> It's 3rd in the list. 2019-11-11T16:33:20 #kisslinux <dylanaraps> hello 2019-11-11T17:09:25 #kisslinux <dylanaraps> Heads up: dylan⊙go is now live. 2019-11-11T17:09:29 #kisslinux <dylanaraps> :D 2019-11-11T17:54:27 #kisslinux <stee> dylanarap: When booting, I get "can't create directory '/run/': read-only file system" 2019-11-11T17:54:43 #kisslinux <stee> did I do something wrong? 2019-11-11T18:08:55 #kisslinux <dylanaraps> The directory should exist on boot. What you can do is create it after boot. (mkdir -p /run) as root. 2019-11-11T18:08:59 #kisslinux <dylanaraps> I'm looking into it. 2019-11-11T18:10:22 #kisslinux <dylanaraps> Yup. Latest KISS tarball is missing /run. 2019-11-11T18:10:25 #kisslinux <dylanaraps> Will fix. 2019-11-11T18:13:20 #kisslinux <dylanaraps> stee: 2019-11-11T18:23:35 #kisslinux <dylanaraps> Releasing a new kiss-chroot now. 2019-11-11T18:23:54 #kisslinux <dylanaraps> In the meantime, all you need to do is create /run. 2019-11-11T18:24:01 #kisslinux <dylanaraps> Apologies. 2019-11-11T18:27:01 #kisslinux <stee> dylanarap: cool, np 2019-11-11T18:42:57 #kisslinux <stee> dylanaraps: the link to the logs in the TOPIC is wrong. should be freenode.logbot.info 2019-11-11T18:43:10 #kisslinux <stee> oops, dylanarap: 2019-11-11T18:43:28 #kisslinux <stee> oh wait, my irc client probably cut it off 2019-11-11T18:43:29 #kisslinux <stee> dang 2019-11-11T18:43:36 #kisslinux <KayW> yeah it did 2019-11-11T18:43:41 #kisslinux <KayW> its right on my screen 2019-11-11T18:43:45 #kisslinux <stee> sorry sorry 2019-11-11T18:43:50 #kisslinux <stee> <-- n00b 2019-11-11T18:44:10 #kisslinux <stee> using irssi, for the record 2019-11-11T18:44:31 #kisslinux <KayW> I couldnt use irrsi, im using Weechat atm and it works hella great 2019-11-11T18:45:03 #kisslinux <dylanaraps> I'm using weechat too. 2019-11-11T18:45:39 #kisslinux <dylanaraps> Fixed /run: https://github.com/kisslinux/repo/releases/tag/1.3.2 2019-11-11T18:45:42 #kisslinux <stee> ahh, im not on kiss yet, still setting it up on my laptop 2019-11-11T18:45:59 #kisslinux <stee> using Fedora on my work machine 2019-11-11T18:52:39 #kisslinux <thatpythonguy> weechat is indeed nice 2019-11-11T18:54:00 #kisslinux <dylanaraps> I really wonder why irssi depends on glib though. 2019-11-11T18:55:04 #kisslinux <dylanaraps> I started writing an IRC client in pure bash fyi. https://github.com/dylanaraps/birch 2019-11-11T18:55:15 #kisslinux <dylanaraps> Needs some work but it's tiny. 2019-11-11T18:56:20 #kisslinux <stee> dylanarap: do you prefer people ask questions in reddit? 2019-11-11T18:56:39 #kisslinux <dylanaraps> It's up to you. 2019-11-11T18:56:44 #kisslinux <stee> okay thanks 2019-11-11T18:56:46 #kisslinux <dylanaraps> If I'm online, IRC is probably better. 2019-11-11T18:56:50 #kisslinux <stee> k 2019-11-11T18:56:59 #kisslinux <dylanaraps> Since we can chat instantly. 2019-11-11T18:57:26 #kisslinux <dylanaraps> If it's a bug I'd open an issue on GitHub. 2019-11-11T18:57:41 #kisslinux <dylanaraps> Ultimately it's up to you though. 2019-11-11T19:00:51 #kisslinux <stee> where are the fonts for the console? I'd like to increase the size... 2019-11-11T19:03:30 #kisslinux <dylanaraps> Download one and set it. KISS doesn't come with additional fonts. I personally use terminus (ter-u32n.psf.gz) on my 3200x1800 display. I'll add packaging terminus and a Wiki page about console fonts to my TODO. 2019-11-11T19:04:31 #kisslinux <stee> dylanarap: sounds good 2019-11-11T19:05:15 #kisslinux <dylanaraps> I have this in my .profile to load the font: [ "$DISPLAY" ] || setfont ~/ter-u32n.psf.gz 2019-11-11T19:05:29 #kisslinux <dylanaraps> Ignore the lazy location for it. :P 2019-11-11T19:05:34 #kisslinux <stee> ha, okay 2019-11-11T19:05:56 #kisslinux <dylanaraps> Ideally you'd set this in /etc/inittab. 2019-11-11T19:12:31 #kisslinux <dylanaraps> > Significantly improved the font build scripts. Python 3.5.0 or node 6.9.0 are now required to build the font. 2019-11-11T19:12:34 #kisslinux <dylanaraps> Oh god 2019-11-11T19:12:50 #kisslinux <dylanaraps> Oh, it's an "or" phew. 2019-11-11T19:13:15 #kisslinux <stee> haha 2019-11-11T19:14:35 #kisslinux <thatpythonguy> dylanaraps, just stumbled across your bum tool. I was literally just looking for a tool that does this, thank you. 2019-11-11T19:14:53 #kisslinux <dylanaraps> np :) 2019-11-11T19:15:29 #kisslinux <thatpythonguy> i was about to go through and scrape album art for all my music, which would've been way more work lol 2019-11-11T19:15:59 #kisslinux <thatpythonguy> how difficult was it to package via pip? 2019-11-11T19:16:18 #kisslinux <dylanaraps> Not hard at all really. 2019-11-11T19:16:32 #kisslinux <dylanaraps> The magic happens here: https://github.com/dylanaraps/bum/blob/master/setup.py 2019-11-11T19:16:47 #kisslinux <dylanaraps> Then it's just a matter of using the cmdline client to upload to pypi. 2019-11-11T19:17:09 #kisslinux <thatpythonguy> that's awesome. 2019-11-11T19:18:02 #kisslinux <thatpythonguy> dylanaraps, have you seen the bonsai.sh tool i made? i feel like you would like it 2019-11-11T19:19:44 #kisslinux <thatpythonguy> also i'm gonna open a merge request against bum to include the default values in the help message 2019-11-11T19:20:01 #kisslinux <dylanaraps> Sounds good. 2019-11-11T19:20:05 #kisslinux <dylanaraps> Will take a look at bonsai.sh 2019-11-11T19:21:35 #kisslinux <dylanaraps> stee: Almost done with packaging terminus-font. 2019-11-11T19:25:31 #kisslinux <dylanaraps> Done: https://github.com/kisslinux/community/commit/56c74c88f437a6750813ca47fa9f9172b06de336 2019-11-11T19:25:34 #kisslinux <dylanaraps> Wiki page is next. 2019-11-11T19:25:54 #kisslinux <stee> dylanarap: that was fast, thank you 2019-11-11T19:26:31 #kisslinux <dylanaraps> You caught me at a good time. ;) 2019-11-11T19:26:37 #kisslinux <stee> haha 2019-11-11T19:27:28 #kisslinux <thatpythonguy> dylanaraps, why do you use GitHub over GitLab? 2019-11-11T19:29:00 #kisslinux <dylanaraps> I don't really see a need in swapping (I've been on GitHub since 2015). 2019-11-11T19:29:47 #kisslinux <dylanaraps> I also don't see GitLab as being any better than GitHub (in all aspects). The ideal situation is to eventually self-host everything. 2019-11-11T19:30:56 #kisslinux <dylanaraps> The one benefit GitHub has over GitLab (in my eyes at least) is that it has the majority marketshare. 2019-11-11T19:31:11 #kisslinux <dylanaraps> I'd rather have the most exposure possible in this context. 2019-11-11T19:35:10 #kisslinux <thatpythonguy> GitLab is self-hostable and open source (core, i believe), GitHub is not. GitHub definitely has the upper hand in exposure. 2019-11-11T19:36:27 #kisslinux <dylanaraps> GitLab's website isn't open source though. 2019-11-11T19:36:38 #kisslinux <dylanaraps> Self-hosted, I agree. 2019-11-11T19:37:39 #kisslinux <dylanaraps> (ie there's no way to verify that GitLab's website instance matches the source code) 2019-11-11T19:38:14 #kisslinux <thatpythonguy> ah i see. I've heard Gitea is taking off and is gonna be federated, too. are you familiar with the 'federation'? 2019-11-11T19:38:28 #kisslinux <dylanaraps> Yup. 2019-11-11T19:40:20 #kisslinux <thatpythonguy> i've just recently learned of it, it seems like a very interesting and promising thing 2019-11-11T19:41:46 #kisslinux <stee> Gitea is nice. moved from Gitlab recently; it got too big 2019-11-11T19:42:39 #kisslinux <dylanaraps> Their site sadly connects to Google (googletagmanager). 2019-11-11T19:42:59 #kisslinux <stee> dang 2019-11-11T19:43:38 #kisslinux <dylanaraps> They also use set-cookie tracking headers (at least according to Privacy Possum). 2019-11-11T19:44:04 #kisslinux <dylanaraps> Self-hosted it should be fine though. 2019-11-11T19:44:25 #kisslinux <thatpythonguy> stee, what do you mean it got too big? that by itself isn't bad 2019-11-11T19:44:35 #kisslinux <dylanaraps> It also uses service workers. :( 2019-11-11T19:46:24 #kisslinux <stee> thatpytho: over time they kept adding stuff. it's a whole CI/CD system now. I just needed basic Github-like funcitonality. Upgrades got harder too 2019-11-11T19:47:11 #kisslinux <stee> it is a rails app plus a bunch of other ruby stuff 2019-11-11T19:47:14 #kisslinux <thatpythonguy> stee, so it was feature creep 2019-11-11T19:47:20 #kisslinux <stee> yeah 2019-11-11T19:47:34 #kisslinux <thatpythonguy> those CI/CD features are nice though 2019-11-11T19:47:38 #kisslinux <thatpythonguy> for some things 2019-11-11T19:47:56 #kisslinux <stee> yeah could be useful 2019-11-11T19:47:59 #kisslinux <thatpythonguy> dylanaraps, if you don't use mpd anymore, what do you use instead 2019-11-11T19:48:01 #kisslinux <thatpythonguy> mpv? 2019-11-11T19:48:56 #kisslinux <dylanaraps> mpv 2019-11-11T19:49:17 #kisslinux <dylanaraps> It's my video player, music player and image viewer. 2019-11-11T19:49:26 #kisslinux <dylanaraps> Same hotkeys for all three, really nice. 2019-11-11T19:49:52 #kisslinux <thatpythonguy> do you have a write-up about how you do that? 2019-11-11T19:50:40 #kisslinux <dylanaraps> It's this simple: https://github.com/dylanaraps/dotfiles/blob/master/mpv/.config/mpv/mpv.conf 2019-11-11T19:51:22 #kisslinux <dylanaraps> I then use 'autoload.lua' (https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua) 2019-11-11T19:54:30 #kisslinux <thatpythonguy> ok but like, there's a lot of nice features mpd has that i would want. For example, playlists and hooking up to remote http audio streams, searching music by tags, etc 2019-11-11T19:55:14 #kisslinux <dylanaraps> I require none of those features. :P 2019-11-11T19:56:11 #kisslinux <dylanaraps> mpv can do remote streams through youtube-dl. 2019-11-11T19:56:35 #kisslinux <dylanaraps> I use it to watch basically anything from Firefox in mpv. 2019-11-11T19:56:49 #kisslinux <dylanaraps> Lets me use vaapi hardware accel which is really nice. 2019-11-11T19:58:18 #kisslinux <thatpythonguy> interesting. as long as i use those features i'll stick with mpd but mpv sounds like a nice aternative 2019-11-11T19:59:00 #kisslinux <dylanaraps> My Music is all in a single directory as files. Super lazy ;) 2019-11-11T20:00:15 #kisslinux <dylanaraps> stee: https://getkiss.org/wiki/changing-the-console-font 2019-11-11T20:00:54 #kisslinux <dylanaraps> This still uses the .profile / /etc/profile method as I don't think busybox supports /etc/vconsole.conf. I need to do some further testing. Better than nothing for now though. :) 2019-11-11T20:01:43 #kisslinux <dylanaraps> Actually, the linux console may automatically pick the larger font (as of 5.3+). Will do a reboot to test once I finish my current builds. 2019-11-11T20:03:53 #kisslinux <dylanaraps> Interesting: http://man7.org/linux/man-pages/man5/vconsole.conf.5.html 2019-11-11T20:04:03 #kisslinux <dylanaraps> It's a systemd standard. 2019-11-11T20:04:19 #kisslinux <dylanaraps> Using udev/eudev. 2019-11-11T20:04:35 #kisslinux <dylanaraps> It might be better to keep the profile method as it works with everything. 2019-11-11T20:09:25 #kisslinux <thatpythonguy> so when you play music, it's the same order every time and you can't choose a song, album, artist, or playlist? 2019-11-11T20:10:27 #kisslinux <dylanaraps> Either all the same or a script to randomize the list. 2019-11-11T20:10:56 #kisslinux <dylanaraps> All the same for when I want specific songs as I have the order memorized. 2019-11-11T20:14:13 #kisslinux <thatpythonguy> it surprises me you don't desire the features of mpd. to each his own 2019-11-11T20:14:36 #kisslinux <thatpythonguy> let me know what you think of bonsai.sh (gitlab.com/jallbrit/bonsai.sh) 2019-11-11T20:15:31 #kisslinux <dylanaraps> It's neat. 2019-11-11T20:15:41 #kisslinux <dylanaraps> You should swap to using [[]] though. 2019-11-11T20:15:54 #kisslinux <dylanaraps> [[ is shell syntax whereas [ is a shell builtin. 2019-11-11T20:15:57 #kisslinux <thatpythonguy> why not POSIX? 2019-11-11T20:16:04 #kisslinux <dylanaraps> You're using bash regardless. 2019-11-11T20:16:10 #kisslinux <dylanaraps> May as well make the most of it. 2019-11-11T20:16:18 #kisslinux <thatpythonguy> this is true. others have said the same thing. 2019-11-11T20:16:41 #kisslinux <dylanaraps> Were you using #!/bin/sh, [ or test would be the only option. 2019-11-11T20:17:18 #kisslinux <thatpythonguy> i see 2019-11-11T20:17:35 #kisslinux <dylanaraps> Run it through shellcheck too. 2019-11-11T20:17:58 #kisslinux <thatpythonguy> i have done that, shellcheck breaks on the strange variable range check syntax 2019-11-11T20:18:13 #kisslinux <dylanaraps> Which line? 2019-11-11T20:18:20 #kisslinux <thatpythonguy> past that, i believe i was satisfied with its other complaints 2019-11-11T20:18:32 #kisslinux <thatpythonguy> starting on 164 2019-11-11T20:18:54 #kisslinux <dylanaraps> Why do you have 2>/dev/null inside []? 2019-11-11T20:19:03 #kisslinux <thatpythonguy> to be quite honest i do not remember 2019-11-11T20:19:14 #kisslinux <thatpythonguy> it was a strange syntax but it works 2019-11-11T20:19:17 #kisslinux <dylanaraps> Never seen that before. 2019-11-11T20:19:43 #kisslinux <dylanaraps> You can use: if ((var == var)) for arithmetic. 2019-11-11T20:19:52 #kisslinux <dylanaraps> No need for quotes or $. 2019-11-11T20:19:56 #kisslinux <thatpythonguy> only works for integers, no? 2019-11-11T20:19:58 #kisslinux <dylanaraps> Yup 2019-11-11T20:20:03 #kisslinux <dylanaraps> Same as '-eq' no? 2019-11-11T20:20:19 #kisslinux <dylanaraps> Oh, you're checking if they're ints here. 2019-11-11T20:20:20 #kisslinux <thatpythonguy> i think this particular syntax works for floats 2019-11-11T20:20:31 #kisslinux <thatpythonguy> it had to do with ints vs floats or somehing 2019-11-11T20:21:00 #kisslinux <dylanaraps> See: https://github.com/dylanaraps/pure-sh-bible#check-if-a-number-is-an-integer 2019-11-11T20:21:48 #kisslinux <dylanaraps> You could do: if is_int "$var" 2019-11-11T20:22:21 #kisslinux <dylanaraps> Or just: if printf %d "$var" >/dev/null 2>&1 2019-11-11T20:22:27 #kisslinux <dylanaraps> If you don't want to use a function. 2019-11-11T20:27:32 #kisslinux <thatpythonguy> neither ((var == var)) or -eq works for integer checking 2019-11-11T20:27:40 #kisslinux <thatpythonguy> printf does though 2019-11-11T20:32:00 #kisslinux <dylanaraps> Neat 2019-11-11T20:37:43 #kisslinux <thatpythonguy> dylanaraps, what do you do for work? 2019-11-11T20:38:27 #kisslinux <thatpythonguy> and why do you not use Riot/Matrix for chat? it seems like the future 2019-11-11T20:40:49 #kisslinux <dylanaraps> Privacy concerns. 2019-11-11T20:41:18 #kisslinux <dylanaraps> See: https://github.com/libremonde-org/paper-research-privacy-matrix.org 2019-11-11T20:44:21 #kisslinux <dylanaraps> Note: This IRC is 100% public and no account is needed to communicate and read messages here. 2019-11-11T20:44:29 #kisslinux <dylanaraps> This is by design though. 2019-11-11T20:45:03 #kisslinux <dylanaraps> Were we to swap to something with a privacy focus, I'd want it to be legitimate. 2019-11-11T20:45:44 #kisslinux <dylanaraps> Though for development of something open source I value transparency and accessibility over the privacy of communication here. 2019-11-11T20:45:59 #kisslinux <dylanaraps> s/here// 2019-11-11T21:16:13 #kisslinux <Shyiskhar> Also, switching to a new chat protocol because it's "the future" when it doesn't really bring anything incredibly worthwhile to the table except polish seems like an odd choice... 2019-11-11T21:16:18 #kisslinux <Shyiskhar> IRC is awesome. 2019-11-11T21:17:04 #kisslinux <dylanaraps> Bingo. IRC is simple. 2019-11-11T21:24:29 #kisslinux <dylanaraps> Firefox 71.0b8 finally built... 2019-11-11T21:35:23 #kisslinux <konimex> since /etc/vconsole.conf is actually a shell-compatible variable assigment, it's an eval (unfortunately) away (. /etc/vconsole.conf; setfont $FONT) 2019-11-11T21:35:54 #kisslinux <konimex> I don't know busybox's default directory for their own "setfont" though 2019-11-11T21:38:32 #kisslinux <dylanaraps> OR: 2019-11-11T21:38:35 #kisslinux <dylanaraps> while read -r line; do 2019-11-11T21:38:37 #kisslinux <dylanaraps> export "$line" 2019-11-11T21:38:39 #kisslinux <dylanaraps> done < /etc/vconsole.conf 2019-11-11T21:38:51 #kisslinux <dylanaraps> Treats everything after '=' as a plain-text value. 2019-11-11T21:41:40 #kisslinux <konimex> won't it persist on launching another shell though? (e.g. when I login the $FONT value will linger in my shell) 2019-11-11T21:42:20 #kisslinux <dylanaraps> Not if it's wrapped in (). 2019-11-11T21:42:29 #kisslinux <dylanaraps> Better than an eval (as root). 2019-11-11T21:43:45 #kisslinux <dylanaraps> The other option is to hardcode each possible key. 2019-11-11T21:43:55 #kisslinux <dylanaraps> Which also doubles as error handling. 2019-11-11T21:44:44 #kisslinux <konimex> >hardcode each possible key 2019-11-11T21:44:50 #kisslinux <konimex> how do we do that? 2019-11-11T21:44:58 #kisslinux <dylanaraps> while IFS='=' read -r key val && [ "$val" ]; do 2019-11-11T21:45:00 #kisslinux <dylanaraps> case $key in 2019-11-11T21:45:02 #kisslinux <dylanaraps> FONT) setfont "$val" ;; 2019-11-11T21:45:04 #kisslinux <dylanaraps> esac 2019-11-11T21:45:06 #kisslinux <dylanaraps> done < /etc/vconsole.conf 2019-11-11T21:45:20 #kisslinux <konimex> huh, way better 2019-11-11T21:45:39 #kisslinux <dylanaraps> There's only 5 possible keys anyway. 2019-11-11T21:46:08 #kisslinux <konimex> I don't think systemd (at least) will read anything else apart of those 5 so yeah that should be possible 2019-11-11T21:50:59 #kisslinux <dylanaraps> Void seems to only handle FONT/KEYMAP. 2019-11-11T21:53:57 #kisslinux <stee> dylanarap: console font fix worked. used /etc/profile 2019-11-11T21:54:39 #kisslinux <dylanaraps> Nice 2019-11-11T21:55:07 #kisslinux <dylanaraps> > 71_0b9_BUILD1 2019-11-11T21:55:11 #kisslinux <dylanaraps> I just build b8 2019-11-11T21:55:16 #kisslinux <dylanaraps> :( 2019-11-11T21:55:18 #kisslinux <stee> B] 2019-11-11T21:55:22 #kisslinux <dylanaraps> built* 2019-11-11T21:59:21 #kisslinux <dylanaraps> Interesting: https://github.com/mozilla/gecko-dev/blob/beff0653f437eefe05a1a6386d8f3de3c42506b2/mozglue/dllservices/WindowsDllBlocklistDefs.in 2019-11-11T21:59:28 #kisslinux <dylanaraps> Firefox has a DLL blocklist on Windows.