blueanyway, it's probably not a good idea for nevet to store tzs, I agree. but I don't know that !today is very useful unless you have a timezone reference
blueor at least, add the timezone
dreamrealthat's because you're looking at it as a tool *for users* :D
dreamrealwith that said, though... I dunno, the bot does keep track of identity, there's a potential for an "!about me" that would allow users to do stuff like that
bluedreamreal: I would remove !today and !tomorrow, tbh. I'm not sure it's useful functionality in this form. A different functionality that is I think useful is time lookup using a zone
bluetime Tokyo
dreamrealWell, the edge was that I needed a "ping!" command, but I wanted it to have SOME use and options, and given that Java has solar calendars but not a Jewish solar calendar, I could "do both"
dreamrealtomorrow is mostly a joke and an extension- you mentioned it, and it implied a fix to how "today" worked, so I put it in. :D
dreamrealsorry, lunar
dreamrealsick this week, not at my best
bluemakes sense
bluedreamreal: get well soon m8!
dreamrealI need to finish the blog endpoints, make a UI as a baseline, and then work on stateful operations
dreamreallike, I'd like to have a way to play 21 matches with the bot
bluewhat on God's green earth is 21 matches?
dreamrealSimple takeaway game. Rules: starts with 21 matches. The goal is to make the other player draw the "last match." The way it's played: turns, each player can take 1 to 4 matches.
dreamrealSo... 21 matches. Your turn. How many matches are you taking?
blue1
dreamrealI take 3. 17 matches left. Your turn.
blue1
dreamrealI take 3 again. 13 matches left. Your turn.
blue1
dreamrealI take 3 again. 9 matches left. Your turn.
blue1
dreamrealI take 3 again. 5 matches left. Your turn.
blue4
dreamrealHah! I wrote the rules wrong. You'd have won. Thank you! - it's actually 1-3 matches.
blueoh
bluewell in that you'd have won
dreamrealConcedo. I was playing badly with the rules I wrote.
dreamrealBut yeah, the answer is for the second player to always run 4-other turn
bluewell basically I wanted to leave you with 5
dreamrealso if you take 1, I take 3, and so forth.
blueya
dreamrealYeah, I wrote the rules wrong, it's been a while. But it's a game I used to teach my kids programming and strategy.
dreamrealthe way to win is very simple, so you can focus on how the programming works
blueif it'd been 3, I'd have need to leave you with 4 each tur
bluen
blueneeded*
dreamrealyeah, but with 1-3 matches from each player, player #2 will ALWAYS win unless they make a mistake
blueya
blueso nevet is to be programmed to always win, if it doesn't start, yes?
dreamrealbut for the bot, that means establishing context for each provenance, and state preservation on that level would be useful
dreamrealyeah, the "game" is in the programming, not the playing :D
blueya
dreamreal(a provenance is a conversation stream, so irc://libera/blue is YOUR provenance in the bot)
dreamrealthis channel is irc://libera/#primate
dreamreal(it's not a fully resolvable URL, the scheme is internal)
dreamrealit's ingress+egress point (so "irc" as the service that is involved), authority (none for this), identifer (network is called 'libera' internally) and then the addressee
bluemakes sense. I would use the ircname or so though?
blueor account name
dreamrealyeah, it actually does use the account name
bluenice
dreamrealso it can rely on libera SASL for authentication
bluelibera is always not fully qualified, you might consider
bluebetter irc.libera.chat or so
dreamrealnon-authenticated accounts don't get authentication, you can't just manage to log in on libera and get an authority in the bot
blues/always/also/
dreamreal'libera' there is the internal name for irc.libera.chat
dreamreallike I said, they're not externalizable urls
blueah ok but then you need a mapping table
dreamrealit has one
blueyou can always just ues the cannonical name of the current network
dreamrealit needs one because the console command is something like 'irc join libera #primate'
bluethen you don't need a mapping table
blues/always/also/
bluefor discord you'd use the server id
dreamrealbut then I DO need consistent schemes, and not every ingress/egress uses the same schemata
dreamrealdiscord uses guild ids, not server ids
blueirc://libera.chat.irc/blue is consistent
dreamrealoh, did I tell you I got slack working?
bluediscord://SOME_GUILD_ID/SOME_USER_ID is also consistent
blueyou didn't
bluethat'd be slack:// ?
dreamrealWell now I have
dreamrealyeah
dreamrealI find I DESPISE slack as a programmable environment: establishing the connection is *brutal*
blueslack is generally a dumpster fire
dreamrealbut it's working: it's a total drag to set up, but it works. Once you've set it up, it's workable and it operates just like it does here and on discord
blueq: can nevet now do bridging between irc, discord & slack?
dreamrealI want to get mattermost and matrix up, too, but the blog is the next deliverable, I need to get a front end working. I have the RSS feeds working, although I haven't fully tested them out.
dreamrealyeah, just like the earlier rev
blueif so, I'd like to ask you to bring it into the primate server, and I'd create an irc channel for it? would that make sense?
blueor maybe we'd sync the general channel simply
dreamrealsee pm
blueoki
blueok, how do we link a discord channel to this?
dreamrealso it depends on what you mean by "link"
bluebasically, the idea is that any message here appears on discord as `(irc:USER) MESSAGE`, and vice versa
dreamrealooof, crosspollination
dreamrealum
dreamrealso there's no facility for that... yet
bluegood
bluebut it'd be cool
dreamrealIt's doable: it'd be an operation that watched for specific provenance on input (discord://guild/channel) and routed to a specific OTHER provance on egress (irc://libera/#primate)
blueI can then create a channel #irc on discord, and the two places are synced
blueYES
dreamrealand vice versa, I suppose
blueI can also then inform in the topic of that discord channel, that messages are syned to irc.libera.chat#primate, and vice versa in this topic
dreamrealyeah
dreamrealyour github nick is still earth-based, yeah?
blueyes
dreamrealsee pm again, confirmation
dreamrealdefine blue
nevetblue (noun): The colour of the clear sky or the deep sea, between green and violet in the visible spectrum, and one of the primary additive colours for transmitted light; the colour obtained by subtracting red and green from white light using magenta and cyan filters; or any colour resembling this.
dreamreal:D
dreamrealbridge provenance
nevetirc://libera/%23primate
bot<josephbottinger@discord> ello!
bot<josephbottinger@discord> hello again!
dreamrealdid this work?
dreamrealooo it did work!
dreamrealdefine source
nevetdefine source: source (noun): The person, place or thing from which something (information, goods, etc.) comes or is acquired.
bot<discord://1256590312177012806/#irc/blue> yeah, only this channel
bot<discord://1256590312177012806/#irc/josephbottinger> It only allows one participation at a time: this channel can be part of NO OTHER mirroring
bot<discord://1256590312177012806/#irc/josephbottinger> you can't multiplex. A given provenance can be part of one and ONLY ONE mirroring set.
bot<discord://1256590312177012806/#irc/josephbottinger> The mirroring can be one way or two way, however you want it, but it's exclusive
bot<discord://1256590312177012806/#irc/josephbottinger> otherwise it's really easy to get super-abusive and overwhelm the event stream
bluebtw, can you replace 1256590312177012806 with something else? or just drop it? it's irrelevant
bluedreamreal: ^
dreamrealIt's the channel name on discord. I'd LOVE to. Um... I'm not sure how yet. File an issue, please?
dreamrealI did the same thing with usernames, so it should be doable
bluebasically the only info that's relevant is that the message comes from an IRC user, and WHICH user. the rest is irrelevant
bluealright
dreamrealand the thing is: it shows the provenance of the external source. Like, you can see exactly what the full source is, internally: I can send a message to discord://1238716283761/%23irc and it'll get there
dreamrealbut yeah, it's kinda ugly. Not sure yet what the level of granularity needs to be.
dreamrealthe format is: service, authority (usually empty), id, source
dreamrealI need to figure out how to get guild NAME out of that, I guess
dreamrealall right, I'm off for a bit
bot<discord://1256590312177012806/#irc/VExcess> what are people using to irc chat these days?
I used to use HexChat because it came preinstalled on Linux Mint.
But now Mint doesn't come with HexChat anymore and there's no alternative.
bot<discord://1256590312177012806/#irc/VExcess> this is super cool. I've never seen a irc mirrored to discord. I've only used irc like a total of 3 times though.
bot<discord://1256590312177012806/#irc/blue> irc is mostly dead
bot<discord://1256590312177012806/#irc/blue> but there are some primate users there who are not here, and vice versa. bridging is nice 🙂
bot<discord:josephbottinger> testing
dreamrealtesting
bot<discord:josephbottinger> Okay, here's a really long bit of text on discord. Discord and slack and other things have really long buffers, compared to IRC; this is suboptimal for IRC because IRC channels can have flood protection, and we don't necessarily want to trigger the servers clamping down on a connection just because some goober writes a lot of text, you know? And that's made worse when you could have a bot as a member of a LOT of discord channels - and imagine if someone uses a set of mirrors, all connected to a set of VERY verbose wankers, all writing TONS of text like mad. We're already kinda pushing throughput on a given IRC client, and we may need to throttle at some point ANYWAY, but allowing GIANT LONG HONKING LINES to be mirrored from slack AND discord just seems like we're ASKING for flood limitations.