ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#nevet

  1. dreamreal github subscriptions
  2. nevet No active subscriptions for this channel
  3. dreamreal github subscribe jottinger/bytecode.news
  4. dreamreal github subscriptions
  5. nevet No active subscriptions for this channel
  6. dreamreal hmm, okay
  7. dreamreal github list
  8. nevet jottinger/bytecode.news
  9. dreamreal okay, so that works
  10. dreamreal github subscriptions
  11. nevet No active subscriptions for this channel
  12. dreamreal github subscribe jottinger/bytecode.news
  13. dreamreal hrmm, the worst part is that I get no errors from that command. Working on it.
  14. dreamreal github subscribe jottinger/bytecode.news
  15. dreamreal OH
  16. dreamreal github subscriptions
  17. nevet jottinger/bytecode.news
  18. dreamreal beauty.
  19. dreamreal okay.
  20. dreamreal I forgot that I'd hardened the user associations :D
  21. blue you certainly did
  22. blue tell me when it's done. I need it for my stuff (irc/discord)
  23. dreamreal Discord user association is unworkable, discord doesn't auth well enough
  24. dreamreal but I'm waiting to see if the polling works for github
  25. blue I don't get it. you neither need a user association nor polling. the interested repo user configures a webhook and you listen at the path, ez bananas
  26. dreamreal ... webhook
  27. blue yes, webhook
  28. dreamreal that's a push mechanism
  29. blue you know, that thing that's not a dumb polling
  30. dreamreal I'm trying to avoid push mechanisms
  31. blue that's dumb
  32. * dreamreal eyes the fediverse
  33. blue it's a simple POST event
  34. blue and you can signature verify it
  35. dreamreal I mean, not really, because the bot right now has *no* exposure and no requirement for it: it gets the information it needs, polling is rare just because I usually don't CARE to find out the second something happens
  36. dreamreal and there's NOTHING in the system that prevents an interested party from making a webhook for it
  37. blue webhooks are the lazily "come to me when you're done approach". polling doesn't scale once you have many configureds. you might even get blacklisted by gh
  38. blue you're barking up the wrong alley
  39. blue change course
  40. dreamreal After all, the factoid service publishes endpoints, too, and in the same manner: they'd just say "here's the endpoint for this" and someone would configure an endpoint
  41. dreamreal and no, *nevet* is controlled by me, I'm not going to be adding so many repos that it violates GH's terms of service
  42. blue if you ever sold it as a service, it would need to scale
  43. dreamreal if YOU want to run the bot, you're welcome to do so: for YOUR purposes, you might want to disable the github polling service (or just don't add any endpoints) and provide the webhook
  44. dreamreal I'm building a system, not a service
  45. blue that's semantics!
  46. blue webhooks are clearly the superior solution here, we did polling like 20 years ago
  47. blue it's also the official path that gh recommends for repo updates
  48. blue plus, you get nice comfy JSON!
  49. blue I don't even *know* what you're polling against now
  50. dreamreal I already get nice comfy JSON. And like I said, feel free to write it; the system's right there.
  51. blue but github can end up captching you and you'd end up with the xcancel issue
  52. blue yeah uh, I'm gonna leave kotlin for another, preferably rainy day :P
  53. dreamreal I'm using their access points via a library. I mean, a webhook is not conceptually difficult to DO - but deploying a webhook for functionality RIGHT NOW means spinning up endpoints I don't want to spin up yet.
  54. blue what's the cost to spinning up endpoints
  55. dreamreal deployment, exposure of the rest of the API before it's tested, potential multiport access, etc
  56. dreamreal Actually, the way I'd LIKE to do the webhooks is via a proxy: set up a different service altogether that has connectivity to nevet directly (AMQP/HTTP/MQ?) and events get into the system like that
  57. dreamreal There are going to have to be public endpoints with visibility for the content system, factoids, etc, etc., so it'd be conceptually FINE to set up a direct webhook interface... but nevet's still got the shiny wrapper on it in a lot of places and I'm not ready to solidify the endpoints. So that gets to wait.
  58. dreamreal If that's enough of a burr, well, that's fine! nevet's open source! Fix it! Harden it! Help me get the UI nailed down, even if you're not writing the UI! This is a system in active development and stable APIs aren't.
  59. dreamreal for that matter, part of what drove the github mechanism was that I wanted a generalization for polling - RSS uses it, and I was thinking there's a model here, as opposed to re-writing RSS "for github." RSS doesn't use the polling system github does here, because I wanted it to work before porting it over.
  60. dreamreal I don't want to support fediverse enablement, but that would *require* webhooks; it's not a foreign concept, it's just a waterfall I'm not quite ready to jump over yet when I don't see the need. (github's TOS, btw, are REALLY generous for polling access - like, you'd have to go NUTS to subscribe enough to make polling a problem.)
  61. dreamreal and since nevet has one and only one admin..
  62. bot [jottinger/bytecode.news] New issue #40: Test issue for subscription. - https://github.com/jottinger/bytecode.news/issues/40
  63. bot [jottinger/bytecode.news] New PR #39: Adding more logging for subscription - https://github.com/jottinger/bytecode.news/pull/39
  64. dreamreal blue: ^^^ it works!
  65. dreamreal maybe not as nicely as you'd like, it's definitely a poll and not a webhook, but it's functional.
  66. blue this is where I think stuff gets too verbose. better to create a short url bytenews/gh/1234
  67. dreamreal Nothing prevents that kind of mechanism in the system
  68. blue owning the urls also means you could add tracking -- if you're into that, anyway
  69. nevet owning the urls also means you could add tracking now has karma of -1.
  70. dreamreal it just presumes services that may not be present.
  71. dreamreal haha
  72. dreamreal emdash for the win :D
  73. blue you really gotta make him less dumb :P
  74. dreamreal anyway, the whole thing is built on a message chaining system: getting a url that has an internal source could indeed get a shortcode. It's just not important TO ME so I haven't written it.
  75. dreamreal And that's not "less dumb," that's a length filter on the subject of a karma operation that didn't get tripped.
  76. blue in other words, dumb
  77. dreamreal Not really: it's working as intended. "so-and-so doing the stupid thing despite every warning that it's stupid--" is a legit karma operation.
  78. nevet Not really: it's working as intended. "so-and-so doing the stupid thing despite every warning that it's stupid now has karma of -1.
  79. * dreamreal grins
  80. dreamreal We're not trying to build semantic reasoning into a KARMA operation. If that's desired and you have the CPU and the models for it, well, cool: nothing precludes yeeting the detection and hooking an LLM or an NER into it. But that's not the way IRC karma normally works because that's expensive and ridiculous.
  81. dreamreal most of the bot's operations are proofs of concept in any event: they're designed to be functional and useful, eventually, but they're very much "hey, what about this use case, does this make sense?" The 21 matches thing is a good example of that: as a game, hah, it's pointless; the bot always goes second, it always wins. But as a proof of concept, it demonstrates functionality.
  82. dreamreal Github is the same thing: RSS and the github integration functionally work VERY similarly, but github integration uses a common model that RSS implied; eventually I'll move RSS over to it because it reduces maintenace burdens. Factoids, dictionary... heck, the dictionary thing came straight out of the JSR/JCP/RFC functionality, and so did PEP: "What does it take to expand this?"
  83. blue you don't need to build semantic reasoning to detect a " -- " and exclude it
  84. nevet you don't need to build semantic reasoning to detect a " now has karma of -1.
  85. blue jesus
  86. dreamreal Okay, so let's play a game: what rules would YOU use to exclude em-dashes?
  87. blue SPACES AROUND
  88. blue as I just demonstrated
  89. dreamreal But spaces are legitimate
  90. dreamreal blue: --
  91. nevet blue now has karma of -1.
  92. blue they shouldn't be: and you're trimming anyway
  93. dreamreal blue:++
  94. nevet blue has neutral karma.
  95. dreamreal So if I'm TRIMMING how would I detect them?
  96. blue detect SPACEDASHDASHSPACE and exclude. this isn't hard
  97. blue that's the in-sentence use of them, rather than a decrement operator
  98. dreamreal It's also semantically incorrect, and relies STILL on human engineering. It fits YOUR pattern.
  99. blue no, it fits the EXPECTED pattern. the karma operation should not MISDETECT normal conversational patterns
  100. blue ask anyone, he'd tell you it's dumb
  101. dreamreal because I use completion as well: if you use "name em-dash foo" that's an IRC completion for the name, the em-dash for the op, and foo for the comment
  102. dreamreal Oh, I still disagree: karma on irc is usually incredibly dumb, way dumber than I've made nevet, honestly
  103. dreamreal you're looking at progress and going "OMG it's not enough" :D
  104. blue as soon as a playful operation disrupts a normal conversation, it's a negative sum thing
  105. dreamreal I built nevet's karma evaluation based on how I've actually seen it used and how I've seen it WANTING to be used over decades of infobot execution. Yes, there are false positives. They're endurable, mostly because they're going to generally be VERY unique: nobody's likely to query karma for a long text prefix by accident.
  106. blue you could literally fix this error by checking for the exact pattern I laid out above
  107. blue this is a no brainer
  108. dreamreal I hear you, but IRC conversations are async and are ultimately trivially interrupted and disrupted in any event. No, you can't, because that actually KILLS a lot of legit decs
  109. blue this is NO legitimate use case for karma using SPACEDASHDASHSPACE
  110. blue s/this/there/
  111. dreamreal blue ++ you're right
  112. nevet blue now has karma of 1.
  113. dreamreal blue -- you're wrong
  114. nevet blue has neutral karma.
  115. dreamreal blue -- wait which is it
  116. nevet blue now has karma of -1.
  117. blue I don't even know that what means tbh. you write something DASHDASH COMMENT?
  118. dreamreal I just did...
  119. blue then drop the comment, OR force people to write SOMETHINGDASHASH with no space, by excluding the pattern above
  120. dreamreal no, because that implies arbitrary rules that are SURPRISING. The rules right now aren't surprising. They're vaguely annoying to you, but they're consistent.
  121. blue the rules are now are TOTALLY surprising. you write a NORMAL CONVERSATIONAL sentence, and the dumb bot repeats it and creates a garbage entry in your db, to boot
  122. blue with garbage I mean: it will NEVER be updated
  123. blue it will also never be queried
  124. dreamreal Oh no, those records are so expensive, oh no. But it's still not surprising, because users learn that the operations are consistent. There's not a difference when an em-dash occurs in this subject vs THAT subject: "why didn't it work?" "Did you use spaces?" The places where it gets rough are when you have legit emdashes in names
  125. dreamreal c--++
  126. nevet c-- now has karma of 1.
  127. dreamreal And you're wrong_ teh system actually purges old data.
  128. blue oh man, this is the wrong hill to die on. it's the reason I ended up kicking nevet from the discord server the last time. becuase I wasn't able anyone to use double dash in my sentences without him disrupting the flow. you're hung up a perfect idea of a theory that is nonsense in practice
  129. dreamreal Karma erodes; after about 350 days or so it approaches asymptotic 0.
  130. blue s/anyone/anymore/
  131. * dreamreal shrugs. You can ALWAYS run nevet yourself and mutate the operations as you like.
  132. dreamreal C++--
  133. nevet C++ now has karma of -1.
  134. blue yes, no space there
  135. blue I *could*, but this is actually a GOOD suggestion. ask anyone. I doubt you'd find one person in agreement with you on this
  136. blue and the annoying part is that I could massively benefit from nevet, but this is a deal breaker if you want to be able to use em dash in your sentences
  137. * dreamreal sighs. I guess the whole "I designed the function after watching how people use karma on IRC for decades" slipped right under your radar.
  138. dreamreal If it's that big a deal, TURN OFF KARMA.
  139. blue so I have two choices, *if* I want to keep use it: remember NOT to use em dashes in my sentences, or tolerate the pesky bot interjecting every time I do
  140. dreamreal Almost everything nevet does is optional.
  141. blue you can turn off karma per discord server / irc channel?
  142. dreamreal No. You can turn off karma. You don't need it. It's always been a toy.
  143. blue but then I need to run the bot myself
  144. dreamreal And...
  145. dreamreal I mean, you want YOUR configuration. Why wouldn't you run it yourself?
  146. blue because the threshold for a bespoke configuration isn't met. I'd need to run the entire bot myself just to turn off an entire feature because you refuse to create a super meaningful exception
  147. dreamreal the bytecode.news thing is a... wait for it! It's an option! You don't have to run the content system AT ALL. No front end, none of it.
  148. dreamreal It's an exception that runs counter to what the author for the plugin wants. And it's not a terrible idea to have karma on or off by channel, actually.
  149. blue well in the case of discord it'd be the entire server
  150. dreamreal And I refuse to create an exception for an operator that runs counter to how the operation was designed yes. "A car with round wheels but with wheels that are square, please" - no.
  151. * dreamreal shrugs. I mean, turning off a feature by provenance wouldn't be a terrible idea, it's just something I'd have to figure out how to map. karma operation syntax is really simple right now and should remain so.
  152. dreamreal It's a LITTLE complicated because we're programmers and languages like c + + exist.
  153. dreamreal But the mode is simple: subject, operation, comment. Comment is discarded. operation is the LAST VALID token, so subject is "greedy." Subject is length-constrained: there IS a feasible, rational limit to the length a valid subject can be, but it's generous by design.
  154. dreamreal C+++++++
  155. nevet C+++++ now has karma of 1.
  156. blue the comparison doesn't hold. this is more like, a car having a mechanism not to run stuff over, can have exceptions for a few things
  157. dreamreal C++++--
  158. nevet C++++ now has karma of -1.
  159. dreamreal C+++++--
  160. nevet C+++++ has neutral karma.
  161. blue and your examples dn't use spaces
  162. blue don't*
  163. dreamreal Right, and? The completion thing means spaces *are not relevant*
  164. dreamreal We don't have a completion for language names, but that's not a salient point.
  165. blue so you just exclude spacedashdashspace, this is super easy
  166. dreamreal It IS super-easy. And wrong. It's a special case that is not obvious to users; there are other exceptions that are not obvious - the 150-char limit on subject, for example - but they're likely to be quite rare, whereas this one is MUCH LESS LIKELY to be rare. And expressing it is nontrivial. Besides, the emdash in conversation blows.
  167. blue you're LITERALLY avoid using em dash right now to not trigger your bot
  168. blue you're proving my point for me
  169. dreamreal I LITERALLY rarely use emdashes in regular conversation. :D
  170. blue but that's the correct way to write. if you use dots at the end of your sentences or capitalise your sentences, then you should use emdashes!
  171. * blue forks nevet and adds the dumb check
  172. bot [jottinger/bytecode.news] New issue #42: Egress transformation pipeline for bot-generated output - https://github.com/jottinger/bytecode.news/issues/42
  173. bot [jottinger/bytecode.news] New issue #41: Per-provenance operation control via JSONB config - https://github.com/jottinger/bytecode.news/issues/41
  174. blue major thumps up on #41 dreamreal!
  175. blue thumbs*
  176. blue dreamreal: finally, GH allows you to dedicate PRs on a repo! this has been a long time coming!
  177. Chronos blue: I'd probably use emdashes if I knew how to type them. I used to use -- a lot. :)
  178. nevet blue: I'd probably use emdashes if I knew how to type them. I used to use now has karma of -1.
  179. Chronos dreamreal: Hmmm, I think I might consider the above a bug.
  180. blue ^
  181. Chronos At a guess, ignore the line if it has text that follows the -- or ++ characters.
  182. nevet At a guess, ignore the line if it has text that follows the -- or now has karma of 1.
  183. Chronos Ack. That was unintentional.
  184. Chronos This — right here — is a test.
  185. Chronos OK, learned how to type emdashes. :)
  186. blue the problem is dreamreal has insisted on adding comments to the karma feature (the part after the dashes)
  187. blue I personally consider those comments unituitive and stupid, but be it as it may, I told him to exclude spacedashdashspace, which he refuses