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

View Raw

More Information

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

2019-12-02T00:00:15 #kisslinux <dylanaraps> dbus is needed for systemd anyway.
2019-12-02T00:05:30 #kisslinux <dylanaraps> brb
2019-12-02T01:16:20 #kisslinux <dylanaraps> Progress: https://github.com/dylanaraps/iwd-no-dbus/commits/master
2019-12-02T01:16:27 #kisslinux <dylanaraps> Also, bed time for me. 3am
2019-12-02T01:22:02 #kisslinux <Crestwave> My Redox post was removed for not being "relevant to the r/linux community" but the description states that relevance is what the community likes and it was obviously well-received?
2019-12-02T01:22:28 #kisslinux <dylanaraps> /r/linux is terrible.
2019-12-02T01:22:55 #kisslinux <dylanaraps> The moderators are very biased.
2019-12-02T01:23:13 #kisslinux <Crestwave> I sent a modmail yesterday and no response yet. I've heard complaints about the mods there but haven't experienced it until now
2019-12-02T01:23:35 #kisslinux <koni> the mods there are so far up their own arse
2019-12-02T01:23:36 #kisslinux <dylanaraps> GNOME developers asked them to remove threads saying bad things about GNOME and they complied.
2019-12-02T01:24:07 #kisslinux <Crestwave> I could kinda get how they arrived to the conclusion of locking the firefox 69 thread and such, even though I much disagree, but this makes no sense at all when the rule itself contradicts it?
2019-12-02T01:24:27 #kisslinux <Crestwave> Thankfully they removed it way too late lol
2019-12-02T01:24:39 #kisslinux <dylanaraps> Yeah
2019-12-02T01:24:40 #kisslinux <Crestwave> https://www.reddit.com/r/removalbot/comments/e42yoa/1130_2033_redox_os_real_hardware_breakthroughs/
2019-12-02T01:24:45 #kisslinux <Crestwave> "reason: None"
2019-12-02T01:24:52 #kisslinux <dylanaraps> /r/linux isn't just for Linux.
2019-12-02T01:25:30 #kisslinux <Crestwave> Yeah, there's even an "Alternative OS" flair, which I used
2019-12-02T01:25:46 #kisslinux <dylanaraps> I don't get why they remove threads which are popular regardless of the rules.
2019-12-02T01:26:01 #kisslinux <dylanaraps> There's a reason the upvote/downvote feature exists...
2019-12-02T01:26:14 #kisslinux <dylanaraps> Let users vote.
2019-12-02T01:26:17 #kisslinux <dylanaraps> Not hard.
2019-12-02T01:26:50 #kisslinux <Crestwave> This rule basically states that whatever is popular or at least has a high vote ratio (it had 96%) fits the rule
2019-12-02T01:26:57 #kisslinux <Crestwave> "Posts should follow what the community likes: GNU/Linux, Linux kernel itself, the developers of the kernel or open source applications, any application on Linux, and more. Take some time to get the feel of the subreddit if you're not sure!"
2019-12-02T01:27:47 #kisslinux <Crestwave> Well, I just hope they don't remove future Redox posts.
2019-12-02T01:27:58 #kisslinux <dylanaraps> This says a lot: https://old.reddit.com/user/veryunderstated/submitted/
2019-12-02T01:28:12 #kisslinux <dylanaraps> Anyway, I need to sleep. Ciao.
2019-12-02T01:28:24 #kisslinux <Crestwave> Yeah, I checked his profile too lol
2019-12-02T01:28:27 #kisslinux <Crestwave> Ciao
2019-12-02T08:59:04 #kisslinux <dylanaraps> -> grep dbus * | wc -l
2019-12-02T08:59:07 #kisslinux <dylanaraps> 485
2019-12-02T08:59:11 #kisslinux <dylanaraps> dbus is half gone from iwd...
2019-12-02T08:59:34 #kisslinux <dylanaraps> -> grep -l dbus * | wc -l
2019-12-02T08:59:37 #kisslinux <dylanaraps> 13
2019-12-02T08:59:39 #kisslinux <dylanaraps> Files to go.
2019-12-02T09:19:27 #kisslinux <dylanaraps> -> grep dbus * | wc -l
2019-12-02T09:19:30 #kisslinux <dylanaraps> 274
2019-12-02T09:19:32 #kisslinux <dylanaraps> :D
2019-12-02T09:46:58 #kisslinux <dylanaraps> -> grep dbus * | wc -l
2019-12-02T09:47:00 #kisslinux <dylanaraps> 207
2019-12-02T10:04:18 #kisslinux <dylanaraps> -> grep dbus * | wc -l
2019-12-02T10:04:21 #kisslinux <dylanaraps> 149
2019-12-02T10:04:28 #kisslinux <dylanaraps> dbus 90% removed.
2019-12-02T10:05:09 #kisslinux <dylanaraps> This purge also removed the non-dbus related IPC code (which I'll add back later).
2019-12-02T10:05:37 #kisslinux <dylanaraps> E5ten: 49 commits  132 ++  19,627 --
2019-12-02T10:05:38 #kisslinux <dylanaraps> lol
2019-12-02T10:06:17 #kisslinux <dylanaraps> (Not all of that is dbus C related fyi)
2019-12-02T10:06:45 #kisslinux <dylanaraps> Counts: https://termbin.com/452q
2019-12-02T10:08:34 #kisslinux <E5ten> Nice lmao
2019-12-02T10:09:44 #kisslinux <dylanaraps> There's a lot of dbus stuff man.
2019-12-02T10:15:48 #kisslinux <dylanaraps> OK. I've deleted dbus.c/dbus.h.
2019-12-02T10:17:30 #kisslinux <dylanaraps> OOO
2019-12-02T10:17:34 #kisslinux <dylanaraps> Build fixed.
2019-12-02T10:17:40 #kisslinux <dylanaraps> dbus.c/dbus.h GONE
2019-12-02T10:17:58 #kisslinux <dylanaraps> -> grep dbus * | wc -l
2019-12-02T10:18:01 #kisslinux <dylanaraps> 37
2019-12-02T10:18:03 #kisslinux <dylanaraps> Oh baby.
2019-12-02T10:18:31 #kisslinux <dylanaraps> The last dbus code comes from ell.
2019-12-02T10:22:09 #kisslinux <E5ten> Thass what I'm talkin' about
2019-12-02T10:22:59 #kisslinux <dylanaraps> I wonder how much smaller it is in comparison now.
2019-12-02T10:23:42 #kisslinux <E5ten> Good question lol
2019-12-02T10:45:02 #kisslinux <dylanaraps> -> grep dbus *  | wc -l
2019-12-02T10:45:04 #kisslinux <dylanaraps> 14
2019-12-02T10:49:21 #kisslinux <dylanaraps> OK.
2019-12-02T10:49:26 #kisslinux <dylanaraps> dbus is 100% gone now.
2019-12-02T10:53:46 #kisslinux <E5ten> 👌
2019-12-02T10:55:22 #kisslinux <dylanaraps> Builds now :D
2019-12-02T10:55:25 #kisslinux <dylanaraps> Step 1 complete.
2019-12-02T10:56:02 #kisslinux <dylanaraps> This iwd is now just a minimal daemon controlled by config files. :^)
2019-12-02T10:56:20 #kisslinux <E5ten> And now, as I prematurely said yesterday, for the hard part
2019-12-02T10:56:32 #kisslinux <dylanaraps> I now have only two processes running as root. iwd and init
2019-12-02T10:56:52 #kisslinux <dylanaraps> Oh yeah
2019-12-02T10:57:17 #kisslinux <dylanaraps> Next question is, which IPC method do we go with?
2019-12-02T10:57:58 #kisslinux <dylanaraps> Good old UNIX domain sockets?
2019-12-02T10:58:42 #kisslinux <E5ten> No idea, but I see Unix in the name so I like the sound of that ;)
2019-12-02T11:01:37 #kisslinux <dylanaraps> https://github.com/gentoo/eudev/blob/master/src/udev/udevd.c#L1207
2019-12-02T11:01:52 #kisslinux <dylanaraps> udevd/udevadm use sockets.
2019-12-02T11:03:14 #kisslinux <dylanaraps> OK. This is the most portable: http://man7.org/linux/man-pages/man7/sysvipc.7.html
2019-12-02T11:03:47 #kisslinux <dylanaraps> https://docs.oracle.com/cd/E19455-01/806-4750/6jdqdfltg/index.html
2019-12-02T11:04:37 #kisslinux <dylanaraps> I need a break first.
2019-12-02T11:20:03 #kisslinux <E5ten> Most portable across distros or in general? Cuz it doesn't need to be portable outside linux, iwd won't work on off linux anyway
2019-12-02T11:21:08 #kisslinux <dylanaraps> Exactly
2019-12-02T11:21:34 #kisslinux <dylanaraps> System V IPC is actually more portable than POSIX IPC as it is older.
2019-12-02T11:21:55 #kisslinux <E5ten> Nice
2019-12-02T11:23:39 #kisslinux <dylanaraps> What I'm gonna do first is write a simple iwd config creation tool for networks.
2019-12-02T11:23:52 #kisslinux <dylanaraps> ie creating the SSID.psk files.
2019-12-02T11:24:22 #kisslinux <dylanaraps> Then you have the daemon with roaming/autoconnect and a simple interface to add/remove networks.
2019-12-02T12:05:54 #kisslinux <E5ten> Makes sense, deals with the most important part of iwctl before doing the long process of getting iwctl-iwd IPC to work with a whole new system
2019-12-02T12:06:21 #kisslinux <E5ten> So in its current state, while iwctl doesn't work, as far as you can tell iwd itself is working perfectly?
2019-12-02T12:06:39 #kisslinux <dylanaraps> Yes
2019-12-02T12:06:45 #kisslinux <dylanaraps> I'm using it right now.
2019-12-02T12:11:08 #kisslinux <dylanaraps> Basically, I need to figure out how to do: Key = PBKDF2(HMAC−SHA1, passphrase, ssid, 4096, 256) using openssl's cmdline.
2019-12-02T12:11:42 #kisslinux <dylanaraps> It's a hash of the wifi password using the ssid as the salt with 4096 iterations.
2019-12-02T12:37:47 #kisslinux <retard> do i need to learn something other than wpa_supplicant :(
2019-12-02T12:37:58 #kisslinux <dylanaraps> no no
2019-12-02T12:38:21 #kisslinux <retard> oh, phew :X
2019-12-02T12:38:24 #kisslinux <dylanaraps> Though the usage of my fork will be 1:1 with wpa_supplicant only there's one daemon instead of two now.
2019-12-02T12:38:36 #kisslinux <dylanaraps> iwd vs wpa_supplicant/dhcpcd :)
2019-12-02T12:39:00 #kisslinux <dylanaraps> KISS actually has no default for wifi/dhcp.
2019-12-02T12:39:12 #kisslinux <dylanaraps> Nothing will change unless you want it to. ;)
2019-12-02T12:40:12 #kisslinux <retard> i'm just being a crabby weirdo about any change now
2019-12-02T12:40:20 #kisslinux <retard> not in KISS linux either
2019-12-02T12:40:30 #kisslinux <retard> but in how to manage linux
2019-12-02T12:41:18 #kisslinux <retard> ever since i started managing wpa_supplicant directly without any managers or things inbetween wifi has stopped being a problem in my life
2019-12-02T12:41:30 #kisslinux <retard> i was barely aware of what iwd was, but
2019-12-02T12:42:11 #kisslinux <retard> but it seems cool
2019-12-02T12:42:20 #kisslinux <retard> enough
2019-12-02T12:43:14 #kisslinux <retard> just means i gotta learn a thing
2019-12-02T13:25:54 #kisslinux <dylanaraps> retard: Yeah, wpa_supplicant "just works" once setup.
2019-12-02T13:29:46 #kisslinux <E5ten> Hmm I already have my iwd configs setup and I know how to write new ones if I need to so I guess I'll be switching pretty soon
2019-12-02T13:31:29 #kisslinux <dylanaraps> Nice
2019-12-02T13:32:02 #kisslinux <dylanaraps> I'm gonna write a simple C program like sha1sum and friends to do the password hashing. I can just plug into the iwd crypto stuff for it.
2019-12-02T13:32:46 #kisslinux <dylanaraps> https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/src/crypto.c#n514
2019-12-02T13:32:49 #kisslinux <dylanaraps> :D
2019-12-02T13:34:49 #kisslinux <E5ten> Nice
2019-12-02T13:40:05 #kisslinux <retard> do i just HUP iwd to have it reload the config or does it poll
2019-12-02T13:40:51 #kisslinux <retard> i got super confused a couple of years back, i was really struggling to figure out what launched dhcpcd on my system
2019-12-02T13:41:42 #kisslinux <retard> the simplification of the wireless daemon handling dhcp is... .. okay, but i'm not sure it's preferable, considering dhcpcd will still be required for dhcp on any wired or other kinds of interfaces
2019-12-02T13:43:05 #kisslinux <dylanaraps> iwd supports wired too.
2019-12-02T13:43:12 #kisslinux <dylanaraps> I haven't touched that code yet though.
2019-12-02T14:00:40 #kisslinux <E5ten> I haven't checked but I expect ead (the wired daemon) doesn't have dbus stuffs cuz it doesn't interact with iwctl at all and doesn't have a client of its own?
2019-12-02T14:09:12 #kisslinux <dylanaraps> It does have dbus stuf
2019-12-02T14:09:14 #kisslinux <dylanaraps> f
2019-12-02T14:20:16 #kisslinux <E5ten> :(
2019-12-02T14:36:22 #kisslinux <E5ten> am now dbus free
2019-12-02T14:38:00 #kisslinux <dylanaraps> Works on your machine?
2019-12-02T14:38:17 #kisslinux <E5ten> yep
2019-12-02T14:42:18 #kisslinux <dylanaraps> Don't pull for a while. Pushing something that'll break builds.
2019-12-02T14:50:11 #kisslinux <dylanaraps> > Segmentation fault
2019-12-02T14:50:22 #kisslinux <dylanaraps> At least it builds :^)
2019-12-02T14:50:56 #kisslinux <dylanaraps> I'm adding a flag to iwd to take the wifi password from stdin, hash it and spit it out to stdout.
2019-12-02T14:53:17 #kisslinux <E5ten> any reason for that not to be a separate command?
2019-12-02T14:53:25 #kisslinux <E5ten> doesn't really seem like it fits with the iwd command at all lol
2019-12-02T14:53:48 #kisslinux <dylanaraps> It'll just be temporary.
2019-12-02T14:53:58 #kisslinux <E5ten> ah, gotcha
2019-12-02T14:54:25 #kisslinux <dylanaraps> It works :D
2019-12-02T14:54:30 #kisslinux <dylanaraps> but it spits out binary
2019-12-02T15:02:42 #kisslinux <dylanaraps> Hang on
2019-12-02T15:02:43 #kisslinux <dylanaraps> brb
2019-12-02T15:03:58 #kisslinux <dylanaraps> OOOOOOOOOOO
2019-12-02T15:04:07 #kisslinux <E5ten> oh shit
2019-12-02T15:04:10 #kisslinux <dylanaraps> E5ten: iwd supports unhashed passwords
2019-12-02T15:04:14 #kisslinux <E5ten> that seems positive
2019-12-02T15:04:20 #kisslinux <E5ten> wait you didn't realize that?
2019-12-02T15:04:25 #kisslinux <E5ten> I thought you just wanted hashed passwords lol
2019-12-02T15:04:31 #kisslinux <dylanaraps> The docs I read stated otherwise :(
2019-12-02T15:05:06 #kisslinux <E5ten> damn
2019-12-02T15:06:01 #kisslinux <E5ten> unrelated, what prompted the decision to use util-linux getopt instead of busybox's?
2019-12-02T15:06:38 #kisslinux <E5ten> not that it should matter cuz to use getopt is to sell your soul but still
2019-12-02T15:07:05 #kisslinux <dylanaraps> util-linux-isms
2019-12-02T15:07:08 #kisslinux <dylanaraps> iirc
2019-12-02T15:07:53 #kisslinux <E5ten> I wonder what uses getopt that required util-linux-isms, the only things on my system using it period are fakeroot and alsaconf which is not a command I've ever run and probably will never run
2019-12-02T15:08:36 #kisslinux <dylanaraps> This was a while ago. We used to have fakeroot. Not sure if what I said is still true.
2019-12-02T15:09:39 #kisslinux <E5ten> also I thought bb getopt was supposed to be util-linux compatible? (what's the point of having the -T flag and having exit status 4 with it, the purpose of which is to see if it's enhanced getopt, if you're not even gonna be compatible with enhanced getopt lol)
2019-12-02T15:10:22 #kisslinux <dylanaraps> busybox development is weird.
2019-12-02T15:10:43 #kisslinux <dylanaraps> There's no development goals or anything.
2019-12-02T15:10:52 #kisslinux <dylanaraps> People just send in random patches.
2019-12-02T15:10:55 #kisslinux <E5ten> that's why I love toybox
2019-12-02T15:10:59 #kisslinux <dylanaraps> A release is made whenever.
2019-12-02T15:11:42 #kisslinux <E5ten> toybox has like a super defined set of goals, and a page that has the status of its progress towards those goals, etc.
2019-12-02T15:12:52 #kisslinux <dylanaraps> Yeah
2019-12-02T15:13:03 #kisslinux <dylanaraps> I'll try swapping to it sometime.
2019-12-02T15:13:21 #kisslinux <dylanaraps> I'm glued to busybox's zero overhead subshells though
2019-12-02T15:13:35 #kisslinux <E5ten> how does that work again?
2019-12-02T15:13:46 #kisslinux <dylanaraps> $() has no overhead
2019-12-02T15:13:56 #kisslinux <dylanaraps> neither does running an external command anywhere.
2019-12-02T15:14:13 #kisslinux <dylanaraps> -> time neofetch --config off >/dev/null
2019-12-02T15:14:15 #kisslinux <dylanaraps> real    0m 0.08s
2019-12-02T15:14:17 #kisslinux <dylanaraps> user    0m 0.08s
2019-12-02T15:14:19 #kisslinux <dylanaraps> sys     0m 0.00s
2019-12-02T15:14:21 #kisslinux <dylanaraps> Example
2019-12-02T15:14:23 #kisslinux <E5ten> I assume that means external command provided by busybox?
2019-12-02T15:14:26 #kisslinux <dylanaraps> All
2019-12-02T15:14:42 #kisslinux <E5ten> how?
2019-12-02T15:14:44 #kisslinux <dylanaraps> My example shows bash spawned from ash running neofetch.
2019-12-02T15:14:49 #kisslinux <dylanaraps> magic probably
2019-12-02T15:15:11 #kisslinux <dylanaraps> 8ms for neofetch is crazy compared my void/alpine/arch installs.
2019-12-02T15:15:16 #kisslinux <dylanaraps> I don't think Alpine enable it.
2019-12-02T15:16:27 #kisslinux <E5ten> what config option is it?
2019-12-02T15:18:39 #kisslinux <E5ten> I'm getting comparable if not better times with time neofetch --config off >/dev/null from zsh?
2019-12-02T15:18:59 #kisslinux <dylanaraps> On my machine I used to get 150ms+ on void/alpine/arch
2019-12-02T15:20:06 #kisslinux <E5ten> I wanna test how long it takes in ash, what busybox config option do I set?
2019-12-02T15:20:32 #kisslinux <dylanaraps> Hang on
2019-12-02T15:22:08 #kisslinux <dylanaraps> It's this: https://git.busybox.net/busybox/tree/NOFORK_NOEXEC.lst
2019-12-02T15:22:20 #kisslinux <dylanaraps> Which states it only works for select busybox utilities.
2019-12-02T15:22:29 #kisslinux <dylanaraps> Though I've noticed the speedup everywhere(?)
2019-12-02T15:24:54 #kisslinux <E5ten> Maybe other factors were slowing down your system on the other distros?
2019-12-02T15:25:53 #kisslinux <dylanaraps> Maybe
2019-12-02T15:25:59 #kisslinux <dylanaraps> Like their overall bloat.
2019-12-02T15:26:16 #kisslinux <dylanaraps> I have one daemon on this machine (excluding init) and it's iwd.
2019-12-02T15:26:18 #kisslinux <dylanaraps> Feels good
2019-12-02T15:27:04 #kisslinux <E5ten> No cron or syslog or anything?
2019-12-02T15:27:06 #kisslinux <dylanaraps> Nope
2019-12-02T15:27:16 #kisslinux <E5ten> Nice
2019-12-02T15:37:40 #kisslinux <E5ten> one thing I wish toybox had (I believe it is intended to be added it just hasn't been yet) is sha-2 commands without libcrypto
2019-12-02T15:38:23 #kisslinux <E5ten> currently sha{224,256,384,512}sum don't have independent implementations in toybox, just with libcrypto
2019-12-02T15:41:10 #kisslinux <dylanaraps> Yeah
2019-12-02T15:44:59 #kisslinux <E5ten> did you end up looking at efivar's build system since last release?
2019-12-02T15:47:46 #kisslinux <dylanaraps> I did
2019-12-02T15:47:48 #kisslinux <dylanaraps> gross
2019-12-02T15:47:53 #kisslinux <dylanaraps> Saw your bug report too.
2019-12-02T15:48:00 #kisslinux <E5ten> like possibly the worst build system I've ever seen
2019-12-02T15:48:24 #kisslinux <dylanaraps> Tada: https://github.com/dylanaraps/iwd-no-dbus/blob/master/iwd_passphrase
2019-12-02T15:48:49 #kisslinux <E5ten> I genuinely cannot think of a build system that's been more fucked than that one, and there are a lot of really really fucked build systems...
2019-12-02T15:48:51 #kisslinux <E5ten> hell yeah
2019-12-02T15:49:01 #kisslinux <dylanaraps> Perl's is gross
2019-12-02T15:49:44 #kisslinux <dylanaraps> Shall I name my iwd 'eiwd'?
2019-12-02T15:49:52 #kisslinux <dylanaraps> Fits in with eudev and elogind. :^)
2019-12-02T15:49:58 #kisslinux <E5ten> I vaguely remember it being awful but I haven't had perl installed except as a makedep in so long that I don't remember it well
2019-12-02T15:51:02 #kisslinux <E5ten> yeah but eudev and elogind are less gross versions of gross things whereas iwd is imo not a gross thing, just a good thing that does something gross (using dbus)
2019-12-02T15:51:42 #kisslinux <dylanaraps> What does the 'e' stand for anyway?
2019-12-02T15:51:56 #kisslinux <E5ten> no idea, I've been curious about that for a while lol
2019-12-02T15:52:04 #kisslinux <dylanaraps> I feel like I have to rename it as the client will be entirely different.
2019-12-02T15:52:15 #kisslinux <E5ten> from a more reasonable perspective eiwd works yeah
2019-12-02T15:53:32 #kisslinux <E5ten> can you explain what the od command in iwd_passphrase is doing flag by flag?
2019-12-02T15:55:29 #kisslinux <dylanaraps> -v writes all input data.
2019-12-02T15:55:36 #kisslinux <dylanaraps> Doesn't skip duplicates.
2019-12-02T15:55:53 #kisslinux <dylanaraps> -A n skips adding the offset.
2019-12-02T15:56:39 #kisslinux <dylanaraps> -t x1 is the output type (x1 is single bytes).
2019-12-02T15:56:51 #kisslinux <E5ten> gotcha
2019-12-02T15:56:57 #kisslinux <dylanaraps> The tr then removes newlines and spaces.
2019-12-02T15:58:50 #kisslinux <dylanaraps> OK. Fixed the Makefile.
2019-12-02T15:58:57 #kisslinux <dylanaraps> It installs iwd_passphrase now.
2019-12-02T15:59:05 #kisslinux <E5ten> nice
2019-12-02T16:02:16 #kisslinux <Aarg[m]> afaik gentoo used to be called enoch, that's why all its tools start with e
2019-12-02T16:03:22 #kisslinux <dylanaraps> Ah
2019-12-02T16:04:38 #kisslinux <E5ten> Isn't elogind not part of gentoo though?
2019-12-02T16:04:49 #kisslinux <dylanaraps> True also
2019-12-02T16:07:01 #kisslinux <qtpie> >Similar to ebuild, eclass, emerge, etc. eudev's name follows the 'E' prefix convention started by Gentoo's founder Daniel Robbins.
2019-12-02T16:07:29 #kisslinux <qtpie> from https://wiki.gentoo.org/wiki/Eudev/zh-cn
2019-12-02T16:07:32 #kisslinux <Aarg[m]> yeh, not sure about the originns of elogind
2019-12-02T16:07:59 #kisslinux <E5ten> I guess probably just done to match eudev cuz their purposes are basically identical
2019-12-02T16:08:09 #kisslinux <dylanaraps> Yup
2019-12-02T16:08:22 #kisslinux <dylanaraps> People will kinda understand eiwd too.
2019-12-02T16:08:44 #kisslinux <E5ten> yeah
2019-12-02T16:10:01 #kisslinux <dylanaraps> I'll release an initial tarball for eiwd tonight (0.1).
2019-12-02T16:10:15 #kisslinux <dylanaraps> With ell and the configure/makefile generated.
2019-12-02T16:11:13 #kisslinux <dylanaraps> I also need to setup CI to run builds each commit/PR.
2019-12-02T16:11:20 #kisslinux <E5ten> I got you a present
2019-12-02T16:11:27 #kisslinux <E5ten> ssid="=$(while [ -n "$1" ]; do printf '%x' "'$1"; set -- "${1#?}"; done)"
2019-12-02T16:11:51 #kisslinux <dylanaraps> beautiful
2019-12-02T16:11:54 #kisslinux <dylanaraps> Will use it
2019-12-02T16:11:55 #kisslinux <dylanaraps> ty
2019-12-02T16:12:01 #kisslinux <E5ten> :))
2019-12-02T16:15:15 #kisslinux <dylanaraps> Does that handle for example, an emoji?
2019-12-02T16:15:41 #kisslinux <E5ten> I have absolutely no idea
2019-12-02T16:15:54 #kisslinux <E5ten> didn't think about multibyte characters
2019-12-02T16:16:31 #kisslinux <E5ten> but given that the od flag tells it to print one byte at a time worst case printf would be trying to handle both bytes or something and LC_CTYPE=C should fix that if it's an issue right?
2019-12-02T16:24:30 #kisslinux <dylanaraps> True
2019-12-02T16:24:34 #kisslinux <dylanaraps> Time will tell I guess.
2019-12-02T16:25:11 #kisslinux <E5ten> Should be 02x probably? Not sure if necessary but a 0 would probably fuck it otherwise
2019-12-02T16:25:26 #kisslinux <E5ten> On my phone so I can't check
2019-12-02T16:26:05 #kisslinux <dylanaraps> Will try in a sec.
2019-12-02T16:31:52 #kisslinux <E5ten> seems to work fine regardless of LC_CTYPE?
2019-12-02T16:32:53 #kisslinux <E5ten> I'm kinda confused as to why though, cuz thinking about it now I feel like the removal of one character from $1 should screw it up if LC_CTYPE isn't C because I'd expect it to remove the whole character even though only one byte of it has been printed so far?
2019-12-02T16:33:30 #kisslinux <dylanaraps> It works fine from what I can see.
2019-12-02T16:33:36 #kisslinux <E5ten> nice
2019-12-02T16:34:28 #kisslinux <dylanaraps> Yeah, even emojis are fine.
2019-12-02T16:34:34 #kisslinux <dylanaraps> I have no locale set though.
2019-12-02T16:34:44 #kisslinux <dylanaraps> So it *is* C most likely on my machine.
2019-12-02T16:35:00 #kisslinux <E5ten> I don't know if it's just cuz I'm using a locale that doesn't have the specific character I'm trying or something though
2019-12-02T16:35:16 #kisslinux <dylanaraps> I'll set it anyway.
2019-12-02T16:35:51 #kisslinux <E5ten> also, super unlikely/maybe impossible that ascii characters 1-9 would be in an SSID, butttt just in case I'd use 02x
2019-12-02T16:36:11 #kisslinux <E5ten> definitely nothing to be lost from it
2019-12-02T16:36:15 #kisslinux <dylanaraps> Yup
2019-12-02T16:36:18 #kisslinux <dylanaraps> Already using it
2019-12-02T16:36:53 #kisslinux <E5ten> nice
2019-12-02T16:37:14 #kisslinux <E5ten> why do you mix %s <constant string with a variable> and <constant string with %s> <variable> :(
2019-12-02T16:37:48 #kisslinux <E5ten> like printf '%sn' "    help messages are printed to stderr." vs printf 'Passphrase=%sn' "$pass"
2019-12-02T16:38:40 #kisslinux <E5ten> I know my first example doesn't have a variable even though the thing I was using it as an example for mentioned having one but it's not really the point of what I'm saying
2019-12-02T16:38:41 #kisslinux <dylanaraps> Good caatch
2019-12-02T16:39:16 #kisslinux <E5ten> (my preference is constant stuff goes in format string, cuz then I get to group variables at the end alone)
2019-12-02T16:40:31 #kisslinux <dylanaraps> Pushed.
2019-12-02T16:42:47 #kisslinux <E5ten> TIL doing [ -n ] without a second parameter makes it not think the -n is like -n but just a string that happens to be -n and therefore exits 0 as if you'd done [ <any other string> ]
2019-12-02T16:43:34 #kisslinux <dylanaraps> Yup
2019-12-02T16:44:58 #kisslinux <E5ten> haha my name's in the script, nice
2019-12-02T16:46:25 #kisslinux <dylanaraps> :D
2019-12-02T16:53:40 #kisslinux <E5ten> I tried switching my iwd config to a password hash and tried connecting and am not succeeding and at first I was like damn how'd I mess that up but I think it's actually just that my uni's internet shit itself exactly as I tried that cuz my phone can't connect either lol
2019-12-02T16:53:48 #kisslinux <dylanaraps> lol
2019-12-02T17:05:54 #kisslinux <dylanaraps> The test suite passes fully. :D
2019-12-02T17:06:49 #kisslinux <E5ten> awesome
2019-12-02T17:19:01 #kisslinux <E5ten> wait what if ${pass:?} instead of the test + exit 1
2019-12-02T17:21:22 #kisslinux <qtpie> sex
2019-12-02T17:21:36 #kisslinux <E5ten> oh and "case ${1:?usage: printf pass | ${0##*/} ssid} in" so you don't have to check for $1 with test either :))
2019-12-02T17:21:50 #kisslinux <qtpie> sorry that was my roommate fucking with me
2019-12-02T17:21:58 #kisslinux <qtpie> should have locked my laptop
2019-12-02T17:28:25 #kisslinux <dylanaraps> qtpie: Don't worry about it.
2019-12-02T17:28:46 #kisslinux <dylanaraps> This channel has no ops. :)
2019-12-02T17:30:29 #kisslinux <Guest14106> hello
2019-12-02T17:30:36 #kisslinux <dylanaraps> Hello
2019-12-02T17:31:12 #kisslinux <E5ten> What does ops mean?
2019-12-02T17:31:27 #kisslinux <dylanaraps> Operators
2019-12-02T17:32:55 #kisslinux <E5ten> I'm still confused then, what does operators mean in this context
2019-12-02T17:33:21 #kisslinux <dylanaraps> Moderators of this channel
2019-12-02T17:35:17 #kisslinux <E5ten> ohhh, I'm dumb lol
2019-12-02T18:11:20 #kisslinux <mforney> what's the advantage of that while loop over the pipeline you had before?
2019-12-02T18:12:55 #kisslinux <dylanaraps> It's more portable.
2019-12-02T18:13:08 #kisslinux <dylanaraps> It's also faster (or should be).
2019-12-02T18:13:29 #kisslinux <mforney> how so?
2019-12-02T18:13:54 #kisslinux <dylanaraps> It's in pure shell. No need to rely on the system's coreutils.
2019-12-02T18:14:04 #kisslinux <dylanaraps> You only have to rely on the system's shell.
2019-12-02T18:14:16 #kisslinux <mforney> well, and also printf
2019-12-02T18:14:27 #kisslinux <dylanaraps> That too.
2019-12-02T18:14:34 #kisslinux <dylanaraps> I forget that it isn't always built in.
2019-12-02T18:14:44 #kisslinux <mforney> i think it's safe to use common POSIX tools like od and tr
2019-12-02T18:17:48 #kisslinux <dylanaraps> It should be fine either way but I'll revert it.
2019-12-02T18:17:51 #kisslinux <dylanaraps> :)
2019-12-02T18:18:00 #kisslinux <E5ten> sure it's "safe" but why would you not want to use a tool that's pretty much always built in over 2 pipes through always external commands?
2019-12-02T18:18:32 #kisslinux <dylanaraps> iwd only works on Linux anyway.
2019-12-02T18:18:47 #kisslinux <E5ten> I'm not talking portability
2019-12-02T18:20:32 #kisslinux <mforney> "pretty much always built in" - not on my system, which uses mksh or openbsd ksh
2019-12-02T18:20:46 #kisslinux <mforney> so it's an external command for every character in the passphrase
2019-12-02T18:21:11 #kisslinux <E5ten> the SSID
2019-12-02T18:21:32 #kisslinux <mforney> yes, sorry
2019-12-02T18:26:03 #kisslinux <mforney> i'm skeptical that you'd notice a performance difference at all (and if you did, i'm not sure which direction it'd be in). and this doesn't matter at all for a tool that is run only once every time you add a network
2019-12-02T18:27:54 #kisslinux <E5ten> who said it was about noticeable performance differences ;)
2019-12-02T18:28:42 #kisslinux <mforney> dylanaraps
2019-12-02T18:28:50 #kisslinux <mforney> then what's it about?
2019-12-02T18:29:00 #kisslinux <E5ten> theoretical performance differences
2019-12-02T18:29:44 #kisslinux <E5ten> in addition, based on my testing mksh is like crazy slow relative to other shells (I didn't use printf so it was an equal playing field in terms of builtins) so
2019-12-02T18:30:33 #kisslinux <mforney> so...?
2019-12-02T18:31:02 #kisslinux <E5ten> so the theoretically faster approach for the shell that's already slow anyway is worse than the theoretically faster approach for all the other shells?
2019-12-02T18:33:35 #kisslinux <E5ten> but like really, not in regards to this topic but just in general, it's kind of crazy how slow mksh is for one of the shells that's supposed to be "compact, fast, reliable, secure shell not cut off modern extensions"
2019-12-02T18:35:15 #kisslinux <dylanaraps> The reason that shells include echo/printf as built in commands is solely for performance. Whether or not it's in the POSIX spec for them to be builtins, it makes sense.
2019-12-02T18:36:07 #kisslinux <dylanaraps> > 101 commits  300 ++  23,019 --
2019-12-02T18:36:15 #kisslinux <dylanaraps> wew
2019-12-02T18:36:19 #kisslinux <dylanaraps> That was fast.
2019-12-02T18:38:03 #kisslinux <E5ten> based on the results I've got mksh is like more than 1.5 times as slow as bash and zsh, which themselves are slightly above 3 times slower than dash
2019-12-02T18:40:43 #kisslinux <dylanaraps> I'm gonna push 0.1 now.
2019-12-02T18:41:14 #kisslinux <E5ten> nice
2019-12-02T18:41:16 #kisslinux <dylanaraps> I fixed all compiler warnings too (minus the musl fix which causes a warning)
2019-12-02T18:55:01 #kisslinux <dylanaraps> https://github.com/dylanaraps/eiwd/releases/tag/0.1.0
2019-12-02T18:55:12 #kisslinux <E5ten> and we have a release, thass what I'm talkin' about
2019-12-02T18:56:26 #kisslinux <dylanaraps> :D
2019-12-02T18:56:44 #kisslinux <dylanaraps> Time to package it for KISS.
2019-12-02T18:57:20 #kisslinux <mforney> E5ten: looks like the pipeline is way way faster for non-builtin printf, negligibly slower for builtin printf on short inputs, and as fast or faster for larger inputs: http://ix.io/23oy
2019-12-02T18:57:40 #kisslinux <E5ten> fair enough
2019-12-02T18:58:55 #kisslinux <E5ten> jesus what're those warnings lol
2019-12-02T18:59:11 #kisslinux <mforney> i'm not sure if printf '%02x' "'abcde" is actually portable. printf from sbase doesn't complain, but printf from coreutils does
2019-12-02T19:00:09 #kisslinux <dylanaraps> I'll push a new tarball with the fixed script tomorrow.
2019-12-02T19:06:09 #kisslinux <E5ten> saw you removed ofono so I went to google it to see what it actually is, of course, intel software using dbus
2019-12-02T19:06:26 #kisslinux <E5ten> intel's obsession with using dbus for seemingly everything is saddening
2019-12-02T19:06:37 #kisslinux <dylanaraps> Yup
2019-12-02T19:07:02 #kisslinux <dylanaraps> LOL
2019-12-02T19:07:07 #kisslinux <dylanaraps> There's a python script
2019-12-02T19:07:09 #kisslinux <dylanaraps> and
2019-12-02T19:07:32 #kisslinux <dylanaraps> indentation is 8 spaces
2019-12-02T19:07:47 #kisslinux <E5ten> oh boy
2019-12-02T19:07:54 #kisslinux <dylanaraps> > bad-indentation: Bad indentation. Found 24 spaces, expected 12
2019-12-02T19:08:04 #kisslinux <dylanaraps> > bad-indentation: Bad indentation. Found 32 spaces, expected 16
2019-12-02T19:08:20 #kisslinux <dylanaraps> > bad-indentation: Bad indentation. Found 40 spaces, expected 20
2019-12-02T19:08:31 #kisslinux <dylanaraps> > E501: line too long (81 > 79 characters)
2019-12-02T19:08:33 #kisslinux <dylanaraps> I wonder why
2019-12-02T19:08:36 #kisslinux <E5ten> god python is such garbage, whitespace based syntax is mindnumbingly stupid
2019-12-02T19:09:05 #kisslinux <dylanaraps> I know
2019-12-02T19:09:06 #kisslinux <dylanaraps> > Convert iOS mobileconfig file to IWD format.
2019-12-02T19:09:10 #kisslinux <dylanaraps> That's what it does.
2019-12-02T19:09:38 #kisslinux <mforney> dylanaraps: noticed in bootstrap `cp -r`. the portable spelling of that option is -R
2019-12-02T19:10:18 #kisslinux <dylanaraps> Gotcha
2019-12-02T19:12:06 #kisslinux <E5ten> I also noticed that you accidentally misspelled curl as wget, common error 😏
2019-12-02T19:12:44 #kisslinux <mforney> heh, yes
2019-12-02T19:12:51 #kisslinux <dylanaraps> It's a lazy script for CI
2019-12-02T19:13:53 #kisslinux <dylanaraps> Send me patches :)
2019-12-02T19:14:41 #kisslinux <dylanaraps> Oh
2019-12-02T19:14:46 #kisslinux <dylanaraps> iwd has a file from Bluez
2019-12-02T19:14:52 #kisslinux <dylanaraps> I see the dbus connection now.
2019-12-02T19:14:54 #kisslinux <E5ten> I would, but I gotta do a final assignment today, and there's talking in IRC level of procrastination that I can come back from, and then there's sending pull requests procrastination, aka accepting defeat
2019-12-02T19:15:21 #kisslinux <dylanaraps> By the time you wrote that message you'd have sent me the one line patch :^).
2019-12-02T19:16:19 #kisslinux <E5ten> see what's really fun about bluez is it's literally not fucking possible to use bluetooth on linux without dbus what the actual fuck like jesus that's the craziest bs
2019-12-02T19:17:17 #kisslinux <dylanaraps> Yup
2019-12-02T19:17:42 #kisslinux <dylanaraps> Bluez has used dbus since like 2005~.
2019-12-02T19:18:02 #kisslinux <dylanaraps> or 06,07,08. I forget.
2019-12-02T19:20:11 #kisslinux <E5ten> I wonder if it's possible to use android's bluetooth stack on normal linux lol
2019-12-02T19:20:17 #kisslinux <E5ten> and if its deps aren't garbage
2019-12-02T19:20:38 #kisslinux <dylanaraps> Dunno
2019-12-02T19:20:48 #kisslinux <dylanaraps> I don't care for bluetooth really.
2019-12-02T19:21:02 #kisslinux <dylanaraps> So I'm not motivated to do anything about it.
2019-12-02T19:21:05 #kisslinux <dylanaraps> :P
2019-12-02T19:21:09 #kisslinux <E5ten> I don't either, but the fact that I couldn't use it if I wanted to without dbus infuriates me
2019-12-02T19:22:40 #kisslinux <mforney> dylanaraps: btw, i think your system clock might be off, or set to the wrong timezone, or you're a time-traveler
2019-12-02T19:23:00 #kisslinux <E5ten> I agree with that assessment
2019-12-02T19:23:12 #kisslinux <dylanaraps> I don't allow my browser to access my system time.
2019-12-02T19:23:26 #kisslinux <dylanaraps> My local clock is fine.
2019-12-02T19:23:32 #kisslinux <mforney> but what about git?
2019-12-02T19:23:48 #kisslinux <mforney> 'Mon Dec 2 21:02:52 2019 +0000' is in the future
2019-12-02T19:24:19 #kisslinux <dylanaraps> That's what time it is here?
2019-12-02T19:25:36 #kisslinux <mforney> maybe i'm confused
2019-12-02T19:26:01 #kisslinux <mforney> but github says "dylanaraps committed in 2 hours"
2019-12-02T19:26:22 #kisslinux <dylanaraps> Mine says: 3 minutes ago
2019-12-02T19:26:34 #kisslinux <mforney> maybe my clock is wrong? :D
2019-12-02T19:26:43 #kisslinux <dylanaraps> > dylanaraps committed 4 minutes ago
2019-12-02T19:26:48 #kisslinux <dylanaraps> Maybe lol
2019-12-02T19:27:08 #kisslinux <E5ten> no I have the same thing
2019-12-02T19:27:13 #kisslinux <E5ten> that's why I said I agreed
2019-12-02T19:28:30 #kisslinux <dylanaraps> Hang on
2019-12-02T19:28:36 #kisslinux <dylanaraps> Let me push something now.
2019-12-02T19:29:59 #kisslinux <dylanaraps> Pushed
2019-12-02T19:30:16 #kisslinux <E5ten> 11 seconds ago
2019-12-02T19:30:45 #kisslinux <dylanaraps> ayyy
2019-12-02T19:31:24 #kisslinux <E5ten> nice
2019-12-02T19:31:26 #kisslinux <dylanaraps> Jesus 12k lines of dbus related tests now gone.
2019-12-02T19:31:33 #kisslinux <dylanaraps> > 110 commits  304 ++  40,446 --
2019-12-02T19:31:35 #kisslinux <E5ten> oh my god lol
2019-12-02T19:31:43 #kisslinux <dylanaraps> Crap removal at 40K lines now.
2019-12-02T19:33:02 #kisslinux <dylanaraps> C code now: 45628
2019-12-02T19:33:05 #kisslinux <dylanaraps> (LOC)
2019-12-02T19:33:11 #kisslinux <mforney> ah, i think it is the gpg commit signature that had the future time
2019-12-02T19:34:08 #kisslinux <dylanaraps> C code before: 64104
2019-12-02T19:47:41 #kisslinux <dylanaraps> brb
2019-12-02T19:50:10 #kisslinux <dylanaraps> It's beautiful: https://u.teknik.io/QSTLb.jpg
2019-12-02T19:50:44 #kisslinux <E5ten> wow, nice
2019-12-02T19:51:16 #kisslinux <dylanaraps> I run without a service manager too. ;)
2019-12-02T19:51:42 #kisslinux <dylanaraps> My only "service" is iwd (was wpa_supplicant/dhcpcd).
2019-12-02T19:52:03 #kisslinux <E5ten> I use openrc
2019-12-02T19:53:13 #kisslinux <dylanaraps> Have you seen https://github.com/troglobit/finit/?
2019-12-02T19:53:56 #kisslinux <E5ten> I haven't
2019-12-02T19:54:08 #kisslinux <dylanaraps> I show it to people who want something like systemd but not systemd
2019-12-02T19:54:21 #kisslinux <E5ten> but I'm pretty happy with openrc, doubt I'm gonna switch
2019-12-02T19:54:35 #kisslinux <dylanaraps> It has it shell scripts for services or its own service file format
2019-12-02T19:54:41 #kisslinux <dylanaraps> Exactly
2019-12-02T19:54:48 #kisslinux <dylanaraps> If it ain't broken, don't fix it
2019-12-02T19:55:24 #kisslinux <dylanaraps> I like this quote though: > which was reverse engineered from syscalls of the EeePC fastinit — "gaps filled with frog DNA …"
2019-12-02T19:56:02 #kisslinux <E5ten> plus I modified any openrc service I had that used start-stop-daemon (so basically all of them that run continuously except agetty) to use supervise-daemon instead, cuz why not have the service manager actually properly supervise stuff
2019-12-02T19:56:29 #kisslinux <dylanaraps> Finit was started by the guy who created figlet btw
2019-12-02T19:56:41 #kisslinux <E5ten> and in terms of issues I had with openrc like conceptually, not one that actually affected me, that was pretty much the only one
2019-12-02T19:57:12 #kisslinux <dylanaraps> When my wifi/dhcp daemon(s) die I know pretty quick. ;)
2019-12-02T19:57:27 #kisslinux <dylanaraps> Hence why I manage restarting them myself.
2019-12-02T19:57:43 #kisslinux <dylanaraps> They've actually never died though.
2019-12-02T19:57:47 #kisslinux <E5ten> idk what that is lol
2019-12-02T19:58:03 #kisslinux <dylanaraps> :(
2019-12-02T19:58:24 #kisslinux <dylanaraps> Oh yeah, my network driver has a bug where toggling rfkill crashes the driver and causes it to reload in the kernel.
2019-12-02T19:59:02 #kisslinux <dylanaraps> I used this to restart my wifi when wpa_supplicant would stop working.
2019-12-02T19:59:04 #kisslinux <dylanaraps> lol
2019-12-02T19:59:45 #kisslinux <dylanaraps> iwd is actually more stable for me
2019-12-02T20:00:59 #kisslinux <E5ten> fair enough
2019-12-02T20:01:37 #kisslinux <E5ten> I've got a few more daemons than that
2019-12-02T20:02:01 #kisslinux <E5ten> mdevd being one of them
2019-12-02T20:02:36 #kisslinux <dylanaraps> KISS uses udevd at boot and then kills it afterwards.
2019-12-02T20:03:05 #kisslinux <dylanaraps> You can then start the service for it if you want to use it.
2019-12-02T20:03:09 #kisslinux <E5ten> like mdev from the s6 guy but it runs as a daemon instead of once per hotplug event or whatever like normal mdev
2019-12-02T20:03:46 #kisslinux <dylanaraps> I'm tempted to do iwd IPC using files like /proc.
2019-12-02T20:03:57 #kisslinux <qtpie> my wifi interface now has wlan0 as its name rather than wlpXsY because of the udevd change I think
2019-12-02T20:04:11 #kisslinux <E5ten> sorry that's written confusingly I think, I meant it like "like mdev, but from the s6 guy, and it runs as a daemon, <the rest of it>"
2019-12-02T20:04:21 #kisslinux <dylanaraps> qtpie: Start the service for udevd.
2019-12-02T20:04:41 #kisslinux <dylanaraps> Unless you like your new wifi name.
2019-12-02T20:04:41 #kisslinux <qtpie> it's running
2019-12-02T20:04:44 #kisslinux <dylanaraps> Oh
2019-12-02T20:05:56 #kisslinux <dylanaraps> Interesting. The boot script kills udev right at the end and nothing is async so it should have fully loaded and done its thing.
2019-12-02T20:08:00 #kisslinux <qtpie> after I get the login prompt in the tty it gets overwritten by messages from iwlwifi
2019-12-02T20:10:10 #kisslinux <qtpie> the name for my ethernet follows the enpXsY convention btw
2019-12-02T20:10:22 #kisslinux <dylanaraps> Thanks
2019-12-02T20:10:27 #kisslinux <dylanaraps> I'm about to push a fix.
2019-12-02T20:11:04 #kisslinux <qtpie> nice
2019-12-02T20:11:57 #kisslinux <dylanaraps> https://github.com/kisslinux/kiss-init/commit/623b7a6180844625467de902e3353ed8cc965061
2019-12-02T20:12:11 #kisslinux <dylanaraps> Will do some testing and push a new version of kiss-init.
2019-12-02T20:13:01 #kisslinux <dylanaraps> brb
2019-12-02T20:14:03 #kisslinux <dylanaraps> OK. Works on my end.
2019-12-02T20:15:45 #kisslinux <dylanaraps> qtpie: Pushed to the repositories.
2019-12-02T20:15:58 #kisslinux <qtpie> thanks. let me check it out
2019-12-02T20:20:54 #kisslinux <qtpie> can't open /dev: is a directory
2019-12-02T20:21:01 #kisslinux <qtpie> i keep getting this on my tty
2019-12-02T20:22:16 #kisslinux <dylanaraps> Any messages around it?
2019-12-02T20:22:23 #kisslinux <dylanaraps> Even those starting with =>
2019-12-02T20:23:54 #kisslinux <dylanaraps> E5ten: http://www.chandrashekar.info/articles/linux-system-programming/introduction-to-linux-ipc-mechanims.html
2019-12-02T20:23:57 #kisslinux <dylanaraps> Look at that list.
2019-12-02T20:24:25 #kisslinux <dylanaraps> 16 IPC options and dbus still needed to be created.
2019-12-02T20:25:13 #kisslinux <dylanaraps> Look at his description of signals too.
2019-12-02T20:27:08 #kisslinux <E5ten> well duh dbus needed to be created
2019-12-02T20:27:24 #kisslinux <E5ten> how else would we have garbage to purge from our systems?
2019-12-02T20:28:07 #kisslinux <dylanaraps> Here's my IPC idea:
2019-12-02T20:28:51 #kisslinux <dylanaraps> Signals but you send all data as binary. Hijack sigwinch/sigusr1 to act as 0/1.
2019-12-02T20:29:04 #kisslinux <dylanaraps> :^)
2019-12-02T20:29:31 #kisslinux <E5ten> I know you were pro-sysvipc but a lot of stuff is selling POSIX IPC pretty well over it
2019-12-02T20:29:50 #kisslinux <dylanaraps> I haven't decided yet.
2019-12-02T20:29:55 #kisslinux <E5ten> and by a lot of stuff I mean like the 3 things I looked at plus what you just linked
2019-12-02T20:29:56 #kisslinux <dylanaraps> I'd love to do plain old files.
2019-12-02T20:30:23 #kisslinux <qtpie> dylanaraps, https://files.catbox.moe/grhnzc.jpg this is all I see
2019-12-02T20:30:29 #kisslinux <dylanaraps> iwd could populate a file with network scan results on the configured roaming interval
2019-12-02T20:31:52 #kisslinux <dylanaraps> qtpie: Thanks. Did this start when I pushed the init "fix"?
2019-12-02T20:33:02 #kisslinux <qtpie> yes
2019-12-02T20:33:59 #kisslinux <dylanaraps> https://github.com/kisslinux/kiss-init/commit/623b7a6180844625467de902e3353ed8cc965061
2019-12-02T20:34:05 #kisslinux <dylanaraps> That's the diff.
2019-12-02T20:34:11 #kisslinux <dylanaraps> All signs then point to udev huh.
2019-12-02T20:36:21 #kisslinux <E5ten> transforms into a devil on your shoulder
2019-12-02T20:36:28 #kisslinux <E5ten> "mdev" I whisper into your ear
2019-12-02T20:37:18 #kisslinux <dylanaraps> I couldn't get Xorg to function without libudev sadly. If you could open an issue in kisslinux/repo with your system details it'd be helpful.
2019-12-02T20:37:41 #kisslinux <dylanaraps> > can't open /dev: is a directory
2019-12-02T20:37:45 #kisslinux <dylanaraps> You'd hope so.
2019-12-02T20:37:55 #kisslinux <dylanaraps> Time to dive into eudev's source..
2019-12-02T20:38:07 #kisslinux <E5ten> I'll do that as soon as I can compile xf86-video-intel and get rid of libudev myself...
2019-12-02T20:38:28 #kisslinux <dylanaraps> I see
2019-12-02T20:39:16 #kisslinux <E5ten> would be real cool if that guy could make it not segfault with clang already :)))
2019-12-02T20:42:20 #kisslinux <dylanaraps> It sounds to me like udev is trying to open '/dev/' as a file...
2019-12-02T20:42:21 #kisslinux <qtpie> give me a few minutes. I'll revert that init boot commit to see if I still get that error
2019-12-02T20:51:00 #kisslinux <dylanaraps> Regardless of pkill or using udev's builtin exit function udev should still catch the signal and correctly clean itself up.
2019-12-02T21:25:36 #kisslinux <dylanaraps> https://getkiss.org/blog/20191202a
2019-12-02T21:34:02 #kisslinux <qtpie> dylanaraps, i reverrted the changes but i'm still getting that error
2019-12-02T21:35:16 #kisslinux <dylanaraps> Interesting.
2019-12-02T21:35:24 #kisslinux <dylanaraps> So it's something else entirely.
2019-12-02T21:35:35 #kisslinux <dylanaraps> -> ls -ld /dev
2019-12-02T21:35:38 #kisslinux <dylanaraps> drwxr-xr-x   12 root     root         12820 Dec  2 22:12 /dev
2019-12-02T21:35:45 #kisslinux <dylanaraps> Output on your machine?
2019-12-02T21:36:03 #kisslinux <dylanaraps> Tried a different kernel?
2019-12-02T21:38:26 #kisslinux <qtpie> it's fixed now
2019-12-02T21:38:36 #kisslinux <qtpie> i had commented a few lines in my inittab
2019-12-02T21:38:45 #kisslinux <qtpie> uncommenting them fixed the issue
2019-12-02T21:40:13 #kisslinux <dylanaraps> Which ones?
2019-12-02T21:40:54 #kisslinux <qtpie> runsvdir one
2019-12-02T21:41:00 #kisslinux <dylanaraps> Ah
2019-12-02T21:41:02 #kisslinux <dylanaraps> Gotcha
2019-12-02T21:41:13 #kisslinux <dylanaraps> All works now? Including the latest baseinit?
2019-12-02T21:43:51 #kisslinux <qtpie> yep
2019-12-02T21:43:55 #kisslinux <qtpie> everything works
2019-12-02T21:43:58 #kisslinux <qtpie> thanks
2019-12-02T21:44:41 #kisslinux <qtpie> i'll try iwd after my endterms get over
2019-12-02T21:45:28 #kisslinux <dylanara1> Awesome
2019-12-02T23:01:52 #kisslinux <dylanara1> E5ten: https://www.youtube.com/watch?v=F2Q86cphKDo
2019-12-02T23:02:07 #kisslinux <dylanara1> The people working on iwd are the bluez guys.
2019-12-02T23:02:18 #kisslinux <dylanara1> He says it in the video. lol
2019-12-02T23:03:45 #kisslinux <atkka> dylanara1: is bluez an intel project as well?
2019-12-02T23:05:20 #kisslinux <dylanara1> Looks to be: https://01.org/bluez
2019-12-02T23:05:38 #kisslinux <atkka> til
2019-12-02T23:05:50 #kisslinux <dylanara1> > Intel is a leading contributor to this project, employing currently all but one of the maintainers.
2019-12-02T23:06:31 #kisslinux <atkka> its a bummer bluetooth doesn't work without pulse/dbus
2019-12-02T23:06:49 #kisslinux <dylanara1> Wait, pulse too?
2019-12-02T23:06:51 #kisslinux <atkka> unless someone forked an older version of bluez
2019-12-02T23:07:09 #kisslinux <atkka> yeah they dropped alsa support recently I believe
2019-12-02T23:07:25 #kisslinux <dylanara1> Great...
2019-12-02T23:07:35 #kisslinux <atkka> I don't think alsapulse or whatever it is doesn't work either
2019-12-02T23:07:49 #kisslinux <atkka> shit that sentence was garbage haha
2019-12-02T23:07:59 #kisslinux <dylanara1> Pulse sits on top of ALSA though.
2019-12-02T23:08:03 #kisslinux <dylanara1> ....
2019-12-02T23:11:45 #kisslinux <atkka> https://wiki.archlinux.org/index.php/Bluetooth_Headset#Headset_via_Bluez5/bluez-alsa
2019-12-02T23:12:10 #kisslinux <atkka> well looks like it may still be possible but apparently bluez5 dropped alsa
2019-12-02T23:12:19 #kisslinux <dylanara1> Sad
2019-12-02T23:13:19 #kisslinux <atkka> yeah, I don't get why most software these days seems to be regression after regression
2019-12-02T23:13:45 #kisslinux <atkka> why I'm here at kiss I suppose
2019-12-02T23:16:46 #kisslinux <dylanara1> Heh :)
2019-12-02T23:18:36 #kisslinux <atkka> on the plus side shit software is making me money
2019-12-02T23:18:45 #kisslinux <atkka> today anyway
2019-12-02T23:18:49 #kisslinux <dylanara1> lol
2019-12-02T23:19:32 #kisslinux <atkka> getting paid to babysit an upgrade from win7 to win10 3.5 hours in and still at 27%
2019-12-02T23:20:01 #kisslinux <dylanara1> 10/10
2019-12-02T23:24:09 #kisslinux <atkka> is work on an initramfs underway?
2019-12-02T23:24:36 #kisslinux <atkka> is it something wanted/needed
2019-12-02T23:44:15 #kisslinux <dylanara1> Not by me, no. What's required is a huge kernel config full of modules and an initramfs generation tool.
2019-12-02T23:44:44 #kisslinux <dylanara1> KISS doesn't ship a kernel so I'm not sure as to what to do.
2019-12-02T23:45:05 #kisslinux <dylanara1> KISS is also fully FOSS and the kernel would need to include binary blobs.
2019-12-02T23:45:20 #kisslinux <dylanara1> (or two separate kernel packages)
2019-12-02T23:45:29 #kisslinux <atkka> hmm
2019-12-02T23:45:50 #kisslinux <atkka> ok, I guess I need to read up on it some more
2019-12-02T23:45:59 #kisslinux <dylanara1> What do you need one for?
2019-12-02T23:46:48 #kisslinux <atkka> mainly for easier full disk encryption
2019-12-02T23:47:02 #kisslinux <atkka> I've been playing around with dm-mod.create
2019-12-02T23:47:17 #kisslinux <atkka> still can't get a luks volume to decrypt at boot
2019-12-02T23:47:36 #kisslinux <dylanara1> Ah
2019-12-02T23:47:48 #kisslinux <dylanara1> You could possibly create one for your current config.
2019-12-02T23:47:59 #kisslinux <dylanara1> ie, you'd make zero changes to your kernel.
2019-12-02T23:48:50 #kisslinux <dylanara1> This could be a good start: https://github.com/dylanaraps/kiss-initramfs/blob/master/kiss-initramfs
2019-12-02T23:49:33 #kisslinux <atkka> ok, thanks. I'll take a look.
2019-12-02T23:50:39 #kisslinux <dylanara1> The 'cp -a /usr/lib/busybox ...' line should be 'cp -a /usr/bin/busybox ...'.
2019-12-02T23:52:07 #kisslinux <atkka> ahh ok
2019-12-02T23:52:54 #kisslinux <dylanara1> I started writing that months ago when our busybox was dynamically linked.
2019-12-02T23:53:27 #kisslinux <dylanara1> There used to be a second static busybox installed to /usr/lib. You can now just cp the /usr/bin busybox.
2019-12-02T23:53:42 #kisslinux <atkka> ok thanks
2019-12-02T23:56:08 #kisslinux <atkka> do you mainly run the busybox utils or do you use coreutils? also is the kiss busybox config the default config without debug etc?
2019-12-02T23:58:56 #kisslinux <dylanara1> KISS runs with only busybox by default and yeah, the default config has no debug symbols.
2019-12-02T23:59:33 #kisslinux <atkka> cool cool, well thanks for all your work