💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-08-07.txt captured on 2024-05-12 at 16:07:53.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

2020-08-07T00:01:51 #kisslinux <mcpcpc[m]> himmalerin: pushed the latest multi-word fix (thanks to E5ten!)
2020-08-07T00:02:55 #kisslinux <E5ten> in a couple minutes I'll have a change ready that'll get rid of that allocation (why allocate and free memory for each message sent when it can be avoided right)
2020-08-07T00:04:46 #kisslinux <himm_kirc> testing again!
2020-08-07T00:04:51 #kisslinux <himmalerin> nice
2020-08-07T00:05:06 #kisslinux <mcpcpc[m]> woot!
2020-08-07T00:05:28 #kisslinux <E5ten> http://ix.io/2tt5 I think this should work? (you'll want to error check the write calls though, as you should with all the other write calls)
2020-08-07T00:05:41 #kisslinux <mcpcpc[m]> E5ten: kk
2020-08-07T00:05:48 #kisslinux <E5ten> basically just writing the stuff you're putting in usrin directly instead of replacing usrin and always writing it
2020-08-07T00:06:06 #kisslinux <E5ten> untested btw
2020-08-07T00:06:36 #kisslinux <mcpcpc[m]> taking a look now
2020-08-07T00:11:50 #kisslinux <mcpcpc_test> testing testing
2020-08-07T00:12:23 #kisslinux <mcpcpc[m]> works! :)
2020-08-07T00:12:30 #kisslinux <E5ten> nice
2020-08-07T00:13:43 #kisslinux <mcpcpc_test> testing one more time
2020-08-07T00:23:32 #kisslinux <E5ten> mcpcpc: and imo the allocation in printw should just be char line[BUFF + 1], you know the size in advance and don't free till the end of the function, so it's the same amount of memory without possible failure and tiny speed loss from malloc
2020-08-07T00:24:34 #kisslinux <E5ten> also the va_end can be moved to right after the vsnprintf, cuz argptr isn't used after that point anyway
2020-08-07T00:26:10 #kisslinux <mcpcpc[m]> <E5ten "mcpcpc: and imo the allocation i"> kk.  makes sense
2020-08-07T00:26:18 #kisslinux <E5ten> oh wait and there's actually a bug, printf(line) is gonna break if line has % in it
2020-08-07T00:26:18 #kisslinux <mcpcpc[m]> <E5ten "also the va_end can be moved to "> moved!
2020-08-07T00:27:11 #kisslinux <E5ten> should be printf("%s", line) (or if you intended a trailing newline, puts(line))
2020-08-07T00:29:18 #kisslinux <E5ten> also in main(), the first 2 lines where you declare the getopt variables aren't needed, those decls are already in unistd.h
2020-08-07T00:29:40 #kisslinux <mcpcpc[m]> <E5ten "also in main(), the first 2 line"> did not know that.  cool
2020-08-07T00:33:30 #kisslinux <mcpcpc[m]> pushed the latest fixes.
2020-08-07T00:35:29 #kisslinux <mcpcpc[m]> added the ‘?’ and ‘:’ cases for cval... need to decide what i want to happen tho.
2020-08-07T00:37:44 #kisslinux <mcpcpc[m]> i guess just exit. lol.
2020-08-07T00:38:27 #kisslinux <E5ten> I think getopt already prints an error message by default so yeah just return 1 should work
2020-08-07T00:39:10 #kisslinux <E5ten> oh and in main() the exit(2) should be return 2 cuz you don't need to exit() in main
2020-08-07T00:39:27 #kisslinux <mcpcpc[m]> yeah. fixing that
2020-08-07T00:42:00 #kisslinux <E5ten> and I think for the ioctl FIONREAD, this should be a POSIX equivalent http://ix.io/2tt8 (ioctl's are inherently non-standard even if they're widely supported)
2020-08-07T00:45:57 #kisslinux <E5ten> http://ix.io/2tt9 and this avoids a memset (when you use designated initializers, all the struct members you don't explicitly initialize will be 0-initialized, so the members that aren't ai_family and ai_socktype will be 0, without the memset)
2020-08-07T00:47:03 #kisslinux <mcpcpc> testing
2020-08-07T00:49:38 #kisslinux <mcpcpc[m]> make sense. patched and patched!
2020-08-07T00:52:37 #kisslinux <mcpcpc[m]> mmm interesting.  if i send `:m <multi word message>`, i get an unknown command error.  but the message still sends.   hmm...
2020-08-07T00:53:35 #kisslinux <E5ten> what's the exact error?
2020-08-07T00:56:27 #kisslinux <mcpcpc[m]> hm.. the parsed message is `privmsg #firefox :testing this`.   the server responded with `667`
2020-08-07T00:56:28 #kisslinux <E5ten> nevermind I see it too
2020-08-07T00:56:52 #kisslinux <mcpcpc[m]> i think.   wait
2020-08-07T00:57:25 #kisslinux <mcpcpc[m]> adding the -V switch shows the raw stream.
2020-08-07T00:59:11 #kisslinux <e5ten_test> test one two
2020-08-07T01:00:01 #kisslinux <e5ten_test> testing again
2020-08-07T01:00:31 #kisslinux <E5ten> seems to happen starting with the refactoring and cleanup commit
2020-08-07T01:01:11 #kisslinux <mcpcpc[m]> yeah. actually i think after we fixed the multi word issue.
2020-08-07T01:01:48 #kisslinux <E5ten> I didn't get it when I switched to that commit?
2020-08-07T01:01:54 #kisslinux <e5ten_test> testing again
2020-08-07T01:02:26 #kisslinux <E5ten> btw sorry lol cuz there's a good chance one of my changes is at fault for this
2020-08-07T01:02:55 #kisslinux <mcpcpc[m]> no worries. at least it WORKS now. lol. better state than before :P
2020-08-07T01:03:06 #kisslinux <e5ten_test> let's see if I get unknown command
2020-08-07T01:03:18 #kisslinux <E5ten> ok yeah I do see it on the commit you said
2020-08-07T01:10:09 #kisslinux <e5ten_test> test one
2020-08-07T01:12:45 #kisslinux <E5ten> I'm so confused
2020-08-07T01:14:26 #kisslinux <mcpcpc[m]> E5ten: ahh. gotta run for now.  will another look to tomorrow... thnx again for the help!  already 100% better than before :P
2020-08-07T01:15:21 #kisslinux <E5ten> could it be because it's supposed to end in a crlf but it's only an lf lol?
2020-08-07T01:19:24 #kisslinux <mcpcpc[m]> false alarm.. a few more minutes.  gr..
2020-08-07T01:22:16 #kisslinux <e5ten_test> test ing
2020-08-07T01:23:09 #kisslinux <E5ten> I think the issue has something to do with the scanfs, but I don't know what
2020-08-07T01:23:25 #kisslinux <E5ten> cuz I see stuff like this "card.freen ]:%[^ :Unknown command"
2020-08-07T01:25:51 #kisslinux <e5ten_test> test ing
2020-08-07T01:28:56 #kisslinux <E5ten> oh another bug, but I don't think it's the cause? raw(buf_c) has the same issue as the printf(line) thing
2020-08-07T01:29:03 #kisslinux <E5ten> actually
2020-08-07T01:29:08 #kisslinux <E5ten> that totally might be the cause
2020-08-07T01:29:12 #kisslinux <mcpcpc[m]> ah. yeah. maybe.  lol
2020-08-07T01:29:33 #kisslinux <e5ten_test> test ing
2020-08-07T01:29:42 #kisslinux <E5ten> no I still get unknown command
2020-08-07T01:35:08 #kisslinux <E5ten> ok well I think I see another problem? the fgets(usrin thing will fill up to CMAX, but if there's less than CMAX to fill it with, then when the write(fd[1], usrin, CMAX) happens, everything after the null byte that fgets placed in usrin will also be written, and that stuff will be garbage/leftover from before
2020-08-07T01:35:35 #kisslinux <mcpcpc[m]> fixed the raw(buf_c). damn.. i need better var names.  :S lol. so sloppy
2020-08-07T01:45:20 #kisslinux <e5ten_test> test ing
2020-08-07T01:46:21 #kisslinux <mcpcpc[m]> <E5ten "ok well I think I see another pr"> there are probably a few instances of that.   will take a look tomorrow... when i am more awake. lol.
2020-08-07T01:46:27 #kisslinux <e5ten_test> test ing
2020-08-07T01:47:00 #kisslinux <mcpcpc[m]> calling it quits for now. will check the logs in the morning... later!  and tnx again!
2020-08-07T01:57:22 #kisslinux <E5ten> yeah I give up for now too, can't figure out what the issue is
2020-08-07T03:06:47 #kisslinux <himmalerin> For all you wayland users out there, https://github.com/Himmalerin/kiss-wayland
2020-08-07T03:15:54 #kisslinux <himmalerin> Once I make sure ff with wayland works on the latest rust that'll show up there too
2020-08-07T07:46:16 #kisslinux <dylanaraps> morning
2020-08-07T07:48:21 #kisslinux <dylanaraps>  himmalerin: Feel free to drop the "Personal" from the kiss-wayland repository. I really don't mind.
2020-08-07T07:50:49 #kisslinux <dylanaraps> brb
2020-08-07T08:06:48 #kisslinux <aosync_> Morning
2020-08-07T11:00:03 #kisslinux <mcpcpc> real quick test
2020-08-07T11:00:18 #kisslinux <dylanaraps> test all you like
2020-08-07T11:00:20 #kisslinux <dylanaraps> :)
2020-08-07T11:00:51 #kisslinux <dylanaraps> if you feel it's too much, there are channels here meant for testing bots. I test there when things are especially broken. lol
2020-08-07T11:00:59 #kisslinux <dylanaraps> #botwar I believe
2020-08-07T11:02:46 #kisslinux <aosync> lmao "botwar"
2020-08-07T11:03:30 #kisslinux <mcpcpc[m]> dylanaraps: eep. sorry dylan. lol. i swear i have been spamming mostly #firefox.  :)
2020-08-07T11:03:59 #kisslinux <mcpcpc[m]> also.  have not heard of #botwar.  will do that instead
2020-08-07T11:04:19 #kisslinux <dylanaraps> no no
2020-08-07T11:04:21 #kisslinux <dylanaraps> It's all good
2020-08-07T11:07:58 #kisslinux <mcpcpc[m]> E5ten: put in a temporary patch.  but it is exactly as you said.  im getting garbage after the ‘0’ from dprintf().  i cant think of a way around specifying the number of bytes for read/write for the parent/child processes.
2020-08-07T11:08:59 #kisslinux <mcpcpc[m]> im sure someone has a solution tho. will keep browsing...
2020-08-07T11:51:02 #kisslinux <mcpcpc[m]> E5ten: spoke too soon. think i have a “cleaner” solution now.  will push shortly.
2020-08-07T12:35:07 #kisslinux <mcpcpc[m]> E5ten: pushed. instead of `:%s`, i used `:%-*s` and specify the max string length.  not elegant, but works.
2020-08-07T12:51:56 #kisslinux <aosync_> I have troubles mounting my efi partition from fstab
2020-08-07T12:52:37 #kisslinux <aosync_> It's in the fstab but it doesn't stay mounted
2020-08-07T12:52:57 #kisslinux <aosync_> I put it so it should normally mount /dev/sda1 to /boot
2020-08-07T13:27:40 #kisslinux <dilynm> My fstab line for my EFI system is this
2020-08-07T13:27:40 #kisslinux <dilynm> http://ix.io/2tv8
2020-08-07T13:27:58 #kisslinux <dilynm> Allegedly a lot of those options are default but I had a similar problem when I didn't include them
2020-08-07T13:28:31 #kisslinux <dilynm> aosync_:
2020-08-07T13:38:32 #kisslinux <aosync__> It works! Thanks.
2020-08-07T13:39:52 #kisslinux <dilynm> Hooray!
2020-08-07T13:58:28 #kisslinux <dylanaraps> wink wink
2020-08-07T13:58:33 #kisslinux <dylanaraps> the efi stuff would make a good wiki page
2020-08-07T14:05:14 #kisslinux <dilynm> I should really get on writing up a few things
2020-08-07T14:09:04 #kisslinux <dylanaraps> There's no rush
2020-08-07T14:17:53 #kisslinux <dilynm> Ah see but if I don't do it soon I might never get around to it xD
2020-08-07T14:30:12 #kisslinux <dylanaraps> Very true lol
2020-08-07T14:30:15 #kisslinux <dylanaraps> I'm the same
2020-08-07T14:31:31 #kisslinux <dilynm> There's this paper I've been meaning to write for almost four years, for instance
2020-08-07T14:31:51 #kisslinux <dilynm> I delayed my senior thesis for so long I turned it in a month late. I had a year to write it.
2020-08-07T14:31:57 #kisslinux <dilynm> I'm v bad at this haha
2020-08-07T14:32:44 #kisslinux <claudia02> y, but doesnt studiying work like this? (:
2020-08-07T14:33:07 #kisslinux <dilynm> Also never studied xD
2020-08-07T14:33:08 #kisslinux <claudia02> A month before dealine, people go crazy and start working
2020-08-07T14:33:11 #kisslinux <dilynm> Too busy teaching
2020-08-07T14:33:25 #kisslinux <claudia02> ah
2020-08-07T14:33:39 #kisslinux <claudia02> how can you teach without studying before?
2020-08-07T14:34:37 #kisslinux <dilynm> I mean I was studying maths so I was teaching introductory algebra, precalculus, calc 1 and 2
2020-08-07T14:34:41 #kisslinux <dilynm> All basic stuff
2020-08-07T14:34:57 #kisslinux <dilynm> Also worked as a tutor so I did a ton of multivariable calculus and differential equations...
2020-08-07T14:35:04 #kisslinux <dilynm> Never taught the stuff I was learning lmao
2020-08-07T14:35:49 #kisslinux <claudia02> ah, gotcha
2020-08-07T14:37:02 #kisslinux <claudia02> But sounds good from a skill view point
2020-08-07T14:38:13 #kisslinux <dilynm> Yeah you'd think I'd have a job that is rewarding and challenging
2020-08-07T14:38:28 #kisslinux <dilynm> Instead I'm a keyboard monkey doing things you could train a python script to do
2020-08-07T14:39:47 #kisslinux <claudia02> Y thats awfull. But rich in mind does not mean getting rich.
2020-08-07T14:40:32 #kisslinux <claudia02> I started a study about telekomunikation stuff, to find out that I cant really figure out the basic math stuff :D
2020-08-07T14:40:44 #kisslinux <dilynm> It's hard!
2020-08-07T14:41:03 #kisslinux <dilynm> I learned I'm super bad at doing maths so I picked up a philosophy degree so I could justify thinking about it
2020-08-07T14:42:09 #kisslinux <claudia02> I went to what I was really interestet in and did a education in bicylce mechanic. Which is was also bad because I cant do a heartless $job about something I like :2020-08-07T14:43:25 #kisslinux <claudia02> Now I know how to loose rusty bolts :D
2020-08-07T14:44:17 #kisslinux <dilynm> Valuable skills!
2020-08-07T14:44:28 #kisslinux <dilynm> Finding the right job is tricky business
2020-08-07T14:44:36 #kisslinux <claudia02> yes.
2020-08-07T14:44:59 #kisslinux <claudia02> dilynm: say, does your falkon still want to play youtube videos after recent musl update?
2020-08-07T14:57:26 #kisslinux <claudia02> I guess qt5-webengine is a sensible topic (:
2020-08-07T15:02:26 #kisslinux <dilynm> Let me quick test it
2020-08-07T15:03:58 #kisslinux <dilynm> I'm reembarking down the kiss-llvm path and testing the dev branch of qt to see if it actually works
2020-08-07T15:04:24 #kisslinux <dilynm> It does, except webengine complains about some libcxx symbols. Which means something is broken with llvm. KISS-kde chroot to the rescue
2020-08-07T15:05:36 #kisslinux <claudia02> ok. and your webengine is still build against older musl?
2020-08-07T15:05:56 #kisslinux <claudia02> I am a rebuilding webengine to see if it fixes my issue.
2020-08-07T15:06:10 #kisslinux <dilynm> Yeah it will be
2020-08-07T15:17:32 #kisslinux <dilynm> Plays just fine as root in KISS-kde
2020-08-07T16:33:40 #kisslinux <himmalerin> /msg NickServ identify
2020-08-07T16:36:32 #kisslinux <claudia02> https://www.collabora.com/news-and-blog/news-and-events/kernel-5.8.html
2020-08-07T16:36:48 #kisslinux <claudia02> > DRM-master permissions rework
2020-08-07T16:37:25 #kisslinux <claudia02> This might let wayland(wlroots) compositors without systemd work without suid bit. Nice.
2020-08-07T17:15:48 #kisslinux <dylan02> claudia02: Yeah!
2020-08-07T17:15:50 #kisslinux <dylan02> Exactly
2020-08-07T18:14:14 #kisslinux <E5ten> mcpcpc: it doesn't make sense to me that this is an issue for dprintf, because since dprintf is printing a string (unlike write which is printing arbitrary bytes) it should already be stopping at the null byte, not printing anything after it
2020-08-07T18:17:00 #kisslinux <e5ten_test> test ing
2020-08-07T18:17:22 #kisslinux <E5ten> wait I still get unknown command, are you sure the problem was dprintf sending garbage?
2020-08-07T18:18:31 #kisslinux <mcpcpc[m]> <E5ten "wait I still get unknown command"> really?  hm.  i didnt look at raw output...  but i didnt get an error when i sent a test command
2020-08-07T18:18:35 #kisslinux <mcpcpc[m]> one sec
2020-08-07T18:18:39 #kisslinux <e5ten_test> test ing
2020-08-07T18:18:54 #kisslinux <E5ten> yeah I get the same unknown command with or without the dprintf change
2020-08-07T18:20:34 #kisslinux <mcpcpc> no errors when sent to #chatbot channel
2020-08-07T18:21:06 #kisslinux <mcpcpc[m]> no errors for me when sent to #kisslinux
2020-08-07T18:21:19 #kisslinux <mcpcpc[m]> hmm
2020-08-07T18:21:25 #kisslinux <E5ten> also, unrelated, you don't need getopt handling of ':', that only gets returned if you have a : as the first character in your getopt string, (which also silences warnings), since you don't have a : at the beginning of the getopt string, it'll return '?' for both invalid option and missing argument
2020-08-07T18:22:10 #kisslinux <mcpcpc[m]> mm.. i did not know. should actually read up on that lol.
2020-08-07T18:22:28 #kisslinux <mcpcpc[m]> will remove for now.. gives me ideas tho
2020-08-07T18:23:09 #kisslinux <e5ten_test> test ing
2020-08-07T18:23:29 #kisslinux <E5ten> yeah I definitely still get 1 Unknown command with the dprintf change
2020-08-07T18:23:32 #kisslinux <E5ten> same as without
2020-08-07T18:25:36 #kisslinux <mcpcpc> inspecting the raw output   one sec 
2020-08-07T18:27:02 #kisslinux <mcpcpc[m]> i’m not seeing it. really weird. lol
2020-08-07T18:27:50 #kisslinux <E5ten> yeah that is weird
2020-08-07T18:27:52 #kisslinux <E5ten> hm
2020-08-07T18:27:59 #kisslinux <E5ten> do you have any local changes that haven't been pushed?
2020-08-07T18:28:33 #kisslinux <mcpcpc[m]> check that.  everything has been pushed.
2020-08-07T18:30:14 #kisslinux <E5ten> idk then, confusing
2020-08-07T18:31:15 #kisslinux <mcpcpc[m]> yeah.. anyway. still not the best solution. considering it is ‘partially’ working :S
2020-08-07T18:41:53 #kisslinux <mcpcpc[m]> was thinking.. `read()` reads passed the NULL byte until the buffer is filled, right?  imagine i could just copy the content to a new  array and drop the garbage at the end.
2020-08-07T18:48:47 #kisslinux <E5ten> yeah
2020-08-07T18:49:22 #kisslinux <E5ten> but if there's a null byte you could just print it using something that deals with strings (dprintf) and it won't print anything after the null byte
2020-08-07T18:49:30 #kisslinux <E5ten> instead of using write()
2020-08-07T19:25:14 #kisslinux <j`ey> kiss depends X -> nothing, kiss revdepends X -> nothing, but X doesnt show up in orphans?
2020-08-07T19:46:45 #kisslinux <mcpcpc[m]> <E5ten "but if there's a null byte you c"> hm.. i still have a few additional ideas still to try. brb
2020-08-07T19:50:22 #kisslinux <dilynm> Maybe X isn't installed?
2020-08-07T19:51:02 #kisslinux <j`ey> it was, if you try those on something that isnt installed, you get an error
2020-08-07T19:51:46 #kisslinux <Himmalerin> j`ey: iirc 'xorg-server' provides /usr/bin/X, not 'X'
2020-08-07T19:52:13 #kisslinux <j`ey> Himmalerin: X was a placeholder
2020-08-07T19:52:40 #kisslinux <Himmalerin> oh oops, figured you were talking about xorg
2020-08-07T19:55:32 #kisslinux <dilynm> What happens if you grep /var/db/kiss/installed/X/depends ?
2020-08-07T19:55:49 #kisslinux <dilynm> s/grep/cat
2020-08-07T19:56:20 #kisslinux <j`ey> that's what X depends on, not what depends on X
2020-08-07T19:56:27 #kisslinux <j`ey> but I removed it now anyway
2020-08-07T20:00:47 #kisslinux <j`ey> now I dont even know where I installed it from, it was pkgconfig.. but I can't find that in any repos
2020-08-07T20:01:50 #kisslinux <dilynm> I just assumed that was one of the things you wanted to know based on the first message
2020-08-07T20:02:03 #kisslinux <dilynm> pkgconf is a package... Dunno about pkgconfig
2020-08-07T20:02:21 #kisslinux <j`ey> argh yeha, my bad
2020-08-07T20:03:06 #kisslinux <j`ey> still dont know why it didnt show up in orphans though
2020-08-07T20:06:07 #kisslinux <j`ey> is this expected? https://pasta.cx/7.sh
2020-08-07T20:06:39 #kisslinux <j`ey> yes, orphans explicitly excludes pkgconf
2020-08-07T20:37:50 #kisslinux <magenbluten> Himmalerin: thx for the foot package ;)
2020-08-07T20:38:24 #kisslinux <magenbluten> Himmalerin: just try to get wayland somehow working. not sure if i like the hole wayland story though
2020-08-07T20:41:06 #kisslinux <Himmalerin> no problem! I've switched out alacritty, liking it so far. The only issue I've run into is ssh'ing, you run into termcap issues (on freebsd at least)
2020-08-07T20:41:39 #kisslinux <Himmalerin> As for wayland overall, still liking it. Awesome not getting any tearing
2020-08-07T23:37:28 #kisslinux <claudia02> So, I have rebuild the whole qt stack. Qutebrowser/falkon still does not want to play videos.. >:|
2020-08-07T23:40:17 #kisslinux <dilynm> Strange...
2020-08-07T23:40:25 #kisslinux <dilynm> What is the error it gives??
2020-08-07T23:43:18 #kisslinux <claudia02> qutebrowser 'Renderer process crashed'
2020-08-07T23:43:50 #kisslinux <claudia02> falkon crashes the tab with the suggestion to free more ram and try again
2020-08-07T23:44:15 #kisslinux <claudia02> When I change to previous musl it instantly works..
2020-08-07T23:45:22 #kisslinux <j`ey> the latest musl had a malloc change..
2020-08-07T23:51:45 #kisslinux <claudia02> Yes, but this sees specific to my machine as it does not happen on dilynm's side
2020-08-07T23:58:54 #kisslinux <claudia02> ffmpeg + mpv work just fine.