2020-01-03T01:36:17 #kisslinux http://ix.io/26fk I want to try to upstream this byacc compat patch for iproute2 but I am disillusioned after my attempt to make the kernel byacc compatible :( 2020-01-03T06:37:00 #kisslinux > https://www.phoronix.com/scan.php?page=news_item&px=Fedora-32-sysusers.d-Plan 2020-01-03T06:37:05 #kisslinux > Fedora 32 Planning To Make Use Of systemd's sysusers.d For Declaring New Users 2020-01-03T06:37:07 #kisslinux wew 2020-01-03T06:37:47 #kisslinux > https://www.freedesktop.org/software/systemd/man/sysusers.d.html 2020-01-03T06:38:08 #kisslinux > systemd-sysusers uses the files from sysusers.d directory to create system users and groups and to add users to groups, at package installation or boot time. 2020-01-03T06:47:21 #kisslinux Someone is pretending to be me on twitter huh. 2020-01-03T06:47:24 #kisslinux https://twitter.com/dylanaraps 2020-01-03T07:23:11 #kisslinux Hello 2020-01-03T08:31:39 #kisslinux The intel GPU hang under Xorg is fixed in the 5.5rcs fyi. 2020-01-03T08:32:08 #kisslinux The patch hasn't been backported to 5.4 though. :( 2020-01-03T08:33:05 #kisslinux Arch backported it but the issue still occurs for reference: https://git.archlinux.org/linux.git/commit/?h=v5.4.7-arch1&id=8c19c0f7eacb125b9a097d080a385d527f8ff836 2020-01-03T08:33:22 #kisslinux https://old.reddit.com/r/archlinux/comments/ej4602/i915_module_still_freeze_even_with_547/ 2020-01-03T08:34:11 #kisslinux There's a thread about it here too: https://bbs.archlinux.org/viewtopic.php?id=250765&p=4 2020-01-03T08:35:51 #kisslinux Upstream: https://gitlab.freedesktop.org/drm/intel/issues/673 2020-01-03T09:00:58 #kisslinux How are you finding the BMQ kernel? 2020-01-03T09:04:55 #kisslinux OK. Running the rc kernel. 2020-01-03T09:15:24 #kisslinux that twitter is Indonesian, and follows... local porn, great 2020-01-03T09:22:01 #kisslinux Yup 2020-01-03T09:27:19 #kisslinux I'm surprised Fedora of all distros took that long to adopt sysusers.d 2020-01-03T09:27:44 #kisslinux since Arch has already used it since god knows when 2020-01-03T09:46:23 #kisslinux Interesting 2020-01-03T12:00:27 #kisslinux Are there any dbus free notifications daemons? AFAIK, notify-send (libnotify) requires dbus right? 2020-01-03T12:04:32 #kisslinux It does, yeah. 2020-01-03T12:05:16 #kisslinux It'd be difficult to avoid dbus here as the program sending notifications needs support built into it. 2020-01-03T12:06:14 #kisslinux I used to use lemonbar for notifications for things like battery life / volume. 2020-01-03T12:06:33 #kisslinux Problem is that you won't get notifications from Firefox and other applications. 2020-01-03T12:06:43 #kisslinux Yeah that's the thing. 2020-01-03T12:06:58 #kisslinux How do you deal with nick highlights in your IRC client? 2020-01-03T12:07:17 #kisslinux Anyy script calling `notify-send` can be made compatible by providing your own notify-send. 2020-01-03T12:07:19 #kisslinux Any* 2020-01-03T12:07:48 #kisslinux Nick highlights are done in my irc client (weechat) by mapping the hash of the nick to a terminal color. 2020-01-03T12:08:11 #kisslinux My bash client used the length of each nick which is simpler but still the same idea. 2020-01-03T12:09:05 #kisslinux Example: local nick_color="[38;5;$((${#1}/2))m" 2020-01-03T12:09:19 #kisslinux No, I meant how do you get notified? Or do you just periodically check IRC? 2020-01-03T12:09:22 #kisslinux Oh 2020-01-03T12:09:32 #kisslinux I choose to not have notifications for anything. 2020-01-03T12:09:40 #kisslinux Hah! Brutalist approach. 2020-01-03T12:09:53 #kisslinux I check periodically for email, github, irc, etc. 2020-01-03T12:10:21 #kisslinux I like my hardware to only do things when I interact with it. 2020-01-03T12:10:32 #kisslinux Fair enough. 2020-01-03T12:10:41 #kisslinux The only daemon I run is iwd for example! 2020-01-03T12:10:49 #kisslinux I don't have a service manager either. 2020-01-03T12:11:16 #kisslinux Woah! Neat. 2020-01-03T12:11:21 #kisslinux I got sick of notifications etc. 2020-01-03T12:11:26 #kisslinux Also got rid of my mobile phone. 2020-01-03T12:11:45 #kisslinux When I leave the house I have zero tech on me basically. :) 2020-01-03T12:11:58 #kisslinux Yes, I recall you mentioning that. I admire that haha. 2020-01-03T12:12:11 #kisslinux I don't think I can get rid of my personal phone that easily though. 2020-01-03T12:12:35 #kisslinux It's hard at first. 2020-01-03T12:13:21 #kisslinux I also moved to a village and away from the city. 2020-01-03T12:13:45 #kisslinux To get away from all the noise? 2020-01-03T12:13:48 #kisslinux Yup 2020-01-03T12:13:53 #kisslinux Damn. Nice. 2020-01-03T12:14:29 #kisslinux That's very cool, really. I wish I had that liberty haha. 2020-01-03T12:15:24 #kisslinux Set a goal for yourself with a deadline and work towards it. It took me over a year to move and it also seemed impossible. :) 2020-01-03T12:15:47 #kisslinux Well, I'll have to finish my undergrad first. LOL 2020-01-03T12:15:59 #kisslinux How do you finance yourself, if I may ask? 2020-01-03T12:16:08 #kisslinux Nothing stops you from planning and thinking about it now though! 2020-01-03T12:16:19 #kisslinux Indeed! I shall keep that in mind. 2020-01-03T12:17:04 #kisslinux Instead of saying "I wish I could" say "How can I make this happen?". A statement closes the mind. A question opens the mind. :) 2020-01-03T12:17:36 #kisslinux Very true! 2020-01-03T12:19:08 #kisslinux I'm currently working on starting a business though I can't say much yet. 2020-01-03T12:19:25 #kisslinux I see. That's nice. Good luck with that. 2020-01-03T12:19:29 #kisslinux Thanks :) 2020-01-03T12:20:07 #kisslinux And regarding notifications, I've decided to have it as a config option in my client. 2020-01-03T12:20:31 #kisslinux Which defaults to notify-send 2020-01-03T12:20:35 #kisslinux Yup 2020-01-03T12:20:53 #kisslinux You could just call 'notify-send' using the shell from C if you want to keep things simple. 2020-01-03T12:21:09 #kisslinux Which is what I'm doing LOL. Shelling out via system(). 2020-01-03T12:21:20 #kisslinux Hah 2020-01-03T12:21:21 #kisslinux And I populate system() with a cool sprintf() hack. 2020-01-03T12:21:44 #kisslinux snprintf* 2020-01-03T12:22:02 #kisslinux I think this will do for now. 2020-01-03T12:22:57 #kisslinux Nice 2020-01-03T12:23:39 #kisslinux How do I exit the client btw? 2020-01-03T12:24:17 #kisslinux use /x 2020-01-03T12:24:21 #kisslinux Yup 2020-01-03T12:24:24 #kisslinux Just checked the source :P 2020-01-03T12:24:36 #kisslinux I thought I'd mentioned that in the readme. 2020-01-03T12:24:57 #kisslinux Yup 2020-01-03T12:25:00 #kisslinux My fault 2020-01-03T12:25:04 #kisslinux No worries! 2020-01-03T12:25:33 #kisslinux There's still one annoying bug. 2020-01-03T12:26:40 #kisslinux ACTIONs show up twice. 2020-01-03T12:27:03 #kisslinux I am yet to figure that out. 2020-01-03T12:27:28 #kisslinux Ah 2020-01-03T12:29:19 #kisslinux test 2020-01-03T12:30:35 #kisslinux Seems to work. :) 2020-01-03T12:30:45 #kisslinux Look at this: 2020-01-03T12:30:49 #kisslinux * icyphox shows up twice? 2020-01-03T12:31:01 #kisslinux Yup 2020-01-03T12:35:17 #kisslinux Should I bother with colors? As of now, IRC colors don't get rendered. 2020-01-03T12:35:38 #kisslinux Instead, the color number shows up prefixed with the message. Hah. 2020-01-03T12:37:34 #kisslinux Apologies. Power went out. 2020-01-03T12:39:02 #kisslinux No worries. 2020-01-03T12:39:46 #kisslinux https://u.teknik.io/X1qV5.jpg 2020-01-03T12:39:56 #kisslinux This is what my client looks like currently. 2020-01-03T12:39:58 #kisslinux (weechat) 2020-01-03T12:40:03 #kisslinux I like the colors. :P 2020-01-03T12:40:46 #kisslinux Nice! That looks clean. 2020-01-03T12:41:31 #kisslinux Yup. I want to write my own client now. Or finish my bash one. :P 2020-01-03T12:41:38 #kisslinux Finish the bash one! 2020-01-03T12:42:00 #kisslinux I would love to use the bash one over this hacky C mess of a client. 2020-01-03T12:42:11 #kisslinux ncurses sucks. 2020-01-03T12:42:21 #kisslinux The tricky part is making rendering and (keyboard) input async. 2020-01-03T12:42:38 #kisslinux Ah. Hmm. 2020-01-03T12:42:50 #kisslinux I've done it and it works ok but sometimes drops incoming messages. 2020-01-03T12:43:01 #kisslinux Let me send a scrot 2020-01-03T12:43:16 #kisslinux Also, storing channel history is tough. 2020-01-03T12:43:16 #kisslinux Is the source public? 2020-01-03T12:43:19 #kisslinux Yup 2020-01-03T12:43:25 #kisslinux https://github.com/dylanaraps/birch 2020-01-03T12:43:32 #kisslinux Code isn't to my liking anymore :P 2020-01-03T12:43:44 #kisslinux I'm going to rewrite it from scratch. 2020-01-03T12:43:58 #kisslinux Hello 2020-01-03T12:44:14 #kisslinux It has arrow key up/down history too 2020-01-03T12:44:28 #kisslinux Oh wow. 2020-01-03T12:44:37 #kisslinux OK 2020-01-03T12:44:43 #kisslinux Will start fixing it up now :P 2020-01-03T12:44:45 #kisslinux You've inspired me 2020-01-03T12:44:50 #kisslinux DO IT! 2020-01-03T12:44:54 #kisslinux Haha :) 2020-01-03T12:45:24 #kisslinux Does it support color? 2020-01-03T12:45:34 #kisslinux Yeah 2020-01-03T12:45:43 #kisslinux Nicks are colored based on their length. 2020-01-03T12:45:45 #kisslinux Mine does not, because IRC colors -> ncurses colors is uh, hard. 2020-01-03T12:46:18 #kisslinux Oh, I see. But does it render IRC colors though? 2020-01-03T12:46:28 #kisslinux Ah 2020-01-03T12:46:30 #kisslinux Let me check 2020-01-03T12:46:32 #kisslinux I don't remember 2020-01-03T12:47:43 #kisslinux Nope 2020-01-03T12:47:43 #kisslinux I think I started working on it and stopped. 2020-01-03T12:47:43 #kisslinux It is tricky. 2020-01-03T12:48:05 #kisslinux Indeed. 2020-01-03T12:49:33 #kisslinux Oh yeah. 2020-01-03T12:50:02 #kisslinux I do wonder though -- how do you plan to implement SSL? :P 2020-01-03T12:50:54 #kisslinux Ah default port is 6667. (I use 6666 for my bouncer :D) 2020-01-03T12:52:18 #kisslinux Hah! ZNC playback in birch is quite the sight. 2020-01-03T12:53:02 #kisslinux Test. 2020-01-03T12:53:54 #kisslinux I suppose it's fine for one or two channels LOL. Gets too noisy otherwise. 2020-01-03T12:54:11 #kisslinux BRB shower. 2020-01-03T12:57:54 #kisslinux I disconnected again. 2020-01-03T12:57:59 #kisslinux Apologies 2020-01-03T13:00:08 #kisslinux The only thing you missed was whomever that was saying they were going for a shower. 2020-01-03T13:22:22 #kisslinux OK. Writing birch from scratch. 2020-01-03T13:26:04 #kisslinux Anyone have any ideas on how to make input/output async? 2020-01-03T13:27:23 #kisslinux Not bash, but this? http://man7.org/linux/man-pages/man7/aio.7.html 2020-01-03T13:27:44 #kisslinux It has to be bash :( 2020-01-03T13:28:25 #kisslinux Is it possible to make syscalls from within bash? Hmm. 2020-01-03T13:29:03 #kisslinux With ctypes.sh yeah. 2020-01-03T13:29:06 #kisslinux Look it up. 2020-01-03T13:29:08 #kisslinux It's neat 2020-01-03T13:29:17 #kisslinux Oh yeah, I've seen it. 2020-01-03T13:29:41 #kisslinux I've never used it though. 2020-01-03T13:30:00 #kisslinux It crosses a line lol 2020-01-03T13:30:07 #kisslinux ello 2020-01-03T13:30:12 #kisslinux Hello. 2020-01-03T13:30:24 #kisslinux Hello 2020-01-03T13:30:45 #kisslinux how you been dylan 2020-01-03T13:30:55 #kisslinux I've been good 2020-01-03T13:30:56 #kisslinux Yeah I think ctypes.sh is a bit too much. 2020-01-03T13:30:56 #kisslinux You? 2020-01-03T13:31:01 #kisslinux Haha 2020-01-03T13:31:06 #kisslinux not too bad 2020-01-03T13:31:06 #kisslinux How's the Discord going? 2020-01-03T13:31:35 #kisslinux *heh* 2020-01-03T13:31:56 #kisslinux tldr we got fed up with the discord and started a new one 2020-01-03T13:32:02 #kisslinux I saw 2020-01-03T13:32:14 #kisslinux So, Diamond has the old one and you guys started a new one? 2020-01-03T13:32:19 #kisslinux yep 2020-01-03T13:32:23 #kisslinux he's rebranded the old one 2020-01-03T13:32:30 #kisslinux anime? 2020-01-03T13:32:46 #kisslinux uhh just general nix i think 2020-01-03T13:32:55 #kisslinux Ah 2020-01-03T13:32:57 #kisslinux but oddly he killed the nsfw channel after we left 2020-01-03T13:33:02 #kisslinux because of the nsfw channel 2020-01-03T13:33:18 #kisslinux Heh. I expected it to go full anime/hentai/whatever. 2020-01-03T13:33:23 #kisslinux likewise 2020-01-03T13:33:33 #kisslinux I'm glad IRC has no images/avatars lol 2020-01-03T13:34:42 #kisslinux icyphox: How do you parse the PRIVMSG string? 2020-01-03T13:35:03 #kisslinux welp australian internet still australian 2020-01-03T13:35:56 #kisslinux It's fine. My power goes out if the stove is turned on the wrong setting. :P 2020-01-03T13:36:09 #kisslinux hahahaha 2020-01-03T13:36:18 #kisslinux At least I know the breaker works 2020-01-03T13:36:19 #kisslinux what you been up to recently? 2020-01-03T13:36:33 #kisslinux Dylan, look at line 449. 2020-01-03T13:36:34 #kisslinux It's Winter here now so nothing much. 2020-01-03T13:36:52 #kisslinux Gotcha 2020-01-03T13:36:54 #kisslinux Thanks 2020-01-03T13:37:12 #kisslinux It's so easy to write an irc client. 2020-01-03T13:37:16 #kisslinux Or at least the basics. 2020-01-03T13:37:32 #kisslinux Let me push my current rewrite. 2020-01-03T13:37:33 #kisslinux Note: I only added the VERSION, PING and ACTION parsing. 2020-01-03T13:37:38 #kisslinux The rest was already there. 2020-01-03T13:37:42 #kisslinux the one thing i dislike about irc is it seems a pain to get something to keep history 2020-01-03T13:38:03 #kisslinux IRC bouncer or public logs basically. 2020-01-03T13:38:12 #kisslinux yeah but i am lazy 2020-01-03T13:38:18 #kisslinux :^) 2020-01-03T13:38:20 #kisslinux As am I 2020-01-03T13:38:24 #kisslinux I use the public logs. :^) 2020-01-03T13:38:40 #kisslinux I can host you on my bouncer if you want, Dylan. :) 2020-01-03T13:38:42 #kisslinux how do you see them? 2020-01-03T13:38:49 #kisslinux https://freenode.logbot.info/kisslinux/ 2020-01-03T13:38:52 #kisslinux King22: topic 2020-01-03T13:38:55 #kisslinux oh cool 2020-01-03T13:39:01 #kisslinux sorry :(( 2020-01-03T13:39:08 #kisslinux np 2020-01-03T13:39:33 #kisslinux https://github.com/dylanaraps/birch/blob/master/birch2 2020-01-03T13:39:36 #kisslinux Current rewrite. 2020-01-03T13:39:54 #kisslinux irc_setup() is hardcoded right now as I haven't added arguments yet. 2020-01-03T13:40:22 #kisslinux i'll give it a try 2020-01-03T13:40:23 #kisslinux Neato. 2020-01-03T13:40:32 #kisslinux what's your rice looking like these days? 2020-01-03T13:41:14 #kisslinux https://i.redd.it/paxiand7hvx31.jpg 2020-01-03T13:41:39 #kisslinux classic dylan rice haha 2020-01-03T13:42:03 #kisslinux Great font rendering. 2020-01-03T13:42:18 #kisslinux That's defaults too 2020-01-03T13:42:24 #kisslinux It's all in the high-dpi 2020-01-03T13:42:45 #kisslinux I figured. 2020-01-03T13:42:47 #kisslinux Yo pedro! 2020-01-03T13:43:11 #kisslinux pedrolucas: I saw your message on #rice. Did you try it? 2020-01-03T13:43:52 #kisslinux should i try and use birch2? 2020-01-03T13:43:55 #kisslinux no no 2020-01-03T13:44:04 #kisslinux ok thought so 2020-01-03T13:44:06 #kisslinux Don't use birch at all yet. 2020-01-03T13:45:32 #kisslinux ⊙_ʘ 2020-01-03T13:48:23 #kisslinux My freezing is fixed. :D 2020-01-03T13:50:00 #kisslinux icyphox: You could skip ncurses too fyi. 2020-01-03T13:50:17 #kisslinux How's that? 2020-01-03T13:50:20 #kisslinux Same as I'm doing in bash basically. 2020-01-03T13:50:29 #kisslinux Which is? 2020-01-03T13:50:30 #kisslinux Print escape sequences yourself. 2020-01-03T13:50:32 #kisslinux Oh. 2020-01-03T13:50:48 #kisslinux fff does this too. 2020-01-03T13:50:53 #kisslinux But what about the fancy bar UI? 2020-01-03T13:50:59 #kisslinux How would I acheive that? 2020-01-03T13:51:04 #kisslinux Lots of pain 2020-01-03T13:51:07 #kisslinux doable though. 2020-01-03T13:51:09 #kisslinux lol 2020-01-03T13:52:30 #kisslinux Basically just print the bar at 0,0 and re-print it to change things. 2020-01-03T13:52:58 #kisslinux Ah. 2020-01-03T13:53:20 #kisslinux Okay, I might rewrite this from scratch then. 2020-01-03T13:53:35 #kisslinux There's a ton of garbage code in this lol. 2020-01-03T13:55:00 #kisslinux It'll be harder without ncurses (which is why ncurses is used so much) 2020-01-03T13:55:17 #kisslinux OK. Messages are printed properly now. 2020-01-03T13:55:32 #kisslinux dylan: do you have any weechat dotfiles? 2020-01-03T13:55:48 #kisslinux weechat dots tend to be messy 2020-01-03T13:55:52 #kisslinux Yup 2020-01-03T13:55:54 #kisslinux They're messy. 2020-01-03T13:56:05 #kisslinux Ton of autogenerated bs. 2020-01-03T13:56:20 #kisslinux That's my gripe with weechat, really. It's so bloated. 2020-01-03T13:56:42 #kisslinux https://termbin.com/9j8f 2020-01-03T13:56:53 #kisslinux I hope nothing secret is in there lol. 2020-01-03T13:56:54 #kisslinux are there any other decent terminal irc clients? 2020-01-03T13:56:56 #kisslinux other than birch 2020-01-03T13:57:01 #kisslinux heh 2020-01-03T13:57:14 #kisslinux irssi is another option though it uses glib. :( 2020-01-03T13:57:25 #kisslinux kingk22, shameless plug: https://github.com/icyphox/icyrc 2020-01-03T13:57:27 #kisslinux icyphox is writing icyrc 2020-01-03T13:57:28 #kisslinux :P 2020-01-03T13:57:47 #kisslinux does it work in its current state? 2020-01-03T13:57:54 #kisslinux I'm using it right now. :) 2020-01-03T13:58:03 #kisslinux ok i'll be back in a tick ;) 2020-01-03T13:58:19 #kisslinux I have no use for weechat anymore, so that's a win for me. :D 2020-01-03T14:00:37 #kisslinux I should have working nick colors now. 2020-01-03T14:01:11 #kisslinux Yup :D 2020-01-03T14:02:04 #kisslinux ok it's kind of working 2020-01-03T14:02:20 #kisslinux What is? 2020-01-03T14:02:27 #kisslinux your client 2020-01-03T14:02:30 #kisslinux Ah. 2020-01-03T14:02:33 #kisslinux What's /not/ working? 2020-01-03T14:02:35 #kisslinux i'm getting `sh: pw: command not found` 2020-01-03T14:02:38 #kisslinux in the terminal 2020-01-03T14:02:39 #kisslinux eeeehh 2020-01-03T14:02:48 #kisslinux You'll have to uncomment that in the config.h. 2020-01-03T14:02:49 #kisslinux Haha. 2020-01-03T14:02:53 #kisslinux That's my config. 2020-01-03T14:03:00 #kisslinux Sorry, *comment that. 2020-01-03T14:03:02 #kisslinux https://u.teknik.io/S4mZB.jpg 2020-01-03T14:03:20 #kisslinux also can't work out how to nick identify, is it best to just use the env variables? 2020-01-03T14:03:50 #kisslinux As in identify with NickServ? 2020-01-03T14:03:54 #kisslinux yeah 2020-01-03T14:04:07 #kisslinux you do /q nickserv identify nick pass 2020-01-03T14:04:12 #kisslinux oh 2020-01-03T14:04:43 #kisslinux I think. 2020-01-03T14:04:49 #kisslinux That should work. 2020-01-03T14:06:16 #kisslinux ok no error, not sure if my nickserv worked tho 2020-01-03T14:06:51 #kisslinux Check the server buffer. 2020-01-03T14:07:26 #kisslinux ahh yep, thanks 2020-01-03T14:08:24 #kisslinux There are a few bugs that I'm still figuring out. 2020-01-03T14:10:43 #kisslinux https://u.teknik.io/corxI.png 2020-01-03T14:11:35 #kisslinux Whaddya think? kingk22 2020-01-03T14:11:59 #kisslinux pretty good so far 2020-01-03T14:12:04 #kisslinux very simple, exactly what i'm after 2020-01-03T14:12:29 #kisslinux I want to add tab completion for nicks. Dunno how I'd implement that. 2020-01-03T14:13:00 #kisslinux excuse the very shitty questions but how do you get the bolded/coloured nicks? 2020-01-03T14:13:07 #kisslinux Store each nick (the list is given to you on channel join) 2020-01-03T14:13:32 #kisslinux kingk22 icyrc doesn't do bold and color, just yet. 2020-01-03T14:14:18 #kisslinux https://u.teknik.io/exctq.png 2020-01-03T14:14:22 #kisslinux dylan yeah, I'll have to then parse out the symbols if the nick has them (@, +, & etc) 2020-01-03T14:14:34 #kisslinux i keep getting odd artifacts like this but they go away when i resize the window 2020-01-03T14:15:22 #kisslinux Wait, are you getting that because of your nick being highlighted? 2020-01-03T14:15:26 #kisslinux kingk22 test 2020-01-03T14:15:50 #kisslinux yeah i think so 2020-01-03T14:15:57 #kisslinux https://u.teknik.io/GdQRH.png 2020-01-03T14:15:58 #kisslinux Hmmm. Weird. 2020-01-03T14:16:05 #kisslinux Ah right. Yes. 2020-01-03T14:16:10 #kisslinux Okay, I think I've figured it out. 2020-01-03T14:16:11 #kisslinux I'm writing a generic message parser now. 2020-01-03T14:16:14 #kisslinux It's notify-send being dumb. 2020-01-03T14:16:27 #kisslinux ahhh 2020-01-03T14:16:35 #kisslinux Wait, I'll push a fix. 2020-01-03T14:16:35 #kisslinux should i just disable that then? 2020-01-03T14:16:40 #kisslinux If you wanna. 2020-01-03T14:19:01 #kisslinux ok, try mentioning my nick 2020-01-03T14:19:25 #kisslinux kingk22: 2020-01-03T14:19:35 #kisslinux interesting 2020-01-03T14:19:53 #kisslinux no error in icyrc but i actually got a notification 2020-01-03T14:20:01 #kisslinux You did? 2020-01-03T14:20:09 #kisslinux which i don't think i was getting before 2020-01-03T14:20:13 #kisslinux I think I'm passing the args to notify-send incorrectly. 2020-01-03T14:20:21 #kisslinux What change did you make? 2020-01-03T14:20:36 #kisslinux i just commented the line in config.h 2020-01-03T14:20:37 #kisslinux /* #define NOTIFY 1 */ 2020-01-03T14:21:07 #kisslinux Huh. And notifications work? 2020-01-03T14:21:11 #kisslinux It shouldn't. 2020-01-03T14:21:12 #kisslinux yeah 2020-01-03T14:21:16 #kisslinux WTF 2020-01-03T14:21:16 #kisslinux try it again 2020-01-03T14:21:21 #kisslinux kingk22 2020-01-03T14:21:34 #kisslinux https://u.teknik.io/zOyMg.png 2020-01-03T14:21:49 #kisslinux wtf lol 2020-01-03T14:22:02 #kisslinux it werks:tm: 2020-01-03T14:23:26 #kisslinux yay for software 2020-01-03T14:24:12 #kisslinux https://u.teknik.io/gq8Pf.png 2020-01-03T14:24:26 #kisslinux we chatting 2020-01-03T14:26:31 #kisslinux My generic parser is complete. 2020-01-03T14:26:53 #kisslinux But does it work? 2020-01-03T14:28:04 #kisslinux Dylan my dude, you sure are fast. 2020-01-03T14:29:04 #kisslinux Shell is just my natural language :P 2020-01-03T14:29:35 #kisslinux he is the bash god 2020-01-03T14:29:38 #kisslinux https://github.com/dylanaraps/birch/blob/master/birch2 2020-01-03T14:29:55 #kisslinux If you want to try it it'll auto connect to this channel using $USER as your nick. 2020-01-03T14:30:03 #kisslinux There's no input yet fyi. 2020-01-03T14:31:17 #kisslinux kingk22, okay wait. What exactly did you do? 2020-01-03T14:31:30 #kisslinux Commenting it out will error out lol. 2020-01-03T14:31:54 #kisslinux oh seems like it didn't fix 2020-01-03T14:32:16 #kisslinux icyphox: https://u.teknik.io/AA0yp.png 2020-01-03T14:32:29 #kisslinux weird 2020-01-03T14:32:31 #kisslinux precisely 2020-01-03T14:32:37 #kisslinux Oh! 2020-01-03T14:32:39 #kisslinux I know. 2020-01-03T14:32:49 #kisslinux ! 2020-01-03T14:32:53 #kisslinux It works for single words. 2020-01-03T14:32:59 #kisslinux kingk22 test 2020-01-03T14:33:04 #kisslinux vs kingk22 test test 2020-01-03T14:33:11 #kisslinux nope both error 2020-01-03T14:33:17 #kisslinux Huhhhh 2020-01-03T14:33:26 #kisslinux Fkin software. 2020-01-03T14:33:30 #kisslinux heh 2020-01-03T14:34:00 #kisslinux How do I populate notify-send 2020-01-03T14:34:02 #kisslinux reee 2020-01-03T14:34:24 #kisslinux It works in my shell! 2020-01-03T14:34:40 #kisslinux What's the error? 2020-01-03T14:34:56 #kisslinux notify-send says "Invalid number of options." 2020-01-03T14:35:01 #kisslinux Invalid nimber of options. 2020-01-03T14:35:26 #kisslinux Are the arguments to it quoted? 2020-01-03T14:35:31 #kisslinux Sounds like word-splitting to me. 2020-01-03T14:35:40 #kisslinux Though I'm unsure if you're causing this from C. 2020-01-03T14:35:52 #kisslinux Well system() shells out. 2020-01-03T14:35:59 #kisslinux So all shell quirks apply. 2020-01-03T14:36:10 #kisslinux Add quotes around the %s's 2020-01-03T14:36:19 #kisslinux "%s" "%s" "%s" 2020-01-03T14:36:21 #kisslinux Basicall 2020-01-03T14:36:23 #kisslinux y 2020-01-03T14:36:24 #kisslinux Oh 2020-01-03T14:36:25 #kisslinux https://u.teknik.io/pMLmo.png 2020-01-03T14:36:49 #kisslinux Yeah 2020-01-03T14:36:53 #kisslinux or "msg msg msg" 2020-01-03T14:36:58 #kisslinux Which is what it should be. 2020-01-03T14:37:07 #kisslinux I have aligned terminal output now :D 2020-01-03T14:37:37 #kisslinux Hmm. 2020-01-03T14:37:43 #kisslinux https://u.teknik.io/bRIHj.jpg 2020-01-03T14:37:47 #kisslinux I want the @ symbol tho. :P 2020-01-03T14:37:55 #kisslinux user @ #channel n message 2020-01-03T14:38:15 #kisslinux "user @ channel n message"? 2020-01-03T14:38:26 #kisslinux BRB dinner 2020-01-03T14:38:27 #kisslinux What would the command look like from the shell? 2020-01-03T14:38:46 #kisslinux uh 2020-01-03T14:39:12 #kisslinux notify-send "user @ #channel" "message" 2020-01-03T14:39:20 #kisslinux Quote is like that then. 2020-01-03T14:39:25 #kisslinux "%s @ %s" "%s" 2020-01-03T14:39:56 #kisslinux ah okay. I'll try that when I get back. 2020-01-03T14:40:10 #kisslinux :D 2020-01-03T14:40:23 #kisslinux This is my parser: https://github.com/dylanaraps/birch/blob/master/birch2#L54-L58 2020-01-03T14:40:33 #kisslinux Works perfectly so far. 2020-01-03T14:42:40 #kisslinux Now to tackle input. 2020-01-03T14:42:42 #kisslinux oof 2020-01-03T14:45:50 #kisslinux fuck me it's nearly 2am, i'm off to bed 2020-01-03T14:45:52 #kisslinux o/ 2020-01-03T14:46:06 #kisslinux Night 2020-01-03T14:49:08 #kisslinux icyphox: it seems like the config isn't working, i'm still getting the pw error in the terminal even after commenting the line and `make`, `sudo make install` 2020-01-03T14:49:17 #kisslinux o/ for real this time 2020-01-03T14:49:57 #kisslinux you'll have to make clean 2020-01-03T15:05:21 #kisslinux test 2020-01-03T15:05:24 #kisslinux heh 2020-01-03T15:05:27 #kisslinux Input works now 2020-01-03T15:07:09 #kisslinux :D 2020-01-03T15:10:50 #kisslinux icyphox: How do you display messages sent by yourself? 2020-01-03T15:11:52 #kisslinux I'm not at my computer right now. But it's in the pushf() function. 2020-01-03T15:11:57 #kisslinux Thanks 2020-01-03T15:11:58 #kisslinux (I didn't write that) 2020-01-03T15:12:16 #kisslinux I print it myself right now. 2020-01-03T15:12:31 #kisslinux Though I think having the server print it back to you is an IRCv3 feature. 2020-01-03T15:12:35 #kisslinux (echo_message) 2020-01-03T15:12:57 #kisslinux I fixed the async input/output btw. 2020-01-03T15:13:05 #kisslinux It just works :D 2020-01-03T15:26:36 #kisslinux Woah 2020-01-03T15:28:34 #kisslinux OK. Resize now works. 2020-01-03T15:28:41 #kisslinux As does a history buffer. 2020-01-03T15:29:05 #kisslinux Apologies for the leave/join spam. 2020-01-03T15:29:08 #kisslinux I'll stop now. 2020-01-03T15:56:36 #kisslinux Wow! 2020-01-03T15:56:43 #kisslinux Did you actually just get all of that working? 2020-01-03T16:10:45 #kisslinux Yup 2020-01-03T16:10:54 #kisslinux Try it out if you like. 2020-01-03T16:11:06 #kisslinux It joins #rice now to avoid spam. 2020-01-03T16:15:45 #kisslinux Oof! 2020-01-03T16:15:54 #kisslinux Is it bcs #rice is dead? :P 2020-01-03T16:17:48 #kisslinux Yup 2020-01-03T16:20:21 #kisslinux oh #rice on freenode? 2020-01-03T16:20:26 #kisslinux lol 2020-01-03T16:20:36 #kisslinux yup 2020-01-03T16:20:39 #kisslinux Also dead 2020-01-03T16:20:45 #kisslinux I thought it was the one on rizon. 2020-01-03T16:23:02 #kisslinux It's beautiful. 2020-01-03T16:23:20 #kisslinux I think I'll switch to birch instead. 2020-01-03T16:23:29 #kisslinux Heh :) 2020-01-03T16:23:50 #kisslinux Will you use it instead of weechat? 2020-01-03T16:24:13 #kisslinux Yup 2020-01-03T16:24:38 #kisslinux Which means I'll be working on it regularly. 2020-01-03T16:24:44 #kisslinux o/ 2020-01-03T16:24:54 #kisslinux brb archiving icyrc 2020-01-03T16:24:55 #kisslinux heh 2020-01-03T16:26:27 #kisslinux /join doesn't seem to be working 2020-01-03T16:26:31 #kisslinux Nope 2020-01-03T16:26:35 #kisslinux Not implemented yet. 2020-01-03T16:26:43 #kisslinux Oh. Right. 2020-01-03T16:26:55 #kisslinux Need to store each channel's buffer separately 2020-01-03T16:27:21 #kisslinux Ah. How are you storing the buffer right now? 2020-01-03T16:27:29 #kisslinux /dev/shm/irc 2020-01-03T16:27:31 #kisslinux lol 2020-01-03T16:27:52 #kisslinux wow 2020-01-03T16:27:52 #kisslinux Needs to be /dev/shm/birch-$$-channel 2020-01-03T16:28:08 #kisslinux ($$ is the pid of the client to allow for multiple clients to run) 2020-01-03T16:28:09 #kisslinux I'm new to this. What's /dev/shm? 2020-01-03T16:28:14 #kisslinux Shared memory 2020-01-03T16:28:26 #kisslinux Basically, writing to ram instead of the disk. 2020-01-03T16:28:33 #kisslinux Ah. Neat! 2020-01-03T16:28:50 #kisslinux The output loop runs in a subshell so I can't pass variables between input/output. 2020-01-03T16:28:57 #kisslinux So writing the data somewhere is needed. 2020-01-03T16:29:17 #kisslinux It feels a little laggy though, I must say. 2020-01-03T16:29:31 #kisslinux Typing feels slower, I feel. 2020-01-03T16:29:46 #kisslinux I'll try and reproduce. 2020-01-03T16:29:55 #kisslinux Maybe it's just my end. 2020-01-03T16:30:13 #kisslinux Typing is "fake" btw. 2020-01-03T16:30:31 #kisslinux A key press appends to a string which is printed to the screen. 2020-01-03T16:30:43 #kisslinux Backspace removes the last char of the string. 2020-01-03T16:30:43 #kisslinux Oh? 2020-01-03T16:30:46 #kisslinux Woah! 2020-01-03T16:30:52 #kisslinux That's nifty. 2020-01-03T16:31:02 #kisslinux See irc_input() 2020-01-03T16:31:21 #kisslinux "" is Return/Enter 2020-01-03T16:31:24 #kisslinux Yes :) 2020-01-03T16:32:27 #kisslinux The parser seems to fail when an ipv6 address is in the message. 2020-01-03T16:33:03 #kisslinux That seems to be the case. 2020-01-03T16:36:29 #kisslinux Ah! I fixed the ACTION sending twice bug. 2020-01-03T16:36:31 #kisslinux Neat. 2020-01-03T16:37:24 #kisslinux Nice 2020-01-03T16:37:28 #kisslinux Next up: nick colors. 2020-01-03T16:49:36 #kisslinux Ew ipv6 in the message is gross 2020-01-03T16:52:10 #kisslinux Ah 2020-01-03T16:52:12 #kisslinux Fixed 2020-01-03T16:56:49 #kisslinux : 2020-01-03T16:56:50 #kisslinux : 2020-01-03T16:56:54 #kisslinux hello : l 2020-01-03T16:57:22 #kisslinux Oh god. Wrong window. 2020-01-03T17:01:04 #kisslinux OK. I have a correct parser now. 2020-01-03T17:01:36 #kisslinux Nice. Let me pull. 2020-01-03T18:17:51 #kisslinux icyphox: Try now 2020-01-03T18:17:59 #kisslinux Hang on. 2020-01-03T18:18:01 #kisslinux Fixed the join/part/leave messages. 2020-01-03T18:18:08 #kisslinux Also input should be faster now. 2020-01-03T18:18:29 #kisslinux There's argument handling now too. 2020-01-03T18:18:39 #kisslinux Test 2020-01-03T18:18:58 #kisslinux Nice! This feels a lot snappier. 2020-01-03T18:19:27 #kisslinux :D 2020-01-03T18:19:34 #kisslinux Good work! :) 2020-01-03T18:20:38 #kisslinux You can message nickserv now too. 2020-01-03T18:20:52 #kisslinux /msg works basically 2020-01-03T18:21:23 #kisslinux did you get that? 2020-01-03T18:21:26 #kisslinux Yup 2020-01-03T18:21:56 #kisslinux Nice. 2020-01-03T18:29:26 #kisslinux Okay I think I'll hit the sack now. Night Dylan! 2020-01-03T18:29:48 #kisslinux Today was fun. :) 2020-01-03T18:29:57 #kisslinux Night 2020-01-03T18:29:59 #kisslinux :) 2020-01-03T20:57:23 #kisslinux http://cdrtools.sourceforge.net/private/portability-of-tar-features.html