Submit

Back to the channels

#primate

  1. * skillbot joined #primate
  2. * skillnews joined #primate
  3. * jreicher joined #primate
  4. blue WB nevet, jreicher.
  5. * jreicher joined #primate
  6. * nevet joined #primate
  7. * 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
  8. * lioloc joined #primate
  9. lioloc blue: Hey blue! does the sqlite db package support a turso libsql database url?
  10. blue lioloc: hey; I'm unsure; the sqlite generally delegates to the native adapter
  11. blue the sqlite package*
  12. blue I could check it for you
  13. blue lioloc: "No. @primate/sqlite currently accepts only a local database path or ":memory:". Its underlying @rcompat/sqlite client wraps node:sqlite or bun:sqlite, neither of which supports Turso’s libsql:// remote URLs."
  14. lioloc ah ok thanks
  15. blue If you need this capacity, consider submitting a task to primate or rcompat. if libsql is standardised, this should be in rcompat, if not, in primate. can't promise implementation, but will consider
  16. blue if libsql:// is standardised*
  17. blue https://repopack.com/project/rcompat
  18. blue guest roles can report/read tasks
  19. lioloc ah ok, I will probably make my own module for this
  20. blue ok, up to you
  21. lioloc Yeah I need it for a project i'm working on right now
  22. blue looks like something @primate/sqlite could benefit from if it doesn't mean pulling in deps
  23. blue bbiab
  24. lioloc initially for speed I'll use an external dep, but if it works well i'll have an ai create it without dependencies
  25. blue k
  26. dreamreal hey, the signin feature works!
  27. dreamreal woot!
  28. * nevet joined #primate
  29. * 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
  30. blue dreamreal: signin?
  31. dreamreal the url you posted for repopack has a title of "sign in" which nevet did NOT echo because it failed the rule for "no signin pages"
  32. dreamreal found an rcompat bug
  33. blue `task report --project rcompat`
  34. blue `task report` will *probably* be removed in the future and I'll just make it possible to use --project with all task commands, but for now it's still limited to reading tasks
  35. * nevet joined #primate
  36. * 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
  37. dreamreal OKAY, massive UI refresh coming up
  38. dreamreal yeesh
  39. dreamreal not a lot visually changes, which is good
  40. dreamreal but it's been all morning :D
  41. * lioloc quit (Ping timeout: 243 seconds)
  42. blue did you report it, dreamreal?
  43. blue I don't see anything
  44. dreamreal Should be... primate task #183?
  45. blue I thought you said rcompat
  46. blue I'll look at it
  47. dreamreal oh, I think it's an rcompat bug, but ... found it in primate, so... err.... I AM A GENIUS
  48. dreamreal or something
  49. blue right
  50. dreamreal https://bytecode.news/atlas
  51. blue wow, awesome sauce
  52. blue you konw, dreamreal, the one thing that takes me the longest is this review-revision cycle. I need to tell the agents to look at it. This is actually something that repopack chat solves: it will allow you to set a session to `autonomous`; so its agent (who is attached to a task) will be informed if attention is needed, either rereviewing, or revising
  53. dreamreal *nod* MAKE THAT NOTE and use it.
  54. dreamreal "Dangit, every time I run into ___ on $otherplatform it annoys me, I bet it annoys others too, I have something that doesn't annoy me"
  55. blue ya well, it's just that they should talk to each other and work together. they don't need my input at these stages; if they did, they owuld stop
  56. dreamreal Sure
  57. dreamreal just saying that this is how you communicate the awesome sauce to others
  58. dreamreal I have the workaround for the problem but would far prefer it be in primate/rcompat, obv
  59. dreamreal BBIAF
  60. dreamreal the atlas is what found the bug, FTR
  61. blue rcompat and primate are both getting patches soon
  62. blue https://repopack.com/project/rcompat/tasks/4
  63. blue just need to give this out of the door first
  64. blue with omarchy.. could be good to have
  65. dreamreal no worries, and no hurry
  66. blue +1
  67. blue dreamreal: primate 0.42.2 is out
  68. blue + rcompat patch, but that's not your direct concern, likely
  69. * phaleth joined #primate
  70. blue hi phaleth
  71. blue nub is such a dumpster fire, it accidently published a -pre package and marked it as latest...
  72. blue https://repopack.com/project/primate/tasks/185
  73. blue ridiculous broken vibe software...
  74. dreamreal blue: doing a general tag cleanup now, which should end up touching the UIs, will update when it gets there
  75. blue and I couldn't even hit ctrl+c or ctrl+d on it. that's how bad it is, phaleth
  76. dreamreal right now tags are split between content and factoids, that needs to be normalized
  77. blue ok dreamreal
  78. dreamreal and thank you!
  79. blue yw
  80. phaleth hi
  81. blue "Nub asks for CLI OTP because it implements registry uploads itself. On EOTP, it invokes a terminal prompt; it has no browser authentication flow and does not retain the prompted OTP across recursive packages. Pnpm uses its web-auth implementation, opens the browser, and polls npm’s completion URL."
  82. phaleth blue: oh, really, so pnpm is still needed for publishing
  83. blue it's so bad, having to enter >20 times the OTP one after another
  84. blue oh man I was so happy to get rid of pnpm
  85. dreamreal tag normalization is a necessary thing in nevet, factoids and content have different taxonomies and they shouldn't :/ resolving them is dumb
  86. blue and now nub is just a dumpster fire
  87. phaleth well, if it's just publishing for which you need pnpm then I guess that's still not too bad outcome
  88. phaleth I think I saw some issues regarding publishing on the nub issue tracker, but it seems like the author does not focus on that currently
  89. blue we need flog
  90. blue like, yesterday
  91. blue everything sucks
  92. blue it's like, every time you want to mvoe a step forward, you move two steps back
  93. blue so for 0.42, I can still publish with pnpm
  94. blue but we do need a solution for master
  95. blue I'll see if we can keep pnpm for publishing, but two package managers is annoyig
  96. phaleth there is also still bunx in a bunch of places
  97. blue in primate?
  98. phaleth anyway, if you just put pnpm in package.json script, you can call it with nub
  99. phaleth yeah, in primate
  100. phaleth or npm even if you can't stop getting used to typing nub for some reason
  101. phaleth npm run publish
  102. blue https://repopack.com/project/primate/tasks/185
  103. blue this smells
  104. blue no, npm can't publish workspaces, phaleth
  105. blue not to my knowledge, anyway
  106. blue hive mind: "So Nub builds; pnpm packages and publishes. The browser authentication and registry interaction are handled by pnpm."
  107. phaleth I mean npm run publish runs the publish script that executes pnpm
  108. phaleth but can as well type nub run publish to execute pnpm
  109. blue ya
  110. phaleth ok, I see that clanker already wrote some long TS script there
  111. blue yeah there's going nowhere
  112. blue we're either going back to pnpm+ts check until nub gets serious, or clanker will find a way
  113. blue best solution is, we get rid of both, they're both bad
  114. phaleth not sure it's worth adding all that code, can just modify the script line in package.json to use pnpm
  115. phaleth oh, so you got rid of pnpm-workspace.yml
  116. blue yes
  117. blue I moved to nub completely, with nub.lock
  118. blue now I'm regretting it
  119. phaleth yeah, I bet, I didn't want to do that
  120. dreamreal Ah, the joys of committed development :D
  121. phaleth I wasn't expecting a gotcha, but it's always better to be cautious
  122. blue I'm just sad everything is bad
  123. blue this is why I end up writing my own stuff. not because I think it's good, but because other tools just suck
  124. blue they don't do the basic things you expect them to do
  125. phaleth well, I recommend reverting primate#178 and in primate#185 package.json modify "publish": "nub publish -r --access=public", to publish": "pnpm -r --access=public publish",
  126. phaleth and also in primate#185 get rid of all that clankered nonsense
  127. phaleth also no reason to be sad about software tools, it's just tools not always perfect
  128. blue I think I'll revert nub completely if pnpm can run TS checks
  129. blue and then we just move to flog when it's ready
  130. blue clanker is on it
  131. blue it's checking why pnpm didn't do TS checks earlier
  132. phaleth there was no flag like --noCheck or the update --no-check I could find
  133. * skillbot quit (Remote host closed the connection)
  134. * skillnews quit (Remote host closed the connection)
  135. phaleth but yeah, you may as well go back to pnpm fully, which means slower clankering I think
  136. * skillbot joined #primate
  137. * skillnews joined #primate
  138. phaleth updated*
  139. blue yeah, checking
  140. phaleth deployment of primate website does not have to be done using pnpm, so using pnpm 12 is ok
  141. blue I think the next codex limit will be dedicated to getting flog to do package manager stuff
  142. blue because the landscape is awful
  143. phaleth wait, look, it's rustified already https://github.com/pnpm/pnpm
  144. nevet GitHub - pnpm/pnpm: Fast, disk space efficient package manager
  145. blue oh god no god save us
  146. blue dreamreal: we need help
  147. phaleth heh
  148. blue started work on flog
  149. blue phaleth: we probably need to prepare flog.run soon :P
  150. phaleth you are really gonna create a flog project?
  151. blue already did
  152. phaleth I think repopack and also primate still need a lot of work
  153. phaleth and you gonna use the zig rewrite from github?
  154. blue ya, everything needs a lot of work, but blockers should be unblocked. I'm giving this one day
  155. blue no, I'm gonna go with go. I kinda lost faith in the zig project
  156. phaleth ok, there is a js runtime written in go that's kinda popular
  157. blue there is?
  158. blue (note I'm limiting flog for now for pure package-manager stuff, not runtime)
  159. phaleth anyway, I'd recommend giving primate more effort, primate#186 makes sense
  160. phaleth ah, ok, that's good
  161. phaleth but you can just finish primate#186 and move on
  162. blue yeah. this is a spike, phaleth. if it takes longer than a day or two, I'll give it up and go back to primate#186 or its follow-up
  163. blue I don't intend to spend a month on it
  164. blue I just wanna untangle this situation if I can. two package managers is annoying, undoing the nub work is annoying, pnpm is annoying too
  165. blue so let's see if we can find the golden path
  166. blue I have a few other nitpicks I've had with package managers along the years, would be a chance to fix them too
  167. dreamreal the answer is to use rust like god intended! ... or go! ... or python! ... or whatever today's favorite language is
  168. dreamreal I can't keep up
  169. phaleth well, pnpm 12 is prolly not very slow after all
  170. blue phaleth: sent you an invite to flog project
  171. phaleth ok, thanks
  172. blue https://repopack.com/project/flog/tasks?status=open
  173. phaleth the runtime is called goja, here's some performance comparison table https://github.com/dop251/goja/issues/2#issuecomment-2763265666
  174. nevet Benchmarks and performance data? · Issue #2 · dop251/goja
  175. blue not bad, phaleth
  176. phaleth yeah, but the runtime needs perf, look at where ladybird sits in the table
  177. phaleth they prolly managed to optimize something during the year since the table was put together but still
  178. blue what's the point of putting bun in that table?
  179. phaleth actually 1.5 years already
  180. blue heh, deno is slower than node
  181. blue what a stupid table, sorry
  182. blue conflating runtimes and engines
  183. phaleth heh, yeah, but I think that's ok
  184. phaleth shows engines are faster, obviously, but also by how much
  185. blue I wonder why should a runtime add any overhead at all
  186. blue well, any meningful overhead, anyway
  187. phaleth it's cause of FFI
  188. phaleth v8 is C++, but deno is Rust
  189. phaleth and node is C++, but they prolly also have some bindings
  190. phaleth just so they can easily update v8
  191. blue so you're saying, always write your engine in the same language as the runtime?
  192. phaleth no, C++ is a mess
  193. blue yessir
  194. phaleth also don't write your engine, too many problems with web standards
  195. blue dreamreal: do we need a js engine/runtime in java?
  196. dreamreal We already have one, depending on what you mean by "in java"
  197. dreamreal we have multiple, actually
  198. phaleth java has nashorn
  199. blue one that can compete with v8
  200. dreamreal and graal has a different one, and there's rhino, too, if memory serves
  201. phaleth nashorn cannot compete with v8
  202. phaleth yeah, rhino is like a predecessor to nashorn I think
  203. dreamreal graal MIGHT be able to but I doubt it, using JS from within java isn't really "the way to do it"
  204. blue heh
  205. * phaleth quit (Quit: phaleth)
  206. * nevet joined #primate
  207. * 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
  208. * nevet joined #primate
  209. * 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
  210. dreamreal OKAY! Now logs on pudl can be filtered to be ONLY conversation to cut out all the join/part/quit stuff
  211. dreamreal And now primate has the log filter in place too!
  212. dreamreal Aight, I'm off for the day, seeya
  213. blue byebye dreamreal, have a good one

Search posts