Submit

Back to the channels

#primate

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

Search posts