Submit

Back to the channels

#primate

  1. * skillbot joined #primate
  2. * skillnews joined #primate
  3. * lioloc joined #primate
  4. blue lioloc: hey!
  5. blue https://repopack.com/project/primate/tasks/153
  6. nevet Repopack · Sign in
  7. blue check out that, will be part of 0.43
  8. blue dreamreal: primate 0.42.1 is out, including updates to @primate/core and @primate/marko. It is a security-hardening and stability release, I recommend updating
  9. dreamreal gah, sorry, underway
  10. blue well, you don't need to update *now*
  11. blue it's just a general info
  12. dreamreal I'm bad about enduring old versions when I know a fix is out there
  13. dreamreal ... another reason to vastly dislike windows
  14. * lioloc joined #primate
  15. blue you know, there's a tension between having a lockfile, and receiving updates. I strive to try to diffuse this tension in some form with repopack, with trusted publishing (npm is also going in that direction), but the fact of the matter is that lockfile prevent you from receiving updates simply by redeploying a service
  16. blue lockiles*
  17. blue which somewhat defeats the purpose of patch updates, as per npm policy
  18. blue npm is generally very problematic from a security point of view, but their solutions never feel like they've thought them through. they are most reactive, much less proactive
  19. blue s/but/and/
  20. dreamreal Trying to update the nextjs repo now, which is always a drag. The dependency audit for nextjs is great fun: "this is a mandatory update but BTW nothing will work if you apply it"
  21. dreamreal gee, I wonder why I agonized over switching to something different for all of 15 ninutes.
  22. blue nextjs is just not worth it
  23. blue I sent you the video by lioloc where he compares them
  24. blue nextjs is very, very heavy
  25. blue lioloc: so cool, your branch can start a desktop app with gtk 4 on linux. but a revision was still requested
  26. lioloc will take a look
  27. blue lioloc: btw https://primate.run/blog/primate-042#production-diagnostics
  28. nevet Primate — Primate 0.42: Virtual route groups, structured forms and production diagnostics
  29. blue this was missing from the original blog post
  30. blue it's kinda nice :)
  31. lioloc neat
  32. lioloc very cool!
  33. blue we're gonna use it on repopack.com, that when an error 5xx is generated, we report it automatically
  34. blue we might show the user an id for reference
  35. lioloc what a great idea
  36. lioloc i'll have to try it myself
  37. blue yup
  38. blue dreamreal: whilst reviewing primate:
  39. blue "Error: cyber_policy: This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. If you’re doing authorized security work that requires more cyber permissive safeguards, apply for Daybreak access via https://platform.openai.com/settings/organization/status-and-access before retrying."
  40. blue great, now I can't even review my own OSS code
  41. blue idiots
  42. dreamreal blame aggressive demands by the US government, and idiots trying to use AI to break others' code maliciously
  43. dreamreal Sorry, man
  44. dreamreal hits me too, and that's actually MY INDUSTRY - I have access to models that do not have those safeguards but I literally have to be in a military base to use them
  45. dreamreal and thus I do not use them
  46. blue and the annoying thing is that they now flagged the entire session. which is OK, I can start a new one and rp is pretty good at bootstrapping, but yeah
  47. dreamreal oh, that reminds me: do you want #primate's logs to be public as well?
  48. blue yes, it's ok
  49. blue thanks for asking
  50. dreamreal I actually need to sanitize the logs some
  51. blue but I am bound by these network's policies to advertise that, btw
  52. blue (as are you, if you have it on any of your channels, btw; be advised)
  53. blue best is to put it in the topic, which I will do now
  54. dreamreal hmm, hat might be an interesting feature: "here's the logs, filter for potentially insecure/illegal content and sanitize profanity"
  55. blue dreamreal: https://bytecode.news/logs?provenance=irc%3A%2F%2Flibera%2F%2523primate
  56. nevet #primate, October 7, 2026
  57. blue is this the shortest url I can get?
  58. blue it is rather ugly, I must confess
  59. dreamreal YES, darn it!
  60. blue ok
  61. dreamreal it is ugly, yes, because provenances are ugly
  62. dreamreal hmm
  63. blue nicer: bytecode.news/logs/irc/libera/primate
  64. blue you can map this with a [...].ts route in primate
  65. blue and yes, I know there are # and ## channels, and that is an abomination to map to a url, where # means the hash/anchor
  66. dreamreal yeah, primate's not the only option here, and I'm going to file an issue against all three UIs, and damn it nextjs sucks and I'm considering deprecating it for maintenance
  67. dreamreal there are actually FIVE UIs, but two of them are BADLY outdated because I don't give a single crap about them and they're not even deployed live
  68. blue this is *rather* easy to in primate. create a route as thus described above. then: const `[protocol, server, channel] = request.path.toJSON();`
  69. blue sorry, the opening backtick should be been before the const
  70. blue should have been*
  71. blue dreamreal: https://libera.chat/policies/#public-logging
  72. nevet Network policies
  73. blue just fyi; I will make sure this is properly advertised in the topics of #primate and #repopack; you take care of your flock
  74. blue just so we're transparent about it, the public logging by nevet for this channel is authorised by me (channel owner) until indicated otherwise
  75. dreamreal I'm working on the issue, have a few other things in the queue
  76. blue no worries
  77. blue I'll change the topic as soon as you're up with the prettified url
  78. blue ... or with the non-prettified one if you decide elsewise
  79. dreamreal I'm working on it, issue has been filed and shouldn't be long
  80. blue +1
  81. dreamreal dang it you casually created six issues for streampack :D
  82. blue yes well, you're carrying too many frontends :P
  83. dreamreal Only two issues are in the front ends, nextjs gets ignored for this one
  84. blue what are the other four?
  85. dreamreal but this is WHY I wanted multiple front ends, to get the backend API solid
  86. dreamreal nextjs [deployed, deprecated], primate [deployed and is the 'main site'], spring [pudl, deployed and is sort of the 'admin site'], spring (basic) [undeployed, unmaintained, was the proof for the design as a balance against...], reference (nextjs) [undeployed, was the 'site' before the nextjs 'main site' was built]
  87. blue btw dreamreal, I feel like both things can be true at the same time. repopack exposes an API (for `rp`), *and* it has a very fast direct path for the ui. there is an inherent sync problem that arises from this, but the dividends for the direct path, eliminating the costliness of API requests, and enabling a direct db access essentially, is huge
  88. dreamreal *nod*
  89. blue I'm not saying you *need* to go there, it's your decision. but a two-path'd approach can pay out
  90. blue your design*
  91. blue of course, the fact the backend is written in kotlin makes it very hard for you to port it to primate. hence I was thinking about a @primate/kotlin wasm bridge
  92. dreamreal I'm not sure what you mean: streampack DOES have a direct API. You mean such that UIs have access to the data directly?
  93. blue essentially yes. on repopack.com, the first load is always *one* request; on bytecode.news too, by masked by another fetch request in the background, to the api
  94. blue but masked*
  95. dreamreal Ah, no
  96. dreamreal I totally understand and it WOULD make everything faster
  97. dreamreal NO ARGUMENT THERE at all
  98. blue but it would break your API design, I get it
  99. dreamreal but the intent was NEVER actually for me to maintain UIs that didn't directly interest me
  100. blue ya
  101. dreamreal like, I can see me being directly invested in the pudl UI, but honestly, I'd far rather SOMEONE ELSE maintain the primate API because it's not my strength area
  102. dreamreal and that means trusting users to not be damn fools
  103. dreamreal like, there ARE secrets in the database: they're encoded and you could capture the database without having secrets exposed, BUT someone could THEORETICALLY spend a lot of computing power on those secrets
  104. blue the question here is a matter of coupling. you have a very loose coupling at the moment, but it comes at some price. I am thinking if you can keep it decoupled to your heart's content, and still get the benefits of traditional stronger coupling
  105. dreamreal blue: right, but that comes with TRUST. I could do that with pudl, as the interested maintainer. But not with the other UIs.
  106. dreamreal Right now interactions are pretty fast, and having a common API gives me not only viability tests for the API but common reference points
  107. blue how so? trust that the server implementation isn't compromised, you mean?
  108. dreamreal To be clear: you're wrong exactly 0%
  109. dreamreal no, trust in the maintainers of the UIs
  110. blue but *you* are the maintainer
  111. dreamreal right now there is no trust, and there's no need for it: the UIs can't even pretend to have write access because there is no access
  112. dreamreal right
  113. dreamreal ... of pudl
  114. dreamreal and technically primate as well
  115. dreamreal but I really, really want BCN to have enough critical mass to break that pattern
  116. blue anyway, there are other challenges as well. I'm not sure how much kotlin wasm is ahead, and there are also to my knowledge some limitations with wasm java
  117. blue but I must confess I have been eager to try out java wasm since java 25
  118. dreamreal wait until the next major release comes out
  119. dreamreal the java LTS releases are quite something, compared to the history
  120. blue but 25 is LT
  121. blue LTS, no?
  122. blue supported until 2033
  123. blue the next lts seems to be 29, sept 2027, that's some ways off
  124. dreamreal yes, but the next LTS is gonna *rock*
  125. dreamreal I'm staying on 25 until the next LTS but they keep adding features the community's been wanting and needing since, like, 2006
  126. blue there's also the question of whether it makes sense to do a @primate/java or a @primate/kotlin first
  127. * dreamreal has no recommendation there, not enough experience with WASM in the field
  128. blue ya
  129. dreamreal blue: backend is being merged for release now
  130. blue dreamreal: nice!
  131. dreamreal and now it's being set for deployment
  132. dreamreal primate update following, but it needs backend deployment because the API is changing
  133. blue with the latest primate updates?
  134. blue ah ok
  135. dreamreal and yes, it's going to have the latest primate updates
  136. dreamreal although I'm not migrating the *code* very much
  137. blue there's no code changes in 0.42.1 to be done
  138. blue should be 100% transparent
  139. dreamreal *nod* just being clear, because I'm not using the route groups, etc
  140. blue I know
  141. blue the route groups have got some stability fixes
  142. blue but they're still opt-in, and will remain so
  143. * nevet joined #primate
  144. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc
  145. blue dreamreal: https://repopack.com/project/primate/tasks/153
  146. nevet Repopack · Sign in
  147. dreamreal +1
  148. dreamreal Grrrr, trying to get some tuning issues resolved, HOLD ON. One step at a time. The backend deployment needs to work before we progress.
  149. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc
  150. * nevet joined #primate
  151. blue there's an asset chunking bug, though it's not surfaced on bytecode.news
  152. * nevet joined #primate
  153. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc
  154. * nevet joined #primate
  155. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc
  156. dreamreal *nod* Sorry for the join spam, the AI model interaction changed :/
  157. dreamreal it's rejecting "thinking" because I'm not turning it off properly yet
  158. * nevet joined #primate
  159. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc
  160. * nevet joined #primate
  161. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc
  162. dreamreal golly, it's WORKING now but still not right
  163. dreamreal grrrr
  164. * phaleth joined #primate
  165. * nevet joined #primate
  166. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is mirrored to the Primate discord, channel #irc
  167. dreamreal Okay, the new AI stuff works, and the openapi endpoints have been cleaned up. Now the primate and pudl updates for the logger entrypoint.
  168. phaleth I thought pudl is just a design lang
  169. dreamreal it's an implementation as well, and in THIS context, it's a UI that uses pudl
  170. * skillbot joined #primate
  171. * skillnews joined #primate
  172. dreamreal it's also the most pessimistic consumer of the openapi spec, which is why it's a gate
  173. phaleth ok, I never understood the openapi spec, all I know is that primate has https://openapi.primate.run/manifest.json
  174. phaleth this UI that uses pudl uses pudl at build time I hope
  175. phaleth right?
  176. dreamreal err... no, no
  177. dreamreal the bytecode API that uses openapi is talking to api.bytecode.news
  178. phaleth oh, there is a SwaggerUI, and I was just like curious if you have SwaggerUI and you really do
  179. dreamreal I do, yes
  180. phaleth well, anyway, openapi is like I read odata and microsoft and I'm like "nah, I've had enough of that"
  181. dreamreal it's a drag, yes, but it's probably the best drag available
  182. phaleth I also think that odata is one of the good things that microsoft has done, but still
  183. phaleth bunx is used to run proby in the primate monorepo, that means it's still vendor locked in
  184. dreamreal blue: zeroing in, found a gap in pudl's endpoints
  185. dreamreal backend is stable, so closing the gap and then fixing primate
  186. dreamreal AND THEN https://bytecode.news/logs/irc/libera/primate should work
  187. blue very very good
  188. blue we have a @primare/core patch coming up
  189. dreamreal when and for which? The migration thing?
  190. blue no, a 0.40 thing
  191. dreamreal anything that would affect BCN's deployment?
  192. blue no
  193. blue just optimising network request size
  194. blue trimming fat
  195. dreamreal ok
  196. dreamreal blue: https://bytecode.news/logs/irc/libera/primate
  197. nevet #primate, October 7, 2026
  198. blue awesome
  199. dreamreal and thank you for the suggestion
  200. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is publicly monitored at https://bytecode.news/logs/irc/libera/primate and mirrored to Primate discord, channel #irc
  201. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is publicly logged at https://bytecode.news/logs/irc/libera/primate and mirrored to Primate discord, channel #irc
  202. phaleth dreamreal: the pudl frontend also feels kinda lightweight, which is nice
  203. dreamreal both it and primate are pretty zippy
  204. phaleth yup
  205. dreamreal pudl just uses an application paradigm, which isn't what most users would want or need
  206. dreamreal and then contrast it to nextjs.bytecode.news
  207. dreamreal which isn't sluggish but is *by comparison*
  208. phaleth yeah, these windows are kinda odd on a website
  209. blue dreamreal: you are welcome
  210. dreamreal phaleth: for *writing* it's fantastic, I use the pudl endpoint for all admin access, AND it gives you a console :D
  211. phaleth blue: optimizing network request size?
  212. blue yes, removing the names of chunks from json transfer objects
  213. phaleth dreamreal: cool, I like CLIs
  214. phaleth blue: nice, every byte counts
  215. dreamreal phaleth: see discord, #offtopic
  216. phaleth discord? I'll pass
  217. dreamreal screenshots, tho!
  218. phaleth heh
  219. dreamreal I could paste one here but, um
  220. dreamreal srsly, check it! Just this once!
  221. phaleth maybe later
  222. dreamreal it's the impressive! ... dang it
  223. dreamreal blue: do you see it? Are you not entertained?!?!
  224. blue see what
  225. dreamreal I guess I could use an image pastebin, but I don't know of any
  226. dreamreal blue: discord, primate, #offtopic
  227. blue ah, I saw now, yes
  228. dreamreal When I write on the pudl api, NOT ONLY does it have a "suggest tags" and "update tags" feature in the editor, but I can also just crank up a console and type into it just like I would here
  229. dreamreal calc 42*pi
  230. nevet The result of 42*pi is: 131.94689145077132
  231. dreamreal openapi
  232. nevet openapi is a vendor-neutral, machine-readable spec for HTTP APIs (formerly Swagger): describe the paths and schemas once, generate clients, servers and docs from it. URLs: https://www.openapis.org and https://spec.openapis.org/oas/latest.html
  233. dreamreal (this output is in the screenshot phaleth so CALLOUSLY refuses to see)
  234. dreamreal calendar hebrew
  235. dreamreal caloh
  236. dreamreal today hebrew
  237. nevet Today is Wednesday, 26 Tishrei, 5787 (Hebrew)
  238. dreamreal today
  239. nevet Today is Wednesday, October 7, 2026
  240. dreamreal I'm going to eventually move the factoid suggestion stuff into primate too but it's admin-only, as most of the AI stuff is gated to admins
  241. dreamreal (one aspect of the factoid derivation is heuristic, not AI, but the most useful features leverage AI)
  242. dreamreal I am, BTW, adding a filter for the backend such that it has patterns in URLs to ignore, so I can add "repopack.com/project" and have it not echo those url titles
  243. blue that's AWESOME
  244. blue (however, there is the intention to make some semblance of public projects on repopack.com; although as phaleth noted, we will be limiting the ability of bots to get the entire js bundle from that, and that's a task for primate to solve)
  245. dreamreal Well, the thing is, the intent is to say "ignore urls that match THIS PATTERN" - not just a string, but a pattern - and also ignore urls that have text like "log in" or "sign in"
  246. blue ya
  247. blue phaleth: I've deleted most of my stuff on github, and it'll be moving to repopack soon
  248. blue in particular scld and others I'm going to start creating projects for
  249. blue primate is going to stay for a while, rcompat will move over completely soon (I already closed most issues). rcompat will be archived and eventually deleted
  250. blue I'm gonna commit fully, I don't see a way forward if I don't
  251. phaleth ok, it's up to you, let me know when I should get rid of gitea
  252. dreamreal *nod*
  253. blue soon
  254. phaleth also make sure the UUIDv7s are in the db before anything
  255. blue we're not going to GA any time close, uuidv7s will be in before that
  256. blue but they might need to land in primate first
  257. blue I mean, they already are in primate. I'm just not sure the translation in @primate/postgresql is
  258. phaleth yeah, makes sense
  259. dreamreal blue: check discord, it is to amuse
  260. dreamreal I'm still giggling
  261. dreamreal like, "holy cow, are you ... what... what's wrong with you"
  262. dreamreal I know giggling isn't manly but... come on!
  263. blue yes
  264. dreamreal and that fool knows the history and visibility
  265. dreamreal and apparently hasn't actually thought "gee, when someone says something they MAY ACTUALLY mean it"
  266. blue true
  267. * nevet joined #primate
  268. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is publicly logged at https://bytecode.news/logs/irc/libera/primate and mirrored to Primate discord, channel #irc
  269. dreamreal It's back! and I'm adding log moderation capabilities to the UIs now
  270. blue Awesome sauce.
  271. blue You're on FIRE on nevet today, dreamreal!
  272. dreamreal blue: can you join #nevet so I can intentionally abuse you and trigger the reports?
  273. * jreicher joined #primate
  274. dreamreal jreicher: found the problem for openliberty BTW
  275. dreamreal jreicher: https://github.com/OpenLiberty/openliberty.io/issues/4367
  276. nevet Atom feed republishes the ArgoCD drift post with a new id on every site build · Issue #4367 · OpenLiberty/openliberty.io
  277. jreicher And there was indeed a problem?
  278. jreicher Ahah.
  279. dreamreal jreicher: there was, but it wasn't nevet!
  280. * nevet joined #primate
  281. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is publicly logged at https://bytecode.news/logs/irc/libera/primate and mirrored to Primate discord, channel #irc
  282. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is publicly logged at https://bytecode.news/logs/irc/libera/primate and mirrored to Primate discord, channel #irc
  283. * nevet joined #primate

Search posts