Submit

Back to the channels

#primate

  1. bot [bun.com] Bun v1.4.3 - https://bun.com/blog/bun-v1.4.3
  2. * phaleth joined #primate
  3. * skillnews quit (Remote host closed the connection)
  4. * skillbot quit (Remote host closed the connection)
  5. * skillbot joined #primate
  6. * skillnews joined #primate
  7. phaleth using application/x-ndjson looks like a good idea if the client can really start parsing the payload earlier
  8. phaleth I've already enabled compression of application/x-ndjson in haproxy, means for primate website that's ready
  9. phaleth I guess no change for bytecode.news needed since that uses it's own API, not sure
  10. * phaleth quit (Quit: phaleth)
  11. * phaleth joined #primate
  12. * phaleth quit (Remote host closed the connection)
  13. * phaleth joined #primate
  14. blue hi phaleth
  15. phaleth hi blue
  16. blue flog is getting ready soon
  17. phaleth yeah, is flog gonna be fast?
  18. blue yes
  19. blue also there's a follow-up to turn it into a runtime, and it's quite promising
  20. blue https://repopack.com/project/flog/tasks/10
  21. blue https://repopack.com/project/flog/jobs/7?run=186
  22. blue phaleth: ^
  23. phaleth is it gonna embed v8 and use cgo?
  24. blue probably gonna do handoff
  25. blue `flog app.ts --engine v8`, will handoff to flog-v8
  26. blue default engine probably gonna be qjs or whatver you configure. until dog is ready
  27. blue phaleth, esbuild showed that handoff isn't really as bad as people think. esbuild is actually not implemented as a node module, but as a real executable invoked by `exec` from node
  28. blue the benefits are great, not having to support .node abi means bun and deno can run it in the same speed
  29. blue what flog will do is a bit different: it will hand off to another process, so the other way around from esbuild
  30. phaleth I'd postpone dog until there is a ton of money to burn, web standars is a moving target
  31. phaleth yup, esbuild is shipped as golang binary
  32. blue the only thing I wanna see disappearing is node:, bun: and deno:, in favour of std:
  33. blue that's my main reason for dog, tbh
  34. blue or flog in this case, really. dog is an engine
  35. phaleth yeah, don't worry about engine, it's a ton of wasted time
  36. blue hey, you know me, I liek wasting time :P
  37. blue but yeah. dog isn't a priority
  38. phaleth but for that life is short
  39. blue the only reason to do it is satisfy the dog + master branch joke
  40. blue :P
  41. phaleth flog will already have to have a ton of bindings to v8
  42. blue but as you will see, #10 is deferred: I have no intentions of going the runtime path now until I've moved forward a few other things, mostly repopack
  43. phaleth I think clanker can create some nice single page html for flog.run and that's about it
  44. blue just need flog.run/install for now
  45. phaleth and also the install.sh
  46. blue yes
  47. blue btw, soon I can get rid of the machinectl things for scld
  48. blue it's ported to a repopack project and primate 0.42
  49. phaleth well, I have to create a backend in haproxy config, so it'd be good if there was at least something on https://flog.run/
  50. nevet Primate — The Universal Web Framework
  51. blue and postgres, instead of mongo
  52. blue yes
  53. blue I agree
  54. blue this is coming up
  55. blue https://repopack.com/project/flog/jobs/7?run=186
  56. phaleth yeah, let me know when I should modify the backend for sc
  57. blue phaleth: btw: hit `t` inside any repopack project :P
  58. phaleth yeah, I'd like to see a trust me bro script and a front page at least with the how to install via trust me bro script, I now I can just download the thing
  59. blue yes
  60. blue this is coming
  61. phaleth clanker just spends so much tokens spamming all these repopack tasks and so it should be able to do that no problem
  62. blue 100%, I'm just out of it currently
  63. phaleth heh, ok
  64. phaleth blue: can you merge this one manually? https://repopack.com/project/primate/tasks/191 I've already tested the Containerfile it's fine, then we can deploy the master branch
  65. blue done
  66. phaleth thanks, I will try to deploy the master
  67. blue `rp app deploy web-master`
  68. blue technically it's set to autodeploy on master advances, but there's a repopack bug there
  69. phaleth yeah, how can you remember that
  70. phaleth right
  71. blue well rp always works like that
  72. blue `rp [command] [subommand] [args] [flags]`
  73. blue the only thing you'd need to remember is the app name
  74. blue and if you don't, you issue `rp app list`
  75. blue looks like it's working phaleth
  76. blue remember how a year or so ago I was complaining how hard it was to redeploy reliably on master, with fly?
  77. blue we're almost there now :)
  78. phaleth is repopack queing up these deployments?
  79. phaleth and processing them FIFO style
  80. phaleth anyway, the node's permission model is good enough for containers as containers should limit available ports, unless it has bugs
  81. blue I think it does FIFO, yes, but I'd need to check
  82. phaleth so it seems like deno doesn't solve anything node cannot solve
  83. blue deno is snake oil
  84. phaleth ok, cool
  85. phaleth heh, so is bun
  86. phaleth do you think I should be able to replace nub with flog for the deployment? I guess flog detects node runtime right?
  87. phaleth there is no need for any trust me bro script for that
  88. blue you could try, look at all that flog is already doing https://repopack.com/project/flog/tasks?status=closed
  89. blue when I go back to work on it, as soon as the reset hits, I'll set up flog.repopack.app and then we could point flog.run to it
  90. phaleth alright
  91. blue https://repopack.com/project/repopack/tasks/566
  92. blue need to deploy this as well
  93. blue https://repopack.com/project/flog/jobs/7
  94. blue currently job ids are global, that patch fixes them to be local, like tasks
  95. blue this is important, especially when we switch to uuids for the id field
  96. phaleth the rp CLI is fetched from here https://repopack.com/api/v0/cli/version and that URL is public, is there such URL for flog as well?
  97. phaleth yeah, looks like job ids are public
  98. phaleth or rather in a shared table
  99. phaleth well, flog artifacts are protected
  100. phaleth hmm, wait, I see the pattern
  101. phaleth it's just returning 404
  102. blue you can download it from the ui I think
  103. blue https://repopack.com/project/flog/jobs/7/runs/186/artifacts/flog-0.1.0-job-test-linux-amd64.tar.gz
  104. jreicher What is repopack? I was going to check it out but apparently I need a signin?
  105. blue jreicher: agentic git forge and deployment platform
  106. phaleth blue: yeah, but the container build cannot since that is behind login
  107. phaleth this is public https://repopack.com/api/v0/jobs/1/runs/188/artifacts/ but this isn't https://repopack.com/api/v0/jobs/7/runs/186/artifacts/
  108. phaleth or I guess the second one isn't even routed or so
  109. phaleth jreicher: you will need an invite from blue and there are prolly couple other hoops to get in
  110. blue phaleth: let me fix that
  111. phaleth ok
  112. phaleth manually ;)
  113. blue in fact phaleth
  114. blue you can update it yourself, if you wish
  115. blue rp job info 7
  116. blue does that work for you?
  117. blue (inside the flog checkout)
  118. phaleth I need to be in the flog project I guess
  119. phaleth yeah
  120. blue yes
  121. phaleth let me try then
  122. blue jreicher: you can join #repopack ; I can invite you if you provide me an email
  123. blue anyway phaleth
  124. blue rp job info 7 > /tmp/7.json
  125. blue then edit the json and change artifact_access to "public"
  126. blue then `rp job update 7 [json]`
  127. phaleth ok, heh
  128. jreicher Hmm. What about repopack is "agentic"?
  129. blue phaleth: in one command, rp job update 7 "$(rp job info 7 | jq '.artifact_access = "public"')"
  130. jreicher I don't want to take up your time/effort if it's not something I'm actually going to use
  131. blue phaleth: you might need to rerun the job though I'm not sure, try without rerunning first
  132. phaleth I don't understand the command `rp job update 7 [json]`
  133. blue update the job of that numbre with the given json string
  134. blue look at my one command example with jq
  135. phaleth PATCH /api/v0/jobs/7?project=flog failed: 404 Not Found: <!doctype html>
  136. phaleth that's what your one-liner returned
  137. blue let me check the route
  138. blue jreicher: well, the flow on github is usually, you have issues and PRs. repopack replaces both with 'tasks'. tasks are bound to server branches, and they go through a status cycle of OPEN -> ACTIVE -> REVIEW -> REVISION/READY
  139. blue the flow maximises working with agents to complete agents, and then providing feedback either by operators or by other agents
  140. blue repopack is probably less interesting for you if you don't work with agents
  141. phaleth or maybe repopack is more interesting if you wanna try working with agents and never done that before
  142. blue yes
  143. blue I'm checking that patch route, phaleth
  144. phaleth and it looks like a code you've never seen before, heh
  145. blue well, the patch route does exist
  146. phaleth at least you know primate so you can find it, I'd not know where to look
  147. blue web/routes/api/v0/jobs/[job]/index.ts
  148. blue weird, I see nothing in the logs
  149. phaleth there's also web/routes/api/v0/jobs/[job]/runs/[run]/artifacts/index.ts
  150. blue yes
  151. blue phaleth: for now use this https://superarch.org/flog-0.1.0-job-test-linux-amd64.tar.gz
  152. blue until I fix it
  153. phaleth ok, let me give you the full response
  154. blue I have it myself
  155. blue I tried it too
  156. phaleth ah, ok :D
  157. blue afk for a few hours. jreicher: feel free to join #repopack and/or send me your email address privately for an invite. if you have privacy concerns, use an email alias
  158. phaleth btw, here is possibly another bug
  159. phaleth [user@archlinux primate](master):$ rp job info 1
  160. phaleth GET /api/v0/jobs/1?project=primate failed: 404 Not Found: Not found
  161. blue right, `rp job list` is empty
  162. blue phaleth could you create tasks on repopack?
  163. blue for the those two bugs
  164. phaleth yeah, sure
  165. blue thanks
  166. blue ok, afk, later
  167. * phaleth quit (Quit: phaleth)
  168. * skillnews quit (Remote host closed the connection)
  169. * skillbot quit (Remote host closed the connection)
  170. * skillbot joined #primate
  171. * skillnews joined #primate
  172. * 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
  173. * nevet joined #primate
  174. dreamreal hangman
  175. nevet Hangman: _ _ _ _ _ _ _ _ (6/6 lives) -- Use 'hangman <letter>' to guess, 'hangman solve <word>' to solve.
  176. dreamreal whew!
  177. dreamreal hangman r
  178. nevet Hangman: _ _ r _ _ _ _ _ (6/6 lives, guessed: r) -- 'r' is in the word!
  179. dreamreal hangman t
  180. nevet Hangman: _ _ r _ _ _ _ _ (5/6 lives, guessed: r, t) -- No 't'. 5 lives left.
  181. dreamreal hangman e
  182. nevet Hangman: _ _ r _ _ _ _ _ (4/6 lives, guessed: e, r, t) -- No 'e'. 4 lives left.
  183. dreamreal hangman s
  184. nevet Hangman: _ _ r _ _ _ _ _ (3/6 lives, guessed: e, r, s, t) -- No 's'. 3 lives left.
  185. dreamreal hangman f
  186. nevet Hangman: _ _ r _ _ _ _ _ (2/6 lives, guessed: e, f, r, s, t) -- No 'f'. 2 lives left.
  187. dreamreal ouch!
  188. dreamreal hangman n
  189. nevet Hangman: _ _ r _ _ n _ _ (2/6 lives, guessed: e, f, n, r, s, t) -- 'n' is in the word!
  190. dreamreal hangman h
  191. nevet Hangman: _ _ r _ _ n _ _ (1/6 lives, guessed: e, f, h, n, r, s, t) -- No 'h'. 1 life left.
  192. dreamreal uh oh
  193. dreamreal hangman p
  194. nevet No lives left! The word was 'cardinal'. Use 'hangman' to start over.
  195. dreamreal ouch, indeed.
  196. blue oof

Search posts