2020-08-07T00:01:51 #kisslinux himmalerin: pushed the latest multi-word fix (thanks to E5ten!) 2020-08-07T00:02:55 #kisslinux 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 testing again! 2020-08-07T00:04:51 #kisslinux nice 2020-08-07T00:05:06 #kisslinux woot! 2020-08-07T00:05:28 #kisslinux 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 E5ten: kk 2020-08-07T00:05:48 #kisslinux 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 untested btw 2020-08-07T00:06:36 #kisslinux taking a look now 2020-08-07T00:11:50 #kisslinux testing testing 2020-08-07T00:12:23 #kisslinux works! :) 2020-08-07T00:12:30 #kisslinux nice 2020-08-07T00:13:43 #kisslinux testing one more time 2020-08-07T00:23:32 #kisslinux 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 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 kk. makes sense 2020-08-07T00:26:18 #kisslinux oh wait and there's actually a bug, printf(line) is gonna break if line has % in it 2020-08-07T00:26:18 #kisslinux moved! 2020-08-07T00:27:11 #kisslinux should be printf("%s", line) (or if you intended a trailing newline, puts(line)) 2020-08-07T00:29:18 #kisslinux 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 did not know that. cool 2020-08-07T00:33:30 #kisslinux pushed the latest fixes. 2020-08-07T00:35:29 #kisslinux added the ‘?’ and ‘:’ cases for cval... need to decide what i want to happen tho. 2020-08-07T00:37:44 #kisslinux i guess just exit. lol. 2020-08-07T00:38:27 #kisslinux I think getopt already prints an error message by default so yeah just return 1 should work 2020-08-07T00:39:10 #kisslinux 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 yeah. fixing that 2020-08-07T00:42:00 #kisslinux 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 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 testing 2020-08-07T00:49:38 #kisslinux make sense. patched and patched! 2020-08-07T00:52:37 #kisslinux mmm interesting. if i send `:m `, i get an unknown command error. but the message still sends. hmm... 2020-08-07T00:53:35 #kisslinux what's the exact error? 2020-08-07T00:56:27 #kisslinux hm.. the parsed message is `privmsg #firefox :testing this`. the server responded with `667` 2020-08-07T00:56:28 #kisslinux nevermind I see it too 2020-08-07T00:56:52 #kisslinux i think. wait 2020-08-07T00:57:25 #kisslinux adding the -V switch shows the raw stream. 2020-08-07T00:59:11 #kisslinux test one two 2020-08-07T01:00:01 #kisslinux testing again 2020-08-07T01:00:31 #kisslinux seems to happen starting with the refactoring and cleanup commit 2020-08-07T01:01:11 #kisslinux yeah. actually i think after we fixed the multi word issue. 2020-08-07T01:01:48 #kisslinux I didn't get it when I switched to that commit? 2020-08-07T01:01:54 #kisslinux testing again 2020-08-07T01:02:26 #kisslinux btw sorry lol cuz there's a good chance one of my changes is at fault for this 2020-08-07T01:02:55 #kisslinux no worries. at least it WORKS now. lol. better state than before :P 2020-08-07T01:03:06 #kisslinux let's see if I get unknown command 2020-08-07T01:03:18 #kisslinux ok yeah I do see it on the commit you said 2020-08-07T01:10:09 #kisslinux test one 2020-08-07T01:12:45 #kisslinux I'm so confused 2020-08-07T01:14:26 #kisslinux 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 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 false alarm.. a few more minutes. gr.. 2020-08-07T01:22:16 #kisslinux test ing 2020-08-07T01:23:09 #kisslinux I think the issue has something to do with the scanfs, but I don't know what 2020-08-07T01:23:25 #kisslinux cuz I see stuff like this "card.freen ]:%[^ :Unknown command" 2020-08-07T01:25:51 #kisslinux test ing 2020-08-07T01:28:56 #kisslinux 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 actually 2020-08-07T01:29:08 #kisslinux that totally might be the cause 2020-08-07T01:29:12 #kisslinux ah. yeah. maybe. lol 2020-08-07T01:29:33 #kisslinux test ing 2020-08-07T01:29:42 #kisslinux no I still get unknown command 2020-08-07T01:35:08 #kisslinux 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 fixed the raw(buf_c). damn.. i need better var names. :S lol. so sloppy 2020-08-07T01:45:20 #kisslinux test ing 2020-08-07T01:46:21 #kisslinux 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 test ing 2020-08-07T01:47:00 #kisslinux calling it quits for now. will check the logs in the morning... later! and tnx again! 2020-08-07T01:57:22 #kisslinux yeah I give up for now too, can't figure out what the issue is 2020-08-07T03:06:47 #kisslinux For all you wayland users out there, https://github.com/Himmalerin/kiss-wayland 2020-08-07T03:15:54 #kisslinux Once I make sure ff with wayland works on the latest rust that'll show up there too 2020-08-07T07:46:16 #kisslinux morning 2020-08-07T07:48:21 #kisslinux himmalerin: Feel free to drop the "Personal" from the kiss-wayland repository. I really don't mind. 2020-08-07T07:50:49 #kisslinux brb 2020-08-07T08:06:48 #kisslinux Morning 2020-08-07T11:00:03 #kisslinux real quick test 2020-08-07T11:00:18 #kisslinux test all you like 2020-08-07T11:00:20 #kisslinux :) 2020-08-07T11:00:51 #kisslinux 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 #botwar I believe 2020-08-07T11:02:46 #kisslinux lmao "botwar" 2020-08-07T11:03:30 #kisslinux dylanaraps: eep. sorry dylan. lol. i swear i have been spamming mostly #firefox. :) 2020-08-07T11:03:59 #kisslinux also. have not heard of #botwar. will do that instead 2020-08-07T11:04:19 #kisslinux no no 2020-08-07T11:04:21 #kisslinux It's all good 2020-08-07T11:07:58 #kisslinux 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 im sure someone has a solution tho. will keep browsing... 2020-08-07T11:51:02 #kisslinux E5ten: spoke too soon. think i have a “cleaner” solution now. will push shortly. 2020-08-07T12:35:07 #kisslinux E5ten: pushed. instead of `:%s`, i used `:%-*s` and specify the max string length. not elegant, but works. 2020-08-07T12:51:56 #kisslinux I have troubles mounting my efi partition from fstab 2020-08-07T12:52:37 #kisslinux It's in the fstab but it doesn't stay mounted 2020-08-07T12:52:57 #kisslinux I put it so it should normally mount /dev/sda1 to /boot 2020-08-07T13:27:40 #kisslinux My fstab line for my EFI system is this 2020-08-07T13:27:40 #kisslinux http://ix.io/2tv8 2020-08-07T13:27:58 #kisslinux 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 aosync_: 2020-08-07T13:38:32 #kisslinux It works! Thanks. 2020-08-07T13:39:52 #kisslinux Hooray! 2020-08-07T13:58:28 #kisslinux wink wink 2020-08-07T13:58:33 #kisslinux the efi stuff would make a good wiki page 2020-08-07T14:05:14 #kisslinux I should really get on writing up a few things 2020-08-07T14:09:04 #kisslinux There's no rush 2020-08-07T14:17:53 #kisslinux Ah see but if I don't do it soon I might never get around to it xD 2020-08-07T14:30:12 #kisslinux Very true lol 2020-08-07T14:30:15 #kisslinux I'm the same 2020-08-07T14:31:31 #kisslinux There's this paper I've been meaning to write for almost four years, for instance 2020-08-07T14:31:51 #kisslinux 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 I'm v bad at this haha 2020-08-07T14:32:44 #kisslinux y, but doesnt studiying work like this? (: 2020-08-07T14:33:07 #kisslinux Also never studied xD 2020-08-07T14:33:08 #kisslinux A month before dealine, people go crazy and start working 2020-08-07T14:33:11 #kisslinux Too busy teaching 2020-08-07T14:33:25 #kisslinux ah 2020-08-07T14:33:39 #kisslinux how can you teach without studying before? 2020-08-07T14:34:37 #kisslinux I mean I was studying maths so I was teaching introductory algebra, precalculus, calc 1 and 2 2020-08-07T14:34:41 #kisslinux All basic stuff 2020-08-07T14:34:57 #kisslinux Also worked as a tutor so I did a ton of multivariable calculus and differential equations... 2020-08-07T14:35:04 #kisslinux Never taught the stuff I was learning lmao 2020-08-07T14:35:49 #kisslinux ah, gotcha 2020-08-07T14:37:02 #kisslinux But sounds good from a skill view point 2020-08-07T14:38:13 #kisslinux Yeah you'd think I'd have a job that is rewarding and challenging 2020-08-07T14:38:28 #kisslinux Instead I'm a keyboard monkey doing things you could train a python script to do 2020-08-07T14:39:47 #kisslinux Y thats awfull. But rich in mind does not mean getting rich. 2020-08-07T14:40:32 #kisslinux 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 It's hard! 2020-08-07T14:41:03 #kisslinux 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 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 Now I know how to loose rusty bolts :D 2020-08-07T14:44:17 #kisslinux Valuable skills! 2020-08-07T14:44:28 #kisslinux Finding the right job is tricky business 2020-08-07T14:44:36 #kisslinux yes. 2020-08-07T14:44:59 #kisslinux dilynm: say, does your falkon still want to play youtube videos after recent musl update? 2020-08-07T14:57:26 #kisslinux I guess qt5-webengine is a sensible topic (: 2020-08-07T15:02:26 #kisslinux Let me quick test it 2020-08-07T15:03:58 #kisslinux 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 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 ok. and your webengine is still build against older musl? 2020-08-07T15:05:56 #kisslinux I am a rebuilding webengine to see if it fixes my issue. 2020-08-07T15:06:10 #kisslinux Yeah it will be 2020-08-07T15:17:32 #kisslinux Plays just fine as root in KISS-kde 2020-08-07T16:33:40 #kisslinux /msg NickServ identify 2020-08-07T16:36:32 #kisslinux https://www.collabora.com/news-and-blog/news-and-events/kernel-5.8.html 2020-08-07T16:36:48 #kisslinux > DRM-master permissions rework 2020-08-07T16:37:25 #kisslinux This might let wayland(wlroots) compositors without systemd work without suid bit. Nice. 2020-08-07T17:15:48 #kisslinux claudia02: Yeah! 2020-08-07T17:15:50 #kisslinux Exactly 2020-08-07T18:14:14 #kisslinux 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 test ing 2020-08-07T18:17:22 #kisslinux wait I still get unknown command, are you sure the problem was dprintf sending garbage? 2020-08-07T18:18:31 #kisslinux 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 one sec 2020-08-07T18:18:39 #kisslinux test ing 2020-08-07T18:18:54 #kisslinux yeah I get the same unknown command with or without the dprintf change 2020-08-07T18:20:34 #kisslinux no errors when sent to #chatbot channel 2020-08-07T18:21:06 #kisslinux no errors for me when sent to #kisslinux 2020-08-07T18:21:19 #kisslinux hmm 2020-08-07T18:21:25 #kisslinux 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 mm.. i did not know. should actually read up on that lol. 2020-08-07T18:22:28 #kisslinux will remove for now.. gives me ideas tho 2020-08-07T18:23:09 #kisslinux test ing 2020-08-07T18:23:29 #kisslinux yeah I definitely still get 1 Unknown command with the dprintf change 2020-08-07T18:23:32 #kisslinux same as without 2020-08-07T18:25:36 #kisslinux inspecting the raw output one sec  2020-08-07T18:27:02 #kisslinux i’m not seeing it. really weird. lol 2020-08-07T18:27:50 #kisslinux yeah that is weird 2020-08-07T18:27:52 #kisslinux hm 2020-08-07T18:27:59 #kisslinux do you have any local changes that haven't been pushed? 2020-08-07T18:28:33 #kisslinux check that. everything has been pushed. 2020-08-07T18:30:14 #kisslinux idk then, confusing 2020-08-07T18:31:15 #kisslinux yeah.. anyway. still not the best solution. considering it is ‘partially’ working :S 2020-08-07T18:41:53 #kisslinux 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 yeah 2020-08-07T18:49:22 #kisslinux 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 instead of using write() 2020-08-07T19:25:14 #kisslinux kiss depends X -> nothing, kiss revdepends X -> nothing, but X doesnt show up in orphans? 2020-08-07T19:46:45 #kisslinux hm.. i still have a few additional ideas still to try. brb 2020-08-07T19:50:22 #kisslinux Maybe X isn't installed? 2020-08-07T19:51:02 #kisslinux it was, if you try those on something that isnt installed, you get an error 2020-08-07T19:51:46 #kisslinux j`ey: iirc 'xorg-server' provides /usr/bin/X, not 'X' 2020-08-07T19:52:13 #kisslinux Himmalerin: X was a placeholder 2020-08-07T19:52:40 #kisslinux oh oops, figured you were talking about xorg 2020-08-07T19:55:32 #kisslinux What happens if you grep /var/db/kiss/installed/X/depends ? 2020-08-07T19:55:49 #kisslinux s/grep/cat 2020-08-07T19:56:20 #kisslinux that's what X depends on, not what depends on X 2020-08-07T19:56:27 #kisslinux but I removed it now anyway 2020-08-07T20:00:47 #kisslinux 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 I just assumed that was one of the things you wanted to know based on the first message 2020-08-07T20:02:03 #kisslinux pkgconf is a package... Dunno about pkgconfig 2020-08-07T20:02:21 #kisslinux argh yeha, my bad 2020-08-07T20:03:06 #kisslinux still dont know why it didnt show up in orphans though 2020-08-07T20:06:07 #kisslinux is this expected? https://pasta.cx/7.sh 2020-08-07T20:06:39 #kisslinux yes, orphans explicitly excludes pkgconf 2020-08-07T20:37:50 #kisslinux Himmalerin: thx for the foot package ;) 2020-08-07T20:38:24 #kisslinux Himmalerin: just try to get wayland somehow working. not sure if i like the hole wayland story though 2020-08-07T20:41:06 #kisslinux 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 As for wayland overall, still liking it. Awesome not getting any tearing 2020-08-07T23:37:28 #kisslinux So, I have rebuild the whole qt stack. Qutebrowser/falkon still does not want to play videos.. >:| 2020-08-07T23:40:17 #kisslinux Strange... 2020-08-07T23:40:25 #kisslinux What is the error it gives?? 2020-08-07T23:43:18 #kisslinux qutebrowser 'Renderer process crashed' 2020-08-07T23:43:50 #kisslinux falkon crashes the tab with the suggestion to free more ram and try again 2020-08-07T23:44:15 #kisslinux When I change to previous musl it instantly works.. 2020-08-07T23:45:22 #kisslinux the latest musl had a malloc change.. 2020-08-07T23:51:45 #kisslinux Yes, but this sees specific to my machine as it does not happen on dilynm's side 2020-08-07T23:58:54 #kisslinux ffmpeg + mpv work just fine.