💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-01-03.txt captured on 2023-01-29 at 04:05:05.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

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