2019-12-03T00:00:30 #kisslinux I hope I can contribute someday 2019-12-03T00:02:08 #kisslinux Sounds good :) 2019-12-03T02:20:55 #kisslinux suppose i have this: 2019-12-03T02:21:06 #kisslinux `su {` 2019-12-03T02:21:17 #kisslinux ` su -c "$*"` 2019-12-03T02:21:23 #kisslinux `}` 2019-12-03T02:22:04 #kisslinux how should i sanitize arguments having special characters like `'` or `|`? 2019-12-03T02:23:28 #kisslinux commands like `su wpa_passphrase 'name' 'pass' >> /etc/blah/blah` won't work and i have to escape the `'`s everytime 2019-12-03T03:28:23 #kisslinux assuming ` means backticks, why not use $()? 2019-12-03T04:00:56 #kisslinux lieuxnoir: What shell is that? 2019-12-03T04:02:34 #kisslinux Why not use an alias? 2019-12-03T04:04:23 #kisslinux dylanaraps: LC_CTYPE=C is needed to consider characters as single-byte 2019-12-03T04:05:54 #kisslinux It would be faster if you used a regular variable instead of running `set` each time, although I'm not sure how much the difference is for that program 2019-12-03T04:18:46 #kisslinux Also, maybe consider (it's up to preference, just consider) [:alnum:]? 2019-12-03T05:38:51 #kisslinux @koni 2019-12-03T05:39:14 #kisslinux konimex: no, i just surrounded them with backticks 2019-12-03T05:39:32 #kisslinux i was referring to single quotes and pipe symbols 2019-12-03T05:40:22 #kisslinux su { su -c "$*" } 2019-12-03T05:40:38 #kisslinux now if i run 2019-12-03T05:41:07 #kisslinux su wpa_passphrase 'somename' 'somepassword' 2019-12-03T05:41:32 #kisslinux the single quotations will ruin the command 2019-12-03T05:42:06 #kisslinux because sometimes i have to use them because special characters like $ gets read as variables when im using them as passwords 2019-12-03T05:42:40 #kisslinux something like myhardpassword123withspecialchars@#$@#$@#% 2019-12-03T05:42:51 #kisslinux so i have to use single quotes 2019-12-03T05:43:12 #kisslinux i don't know 2019-12-03T05:43:16 #kisslinux maybe im missing something 2019-12-03T05:47:16 #kisslinux @dylanaraps: will you be replacing wpa_supplicant with eiwd anytime soon? 2019-12-03T06:08:02 #kisslinux lieuxnoir: Can you answer my questions? 2019-12-03T08:25:07 #kisslinux lieuxnoir: You can just swap it out really easily. 2019-12-03T08:25:51 #kisslinux Once eiwd is more mature I'll add it to the installation guide alongside wpa_supplicant/dhcpcd. 2019-12-03T10:11:32 #kisslinux Crestwave: it's busybox ash 2019-12-03T10:11:38 #kisslinux @cres 2019-12-03T10:12:21 #kisslinux Crestwave: because i might add something to the function that could sanitize the arguments 2019-12-03T10:26:36 #kisslinux alias su='su -c "$*"' does not work 2019-12-03T10:52:45 #kisslinux That's not valid ash? 2019-12-03T10:53:06 #kisslinux You're missing the parenthesis in the function declaration and a command separator before the closing brace 2019-12-03T10:53:24 #kisslinux Additionally, you're naming the function the same thing as the command you're executing, so it would inifitely recurse 2019-12-03T10:53:52 #kisslinux That's also not how you use aliases 2019-12-03T10:54:01 #kisslinux It's `alias su='su -c'` 2019-12-03T10:54:46 #kisslinux Although I would personally name it something else like `alias sudo='su -c'` 2019-12-03T10:55:08 #kisslinux thanks, but im asking on how to properly escape special characters on a command 2019-12-03T10:55:30 #kisslinux printf %q or ${var@Q} on Bash 2019-12-03T10:56:31 #kisslinux can i do it something like this on my current function? 2019-12-03T10:56:42 #kisslinux command=$(printf %q "$*") 2019-12-03T10:56:50 #kisslinux then su -c $command 2019-12-03T10:56:53 #kisslinux ? 2019-12-03T10:57:10 #kisslinux That would subject it to word splitting and globbing 2019-12-03T10:57:48 #kisslinux yes, you're right 2019-12-03T10:57:56 #kisslinux Wait 2019-12-03T10:58:06 #kisslinux but in order for `su -c` to properly work 2019-12-03T10:58:13 #kisslinux Since it quotes it globbing and such should be fine. 2019-12-03T10:58:23 #kisslinux the commands should be enclosed in single quotations 2019-12-03T10:58:32 #kisslinux You should probably use `command=$(printf %q "$@")`, though 2019-12-03T10:59:18 #kisslinux Hm or printf ' %q' "$@" 2019-12-03T11:00:19 #kisslinux su invalid option 'b' 2019-12-03T11:00:26 #kisslinux Wait couldn't you just use sudo() { su -c "$@"; } in the first place? 2019-12-03T11:00:48 #kisslinux Ah the problem is that you need to quote arguments to su, then quote it again 2019-12-03T11:00:49 #kisslinux yes i can 2019-12-03T11:01:30 #kisslinux yes, exactly 2019-12-03T11:01:44 #kisslinux using your function 2019-12-03T11:02:06 #kisslinux and together with wpa_passphrase 2019-12-03T11:02:18 #kisslinux it'll look something like 2019-12-03T11:03:17 #kisslinux sudo wpa_passphrase 'SSID' 'pa$$wordwithspecialchars' 2019-12-03T11:04:50 #kisslinux I'm getting confused by all this but `sudo() { cmd=$1; shift; args=$(printf %q "$*"); su -c "$cmd $args"; }` should work, I think? 2019-12-03T11:05:03 #kisslinux Nope 2019-12-03T11:06:45 #kisslinux if the command issued in su is not enclosed in single quotes, it will not work 2019-12-03T11:06:57 #kisslinux su -c command works 2019-12-03T11:07:06 #kisslinux su -c command args will not 2019-12-03T11:07:20 #kisslinux su -c 'command args' will work 2019-12-03T11:07:43 #kisslinux Well `sudo() { su -c "${*@Q}"; }` works in Bash, I think. I'm just getting confused translating it to POSIX 2019-12-03T11:08:14 #kisslinux Because printf %q would escape the spaces between arguments 2019-12-03T11:09:40 #kisslinux Try `sudo() { su -c "$(printf ' %q' "$@")"; }` 2019-12-03T11:10:11 #kisslinux Hah that's actually what I said earlier. Seems to work, though 2019-12-03T11:33:25 #kisslinux what's the difference between $@ and $* 2019-12-03T11:33:31 #kisslinux they seem to work the same 2019-12-03T12:05:01 #kisslinux lieuxnoir: '$@' expands each element and '$*' expands to the argument list as a single string (split on IFS). 2019-12-03T12:05:18 #kisslinux Man I worded that badly 2019-12-03T14:04:08 #kisslinux E5ten: I've made iwd populate a file (/var/lib/iwd/scan) with the scan results (updated on each scan). 2019-12-03T14:04:45 #kisslinux Looks like this: https://termbin.com/r6w1 2019-12-03T14:05:21 #kisslinux It's a start and I'm lazy 2019-12-03T14:05:23 #kisslinux :^) 2019-12-03T14:10:51 #kisslinux will there be any errors if I update linux-headers but not the kernel? 2019-12-03T14:11:45 #kisslinux There shouldn't be. What's the version difference like. 2019-12-03T14:12:01 #kisslinux ?* 2019-12-03T14:12:11 #kisslinux i'm running kernel 5.4 and the latest headers(and kernel) version is 5.4.1 2019-12-03T14:12:39 #kisslinux It's fine. 2019-12-03T14:12:52 #kisslinux I see. Thanks 2019-12-03T14:13:08 #kisslinux The only time you might have trouble is with a larger version gap. 2019-12-03T14:13:27 #kisslinux 3.X.X->4.X.X->5.X.X 2019-12-03T14:13:38 #kisslinux Though it could still work regardless. 2019-12-03T14:13:50 #kisslinux noted 2019-12-03T14:13:56 #kisslinux i won't be waiting this long anyway 2019-12-03T14:14:00 #kisslinux You can always lock the package version if you like. 2019-12-03T14:14:10 #kisslinux The headers are forwards compatible. 2019-12-03T14:28:45 #kisslinux tmux is failing to build for me 2019-12-03T14:29:09 #kisslinux Error message? 2019-12-03T14:29:35 #kisslinux https://pst.moe/paste/emvxko 2019-12-03T14:30:55 #kisslinux Hm. Builds fine for me. 2019-12-03T14:31:24 #kisslinux Default package? No changes made to it? 2019-12-03T14:31:41 #kisslinux yes it's the default package 2019-12-03T14:31:46 #kisslinux didn't make any changes 2019-12-03T14:31:55 #kisslinux ran an update now and saw that it failed 2019-12-03T14:32:22 #kisslinux Found this: https://github.com/tmux/tmux/issues/39 2019-12-03T14:32:58 #kisslinux Very helpful... 2019-12-03T14:35:12 #kisslinux took me a full minute to find out why it was showing that issue as being referenced in the other thread 2019-12-03T14:35:39 #kisslinux Lol yeah 2019-12-03T14:35:56 #kisslinux The file containing the error hasn't seen changes in 9 months fyi. 2019-12-03T14:35:59 #kisslinux Odd. 2019-12-03T14:36:50 #kisslinux Which version are you trying to build? 2019-12-03T14:37:10 #kisslinux tmux 3.0-1 ==> 3.0a-1 2019-12-03T14:37:20 #kisslinux something is weird 2019-12-03T14:37:38 #kisslinux -> sudo kiss update 2019-12-03T14:37:41 #kisslinux -> Updating repositories 2019-12-03T14:37:43 #kisslinux -> Checking for new package versions 2019-12-03T14:37:45 #kisslinux !> $KISS_PATH needs to be set 2019-12-03T14:37:47 #kisslinux /usr/bin/kiss: line 846: can't open /version: no such file 2019-12-03T14:37:56 #kisslinux works if I use su and then kiss update 2019-12-03T14:38:06 #kisslinux Don't run kiss as root. 2019-12-03T14:38:19 #kisslinux ah 2019-12-03T14:39:30 #kisslinux let me try the build script for version 3.0-1 2019-12-03T14:39:36 #kisslinux see if that is compiling 2019-12-03T14:42:12 #kisslinux how can I try an older version in kiss? 2019-12-03T14:42:17 #kisslinux git checkout? 2019-12-03T14:49:38 #kisslinux revert the commit by checking out the previous commit, run 'kiss b tmux' and then checkout master again. 2019-12-03T14:49:57 #kisslinux Or clone the repositories again, checkout the commit and build from the newly cloned repo. 2019-12-03T14:50:03 #kisslinux There's a lot of ways to do it. 2019-12-03T14:52:06 #kisslinux it is failing for 3.0 as well 2019-12-03T14:55:29 #kisslinux i think i know what it is 2019-12-03T14:55:38 #kisslinux i just updated linux-firmware 2019-12-03T14:55:54 #kisslinux checking the configure log of tmux i see this line: 2019-12-03T14:56:03 #kisslinux >checking for util.h... no 2019-12-03T14:56:50 #kisslinux So util.h is missing from the latest headers? 2019-12-03T14:58:22 #kisslinux idk. i'll update my kernel to 5.4.1 and reboot 2019-12-03T14:58:28 #kisslinux will see how it goes then 2019-12-03T14:58:38 #kisslinux OK 2019-12-03T14:59:28 #kisslinux brb 2019-12-03T15:01:44 #kisslinux dylanaraps: i think i got your brightness script working 2019-12-03T15:02:04 #kisslinux because i noticed that it was setting wrong values 2019-12-03T15:02:47 #kisslinux can you check if this is okay: 2019-12-03T15:03:39 #kisslinux `bri=$((cur ${2:-=} max * $1 / 100))` 2019-12-03T15:35:54 #kisslinux dylanaraps, tmux is still not building 2019-12-03T15:36:26 #kisslinux Interesting. You might want to open an issue upstream. 2019-12-03T15:36:33 #kisslinux Is that util.h file indeed missing? 2019-12-03T15:36:34 #kisslinux cool 2019-12-03T15:37:45 #kisslinux i don't see it in /usr/include/linux 2019-12-03T15:39:43 #kisslinux Let me check mine. 2019-12-03T15:40:05 #kisslinux I don't have it either and tmux builds. 2019-12-03T15:43:31 #kisslinux i'll open an issue on their github in a few hours 2019-12-03T15:46:28 #kisslinux Sounds good 2019-12-03T16:04:11 #kisslinux dylanaraps do you also use udev rules to control the backlight? 2019-12-03T16:07:37 #kisslinux Nope 2019-12-03T16:07:57 #kisslinux printf %s "$bri" > "$bri_path/brightness" 2019-12-03T16:08:00 #kisslinux From my script. 2019-12-03T16:08:21 #kisslinux but doesn't it need root? 2019-12-03T16:08:33 #kisslinux > ::once:/bin/chmod a+rw /sys/class/backlight/intel_backlight/brightness 2019-12-03T16:08:37 #kisslinux In my /etc/inittab. 2019-12-03T16:09:01 #kisslinux Sets the write permission at boot. 2019-12-03T16:09:32 #kisslinux ah, neat 2019-12-03T16:12:52 #kisslinux Nice (about the scan results thing) 2019-12-03T16:18:29 #kisslinux Yup 2019-12-03T16:18:42 #kisslinux Also now populates a file with the currently connected SSID. 2019-12-03T16:26:24 #kisslinux 👍️ 2019-12-03T16:33:35 #kisslinux oh no wonder my backlight control hasn't been working, I'm an idiot, I didn't do anything with mdev to give myself perms after switching off udev 2019-12-03T16:53:03 #kisslinux lol 2019-12-03T17:03:37 #kisslinux 10/10 compiler warning Firefox 2019-12-03T17:03:39 #kisslinux > note: ‘*((void*)(& r)+56).js 2019-12-03T17:04:09 #kisslinux I'm building 72.0b1 now. 2019-12-03T17:04:22 #kisslinux Had to rewrite a bunch of patches. 2019-12-03T17:04:34 #kisslinux There's a lot more rust shit in this version. 2019-12-03T17:04:39 #kisslinux Still Python 2 :( 2019-12-03T17:04:48 #kisslinux :( 2019-12-03T17:04:56 #kisslinux how much python2 though 2019-12-03T17:05:52 #kisslinux The Firefox codebase contains around 500,000 lines of Python 2 2019-12-03T17:05:58 #kisslinux Dunno how much has been ported 2019-12-03T17:06:01 #kisslinux jesusss 2019-12-03T17:06:08 #kisslinux Hang on 2019-12-03T17:06:16 #kisslinux I've got a link to a blog post by a mozilla dev 2019-12-03T17:06:19 #kisslinux You'll like it 2019-12-03T17:06:36 #kisslinux I'm scared 2019-12-03T17:06:57 #kisslinux > In mozilla-central there are over 3500 Python files (excluding third party files), comprising roughly 230k lines of code. Additionally there are 462 repositories labelled with Python in the Mozilla org on Github 2019-12-03T17:07:10 #kisslinux https://ahal.ca/blog/2019/python-3-at-mozilla/ 2019-12-03T17:07:18 #kisslinux My number was off. :P 2019-12-03T17:09:12 #kisslinux the real solution shouldn't be python2-->python3 it should be purging python :>) 2019-12-03T17:18:02 #kisslinux Of course 2019-12-03T17:39:07 #kisslinux why does curl have a make dep on perl? 2019-12-03T17:41:40 #kisslinux and for a less kisslinux specific question, why does perl exist? 2019-12-03T19:17:05 #kisslinux [ 2019-12-03T19:18:30 #kisslinux E5ten: Does curl not need perl? 2019-12-03T19:19:16 #kisslinux Ooo 2019-12-03T19:19:19 #kisslinux Fixed 2019-12-03T19:19:55 #kisslinux My Firefox beta build failed. :( 2019-12-03T19:30:32 #kisslinux damn :( 2019-12-03T19:31:08 #kisslinux I didn't keep logs either :^) 2019-12-03T19:31:17 #kisslinux Running it again now. 2019-12-03T19:31:30 #kisslinux (I don't use scrollback in my terminals) 2019-12-03T19:32:48 #kisslinux yeah scrollbackless terminals are uh a little too far into the simple zone for me 2019-12-03T19:36:36 #kisslinux I just pipe to 'less' or use '| tee file' to display to the terminal and save to a file. 2019-12-03T19:39:06 #kisslinux For something as simple as a terminal, man do most terminal emulators get it wrong. 2019-12-03T19:39:14 #kisslinux VTE based terminals are terrible. 2019-12-03T19:39:40 #kisslinux I use alacritty 2019-12-03T19:39:54 #kisslinux Is it really as fast as it claims to be? 2019-12-03T19:40:05 #kisslinux Yeah 2019-12-03T19:40:10 #kisslinux It's definitely a noticeable difference 2019-12-03T19:40:17 #kisslinux Enough to keep me on it despite the rust 2019-12-03T19:40:35 #kisslinux Seen this?: https://github.com/jwilm/alacritty/pull/798 2019-12-03T19:41:09 #kisslinux More benchmarks have been done since 2019-12-03T19:41:29 #kisslinux Yeah 2019-12-03T19:41:43 #kisslinux I laugh at his reply tough 2019-12-03T19:42:04 #kisslinux And better ones too, like ones specifically designed to test elements of terminal speed 2019-12-03T19:43:09 #kisslinux Like on the thing he links he compares to urxvt kitty st and termite, and I feel like that's enough terminals for it to be a pretty conclusive statement 2019-12-03T19:43:59 #kisslinux "Alacritty, the OpenGL terminal emulator written in Rust" 2019-12-03T19:44:03 #kisslinux pass 2019-12-03T19:44:05 #kisslinux Cuz termite is probably representative of speed for all VTE terminals, and even if it isn't there's no chance the others are close to as fast cuz they aren't GPU accelerated and they're all bloated, so they don't get the speed boost st does from being light and they don't get the speed boost alacritty and kitty do from being GPU accelerated 2019-12-03T19:44:10 #kisslinux xterm would've been nice too though 2019-12-03T19:44:27 #kisslinux Despite its bloat it's surprisingly fast. 2019-12-03T19:45:54 #kisslinux Input latency is another factor: https://github.com/jwilm/alacritty/issues/673#issuecomment-459342135 2019-12-03T19:46:01 #kisslinux (Test results of various terminals) 2019-12-03T19:47:35 #kisslinux fair enough, idk where it's at in that regard right now but anecdotally I don't notice a problem with it 2019-12-03T19:48:34 #kisslinux It's been a while since I tried alacritty. 2019-12-03T19:48:40 #kisslinux I'll build it once firefox is done 2019-12-03T19:49:38 #kisslinux nice 2019-12-03T19:59:37 #kisslinux > 37:37.47 10 | #define UNISTR_FROM_STRING_EXPLICIT 2019-12-03T19:59:40 #kisslinux wew 2019-12-03T19:59:43 #kisslinux 40 minutes in. 2019-12-03T19:59:56 #kisslinux Usually takes 230 minutes. 2019-12-03T20:00:11 #kisslinux 2:30 minutes 2019-12-03T20:00:15 #kisslinux oops 2019-12-03T20:02:05 #kisslinux no ccache? 2019-12-03T20:02:17 #kisslinux I use it 2019-12-03T20:02:23 #kisslinux Doesn't support rust though. 2019-12-03T20:02:28 #kisslinux Which takes up the first hour. 2019-12-03T20:02:29 #kisslinux sccache 2019-12-03T20:02:49 #kisslinux Rust support for that is iffy too 2019-12-03T20:02:56 #kisslinux Though it is meant for Firefox 2019-12-03T20:03:07 #kisslinux There we go, rust stuff finished. 2019-12-03T20:03:10 #kisslinux > 41:56.64 Finished release [optimized] target(s) in 39m 41s 2019-12-03T20:03:27 #kisslinux I only use it for rust, definitely improves the build time a fair bit even if it's not great 2019-12-03T20:04:16 #kisslinux Oh god, the error better not be in the vendored dav1d crap 2019-12-03T20:05:56 #kisslinux because it would be stupid/annoying if it was or because it'd be harder to fix if it was and for either response, why? 2019-12-03T20:06:41 #kisslinux It just spat out an endless stream of warnings 2019-12-03T20:06:58 #kisslinux Any error is annoying for me to fix. :P 2019-12-03T20:07:07 #kisslinux OK 2019-12-03T20:07:10 #kisslinux We errored 2019-12-03T20:08:14 #kisslinux > error: duplicate case value 2019-12-03T20:08:17 #kisslinux well I meant stupid/annoying relative to the error being somewhere else not just in general 2019-12-03T20:08:26 #kisslinux ooo 2019-12-03T20:08:32 #kisslinux This might be my fault. 2019-12-03T20:08:35 #kisslinux Heh 2019-12-03T20:08:55 #kisslinux I think I rewrote a patch which isn't needed anymore. 2019-12-03T20:09:08 #kisslinux ie I added code which is now already there 2019-12-03T20:09:32 #kisslinux This is the best case 2019-12-03T20:10:05 #kisslinux nice lol 2019-12-03T20:11:27 #kisslinux > // musl libc will set this up in pthreads support. 2019-12-03T20:11:30 #kisslinux YAY 2019-12-03T20:11:36 #kisslinux A musl fix in Firefox 2019-12-03T20:11:45 #kisslinux oooo very nice 2019-12-03T20:12:14 #kisslinux Whole patch can go 2019-12-03T20:12:17 #kisslinux neat 2019-12-03T20:39:55 #kisslinux E5ten: holy shit. iwd kinda has file based IPC right now. 2019-12-03T20:40:32 #kisslinux rename the connected .psk file to .psk.bak and you immediately disconnect. 2019-12-03T20:40:38 #kisslinux (as an example) 2019-12-03T20:40:49 #kisslinux Rename it back to .psk and you immediately connect. 2019-12-03T20:41:05 #kisslinux Can very easily write a simple client around that. :^) 2019-12-03T20:41:45 #kisslinux Pair this with my changes for scan results/currently connected. :D 2019-12-03T20:42:23 #kisslinux awesome 2019-12-03T20:53:06 #kisslinux https://termbin.com/sg4h 2019-12-03T20:53:09 #kisslinux ;) 2019-12-03T20:53:28 #kisslinux Output needs aligning but it works. 2019-12-03T21:01:27 #kisslinux 👌 2019-12-03T21:16:31 #kisslinux E5ten: https://termbin.com/zpfp 2019-12-03T21:16:36 #kisslinux Very barebones right now. 2019-12-03T21:16:48 #kisslinux connect/disconnect still need some thought. 2019-12-03T21:17:30 #kisslinux very nice that it's starting to come together though 2019-12-03T21:18:29 #kisslinux Yes 2019-12-03T21:18:40 #kisslinux Through abuse of the configuration file handling 2019-12-03T21:19:15 #kisslinux :P 2019-12-03T21:25:21 #kisslinux https://termbin.com/kf0i 2019-12-03T21:27:37 #kisslinux I assume auth only deals with non-enterprise networks? 2019-12-03T21:27:50 #kisslinux Yup 2019-12-03T21:28:00 #kisslinux Even Arch recommend setting up enterprise networks by hand. 2019-12-03T21:28:13 #kisslinux Dunno if the iwctl client actually handles them. 2019-12-03T21:28:25 #kisslinux I don't think it does 2019-12-03T21:28:43 #kisslinux It's something I *could* implement. 2019-12-03T21:28:52 #kisslinux I just don't have a test network to auth with. 2019-12-03T22:10:46 #kisslinux I don't even think I mentioned this here, but when I was switching to mdev, which requires using xf86-input-{keyboard,mouse,synaptics} cuz both evdev and libinput require udev, I saw that in git master xf86-input-keyboard actually removed linux support, meaning that come next release (which could be forever away because it sees absolutely no development) xorg will not be usable without udev, period 2019-12-03T22:11:25 #kisslinux if that release ever does come I'm just gonna revert the removal though 2019-12-03T22:12:14 #kisslinux Great 2019-12-03T22:12:37 #kisslinux Good thing is that you can either revert the commit through a patch or just stick to an older release. 2019-12-03T22:12:58 #kisslinux I laugh when I see that the BSDs pull in dbus for Firefox. 2019-12-03T22:13:05 #kisslinux It's kinda crazy 2019-12-03T22:13:23 #kisslinux not a hard removal to revert cuz the os-specific things are in individual files 2019-12-03T22:14:03 #kisslinux so it's just build system changes and file removals, no C files are actually changed 2019-12-03T22:15:22 #kisslinux wow 2019-12-03T22:17:55 #kisslinux the mdev-like-a-boss guy thinks that the person/people behind the change just didn't realize that evdev and libinput both require udev, so he brought it up in #xorg-devel and hopefully it was just that they didn't realize and they're willing to revert 2019-12-03T22:24:44 #kisslinux Ah 2019-12-03T22:25:16 #kisslinux https://github.com/dylanaraps/eiwd/blob/master/iwc 2019-12-03T22:25:24 #kisslinux Initial work done 2019-12-03T22:26:23 #kisslinux that's what I'm talkin' about 2019-12-03T22:27:33 #kisslinux This can also get rid of iwd_passphrase as it automates the entire process. 2019-12-03T22:27:36 #kisslinux iwctl deals with non-root access to /var/lib/iwd through dbus right? 2019-12-03T22:27:51 #kisslinux iwctl doesn't touch the files directly iirc. 2019-12-03T22:27:53 #kisslinux iwd does 2019-12-03T22:28:03 #kisslinux ah 2019-12-03T22:28:04 #kisslinux (through messages sent via dbus) 2019-12-03T22:29:33 #kisslinux I do all of the error handling early so the functions are nice and simple. 2019-12-03T22:29:54 #kisslinux find_network() is a little messy 2019-12-03T22:30:14 #kisslinux stty echo icanon leaves me unable to press enter for some reason 2019-12-03T22:30:31 #kisslinux Huh 2019-12-03T22:30:36 #kisslinux Hang on 2019-12-03T22:30:52 #kisslinux (Should just be 'stty echo') 2019-12-03T22:31:09 #kisslinux what does icanon do? 2019-12-03T22:31:31 #kisslinux Basically, whether or not input requires 'Enter'. 2019-12-03T22:31:55 #kisslinux I use it in pash to read a single byte without Enter 2019-12-03T22:32:10 #kisslinux makes sense 2019-12-03T22:32:54 #kisslinux Replacing 20k lines of C with a simple shell script feels good 2019-12-03T22:33:09 #kisslinux I know functionality won't be 100% identical but still 2019-12-03T22:33:30 #kisslinux yeah that's pretty great 2019-12-03T22:34:40 #kisslinux Now what's tricky is disconnection. If a network conf file is moved out of /var/lib/iwd you disconnect. 2019-12-03T22:35:31 #kisslinux What happens to the conf files we leave in that directory? 2019-12-03T22:35:55 #kisslinux We can't just leave them there if that makes sense. 2019-12-03T22:36:28 #kisslinux I feel like you might have to implement more complex IPC for the connection/disconnection to not be janky... 2019-12-03T22:36:29 #kisslinux They can also just be renamed (ssid.psk -> ssid.psk.disc) 2019-12-03T22:37:12 #kisslinux like I don't love moving configs between .bak and not for connect 2019-12-03T22:38:00 #kisslinux I've figured it out. 2019-12-03T22:38:03 #kisslinux I get what you mean. 2019-12-03T22:39:14 #kisslinux I just want to push out a simple client for now. 2019-12-03T22:39:44 #kisslinux yeah that completely makes sense, I meant long term 2019-12-03T22:39:50 #kisslinux Oh yeah 2019-12-03T22:40:06 #kisslinux I still need to fully wrap my head around the codebase. 2019-12-03T22:41:06 #kisslinux I'm behind on some offline and unrelated work too. 2019-12-03T22:41:32 #kisslinux So pushing some kind of client now-ish is my priority. 2019-12-03T22:42:01 #kisslinux oh man I feel that, I've got a project due tonight at midnight and a couple due tomorrow and I just keep procrastinating 2019-12-03T22:44:19 #kisslinux Heh 2019-12-03T22:44:26 #kisslinux I have too much fun with this stuff. 2019-12-03T22:45:22 #kisslinux ikr 2019-12-03T22:47:15 #kisslinux Anything missing from the current option list? 2019-12-03T22:49:43 #kisslinux uhhh iwctl has a ton of subcommands iirc 2019-12-03T22:50:04 #kisslinux status is one of them I can remember off the top of my head 2019-12-03T22:50:51 #kisslinux In terms of things that are core functionality? 2019-12-03T22:50:54 #kisslinux The base basically. 2019-12-03T22:52:10 #kisslinux scan in iwctl triggers a scan, get-networks list currently available networks (like iwc's scan), but I don't think that or status are really doable before more complex IPC is implemented so I think this is good for now 2019-12-03T22:53:06 #kisslinux OK 2019-12-03T22:53:09 #kisslinux Thanks 2019-12-03T23:11:35 #kisslinux ooo 2019-12-03T23:11:38 #kisslinux Firefox is done 2019-12-03T23:12:32 #kisslinux This is new: 2019-12-03T23:12:35 #kisslinux > Changing your language setting to English will make you more difficult to identify and enhance your privacy. Do you want to request English language versions of web pages? 2019-12-03T23:12:39 #kisslinux > NO YES 2019-12-03T23:28:47 #kisslinux if the default is English (US) then that's a hard no from me 2019-12-03T23:29:03 #kisslinux some sites only detect LANG and force their inches and pounds 2019-12-03T23:36:53 #kisslinux dylanaraps: Hey, when you get a moment, can you check the neofetch-alignment PR? I'm just wondering if there's a better way for me to check the user's config for label lengths 2019-12-03T23:37:41 #kisslinux Will do 2019-12-03T23:37:52 #kisslinux tyvm! 2019-12-03T23:48:16 #kisslinux ALSA finally removed in 71? https://www.reddit.com/r/linux/comments/e5i714/firefox_71_released_improved_lockwise_native_mp3/f9k79nl/ 2019-12-03T23:49:03 #kisslinux and why the fuck is the question downvoted is beyond me 2019-12-03T23:56:28 #kisslinux ALSA works fine here. 2019-12-03T23:56:33 #kisslinux 72.0b1 2019-12-03T23:58:30 #kisslinux Commented 2019-12-03T23:58:44 #kisslinux so might be just distro defaults 2019-12-03T23:59:03 #kisslinux Yup 2019-12-03T23:59:17 #kisslinux brb gemini://gemini.ctrl-c.club/~phoebos/logs/freenode-kisslinux-2019-12-03.txt

-- Leo's gemini proxy

-- Connecting to gemini.ctrl-c.club:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/plain; charset=utf-8

-- Response ended

-- Page fetched on Sun Jun 2 11:01:33 2024