Submit

Back to the channels

#primate

  1. blue dreamreal: great men do not make excuses!
  2. blue anyway, 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
  3. blue or at least, add the timezone
  4. dreamreal that's because you're looking at it as a tool *for users* :D
  5. dreamreal with 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
  6. blue dreamreal: 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
  7. blue time Tokyo
  8. dreamreal Well, 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"
  9. dreamreal tomorrow 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
  10. dreamreal sorry, lunar
  11. dreamreal sick this week, not at my best
  12. blue makes sense
  13. blue dreamreal: get well soon m8!
  14. dreamreal I need to finish the blog endpoints, make a UI as a baseline, and then work on stateful operations
  15. dreamreal like, I'd like to have a way to play 21 matches with the bot
  16. blue what on God's green earth is 21 matches?
  17. dreamreal Simple 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.
  18. dreamreal So... 21 matches. Your turn. How many matches are you taking?
  19. blue 1
  20. dreamreal I take 3. 17 matches left. Your turn.
  21. blue 1
  22. dreamreal I take 3 again. 13 matches left. Your turn.
  23. blue 1
  24. dreamreal I take 3 again. 9 matches left. Your turn.
  25. blue 1
  26. dreamreal I take 3 again. 5 matches left. Your turn.
  27. blue 4
  28. dreamreal Hah! I wrote the rules wrong. You'd have won. Thank you! - it's actually 1-3 matches.
  29. blue oh
  30. blue well in that you'd have won
  31. dreamreal Concedo. I was playing badly with the rules I wrote.
  32. dreamreal But yeah, the answer is for the second player to always run 4-other turn
  33. blue well basically I wanted to leave you with 5
  34. dreamreal so if you take 1, I take 3, and so forth.
  35. blue ya
  36. dreamreal Yeah, I wrote the rules wrong, it's been a while. But it's a game I used to teach my kids programming and strategy.
  37. dreamreal the way to win is very simple, so you can focus on how the programming works
  38. blue if it'd been 3, I'd have need to leave you with 4 each tur
  39. blue n
  40. blue needed*
  41. dreamreal yeah, but with 1-3 matches from each player, player #2 will ALWAYS win unless they make a mistake
  42. blue ya
  43. blue so nevet is to be programmed to always win, if it doesn't start, yes?
  44. dreamreal but for the bot, that means establishing context for each provenance, and state preservation on that level would be useful
  45. dreamreal yeah, the "game" is in the programming, not the playing :D
  46. blue ya
  47. dreamreal (a provenance is a conversation stream, so irc://libera/blue is YOUR provenance in the bot)
  48. dreamreal this channel is irc://libera/#primate
  49. dreamreal (it's not a fully resolvable URL, the scheme is internal)
  50. dreamreal it'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
  51. blue makes sense. I would use the ircname or so though?
  52. blue or account name
  53. dreamreal yeah, it actually does use the account name
  54. blue nice
  55. dreamreal so it can rely on libera SASL for authentication
  56. blue libera is always not fully qualified, you might consider
  57. blue better irc.libera.chat or so
  58. dreamreal non-authenticated accounts don't get authentication, you can't just manage to log in on libera and get an authority in the bot
  59. blue s/always/also/
  60. dreamreal 'libera' there is the internal name for irc.libera.chat
  61. dreamreal like I said, they're not externalizable urls
  62. blue ah ok but then you need a mapping table
  63. dreamreal it has one
  64. blue you can always just ues the cannonical name of the current network
  65. dreamreal it needs one because the console command is something like 'irc join libera #primate'
  66. blue then you don't need a mapping table
  67. blue s/always/also/
  68. blue for discord you'd use the server id
  69. dreamreal but then I DO need consistent schemes, and not every ingress/egress uses the same schemata
  70. dreamreal discord uses guild ids, not server ids
  71. blue irc://libera.chat.irc/blue is consistent
  72. dreamreal oh, did I tell you I got slack working?
  73. blue discord://SOME_GUILD_ID/SOME_USER_ID is also consistent
  74. blue you didn't
  75. blue that'd be slack:// ?
  76. dreamreal Well now I have
  77. dreamreal yeah
  78. dreamreal I find I DESPISE slack as a programmable environment: establishing the connection is *brutal*
  79. blue slack is generally a dumpster fire
  80. dreamreal but 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
  81. blue q: can nevet now do bridging between irc, discord & slack?
  82. dreamreal I 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.
  83. dreamreal yeah, just like the earlier rev
  84. blue if 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?
  85. blue or maybe we'd sync the general channel simply
  86. dreamreal see pm
  87. blue oki
  88. blue ok, how do we link a discord channel to this?
  89. dreamreal so it depends on what you mean by "link"
  90. blue basically, the idea is that any message here appears on discord as `(irc:USER) MESSAGE`, and vice versa
  91. dreamreal ooof, crosspollination
  92. dreamreal um
  93. dreamreal so there's no facility for that... yet
  94. blue good
  95. blue but it'd be cool
  96. dreamreal It'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)
  97. blue I can then create a channel #irc on discord, and the two places are synced
  98. blue YES
  99. dreamreal and vice versa, I suppose
  100. blue I 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
  101. dreamreal yeah
  102. dreamreal your github nick is still earth-based, yeah?
  103. blue yes
  104. dreamreal see pm again, confirmation
  105. dreamreal define blue
  106. nevet blue (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.
  107. dreamreal :D
  108. dreamreal bridge provenance
  109. nevet irc://libera/%23primate
  110. bot <josephbottinger@discord> ello!
  111. bot <josephbottinger@discord> hello again!
  112. dreamreal did this work?
  113. dreamreal ooo it did work!
  114. dreamreal define source
  115. nevet define source: source (noun): The person, place or thing from which something (information, goods, etc.) comes or is acquired.
  116. bot <josephbottinger@discord> <@857685522533056522> yo!
  117. bot <blue@discord> wow!
  118. bot <josephbottinger@discord> fixing some QOL stuff now
  119. bot <blue@discord> can you link it with a specific channel here?
  120. bot <josephbottinger@discord> tell irc://libera/dreamreal you're a hosehead
  121. bot Message delivered to dreamreal
  122. bot <josephbottinger@discord> IT WORKED!
  123. bot <blue@discord> wow
  124. bot <josephbottinger@discord> i got a privmsg!
  125. bot <blue@discord> wow
  126. bot <blue@discord> ok, can we bridge him over the <#1471981297487577303> channel?
  127. bot <josephbottinger@discord> let me test the QOL first
  128. blue k
  129. bot <dreamreal> hello
  130. bot <discord://1256590312177012806/%23nevet-test/josephbottinger> it works still!
  131. bot <discord://1256590312177012806/%23nevet-test/josephbottinger> okay, what do you want the connection to be?
  132. dreamreal i don't know if tell can figure out usernames on discord, there're some leaky bits
  133. bot <discord://1256590312177012806/#irc/josephbottinger> testing
  134. dreamreal testing to send to discord
  135. dreamreal okay, connectivity working
  136. bot <discord://1256590312177012806/#irc/blue> yeah, only this channel
  137. bot <discord://1256590312177012806/#irc/josephbottinger> It only allows one participation at a time: this channel can be part of NO OTHER mirroring
  138. bot <discord://1256590312177012806/#irc/josephbottinger> you can't multiplex. A given provenance can be part of one and ONLY ONE mirroring set.
  139. bot <discord://1256590312177012806/#irc/josephbottinger> The mirroring can be one way or two way, however you want it, but it's exclusive
  140. bot <discord://1256590312177012806/#irc/josephbottinger> otherwise it's really easy to get super-abusive and overwhelm the event stream
  141. blue btw, can you replace 1256590312177012806 with something else? or just drop it? it's irrelevant
  142. blue dreamreal: ^
  143. dreamreal It's the channel name on discord. I'd LOVE to. Um... I'm not sure how yet. File an issue, please?
  144. dreamreal I did the same thing with usernames, so it should be doable
  145. blue basically the only info that's relevant is that the message comes from an IRC user, and WHICH user. the rest is irrelevant
  146. blue alright
  147. dreamreal and 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
  148. dreamreal but yeah, it's kinda ugly. Not sure yet what the level of granularity needs to be.
  149. dreamreal the format is: service, authority (usually empty), id, source
  150. dreamreal so discord: empty authority, guild number, channel
  151. dreamreal I need to figure out how to get guild NAME out of that, I guess
  152. dreamreal all right, I'm off for a bit
  153. 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.
  154. 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.
  155. bot <discord://1256590312177012806/#irc/blue> irc is mostly dead
  156. bot <discord://1256590312177012806/#irc/blue> but there are some primate users there who are not here, and vice versa. bridging is nice 🙂
  157. bot <discord:josephbottinger> testing
  158. dreamreal testing
  159. 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.
  160. bot <discord:josephbottinger> https://x.com/jtimsuggs/status/2022152823539216589
  161. bot <discord:josephbottinger> https://x.com/jtimsuggs/status/2022152823539216589
  162. bot <discord:josephbottinger> https://www.youtube.com/watch?v=jNDWnMfDnuw
  163. skillbot 04,01► 14,01YouTube :: Top 5 Hollywood DISASTERS of 2025
  164. bot josephbottinger mentioned url: https://www.youtube.com/watch?v=jNDWnMfDnuw ("- YouTube")
  165. skillbot 04,01► 14,01YouTube :: Top 5 Hollywood DISASTERS of 2025
  166. bot <discord:josephbottinger> okay, still broken

Search posts